[2025-01-13 00:00:01] Production.INFO: ==9815== Lock acquired, processing the job...
[2025-01-13 00:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:00:01] Production.INFO: neon service started
[2025-01-13 00:00:01] Production.INFO: neon service started
[2025-01-13 00:00:01] Production.INFO: ==9815== Releasing lock...
[2025-01-13 00:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:00:01] Production.INFO: ==9817== Lock acquired, processing the job...
[2025-01-12 19:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:00:02] Production.INFO: ==9819== Lock acquired, processing the job...
[2025-01-13 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:00:02] Production.INFO: ==9819== Releasing lock...
[2025-01-13 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:00:02] Production.INFO: ==9817== Releasing lock...
[2025-01-12 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:00:03] Production.INFO: ==9822== Lock acquired, processing the job...
[2025-01-12 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 19:00:03] Production.INFO: ==9826== Lock acquired, processing the job...
[2025-01-12 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 19:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 19:00:03] Production.INFO: ==9822== Releasing lock...
[2025-01-12 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 19:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 19:00:03] Production.INFO: ==9824== Lock acquired, processing the job...
[2025-01-12 19:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:00:03] Production.INFO: ==9836== Lock acquired, processing the job...
[2025-01-12 19:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:00:03] Production.INFO: ==9828== Lock acquired, processing the job...
[2025-01-12 19:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:00:03] Production.INFO: ==9830== Lock acquired, processing the job...
[2025-01-12 19:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:00:03] Production.INFO: count ==21
[2025-01-12 19:00:03] Production.INFO: ==9826== Releasing lock...
[2025-01-12 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:00:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:00:03] Production.INFO: count ==21
[2025-01-12 19:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233593') start
[2025-01-12 19:00:03] Production.INFO: ==9832== Lock acquired, processing the job...
[2025-01-12 19:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:00:03] Production.INFO: Account Balance Start.
[2025-01-12 19:00:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:00:03] Production.INFO: 117
[2025-01-12 19:00:03] Production.INFO: ==9834== Lock acquired, processing the job...
[2025-01-12 19:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 19:00:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:00:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233593') end
[2025-01-12 19:00:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:00:03] Production.INFO: 1
[2025-01-12 19:00:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:00:04] Production.INFO: ==9836== Releasing lock...
[2025-01-12 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:00:04] Production.ERROR: done
[2025-01-12 19:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:00:04] Production.INFO: Total Charge 0
[2025-01-12 19:00:04] Production.ERROR: done
[2025-01-12 19:00:04] Production.INFO: CreateAllLog End
[2025-01-12 19:00:04] Production.ERROR: done
[2025-01-12 19:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 19:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233595', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 19:00:04] Production.INFO: Account Balance End.
[2025-01-12 19:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:00:04] Production.INFO: ==9830== Releasing lock...
[2025-01-12 19:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:00:05
[end_date_ymd] => 2025-01-12 19:00:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:00:05' and `end` < '2025-01-12 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-12 19:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233595', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 19:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 19:00:08] Production.INFO: ProcessCDR(1,14233595,1,1,2)
[2025-01-12 19:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14233595,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14233595,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:00:08] Production.INFO: ==9834== Releasing lock...
[2025-01-12 19:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 19:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 19:00:12] Production.ERROR: CronJobId end10
[2025-01-12 19:00:12] Production.INFO: ==9828== Releasing lock...
[2025-01-12 19:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:00:14] Production.INFO: call_cost start
[2025-01-12 19:00:14] Production.INFO: call_cost end
[2025-01-12 19:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:00:15] Production.INFO: ==9824== Releasing lock...
[2025-01-12 19:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:00:22] Production.INFO: count ==1343
[2025-01-12 19:00:22] Production.ERROR: pbx CDR StartTime 2025-01-12 16:00:05 - End Time 2025-01-12 19:00:05
[2025-01-12 19:00:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233596', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233596', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233596', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233596', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:00:22] Production.INFO: ProcessCDR(1,14233596,1,1,2)
[2025-01-12 19:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233596', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233596', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:00:25] Production.INFO: ==9832== Releasing lock...
[2025-01-12 19:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:00:25] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 00:01:01] Production.INFO: ==9997== Lock acquired, processing the job...
[2025-01-13 00:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:01:01] Production.INFO: neon service started
[2025-01-13 00:01:02] Production.INFO: neon service started
[2025-01-13 00:01:02] Production.INFO: ==9997== Releasing lock...
[2025-01-13 00:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:01:02] Production.INFO: ==10011== Lock acquired, processing the job...
[2025-01-13 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:01:02] Production.INFO: ==10011== Releasing lock...
[2025-01-13 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:01:02] Production.INFO: ==10009== Lock acquired, processing the job...
[2025-01-12 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:01:02] Production.INFO: ==10009== Releasing lock...
[2025-01-12 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:01:03] Production.INFO: ==10016== Lock acquired, processing the job...
[2025-01-12 19:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:01:03] Production.INFO: ==10018== Lock acquired, processing the job...
[2025-01-12 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:01:03] Production.INFO: ==10022== Lock acquired, processing the job...
[2025-01-12 19:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:01:03] Production.INFO: Account Balance Start.
[2025-01-12 19:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:01:03] Production.INFO: 117
[2025-01-12 19:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:01:03] Production.INFO: ==10024== Lock acquired, processing the job...
[2025-01-12 19:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:01:03] Production.INFO: ==10020== Lock acquired, processing the job...
[2025-01-12 19:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:01:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:01:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:01:04] Production.INFO: ==10018== Releasing lock...
[2025-01-12 19:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:01:04] Production.INFO: ==10026== Lock acquired, processing the job...
[2025-01-12 19:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:01:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:01:04] Production.INFO: Total Charge 0
[2025-01-12 19:01:04] Production.ERROR: done
[2025-01-12 19:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:01:04] Production.INFO: CreateAllLog End
[2025-01-12 19:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:01:04] Production.INFO: count ==21
[2025-01-12 19:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:01:04] Production.INFO: count ==21
[2025-01-12 19:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233600') start
[2025-01-12 19:01:04] Production.ERROR: done
[2025-01-12 19:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233600') end
[2025-01-12 19:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:01:04] Production.INFO: 1
[2025-01-12 19:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:01:04] Production.INFO: Account Balance End.
[2025-01-12 19:01:04] Production.INFO: ==10026== Releasing lock...
[2025-01-12 19:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:01:04] Production.INFO: ==10022== Releasing lock...
[2025-01-12 19:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:01:05
[end_date_ymd] => 2025-01-12 19:01:05
[RateCDR] => 1
)
[2025-01-12 19:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:01:05' and `end` < '2025-01-12 19:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:01:11] Production.ERROR: CronJobId end10
[2025-01-12 19:01:11] Production.INFO: ==10020== Releasing lock...
[2025-01-12 19:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:01:13] Production.INFO: call_cost start
[2025-01-12 19:01:13] Production.INFO: call_cost end
[2025-01-12 19:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:01:14] Production.INFO: ==10016== Releasing lock...
[2025-01-12 19:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:01:18] Production.INFO: count ==1372
[2025-01-12 19:01:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:01:05 - End Time 2025-01-12 19:01:05
[2025-01-12 19:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233601', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233601', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233601', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233601', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:01:19] Production.INFO: ProcessCDR(1,14233601,1,1,2)
[2025-01-12 19:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233601', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233601', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:01:23] Production.INFO: ==10024== Releasing lock...
[2025-01-12 19:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:01:23] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:02:01] Production.INFO: ==10105== Lock acquired, processing the job...
[2025-01-13 00:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:02:01] Production.INFO: neon service started
[2025-01-13 00:02:01] Production.INFO: neon service started
[2025-01-13 00:02:01] Production.INFO: ==10105== Releasing lock...
[2025-01-13 00:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:02:02] Production.INFO: ==10107== Lock acquired, processing the job...
[2025-01-12 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:02:02] Production.INFO: ==10109== Lock acquired, processing the job...
[2025-01-13 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:02:02] Production.INFO: ==10109== Releasing lock...
[2025-01-13 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:02:02] Production.INFO: ==10107== Releasing lock...
[2025-01-12 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:02:03] Production.INFO: ==10112== Lock acquired, processing the job...
[2025-01-12 19:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:02:03] Production.INFO: ==10116== Lock acquired, processing the job...
[2025-01-12 19:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:02:03] Production.INFO: ==10120== Lock acquired, processing the job...
[2025-01-12 19:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:02:03] Production.INFO: ==10114== Lock acquired, processing the job...
[2025-01-12 19:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:02:03] Production.INFO: ==10122== Lock acquired, processing the job...
[2025-01-12 19:02:03] Production.INFO: ==10118== Lock acquired, processing the job...
[2025-01-12 19:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:02:03] Production.INFO: Account Balance Start.
[2025-01-12 19:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:02:03] Production.INFO: 117
[2025-01-12 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-12 19:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:02:03] Production.INFO: count ==21
[2025-01-12 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-12 19:02:03] Production.INFO: count ==21
[2025-01-12 19:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233603') start
[2025-01-12 19:02:03] Production.ERROR: done
[2025-01-12 19:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233603') end
[2025-01-12 19:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:02:03] Production.INFO: 1
[2025-01-12 19:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:02:03] Production.INFO: ==10122== Releasing lock...
[2025-01-12 19:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:02:04] Production.ERROR: done
[2025-01-12 19:02:04] Production.INFO: ==10114== Releasing lock...
[2025-01-12 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:02:04] Production.INFO: Total Charge 0
[2025-01-12 19:02:04] Production.INFO: CreateAllLog End
[2025-01-12 19:02:04] Production.INFO: Account Balance End.
[2025-01-12 19:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:02:04] Production.INFO: ==10118== Releasing lock...
[2025-01-12 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:02:04
[end_date_ymd] => 2025-01-12 19:02:04
[RateCDR] => 1
)
[2025-01-12 19:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:02:04' and `end` < '2025-01-12 19:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:02:10] Production.ERROR: CronJobId end10
[2025-01-12 19:02:10] Production.INFO: ==10116== Releasing lock...
[2025-01-12 19:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:02:12] Production.INFO: call_cost start
[2025-01-12 19:02:12] Production.INFO: call_cost end
[2025-01-12 19:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:02:13] Production.INFO: ==10112== Releasing lock...
[2025-01-12 19:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:02:21] Production.INFO: count ==1389
[2025-01-12 19:02:21] Production.ERROR: pbx CDR StartTime 2025-01-12 16:02:04 - End Time 2025-01-12 19:02:04
[2025-01-12 19:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233606', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233606', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233606', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233606', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:02:21] Production.INFO: ProcessCDR(1,14233606,1,1,2)
[2025-01-12 19:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233606', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233606', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:02:24] Production.INFO: ==10120== Releasing lock...
[2025-01-12 19:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:02:24] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:03:01] Production.INFO: ==10206== Lock acquired, processing the job...
[2025-01-13 00:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:03:01] Production.INFO: neon service started
[2025-01-13 00:03:01] Production.INFO: neon service started
[2025-01-13 00:03:01] Production.INFO: ==10206== Releasing lock...
[2025-01-13 00:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:03:02] Production.INFO: ==10208== Lock acquired, processing the job...
[2025-01-12 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:03:02] Production.INFO: ==10208== Releasing lock...
[2025-01-12 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:03:02] Production.INFO: ==10210== Lock acquired, processing the job...
[2025-01-13 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:03:02] Production.INFO: ==10210== Releasing lock...
[2025-01-13 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:03:03] Production.INFO: ==10219== Lock acquired, processing the job...
[2025-01-12 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:03:03] Production.INFO: ==10213== Lock acquired, processing the job...
[2025-01-12 19:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:03:03] Production.INFO: Account Balance Start.
[2025-01-12 19:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:03:03] Production.INFO: 117
[2025-01-12 19:03:03] Production.INFO: ==10215== Lock acquired, processing the job...
[2025-01-12 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:03:03] Production.INFO: ==10223== Lock acquired, processing the job...
[2025-01-12 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:03:03] Production.INFO: ==10217== Lock acquired, processing the job...
[2025-01-12 19:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:03:03] Production.INFO: ==10221== Lock acquired, processing the job...
[2025-01-12 19:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 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-12 19:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:03:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:03:03] Production.INFO: count ==21
[2025-01-12 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-12 19:03:03] Production.INFO: count ==21
[2025-01-12 19:03:03] Production.INFO: Total Charge 0
[2025-01-12 19:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233610') start
[2025-01-12 19:03:03] Production.INFO: CreateAllLog End
[2025-01-12 19:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233610') end
[2025-01-12 19:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:03:03] Production.INFO: 1
[2025-01-12 19:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:03:03] Production.INFO: ==10215== Releasing lock...
[2025-01-12 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:03:03] Production.INFO: Account Balance End.
[2025-01-12 19:03:03] Production.INFO: ==10223== Releasing lock...
[2025-01-12 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:03:03] Production.ERROR: done
[2025-01-12 19:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:03:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:03:03] Production.INFO: ==10219== Releasing lock...
[2025-01-12 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:03:04] Production.ERROR: done
[2025-01-12 19:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:03:05
[end_date_ymd] => 2025-01-12 19:03:05
[RateCDR] => 1
)
[2025-01-12 19:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:03:05' and `end` < '2025-01-12 19:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:03:11] Production.ERROR: CronJobId end10
[2025-01-12 19:03:11] Production.INFO: ==10217== Releasing lock...
[2025-01-12 19:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:03:13] Production.INFO: call_cost start
[2025-01-12 19:03:13] Production.INFO: call_cost end
[2025-01-12 19:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:03:13] Production.INFO: ==10213== Releasing lock...
[2025-01-12 19:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:03:18] Production.INFO: count ==1389
[2025-01-12 19:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:03:05 - End Time 2025-01-12 19:03:05
[2025-01-12 19:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233611', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233611', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233611', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233611', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:03:18] Production.INFO: ProcessCDR(1,14233611,1,1,2)
[2025-01-12 19:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233611', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233611', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:03:21] Production.INFO: ==10221== Releasing lock...
[2025-01-12 19:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:03:21] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:04:02] Production.INFO: ==10307== Lock acquired, processing the job...
[2025-01-13 00:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:04:02] Production.INFO: neon service started
[2025-01-13 00:04:02] Production.INFO: neon service started
[2025-01-13 00:04:02] Production.INFO: ==10307== Releasing lock...
[2025-01-13 00:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:04:02] Production.INFO: ==10311== Lock acquired, processing the job...
[2025-01-13 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:04:02] Production.INFO: ==10311== Releasing lock...
[2025-01-13 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:04:02] Production.INFO: ==10309== Lock acquired, processing the job...
[2025-01-12 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:04:02] Production.INFO: ==10309== Releasing lock...
[2025-01-12 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:04:03] Production.INFO: ==10314== Lock acquired, processing the job...
[2025-01-12 19:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:04:03] Production.INFO: ==10316== Lock acquired, processing the job...
[2025-01-12 19:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:04:03] Production.INFO: ==10320== Lock acquired, processing the job...
[2025-01-12 19:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:04:03] Production.INFO: Account Balance Start.
[2025-01-12 19:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:04:03] Production.INFO: 117
[2025-01-12 19:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:04:03] Production.INFO: ==10318== Lock acquired, processing the job...
[2025-01-12 19:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:04:04] Production.INFO: Total Charge 0
[2025-01-12 19:04:04] Production.INFO: CreateAllLog End
[2025-01-12 19:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:04:04] Production.INFO: ==10322== Lock acquired, processing the job...
[2025-01-12 19:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:04:04] Production.INFO: Account Balance End.
[2025-01-12 19:04:04] Production.INFO: ==10324== Lock acquired, processing the job...
[2025-01-12 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:04:04] Production.INFO: ==10316== Releasing lock...
[2025-01-12 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:04:04] Production.INFO: ==10320== Releasing lock...
[2025-01-12 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:04:04] Production.INFO: count ==21
[2025-01-12 19:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:04:04] Production.INFO: count ==21
[2025-01-12 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233615') start
[2025-01-12 19:04:04] Production.ERROR: done
[2025-01-12 19:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233615') end
[2025-01-12 19:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:04:04] Production.INFO: 1
[2025-01-12 19:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:04:04] Production.ERROR: done
[2025-01-12 19:04:04] Production.INFO: ==10324== Releasing lock...
[2025-01-12 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:04:05
[end_date_ymd] => 2025-01-12 19:04:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:04:05' and `end` < '2025-01-12 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-12 19:04:11] Production.ERROR: CronJobId end10
[2025-01-12 19:04:11] Production.INFO: ==10318== Releasing lock...
[2025-01-12 19:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:04:13] Production.INFO: call_cost start
[2025-01-12 19:04:13] Production.INFO: call_cost end
[2025-01-12 19:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:04:14] Production.INFO: ==10314== Releasing lock...
[2025-01-12 19:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:04:20] Production.INFO: count ==1410
[2025-01-12 19:04:20] Production.ERROR: pbx CDR StartTime 2025-01-12 16:04:05 - End Time 2025-01-12 19:04:05
[2025-01-12 19:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233616', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233616', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233616', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233616', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:04:20] Production.INFO: ProcessCDR(1,14233616,1,1,2)
[2025-01-12 19:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233616', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233616', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:04:24] Production.INFO: ==10322== Releasing lock...
[2025-01-12 19:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:04:24] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:05:01] Production.INFO: ==10485== Lock acquired, processing the job...
[2025-01-13 00:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:05:01] Production.INFO: neon service started
[2025-01-13 00:05:01] Production.INFO: neon service started
[2025-01-13 00:05:01] Production.INFO: ==10485== Releasing lock...
[2025-01-13 00:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:05:02] Production.INFO: ==10487== Lock acquired, processing the job...
[2025-01-12 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:05:02] Production.INFO: ==10489== Lock acquired, processing the job...
[2025-01-13 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:05:02] Production.INFO: ==10489== Releasing lock...
[2025-01-13 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:05:02] Production.INFO: ==10487== Releasing lock...
[2025-01-12 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:05:03] Production.INFO: ==10496== Lock acquired, processing the job...
[2025-01-12 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:05:03] Production.INFO: ==10498== Lock acquired, processing the job...
[2025-01-12 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:05:03] Production.INFO: ==10492== Lock acquired, processing the job...
[2025-01-12 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:05:03] Production.INFO: Account Balance Start.
[2025-01-12 19:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:05:03] Production.INFO: 117
[2025-01-12 19:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:05:03] Production.INFO: ==10494== Lock acquired, processing the job...
[2025-01-12 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:05:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:05:03] Production.INFO: Total Charge 0
[2025-01-12 19:05:03] Production.INFO: ==10500== Lock acquired, processing the job...
[2025-01-12 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:05:03] Production.INFO: CreateAllLog End
[2025-01-12 19:05:03] Production.INFO: ==10502== Lock acquired, processing the job...
[2025-01-12 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:05:04] Production.INFO: Account Balance End.
[2025-01-12 19:05:04] Production.INFO: ==10494== Releasing lock...
[2025-01-12 19:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:05:04] Production.INFO: count ==21
[2025-01-12 19:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:05:04] Production.INFO: ==10498== Releasing lock...
[2025-01-12 19:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:05:04] Production.INFO: count ==21
[2025-01-12 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233620') start
[2025-01-12 19:05:04] Production.ERROR: done
[2025-01-12 19:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233620') end
[2025-01-12 19:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:05:04] Production.INFO: 1
[2025-01-12 19:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:05:04] Production.ERROR: done
[2025-01-12 19:05:04] Production.INFO: ==10502== Releasing lock...
[2025-01-12 19:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:05:05
[end_date_ymd] => 2025-01-12 19:05:05
[RateCDR] => 1
)
[2025-01-12 19:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:05:05' and `end` < '2025-01-12 19:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:05:11] Production.ERROR: CronJobId end10
[2025-01-12 19:05:11] Production.INFO: ==10496== Releasing lock...
[2025-01-12 19:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:05:13] Production.INFO: call_cost start
[2025-01-12 19:05:13] Production.INFO: call_cost end
[2025-01-12 19:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:05:14] Production.INFO: ==10492== Releasing lock...
[2025-01-12 19:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:05:18] Production.INFO: count ==1410
[2025-01-12 19:05:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:05:05 - End Time 2025-01-12 19:05:05
[2025-01-12 19:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233621', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233621', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233621', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233621', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:05:18] Production.INFO: ProcessCDR(1,14233621,1,1,2)
[2025-01-12 19:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233621', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233621', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:05:22] Production.INFO: ==10500== Releasing lock...
[2025-01-12 19:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:05:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:06:02] Production.INFO: ==10586== Lock acquired, processing the job...
[2025-01-13 00:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:06:02] Production.INFO: neon service started
[2025-01-13 00:06:02] Production.INFO: neon service started
[2025-01-13 00:06:02] Production.INFO: ==10586== Releasing lock...
[2025-01-13 00:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:06:02] Production.INFO: ==10588== Lock acquired, processing the job...
[2025-01-12 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:06:02] Production.INFO: ==10588== Releasing lock...
[2025-01-12 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:06:02] Production.INFO: ==10590== Lock acquired, processing the job...
[2025-01-13 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:06:02] Production.INFO: ==10590== Releasing lock...
[2025-01-13 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:06:03] Production.INFO: ==10602== Lock acquired, processing the job...
[2025-01-12 19:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:06:03] Production.INFO: ==10594== Lock acquired, processing the job...
[2025-01-12 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:06:03] Production.INFO: ==10592== Lock acquired, processing the job...
[2025-01-12 19:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:06:03] Production.INFO: count ==21
[2025-01-12 19:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:06:03] Production.INFO: ==10596== Lock acquired, processing the job...
[2025-01-12 19:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:06:03] Production.INFO: count ==21
[2025-01-12 19:06:03] Production.INFO: ==10594== Releasing lock...
[2025-01-12 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233623') start
[2025-01-12 19:06:03] Production.INFO: ==10598== Lock acquired, processing the job...
[2025-01-12 19:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:06:04] Production.INFO: ==10600== Lock acquired, processing the job...
[2025-01-12 19:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233623') end
[2025-01-12 19:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:06:04] Production.INFO: 1
[2025-01-12 19:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:06:04] Production.INFO: Account Balance Start.
[2025-01-12 19:06:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:06:04] Production.INFO: ==10602== Releasing lock...
[2025-01-12 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:06:04] Production.INFO: 117
[2025-01-12 19:06:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:06:04] Production.ERROR: done
[2025-01-12 19:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:06:04] Production.INFO: Total Charge 0
[2025-01-12 19:06:04] Production.INFO: CreateAllLog End
[2025-01-12 19:06:04] Production.ERROR: done
[2025-01-12 19:06:04] Production.INFO: Account Balance End.
[2025-01-12 19:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:06:04] Production.INFO: ==10598== Releasing lock...
[2025-01-12 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:06:05
[end_date_ymd] => 2025-01-12 19:06:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:06:05' and `end` < '2025-01-12 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-12 19:06:12] Production.ERROR: CronJobId end10
[2025-01-12 19:06:12] Production.INFO: ==10596== Releasing lock...
[2025-01-12 19:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:06:13] Production.INFO: call_cost start
[2025-01-12 19:06:13] Production.INFO: call_cost end
[2025-01-12 19:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:06:14] Production.INFO: ==10592== Releasing lock...
[2025-01-12 19:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:06:19] Production.INFO: count ==1412
[2025-01-12 19:06:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:06:05 - End Time 2025-01-12 19:06:05
[2025-01-12 19:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233626', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233626', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233626', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233626', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:06:19] Production.INFO: ProcessCDR(1,14233626,1,1,2)
[2025-01-12 19:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233626', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233626', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:06:23] Production.INFO: ==10600== Releasing lock...
[2025-01-12 19:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:06:23] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:07:01] Production.INFO: ==10682== Lock acquired, processing the job...
[2025-01-13 00:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:07:01] Production.INFO: neon service started
[2025-01-13 00:07:01] Production.INFO: neon service started
[2025-01-13 00:07:01] Production.INFO: ==10682== Releasing lock...
[2025-01-13 00:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:07:01] Production.INFO: ==10684== Lock acquired, processing the job...
[2025-01-12 19:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:07:02] Production.INFO: ==10684== Releasing lock...
[2025-01-12 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:07:02] Production.INFO: ==10686== Lock acquired, processing the job...
[2025-01-13 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:07:02] Production.INFO: ==10686== Releasing lock...
[2025-01-13 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:07:02] Production.INFO: ==10690== Lock acquired, processing the job...
[2025-01-12 19:07:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:07:03] Production.INFO: ==10698== Lock acquired, processing the job...
[2025-01-12 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 19:07:03] Production.INFO: count ==21
[2025-01-12 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-12 19:07:03] Production.INFO: count ==21
[2025-01-12 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233628') start
[2025-01-12 19:07:03] Production.INFO: ==10690== Releasing lock...
[2025-01-12 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:07:03] Production.INFO: ==10688== Lock acquired, processing the job...
[2025-01-12 19:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233628') end
[2025-01-12 19:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:07:03] Production.INFO: 1
[2025-01-12 19:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:07:03] Production.INFO: ==10692== Lock acquired, processing the job...
[2025-01-12 19:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:07:03] Production.INFO: ==10698== Releasing lock...
[2025-01-12 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:07:03] Production.INFO: ==10696== Lock acquired, processing the job...
[2025-01-12 19:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:07:03] Production.INFO: ==10694== Lock acquired, processing the job...
[2025-01-12 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:07:03] Production.INFO: Account Balance Start.
[2025-01-12 19:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:07:03] Production.INFO: 117
[2025-01-12 19:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:07:03] Production.INFO: Total Charge 0
[2025-01-12 19:07:03] Production.INFO: CreateAllLog End
[2025-01-12 19:07:03] Production.ERROR: done
[2025-01-12 19:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:07:03] Production.ERROR: done
[2025-01-12 19:07:04] Production.INFO: Account Balance End.
[2025-01-12 19:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:07:04] Production.INFO: ==10694== Releasing lock...
[2025-01-12 19:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:07:04
[end_date_ymd] => 2025-01-12 19:07:04
[RateCDR] => 1
)
[2025-01-12 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-12 16:07:04' and `end` < '2025-01-12 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-12 19:07:11] Production.ERROR: CronJobId end10
[2025-01-12 19:07:11] Production.INFO: ==10692== Releasing lock...
[2025-01-12 19:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:07:13] Production.INFO: call_cost start
[2025-01-12 19:07:13] Production.INFO: call_cost end
[2025-01-12 19:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:07:14] Production.INFO: ==10688== Releasing lock...
[2025-01-12 19:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:07:19] Production.INFO: count ==1411
[2025-01-12 19:07:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:07:04 - End Time 2025-01-12 19:07:04
[2025-01-12 19:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233631', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233631', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233631', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233631', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:07:19] Production.INFO: ProcessCDR(1,14233631,1,1,2)
[2025-01-12 19:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233631', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233631', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:07:22] Production.INFO: ==10696== Releasing lock...
[2025-01-12 19:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:07:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:08:01] Production.INFO: ==10832== Lock acquired, processing the job...
[2025-01-13 00:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:08:01] Production.INFO: neon service started
[2025-01-13 00:08:01] Production.INFO: neon service started
[2025-01-13 00:08:01] Production.INFO: ==10832== Releasing lock...
[2025-01-13 00:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:08:02] Production.INFO: ==10834== Lock acquired, processing the job...
[2025-01-12 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:08:02] Production.INFO: ==10834== Releasing lock...
[2025-01-12 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:08:02] Production.INFO: ==10836== Lock acquired, processing the job...
[2025-01-13 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:08:02] Production.INFO: ==10836== Releasing lock...
[2025-01-13 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:08:03] Production.INFO: ==10842== Lock acquired, processing the job...
[2025-01-12 19:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:08:03] Production.INFO: ==10849== Lock acquired, processing the job...
[2025-01-12 19:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:08:03] Production.INFO: ==10838== Lock acquired, processing the job...
[2025-01-12 19:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 19:08:03] Production.INFO: ==10840== Lock acquired, processing the job...
[2025-01-12 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:08:03] Production.INFO: count ==21
[2025-01-12 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-12 19:08:03] Production.INFO: count ==21
[2025-01-12 19:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233632') start
[2025-01-12 19:08:03] Production.INFO: ==10844== Lock acquired, processing the job...
[2025-01-12 19:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:08:03] Production.INFO: ==10847== Lock acquired, processing the job...
[2025-01-12 19:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233632') end
[2025-01-12 19:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:08:04] Production.INFO: 1
[2025-01-12 19:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:08:04] Production.INFO: ==10849== Releasing lock...
[2025-01-12 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:08:04] Production.INFO: Account Balance Start.
[2025-01-12 19:08:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:08:04] Production.INFO: 117
[2025-01-12 19:08:04] Production.INFO: ==10840== Releasing lock...
[2025-01-12 19:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:08:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:08:04] Production.ERROR: done
[2025-01-12 19:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:08:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:08:04] Production.ERROR: done
[2025-01-12 19:08:04] Production.INFO: Total Charge 0
[2025-01-12 19:08:04] Production.INFO: CreateAllLog End
[2025-01-12 19:08:04] Production.INFO: Account Balance End.
[2025-01-12 19:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:08:04] Production.INFO: ==10844== Releasing lock...
[2025-01-12 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:08:05
[end_date_ymd] => 2025-01-12 19:08:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:08:05' and `end` < '2025-01-12 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-12 19:08:10] Production.ERROR: CronJobId end10
[2025-01-12 19:08:10] Production.INFO: ==10842== Releasing lock...
[2025-01-12 19:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:08:13] Production.INFO: call_cost start
[2025-01-12 19:08:13] Production.INFO: call_cost end
[2025-01-12 19:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:08:14] Production.INFO: ==10838== Releasing lock...
[2025-01-12 19:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:08:19] Production.INFO: count ==1418
[2025-01-12 19:08:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:08:05 - End Time 2025-01-12 19:08:05
[2025-01-12 19:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233636', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233636', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233636', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233636', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:08:19] Production.INFO: ProcessCDR(1,14233636,1,1,2)
[2025-01-12 19:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233636', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233636', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:08:24] Production.INFO: ==10847== Releasing lock...
[2025-01-12 19:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:08:24] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:09:01] Production.INFO: ==10901== Lock acquired, processing the job...
[2025-01-13 00:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:09:01] Production.INFO: neon service started
[2025-01-13 00:09:01] Production.INFO: neon service started
[2025-01-13 00:09:01] Production.INFO: ==10901== Releasing lock...
[2025-01-13 00:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:09:01] Production.INFO: ==10905== Lock acquired, processing the job...
[2025-01-13 00:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:09:01] Production.INFO: ==10905== Releasing lock...
[2025-01-13 00:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:09:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:09:01] Production.INFO: ==10903== Lock acquired, processing the job...
[2025-01-12 19:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:09:02] Production.INFO: ==10903== Releasing lock...
[2025-01-12 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:09:02] Production.INFO: ==10907== Lock acquired, processing the job...
[2025-01-12 19:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:09:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:09:02] Production.INFO: ==10909== Lock acquired, processing the job...
[2025-01-12 19:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:09:02] Production.INFO: ==10917== Lock acquired, processing the job...
[2025-01-12 19:09:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:09:03] Production.INFO: ==10909== Releasing lock...
[2025-01-12 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:09:03] Production.INFO: ==10911== Lock acquired, processing the job...
[2025-01-12 19:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:09:03] Production.INFO: ==10913== Lock acquired, processing the job...
[2025-01-12 19:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:09:03] Production.INFO: ==10915== Lock acquired, processing the job...
[2025-01-12 19:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:09:03] Production.INFO: Account Balance Start.
[2025-01-12 19:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:09:03] Production.INFO: 117
[2025-01-12 19:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:09:03] Production.INFO: count ==21
[2025-01-12 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-12 19:09:03] Production.INFO: count ==21
[2025-01-12 19:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233639') start
[2025-01-12 19:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233639') end
[2025-01-12 19:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:09:03] Production.INFO: 1
[2025-01-12 19:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:09:03] Production.INFO: ==10917== Releasing lock...
[2025-01-12 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:09:03] Production.ERROR: done
[2025-01-12 19:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:09:03] Production.INFO: Total Charge 0
[2025-01-12 19:09:03] Production.INFO: CreateAllLog End
[2025-01-12 19:09:03] Production.ERROR: done
[2025-01-12 19:09:03] Production.INFO: Account Balance End.
[2025-01-12 19:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:09:04] Production.INFO: ==10913== Releasing lock...
[2025-01-12 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:09:04
[end_date_ymd] => 2025-01-12 19:09:04
[RateCDR] => 1
)
[2025-01-12 19:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:09:04' and `end` < '2025-01-12 19:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:09:10] Production.ERROR: CronJobId end10
[2025-01-12 19:09:10] Production.INFO: ==10911== Releasing lock...
[2025-01-12 19:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:09:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:09:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:09:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:09:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:09:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:09:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:09:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:09:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:09:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:09:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:09:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:09:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:09:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:09:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:09:12] Production.INFO: call_cost start
[2025-01-12 19:09:12] Production.INFO: call_cost end
[2025-01-12 19:09:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:09:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:09:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:09:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:09:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:09:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:09:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:09:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:09:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:09:12] Production.INFO: ==10907== Releasing lock...
[2025-01-12 19:09:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:09:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:09:17] Production.INFO: count ==1426
[2025-01-12 19:09:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:09:04 - End Time 2025-01-12 19:09:04
[2025-01-12 19:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233641', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233641', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233641', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233641', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:09:18] Production.INFO: ProcessCDR(1,14233641,1,1,2)
[2025-01-12 19:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233641', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233641', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:09:21] Production.INFO: ==10915== Releasing lock...
[2025-01-12 19:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:09:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:10:01] Production.INFO: ==10974== Lock acquired, processing the job...
[2025-01-13 00:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:10:01] Production.INFO: neon service started
[2025-01-13 00:10:01] Production.INFO: neon service started
[2025-01-13 00:10:01] Production.INFO: ==10974== Releasing lock...
[2025-01-13 00:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:10:02] Production.INFO: ==10976== Lock acquired, processing the job...
[2025-01-12 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:10:02] Production.INFO: ==10978== Lock acquired, processing the job...
[2025-01-13 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:10:02] Production.INFO: ==10978== Releasing lock...
[2025-01-13 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:10:02] Production.INFO: ==10976== Releasing lock...
[2025-01-12 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:10:03] Production.INFO: ==10985== Lock acquired, processing the job...
[2025-01-12 19:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:10:03] Production.INFO: ==10981== Lock acquired, processing the job...
[2025-01-12 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 19:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 19:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:10:03] Production.ERROR: CronJob PID - 10985
[2025-01-12 19:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 19:10:03] Production.ERROR: CronJob ID - 7
[2025-01-12 19:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 19:10:00
[2025-01-12 19:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 19:10:03] Production.INFO: ==10981== Releasing lock...
[2025-01-12 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 19:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 19:10:03] Production.INFO: ==10983== Lock acquired, processing the job...
[2025-01-12 19:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:10:03] Production.INFO: ==10991== Lock acquired, processing the job...
[2025-01-12 19:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:10:04] Production.INFO: ==10987== Lock acquired, processing the job...
[2025-01-12 19:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:10:04] Production.INFO: ==10993== Lock acquired, processing the job...
[2025-01-12 19:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 19:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:10:04] Production.INFO: ==10989== Lock acquired, processing the job...
[2025-01-12 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:10:04] Production.INFO: ==10985== Releasing lock...
[2025-01-12 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:10:04] Production.INFO: ==10995== Lock acquired, processing the job...
[2025-01-12 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:10:04] Production.INFO: Account Balance Start.
[2025-01-12 19:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:10:04] Production.INFO: 117
[2025-01-12 19:10:04] Production.ERROR: done
[2025-01-12 19:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:10:04] Production.INFO: count ==21
[2025-01-12 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:10:04] Production.INFO: count ==21
[2025-01-12 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233645') start
[2025-01-12 19:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:10:04] Production.ERROR: done
[2025-01-12 19:10:04] Production.ERROR: done
[2025-01-12 19:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 19:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233646', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233645') end
[2025-01-12 19:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:10:04] Production.INFO: 1
[2025-01-12 19:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:10:04] Production.INFO: Total Charge 0
[2025-01-12 19:10:04] Production.INFO: CreateAllLog End
[2025-01-12 19:10:04] Production.INFO: ==10995== Releasing lock...
[2025-01-12 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:10:04] Production.INFO: Account Balance End.
[2025-01-12 19:10:05] Production.ERROR: CronJobId end 12
[2025-01-12 19:10:05] Production.INFO: ==10989== Releasing lock...
[2025-01-12 19:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:10:05
[end_date_ymd] => 2025-01-12 19:10:05
[RateCDR] => 1
)
[2025-01-12 19:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:10:05' and `end` < '2025-01-12 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-12 19:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233646', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 19:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 19:10:08] Production.INFO: ProcessCDR(1,14233646,1,1,2)
[2025-01-12 19:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14233646,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14233646,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:10:08] Production.INFO: ==10993== Releasing lock...
[2025-01-12 19:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 19:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 19:10:13] Production.ERROR: CronJobId end10
[2025-01-12 19:10:13] Production.INFO: ==10987== Releasing lock...
[2025-01-12 19:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:10:15] Production.INFO: call_cost start
[2025-01-12 19:10:15] Production.INFO: call_cost end
[2025-01-12 19:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:10:15] Production.INFO: ==10983== Releasing lock...
[2025-01-12 19:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:10:18] Production.INFO: count ==1423
[2025-01-12 19:10:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:10:05 - End Time 2025-01-12 19:10:05
[2025-01-12 19:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233647', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233647', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233647', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233647', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:10:19] Production.INFO: ProcessCDR(1,14233647,1,1,2)
[2025-01-12 19:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233647', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233647', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:10:23] Production.INFO: ==10991== Releasing lock...
[2025-01-12 19:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:10:23] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:11:02] Production.INFO: ==11049== Lock acquired, processing the job...
[2025-01-13 00:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:11:02] Production.INFO: neon service started
[2025-01-13 00:11:02] Production.INFO: neon service started
[2025-01-13 00:11:02] Production.INFO: ==11049== Releasing lock...
[2025-01-13 00:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:11:02] Production.INFO: ==11051== Lock acquired, processing the job...
[2025-01-12 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:11:02] Production.INFO: ==11051== Releasing lock...
[2025-01-12 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:11:02] Production.INFO: ==11053== Lock acquired, processing the job...
[2025-01-13 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:11:03] Production.INFO: ==11053== Releasing lock...
[2025-01-13 00:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:11:03] Production.INFO: ==11063== Lock acquired, processing the job...
[2025-01-12 19:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:11:03] Production.INFO: ==11057== Lock acquired, processing the job...
[2025-01-12 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:11:03] Production.INFO: ==11055== Lock acquired, processing the job...
[2025-01-12 19:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:11:03] Production.INFO: ==11065== Lock acquired, processing the job...
[2025-01-12 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:11:03] Production.INFO: ==11059== Lock acquired, processing the job...
[2025-01-12 19:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:11:03] Production.INFO: ==11061== Lock acquired, processing the job...
[2025-01-12 19:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:11:03] Production.INFO: count ==21
[2025-01-12 19:11:04] Production.INFO: Account Balance Start.
[2025-01-12 19:11:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:11:04] Production.INFO: 117
[2025-01-12 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-12 19:11:04] Production.INFO: count ==21
[2025-01-12 19:11:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233649') start
[2025-01-12 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:11:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:11:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:11:04] Production.ERROR: done
[2025-01-12 19:11:04] Production.INFO: ==11057== Releasing lock...
[2025-01-12 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233649') end
[2025-01-12 19:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:11:04] Production.INFO: 1
[2025-01-12 19:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:11:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:11:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:11:04] Production.INFO: Total Charge 0
[2025-01-12 19:11:04] Production.INFO: CreateAllLog End
[2025-01-12 19:11:04] Production.INFO: ==11065== Releasing lock...
[2025-01-12 19:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:11:04] Production.ERROR: done
[2025-01-12 19:11:04] Production.INFO: Account Balance End.
[2025-01-12 19:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:11:04] Production.INFO: ==11061== Releasing lock...
[2025-01-12 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:11:05
[end_date_ymd] => 2025-01-12 19:11:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:11:05' and `end` < '2025-01-12 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-12 19:11:11] Production.ERROR: CronJobId end10
[2025-01-12 19:11:11] Production.INFO: ==11059== Releasing lock...
[2025-01-12 19:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:11:14] Production.INFO: call_cost start
[2025-01-12 19:11:14] Production.INFO: call_cost end
[2025-01-12 19:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:11:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:11:15] Production.INFO: ==11055== Releasing lock...
[2025-01-12 19:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:11:18] Production.INFO: count ==1427
[2025-01-12 19:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:11:05 - End Time 2025-01-12 19:11:05
[2025-01-12 19:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233652', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233652', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233652', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233652', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:11:18] Production.INFO: ProcessCDR(1,14233652,1,1,2)
[2025-01-12 19:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233652', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233652', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:11:21] Production.INFO: ==11063== Releasing lock...
[2025-01-12 19:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:11:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:12:01] Production.INFO: ==11198== Lock acquired, processing the job...
[2025-01-13 00:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:12:01] Production.INFO: neon service started
[2025-01-13 00:12:01] Production.INFO: neon service started
[2025-01-13 00:12:01] Production.INFO: ==11198== Releasing lock...
[2025-01-13 00:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:12:01] Production.INFO: ==11200== Lock acquired, processing the job...
[2025-01-12 19:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:12:02] Production.INFO: ==11200== Releasing lock...
[2025-01-12 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:12:02] Production.INFO: ==11202== Lock acquired, processing the job...
[2025-01-13 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:12:02] Production.INFO: ==11202== Releasing lock...
[2025-01-13 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:12:03] Production.INFO: ==11208== Lock acquired, processing the job...
[2025-01-12 19:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:12:03] Production.INFO: ==11204== Lock acquired, processing the job...
[2025-01-12 19:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:12:03] Production.INFO: ==11210== Lock acquired, processing the job...
[2025-01-12 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:12:03] Production.INFO: ==11206== Lock acquired, processing the job...
[2025-01-12 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:12:03] Production.INFO: Account Balance Start.
[2025-01-12 19:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:12:03] Production.INFO: 117
[2025-01-12 19:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:12:03] Production.INFO: ==11212== Lock acquired, processing the job...
[2025-01-12 19:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:12:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:12:03] Production.INFO: ==11214== Lock acquired, processing the job...
[2025-01-12 19:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:12:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:12:03] Production.INFO: Total Charge 0
[2025-01-12 19:12:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 19:12:03] Production.INFO: Account Balance End.
[2025-01-12 19:12:03] Production.INFO: count ==21
[2025-01-12 19:12:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:12:03] Production.INFO: ==11210== Releasing lock...
[2025-01-12 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-12 19:12:03] Production.INFO: count ==21
[2025-01-12 19:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233656') start
[2025-01-12 19:12:03] Production.ERROR: done
[2025-01-12 19:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:12:04] Production.INFO: ==11206== Releasing lock...
[2025-01-12 19:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233656') end
[2025-01-12 19:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:12:04] Production.INFO: 1
[2025-01-12 19:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:12:04] Production.INFO: ==11214== Releasing lock...
[2025-01-12 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:12:04] Production.ERROR: done
[2025-01-12 19:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:12:05
[end_date_ymd] => 2025-01-12 19:12:05
[RateCDR] => 1
)
[2025-01-12 19:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:12:05' and `end` < '2025-01-12 19:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:12:10] Production.ERROR: CronJobId end10
[2025-01-12 19:12:10] Production.INFO: ==11208== Releasing lock...
[2025-01-12 19:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:12:13] Production.INFO: call_cost start
[2025-01-12 19:12:13] Production.INFO: call_cost end
[2025-01-12 19:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:12:14] Production.INFO: ==11204== Releasing lock...
[2025-01-12 19:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:12:18] Production.INFO: count ==1433
[2025-01-12 19:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:12:05 - End Time 2025-01-12 19:12:05
[2025-01-12 19:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233657', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233657', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233657', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233657', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:12:18] Production.INFO: ProcessCDR(1,14233657,1,1,2)
[2025-01-12 19:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233657', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233657', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:12:23] Production.INFO: ==11212== Releasing lock...
[2025-01-12 19:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:12:23] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:13:01] Production.INFO: ==11308== Lock acquired, processing the job...
[2025-01-13 00:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:13:02] Production.INFO: neon service started
[2025-01-13 00:13:02] Production.INFO: neon service started
[2025-01-13 00:13:02] Production.INFO: ==11308== Releasing lock...
[2025-01-13 00:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:13:02] Production.INFO: ==11310== Lock acquired, processing the job...
[2025-01-12 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:13:02] Production.INFO: ==11312== Lock acquired, processing the job...
[2025-01-13 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:13:02] Production.INFO: ==11310== Releasing lock...
[2025-01-12 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:13:02] Production.INFO: ==11312== Releasing lock...
[2025-01-13 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:13:03] Production.INFO: ==11315== Lock acquired, processing the job...
[2025-01-12 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:13:03] Production.INFO: ==11317== Lock acquired, processing the job...
[2025-01-12 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:13:03] Production.INFO: ==11319== Lock acquired, processing the job...
[2025-01-12 19:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:13:03] Production.INFO: ==11317== Releasing lock...
[2025-01-12 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:13:03] Production.INFO: ==11321== Lock acquired, processing the job...
[2025-01-12 19:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:13:03] Production.INFO: ==11323== Lock acquired, processing the job...
[2025-01-12 19:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:13:03] Production.INFO: Account Balance Start.
[2025-01-12 19:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:13:03] Production.INFO: 117
[2025-01-12 19:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:13:03] Production.INFO: ==11325== Lock acquired, processing the job...
[2025-01-12 19:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:13:04] Production.ERROR: done
[2025-01-12 19:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:13:04] Production.INFO: count ==21
[2025-01-12 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-12 19:13:04] Production.INFO: count ==21
[2025-01-12 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233661') start
[2025-01-12 19:13:04] Production.INFO: Total Charge 0
[2025-01-12 19:13:04] Production.ERROR: done
[2025-01-12 19:13:04] Production.INFO: CreateAllLog End
[2025-01-12 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233661') end
[2025-01-12 19:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:13:04] Production.INFO: 1
[2025-01-12 19:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:13:04] Production.INFO: Account Balance End.
[2025-01-12 19:13:04] Production.INFO: ==11325== Releasing lock...
[2025-01-12 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:13:04] Production.INFO: ==11321== Releasing lock...
[2025-01-12 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:13:05
[end_date_ymd] => 2025-01-12 19:13:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:13:05' and `end` < '2025-01-12 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-12 19:13:11] Production.ERROR: CronJobId end10
[2025-01-12 19:13:11] Production.INFO: ==11319== Releasing lock...
[2025-01-12 19:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:13:14] Production.INFO: call_cost start
[2025-01-12 19:13:14] Production.INFO: call_cost end
[2025-01-12 19:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:13:15] Production.INFO: ==11315== Releasing lock...
[2025-01-12 19:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:13:18] Production.INFO: count ==1432
[2025-01-12 19:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:13:05 - End Time 2025-01-12 19:13:05
[2025-01-12 19:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233662', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233662', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233662', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233662', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:13:18] Production.INFO: ProcessCDR(1,14233662,1,1,2)
[2025-01-12 19:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233662', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233662', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:13:21] Production.INFO: ==11323== Releasing lock...
[2025-01-12 19:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:13:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:14:01] Production.INFO: ==11382== Lock acquired, processing the job...
[2025-01-13 00:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:14:01] Production.INFO: neon service started
[2025-01-13 00:14:01] Production.INFO: neon service started
[2025-01-13 00:14:01] Production.INFO: ==11382== Releasing lock...
[2025-01-13 00:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:14:01] Production.INFO: ==11384== Lock acquired, processing the job...
[2025-01-12 19:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:14:02] Production.INFO: ==11384== Releasing lock...
[2025-01-12 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:14:02] Production.INFO: ==11386== Lock acquired, processing the job...
[2025-01-13 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:14:02] Production.INFO: ==11386== Releasing lock...
[2025-01-13 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:14:02] Production.INFO: ==11388== Lock acquired, processing the job...
[2025-01-12 19:14:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:14:02] Production.INFO: ==11392== Lock acquired, processing the job...
[2025-01-12 19:14:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:14:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:14:02] Production.INFO: ==11396== Lock acquired, processing the job...
[2025-01-12 19:14:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:14:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:14:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:14:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:14:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:14:03] Production.INFO: ==11390== Lock acquired, processing the job...
[2025-01-12 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:14:03] Production.INFO: ==11394== Lock acquired, processing the job...
[2025-01-12 19:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:14:03] Production.INFO: ==11398== Lock acquired, processing the job...
[2025-01-12 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:14:03] Production.ERROR: done
[2025-01-12 19:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:14:03] Production.ERROR: done
[2025-01-12 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-12 19:14:03] Production.INFO: Account Balance Start.
[2025-01-12 19:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:14:03] Production.INFO: 117
[2025-01-12 19:14:03] Production.INFO: count ==21
[2025-01-12 19:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-12 19:14:03] Production.INFO: count ==21
[2025-01-12 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:14:03] Production.INFO: ==11390== Releasing lock...
[2025-01-12 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233665') start
[2025-01-12 19:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233665') end
[2025-01-12 19:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:14:03] Production.INFO: 1
[2025-01-12 19:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:14:03] Production.INFO: ==11398== Releasing lock...
[2025-01-12 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:14:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:14:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:14:03] Production.INFO: Total Charge 0
[2025-01-12 19:14:04] Production.INFO: CreateAllLog End
[2025-01-12 19:14:04] Production.INFO: Account Balance End.
[2025-01-12 19:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:14:04] Production.INFO: ==11394== Releasing lock...
[2025-01-12 19:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:14:04
[end_date_ymd] => 2025-01-12 19:14:04
[RateCDR] => 1
)
[2025-01-12 19:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:14:04' and `end` < '2025-01-12 19:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:14:10] Production.ERROR: CronJobId end10
[2025-01-12 19:14:10] Production.INFO: ==11392== Releasing lock...
[2025-01-12 19:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:14:12] Production.INFO: call_cost start
[2025-01-12 19:14:12] Production.INFO: call_cost end
[2025-01-12 19:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:14:13] Production.INFO: ==11388== Releasing lock...
[2025-01-12 19:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:14:18] Production.INFO: count ==1434
[2025-01-12 19:14:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:14:04 - End Time 2025-01-12 19:14:04
[2025-01-12 19:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233667', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233667', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233667', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233667', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:14:18] Production.INFO: ProcessCDR(1,14233667,1,1,2)
[2025-01-12 19:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233667', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233667', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:14:21] Production.INFO: ==11396== Releasing lock...
[2025-01-12 19:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:14:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:15:01] Production.INFO: ==11534== Lock acquired, processing the job...
[2025-01-13 00:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:15:01] Production.INFO: neon service started
[2025-01-13 00:15:01] Production.INFO: neon service started
[2025-01-13 00:15:01] Production.INFO: ==11534== Releasing lock...
[2025-01-13 00:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:15:02] Production.INFO: ==11538== Lock acquired, processing the job...
[2025-01-13 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:15:02] Production.INFO: ==11538== Releasing lock...
[2025-01-13 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:15:02] Production.INFO: ==11536== Lock acquired, processing the job...
[2025-01-12 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:15:02] Production.INFO: ==11536== Releasing lock...
[2025-01-12 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:15:03] Production.INFO: ==11541== Lock acquired, processing the job...
[2025-01-12 19:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:15:03] Production.INFO: ==11545== Lock acquired, processing the job...
[2025-01-12 19:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:15:03] Production.INFO: ==11547== Lock acquired, processing the job...
[2025-01-12 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:15:03] Production.INFO: Account Balance Start.
[2025-01-12 19:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:15:03] Production.INFO: 117
[2025-01-12 19:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:15:03] Production.INFO: ==11543== Lock acquired, processing the job...
[2025-01-12 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:15:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:15:03] Production.INFO: ==11549== Lock acquired, processing the job...
[2025-01-12 19:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:15:03] Production.INFO: Total Charge 0
[2025-01-12 19:15:03] Production.INFO: CreateAllLog End
[2025-01-12 19:15:03] Production.INFO: ==11551== Lock acquired, processing the job...
[2025-01-12 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 19:15:03] Production.INFO: Account Balance End.
[2025-01-12 19:15:04] Production.INFO: count ==21
[2025-01-12 19:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:15:04] Production.INFO: ==11547== Releasing lock...
[2025-01-12 19:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:15:04] Production.INFO: count ==21
[2025-01-12 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233671') start
[2025-01-12 19:15:04] Production.INFO: ==11543== Releasing lock...
[2025-01-12 19:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:15:04] Production.ERROR: done
[2025-01-12 19:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233671') end
[2025-01-12 19:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:15:04] Production.INFO: 1
[2025-01-12 19:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:15:04] Production.INFO: ==11551== Releasing lock...
[2025-01-12 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:15:04] Production.ERROR: done
[2025-01-12 19:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:15:05
[end_date_ymd] => 2025-01-12 19:15:05
[RateCDR] => 1
)
[2025-01-12 19:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:15:05' and `end` < '2025-01-12 19:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:15:10] Production.ERROR: CronJobId end10
[2025-01-12 19:15:10] Production.INFO: ==11545== Releasing lock...
[2025-01-12 19:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:15:12] Production.INFO: call_cost start
[2025-01-12 19:15:12] Production.INFO: call_cost end
[2025-01-12 19:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:15:13] Production.INFO: ==11541== Releasing lock...
[2025-01-12 19:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:15:18] Production.INFO: count ==1433
[2025-01-12 19:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:15:05 - End Time 2025-01-12 19:15:05
[2025-01-12 19:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233672', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233672', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233672', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233672', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:15:18] Production.INFO: ProcessCDR(1,14233672,1,1,2)
[2025-01-12 19:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233672', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233672', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:15:21] Production.INFO: ==11549== Releasing lock...
[2025-01-12 19:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:15:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:16:02] Production.INFO: ==11606== Lock acquired, processing the job...
[2025-01-13 00:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:16:02] Production.INFO: neon service started
[2025-01-13 00:16:02] Production.INFO: neon service started
[2025-01-13 00:16:02] Production.INFO: ==11606== Releasing lock...
[2025-01-13 00:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:16:02] Production.INFO: ==11608== Lock acquired, processing the job...
[2025-01-12 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:16:02] Production.INFO: ==11610== Lock acquired, processing the job...
[2025-01-13 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:16:02] Production.INFO: ==11610== Releasing lock...
[2025-01-13 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:16:03] Production.INFO: ==11608== Releasing lock...
[2025-01-12 19:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:16:03] Production.INFO: ==11613== Lock acquired, processing the job...
[2025-01-12 19:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:16:03] Production.INFO: ==11617== Lock acquired, processing the job...
[2025-01-12 19:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:16:04] Production.INFO: ==11623== Lock acquired, processing the job...
[2025-01-12 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:16:04] Production.INFO: ==11615== Lock acquired, processing the job...
[2025-01-12 19:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:16:04] Production.INFO: ==11619== Lock acquired, processing the job...
[2025-01-12 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:16:04] Production.INFO: ==11621== Lock acquired, processing the job...
[2025-01-12 19:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:16:04] Production.INFO: count ==21
[2025-01-12 19:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:16:04] Production.INFO: count ==21
[2025-01-12 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233674') start
[2025-01-12 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233674') end
[2025-01-12 19:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:16:04] Production.INFO: 1
[2025-01-12 19:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:16:04] Production.INFO: Account Balance Start.
[2025-01-12 19:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:16:04] Production.INFO: ==11623== Releasing lock...
[2025-01-12 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:16:04] Production.INFO: 117
[2025-01-12 19:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:16:04] Production.INFO: ==11615== Releasing lock...
[2025-01-12 19:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:16:04] Production.ERROR: done
[2025-01-12 19:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:16:05] Production.INFO: Total Charge 0
[2025-01-12 19:16:05] Production.INFO: CreateAllLog End
[2025-01-12 19:16:05] Production.ERROR: done
[2025-01-12 19:16:05] Production.INFO: Account Balance End.
[2025-01-12 19:16:05] Production.ERROR: CronJobId end 12
[2025-01-12 19:16:05] Production.INFO: ==11619== Releasing lock...
[2025-01-12 19:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:16:06
[end_date_ymd] => 2025-01-12 19:16:06
[RateCDR] => 1
)
[2025-01-12 19:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:16:06' and `end` < '2025-01-12 19:16:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:16:10] Production.ERROR: CronJobId end10
[2025-01-12 19:16:10] Production.INFO: ==11617== Releasing lock...
[2025-01-12 19:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:16:13] Production.INFO: call_cost start
[2025-01-12 19:16:13] Production.INFO: call_cost end
[2025-01-12 19:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:16:14] Production.INFO: ==11613== Releasing lock...
[2025-01-12 19:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:16:19] Production.INFO: count ==1434
[2025-01-12 19:16:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:16:06 - End Time 2025-01-12 19:16:06
[2025-01-12 19:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233677', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233677', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233677', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233677', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:16:19] Production.INFO: ProcessCDR(1,14233677,1,1,2)
[2025-01-12 19:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233677', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233677', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:16:22] Production.INFO: ==11621== Releasing lock...
[2025-01-12 19:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:16:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:17:01] Production.INFO: ==11678== Lock acquired, processing the job...
[2025-01-13 00:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:17:01] Production.INFO: neon service started
[2025-01-13 00:17:01] Production.INFO: neon service started
[2025-01-13 00:17:01] Production.INFO: ==11678== Releasing lock...
[2025-01-13 00:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:17:01] Production.INFO: ==11680== Lock acquired, processing the job...
[2025-01-12 19:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:17:02] Production.INFO: ==11680== Releasing lock...
[2025-01-12 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:17:02] Production.INFO: ==11682== Lock acquired, processing the job...
[2025-01-13 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:17:02] Production.INFO: ==11682== Releasing lock...
[2025-01-13 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:17:03] Production.INFO: ==11686== Lock acquired, processing the job...
[2025-01-12 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:17:03] Production.INFO: ==11694== Lock acquired, processing the job...
[2025-01-12 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:17:03] Production.INFO: ==11684== Lock acquired, processing the job...
[2025-01-12 19:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:17:03] Production.INFO: ==11686== Releasing lock...
[2025-01-12 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:17:03] Production.INFO: ==11688== Lock acquired, processing the job...
[2025-01-12 19:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-12 19:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:17:03] Production.INFO: ==11690== Lock acquired, processing the job...
[2025-01-12 19:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:17:03] Production.INFO: ==11692== Lock acquired, processing the job...
[2025-01-12 19:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:17:03] Production.INFO: count ==21
[2025-01-12 19:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 19:17:03] Production.INFO: count ==21
[2025-01-12 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233679') start
[2025-01-12 19:17:03] Production.INFO: Account Balance Start.
[2025-01-12 19:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:17:03] Production.INFO: 117
[2025-01-12 19:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:17:03] Production.ERROR: done
[2025-01-12 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233679') end
[2025-01-12 19:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:17:03] Production.INFO: 1
[2025-01-12 19:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:17:03] Production.INFO: ==11694== Releasing lock...
[2025-01-12 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:17:03] Production.ERROR: done
[2025-01-12 19:17:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:17:03] Production.INFO: Total Charge 0
[2025-01-12 19:17:03] Production.INFO: CreateAllLog End
[2025-01-12 19:17:04] Production.INFO: Account Balance End.
[2025-01-12 19:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:17:04] Production.INFO: ==11690== Releasing lock...
[2025-01-12 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:17:04
[end_date_ymd] => 2025-01-12 19:17:04
[RateCDR] => 1
)
[2025-01-12 19:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:17:04' and `end` < '2025-01-12 19:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:17:10] Production.ERROR: CronJobId end10
[2025-01-12 19:17:10] Production.INFO: ==11688== Releasing lock...
[2025-01-12 19:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:17:12] Production.INFO: call_cost start
[2025-01-12 19:17:12] Production.INFO: call_cost end
[2025-01-12 19:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:17:13] Production.INFO: ==11684== Releasing lock...
[2025-01-12 19:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:17:19] Production.INFO: count ==1435
[2025-01-12 19:17:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:17:04 - End Time 2025-01-12 19:17:04
[2025-01-12 19:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233682', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233682', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233682', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233682', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:17:19] Production.INFO: ProcessCDR(1,14233682,1,1,2)
[2025-01-12 19:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233682', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233682', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:17:23] Production.INFO: ==11692== Releasing lock...
[2025-01-12 19:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:17:23] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:18:02] Production.INFO: ==11747== Lock acquired, processing the job...
[2025-01-13 00:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:18:02] Production.INFO: neon service started
[2025-01-13 00:18:02] Production.INFO: neon service started
[2025-01-13 00:18:02] Production.INFO: ==11747== Releasing lock...
[2025-01-13 00:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:18:02] Production.INFO: ==11752== Lock acquired, processing the job...
[2025-01-13 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:18:02] Production.INFO: ==11752== Releasing lock...
[2025-01-13 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:18:02] Production.INFO: ==11750== Lock acquired, processing the job...
[2025-01-12 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:18:02] Production.INFO: ==11750== Releasing lock...
[2025-01-12 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:18:03] Production.INFO: ==11754== Lock acquired, processing the job...
[2025-01-12 19:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:18:03] Production.INFO: ==11756== Lock acquired, processing the job...
[2025-01-12 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:18:03] Production.INFO: ==11758== Lock acquired, processing the job...
[2025-01-12 19:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:18:03] Production.INFO: ==11760== Lock acquired, processing the job...
[2025-01-12 19:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:18:04] Production.INFO: ==11764== Lock acquired, processing the job...
[2025-01-12 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:18:04] Production.INFO: ==11762== Lock acquired, processing the job...
[2025-01-12 19:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:18:04] Production.INFO: Account Balance Start.
[2025-01-12 19:18:04] Production.INFO: CreateAllLog Start
[2025-01-12 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-12 19:18:04] Production.INFO: 117
[2025-01-12 19:18:04] Production.INFO: ==11756== Releasing lock...
[2025-01-12 19:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:18:04] Production.INFO: count ==21
[2025-01-12 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-12 19:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:18:04] Production.INFO: count ==21
[2025-01-12 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233686') start
[2025-01-12 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:18:04] Production.ERROR: done
[2025-01-12 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233686') end
[2025-01-12 19:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:18:04] Production.INFO: 1
[2025-01-12 19:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:18:04] Production.INFO: ==11764== Releasing lock...
[2025-01-12 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:18:04] Production.ERROR: done
[2025-01-12 19:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:18:04] Production.INFO: Total Charge 0
[2025-01-12 19:18:04] Production.INFO: CreateAllLog End
[2025-01-12 19:18:04] Production.INFO: Account Balance End.
[2025-01-12 19:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:18:04] Production.INFO: ==11760== Releasing lock...
[2025-01-12 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:18:05
[end_date_ymd] => 2025-01-12 19:18:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:18:05' and `end` < '2025-01-12 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-12 19:18:11] Production.ERROR: CronJobId end10
[2025-01-12 19:18:11] Production.INFO: ==11758== Releasing lock...
[2025-01-12 19:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:18:13] Production.INFO: call_cost start
[2025-01-12 19:18:13] Production.INFO: call_cost end
[2025-01-12 19:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:18:14] Production.INFO: ==11754== Releasing lock...
[2025-01-12 19:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:18:20] Production.INFO: count ==1438
[2025-01-12 19:18:20] Production.ERROR: pbx CDR StartTime 2025-01-12 16:18:05 - End Time 2025-01-12 19:18:05
[2025-01-12 19:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233687', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233687', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233687', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233687', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:18:21] Production.INFO: ProcessCDR(1,14233687,1,1,2)
[2025-01-12 19:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233687', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233687', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:18:24] Production.INFO: ==11762== Releasing lock...
[2025-01-12 19:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:18:24] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:19:01] Production.INFO: ==11816== Lock acquired, processing the job...
[2025-01-13 00:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:19:01] Production.INFO: neon service started
[2025-01-13 00:19:01] Production.INFO: neon service started
[2025-01-13 00:19:01] Production.INFO: ==11816== Releasing lock...
[2025-01-13 00:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:19:01] Production.INFO: ==11818== Lock acquired, processing the job...
[2025-01-12 19:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:19:02] Production.INFO: ==11818== Releasing lock...
[2025-01-12 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:19:02] Production.INFO: ==11820== Lock acquired, processing the job...
[2025-01-13 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:19:02] Production.INFO: ==11820== Releasing lock...
[2025-01-13 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:19:02] Production.INFO: ==11823== Lock acquired, processing the job...
[2025-01-12 19:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:19:02] Production.INFO: ==11827== Lock acquired, processing the job...
[2025-01-12 19:19:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:19:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:19:02] Production.INFO: ==11825== Lock acquired, processing the job...
[2025-01-12 19:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:19:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:19:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:19:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:19:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:19:03] Production.INFO: ==11829== Lock acquired, processing the job...
[2025-01-12 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:19:03] Production.INFO: ==11825== Releasing lock...
[2025-01-12 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:19:03] Production.INFO: ==11833== Lock acquired, processing the job...
[2025-01-12 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:19:03] Production.INFO: ==11831== Lock acquired, processing the job...
[2025-01-12 19:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:19:03] Production.INFO: Account Balance Start.
[2025-01-12 19:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:19:03] Production.INFO: 117
[2025-01-12 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-12 19:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:19:03] Production.INFO: count ==21
[2025-01-12 19:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:19:03] Production.INFO: count ==21
[2025-01-12 19:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233690') start
[2025-01-12 19:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233690') end
[2025-01-12 19:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:19:03] Production.INFO: 1
[2025-01-12 19:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:19:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:19:03] Production.INFO: Total Charge 0
[2025-01-12 19:19:03] Production.INFO: CreateAllLog End
[2025-01-12 19:19:03] Production.INFO: ==11833== Releasing lock...
[2025-01-12 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:19:03] Production.ERROR: done
[2025-01-12 19:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:19:03] Production.INFO: Account Balance End.
[2025-01-12 19:19:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:19:03] Production.INFO: ==11829== Releasing lock...
[2025-01-12 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:19:03] Production.ERROR: done
[2025-01-12 19:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:19:04
[end_date_ymd] => 2025-01-12 19:19:04
[RateCDR] => 1
)
[2025-01-12 19:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:19:04' and `end` < '2025-01-12 19:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:19:10] Production.ERROR: CronJobId end10
[2025-01-12 19:19:10] Production.INFO: ==11827== Releasing lock...
[2025-01-12 19:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:19:12] Production.INFO: call_cost start
[2025-01-12 19:19:12] Production.INFO: call_cost end
[2025-01-12 19:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:19:13] Production.INFO: ==11823== Releasing lock...
[2025-01-12 19:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:19:18] Production.INFO: count ==1439
[2025-01-12 19:19:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:19:04 - End Time 2025-01-12 19:19:04
[2025-01-12 19:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233692', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233692', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233692', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233692', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:19:18] Production.INFO: ProcessCDR(1,14233692,1,1,2)
[2025-01-12 19:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233692', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233692', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:19:22] Production.INFO: ==11831== Releasing lock...
[2025-01-12 19:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:19:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:20:01] Production.INFO: ==11886== Lock acquired, processing the job...
[2025-01-13 00:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:20:01] Production.INFO: neon service started
[2025-01-13 00:20:01] Production.INFO: neon service started
[2025-01-13 00:20:01] Production.INFO: ==11886== Releasing lock...
[2025-01-13 00:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:20:02] Production.INFO: ==11888== Lock acquired, processing the job...
[2025-01-12 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:20:02] Production.INFO: ==11890== Lock acquired, processing the job...
[2025-01-13 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:20:02] Production.INFO: ==11890== Releasing lock...
[2025-01-13 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:20:02] Production.INFO: ==11888== Releasing lock...
[2025-01-12 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:20:03] Production.INFO: ==11893== Lock acquired, processing the job...
[2025-01-12 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 19:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 19:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 19:20:03] Production.INFO: ==11893== Releasing lock...
[2025-01-12 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 19:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 19:20:03] Production.INFO: ==11897== Lock acquired, processing the job...
[2025-01-12 19:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:20:03] Production.INFO: ==11899== Lock acquired, processing the job...
[2025-01-12 19:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:20:04] Production.INFO: ==11903== Lock acquired, processing the job...
[2025-01-12 19:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:20:04] Production.INFO: ==11895== Lock acquired, processing the job...
[2025-01-12 19:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:20:04] Production.INFO: ==11897== Releasing lock...
[2025-01-12 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:20:04] Production.INFO: ==11901== Lock acquired, processing the job...
[2025-01-12 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:20:04] Production.INFO: Account Balance Start.
[2025-01-12 19:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:20:04] Production.INFO: 117
[2025-01-12 19:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:20:04] Production.INFO: ==11907== Lock acquired, processing the job...
[2025-01-12 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:20:04] Production.INFO: ==11905== Lock acquired, processing the job...
[2025-01-12 19:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:20:04] Production.ERROR: done
[2025-01-12 19:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:20:04] Production.INFO: count ==21
[2025-01-12 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-12 19:20:04] Production.INFO: Total Charge 0
[2025-01-12 19:20:04] Production.INFO: count ==21
[2025-01-12 19:20:04] Production.INFO: CreateAllLog End
[2025-01-12 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233696') start
[2025-01-12 19:20:04] Production.ERROR: done
[2025-01-12 19:20:04] Production.INFO: Account Balance End.
[2025-01-12 19:20:04] Production.ERROR: done
[2025-01-12 19:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:20:04] Production.INFO: ==11901== Releasing lock...
[2025-01-12 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233696') end
[2025-01-12 19:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:20:04] Production.INFO: 1
[2025-01-12 19:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 19:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233698', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 19:20:04] Production.INFO: ==11907== Releasing lock...
[2025-01-12 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:20:05
[end_date_ymd] => 2025-01-12 19:20:05
[RateCDR] => 1
)
[2025-01-12 19:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:20:05' and `end` < '2025-01-12 19:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233698', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 19:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 19:20:08] Production.INFO: ProcessCDR(1,14233698,1,1,2)
[2025-01-12 19:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14233698,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14233698,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:20:09] Production.INFO: ==11905== Releasing lock...
[2025-01-12 19:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 19:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 19:20:12] Production.ERROR: CronJobId end10
[2025-01-12 19:20:12] Production.INFO: ==11899== Releasing lock...
[2025-01-12 19:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:20:14] Production.INFO: call_cost start
[2025-01-12 19:20:14] Production.INFO: call_cost end
[2025-01-12 19:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:20:15] Production.INFO: ==11895== Releasing lock...
[2025-01-12 19:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:20:19] Production.INFO: count ==1432
[2025-01-12 19:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:20:05 - End Time 2025-01-12 19:20:05
[2025-01-12 19:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233697', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233697', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233697', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233697', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:20:19] Production.INFO: ProcessCDR(1,14233697,1,1,2)
[2025-01-12 19:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233697', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233697', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:20:22] Production.INFO: ==11903== Releasing lock...
[2025-01-12 19:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:20:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:21:02] Production.INFO: ==11962== Lock acquired, processing the job...
[2025-01-13 00:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:21:02] Production.INFO: neon service started
[2025-01-13 00:21:02] Production.INFO: neon service started
[2025-01-13 00:21:02] Production.INFO: ==11962== Releasing lock...
[2025-01-13 00:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:21:02] Production.INFO: ==11964== Lock acquired, processing the job...
[2025-01-12 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:21:02] Production.INFO: ==11966== Lock acquired, processing the job...
[2025-01-13 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:21:02] Production.INFO: ==11966== Releasing lock...
[2025-01-13 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:21:03] Production.INFO: ==11964== Releasing lock...
[2025-01-12 19:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:21:03] Production.INFO: ==11971== Lock acquired, processing the job...
[2025-01-12 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:21:03] Production.INFO: ==11975== Lock acquired, processing the job...
[2025-01-12 19:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:21:04] Production.INFO: ==11977== Lock acquired, processing the job...
[2025-01-12 19:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:21:04] Production.INFO: Account Balance Start.
[2025-01-12 19:21:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:21:04] Production.INFO: 117
[2025-01-12 19:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:21:04] Production.INFO: ==11969== Lock acquired, processing the job...
[2025-01-12 19:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:21:04] Production.INFO: ==11971== Releasing lock...
[2025-01-12 19:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:21:04] Production.INFO: ==11973== Lock acquired, processing the job...
[2025-01-12 19:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:21:04] Production.INFO: ==11979== Lock acquired, processing the job...
[2025-01-12 19:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:21:04] Production.INFO: Total Charge 0
[2025-01-12 19:21:04] Production.INFO: CreateAllLog End
[2025-01-12 19:21:04] Production.ERROR: done
[2025-01-12 19:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:21:04] Production.INFO: Account Balance End.
[2025-01-12 19:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:21:04] Production.INFO: ==11975== Releasing lock...
[2025-01-12 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:21:04] Production.ERROR: done
[2025-01-12 19:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:21:04] Production.INFO: count ==21
[2025-01-12 19:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:21:04] Production.INFO: count ==21
[2025-01-12 19:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233701') start
[2025-01-12 19:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233701') end
[2025-01-12 19:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:21:04] Production.INFO: 1
[2025-01-12 19:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:21:04] Production.INFO: ==11979== Releasing lock...
[2025-01-12 19:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:21:05
[end_date_ymd] => 2025-01-12 19:21:05
[RateCDR] => 1
)
[2025-01-12 19:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:21:05' and `end` < '2025-01-12 19:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:21:11] Production.ERROR: CronJobId end10
[2025-01-12 19:21:11] Production.INFO: ==11973== Releasing lock...
[2025-01-12 19:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:21:13] Production.INFO: call_cost start
[2025-01-12 19:21:13] Production.INFO: call_cost end
[2025-01-12 19:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:21:13] Production.INFO: ==11969== Releasing lock...
[2025-01-12 19:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:21:18] Production.INFO: count ==1398
[2025-01-12 19:21:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:21:05 - End Time 2025-01-12 19:21:05
[2025-01-12 19:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233703', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233703', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233703', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233703', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:21:19] Production.INFO: ProcessCDR(1,14233703,1,1,2)
[2025-01-12 19:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233703', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233703', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:21:21] Production.INFO: ==11977== Releasing lock...
[2025-01-12 19:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:21:21] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:22:01] Production.INFO: ==12033== Lock acquired, processing the job...
[2025-01-13 00:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:22:01] Production.INFO: neon service started
[2025-01-13 00:22:01] Production.INFO: neon service started
[2025-01-13 00:22:01] Production.INFO: ==12033== Releasing lock...
[2025-01-13 00:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:22:02] Production.INFO: ==12035== Lock acquired, processing the job...
[2025-01-12 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:22:02] Production.INFO: ==12035== Releasing lock...
[2025-01-12 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:22:02] Production.INFO: ==12037== Lock acquired, processing the job...
[2025-01-13 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:22:02] Production.INFO: ==12037== Releasing lock...
[2025-01-13 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:22:03] Production.INFO: ==12043== Lock acquired, processing the job...
[2025-01-12 19:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:22:03] Production.INFO: ==12047== Lock acquired, processing the job...
[2025-01-12 19:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:22:03] Production.INFO: ==12039== Lock acquired, processing the job...
[2025-01-12 19:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:22:03] Production.INFO: ==12041== Lock acquired, processing the job...
[2025-01-12 19:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:22:03] Production.INFO: ==12045== Lock acquired, processing the job...
[2025-01-12 19:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:22:03] Production.INFO: ==12049== Lock acquired, processing the job...
[2025-01-12 19:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:22:03] Production.INFO: Account Balance Start.
[2025-01-12 19:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:22:03] Production.INFO: 117
[2025-01-12 19:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:22:03] Production.INFO: count ==21
[2025-01-12 19:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:22:03] Production.INFO: count ==21
[2025-01-12 19:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233705') start
[2025-01-12 19:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:22:03] Production.ERROR: done
[2025-01-12 19:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:22:03] Production.ERROR: done
[2025-01-12 19:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233705') end
[2025-01-12 19:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:22:03] Production.INFO: 1
[2025-01-12 19:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:22:03] Production.INFO: Total Charge 0
[2025-01-12 19:22:03] Production.INFO: ==12049== Releasing lock...
[2025-01-12 19:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:22:03] Production.INFO: CreateAllLog End
[2025-01-12 19:22:04] Production.INFO: ==12041== Releasing lock...
[2025-01-12 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:22:04] Production.INFO: Account Balance End.
[2025-01-12 19:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:22:04] Production.INFO: ==12045== Releasing lock...
[2025-01-12 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:22:04
[end_date_ymd] => 2025-01-12 19:22:04
[RateCDR] => 1
)
[2025-01-12 19:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:22:04' and `end` < '2025-01-12 19:22:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:22:11] Production.ERROR: CronJobId end10
[2025-01-12 19:22:11] Production.INFO: ==12043== Releasing lock...
[2025-01-12 19:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:22:13] Production.INFO: call_cost start
[2025-01-12 19:22:13] Production.INFO: call_cost end
[2025-01-12 19:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:22:14] Production.INFO: ==12039== Releasing lock...
[2025-01-12 19:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:22:18] Production.INFO: count ==1394
[2025-01-12 19:22:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:22:04 - End Time 2025-01-12 19:22:04
[2025-01-12 19:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233708', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233708', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233708', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233708', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:22:18] Production.INFO: ProcessCDR(1,14233708,1,1,2)
[2025-01-12 19:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233708', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233708', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:22:22] Production.INFO: ==12047== Releasing lock...
[2025-01-12 19:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:22:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:23:02] Production.INFO: ==12106== Lock acquired, processing the job...
[2025-01-13 00:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:23:02] Production.INFO: neon service started
[2025-01-13 00:23:02] Production.INFO: neon service started
[2025-01-13 00:23:02] Production.INFO: ==12106== Releasing lock...
[2025-01-13 00:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:23:02] Production.INFO: ==12108== Lock acquired, processing the job...
[2025-01-12 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:23:02] Production.INFO: ==12108== Releasing lock...
[2025-01-12 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:23:02] Production.INFO: ==12110== Lock acquired, processing the job...
[2025-01-13 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:23:02] Production.INFO: ==12110== Releasing lock...
[2025-01-13 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:23:03] Production.INFO: ==12112== Lock acquired, processing the job...
[2025-01-12 19:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:23:03] Production.INFO: ==12120== Lock acquired, processing the job...
[2025-01-12 19:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:23:03] Production.INFO: ==12114== Lock acquired, processing the job...
[2025-01-12 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:23:03] Production.INFO: ==12118== Lock acquired, processing the job...
[2025-01-12 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:23:03] Production.INFO: ==12116== Lock acquired, processing the job...
[2025-01-12 19:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:23:03] Production.INFO: ==12122== Lock acquired, processing the job...
[2025-01-12 19:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:23:03] Production.INFO: Account Balance Start.
[2025-01-12 19:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:23:03] Production.INFO: 117
[2025-01-12 19:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:23:04] Production.INFO: count ==21
[2025-01-12 19:23:04] Production.ERROR: done
[2025-01-12 19:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:23:04] Production.INFO: count ==21
[2025-01-12 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233710') start
[2025-01-12 19:23:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:23:04] Production.ERROR: done
[2025-01-12 19:23:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:23:04] Production.INFO: ==12114== Releasing lock...
[2025-01-12 19:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233710') end
[2025-01-12 19:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:23:04] Production.INFO: 1
[2025-01-12 19:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:23:04] Production.INFO: ==12122== Releasing lock...
[2025-01-12 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:23:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:23:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:23:04] Production.INFO: Total Charge 0
[2025-01-12 19:23:04] Production.INFO: CreateAllLog End
[2025-01-12 19:23:04] Production.INFO: Account Balance End.
[2025-01-12 19:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:23:04] Production.INFO: ==12118== Releasing lock...
[2025-01-12 19:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:23:05
[end_date_ymd] => 2025-01-12 19:23:05
[RateCDR] => 1
)
[2025-01-12 19:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:23:05' and `end` < '2025-01-12 19:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:23:12] Production.ERROR: CronJobId end10
[2025-01-12 19:23:12] Production.INFO: ==12116== Releasing lock...
[2025-01-12 19:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:23:14] Production.INFO: call_cost start
[2025-01-12 19:23:14] Production.INFO: call_cost end
[2025-01-12 19:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:23:14] Production.INFO: ==12112== Releasing lock...
[2025-01-12 19:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:23:18] Production.INFO: count ==1393
[2025-01-12 19:23:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:23:05 - End Time 2025-01-12 19:23:05
[2025-01-12 19:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233713', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233713', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233713', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233713', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:23:18] Production.INFO: ProcessCDR(1,14233713,1,1,2)
[2025-01-12 19:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233713', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233713', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:23:21] Production.INFO: ==12120== Releasing lock...
[2025-01-12 19:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:23:21] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:24:01] Production.INFO: ==12178== Lock acquired, processing the job...
[2025-01-13 00:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:24:01] Production.INFO: neon service started
[2025-01-13 00:24:01] Production.INFO: neon service started
[2025-01-13 00:24:01] Production.INFO: ==12178== Releasing lock...
[2025-01-13 00:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:24:01] Production.INFO: ==12180== Lock acquired, processing the job...
[2025-01-12 19:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:24:02] Production.INFO: ==12182== Lock acquired, processing the job...
[2025-01-13 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:24:02] Production.INFO: ==12182== Releasing lock...
[2025-01-13 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:24:02] Production.INFO: ==12180== Releasing lock...
[2025-01-12 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:24:03] Production.INFO: ==12186== Lock acquired, processing the job...
[2025-01-12 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:24:03] Production.INFO: ==12192== Lock acquired, processing the job...
[2025-01-12 19:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:24:03] Production.INFO: ==12195== Lock acquired, processing the job...
[2025-01-12 19:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:24:03] Production.INFO: ==12184== Lock acquired, processing the job...
[2025-01-12 19:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 19:24:03] Production.INFO: count ==21
[2025-01-12 19:24:03] Production.INFO: ==12188== Lock acquired, processing the job...
[2025-01-12 19:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-12 19:24:03] Production.INFO: count ==21
[2025-01-12 19:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233715') start
[2025-01-12 19:24:03] Production.INFO: ==12186== Releasing lock...
[2025-01-12 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:24:03] Production.INFO: ==12190== Lock acquired, processing the job...
[2025-01-12 19:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233715') end
[2025-01-12 19:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:24:03] Production.INFO: 1
[2025-01-12 19:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:24:03] Production.INFO: Account Balance Start.
[2025-01-12 19:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:24:03] Production.INFO: 117
[2025-01-12 19:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:24:03] Production.INFO: ==12195== Releasing lock...
[2025-01-12 19:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:24:03] Production.ERROR: done
[2025-01-12 19:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:24:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:24:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:24:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:24:03] Production.INFO: Total Charge 0
[2025-01-12 19:24:03] Production.INFO: CreateAllLog End
[2025-01-12 19:24:03] Production.ERROR: done
[2025-01-12 19:24:03] Production.INFO: Account Balance End.
[2025-01-12 19:24:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:24:03] Production.INFO: ==12190== Releasing lock...
[2025-01-12 19:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:24:04
[end_date_ymd] => 2025-01-12 19:24:04
[RateCDR] => 1
)
[2025-01-12 19:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:24:04' and `end` < '2025-01-12 19:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:24:11] Production.ERROR: CronJobId end10
[2025-01-12 19:24:11] Production.INFO: ==12188== Releasing lock...
[2025-01-12 19:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:24:12] Production.INFO: call_cost start
[2025-01-12 19:24:12] Production.INFO: call_cost end
[2025-01-12 19:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:24:13] Production.INFO: ==12184== Releasing lock...
[2025-01-12 19:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:24:18] Production.INFO: count ==1392
[2025-01-12 19:24:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:24:04 - End Time 2025-01-12 19:24:04
[2025-01-12 19:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233718', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233718', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233718', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233718', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:24:18] Production.INFO: ProcessCDR(1,14233718,1,1,2)
[2025-01-12 19:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233718', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233718', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:24:21] Production.INFO: ==12192== Releasing lock...
[2025-01-12 19:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:24:21] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:25:01] Production.INFO: ==12248== Lock acquired, processing the job...
[2025-01-13 00:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:25:01] Production.INFO: neon service started
[2025-01-13 00:25:01] Production.INFO: neon service started
[2025-01-13 00:25:01] Production.INFO: ==12248== Releasing lock...
[2025-01-13 00:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:25:02] Production.INFO: ==12250== Lock acquired, processing the job...
[2025-01-12 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:25:02] Production.INFO: ==12250== Releasing lock...
[2025-01-12 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:25:02] Production.INFO: ==12252== Lock acquired, processing the job...
[2025-01-13 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:25:02] Production.INFO: ==12252== Releasing lock...
[2025-01-13 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:25:03] Production.INFO: ==12255== Lock acquired, processing the job...
[2025-01-12 19:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:25:03] Production.INFO: ==12261== Lock acquired, processing the job...
[2025-01-12 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:25:03] Production.INFO: ==12265== Lock acquired, processing the job...
[2025-01-12 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:25:03] Production.INFO: Account Balance Start.
[2025-01-12 19:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:25:03] Production.INFO: 117
[2025-01-12 19:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:25:03] Production.INFO: ==12257== Lock acquired, processing the job...
[2025-01-12 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:25:03] Production.INFO: count ==21
[2025-01-12 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-12 19:25:03] Production.INFO: count ==21
[2025-01-12 19:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:25:03] Production.INFO: ==12259== Lock acquired, processing the job...
[2025-01-12 19:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:25:03] Production.INFO: Total Charge 0
[2025-01-12 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233721') start
[2025-01-12 19:25:03] Production.INFO: CreateAllLog End
[2025-01-12 19:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:25:03] Production.INFO: ==12263== Lock acquired, processing the job...
[2025-01-12 19:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233721') end
[2025-01-12 19:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:25:03] Production.INFO: 1
[2025-01-12 19:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:25:03] Production.INFO: Account Balance End.
[2025-01-12 19:25:03] Production.INFO: ==12265== Releasing lock...
[2025-01-12 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:25:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:25:03] Production.INFO: ==12261== Releasing lock...
[2025-01-12 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:25:03] Production.INFO: ==12257== Releasing lock...
[2025-01-12 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:25:04] Production.ERROR: done
[2025-01-12 19:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:25:04] Production.ERROR: done
[2025-01-12 19:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:25:05
[end_date_ymd] => 2025-01-12 19:25:05
[RateCDR] => 1
)
[2025-01-12 19:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:25:05' and `end` < '2025-01-12 19:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:25:11] Production.ERROR: CronJobId end10
[2025-01-12 19:25:11] Production.INFO: ==12259== Releasing lock...
[2025-01-12 19:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:25:13] Production.INFO: call_cost start
[2025-01-12 19:25:13] Production.INFO: call_cost end
[2025-01-12 19:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:25:14] Production.INFO: ==12255== Releasing lock...
[2025-01-12 19:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:25:19] Production.INFO: count ==1390
[2025-01-12 19:25:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:25:05 - End Time 2025-01-12 19:25:05
[2025-01-12 19:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233723', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233723', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233723', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233723', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:25:19] Production.INFO: ProcessCDR(1,14233723,1,1,2)
[2025-01-12 19:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233723', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233723', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:25:22] Production.INFO: ==12263== Releasing lock...
[2025-01-12 19:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:25:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:26:02] Production.INFO: ==12318== Lock acquired, processing the job...
[2025-01-13 00:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:26:02] Production.INFO: neon service started
[2025-01-13 00:26:02] Production.INFO: neon service started
[2025-01-13 00:26:02] Production.INFO: ==12318== Releasing lock...
[2025-01-13 00:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:26:02] Production.INFO: ==12320== Lock acquired, processing the job...
[2025-01-12 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:26:03] Production.INFO: ==12322== Lock acquired, processing the job...
[2025-01-13 00:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:26:03] Production.INFO: ==12322== Releasing lock...
[2025-01-13 00:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:26:03] Production.INFO: ==12320== Releasing lock...
[2025-01-12 19:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:26:04] Production.INFO: ==12329== Lock acquired, processing the job...
[2025-01-12 19:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:26:04] Production.INFO: ==12333== Lock acquired, processing the job...
[2025-01-12 19:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:26:04] Production.INFO: ==12327== Lock acquired, processing the job...
[2025-01-12 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:26:04] Production.INFO: ==12325== Lock acquired, processing the job...
[2025-01-12 19:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:26:04] Production.INFO: ==12331== Lock acquired, processing the job...
[2025-01-12 19:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:26:04] Production.INFO: ==12335== Lock acquired, processing the job...
[2025-01-12 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:26:04] Production.INFO: Account Balance Start.
[2025-01-12 19:26:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:26:04] Production.INFO: 117
[2025-01-12 19:26:04] Production.ERROR: done
[2025-01-12 19:26:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:26:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:26:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:26:04] Production.INFO: Total Charge 0
[2025-01-12 19:26:04] Production.INFO: count ==21
[2025-01-12 19:26:04] Production.INFO: CreateAllLog End
[2025-01-12 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-12 19:26:04] Production.INFO: count ==21
[2025-01-12 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233727') start
[2025-01-12 19:26:04] Production.INFO: ==12327== Releasing lock...
[2025-01-12 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:26:04] Production.ERROR: done
[2025-01-12 19:26:05] Production.INFO: Account Balance End.
[2025-01-12 19:26:05] Production.ERROR: PBX CALL prc_importPBXExtension('14233727') end
[2025-01-12 19:26:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:26:05] Production.INFO: 1
[2025-01-12 19:26:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:26:05] Production.ERROR: CronJobId end 12
[2025-01-12 19:26:05] Production.INFO: ==12331== Releasing lock...
[2025-01-12 19:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:26:05] Production.INFO: ==12335== Releasing lock...
[2025-01-12 19:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:26:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:26:05
[end_date_ymd] => 2025-01-12 19:26:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:26:05' and `end` < '2025-01-12 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-12 19:26:11] Production.ERROR: CronJobId end10
[2025-01-12 19:26:11] Production.INFO: ==12329== Releasing lock...
[2025-01-12 19:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:26:13] Production.INFO: call_cost start
[2025-01-12 19:26:13] Production.INFO: call_cost end
[2025-01-12 19:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:26:14] Production.INFO: ==12325== Releasing lock...
[2025-01-12 19:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:26:19] Production.INFO: count ==1385
[2025-01-12 19:26:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:26:05 - End Time 2025-01-12 19:26:05
[2025-01-12 19:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233728', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233728', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233728', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233728', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:26:19] Production.INFO: ProcessCDR(1,14233728,1,1,2)
[2025-01-12 19:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233728', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233728', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:26:22] Production.INFO: ==12333== Releasing lock...
[2025-01-12 19:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:26:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:27:01] Production.INFO: ==12395== Lock acquired, processing the job...
[2025-01-13 00:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:27:01] Production.INFO: neon service started
[2025-01-13 00:27:01] Production.INFO: neon service started
[2025-01-13 00:27:01] Production.INFO: ==12395== Releasing lock...
[2025-01-13 00:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:27:02] Production.INFO: ==12397== Lock acquired, processing the job...
[2025-01-12 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:27:02] Production.INFO: ==12397== Releasing lock...
[2025-01-12 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:27:02] Production.INFO: ==12399== Lock acquired, processing the job...
[2025-01-13 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:27:02] Production.INFO: ==12399== Releasing lock...
[2025-01-13 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:27:03] Production.INFO: ==12404== Lock acquired, processing the job...
[2025-01-12 19:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:27:03] Production.INFO: ==12408== Lock acquired, processing the job...
[2025-01-12 19:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:27:03] Production.INFO: ==12402== Lock acquired, processing the job...
[2025-01-12 19:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:27:03] Production.INFO: Account Balance Start.
[2025-01-12 19:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:27:03] Production.INFO: 117
[2025-01-12 19:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:27:03] Production.INFO: ==12412== Lock acquired, processing the job...
[2025-01-12 19:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:27:03] Production.INFO: ==12406== Lock acquired, processing the job...
[2025-01-12 19:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:27:03] Production.INFO: ==12410== Lock acquired, processing the job...
[2025-01-12 19:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:27:03] Production.INFO: ==12404== Releasing lock...
[2025-01-12 19:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:27:03] Production.INFO: count ==21
[2025-01-12 19:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:27:03] Production.INFO: count ==21
[2025-01-12 19:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233732') start
[2025-01-12 19:27:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:27:03] Production.INFO: Total Charge 0
[2025-01-12 19:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233732') end
[2025-01-12 19:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:27:03] Production.INFO: 1
[2025-01-12 19:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:27:03] Production.INFO: CreateAllLog End
[2025-01-12 19:27:03] Production.INFO: ==12412== Releasing lock...
[2025-01-12 19:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:27:03] Production.ERROR: done
[2025-01-12 19:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:27:04] Production.ERROR: done
[2025-01-12 19:27:04] Production.INFO: Account Balance End.
[2025-01-12 19:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:27:04] Production.INFO: ==12408== Releasing lock...
[2025-01-12 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:27:05
[end_date_ymd] => 2025-01-12 19:27:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:27:05' and `end` < '2025-01-12 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-12 19:27:11] Production.ERROR: CronJobId end10
[2025-01-12 19:27:11] Production.INFO: ==12406== Releasing lock...
[2025-01-12 19:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:27:13] Production.INFO: call_cost start
[2025-01-12 19:27:13] Production.INFO: call_cost end
[2025-01-12 19:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:27:14] Production.INFO: ==12402== Releasing lock...
[2025-01-12 19:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:27:19] Production.INFO: count ==1383
[2025-01-12 19:27:20] Production.ERROR: pbx CDR StartTime 2025-01-12 16:27:05 - End Time 2025-01-12 19:27:05
[2025-01-12 19:27:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233733', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233733', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233733', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233733', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:27:20] Production.INFO: ProcessCDR(1,14233733,1,1,2)
[2025-01-12 19:27:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233733', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233733', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:27:23] Production.INFO: ==12410== Releasing lock...
[2025-01-12 19:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:27:23] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:28:02] Production.INFO: ==12469== Lock acquired, processing the job...
[2025-01-13 00:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:28:02] Production.INFO: neon service started
[2025-01-13 00:28:02] Production.INFO: neon service started
[2025-01-13 00:28:02] Production.INFO: ==12469== Releasing lock...
[2025-01-13 00:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:28:02] Production.INFO: ==12471== Lock acquired, processing the job...
[2025-01-12 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:28:02] Production.INFO: ==12471== Releasing lock...
[2025-01-12 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:28:02] Production.INFO: ==12473== Lock acquired, processing the job...
[2025-01-13 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:28:03] Production.INFO: ==12473== Releasing lock...
[2025-01-13 00:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:28:03] Production.INFO: ==12480== Lock acquired, processing the job...
[2025-01-12 19:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:28:03] Production.INFO: ==12482== Lock acquired, processing the job...
[2025-01-12 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:28:03] Production.INFO: Account Balance Start.
[2025-01-12 19:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:28:03] Production.INFO: 117
[2025-01-12 19:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:28:03] Production.INFO: ==12476== Lock acquired, processing the job...
[2025-01-12 19:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:28:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:28:03] Production.INFO: ==12478== Lock acquired, processing the job...
[2025-01-12 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:28:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:28:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:28:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:28:03] Production.INFO: Total Charge 0
[2025-01-12 19:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:28:03] Production.INFO: ==12484== Lock acquired, processing the job...
[2025-01-12 19:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:28:03] Production.INFO: CreateAllLog End
[2025-01-12 19:28:03] Production.INFO: ==12486== Lock acquired, processing the job...
[2025-01-12 19:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:28:04] Production.INFO: ==12478== Releasing lock...
[2025-01-12 19:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:28:04] Production.INFO: Account Balance End.
[2025-01-12 19:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:28:04] Production.INFO: count ==21
[2025-01-12 19:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:28:04] Production.INFO: ==12482== Releasing lock...
[2025-01-12 19:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:28:04] Production.ERROR: done
[2025-01-12 19:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:28:04] Production.INFO: count ==21
[2025-01-12 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233737') start
[2025-01-12 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233737') end
[2025-01-12 19:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:28:04] Production.INFO: 1
[2025-01-12 19:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:28:04] Production.ERROR: done
[2025-01-12 19:28:04] Production.INFO: ==12486== Releasing lock...
[2025-01-12 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:28:05
[end_date_ymd] => 2025-01-12 19:28:05
[RateCDR] => 1
)
[2025-01-12 19:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:28:05' and `end` < '2025-01-12 19:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:28:10] Production.ERROR: CronJobId end10
[2025-01-12 19:28:10] Production.INFO: ==12480== Releasing lock...
[2025-01-12 19:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:28:12] Production.INFO: call_cost start
[2025-01-12 19:28:12] Production.INFO: call_cost end
[2025-01-12 19:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:28:13] Production.INFO: ==12476== Releasing lock...
[2025-01-12 19:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:28:18] Production.INFO: count ==1377
[2025-01-12 19:28:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:28:05 - End Time 2025-01-12 19:28:05
[2025-01-12 19:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233738', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233738', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233738', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233738', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:28:18] Production.INFO: ProcessCDR(1,14233738,1,1,2)
[2025-01-12 19:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233738', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233738', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:28:22] Production.INFO: ==12484== Releasing lock...
[2025-01-12 19:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:28:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:29:01] Production.INFO: ==12578== Lock acquired, processing the job...
[2025-01-13 00:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:29:01] Production.INFO: neon service started
[2025-01-13 00:29:01] Production.INFO: neon service started
[2025-01-13 00:29:01] Production.INFO: ==12578== Releasing lock...
[2025-01-13 00:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:29:01] Production.INFO: ==12580== Lock acquired, processing the job...
[2025-01-12 19:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:29:02] Production.INFO: ==12580== Releasing lock...
[2025-01-12 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:29:02] Production.INFO: ==12582== Lock acquired, processing the job...
[2025-01-13 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:29:02] Production.INFO: ==12582== Releasing lock...
[2025-01-13 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:29:03] Production.INFO: ==12594== Lock acquired, processing the job...
[2025-01-12 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:29:03] Production.INFO: ==12584== Lock acquired, processing the job...
[2025-01-12 19:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:29:03] Production.INFO: ==12592== Lock acquired, processing the job...
[2025-01-12 19:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:29:03] Production.INFO: ==12586== Lock acquired, processing the job...
[2025-01-12 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 19:29:03] Production.INFO: ==12588== Lock acquired, processing the job...
[2025-01-12 19:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:29:03] Production.INFO: ==12590== Lock acquired, processing the job...
[2025-01-12 19:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:29:03] Production.INFO: count ==21
[2025-01-12 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-12 19:29:03] Production.INFO: count ==21
[2025-01-12 19:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233739') start
[2025-01-12 19:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233739') end
[2025-01-12 19:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:29:03] Production.INFO: 1
[2025-01-12 19:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:29:03] Production.INFO: Account Balance Start.
[2025-01-12 19:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:29:03] Production.INFO: 117
[2025-01-12 19:29:03] Production.INFO: ==12594== Releasing lock...
[2025-01-12 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:29:03] Production.ERROR: done
[2025-01-12 19:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:29:03] Production.ERROR: done
[2025-01-12 19:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:29:03] Production.INFO: ==12586== Releasing lock...
[2025-01-12 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:29:03] Production.INFO: Total Charge 0
[2025-01-12 19:29:03] Production.INFO: CreateAllLog End
[2025-01-12 19:29:03] Production.INFO: Account Balance End.
[2025-01-12 19:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:29:04] Production.INFO: ==12590== Releasing lock...
[2025-01-12 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:29:04
[end_date_ymd] => 2025-01-12 19:29:04
[RateCDR] => 1
)
[2025-01-12 19:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:29:04' and `end` < '2025-01-12 19:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:29:09] Production.ERROR: CronJobId end10
[2025-01-12 19:29:09] Production.INFO: ==12588== Releasing lock...
[2025-01-12 19:29:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:29:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:29:12] Production.INFO: call_cost start
[2025-01-12 19:29:12] Production.INFO: call_cost end
[2025-01-12 19:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:29:13] Production.INFO: ==12584== Releasing lock...
[2025-01-12 19:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:29:17] Production.INFO: count ==1373
[2025-01-12 19:29:17] Production.ERROR: pbx CDR StartTime 2025-01-12 16:29:04 - End Time 2025-01-12 19:29:04
[2025-01-12 19:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233743', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233743', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233743', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233743', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:29:17] Production.INFO: ProcessCDR(1,14233743,1,1,2)
[2025-01-12 19:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233743', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233743', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:29:20] Production.INFO: ==12592== Releasing lock...
[2025-01-12 19:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:29:20] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 00:30:02] Production.INFO: ==12650== Lock acquired, processing the job...
[2025-01-13 00:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:30:02] Production.INFO: neon service started
[2025-01-13 00:30:02] Production.INFO: neon service started
[2025-01-13 00:30:02] Production.INFO: ==12650== Releasing lock...
[2025-01-13 00:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:30:02] Production.INFO: ==12654== Lock acquired, processing the job...
[2025-01-13 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:30:02] Production.INFO: ==12654== Releasing lock...
[2025-01-13 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:30:02] Production.INFO: ==12652== Lock acquired, processing the job...
[2025-01-12 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:30:02] Production.INFO: ==12652== Releasing lock...
[2025-01-12 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:30:03] Production.INFO: ==12658== Lock acquired, processing the job...
[2025-01-12 19:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:30:03] Production.INFO: ==12662== Lock acquired, processing the job...
[2025-01-12 19:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:30:03] Production.INFO: ==12664== Lock acquired, processing the job...
[2025-01-12 19:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:30:03] Production.INFO: ==12656== Lock acquired, processing the job...
[2025-01-12 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 19:30:03] Production.INFO: ==12666== Lock acquired, processing the job...
[2025-01-12 19:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:30:03] Production.INFO: Account Balance Start.
[2025-01-12 19:30:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:30:03] Production.INFO: 117
[2025-01-12 19:30:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:30:04] Production.INFO: ==12660== Lock acquired, processing the job...
[2025-01-12 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 19:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:30:04] Production.ERROR: CronJob PID - 12658
[2025-01-12 19:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 19:30:04] Production.ERROR: CronJob ID - 5
[2025-01-12 19:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 19:30:00
[2025-01-12 19:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:30:04] Production.ERROR: CronJob PID - 12662
[2025-01-12 19:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 19:30:04] Production.ERROR: CronJob ID - 10
[2025-01-12 19:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 19:30:00
[2025-01-12 19:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:30:04] Production.ERROR: CronJob PID - 12664
[2025-01-12 19:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 19:30:04] Production.ERROR: CronJob ID - 12
[2025-01-12 19:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 19:30:00
[2025-01-12 19:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:30:04] Production.ERROR: CronJob PID - 12666
[2025-01-12 19:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 19:30:04] Production.ERROR: CronJob ID - 16
[2025-01-12 19:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 19:30:00
[2025-01-12 19:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:30:04] Production.INFO: ==12671== Lock acquired, processing the job...
[2025-01-12 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 19:30:04] Production.INFO: ==12656== Releasing lock...
[2025-01-12 19:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 19:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 19:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:30:04] Production.INFO: ==12669== Lock acquired, processing the job...
[2025-01-12 19:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 19:30:04] Production.INFO: Total Charge 0
[2025-01-12 19:30:04] Production.INFO: CreateAllLog End
[2025-01-12 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:30:04] Production.ERROR: done
[2025-01-12 19:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:30:04] Production.INFO: count ==21
[2025-01-12 19:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:30:04] Production.INFO: count ==21
[2025-01-12 19:30:04] Production.INFO: Account Balance End.
[2025-01-12 19:30:04] Production.ERROR: done
[2025-01-12 19:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:30:04] Production.INFO: ==12664== Releasing lock...
[2025-01-12 19:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233747') start
[2025-01-12 19:30:04] Production.INFO: ==12660== Releasing lock...
[2025-01-12 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:30:05] Production.ERROR: done
[2025-01-12 19:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 19:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233749', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 19:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14233747') end
[2025-01-12 19:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:30:05] Production.INFO: 1
[2025-01-12 19:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:30:05] Production.INFO: ==12671== Releasing lock...
[2025-01-12 19:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:30:05
[end_date_ymd] => 2025-01-12 19:30:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:30:05' and `end` < '2025-01-12 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-12 19:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233749', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 19:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 19:30:08] Production.INFO: ProcessCDR(1,14233749,1,1,2)
[2025-01-12 19:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14233749,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14233749,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:30:08] Production.INFO: ==12669== Releasing lock...
[2025-01-12 19:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 19:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 19:30:11] Production.ERROR: CronJobId end10
[2025-01-12 19:30:11] Production.INFO: ==12662== Releasing lock...
[2025-01-12 19:30:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:30:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:30:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:30:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:30:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:30:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:30:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:30:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:30:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:30:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:30:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:30:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:30:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:30:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:30:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:30:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:30:14] Production.INFO: call_cost start
[2025-01-12 19:30:14] Production.INFO: call_cost end
[2025-01-12 19:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:30:15] Production.INFO: ==12658== Releasing lock...
[2025-01-12 19:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:30:19] Production.INFO: count ==1400
[2025-01-12 19:30:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:30:05 - End Time 2025-01-12 19:30:05
[2025-01-12 19:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233748', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233748', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233748', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233748', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:30:19] Production.INFO: ProcessCDR(1,14233748,1,1,2)
[2025-01-12 19:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233748', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233748', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:30:22] Production.INFO: ==12666== Releasing lock...
[2025-01-12 19:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:30:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:31:01] Production.INFO: ==12723== Lock acquired, processing the job...
[2025-01-13 00:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:31:01] Production.INFO: neon service started
[2025-01-13 00:31:01] Production.INFO: neon service started
[2025-01-13 00:31:01] Production.INFO: ==12723== Releasing lock...
[2025-01-13 00:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:31:01] Production.INFO: ==12725== Lock acquired, processing the job...
[2025-01-12 19:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:31:02] Production.INFO: ==12725== Releasing lock...
[2025-01-12 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:31:02] Production.INFO: ==12727== Lock acquired, processing the job...
[2025-01-13 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:31:02] Production.INFO: ==12727== Releasing lock...
[2025-01-13 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:31:02] Production.INFO: ==12729== Lock acquired, processing the job...
[2025-01-12 19:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:31:02] Production.INFO: ==12731== Lock acquired, processing the job...
[2025-01-12 19:31:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:31:02] Production.INFO: ==12735== Lock acquired, processing the job...
[2025-01-12 19:31:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:31:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:31:02] Production.INFO: Account Balance Start.
[2025-01-12 19:31:02] Production.INFO: CreateAllLog Start
[2025-01-12 19:31:02] Production.INFO: 117
[2025-01-12 19:31:02] Production.INFO: Date 2025-01-08
[2025-01-12 19:31:02] Production.INFO: Reseller ==> 0
[2025-01-12 19:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:31:03] Production.INFO: ==12733== Lock acquired, processing the job...
[2025-01-12 19:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:31:03] Production.INFO: ==12731== Releasing lock...
[2025-01-12 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:31:03] Production.INFO: ==12737== Lock acquired, processing the job...
[2025-01-12 19:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:31:03] Production.INFO: Total Charge 0
[2025-01-12 19:31:03] Production.INFO: CreateAllLog End
[2025-01-12 19:31:03] Production.INFO: ==12739== Lock acquired, processing the job...
[2025-01-12 19:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 19:31:03] Production.INFO: count ==21
[2025-01-12 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-12 19:31:03] Production.INFO: count ==21
[2025-01-12 19:31:03] Production.ERROR: done
[2025-01-12 19:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233753') start
[2025-01-12 19:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:31:03] Production.INFO: Account Balance End.
[2025-01-12 19:31:03] Production.ERROR: done
[2025-01-12 19:31:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:31:03] Production.INFO: ==12735== Releasing lock...
[2025-01-12 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233753') end
[2025-01-12 19:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:31:03] Production.INFO: 1
[2025-01-12 19:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:31:03] Production.INFO: ==12739== Releasing lock...
[2025-01-12 19:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:31:04
[end_date_ymd] => 2025-01-12 19:31:04
[RateCDR] => 1
)
[2025-01-12 19:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:31:04' and `end` < '2025-01-12 19:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:31:10] Production.ERROR: CronJobId end10
[2025-01-12 19:31:10] Production.INFO: ==12733== Releasing lock...
[2025-01-12 19:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:31:12] Production.INFO: call_cost start
[2025-01-12 19:31:12] Production.INFO: call_cost end
[2025-01-12 19:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:31:13] Production.INFO: ==12729== Releasing lock...
[2025-01-12 19:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:31:19] Production.INFO: count ==1407
[2025-01-12 19:31:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:31:04 - End Time 2025-01-12 19:31:04
[2025-01-12 19:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233754', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233754', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233754', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233754', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:31:19] Production.INFO: ProcessCDR(1,14233754,1,1,2)
[2025-01-12 19:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233754', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233754', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:31:23] Production.INFO: ==12737== Releasing lock...
[2025-01-12 19:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:31:23] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:32:02] Production.INFO: ==12796== Lock acquired, processing the job...
[2025-01-13 00:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:32:02] Production.INFO: neon service started
[2025-01-13 00:32:02] Production.INFO: neon service started
[2025-01-13 00:32:02] Production.INFO: ==12796== Releasing lock...
[2025-01-13 00:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:32:02] Production.INFO: ==12800== Lock acquired, processing the job...
[2025-01-13 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:32:02] Production.INFO: ==12800== Releasing lock...
[2025-01-13 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:32:02] Production.INFO: ==12798== Lock acquired, processing the job...
[2025-01-12 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:32:02] Production.INFO: ==12798== Releasing lock...
[2025-01-12 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:32:03] Production.INFO: ==12803== Lock acquired, processing the job...
[2025-01-12 19:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:32:03] Production.INFO: ==12811== Lock acquired, processing the job...
[2025-01-12 19:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:32:03] Production.INFO: ==12813== Lock acquired, processing the job...
[2025-01-12 19:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:32:03] Production.INFO: ==12807== Lock acquired, processing the job...
[2025-01-12 19:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:32:03] Production.INFO: ==12805== Lock acquired, processing the job...
[2025-01-12 19:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:32:04] Production.INFO: ==12809== Lock acquired, processing the job...
[2025-01-12 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 19:32:04] Production.INFO: count ==21
[2025-01-12 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-12 19:32:04] Production.INFO: count ==21
[2025-01-12 19:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233756') start
[2025-01-12 19:32:04] Production.INFO: Account Balance Start.
[2025-01-12 19:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:32:04] Production.INFO: 117
[2025-01-12 19:32:04] Production.ERROR: done
[2025-01-12 19:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233756') end
[2025-01-12 19:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:32:04] Production.INFO: 1
[2025-01-12 19:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:32:04] Production.ERROR: done
[2025-01-12 19:32:04] Production.INFO: ==12813== Releasing lock...
[2025-01-12 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:32:04] Production.INFO: ==12805== Releasing lock...
[2025-01-12 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:32:04] Production.INFO: Total Charge 0
[2025-01-12 19:32:04] Production.INFO: CreateAllLog End
[2025-01-12 19:32:04] Production.INFO: Account Balance End.
[2025-01-12 19:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:32:04] Production.INFO: ==12809== Releasing lock...
[2025-01-12 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:32:05
[end_date_ymd] => 2025-01-12 19:32:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:32:05' and `end` < '2025-01-12 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-12 19:32:11] Production.ERROR: CronJobId end10
[2025-01-12 19:32:11] Production.INFO: ==12807== Releasing lock...
[2025-01-12 19:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:32:13] Production.INFO: call_cost start
[2025-01-12 19:32:13] Production.INFO: call_cost end
[2025-01-12 19:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:32:14] Production.INFO: ==12803== Releasing lock...
[2025-01-12 19:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:32:19] Production.INFO: count ==1411
[2025-01-12 19:32:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:32:05 - End Time 2025-01-12 19:32:05
[2025-01-12 19:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233759', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233759', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233759', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233759', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:32:19] Production.INFO: ProcessCDR(1,14233759,1,1,2)
[2025-01-12 19:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233759', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233759', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:32:22] Production.INFO: ==12811== Releasing lock...
[2025-01-12 19:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:32:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:33:01] Production.INFO: ==12866== Lock acquired, processing the job...
[2025-01-13 00:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:33:01] Production.INFO: neon service started
[2025-01-13 00:33:01] Production.INFO: neon service started
[2025-01-13 00:33:01] Production.INFO: ==12866== Releasing lock...
[2025-01-13 00:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:33:02] Production.INFO: ==12868== Lock acquired, processing the job...
[2025-01-12 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:33:02] Production.INFO: ==12870== Lock acquired, processing the job...
[2025-01-13 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:33:02] Production.INFO: ==12868== Releasing lock...
[2025-01-12 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:33:02] Production.INFO: ==12870== Releasing lock...
[2025-01-13 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:33:03] Production.INFO: ==12881== Lock acquired, processing the job...
[2025-01-12 19:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:33:03] Production.INFO: ==12883== Lock acquired, processing the job...
[2025-01-12 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 19:33:03] Production.INFO: ==12873== Lock acquired, processing the job...
[2025-01-12 19:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:33:03] Production.INFO: count ==21
[2025-01-12 19:33:03] Production.INFO: ==12875== Lock acquired, processing the job...
[2025-01-12 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-12 19:33:03] Production.INFO: count ==21
[2025-01-12 19:33:03] Production.INFO: ==12877== Lock acquired, processing the job...
[2025-01-12 19:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233760') start
[2025-01-12 19:33:03] Production.INFO: ==12879== Lock acquired, processing the job...
[2025-01-12 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:33:03] Production.ERROR: done
[2025-01-12 19:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233760') end
[2025-01-12 19:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:33:03] Production.INFO: 1
[2025-01-12 19:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:33:03] Production.INFO: ==12883== Releasing lock...
[2025-01-12 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:33:03] Production.INFO: Account Balance Start.
[2025-01-12 19:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:33:03] Production.INFO: 117
[2025-01-12 19:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:33:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:33:04] Production.ERROR: done
[2025-01-12 19:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:33:04] Production.INFO: ==12875== Releasing lock...
[2025-01-12 19:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:33:04] Production.INFO: Total Charge 0
[2025-01-12 19:33:04] Production.INFO: CreateAllLog End
[2025-01-12 19:33:04] Production.INFO: Account Balance End.
[2025-01-12 19:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:33:04] Production.INFO: ==12879== Releasing lock...
[2025-01-12 19:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:33:05
[end_date_ymd] => 2025-01-12 19:33:05
[RateCDR] => 1
)
[2025-01-12 19:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:33:05' and `end` < '2025-01-12 19:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:33:11] Production.ERROR: CronJobId end10
[2025-01-12 19:33:11] Production.INFO: ==12877== Releasing lock...
[2025-01-12 19:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:33:12] Production.INFO: call_cost start
[2025-01-12 19:33:12] Production.INFO: call_cost end
[2025-01-12 19:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:33:13] Production.INFO: ==12873== Releasing lock...
[2025-01-12 19:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:33:18] Production.INFO: count ==1410
[2025-01-12 19:33:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:33:05 - End Time 2025-01-12 19:33:05
[2025-01-12 19:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233764', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233764', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233764', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233764', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:33:18] Production.INFO: ProcessCDR(1,14233764,1,1,2)
[2025-01-12 19:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233764', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233764', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:33:21] Production.INFO: ==12881== Releasing lock...
[2025-01-12 19:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:33:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:34:02] Production.INFO: ==12938== Lock acquired, processing the job...
[2025-01-13 00:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:34:02] Production.INFO: neon service started
[2025-01-13 00:34:02] Production.INFO: neon service started
[2025-01-13 00:34:02] Production.INFO: ==12938== Releasing lock...
[2025-01-13 00:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:34:02] Production.INFO: ==12940== Lock acquired, processing the job...
[2025-01-12 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:34:03] Production.INFO: ==12942== Lock acquired, processing the job...
[2025-01-13 00:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:34:03] Production.INFO: ==12940== Releasing lock...
[2025-01-12 19:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:34:03] Production.INFO: ==12942== Releasing lock...
[2025-01-13 00:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:34:03] Production.INFO: ==12950== Lock acquired, processing the job...
[2025-01-12 19:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:34:04] Production.INFO: Account Balance Start.
[2025-01-12 19:34:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:34:04] Production.INFO: 117
[2025-01-12 19:34:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:34:04] Production.INFO: ==12955== Lock acquired, processing the job...
[2025-01-12 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:34:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:34:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:34:04] Production.INFO: count ==21
[2025-01-12 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-12 19:34:04] Production.INFO: count ==21
[2025-01-12 19:34:04] Production.INFO: ==12944== Lock acquired, processing the job...
[2025-01-12 19:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233766') start
[2025-01-12 19:34:04] Production.INFO: ==12946== Lock acquired, processing the job...
[2025-01-12 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:34:04] Production.INFO: Total Charge 0
[2025-01-12 19:34:04] Production.INFO: CreateAllLog End
[2025-01-12 19:34:04] Production.INFO: ==12948== Lock acquired, processing the job...
[2025-01-12 19:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:34:04] Production.INFO: ==12953== Lock acquired, processing the job...
[2025-01-12 19:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233766') end
[2025-01-12 19:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:34:04] Production.INFO: 1
[2025-01-12 19:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:34:04] Production.INFO: Account Balance End.
[2025-01-12 19:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:34:04] Production.INFO: ==12950== Releasing lock...
[2025-01-12 19:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:34:04] Production.INFO: ==12955== Releasing lock...
[2025-01-12 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:34:04] Production.ERROR: done
[2025-01-12 19:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:34:04] Production.INFO: ==12946== Releasing lock...
[2025-01-12 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:34:04] Production.ERROR: done
[2025-01-12 19:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:34:05
[end_date_ymd] => 2025-01-12 19:34:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:34:05' and `end` < '2025-01-12 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-12 19:34:11] Production.ERROR: CronJobId end10
[2025-01-12 19:34:11] Production.INFO: ==12948== Releasing lock...
[2025-01-12 19:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:34:13] Production.INFO: call_cost start
[2025-01-12 19:34:13] Production.INFO: call_cost end
[2025-01-12 19:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:34:14] Production.INFO: ==12944== Releasing lock...
[2025-01-12 19:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:34:18] Production.INFO: count ==1406
[2025-01-12 19:34:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:34:05 - End Time 2025-01-12 19:34:05
[2025-01-12 19:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233769', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233769', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233769', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233769', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:34:19] Production.INFO: ProcessCDR(1,14233769,1,1,2)
[2025-01-12 19:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233769', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233769', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:34:22] Production.INFO: ==12953== Releasing lock...
[2025-01-12 19:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:34:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 00:35:01] Production.INFO: ==13008== Lock acquired, processing the job...
[2025-01-13 00:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:35:01] Production.INFO: neon service started
[2025-01-13 00:35:01] Production.INFO: neon service started
[2025-01-13 00:35:01] Production.INFO: ==13008== Releasing lock...
[2025-01-13 00:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:35:02] Production.INFO: ==13012== Lock acquired, processing the job...
[2025-01-13 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:35:02] Production.INFO: ==13012== Releasing lock...
[2025-01-13 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:35:02] Production.INFO: ==13010== Lock acquired, processing the job...
[2025-01-12 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:35:02] Production.INFO: ==13010== Releasing lock...
[2025-01-12 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:35:03] Production.INFO: ==13016== Lock acquired, processing the job...
[2025-01-12 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:35:03] Production.INFO: ==13020== Lock acquired, processing the job...
[2025-01-12 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:35:03] Production.INFO: Account Balance Start.
[2025-01-12 19:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:35:03] Production.INFO: 117
[2025-01-12 19:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:35:03] Production.INFO: ==13016== Releasing lock...
[2025-01-12 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:35:03] Production.INFO: ==13014== Lock acquired, processing the job...
[2025-01-12 19:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:35:03] Production.INFO: Total Charge 0
[2025-01-12 19:35:03] Production.INFO: ==13022== Lock acquired, processing the job...
[2025-01-12 19:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:35:03] Production.INFO: CreateAllLog End
[2025-01-12 19:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:35:03] Production.INFO: ==13018== Lock acquired, processing the job...
[2025-01-12 19:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:35:03] Production.INFO: Account Balance End.
[2025-01-12 19:35:03] Production.INFO: ==13024== Lock acquired, processing the job...
[2025-01-12 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:35:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:35:03] Production.INFO: ==13020== Releasing lock...
[2025-01-12 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-12 19:35:04] Production.INFO: count ==21
[2025-01-12 19:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:35:04] Production.INFO: count ==21
[2025-01-12 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233773') start
[2025-01-12 19:35:04] Production.ERROR: done
[2025-01-12 19:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:35:04] Production.ERROR: done
[2025-01-12 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233773') end
[2025-01-12 19:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:35:04] Production.INFO: 1
[2025-01-12 19:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:35:04] Production.INFO: ==13024== Releasing lock...
[2025-01-12 19:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:35:05
[end_date_ymd] => 2025-01-12 19:35:05
[RateCDR] => 1
)
[2025-01-12 19:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:35:05' and `end` < '2025-01-12 19:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:35:11] Production.ERROR: CronJobId end10
[2025-01-12 19:35:11] Production.INFO: ==13018== Releasing lock...
[2025-01-12 19:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:35:13] Production.INFO: call_cost start
[2025-01-12 19:35:13] Production.INFO: call_cost end
[2025-01-12 19:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:35:14] Production.INFO: ==13014== Releasing lock...
[2025-01-12 19:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:35:18] Production.INFO: count ==1408
[2025-01-12 19:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:35:05 - End Time 2025-01-12 19:35:05
[2025-01-12 19:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233774', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233774', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233774', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233774', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:35:18] Production.INFO: ProcessCDR(1,14233774,1,1,2)
[2025-01-12 19:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233774', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233774', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:35:21] Production.INFO: ==13022== Releasing lock...
[2025-01-12 19:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:35:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 00:36:01] Production.INFO: ==13080== Lock acquired, processing the job...
[2025-01-13 00:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:36:01] Production.INFO: neon service started
[2025-01-13 00:36:01] Production.INFO: neon service started
[2025-01-13 00:36:01] Production.INFO: ==13080== Releasing lock...
[2025-01-13 00:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:36:01] Production.INFO: ==13082== Lock acquired, processing the job...
[2025-01-12 19:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:36:02] Production.INFO: ==13082== Releasing lock...
[2025-01-12 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:36:02] Production.INFO: ==13084== Lock acquired, processing the job...
[2025-01-13 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:36:02] Production.INFO: ==13084== Releasing lock...
[2025-01-13 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:36:02] Production.INFO: ==13086== Lock acquired, processing the job...
[2025-01-12 19:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:36:02] Production.INFO: ==13090== Lock acquired, processing the job...
[2025-01-12 19:36:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:36:02] Production.INFO: ==13088== Lock acquired, processing the job...
[2025-01-12 19:36:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:36:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:36:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:36:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:36:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:36:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:36:03] Production.INFO: ==13092== Lock acquired, processing the job...
[2025-01-12 19:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:36:03] Production.INFO: Account Balance Start.
[2025-01-12 19:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:36:03] Production.INFO: 117
[2025-01-12 19:36:03] Production.INFO: ==13088== Releasing lock...
[2025-01-12 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:36:03] Production.INFO: ==13094== Lock acquired, processing the job...
[2025-01-12 19:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:36:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:36:03] Production.INFO: ==13096== Lock acquired, processing the job...
[2025-01-12 19:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:36:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:36:03] Production.INFO: Total Charge 0
[2025-01-12 19:36:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 19:36:03] Production.INFO: count ==21
[2025-01-12 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-12 19:36:03] Production.INFO: count ==21
[2025-01-12 19:36:03] Production.INFO: Account Balance End.
[2025-01-12 19:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233778') start
[2025-01-12 19:36:03] Production.ERROR: done
[2025-01-12 19:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233778') end
[2025-01-12 19:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:36:03] Production.INFO: 1
[2025-01-12 19:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:36:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:36:03] Production.INFO: ==13092== Releasing lock...
[2025-01-12 19:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:36:03] Production.INFO: ==13096== Releasing lock...
[2025-01-12 19:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:36:04] Production.ERROR: done
[2025-01-12 19:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:36:05
[end_date_ymd] => 2025-01-12 19:36:05
[RateCDR] => 1
)
[2025-01-12 19:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:36:05' and `end` < '2025-01-12 19:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:36:10] Production.ERROR: CronJobId end10
[2025-01-12 19:36:10] Production.INFO: ==13090== Releasing lock...
[2025-01-12 19:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:36:13] Production.INFO: call_cost start
[2025-01-12 19:36:13] Production.INFO: call_cost end
[2025-01-12 19:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:36:13] Production.INFO: ==13086== Releasing lock...
[2025-01-12 19:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:36:18] Production.INFO: count ==1476
[2025-01-12 19:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:36:05 - End Time 2025-01-12 19:36:05
[2025-01-12 19:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233779', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233779', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233779', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233779', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:36:18] Production.INFO: ProcessCDR(1,14233779,1,1,2)
[2025-01-12 19:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233779', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233779', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:36:21] Production.INFO: ==13094== Releasing lock...
[2025-01-12 19:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:36:21] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:37:01] Production.INFO: ==13152== Lock acquired, processing the job...
[2025-01-13 00:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:37:01] Production.INFO: neon service started
[2025-01-13 00:37:01] Production.INFO: neon service started
[2025-01-13 00:37:01] Production.INFO: ==13152== Releasing lock...
[2025-01-13 00:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:37:02] Production.INFO: ==13157== Lock acquired, processing the job...
[2025-01-13 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:37:02] Production.INFO: ==13157== Releasing lock...
[2025-01-13 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:37:02] Production.INFO: ==13155== Lock acquired, processing the job...
[2025-01-12 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:37:02] Production.INFO: ==13155== Releasing lock...
[2025-01-12 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:37:03] Production.INFO: ==13159== Lock acquired, processing the job...
[2025-01-12 19:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:37:03] Production.INFO: ==13167== Lock acquired, processing the job...
[2025-01-12 19:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:37:03] Production.INFO: ==13161== Lock acquired, processing the job...
[2025-01-12 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:37:03] Production.INFO: ==13163== Lock acquired, processing the job...
[2025-01-12 19:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:37:03] Production.INFO: ==13165== Lock acquired, processing the job...
[2025-01-12 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:37:03] Production.INFO: ==13169== Lock acquired, processing the job...
[2025-01-12 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:37:03] Production.INFO: Account Balance Start.
[2025-01-12 19:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:37:03] Production.INFO: 117
[2025-01-12 19:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:37:03] Production.INFO: count ==21
[2025-01-12 19:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:37:03] Production.INFO: count ==21
[2025-01-12 19:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233782') start
[2025-01-12 19:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:37:03] Production.ERROR: done
[2025-01-12 19:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:37:03] Production.INFO: ==13161== Releasing lock...
[2025-01-12 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233782') end
[2025-01-12 19:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:37:03] Production.INFO: 1
[2025-01-12 19:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:37:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:37:03] Production.ERROR: done
[2025-01-12 19:37:03] Production.INFO: ==13169== Releasing lock...
[2025-01-12 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:37:03] Production.INFO: Total Charge 0
[2025-01-12 19:37:04] Production.INFO: CreateAllLog End
[2025-01-12 19:37:04] Production.INFO: Account Balance End.
[2025-01-12 19:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:37:04] Production.INFO: ==13165== Releasing lock...
[2025-01-12 19:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:37:04
[end_date_ymd] => 2025-01-12 19:37:04
[RateCDR] => 1
)
[2025-01-12 19:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:37:04' and `end` < '2025-01-12 19:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:37:11] Production.ERROR: CronJobId end10
[2025-01-12 19:37:11] Production.INFO: ==13163== Releasing lock...
[2025-01-12 19:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:37:13] Production.INFO: call_cost start
[2025-01-12 19:37:13] Production.INFO: call_cost end
[2025-01-12 19:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:37:14] Production.INFO: ==13159== Releasing lock...
[2025-01-12 19:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:37:18] Production.INFO: count ==1474
[2025-01-12 19:37:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:37:04 - End Time 2025-01-12 19:37:04
[2025-01-12 19:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233784', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233784', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233784', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233784', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:37:18] Production.INFO: ProcessCDR(1,14233784,1,1,2)
[2025-01-12 19:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233784', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233784', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:37:21] Production.INFO: ==13167== Releasing lock...
[2025-01-12 19:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:37:21] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 00:38:02] Production.INFO: ==13226== Lock acquired, processing the job...
[2025-01-13 00:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:38:02] Production.INFO: neon service started
[2025-01-13 00:38:02] Production.INFO: neon service started
[2025-01-13 00:38:02] Production.INFO: ==13226== Releasing lock...
[2025-01-13 00:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:38:02] Production.INFO: ==13228== Lock acquired, processing the job...
[2025-01-12 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:38:02] Production.INFO: ==13228== Releasing lock...
[2025-01-12 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:38:02] Production.INFO: ==13230== Lock acquired, processing the job...
[2025-01-13 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:38:02] Production.INFO: ==13230== Releasing lock...
[2025-01-13 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:38:03] Production.INFO: ==13241== Lock acquired, processing the job...
[2025-01-12 19:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:38:03] Production.INFO: ==13243== Lock acquired, processing the job...
[2025-01-12 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:38:03] Production.INFO: ==13239== Lock acquired, processing the job...
[2025-01-12 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:38:03] Production.INFO: ==13233== Lock acquired, processing the job...
[2025-01-12 19:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:38:03] Production.INFO: ==13237== Lock acquired, processing the job...
[2025-01-12 19:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-12 19:38:03] Production.INFO: count ==21
[2025-01-12 19:38:03] Production.INFO: ==13235== Lock acquired, processing the job...
[2025-01-12 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:38:03] Production.INFO: count ==21
[2025-01-12 19:38:04] Production.ERROR: done
[2025-01-12 19:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233785') start
[2025-01-12 19:38:04] Production.INFO: Account Balance Start.
[2025-01-12 19:38:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:38:04] Production.INFO: 117
[2025-01-12 19:38:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:38:04] Production.ERROR: done
[2025-01-12 19:38:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:38:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233785') end
[2025-01-12 19:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:38:04] Production.INFO: 1
[2025-01-12 19:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:38:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:38:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:38:04] Production.INFO: Total Charge 0
[2025-01-12 19:38:04] Production.INFO: ==13243== Releasing lock...
[2025-01-12 19:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:38:04] Production.INFO: CreateAllLog End
[2025-01-12 19:38:04] Production.INFO: ==13235== Releasing lock...
[2025-01-12 19:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:38:04] Production.INFO: Account Balance End.
[2025-01-12 19:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:38:04] Production.INFO: ==13239== Releasing lock...
[2025-01-12 19:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:38:05
[end_date_ymd] => 2025-01-12 19:38:05
[RateCDR] => 1
)
[2025-01-12 19:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:38:05' and `end` < '2025-01-12 19:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:38:10] Production.ERROR: CronJobId end10
[2025-01-12 19:38:10] Production.INFO: ==13237== Releasing lock...
[2025-01-12 19:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:38:13] Production.INFO: call_cost start
[2025-01-12 19:38:13] Production.INFO: call_cost end
[2025-01-12 19:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:38:14] Production.INFO: ==13233== Releasing lock...
[2025-01-12 19:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:38:19] Production.INFO: count ==1481
[2025-01-12 19:38:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:38:05 - End Time 2025-01-12 19:38:05
[2025-01-12 19:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233789', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233789', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233789', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233789', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:38:19] Production.INFO: ProcessCDR(1,14233789,1,1,2)
[2025-01-12 19:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233789', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233789', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:38:24] Production.INFO: ==13241== Releasing lock...
[2025-01-12 19:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:38:24] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:39:01] Production.INFO: ==13295== Lock acquired, processing the job...
[2025-01-13 00:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:39:01] Production.INFO: neon service started
[2025-01-13 00:39:01] Production.INFO: neon service started
[2025-01-13 00:39:01] Production.INFO: ==13295== Releasing lock...
[2025-01-13 00:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:39:01] Production.INFO: ==13299== Lock acquired, processing the job...
[2025-01-13 00:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:39:01] Production.INFO: ==13299== Releasing lock...
[2025-01-13 00:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:39:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:39:02] Production.INFO: ==13297== Lock acquired, processing the job...
[2025-01-12 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:39:02] Production.INFO: ==13297== Releasing lock...
[2025-01-12 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:39:03] Production.INFO: ==13302== Lock acquired, processing the job...
[2025-01-12 19:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:39:03] Production.INFO: ==13304== Lock acquired, processing the job...
[2025-01-12 19:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:39:03] Production.INFO: ==13306== Lock acquired, processing the job...
[2025-01-12 19:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:39:03] Production.INFO: ==13308== Lock acquired, processing the job...
[2025-01-12 19:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:39:03] Production.INFO: ==13310== Lock acquired, processing the job...
[2025-01-12 19:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:39:03] Production.INFO: Account Balance Start.
[2025-01-12 19:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:39:03] Production.INFO: 117
[2025-01-12 19:39:03] Production.INFO: ==13304== Releasing lock...
[2025-01-12 19:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:39:03] Production.INFO: ==13312== Lock acquired, processing the job...
[2025-01-12 19:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:39:03] Production.INFO: count ==21
[2025-01-12 19:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:39:03] Production.INFO: count ==21
[2025-01-12 19:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233793') start
[2025-01-12 19:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233793') end
[2025-01-12 19:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:39:03] Production.INFO: 1
[2025-01-12 19:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:39:03] Production.INFO: ==13312== Releasing lock...
[2025-01-12 19:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:39:03] Production.INFO: Total Charge 0
[2025-01-12 19:39:03] Production.INFO: CreateAllLog End
[2025-01-12 19:39:03] Production.ERROR: done
[2025-01-12 19:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:39:04] Production.ERROR: done
[2025-01-12 19:39:04] Production.INFO: Account Balance End.
[2025-01-12 19:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:39:04] Production.INFO: ==13308== Releasing lock...
[2025-01-12 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:39:04
[end_date_ymd] => 2025-01-12 19:39:04
[RateCDR] => 1
)
[2025-01-12 19:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:39:04' and `end` < '2025-01-12 19:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:39:11] Production.ERROR: CronJobId end10
[2025-01-12 19:39:11] Production.INFO: ==13306== Releasing lock...
[2025-01-12 19:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:39:12] Production.INFO: call_cost start
[2025-01-12 19:39:12] Production.INFO: call_cost end
[2025-01-12 19:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:39:13] Production.INFO: ==13302== Releasing lock...
[2025-01-12 19:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:39:18] Production.INFO: count ==1480
[2025-01-12 19:39:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:39:04 - End Time 2025-01-12 19:39:04
[2025-01-12 19:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233794', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233794', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233794', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233794', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:39:18] Production.INFO: ProcessCDR(1,14233794,1,1,2)
[2025-01-12 19:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233794', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233794', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:39:23] Production.INFO: ==13310== Releasing lock...
[2025-01-12 19:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:39:23] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:40:02] Production.INFO: ==13366== Lock acquired, processing the job...
[2025-01-13 00:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:40:02] Production.INFO: neon service started
[2025-01-13 00:40:02] Production.INFO: neon service started
[2025-01-13 00:40:02] Production.INFO: ==13366== Releasing lock...
[2025-01-13 00:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:40:02] Production.INFO: ==13368== Lock acquired, processing the job...
[2025-01-12 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:40:02] Production.INFO: ==13370== Lock acquired, processing the job...
[2025-01-13 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:40:02] Production.INFO: ==13370== Releasing lock...
[2025-01-13 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:40:03] Production.INFO: ==13368== Releasing lock...
[2025-01-12 19:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:40:03] Production.INFO: ==13377== Lock acquired, processing the job...
[2025-01-12 19:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:40:03] Production.INFO: ==13373== Lock acquired, processing the job...
[2025-01-12 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 19:40:04] Production.INFO: ==13381== Lock acquired, processing the job...
[2025-01-12 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:40:04] Production.INFO: Account Balance Start.
[2025-01-12 19:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:40:04] Production.INFO: 117
[2025-01-12 19:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 19:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:40:04] Production.ERROR: CronJob PID - 13377
[2025-01-12 19:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 19:40:04] Production.ERROR: CronJob ID - 7
[2025-01-12 19:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 19:40:00
[2025-01-12 19:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:40:04] Production.ERROR: CronJob PID - 13381
[2025-01-12 19:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 19:40:04] Production.ERROR: CronJob ID - 12
[2025-01-12 19:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 19:40:00
[2025-01-12 19:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:40:04] Production.INFO: ==13375== Lock acquired, processing the job...
[2025-01-12 19:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 19:40:04] Production.INFO: ==13373== Releasing lock...
[2025-01-12 19:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 19:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 19:40:04] Production.INFO: ==13387== Lock acquired, processing the job...
[2025-01-12 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:40:04] Production.INFO: ==13377== Releasing lock...
[2025-01-12 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:40:04] Production.INFO: ==13379== Lock acquired, processing the job...
[2025-01-12 19:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-12 19:40:04] Production.INFO: ==13383== Lock acquired, processing the job...
[2025-01-12 19:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:40:04] Production.INFO: count ==21
[2025-01-12 19:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 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-12 19:40:04] Production.INFO: count ==21
[2025-01-12 19:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233797') start
[2025-01-12 19:40:04] Production.INFO: ==13385== Lock acquired, processing the job...
[2025-01-12 19:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 19:40:04] Production.INFO: Total Charge 0
[2025-01-12 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:40:04] Production.INFO: CreateAllLog End
[2025-01-12 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233797') end
[2025-01-12 19:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:40:04] Production.INFO: 1
[2025-01-12 19:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:40:04] Production.INFO: ==13387== Releasing lock...
[2025-01-12 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:40:04] Production.INFO: Account Balance End.
[2025-01-12 19:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:40:04] Production.INFO: ==13381== Releasing lock...
[2025-01-12 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:40:04] Production.ERROR: done
[2025-01-12 19:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:40:04] Production.ERROR: done
[2025-01-12 19:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 19:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233799', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 19:40:05] Production.ERROR: done
[2025-01-12 19:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:40:06
[end_date_ymd] => 2025-01-12 19:40:06
[RateCDR] => 1
)
[2025-01-12 19:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:40:06' and `end` < '2025-01-12 19:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233799', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 19:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 19:40:08] Production.INFO: ProcessCDR(1,14233799,1,1,2)
[2025-01-12 19:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14233799,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14233799,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:40:09] Production.INFO: ==13385== Releasing lock...
[2025-01-12 19:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 19:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 19:40:13] Production.ERROR: CronJobId end10
[2025-01-12 19:40:13] Production.INFO: ==13379== Releasing lock...
[2025-01-12 19:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:40:15] Production.INFO: call_cost start
[2025-01-12 19:40:15] Production.INFO: call_cost end
[2025-01-12 19:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:40:16] Production.INFO: ==13375== Releasing lock...
[2025-01-12 19:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:40:19] Production.INFO: count ==1489
[2025-01-12 19:40:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:40:06 - End Time 2025-01-12 19:40:06
[2025-01-12 19:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233800', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233800', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233800', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233800', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:40:19] Production.INFO: ProcessCDR(1,14233800,1,1,2)
[2025-01-12 19:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233800', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233800', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:40:24] Production.INFO: ==13383== Releasing lock...
[2025-01-12 19:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:40:24] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:41:01] Production.INFO: ==13445== Lock acquired, processing the job...
[2025-01-13 00:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:41:01] Production.INFO: neon service started
[2025-01-13 00:41:01] Production.INFO: neon service started
[2025-01-13 00:41:01] Production.INFO: ==13445== Releasing lock...
[2025-01-13 00:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:41:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 19:41:02] Production.INFO: ==13447== Lock acquired, processing the job...
[2025-01-12 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:41:02] Production.INFO: ==13449== Lock acquired, processing the job...
[2025-01-13 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:41:02] Production.INFO: ==13449== Releasing lock...
[2025-01-13 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:41:02] Production.INFO: 26 MB #Memory Used#
[2025-01-12 19:41:02] Production.INFO: ==13447== Releasing lock...
[2025-01-12 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:41:02] Production.INFO: ==13452== Lock acquired, processing the job...
[2025-01-12 19:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:41:03] Production.INFO: ==13456== Lock acquired, processing the job...
[2025-01-12 19:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:41:03] Production.INFO: ==13460== Lock acquired, processing the job...
[2025-01-12 19:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:41:03] Production.INFO: ==13454== Lock acquired, processing the job...
[2025-01-12 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:41:03] Production.INFO: ==13458== Lock acquired, processing the job...
[2025-01-12 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:41:03] Production.INFO: ==13462== Lock acquired, processing the job...
[2025-01-12 19:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:41:03] Production.INFO: Account Balance Start.
[2025-01-12 19:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:41:03] Production.INFO: 117
[2025-01-12 19:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:41:03] Production.ERROR: done
[2025-01-12 19:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:41:03] Production.INFO: count ==21
[2025-01-12 19:41:04] Production.INFO: ==13454== Releasing lock...
[2025-01-12 19:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:41:04] Production.INFO: count ==21
[2025-01-12 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233804') start
[2025-01-12 19:41:04] Production.INFO: Total Charge 0
[2025-01-12 19:41:04] Production.ERROR: done
[2025-01-12 19:41:04] Production.INFO: CreateAllLog End
[2025-01-12 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233804') end
[2025-01-12 19:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:41:04] Production.INFO: 1
[2025-01-12 19:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:41:04] Production.INFO: ==13462== Releasing lock...
[2025-01-12 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:41:04] Production.INFO: Account Balance End.
[2025-01-12 19:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:41:04] Production.INFO: ==13458== Releasing lock...
[2025-01-12 19:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:41:05
[end_date_ymd] => 2025-01-12 19:41:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:41:05' and `end` < '2025-01-12 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-12 19:41:11] Production.ERROR: CronJobId end10
[2025-01-12 19:41:11] Production.INFO: ==13456== Releasing lock...
[2025-01-12 19:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:41:13] Production.INFO: call_cost start
[2025-01-12 19:41:13] Production.INFO: call_cost end
[2025-01-12 19:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:41:14] Production.INFO: ==13452== Releasing lock...
[2025-01-12 19:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:41:18] Production.INFO: count ==1530
[2025-01-12 19:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:41:05 - End Time 2025-01-12 19:41:05
[2025-01-12 19:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233805', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233805', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233805', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233805', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:41:18] Production.INFO: ProcessCDR(1,14233805,1,1,2)
[2025-01-12 19:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233805', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233805', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:41:21] Production.INFO: ==13460== Releasing lock...
[2025-01-12 19:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:41:21] Production.INFO: 39.25 MB #Memory Used#
[2025-01-13 00:42:01] Production.INFO: ==13517== Lock acquired, processing the job...
[2025-01-13 00:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:42:01] Production.INFO: neon service started
[2025-01-13 00:42:01] Production.INFO: neon service started
[2025-01-13 00:42:01] Production.INFO: ==13517== Releasing lock...
[2025-01-13 00:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:42:02] Production.INFO: ==13519== Lock acquired, processing the job...
[2025-01-12 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:42:02] Production.INFO: ==13521== Lock acquired, processing the job...
[2025-01-13 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:42:02] Production.INFO: ==13521== Releasing lock...
[2025-01-13 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:42:02] Production.INFO: ==13519== Releasing lock...
[2025-01-12 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:42:03] Production.INFO: ==13524== Lock acquired, processing the job...
[2025-01-12 19:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:42:03] Production.INFO: ==13532== Lock acquired, processing the job...
[2025-01-12 19:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:42:03] Production.INFO: ==13526== Lock acquired, processing the job...
[2025-01-12 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:42:03] Production.INFO: ==13528== Lock acquired, processing the job...
[2025-01-12 19:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:42:03] Production.INFO: ==13530== Lock acquired, processing the job...
[2025-01-12 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:42:03] Production.INFO: ==13534== Lock acquired, processing the job...
[2025-01-12 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:42:03] Production.INFO: Account Balance Start.
[2025-01-12 19:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:42:03] Production.INFO: 117
[2025-01-12 19:42:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:42:04] Production.ERROR: done
[2025-01-12 19:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:42:04] Production.INFO: count ==21
[2025-01-12 19:42:04] Production.ERROR: done
[2025-01-12 19:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:42:04] Production.INFO: count ==21
[2025-01-12 19:42:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233808') start
[2025-01-12 19:42:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:42:04] Production.INFO: ==13526== Releasing lock...
[2025-01-12 19:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233808') end
[2025-01-12 19:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:42:04] Production.INFO: 1
[2025-01-12 19:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:42:04] Production.INFO: Total Charge 0
[2025-01-12 19:42:04] Production.INFO: ==13534== Releasing lock...
[2025-01-12 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:42:04] Production.INFO: CreateAllLog End
[2025-01-12 19:42:04] Production.INFO: Account Balance End.
[2025-01-12 19:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:42:04] Production.INFO: ==13530== Releasing lock...
[2025-01-12 19:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:42:05
[end_date_ymd] => 2025-01-12 19:42:05
[RateCDR] => 1
)
[2025-01-12 19:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:42:05' and `end` < '2025-01-12 19:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:42:10] Production.ERROR: CronJobId end10
[2025-01-12 19:42:10] Production.INFO: ==13528== Releasing lock...
[2025-01-12 19:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:42:13] Production.INFO: call_cost start
[2025-01-12 19:42:13] Production.INFO: call_cost end
[2025-01-12 19:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:42:13] Production.INFO: ==13524== Releasing lock...
[2025-01-12 19:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:42:18] Production.INFO: count ==1552
[2025-01-12 19:42:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:42:05 - End Time 2025-01-12 19:42:05
[2025-01-12 19:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233810', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233810', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233810', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233810', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:42:18] Production.INFO: ProcessCDR(1,14233810,1,1,2)
[2025-01-12 19:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233810', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233810', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:42:21] Production.INFO: ==13532== Releasing lock...
[2025-01-12 19:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:42:21] Production.INFO: 39.5 MB #Memory Used#
[2025-01-13 00:43:02] Production.INFO: ==13587== Lock acquired, processing the job...
[2025-01-13 00:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:43:02] Production.INFO: neon service started
[2025-01-13 00:43:02] Production.INFO: neon service started
[2025-01-13 00:43:02] Production.INFO: ==13587== Releasing lock...
[2025-01-13 00:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:43:02] Production.INFO: ==13589== Lock acquired, processing the job...
[2025-01-12 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:43:02] Production.INFO: ==13589== Releasing lock...
[2025-01-12 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:43:03] Production.INFO: ==13591== Lock acquired, processing the job...
[2025-01-13 00:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:43:03] Production.INFO: ==13591== Releasing lock...
[2025-01-13 00:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:43:03] Production.INFO: ==13594== Lock acquired, processing the job...
[2025-01-12 19:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:43:03] Production.INFO: ==13596== Lock acquired, processing the job...
[2025-01-12 19:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:43:03] Production.INFO: ==13602== Lock acquired, processing the job...
[2025-01-12 19:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:43:03] Production.INFO: ==13598== Lock acquired, processing the job...
[2025-01-12 19:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:43:03] Production.INFO: ==13600== Lock acquired, processing the job...
[2025-01-12 19:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:43:04] Production.INFO: ==13604== Lock acquired, processing the job...
[2025-01-12 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:43:04] Production.INFO: Account Balance Start.
[2025-01-12 19:43:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:43:04] Production.INFO: 117
[2025-01-12 19:43:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:43:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:43:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:43:04] Production.ERROR: done
[2025-01-12 19:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:43:04] Production.INFO: count ==21
[2025-01-12 19:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:43:04] Production.INFO: ==13596== Releasing lock...
[2025-01-12 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-12 19:43:04] Production.INFO: count ==21
[2025-01-12 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233813') start
[2025-01-12 19:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:43:04] Production.ERROR: done
[2025-01-12 19:43:04] Production.INFO: Total Charge 0
[2025-01-12 19:43:04] Production.INFO: CreateAllLog End
[2025-01-12 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233813') end
[2025-01-12 19:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:43:04] Production.INFO: 1
[2025-01-12 19:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:43:04] Production.INFO: ==13604== Releasing lock...
[2025-01-12 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:43:04] Production.INFO: Account Balance End.
[2025-01-12 19:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:43:04] Production.INFO: ==13600== Releasing lock...
[2025-01-12 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:43:05
[end_date_ymd] => 2025-01-12 19:43:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:43:05' and `end` < '2025-01-12 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-12 19:43:12] Production.ERROR: CronJobId end10
[2025-01-12 19:43:12] Production.INFO: ==13598== Releasing lock...
[2025-01-12 19:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:43:14] Production.INFO: call_cost start
[2025-01-12 19:43:14] Production.INFO: call_cost end
[2025-01-12 19:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:43:14] Production.INFO: ==13594== Releasing lock...
[2025-01-12 19:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:43:19] Production.INFO: count ==1553
[2025-01-12 19:43:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:43:05 - End Time 2025-01-12 19:43:05
[2025-01-12 19:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233815', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233815', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233815', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233815', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:43:20] Production.INFO: ProcessCDR(1,14233815,1,1,2)
[2025-01-12 19:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233815', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233815', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:43:23] Production.INFO: ==13602== Releasing lock...
[2025-01-12 19:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:43:23] Production.INFO: 39.5 MB #Memory Used#
[2025-01-13 00:44:01] Production.INFO: ==13698== Lock acquired, processing the job...
[2025-01-13 00:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:44:01] Production.INFO: neon service started
[2025-01-13 00:44:01] Production.INFO: neon service started
[2025-01-13 00:44:01] Production.INFO: ==13698== Releasing lock...
[2025-01-13 00:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:44:02] Production.INFO: ==13701== Lock acquired, processing the job...
[2025-01-12 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:44:02] Production.INFO: ==13703== Lock acquired, processing the job...
[2025-01-13 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:44:02] Production.INFO: ==13703== Releasing lock...
[2025-01-13 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:44:02] Production.INFO: ==13701== Releasing lock...
[2025-01-12 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:44:03] Production.INFO: ==13709== Lock acquired, processing the job...
[2025-01-12 19:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:44:03] Production.INFO: ==13711== Lock acquired, processing the job...
[2025-01-12 19:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:44:03] Production.INFO: ==13705== Lock acquired, processing the job...
[2025-01-12 19:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:44:03] Production.INFO: Account Balance Start.
[2025-01-12 19:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:44:04] Production.INFO: 117
[2025-01-12 19:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:44:04] Production.INFO: ==13713== Lock acquired, processing the job...
[2025-01-12 19:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:44:04] Production.INFO: ==13715== Lock acquired, processing the job...
[2025-01-12 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:44:04] Production.INFO: ==13707== Lock acquired, processing the job...
[2025-01-12 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:44:04] Production.INFO: count ==21
[2025-01-12 19:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 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-12 19:44:04] Production.INFO: count ==21
[2025-01-12 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233818') start
[2025-01-12 19:44:04] Production.INFO: Total Charge 0
[2025-01-12 19:44:04] Production.INFO: CreateAllLog End
[2025-01-12 19:44:04] Production.ERROR: done
[2025-01-12 19:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:44:04] Production.INFO: ==13707== Releasing lock...
[2025-01-12 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233818') end
[2025-01-12 19:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:44:04] Production.INFO: 1
[2025-01-12 19:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:44:04] Production.INFO: ==13715== Releasing lock...
[2025-01-12 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:44:04] Production.ERROR: done
[2025-01-12 19:44:04] Production.INFO: Account Balance End.
[2025-01-12 19:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:44:04] Production.INFO: ==13711== Releasing lock...
[2025-01-12 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:44:05
[end_date_ymd] => 2025-01-12 19:44:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:44:05' and `end` < '2025-01-12 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-12 19:44:11] Production.ERROR: CronJobId end10
[2025-01-12 19:44:11] Production.INFO: ==13709== Releasing lock...
[2025-01-12 19:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:44:13] Production.INFO: call_cost start
[2025-01-12 19:44:13] Production.INFO: call_cost end
[2025-01-12 19:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:44:14] Production.INFO: ==13705== Releasing lock...
[2025-01-12 19:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:44:18] Production.INFO: count ==1556
[2025-01-12 19:44:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:44:05 - End Time 2025-01-12 19:44:05
[2025-01-12 19:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233820', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233820', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233820', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233820', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:44:19] Production.INFO: ProcessCDR(1,14233820,1,1,2)
[2025-01-12 19:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233820', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233820', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:44:22] Production.INFO: ==13713== Releasing lock...
[2025-01-12 19:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:44:22] Production.INFO: 39.5 MB #Memory Used#
[2025-01-13 00:45:01] Production.INFO: ==13767== Lock acquired, processing the job...
[2025-01-13 00:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:45:01] Production.INFO: neon service started
[2025-01-13 00:45:01] Production.INFO: neon service started
[2025-01-13 00:45:01] Production.INFO: ==13767== Releasing lock...
[2025-01-13 00:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:45:01] Production.INFO: ==13769== Lock acquired, processing the job...
[2025-01-12 19:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:45:02] Production.INFO: ==13771== Lock acquired, processing the job...
[2025-01-13 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:45:02] Production.INFO: ==13769== Releasing lock...
[2025-01-12 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:45:02] Production.INFO: ==13771== Releasing lock...
[2025-01-13 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:45:02] Production.INFO: ==13774== Lock acquired, processing the job...
[2025-01-12 19:45:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:45:03] Production.INFO: ==13776== Lock acquired, processing the job...
[2025-01-12 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:45:03] Production.INFO: ==13784== Lock acquired, processing the job...
[2025-01-12 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:45:03] Production.INFO: ==13778== Lock acquired, processing the job...
[2025-01-12 19:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:45:03] Production.INFO: ==13776== Releasing lock...
[2025-01-12 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-12 19:45:03] Production.INFO: count ==21
[2025-01-12 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-12 19:45:03] Production.INFO: count ==21
[2025-01-12 19:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233823') start
[2025-01-12 19:45:03] Production.INFO: ==13782== Lock acquired, processing the job...
[2025-01-12 19:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:45:03] Production.INFO: ==13780== Lock acquired, processing the job...
[2025-01-12 19:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233823') end
[2025-01-12 19:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:45:03] Production.INFO: 1
[2025-01-12 19:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:45:03] Production.INFO: ==13784== Releasing lock...
[2025-01-12 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:45:03] Production.INFO: Account Balance Start.
[2025-01-12 19:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:45:03] Production.INFO: 117
[2025-01-12 19:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:45:03] Production.ERROR: done
[2025-01-12 19:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:45:03] Production.INFO: Total Charge 0
[2025-01-12 19:45:03] Production.INFO: CreateAllLog End
[2025-01-12 19:45:04] Production.ERROR: done
[2025-01-12 19:45:04] Production.INFO: Account Balance End.
[2025-01-12 19:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:45:04] Production.INFO: ==13780== Releasing lock...
[2025-01-12 19:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:45:05
[end_date_ymd] => 2025-01-12 19:45:05
[RateCDR] => 1
)
[2025-01-12 19:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:45:05' and `end` < '2025-01-12 19:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:45:11] Production.ERROR: CronJobId end10
[2025-01-12 19:45:11] Production.INFO: ==13778== Releasing lock...
[2025-01-12 19:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:45:12] Production.INFO: call_cost start
[2025-01-12 19:45:12] Production.INFO: call_cost end
[2025-01-12 19:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:45:13] Production.INFO: ==13774== Releasing lock...
[2025-01-12 19:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:45:18] Production.INFO: count ==1539
[2025-01-12 19:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:45:05 - End Time 2025-01-12 19:45:05
[2025-01-12 19:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233825', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233825', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233825', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233825', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:45:18] Production.INFO: ProcessCDR(1,14233825,1,1,2)
[2025-01-12 19:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233825', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233825', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:45:23] Production.INFO: ==13782== Releasing lock...
[2025-01-12 19:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:45:23] Production.INFO: 39.25 MB #Memory Used#
[2025-01-13 00:46:02] Production.INFO: ==13838== Lock acquired, processing the job...
[2025-01-13 00:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:46:02] Production.INFO: neon service started
[2025-01-13 00:46:02] Production.INFO: neon service started
[2025-01-13 00:46:02] Production.INFO: ==13838== Releasing lock...
[2025-01-13 00:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:46:02] Production.INFO: ==13840== Lock acquired, processing the job...
[2025-01-12 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:46:02] Production.INFO: ==13840== Releasing lock...
[2025-01-12 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:46:02] Production.INFO: ==13842== Lock acquired, processing the job...
[2025-01-13 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:46:02] Production.INFO: ==13842== Releasing lock...
[2025-01-13 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:46:03] Production.INFO: ==13851== Lock acquired, processing the job...
[2025-01-12 19:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:46:03] Production.INFO: ==13853== Lock acquired, processing the job...
[2025-01-12 19:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:46:03] Production.INFO: Account Balance Start.
[2025-01-12 19:46:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:46:03] Production.INFO: 117
[2025-01-12 19:46:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:46:03] Production.INFO: ==13847== Lock acquired, processing the job...
[2025-01-12 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:46:03] Production.INFO: ==13845== Lock acquired, processing the job...
[2025-01-12 19:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:46:03] Production.INFO: ==13849== Lock acquired, processing the job...
[2025-01-12 19:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:46:04] Production.INFO: ==13855== Lock acquired, processing the job...
[2025-01-12 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:46:04] Production.ERROR: done
[2025-01-12 19:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:46:04] Production.INFO: Total Charge 0
[2025-01-12 19:46:04] Production.INFO: CreateAllLog End
[2025-01-12 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-12 19:46:04] Production.INFO: count ==21
[2025-01-12 19:46:04] Production.ERROR: done
[2025-01-12 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-12 19:46:04] Production.INFO: count ==21
[2025-01-12 19:46:04] Production.INFO: ==13847== Releasing lock...
[2025-01-12 19:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233829') start
[2025-01-12 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233829') end
[2025-01-12 19:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:46:04] Production.INFO: 1
[2025-01-12 19:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:46:04] Production.INFO: Account Balance End.
[2025-01-12 19:46:04] Production.INFO: ==13855== Releasing lock...
[2025-01-12 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:46:04] Production.INFO: ==13851== Releasing lock...
[2025-01-12 19:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:46:05
[end_date_ymd] => 2025-01-12 19:46:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:46:05' and `end` < '2025-01-12 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-12 19:46:11] Production.ERROR: CronJobId end10
[2025-01-12 19:46:11] Production.INFO: ==13849== Releasing lock...
[2025-01-12 19:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:46:13] Production.INFO: call_cost start
[2025-01-12 19:46:13] Production.INFO: call_cost end
[2025-01-12 19:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:46:14] Production.INFO: ==13845== Releasing lock...
[2025-01-12 19:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:46:19] Production.INFO: count ==1528
[2025-01-12 19:46:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:46:05 - End Time 2025-01-12 19:46:05
[2025-01-12 19:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233830', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233830', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233830', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233830', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:46:20] Production.INFO: ProcessCDR(1,14233830,1,1,2)
[2025-01-12 19:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233830', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233830', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:46:23] Production.INFO: ==13853== Releasing lock...
[2025-01-12 19:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:46:23] Production.INFO: 39.25 MB #Memory Used#
[2025-01-13 00:47:01] Production.INFO: ==13909== Lock acquired, processing the job...
[2025-01-13 00:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:47:01] Production.INFO: neon service started
[2025-01-13 00:47:01] Production.INFO: neon service started
[2025-01-13 00:47:01] Production.INFO: ==13909== Releasing lock...
[2025-01-13 00:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:47:01] Production.INFO: ==13912== Lock acquired, processing the job...
[2025-01-12 19:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:47:02] Production.INFO: ==13914== Lock acquired, processing the job...
[2025-01-13 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:47:02] Production.INFO: ==13912== Releasing lock...
[2025-01-12 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:47:02] Production.INFO: ==13914== Releasing lock...
[2025-01-13 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:47:02] Production.INFO: ==13916== Lock acquired, processing the job...
[2025-01-12 19:47:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:47:03] Production.INFO: ==13918== Lock acquired, processing the job...
[2025-01-12 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:47:03] Production.INFO: ==13920== Lock acquired, processing the job...
[2025-01-12 19:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:47:03] Production.INFO: ==13922== Lock acquired, processing the job...
[2025-01-12 19:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:47:03] Production.INFO: ==13924== Lock acquired, processing the job...
[2025-01-12 19:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:47:03] Production.INFO: Account Balance Start.
[2025-01-12 19:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:47:03] Production.INFO: 117
[2025-01-12 19:47:03] Production.INFO: ==13926== Lock acquired, processing the job...
[2025-01-12 19:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:47:03] Production.INFO: ==13918== Releasing lock...
[2025-01-12 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:47:03] Production.INFO: Total Charge 0
[2025-01-12 19:47:03] Production.ERROR: done
[2025-01-12 19:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:47:03] Production.INFO: count ==21
[2025-01-12 19:47:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 19:47:03] Production.INFO: count ==21
[2025-01-12 19:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233834') start
[2025-01-12 19:47:03] Production.ERROR: done
[2025-01-12 19:47:04] Production.INFO: Account Balance End.
[2025-01-12 19:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:47:04] Production.INFO: ==13922== Releasing lock...
[2025-01-12 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233834') end
[2025-01-12 19:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:47:04] Production.INFO: 1
[2025-01-12 19:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:47:04] Production.INFO: ==13926== Releasing lock...
[2025-01-12 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:47:05
[end_date_ymd] => 2025-01-12 19:47:05
[RateCDR] => 1
)
[2025-01-12 19:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:47:05' and `end` < '2025-01-12 19:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:47:10] Production.ERROR: CronJobId end10
[2025-01-12 19:47:10] Production.INFO: ==13920== Releasing lock...
[2025-01-12 19:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:47:12] Production.INFO: call_cost start
[2025-01-12 19:47:12] Production.INFO: call_cost end
[2025-01-12 19:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:47:13] Production.INFO: ==13916== Releasing lock...
[2025-01-12 19:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:47:18] Production.INFO: count ==1518
[2025-01-12 19:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:47:05 - End Time 2025-01-12 19:47:05
[2025-01-12 19:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233835', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233835', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233835', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233835', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:47:18] Production.INFO: ProcessCDR(1,14233835,1,1,2)
[2025-01-12 19:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233835', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233835', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:47:21] Production.INFO: ==13924== Releasing lock...
[2025-01-12 19:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:47:21] Production.INFO: 39 MB #Memory Used#
[2025-01-13 00:48:02] Production.INFO: ==13980== Lock acquired, processing the job...
[2025-01-13 00:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:48:02] Production.INFO: neon service started
[2025-01-13 00:48:02] Production.INFO: neon service started
[2025-01-13 00:48:02] Production.INFO: ==13980== Releasing lock...
[2025-01-13 00:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:48:02] Production.INFO: ==13984== Lock acquired, processing the job...
[2025-01-13 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:48:02] Production.INFO: ==13984== Releasing lock...
[2025-01-13 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:48:02] Production.INFO: ==13982== Lock acquired, processing the job...
[2025-01-12 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:48:03] Production.INFO: ==13982== Releasing lock...
[2025-01-12 19:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:48:03] Production.INFO: ==13991== Lock acquired, processing the job...
[2025-01-12 19:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:48:03] Production.INFO: ==13997== Lock acquired, processing the job...
[2025-01-12 19:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:48:03] Production.INFO: ==13987== Lock acquired, processing the job...
[2025-01-12 19:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 19:48:04] Production.INFO: ==13989== Lock acquired, processing the job...
[2025-01-12 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:48:04] Production.INFO: count ==21
[2025-01-12 19:48:04] Production.INFO: ==13993== Lock acquired, processing the job...
[2025-01-12 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 19:48:04] Production.INFO: count ==21
[2025-01-12 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233836') start
[2025-01-12 19:48:04] Production.INFO: ==13995== Lock acquired, processing the job...
[2025-01-12 19:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:48:04] Production.INFO: Account Balance Start.
[2025-01-12 19:48:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:48:04] Production.INFO: 117
[2025-01-12 19:48:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233836') end
[2025-01-12 19:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:48:04] Production.INFO: 1
[2025-01-12 19:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:48:04] Production.INFO: ==13997== Releasing lock...
[2025-01-12 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:48:04] Production.INFO: Total Charge 0
[2025-01-12 19:48:04] Production.INFO: CreateAllLog End
[2025-01-12 19:48:04] Production.INFO: ==13989== Releasing lock...
[2025-01-12 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:48:04] Production.ERROR: done
[2025-01-12 19:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:48:04] Production.INFO: Account Balance End.
[2025-01-12 19:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:48:04] Production.INFO: ==13993== Releasing lock...
[2025-01-12 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:48:04] Production.ERROR: done
[2025-01-12 19:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:48:05
[end_date_ymd] => 2025-01-12 19:48:05
[RateCDR] => 1
)
[2025-01-12 19:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:48:05' and `end` < '2025-01-12 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-12 19:48:11] Production.ERROR: CronJobId end10
[2025-01-12 19:48:11] Production.INFO: ==13991== Releasing lock...
[2025-01-12 19:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:48:13] Production.INFO: call_cost start
[2025-01-12 19:48:13] Production.INFO: call_cost end
[2025-01-12 19:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:48:14] Production.INFO: ==13987== Releasing lock...
[2025-01-12 19:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:48:20] Production.INFO: count ==1503
[2025-01-12 19:48:20] Production.ERROR: pbx CDR StartTime 2025-01-12 16:48:05 - End Time 2025-01-12 19:48:05
[2025-01-12 19:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233840', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233840', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233840', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233840', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:48:20] Production.INFO: ProcessCDR(1,14233840,1,1,2)
[2025-01-12 19:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233840', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233840', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:48:23] Production.INFO: ==13995== Releasing lock...
[2025-01-12 19:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:48:23] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:49:01] Production.INFO: ==14058== Lock acquired, processing the job...
[2025-01-13 00:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:49:01] Production.INFO: neon service started
[2025-01-13 00:49:01] Production.INFO: neon service started
[2025-01-13 00:49:01] Production.INFO: ==14058== Releasing lock...
[2025-01-13 00:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:49:02] Production.INFO: ==14060== Lock acquired, processing the job...
[2025-01-12 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:49:02] Production.INFO: ==14060== Releasing lock...
[2025-01-12 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:49:02] Production.INFO: ==14062== Lock acquired, processing the job...
[2025-01-13 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:49:02] Production.INFO: ==14062== Releasing lock...
[2025-01-13 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:49:03] Production.INFO: ==14067== Lock acquired, processing the job...
[2025-01-12 19:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:49:03] Production.INFO: ==14073== Lock acquired, processing the job...
[2025-01-12 19:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:49:03] Production.INFO: ==14075== Lock acquired, processing the job...
[2025-01-12 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:49:03] Production.INFO: ==14065== Lock acquired, processing the job...
[2025-01-12 19:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 19:49:03] Production.INFO: ==14069== Lock acquired, processing the job...
[2025-01-12 19:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:49:03] Production.INFO: ==14071== Lock acquired, processing the job...
[2025-01-12 19:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:49:03] Production.INFO: count ==21
[2025-01-12 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-12 19:49:03] Production.INFO: count ==21
[2025-01-12 19:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233842') start
[2025-01-12 19:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:49:03] Production.ERROR: done
[2025-01-12 19:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:49:03] Production.INFO: Account Balance Start.
[2025-01-12 19:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:49:03] Production.INFO: 117
[2025-01-12 19:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233842') end
[2025-01-12 19:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:49:03] Production.INFO: 1
[2025-01-12 19:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:49:03] Production.INFO: ==14067== Releasing lock...
[2025-01-12 19:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:49:03] Production.INFO: ==14075== Releasing lock...
[2025-01-12 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:49:03] Production.ERROR: done
[2025-01-12 19:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:49:03] Production.INFO: Total Charge 0
[2025-01-12 19:49:03] Production.INFO: CreateAllLog End
[2025-01-12 19:49:04] Production.INFO: Account Balance End.
[2025-01-12 19:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:49:04] Production.INFO: ==14071== Releasing lock...
[2025-01-12 19:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:49:04
[end_date_ymd] => 2025-01-12 19:49:04
[RateCDR] => 1
)
[2025-01-12 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-12 16:49:04' and `end` < '2025-01-12 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-12 19:49:10] Production.ERROR: CronJobId end10
[2025-01-12 19:49:10] Production.INFO: ==14069== Releasing lock...
[2025-01-12 19:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:49:13] Production.INFO: call_cost start
[2025-01-12 19:49:13] Production.INFO: call_cost end
[2025-01-12 19:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:49:13] Production.INFO: ==14065== Releasing lock...
[2025-01-12 19:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:49:17] Production.INFO: count ==1503
[2025-01-12 19:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:49:04 - End Time 2025-01-12 19:49:04
[2025-01-12 19:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233845', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233845', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233845', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233845', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:49:18] Production.INFO: ProcessCDR(1,14233845,1,1,2)
[2025-01-12 19:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233845', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233845', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:49:21] Production.INFO: ==14073== Releasing lock...
[2025-01-12 19:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:49:21] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:50:02] Production.INFO: ==14130== Lock acquired, processing the job...
[2025-01-13 00:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:50:02] Production.INFO: neon service started
[2025-01-13 00:50:02] Production.INFO: neon service started
[2025-01-13 00:50:02] Production.INFO: ==14130== Releasing lock...
[2025-01-13 00:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:50:02] Production.INFO: ==14133== Lock acquired, processing the job...
[2025-01-12 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:50:02] Production.INFO: ==14135== Lock acquired, processing the job...
[2025-01-13 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:50:02] Production.INFO: ==14135== Releasing lock...
[2025-01-13 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:50:03] Production.INFO: ==14133== Releasing lock...
[2025-01-12 19:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:50:04] Production.INFO: ==14141== Lock acquired, processing the job...
[2025-01-12 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:50:04] Production.INFO: ==14139== Lock acquired, processing the job...
[2025-01-12 19:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:50:04] Production.INFO: ==14147== Lock acquired, processing the job...
[2025-01-12 19:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:50:04] Production.INFO: ==14145== Lock acquired, processing the job...
[2025-01-12 19:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:50:04] Production.INFO: ==14137== Lock acquired, processing the job...
[2025-01-12 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 19:50:04] Production.INFO: ==14143== Lock acquired, processing the job...
[2025-01-12 19:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:50:04] Production.ERROR: CronJob PID - 14139
[2025-01-12 19:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 19:50:04] Production.ERROR: CronJob ID - 5
[2025-01-12 19:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 19:50:00
[2025-01-12 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:50:04] Production.ERROR: CronJob PID - 14141
[2025-01-12 19:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 19:50:04] Production.ERROR: CronJob ID - 7
[2025-01-12 19:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 19:50:00
[2025-01-12 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:50:04] Production.ERROR: CronJob PID - 14145
[2025-01-12 19:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 19:50:04] Production.ERROR: CronJob ID - 12
[2025-01-12 19:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 19:50:00
[2025-01-12 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 19:50:04] Production.ERROR: CronJob PID - 14147
[2025-01-12 19:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 19:50:04] Production.ERROR: CronJob ID - 16
[2025-01-12 19:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 19:50:00
[2025-01-12 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 19:50:04] Production.INFO: ==14149== Lock acquired, processing the job...
[2025-01-12 19:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 19:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 19:50:04] Production.INFO: ==14137== Releasing lock...
[2025-01-12 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 19:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 19:50:04] Production.INFO: Account Balance Start.
[2025-01-12 19:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:50:04] Production.INFO: 117
[2025-01-12 19:50:04] Production.INFO: ==14141== Releasing lock...
[2025-01-12 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:50:04] Production.INFO: ==14151== Lock acquired, processing the job...
[2025-01-12 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:50:04] Production.ERROR: done
[2025-01-12 19:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 19:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:50:04] Production.INFO: count ==21
[2025-01-12 19:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:50:04] Production.ERROR: done
[2025-01-12 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-12 19:50:04] Production.INFO: count ==21
[2025-01-12 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233849') start
[2025-01-12 19:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:50:04] Production.ERROR: done
[2025-01-12 19:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 19:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233850', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 19:50:05] Production.INFO: Reseller ==> 0
[2025-01-12 19:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14233849') end
[2025-01-12 19:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:50:05] Production.INFO: 1
[2025-01-12 19:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:50:05] Production.INFO: Total Charge 0
[2025-01-12 19:50:05] Production.INFO: CreateAllLog End
[2025-01-12 19:50:05] Production.INFO: ==14151== Releasing lock...
[2025-01-12 19:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:50:05] Production.INFO: Account Balance End.
[2025-01-12 19:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 19:50:05] Production.INFO: ==14145== Releasing lock...
[2025-01-12 19:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:50:06
[end_date_ymd] => 2025-01-12 19:50:06
[RateCDR] => 1
)
[2025-01-12 19:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:50:06' and `end` < '2025-01-12 19:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233850', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 19:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 19:50:09] Production.INFO: ProcessCDR(1,14233850,1,1,2)
[2025-01-12 19:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14233850,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14233850,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:50:09] Production.INFO: ==14149== Releasing lock...
[2025-01-12 19:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 19:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 19:50:14] Production.ERROR: CronJobId end10
[2025-01-12 19:50:14] Production.INFO: ==14143== Releasing lock...
[2025-01-12 19:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:50:15] Production.INFO: call_cost start
[2025-01-12 19:50:15] Production.INFO: call_cost end
[2025-01-12 19:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:50:16] Production.INFO: ==14139== Releasing lock...
[2025-01-12 19:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:50:19] Production.INFO: count ==1505
[2025-01-12 19:50:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:50:06 - End Time 2025-01-12 19:50:06
[2025-01-12 19:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233851', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233851', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233851', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233851', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:50:19] Production.INFO: ProcessCDR(1,14233851,1,1,2)
[2025-01-12 19:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233851', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233851', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:50:22] Production.INFO: ==14147== Releasing lock...
[2025-01-12 19:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:50:22] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:51:01] Production.INFO: ==14204== Lock acquired, processing the job...
[2025-01-13 00:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:51:01] Production.INFO: neon service started
[2025-01-13 00:51:01] Production.INFO: neon service started
[2025-01-13 00:51:01] Production.INFO: ==14204== Releasing lock...
[2025-01-13 00:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:51:01] Production.INFO: ==14208== Lock acquired, processing the job...
[2025-01-13 00:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:51:01] Production.INFO: ==14208== Releasing lock...
[2025-01-13 00:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:51:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:51:02] Production.INFO: ==14206== Lock acquired, processing the job...
[2025-01-12 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:51:02] Production.INFO: ==14206== Releasing lock...
[2025-01-12 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:51:03] Production.INFO: ==14214== Lock acquired, processing the job...
[2025-01-12 19:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:51:03] Production.INFO: ==14216== Lock acquired, processing the job...
[2025-01-12 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:51:03] Production.INFO: ==14212== Lock acquired, processing the job...
[2025-01-12 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:51:03] Production.INFO: Account Balance Start.
[2025-01-12 19:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:51:03] Production.INFO: 117
[2025-01-12 19:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:51:03] Production.INFO: ==14210== Lock acquired, processing the job...
[2025-01-12 19:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:51:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:51:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:51:03] Production.INFO: ==14212== Releasing lock...
[2025-01-12 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:51:03] Production.INFO: Total Charge 0
[2025-01-12 19:51:03] Production.INFO: ==14218== Lock acquired, processing the job...
[2025-01-12 19:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:51:03] Production.INFO: CreateAllLog End
[2025-01-12 19:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:51:03] Production.INFO: ==14221== Lock acquired, processing the job...
[2025-01-12 19:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:51:03] Production.INFO: Account Balance End.
[2025-01-12 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-12 19:51:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:51:03] Production.INFO: ==14216== Releasing lock...
[2025-01-12 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:51:03] Production.INFO: count ==21
[2025-01-12 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-12 19:51:03] Production.INFO: count ==21
[2025-01-12 19:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233855') start
[2025-01-12 19:51:03] Production.ERROR: done
[2025-01-12 19:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233855') end
[2025-01-12 19:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:51:03] Production.INFO: 1
[2025-01-12 19:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:51:03] Production.INFO: ==14221== Releasing lock...
[2025-01-12 19:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:51:04] Production.ERROR: done
[2025-01-12 19:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:51:04
[end_date_ymd] => 2025-01-12 19:51:04
[RateCDR] => 1
)
[2025-01-12 19:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:51:04' and `end` < '2025-01-12 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-12 19:51:10] Production.ERROR: CronJobId end10
[2025-01-12 19:51:10] Production.INFO: ==14214== Releasing lock...
[2025-01-12 19:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:51:12] Production.INFO: call_cost start
[2025-01-12 19:51:12] Production.INFO: call_cost end
[2025-01-12 19:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:51:13] Production.INFO: ==14210== Releasing lock...
[2025-01-12 19:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:51:18] Production.INFO: count ==1512
[2025-01-12 19:51:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:51:04 - End Time 2025-01-12 19:51:04
[2025-01-12 19:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233856', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233856', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233856', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233856', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:51:19] Production.INFO: ProcessCDR(1,14233856,1,1,2)
[2025-01-12 19:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233856', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233856', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:51:23] Production.INFO: ==14218== Releasing lock...
[2025-01-12 19:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:51:23] Production.INFO: 39 MB #Memory Used#
[2025-01-13 00:52:01] Production.INFO: ==14275== Lock acquired, processing the job...
[2025-01-13 00:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:52:01] Production.INFO: neon service started
[2025-01-13 00:52:02] Production.INFO: neon service started
[2025-01-13 00:52:02] Production.INFO: ==14275== Releasing lock...
[2025-01-13 00:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:52:02] Production.INFO: ==14277== Lock acquired, processing the job...
[2025-01-12 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:52:02] Production.INFO: ==14279== Lock acquired, processing the job...
[2025-01-13 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:52:02] Production.INFO: ==14279== Releasing lock...
[2025-01-13 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:52:02] Production.INFO: ==14277== Releasing lock...
[2025-01-12 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:52:03] Production.INFO: ==14284== Lock acquired, processing the job...
[2025-01-12 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:52:03] Production.INFO: ==14292== Lock acquired, processing the job...
[2025-01-12 19:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:52:03] Production.INFO: ==14282== Lock acquired, processing the job...
[2025-01-12 19:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 19:52:04] Production.INFO: ==14286== Lock acquired, processing the job...
[2025-01-12 19:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:52:04] Production.INFO: ==14284== Releasing lock...
[2025-01-12 19:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:52:04] Production.INFO: ==14288== Lock acquired, processing the job...
[2025-01-12 19:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:52:04] Production.INFO: count ==21
[2025-01-12 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-12 19:52:04] Production.INFO: count ==21
[2025-01-12 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233858') start
[2025-01-12 19:52:04] Production.INFO: ==14290== Lock acquired, processing the job...
[2025-01-12 19:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:52:04] Production.INFO: Account Balance Start.
[2025-01-12 19:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:52:04] Production.INFO: 117
[2025-01-12 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233858') end
[2025-01-12 19:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:52:04] Production.INFO: 1
[2025-01-12 19:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:52:04] Production.INFO: ==14292== Releasing lock...
[2025-01-12 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:52:04] Production.INFO: Total Charge 0
[2025-01-12 19:52:04] Production.INFO: CreateAllLog End
[2025-01-12 19:52:04] Production.ERROR: done
[2025-01-12 19:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:52:04] Production.INFO: Account Balance End.
[2025-01-12 19:52:04] Production.ERROR: done
[2025-01-12 19:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:52:04] Production.INFO: ==14288== Releasing lock...
[2025-01-12 19:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:52:05
[end_date_ymd] => 2025-01-12 19:52:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:52:05' and `end` < '2025-01-12 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-12 19:52:11] Production.ERROR: CronJobId end10
[2025-01-12 19:52:11] Production.INFO: ==14286== Releasing lock...
[2025-01-12 19:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:52:13] Production.INFO: call_cost start
[2025-01-12 19:52:13] Production.INFO: call_cost end
[2025-01-12 19:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:52:14] Production.INFO: ==14282== Releasing lock...
[2025-01-12 19:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:52:19] Production.INFO: count ==1511
[2025-01-12 19:52:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:52:05 - End Time 2025-01-12 19:52:05
[2025-01-12 19:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233861', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233861', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233861', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233861', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:52:19] Production.INFO: ProcessCDR(1,14233861,1,1,2)
[2025-01-12 19:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233861', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233861', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:52:22] Production.INFO: ==14290== Releasing lock...
[2025-01-12 19:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:52:22] Production.INFO: 39 MB #Memory Used#
[2025-01-13 00:53:01] Production.INFO: ==14344== Lock acquired, processing the job...
[2025-01-13 00:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:53:01] Production.INFO: neon service started
[2025-01-13 00:53:01] Production.INFO: neon service started
[2025-01-13 00:53:01] Production.INFO: ==14344== Releasing lock...
[2025-01-13 00:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:53:01] Production.INFO: ==14346== Lock acquired, processing the job...
[2025-01-12 19:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:53:02] Production.INFO: ==14346== Releasing lock...
[2025-01-12 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:53:02] Production.INFO: ==14348== Lock acquired, processing the job...
[2025-01-13 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:53:02] Production.INFO: ==14348== Releasing lock...
[2025-01-13 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:53:02] Production.INFO: ==14350== Lock acquired, processing the job...
[2025-01-12 19:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:53:02] Production.INFO: ==14352== Lock acquired, processing the job...
[2025-01-12 19:53:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:53:02] Production.INFO: ==14354== Lock acquired, processing the job...
[2025-01-12 19:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:53:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:53:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:53:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:53:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:53:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:53:02] Production.INFO: ==14356== Lock acquired, processing the job...
[2025-01-12 19:53:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:53:03] Production.INFO: ==14358== Lock acquired, processing the job...
[2025-01-12 19:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:53:03] Production.INFO: Account Balance Start.
[2025-01-12 19:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:53:03] Production.INFO: 117
[2025-01-12 19:53:03] Production.INFO: ==14352== Releasing lock...
[2025-01-12 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:53:03] Production.INFO: ==14360== Lock acquired, processing the job...
[2025-01-12 19:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:53:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:53:03] Production.INFO: count ==21
[2025-01-12 19:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:53:03] Production.INFO: count ==21
[2025-01-12 19:53:03] Production.INFO: Total Charge 0
[2025-01-12 19:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233865') start
[2025-01-12 19:53:03] Production.ERROR: done
[2025-01-12 19:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:53:03] Production.INFO: CreateAllLog End
[2025-01-12 19:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233865') end
[2025-01-12 19:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:53:03] Production.INFO: 1
[2025-01-12 19:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:53:03] Production.ERROR: done
[2025-01-12 19:53:03] Production.INFO: ==14360== Releasing lock...
[2025-01-12 19:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:53:03] Production.INFO: Account Balance End.
[2025-01-12 19:53:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:53:03] Production.INFO: ==14356== Releasing lock...
[2025-01-12 19:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:53:04
[end_date_ymd] => 2025-01-12 19:53:04
[RateCDR] => 1
)
[2025-01-12 19:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:53:04' and `end` < '2025-01-12 19:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:53:10] Production.ERROR: CronJobId end10
[2025-01-12 19:53:10] Production.INFO: ==14354== Releasing lock...
[2025-01-12 19:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:53:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:53:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:53:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:53:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:53:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:53:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:53:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:53:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:53:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:53:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:53:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:53:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:53:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:53:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:53:11] Production.INFO: call_cost start
[2025-01-12 19:53:11] Production.INFO: call_cost end
[2025-01-12 19:53:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:53:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:53:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:53:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:53:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:53:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:53:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:53:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:53:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:53:12] Production.INFO: ==14350== Releasing lock...
[2025-01-12 19:53:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:53:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:53:17] Production.INFO: count ==1511
[2025-01-12 19:53:17] Production.ERROR: pbx CDR StartTime 2025-01-12 16:53:04 - End Time 2025-01-12 19:53:04
[2025-01-12 19:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233866', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233866', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233866', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233866', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:53:17] Production.INFO: ProcessCDR(1,14233866,1,1,2)
[2025-01-12 19:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233866', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233866', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:53:21] Production.INFO: ==14358== Releasing lock...
[2025-01-12 19:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:53:21] Production.INFO: 39 MB #Memory Used#
[2025-01-13 00:54:01] Production.INFO: ==14416== Lock acquired, processing the job...
[2025-01-13 00:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:54:01] Production.INFO: neon service started
[2025-01-13 00:54:01] Production.INFO: neon service started
[2025-01-13 00:54:01] Production.INFO: ==14416== Releasing lock...
[2025-01-13 00:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:54:02] Production.INFO: ==14418== Lock acquired, processing the job...
[2025-01-12 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:54:02] Production.INFO: ==14418== Releasing lock...
[2025-01-12 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:54:02] Production.INFO: ==14420== Lock acquired, processing the job...
[2025-01-13 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:54:02] Production.INFO: ==14420== Releasing lock...
[2025-01-13 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:54:03] Production.INFO: ==14422== Lock acquired, processing the job...
[2025-01-12 19:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:54:03] Production.INFO: ==14430== Lock acquired, processing the job...
[2025-01-12 19:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:54:03] Production.INFO: ==14424== Lock acquired, processing the job...
[2025-01-12 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:54:03] Production.INFO: ==14426== Lock acquired, processing the job...
[2025-01-12 19:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:54:03] Production.INFO: ==14432== Lock acquired, processing the job...
[2025-01-12 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:54:03] Production.INFO: ==14428== Lock acquired, processing the job...
[2025-01-12 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:54:03] Production.ERROR: done
[2025-01-12 19:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:54:03] Production.INFO: Account Balance Start.
[2025-01-12 19:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:54:03] Production.INFO: 117
[2025-01-12 19:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-12 19:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:54:03] Production.INFO: count ==21
[2025-01-12 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-12 19:54:03] Production.INFO: count ==21
[2025-01-12 19:54:03] Production.ERROR: done
[2025-01-12 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233869') start
[2025-01-12 19:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:54:03] Production.INFO: ==14424== Releasing lock...
[2025-01-12 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233869') end
[2025-01-12 19:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:54:04] Production.INFO: 1
[2025-01-12 19:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:54:04] Production.INFO: ==14432== Releasing lock...
[2025-01-12 19:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:54:04] Production.INFO: Total Charge 0
[2025-01-12 19:54:04] Production.INFO: CreateAllLog End
[2025-01-12 19:54:04] Production.INFO: Account Balance End.
[2025-01-12 19:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:54:04] Production.INFO: ==14428== Releasing lock...
[2025-01-12 19:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:54:04
[end_date_ymd] => 2025-01-12 19:54:04
[RateCDR] => 1
)
[2025-01-12 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-12 16:54:04' and `end` < '2025-01-12 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-12 19:54:11] Production.ERROR: CronJobId end10
[2025-01-12 19:54:11] Production.INFO: ==14426== Releasing lock...
[2025-01-12 19:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:54:12] Production.INFO: call_cost start
[2025-01-12 19:54:12] Production.INFO: call_cost end
[2025-01-12 19:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:54:13] Production.INFO: ==14422== Releasing lock...
[2025-01-12 19:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:54:17] Production.INFO: count ==1509
[2025-01-12 19:54:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:54:04 - End Time 2025-01-12 19:54:04
[2025-01-12 19:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233871', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233871', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233871', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233871', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:54:18] Production.INFO: ProcessCDR(1,14233871,1,1,2)
[2025-01-12 19:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233871', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233871', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:54:22] Production.INFO: ==14430== Releasing lock...
[2025-01-12 19:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:54:22] Production.INFO: 39 MB #Memory Used#
[2025-01-13 00:55:02] Production.INFO: ==14492== Lock acquired, processing the job...
[2025-01-13 00:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:55:02] Production.INFO: neon service started
[2025-01-13 00:55:02] Production.INFO: neon service started
[2025-01-13 00:55:02] Production.INFO: ==14492== Releasing lock...
[2025-01-13 00:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:55:02] Production.INFO: ==14496== Lock acquired, processing the job...
[2025-01-13 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:55:02] Production.INFO: ==14496== Releasing lock...
[2025-01-13 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:55:02] Production.INFO: ==14494== Lock acquired, processing the job...
[2025-01-12 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:55:02] Production.INFO: ==14494== Releasing lock...
[2025-01-12 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:55:03] Production.INFO: ==14498== Lock acquired, processing the job...
[2025-01-12 19:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:55:03] Production.INFO: ==14500== Lock acquired, processing the job...
[2025-01-12 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:55:03] Production.INFO: ==14504== Lock acquired, processing the job...
[2025-01-12 19:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:55:03] Production.INFO: Account Balance Start.
[2025-01-12 19:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:55:03] Production.INFO: 117
[2025-01-12 19:55:03] Production.INFO: ==14502== Lock acquired, processing the job...
[2025-01-12 19:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:55:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:55:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:55:04] Production.INFO: ==14506== Lock acquired, processing the job...
[2025-01-12 19:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:55:04] Production.INFO: ==14500== Releasing lock...
[2025-01-12 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:55:04] Production.INFO: ==14508== Lock acquired, processing the job...
[2025-01-12 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:55:04] Production.INFO: Total Charge 0
[2025-01-12 19:55:04] Production.INFO: CreateAllLog End
[2025-01-12 19:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:55:04] Production.INFO: count ==21
[2025-01-12 19:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:55:04] Production.INFO: count ==21
[2025-01-12 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233875') start
[2025-01-12 19:55:04] Production.INFO: Account Balance End.
[2025-01-12 19:55:04] Production.ERROR: done
[2025-01-12 19:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:55:04] Production.INFO: ==14504== Releasing lock...
[2025-01-12 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233875') end
[2025-01-12 19:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:55:04] Production.INFO: 1
[2025-01-12 19:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:55:04] Production.INFO: ==14508== Releasing lock...
[2025-01-12 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:55:04] Production.ERROR: done
[2025-01-12 19:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:55:05
[end_date_ymd] => 2025-01-12 19:55:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:55:05' and `end` < '2025-01-12 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-12 19:55:11] Production.ERROR: CronJobId end10
[2025-01-12 19:55:11] Production.INFO: ==14502== Releasing lock...
[2025-01-12 19:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:55:13] Production.INFO: call_cost start
[2025-01-12 19:55:13] Production.INFO: call_cost end
[2025-01-12 19:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:55:14] Production.INFO: ==14498== Releasing lock...
[2025-01-12 19:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:55:18] Production.INFO: count ==1499
[2025-01-12 19:55:19] Production.ERROR: pbx CDR StartTime 2025-01-12 16:55:05 - End Time 2025-01-12 19:55:05
[2025-01-12 19:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233876', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233876', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233876', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233876', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:55:19] Production.INFO: ProcessCDR(1,14233876,1,1,2)
[2025-01-12 19:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233876', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233876', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:55:22] Production.INFO: ==14506== Releasing lock...
[2025-01-12 19:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:55:22] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:56:01] Production.INFO: ==14562== Lock acquired, processing the job...
[2025-01-13 00:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:56:01] Production.INFO: neon service started
[2025-01-13 00:56:01] Production.INFO: neon service started
[2025-01-13 00:56:01] Production.INFO: ==14562== Releasing lock...
[2025-01-13 00:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:56:01] Production.INFO: ==14566== Lock acquired, processing the job...
[2025-01-13 00:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:56:01] Production.INFO: ==14566== Releasing lock...
[2025-01-13 00:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:56:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:56:02] Production.INFO: ==14564== Lock acquired, processing the job...
[2025-01-12 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:56:02] Production.INFO: ==14564== Releasing lock...
[2025-01-12 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:56:03] Production.INFO: ==14574== Lock acquired, processing the job...
[2025-01-12 19:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:56:03] Production.INFO: ==14568== Lock acquired, processing the job...
[2025-01-12 19:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:56:03] Production.INFO: ==14576== Lock acquired, processing the job...
[2025-01-12 19:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:56:03] Production.INFO: Account Balance Start.
[2025-01-12 19:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:56:03] Production.INFO: 117
[2025-01-12 19:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:56:03] Production.INFO: ==14570== Lock acquired, processing the job...
[2025-01-12 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:56:03] Production.INFO: ==14572== Lock acquired, processing the job...
[2025-01-12 19:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:56:03] Production.INFO: ==14579== Lock acquired, processing the job...
[2025-01-12 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:56:03] Production.ERROR: done
[2025-01-12 19:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:56:03] Production.INFO: Total Charge 0
[2025-01-12 19:56:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 19:56:03] Production.ERROR: done
[2025-01-12 19:56:03] Production.INFO: ==14570== Releasing lock...
[2025-01-12 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:56:03] Production.INFO: count ==21
[2025-01-12 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-12 19:56:03] Production.INFO: count ==21
[2025-01-12 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233880') start
[2025-01-12 19:56:03] Production.INFO: Account Balance End.
[2025-01-12 19:56:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:56:03] Production.INFO: ==14574== Releasing lock...
[2025-01-12 19:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233880') end
[2025-01-12 19:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:56:03] Production.INFO: 1
[2025-01-12 19:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:56:04] Production.INFO: ==14579== Releasing lock...
[2025-01-12 19:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:56:04
[end_date_ymd] => 2025-01-12 19:56:04
[RateCDR] => 1
)
[2025-01-12 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-12 16:56:04' and `end` < '2025-01-12 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-12 19:56:10] Production.ERROR: CronJobId end10
[2025-01-12 19:56:10] Production.INFO: ==14572== Releasing lock...
[2025-01-12 19:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:56:12] Production.INFO: call_cost start
[2025-01-12 19:56:12] Production.INFO: call_cost end
[2025-01-12 19:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:56:13] Production.INFO: ==14568== Releasing lock...
[2025-01-12 19:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:56:17] Production.INFO: count ==1483
[2025-01-12 19:56:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:56:04 - End Time 2025-01-12 19:56:04
[2025-01-12 19:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233881', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233881', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233881', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233881', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:56:18] Production.INFO: ProcessCDR(1,14233881,1,1,2)
[2025-01-12 19:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233881', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233881', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:56:22] Production.INFO: ==14576== Releasing lock...
[2025-01-12 19:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:56:22] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:57:01] Production.INFO: ==14631== Lock acquired, processing the job...
[2025-01-13 00:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:57:01] Production.INFO: neon service started
[2025-01-13 00:57:02] Production.INFO: neon service started
[2025-01-13 00:57:02] Production.INFO: ==14631== Releasing lock...
[2025-01-13 00:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:57:02] Production.INFO: ==14635== Lock acquired, processing the job...
[2025-01-13 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:57:02] Production.INFO: ==14635== Releasing lock...
[2025-01-13 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:57:02] Production.INFO: ==14633== Lock acquired, processing the job...
[2025-01-12 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:57:02] Production.INFO: ==14633== Releasing lock...
[2025-01-12 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:57:03] Production.INFO: ==14638== Lock acquired, processing the job...
[2025-01-12 19:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:57:03] Production.INFO: ==14640== Lock acquired, processing the job...
[2025-01-12 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:57:03] Production.INFO: ==14646== Lock acquired, processing the job...
[2025-01-12 19:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:57:03] Production.INFO: ==14642== Lock acquired, processing the job...
[2025-01-12 19:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:57:03] Production.INFO: ==14644== Lock acquired, processing the job...
[2025-01-12 19:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:57:03] Production.INFO: ==14640== Releasing lock...
[2025-01-12 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:57:03] Production.INFO: ==14648== Lock acquired, processing the job...
[2025-01-12 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:57:04] Production.ERROR: done
[2025-01-12 19:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:57:04] Production.INFO: Account Balance Start.
[2025-01-12 19:57:04] Production.INFO: CreateAllLog Start
[2025-01-12 19:57:04] Production.INFO: 117
[2025-01-12 19:57:04] Production.INFO: Date 2025-01-08
[2025-01-12 19:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:57:04] Production.INFO: count ==21
[2025-01-12 19:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:57:04] Production.INFO: count ==21
[2025-01-12 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233884') start
[2025-01-12 19:57:04] Production.INFO: Date 2025-01-09
[2025-01-12 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:57:04] Production.ERROR: done
[2025-01-12 19:57:04] Production.INFO: Date 2025-01-10
[2025-01-12 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233884') end
[2025-01-12 19:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:57:04] Production.INFO: 1
[2025-01-12 19:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:57:04] Production.INFO: ==14648== Releasing lock...
[2025-01-12 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 19:57:04] Production.INFO: Total Charge 0
[2025-01-12 19:57:04] Production.INFO: CreateAllLog End
[2025-01-12 19:57:04] Production.INFO: Account Balance End.
[2025-01-12 19:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:57:04] Production.INFO: ==14644== Releasing lock...
[2025-01-12 19:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:57:05
[end_date_ymd] => 2025-01-12 19:57:05
[RateCDR] => 1
)
[2025-01-12 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-12 16:57:05' and `end` < '2025-01-12 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-12 19:57:11] Production.ERROR: CronJobId end10
[2025-01-12 19:57:11] Production.INFO: ==14642== Releasing lock...
[2025-01-12 19:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:57:12] Production.INFO: call_cost start
[2025-01-12 19:57:12] Production.INFO: call_cost end
[2025-01-12 19:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:57:13] Production.INFO: ==14638== Releasing lock...
[2025-01-12 19:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:57:19] Production.INFO: count ==1484
[2025-01-12 19:57:20] Production.ERROR: pbx CDR StartTime 2025-01-12 16:57:05 - End Time 2025-01-12 19:57:05
[2025-01-12 19:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233886', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233886', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233886', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233886', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:57:20] Production.INFO: ProcessCDR(1,14233886,1,1,2)
[2025-01-12 19:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233886', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233886', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:57:24] Production.INFO: ==14646== Releasing lock...
[2025-01-12 19:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:57:24] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:58:01] Production.INFO: ==14702== Lock acquired, processing the job...
[2025-01-13 00:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:58:01] Production.INFO: neon service started
[2025-01-13 00:58:01] Production.INFO: neon service started
[2025-01-13 00:58:01] Production.INFO: ==14702== Releasing lock...
[2025-01-13 00:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:58:02] Production.INFO: ==14704== Lock acquired, processing the job...
[2025-01-12 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:58:02] Production.INFO: ==14706== Lock acquired, processing the job...
[2025-01-13 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:58:02] Production.INFO: ==14706== Releasing lock...
[2025-01-13 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:58:02] Production.INFO: ==14704== Releasing lock...
[2025-01-12 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:58:03] Production.INFO: ==14715== Lock acquired, processing the job...
[2025-01-12 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:58:03] Production.INFO: ==14711== Lock acquired, processing the job...
[2025-01-12 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:58:03] Production.INFO: ==14717== Lock acquired, processing the job...
[2025-01-12 19:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:58:03] Production.INFO: Account Balance Start.
[2025-01-12 19:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:58:03] Production.INFO: 117
[2025-01-12 19:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:58:03] Production.INFO: ==14709== Lock acquired, processing the job...
[2025-01-12 19:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:58:03] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-01-12 19:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:58:03] Production.INFO: ==14719== Lock acquired, processing the job...
[2025-01-12 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:58:03] Production.ERROR: done
[2025-01-12 19:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:58:03] Production.INFO: ==14711== Releasing lock...
[2025-01-12 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-12 19:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:58:03] Production.INFO: Total Charge 0
[2025-01-12 19:58:03] Production.INFO: CreateAllLog End
[2025-01-12 19:58:03] Production.INFO: count ==21
[2025-01-12 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-12 19:58:03] Production.INFO: count ==21
[2025-01-12 19:58:03] Production.ERROR: done
[2025-01-12 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233890') start
[2025-01-12 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233890') end
[2025-01-12 19:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:58:03] Production.INFO: 1
[2025-01-12 19:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:58:03] Production.INFO: Account Balance End.
[2025-01-12 19:58:03] Production.ERROR: CronJobId end 12
[2025-01-12 19:58:03] Production.INFO: ==14715== Releasing lock...
[2025-01-12 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:58:03] Production.INFO: ==14719== Releasing lock...
[2025-01-12 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:58:04
[end_date_ymd] => 2025-01-12 19:58:04
[RateCDR] => 1
)
[2025-01-12 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-12 16:58:04' and `end` < '2025-01-12 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-12 19:58:09] Production.ERROR: CronJobId end10
[2025-01-12 19:58:09] Production.INFO: ==14713== Releasing lock...
[2025-01-12 19:58:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:58:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:58:12] Production.INFO: call_cost start
[2025-01-12 19:58:12] Production.INFO: call_cost end
[2025-01-12 19:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:58:13] Production.INFO: ==14709== Releasing lock...
[2025-01-12 19:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:58:17] Production.INFO: count ==1484
[2025-01-12 19:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:58:04 - End Time 2025-01-12 19:58:04
[2025-01-12 19:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233891', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233891', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233891', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233891', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:58:18] Production.INFO: ProcessCDR(1,14233891,1,1,2)
[2025-01-12 19:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233891', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233891', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:58:22] Production.INFO: ==14717== Releasing lock...
[2025-01-12 19:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:58:22] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 00:59:01] Production.INFO: ==14774== Lock acquired, processing the job...
[2025-01-13 00:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 00:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 00:59:01] Production.INFO: neon service started
[2025-01-13 00:59:01] Production.INFO: neon service started
[2025-01-13 00:59:01] Production.INFO: ==14774== Releasing lock...
[2025-01-13 00:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 00:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:59:02] Production.INFO: ==14776== Lock acquired, processing the job...
[2025-01-12 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:59:02] Production.INFO: ==14776== Releasing lock...
[2025-01-12 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 19:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:59:02] Production.INFO: ==14778== Lock acquired, processing the job...
[2025-01-13 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:59:02] Production.INFO: ==14778== Releasing lock...
[2025-01-13 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 00:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 19:59:03] Production.INFO: ==14781== Lock acquired, processing the job...
[2025-01-12 19:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 19:59:03] Production.INFO: ==14783== Lock acquired, processing the job...
[2025-01-12 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 19:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 19:59:03] Production.INFO: ==14787== Lock acquired, processing the job...
[2025-01-12 19:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 19:59:03] Production.INFO: ==14785== Lock acquired, processing the job...
[2025-01-12 19:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 19:59:03] Production.INFO: Account Balance Start.
[2025-01-12 19:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 19:59:03] Production.INFO: 117
[2025-01-12 19:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 19:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 19:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 19:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 19:59:03] Production.INFO: ==14789== Lock acquired, processing the job...
[2025-01-12 19:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 19:59:03] Production.INFO: ==14783== Releasing lock...
[2025-01-12 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 19:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 19:59:03] Production.INFO: ==14791== Lock acquired, processing the job...
[2025-01-12 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 19:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 19:59:03] Production.INFO: Date 2025-01-10
[2025-01-12 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:59:03] Production.INFO: Date 2025-01-11
[2025-01-12 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:59:03] Production.INFO: Date 2025-01-12
[2025-01-12 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 19:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:59:03] Production.INFO: count ==21
[2025-01-12 19:59:03] Production.ERROR: done
[2025-01-12 19:59:03] Production.INFO: Total Charge 0
[2025-01-12 19:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 19:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 19:59:03] Production.INFO: CreateAllLog End
[2025-01-12 19:59:03] Production.INFO: count ==21
[2025-01-12 19:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233895') start
[2025-01-12 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233895') end
[2025-01-12 19:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 19:59:04] Production.INFO: 1
[2025-01-12 19:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 19:59:04] Production.ERROR: done
[2025-01-12 19:59:04] Production.INFO: ==14791== Releasing lock...
[2025-01-12 19:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 19:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 19:59:04] Production.INFO: Account Balance End.
[2025-01-12 19:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 19:59:04] Production.INFO: ==14787== Releasing lock...
[2025-01-12 19:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 19:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 19:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 16:59:04
[end_date_ymd] => 2025-01-12 19:59:04
[RateCDR] => 1
)
[2025-01-12 19:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 16:59:04' and `end` < '2025-01-12 19:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 19:59:10] Production.ERROR: CronJobId end10
[2025-01-12 19:59:10] Production.INFO: ==14785== Releasing lock...
[2025-01-12 19:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 19:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 19:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 19:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 19:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 19:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 19:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 19:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 19:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 19:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 19:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 19:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 19:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 19:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 19:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 19:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 19:59:13] Production.INFO: call_cost start
[2025-01-12 19:59:13] Production.INFO: call_cost end
[2025-01-12 19:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 19:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 19:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 19:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 19:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 19:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 19:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 19:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 19:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 19:59:13] Production.INFO: ==14781== Releasing lock...
[2025-01-12 19:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 19:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 19:59:18] Production.INFO: count ==1482
[2025-01-12 19:59:18] Production.ERROR: pbx CDR StartTime 2025-01-12 16:59:04 - End Time 2025-01-12 19:59:04
[2025-01-12 19:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233896', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233896', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233896', 'tblTempVendorCDR_20' ) start
[2025-01-12 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233896', 'tblTempVendorCDR_20' ) end
[2025-01-12 19:59:18] Production.INFO: ProcessCDR(1,14233896,1,1,2)
[2025-01-12 19:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 19:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 19:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233896', 'tblTempUsageDetail_20' ) start
[2025-01-12 19:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233896', 'tblTempUsageDetail_20' ) end
[2025-01-12 19:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 19:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 19:59:21] Production.INFO: ==14789== Releasing lock...
[2025-01-12 19:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 19:59:21] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 01:00:02] Production.INFO: ==14887== Lock acquired, processing the job...
[2025-01-13 01:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:00:02] Production.INFO: neon service started
[2025-01-13 01:00:02] Production.INFO: neon service started
[2025-01-13 01:00:02] Production.INFO: ==14887== Releasing lock...
[2025-01-13 01:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:00:02] Production.INFO: ==14889== Lock acquired, processing the job...
[2025-01-12 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:00:03] Production.INFO: ==14889== Releasing lock...
[2025-01-12 20:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:00:03] Production.INFO: ==14891== Lock acquired, processing the job...
[2025-01-13 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:00:03] Production.INFO: ==14891== Releasing lock...
[2025-01-13 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:00:04] Production.INFO: ==14902== Lock acquired, processing the job...
[2025-01-12 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:00:04] Production.INFO: ==14894== Lock acquired, processing the job...
[2025-01-12 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 20:00:04] Production.INFO: ==14906== Lock acquired, processing the job...
[2025-01-12 20:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 20:00:04] Production.INFO: ==14908== Lock acquired, processing the job...
[2025-01-12 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 20:00:04] Production.ERROR: CronJob PID - 14902
[2025-01-12 20:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 20:00:04] Production.ERROR: CronJob ID - 12
[2025-01-12 20:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 20:00:00
[2025-01-12 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 20:00:04] Production.ERROR: CronJob PID - 14906
[2025-01-12 20:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 20:00:04] Production.ERROR: CronJob ID - 17
[2025-01-12 20:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 20:00:00
[2025-01-12 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 20:00:04] Production.INFO: Account Balance Start.
[2025-01-12 20:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:00:04] Production.INFO: 117
[2025-01-12 20:00:04] Production.INFO: ==14896== Lock acquired, processing the job...
[2025-01-12 20:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:00:04] Production.INFO: ==14898== Lock acquired, processing the job...
[2025-01-12 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:00:04] Production.INFO: ==14904== Lock acquired, processing the job...
[2025-01-12 20:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:00:04] Production.INFO: ==14900== Lock acquired, processing the job...
[2025-01-12 20:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 20:00:04] Production.INFO: ==14894== Releasing lock...
[2025-01-12 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 20:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 20:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:00:04] Production.INFO: count ==21
[2025-01-12 20:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 20:00:04] Production.INFO: count ==21
[2025-01-12 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233898') start
[2025-01-12 20:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:00:04] Production.ERROR: done
[2025-01-12 20:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 20:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233901', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233898') end
[2025-01-12 20:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:00:04] Production.INFO: 1
[2025-01-12 20:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:00:05] Production.INFO: Total Charge 0
[2025-01-12 20:00:05] Production.INFO: CreateAllLog End
[2025-01-12 20:00:05] Production.ERROR: done
[2025-01-12 20:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:00:05] Production.INFO: ==14908== Releasing lock...
[2025-01-12 20:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:00:05] Production.INFO: ==14898== Releasing lock...
[2025-01-12 20:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:00:05] Production.ERROR: done
[2025-01-12 20:00:05] Production.INFO: Account Balance End.
[2025-01-12 20:00:05] Production.ERROR: CronJobId end 12
[2025-01-12 20:00:05] Production.INFO: ==14902== Releasing lock...
[2025-01-12 20:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:00:06
[end_date_ymd] => 2025-01-12 20:00:06
[RateCDR] => 1
)
[2025-01-12 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-12 17:00:06' and `end` < '2025-01-12 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-12 20:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233901', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 20:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 20:00:09] Production.INFO: ProcessCDR(1,14233901,1,1,2)
[2025-01-12 20:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14233901,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14233901,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:00:09] Production.INFO: ==14906== Releasing lock...
[2025-01-12 20:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 20:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 20:00:15] Production.ERROR: CronJobId end10
[2025-01-12 20:00:15] Production.INFO: ==14900== Releasing lock...
[2025-01-12 20:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:00:16] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:00:16] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:00:16] Production.INFO: call_cost start
[2025-01-12 20:00:16] Production.INFO: call_cost end
[2025-01-12 20:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:00:17] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:00:17] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:00:17] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:00:17] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:00:17] Production.INFO: ==14896== Releasing lock...
[2025-01-12 20:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:00:19] Production.INFO: count ==1485
[2025-01-12 20:00:20] Production.ERROR: pbx CDR StartTime 2025-01-12 17:00:06 - End Time 2025-01-12 20:00:06
[2025-01-12 20:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233902', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233902', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233902', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233902', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:00:20] Production.INFO: ProcessCDR(1,14233902,1,1,2)
[2025-01-12 20:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233902', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233902', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:00:23] Production.INFO: ==14904== Releasing lock...
[2025-01-12 20:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:00:23] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 01:01:01] Production.INFO: ==15011== Lock acquired, processing the job...
[2025-01-13 01:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:01:01] Production.INFO: neon service started
[2025-01-13 01:01:01] Production.INFO: neon service started
[2025-01-13 01:01:01] Production.INFO: ==15011== Releasing lock...
[2025-01-13 01:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:01:02] Production.INFO: ==15016== Lock acquired, processing the job...
[2025-01-12 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:01:02] Production.INFO: ==15016== Releasing lock...
[2025-01-12 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:01:02] Production.INFO: ==15018== Lock acquired, processing the job...
[2025-01-13 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:01:02] Production.INFO: ==15018== Releasing lock...
[2025-01-13 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:01:03] Production.INFO: ==15025== Lock acquired, processing the job...
[2025-01-12 20:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:01:03] Production.INFO: ==15031== Lock acquired, processing the job...
[2025-01-12 20:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:01:03] Production.INFO: ==15021== Lock acquired, processing the job...
[2025-01-12 20:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:01:03] Production.INFO: ==15023== Lock acquired, processing the job...
[2025-01-12 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:01:03] Production.INFO: ==15027== Lock acquired, processing the job...
[2025-01-12 20:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 20:01:03] Production.INFO: count ==21
[2025-01-12 20:01:03] Production.INFO: ==15029== Lock acquired, processing the job...
[2025-01-12 20:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 20:01:03] Production.INFO: count ==21
[2025-01-12 20:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233903') start
[2025-01-12 20:01:03] Production.INFO: Account Balance Start.
[2025-01-12 20:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:01:03] Production.INFO: 117
[2025-01-12 20:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233903') end
[2025-01-12 20:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:01:03] Production.INFO: 1
[2025-01-12 20:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:01:03] Production.INFO: ==15031== Releasing lock...
[2025-01-12 20:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:01:04] Production.INFO: ==15023== Releasing lock...
[2025-01-12 20:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:01:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:01:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:01:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:01:04] Production.ERROR: done
[2025-01-12 20:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:01:04] Production.INFO: Total Charge 0
[2025-01-12 20:01:04] Production.INFO: CreateAllLog End
[2025-01-12 20:01:04] Production.ERROR: done
[2025-01-12 20:01:04] Production.INFO: Account Balance End.
[2025-01-12 20:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:01:04] Production.INFO: ==15027== Releasing lock...
[2025-01-12 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:01:05
[end_date_ymd] => 2025-01-12 20:01:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:01:05' and `end` < '2025-01-12 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-12 20:01:11] Production.ERROR: CronJobId end10
[2025-01-12 20:01:11] Production.INFO: ==15025== Releasing lock...
[2025-01-12 20:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:01:13] Production.INFO: call_cost start
[2025-01-12 20:01:13] Production.INFO: call_cost end
[2025-01-12 20:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:01:14] Production.INFO: ==15021== Releasing lock...
[2025-01-12 20:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:01:18] Production.INFO: count ==1474
[2025-01-12 20:01:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:01:05 - End Time 2025-01-12 20:01:05
[2025-01-12 20:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233907', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233907', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233907', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233907', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:01:18] Production.INFO: ProcessCDR(1,14233907,1,1,2)
[2025-01-12 20:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233907', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233907', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:01:21] Production.INFO: ==15029== Releasing lock...
[2025-01-12 20:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:01:21] Production.INFO: 38.75 MB #Memory Used#
[2025-01-13 01:02:01] Production.INFO: ==15085== Lock acquired, processing the job...
[2025-01-13 01:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:02:01] Production.INFO: neon service started
[2025-01-13 01:02:01] Production.INFO: neon service started
[2025-01-13 01:02:01] Production.INFO: ==15085== Releasing lock...
[2025-01-13 01:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:02:01] Production.INFO: ==15087== Lock acquired, processing the job...
[2025-01-12 20:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:02:02] Production.INFO: ==15089== Lock acquired, processing the job...
[2025-01-13 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:02:02] Production.INFO: ==15089== Releasing lock...
[2025-01-13 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:02:02] Production.INFO: ==15087== Releasing lock...
[2025-01-12 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:02:03] Production.INFO: ==15098== Lock acquired, processing the job...
[2025-01-12 20:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:02:03] Production.INFO: Account Balance Start.
[2025-01-12 20:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:02:03] Production.INFO: 117
[2025-01-12 20:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:02:03] Production.INFO: ==15102== Lock acquired, processing the job...
[2025-01-12 20:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:02:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:02:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:02:03] Production.INFO: ==15092== Lock acquired, processing the job...
[2025-01-12 20:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:02:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 20:02:03] Production.INFO: count ==21
[2025-01-12 20:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:02:03] Production.INFO: count ==21
[2025-01-12 20:02:03] Production.INFO: ==15096== Lock acquired, processing the job...
[2025-01-12 20:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233909') start
[2025-01-12 20:02:03] Production.INFO: ==15094== Lock acquired, processing the job...
[2025-01-12 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:02:03] Production.INFO: ==15100== Lock acquired, processing the job...
[2025-01-12 20:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:02:03] Production.INFO: Total Charge 0
[2025-01-12 20:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:02:03] Production.INFO: CreateAllLog End
[2025-01-12 20:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233909') end
[2025-01-12 20:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:02:03] Production.INFO: 1
[2025-01-12 20:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:02:03] Production.INFO: ==15102== Releasing lock...
[2025-01-12 20:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:02:03] Production.INFO: Account Balance End.
[2025-01-12 20:02:03] Production.ERROR: CronJobId end 12
[2025-01-12 20:02:03] Production.INFO: ==15098== Releasing lock...
[2025-01-12 20:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:02:03] Production.INFO: ==15094== Releasing lock...
[2025-01-12 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:02:03] Production.ERROR: done
[2025-01-12 20:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:02:03] Production.ERROR: done
[2025-01-12 20:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:02:04
[end_date_ymd] => 2025-01-12 20:02:04
[RateCDR] => 1
)
[2025-01-12 20:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:02:04' and `end` < '2025-01-12 20:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:02:10] Production.ERROR: CronJobId end10
[2025-01-12 20:02:10] Production.INFO: ==15096== Releasing lock...
[2025-01-12 20:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:02:13] Production.INFO: call_cost start
[2025-01-12 20:02:13] Production.INFO: call_cost end
[2025-01-12 20:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:02:13] Production.INFO: ==15092== Releasing lock...
[2025-01-12 20:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:02:18] Production.INFO: count ==1471
[2025-01-12 20:02:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:02:04 - End Time 2025-01-12 20:02:04
[2025-01-12 20:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233912', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233912', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233912', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233912', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:02:19] Production.INFO: ProcessCDR(1,14233912,1,1,2)
[2025-01-12 20:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233912', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233912', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:02:23] Production.INFO: ==15100== Releasing lock...
[2025-01-12 20:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:02:23] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:03:01] Production.INFO: ==15156== Lock acquired, processing the job...
[2025-01-13 01:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:03:01] Production.INFO: neon service started
[2025-01-13 01:03:01] Production.INFO: neon service started
[2025-01-13 01:03:01] Production.INFO: ==15156== Releasing lock...
[2025-01-13 01:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:03:02] Production.INFO: ==15160== Lock acquired, processing the job...
[2025-01-13 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:03:02] Production.INFO: ==15160== Releasing lock...
[2025-01-13 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:03:02] Production.INFO: ==15158== Lock acquired, processing the job...
[2025-01-12 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:03:02] Production.INFO: ==15158== Releasing lock...
[2025-01-12 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:03:03] Production.INFO: ==15165== Lock acquired, processing the job...
[2025-01-12 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:03:03] Production.INFO: ==15171== Lock acquired, processing the job...
[2025-01-12 20:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:03:03] Production.INFO: ==15163== Lock acquired, processing the job...
[2025-01-12 20:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:03:03] Production.INFO: ==15167== Lock acquired, processing the job...
[2025-01-12 20:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:03:03] Production.INFO: ==15169== Lock acquired, processing the job...
[2025-01-12 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:03:03] Production.INFO: ==15173== Lock acquired, processing the job...
[2025-01-12 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:03:03] Production.INFO: ==15165== Releasing lock...
[2025-01-12 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:03:03] Production.ERROR: done
[2025-01-12 20:03:03] Production.INFO: Account Balance Start.
[2025-01-12 20:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:03:03] Production.INFO: 117
[2025-01-12 20:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-12 20:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:03:03] Production.INFO: count ==21
[2025-01-12 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-12 20:03:03] Production.INFO: count ==21
[2025-01-12 20:03:04] Production.ERROR: done
[2025-01-12 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233915') start
[2025-01-12 20:03:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:03:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233915') end
[2025-01-12 20:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:03:04] Production.INFO: 1
[2025-01-12 20:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:03:04] Production.INFO: Total Charge 0
[2025-01-12 20:03:04] Production.INFO: CreateAllLog End
[2025-01-12 20:03:04] Production.INFO: ==15173== Releasing lock...
[2025-01-12 20:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:03:04] Production.INFO: Account Balance End.
[2025-01-12 20:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:03:04] Production.INFO: ==15169== Releasing lock...
[2025-01-12 20:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:03:05
[end_date_ymd] => 2025-01-12 20:03:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:03:05' and `end` < '2025-01-12 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-12 20:03:11] Production.ERROR: CronJobId end10
[2025-01-12 20:03:11] Production.INFO: ==15167== Releasing lock...
[2025-01-12 20:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:03:12] Production.INFO: call_cost start
[2025-01-12 20:03:12] Production.INFO: call_cost end
[2025-01-12 20:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:03:13] Production.INFO: ==15163== Releasing lock...
[2025-01-12 20:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:03:19] Production.INFO: count ==1471
[2025-01-12 20:03:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:03:05 - End Time 2025-01-12 20:03:05
[2025-01-12 20:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233917', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233917', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233917', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233917', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:03:19] Production.INFO: ProcessCDR(1,14233917,1,1,2)
[2025-01-12 20:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233917', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233917', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:03:24] Production.INFO: ==15171== Releasing lock...
[2025-01-12 20:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:03:24] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:04:02] Production.INFO: ==15232== Lock acquired, processing the job...
[2025-01-13 01:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:04:02] Production.INFO: neon service started
[2025-01-13 01:04:02] Production.INFO: neon service started
[2025-01-13 01:04:02] Production.INFO: ==15232== Releasing lock...
[2025-01-13 01:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:04:02] Production.INFO: ==15236== Lock acquired, processing the job...
[2025-01-13 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:04:02] Production.INFO: ==15236== Releasing lock...
[2025-01-13 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:04:02] Production.INFO: ==15234== Lock acquired, processing the job...
[2025-01-12 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:04:03] Production.INFO: ==15234== Releasing lock...
[2025-01-12 20:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:04:03] Production.INFO: ==15241== Lock acquired, processing the job...
[2025-01-12 20:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:04:03] Production.INFO: ==15243== Lock acquired, processing the job...
[2025-01-12 20:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:04:03] Production.INFO: ==15239== Lock acquired, processing the job...
[2025-01-12 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:04:04] Production.INFO: ==15241== Releasing lock...
[2025-01-12 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:04:04] Production.INFO: ==15245== Lock acquired, processing the job...
[2025-01-12 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:04:04] Production.INFO: ==15247== Lock acquired, processing the job...
[2025-01-12 20:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:04:04] Production.INFO: ==15249== Lock acquired, processing the job...
[2025-01-12 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:04:04] Production.INFO: Account Balance Start.
[2025-01-12 20:04:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:04:04] Production.INFO: 117
[2025-01-12 20:04:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:04:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:04:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 20:04:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:04:04] Production.INFO: count ==21
[2025-01-12 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-12 20:04:04] Production.INFO: count ==21
[2025-01-12 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233921') start
[2025-01-12 20:04:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:04:04] Production.INFO: Total Charge 0
[2025-01-12 20:04:04] Production.INFO: CreateAllLog End
[2025-01-12 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233921') end
[2025-01-12 20:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:04:04] Production.INFO: 1
[2025-01-12 20:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:04:04] Production.ERROR: done
[2025-01-12 20:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:04:04] Production.INFO: ==15249== Releasing lock...
[2025-01-12 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:04:04] Production.INFO: Account Balance End.
[2025-01-12 20:04:04] Production.ERROR: done
[2025-01-12 20:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:04:04] Production.INFO: ==15245== Releasing lock...
[2025-01-12 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:04:05
[end_date_ymd] => 2025-01-12 20:04:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:04:05' and `end` < '2025-01-12 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-12 20:04:12] Production.ERROR: CronJobId end10
[2025-01-12 20:04:12] Production.INFO: ==15243== Releasing lock...
[2025-01-12 20:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:04:14] Production.INFO: call_cost start
[2025-01-12 20:04:14] Production.INFO: call_cost end
[2025-01-12 20:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:04:15] Production.INFO: ==15239== Releasing lock...
[2025-01-12 20:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:04:19] Production.INFO: count ==1471
[2025-01-12 20:04:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:04:05 - End Time 2025-01-12 20:04:05
[2025-01-12 20:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233922', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233922', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233922', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233922', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:04:19] Production.INFO: ProcessCDR(1,14233922,1,1,2)
[2025-01-12 20:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233922', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233922', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:04:23] Production.INFO: ==15247== Releasing lock...
[2025-01-12 20:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:04:23] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:05:01] Production.INFO: ==15305== Lock acquired, processing the job...
[2025-01-13 01:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:05:01] Production.INFO: neon service started
[2025-01-13 01:05:01] Production.INFO: neon service started
[2025-01-13 01:05:01] Production.INFO: ==15305== Releasing lock...
[2025-01-13 01:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:05:02] Production.INFO: ==15307== Lock acquired, processing the job...
[2025-01-12 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:05:02] Production.INFO: ==15309== Lock acquired, processing the job...
[2025-01-13 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:05:02] Production.INFO: ==15309== Releasing lock...
[2025-01-13 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:05:02] Production.INFO: ==15307== Releasing lock...
[2025-01-12 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:05:03] Production.INFO: ==15316== Lock acquired, processing the job...
[2025-01-12 20:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:05:03] Production.INFO: ==15320== Lock acquired, processing the job...
[2025-01-12 20:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:05:03] Production.INFO: ==15312== Lock acquired, processing the job...
[2025-01-12 20:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:05:03] Production.INFO: ==15314== Lock acquired, processing the job...
[2025-01-12 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:05:03] Production.INFO: ==15318== Lock acquired, processing the job...
[2025-01-12 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:05:03] Production.INFO: ==15322== Lock acquired, processing the job...
[2025-01-12 20:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:05:03] Production.INFO: Account Balance Start.
[2025-01-12 20:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:05:03] Production.ERROR: done
[2025-01-12 20:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:05:03] Production.INFO: 117
[2025-01-12 20:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-12 20:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:05:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:05:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:05:04] Production.INFO: count ==21
[2025-01-12 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:05:04] Production.INFO: ==15314== Releasing lock...
[2025-01-12 20:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:05:04] Production.ERROR: done
[2025-01-12 20:05:04] Production.INFO: count ==21
[2025-01-12 20:05:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233926') start
[2025-01-12 20:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:05:04] Production.INFO: Total Charge 0
[2025-01-12 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233926') end
[2025-01-12 20:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:05:04] Production.INFO: 1
[2025-01-12 20:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:05:04] Production.INFO: CreateAllLog End
[2025-01-12 20:05:04] Production.INFO: ==15322== Releasing lock...
[2025-01-12 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:05:04] Production.INFO: Account Balance End.
[2025-01-12 20:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:05:04] Production.INFO: ==15318== Releasing lock...
[2025-01-12 20:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:05:05
[end_date_ymd] => 2025-01-12 20:05:05
[RateCDR] => 1
)
[2025-01-12 20:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:05:05' and `end` < '2025-01-12 20:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:05:11] Production.ERROR: CronJobId end10
[2025-01-12 20:05:11] Production.INFO: ==15316== Releasing lock...
[2025-01-12 20:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:05:13] Production.INFO: call_cost start
[2025-01-12 20:05:13] Production.INFO: call_cost end
[2025-01-12 20:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:05:13] Production.INFO: ==15312== Releasing lock...
[2025-01-12 20:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:05:19] Production.INFO: count ==1470
[2025-01-12 20:05:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:05:05 - End Time 2025-01-12 20:05:05
[2025-01-12 20:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233927', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233927', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233927', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233927', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:05:19] Production.INFO: ProcessCDR(1,14233927,1,1,2)
[2025-01-12 20:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233927', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233927', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:05:22] Production.INFO: ==15320== Releasing lock...
[2025-01-12 20:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:05:22] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:06:02] Production.INFO: ==15376== Lock acquired, processing the job...
[2025-01-13 01:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:06:02] Production.INFO: neon service started
[2025-01-13 01:06:02] Production.INFO: neon service started
[2025-01-13 01:06:02] Production.INFO: ==15376== Releasing lock...
[2025-01-13 01:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:06:02] Production.INFO: ==15381== Lock acquired, processing the job...
[2025-01-13 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:06:02] Production.INFO: ==15381== Releasing lock...
[2025-01-13 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:06:02] Production.INFO: ==15379== Lock acquired, processing the job...
[2025-01-12 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:06:03] Production.INFO: ==15379== Releasing lock...
[2025-01-12 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:06:03] Production.INFO: ==15383== Lock acquired, processing the job...
[2025-01-12 20:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:06:03] Production.INFO: ==15389== Lock acquired, processing the job...
[2025-01-12 20:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:06:03] Production.INFO: Account Balance Start.
[2025-01-12 20:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:06:03] Production.INFO: 117
[2025-01-12 20:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:06:03] Production.INFO: ==15393== Lock acquired, processing the job...
[2025-01-12 20:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:06:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:06:03] Production.INFO: ==15385== Lock acquired, processing the job...
[2025-01-12 20:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:06:04] Production.INFO: ==15387== Lock acquired, processing the job...
[2025-01-12 20:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:06:04] Production.INFO: count ==21
[2025-01-12 20:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:06:04] Production.INFO: count ==21
[2025-01-12 20:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233930') start
[2025-01-12 20:06:04] Production.INFO: Total Charge 0
[2025-01-12 20:06:04] Production.INFO: CreateAllLog End
[2025-01-12 20:06:04] Production.INFO: ==15391== Lock acquired, processing the job...
[2025-01-12 20:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233930') end
[2025-01-12 20:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:06:04] Production.INFO: 1
[2025-01-12 20:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:06:04] Production.INFO: ==15393== Releasing lock...
[2025-01-12 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:06:04] Production.INFO: ==15385== Releasing lock...
[2025-01-12 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:06:04] Production.INFO: Account Balance End.
[2025-01-12 20:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:06:04] Production.INFO: ==15389== Releasing lock...
[2025-01-12 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:06:04] Production.ERROR: done
[2025-01-12 20:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:06:04] Production.ERROR: done
[2025-01-12 20:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:06:05
[end_date_ymd] => 2025-01-12 20:06:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:06:05' and `end` < '2025-01-12 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-12 20:06:11] Production.ERROR: CronJobId end10
[2025-01-12 20:06:11] Production.INFO: ==15387== Releasing lock...
[2025-01-12 20:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:06:12] Production.INFO: call_cost start
[2025-01-12 20:06:12] Production.INFO: call_cost end
[2025-01-12 20:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:06:13] Production.INFO: ==15383== Releasing lock...
[2025-01-12 20:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:06:19] Production.INFO: count ==1469
[2025-01-12 20:06:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:06:05 - End Time 2025-01-12 20:06:05
[2025-01-12 20:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233932', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233932', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233932', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233932', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:06:19] Production.INFO: ProcessCDR(1,14233932,1,1,2)
[2025-01-12 20:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233932', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233932', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:06:22] Production.INFO: ==15391== Releasing lock...
[2025-01-12 20:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:06:22] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:07:01] Production.INFO: ==15446== Lock acquired, processing the job...
[2025-01-13 01:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:07:01] Production.INFO: neon service started
[2025-01-13 01:07:01] Production.INFO: neon service started
[2025-01-13 01:07:01] Production.INFO: ==15446== Releasing lock...
[2025-01-13 01:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:07:02] Production.INFO: ==15449== Lock acquired, processing the job...
[2025-01-12 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:07:02] Production.INFO: ==15449== Releasing lock...
[2025-01-12 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:07:02] Production.INFO: ==15451== Lock acquired, processing the job...
[2025-01-13 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:07:02] Production.INFO: ==15451== Releasing lock...
[2025-01-13 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:07:03] Production.INFO: ==15459== Lock acquired, processing the job...
[2025-01-12 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:07:03] Production.INFO: ==15461== Lock acquired, processing the job...
[2025-01-12 20:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:07:03] Production.INFO: Account Balance Start.
[2025-01-12 20:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:07:03] Production.INFO: 117
[2025-01-12 20:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:07:03] Production.INFO: ==15453== Lock acquired, processing the job...
[2025-01-12 20:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:07:03] Production.INFO: ==15455== Lock acquired, processing the job...
[2025-01-12 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:07:03] Production.INFO: ==15457== Lock acquired, processing the job...
[2025-01-12 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:07:03] Production.INFO: ==15463== Lock acquired, processing the job...
[2025-01-12 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:07:04] Production.INFO: Total Charge 0
[2025-01-12 20:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:07:04] Production.INFO: CreateAllLog End
[2025-01-12 20:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:07:04] Production.INFO: count ==21
[2025-01-12 20:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:07:04] Production.INFO: count ==21
[2025-01-12 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233934') start
[2025-01-12 20:07:04] Production.ERROR: done
[2025-01-12 20:07:04] Production.INFO: Account Balance End.
[2025-01-12 20:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:07:04] Production.INFO: ==15459== Releasing lock...
[2025-01-12 20:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233934') end
[2025-01-12 20:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:07:04] Production.INFO: 1
[2025-01-12 20:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:07:04] Production.ERROR: done
[2025-01-12 20:07:04] Production.INFO: ==15455== Releasing lock...
[2025-01-12 20:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:07:04] Production.INFO: ==15463== Releasing lock...
[2025-01-12 20:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:07:05
[end_date_ymd] => 2025-01-12 20:07:05
[RateCDR] => 1
)
[2025-01-12 20:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:07:05' and `end` < '2025-01-12 20:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:07:11] Production.ERROR: CronJobId end10
[2025-01-12 20:07:11] Production.INFO: ==15457== Releasing lock...
[2025-01-12 20:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:07:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:07:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:07:14] Production.INFO: call_cost start
[2025-01-12 20:07:14] Production.INFO: call_cost end
[2025-01-12 20:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:07:15] Production.INFO: ==15453== Releasing lock...
[2025-01-12 20:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:07:19] Production.INFO: count ==1469
[2025-01-12 20:07:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:07:05 - End Time 2025-01-12 20:07:05
[2025-01-12 20:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233937', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233937', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233937', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233937', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:07:20] Production.INFO: ProcessCDR(1,14233937,1,1,2)
[2025-01-12 20:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233937', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233937', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:07:23] Production.INFO: ==15461== Releasing lock...
[2025-01-12 20:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:07:23] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:08:01] Production.INFO: ==15517== Lock acquired, processing the job...
[2025-01-13 01:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:08:01] Production.INFO: neon service started
[2025-01-13 01:08:01] Production.INFO: neon service started
[2025-01-13 01:08:01] Production.INFO: ==15517== Releasing lock...
[2025-01-13 01:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:08:02] Production.INFO: ==15521== Lock acquired, processing the job...
[2025-01-12 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:08:02] Production.INFO: ==15523== Lock acquired, processing the job...
[2025-01-13 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:08:02] Production.INFO: ==15523== Releasing lock...
[2025-01-13 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:08:02] Production.INFO: ==15521== Releasing lock...
[2025-01-12 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:08:03] Production.INFO: ==15528== Lock acquired, processing the job...
[2025-01-12 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:08:03] Production.INFO: ==15536== Lock acquired, processing the job...
[2025-01-12 20:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 20:08:03] Production.INFO: ==15526== Lock acquired, processing the job...
[2025-01-12 20:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:08:03] Production.INFO: ==15530== Lock acquired, processing the job...
[2025-01-12 20:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:08:03] Production.INFO: count ==21
[2025-01-12 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-12 20:08:03] Production.INFO: count ==21
[2025-01-12 20:08:03] Production.INFO: ==15528== Releasing lock...
[2025-01-12 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233939') start
[2025-01-12 20:08:03] Production.INFO: ==15532== Lock acquired, processing the job...
[2025-01-12 20:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:08:03] Production.INFO: ==15534== Lock acquired, processing the job...
[2025-01-12 20:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:08:03] Production.INFO: Account Balance Start.
[2025-01-12 20:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:08:03] Production.INFO: 117
[2025-01-12 20:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233939') end
[2025-01-12 20:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:08:03] Production.INFO: 1
[2025-01-12 20:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:08:03] Production.INFO: ==15536== Releasing lock...
[2025-01-12 20:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:08:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:08:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:08:04] Production.INFO: Total Charge 0
[2025-01-12 20:08:04] Production.INFO: CreateAllLog End
[2025-01-12 20:08:04] Production.ERROR: done
[2025-01-12 20:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:08:04] Production.ERROR: done
[2025-01-12 20:08:04] Production.INFO: Account Balance End.
[2025-01-12 20:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:08:04] Production.INFO: ==15532== Releasing lock...
[2025-01-12 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:08:05
[end_date_ymd] => 2025-01-12 20:08:05
[RateCDR] => 1
)
[2025-01-12 20:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:08:05' and `end` < '2025-01-12 20:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:08:11] Production.ERROR: CronJobId end10
[2025-01-12 20:08:11] Production.INFO: ==15530== Releasing lock...
[2025-01-12 20:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:08:13] Production.INFO: call_cost start
[2025-01-12 20:08:13] Production.INFO: call_cost end
[2025-01-12 20:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:08:14] Production.INFO: ==15526== Releasing lock...
[2025-01-12 20:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:08:18] Production.INFO: count ==1469
[2025-01-12 20:08:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:08:05 - End Time 2025-01-12 20:08:05
[2025-01-12 20:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233942', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233942', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233942', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233942', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:08:18] Production.INFO: ProcessCDR(1,14233942,1,1,2)
[2025-01-12 20:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233942', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233942', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:08:21] Production.INFO: ==15534== Releasing lock...
[2025-01-12 20:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:08:21] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:09:01] Production.INFO: ==15594== Lock acquired, processing the job...
[2025-01-13 01:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:09:01] Production.INFO: neon service started
[2025-01-13 01:09:01] Production.INFO: neon service started
[2025-01-13 01:09:01] Production.INFO: ==15594== Releasing lock...
[2025-01-13 01:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:09:02] Production.INFO: ==15596== Lock acquired, processing the job...
[2025-01-12 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:09:02] Production.INFO: ==15596== Releasing lock...
[2025-01-12 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:09:02] Production.INFO: ==15598== Lock acquired, processing the job...
[2025-01-13 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:09:02] Production.INFO: ==15598== Releasing lock...
[2025-01-13 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:09:03] Production.INFO: ==15601== Lock acquired, processing the job...
[2025-01-12 20:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:09:03] Production.INFO: ==15603== Lock acquired, processing the job...
[2025-01-12 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:09:03] Production.INFO: ==15605== Lock acquired, processing the job...
[2025-01-12 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:09:03] Production.INFO: ==15607== Lock acquired, processing the job...
[2025-01-12 20:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:09:03] Production.INFO: ==15609== Lock acquired, processing the job...
[2025-01-12 20:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:09:03] Production.INFO: ==15611== Lock acquired, processing the job...
[2025-01-12 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:09:03] Production.INFO: Account Balance Start.
[2025-01-12 20:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:09:03] Production.INFO: 117
[2025-01-12 20:09:03] Production.INFO: ==15603== Releasing lock...
[2025-01-12 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:09:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:09:04] Production.INFO: count ==21
[2025-01-12 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-12 20:09:04] Production.INFO: count ==21
[2025-01-12 20:09:04] Production.ERROR: done
[2025-01-12 20:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233946') start
[2025-01-12 20:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:09:04] Production.INFO: Total Charge 0
[2025-01-12 20:09:04] Production.INFO: CreateAllLog End
[2025-01-12 20:09:04] Production.ERROR: done
[2025-01-12 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233946') end
[2025-01-12 20:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:09:04] Production.INFO: 1
[2025-01-12 20:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:09:04] Production.INFO: ==15611== Releasing lock...
[2025-01-12 20:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:09:04] Production.INFO: Account Balance End.
[2025-01-12 20:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:09:04] Production.INFO: ==15607== Releasing lock...
[2025-01-12 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:09:05
[end_date_ymd] => 2025-01-12 20:09:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:09:05' and `end` < '2025-01-12 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-12 20:09:10] Production.ERROR: CronJobId end10
[2025-01-12 20:09:10] Production.INFO: ==15605== Releasing lock...
[2025-01-12 20:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:09:13] Production.INFO: call_cost start
[2025-01-12 20:09:13] Production.INFO: call_cost end
[2025-01-12 20:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:09:13] Production.INFO: ==15601== Releasing lock...
[2025-01-12 20:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:09:18] Production.INFO: count ==1467
[2025-01-12 20:09:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:09:05 - End Time 2025-01-12 20:09:05
[2025-01-12 20:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233947', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233947', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233947', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233947', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:09:18] Production.INFO: ProcessCDR(1,14233947,1,1,2)
[2025-01-12 20:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233947', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233947', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:09:23] Production.INFO: ==15609== Releasing lock...
[2025-01-12 20:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:09:23] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:10:01] Production.INFO: ==15665== Lock acquired, processing the job...
[2025-01-13 01:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:10:01] Production.INFO: neon service started
[2025-01-13 01:10:01] Production.INFO: neon service started
[2025-01-13 01:10:01] Production.INFO: ==15665== Releasing lock...
[2025-01-13 01:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:10:02] Production.INFO: ==15667== Lock acquired, processing the job...
[2025-01-12 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:10:02] Production.INFO: ==15669== Lock acquired, processing the job...
[2025-01-13 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:10:02] Production.INFO: ==15669== Releasing lock...
[2025-01-13 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:10:02] Production.INFO: ==15667== Releasing lock...
[2025-01-12 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:10:03] Production.INFO: ==15678== Lock acquired, processing the job...
[2025-01-12 20:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:10:03] Production.INFO: ==15682== Lock acquired, processing the job...
[2025-01-12 20:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:10:03] Production.INFO: ==15680== Lock acquired, processing the job...
[2025-01-12 20:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:10:03] Production.INFO: ==15672== Lock acquired, processing the job...
[2025-01-12 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 20:10:03] Production.INFO: ==15674== Lock acquired, processing the job...
[2025-01-12 20:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:10:03] Production.INFO: ==15676== Lock acquired, processing the job...
[2025-01-12 20:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:10:03] Production.INFO: Account Balance Start.
[2025-01-12 20:10:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:10:03] Production.INFO: 117
[2025-01-12 20:10:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 20:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 20:10:03] Production.ERROR: CronJob PID - 15674
[2025-01-12 20:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 20:10:03] Production.ERROR: CronJob ID - 5
[2025-01-12 20:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 20:10:00
[2025-01-12 20:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 20:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 20:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 20:10:03] Production.ERROR: CronJob PID - 15678
[2025-01-12 20:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 20:10:03] Production.ERROR: CronJob ID - 10
[2025-01-12 20:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 20:10:00
[2025-01-12 20:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 20:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 20:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 20:10:03] Production.ERROR: CronJob PID - 15680
[2025-01-12 20:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 20:10:03] Production.ERROR: CronJob ID - 12
[2025-01-12 20:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 20:10:00
[2025-01-12 20:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 20:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 20:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 20:10:03] Production.ERROR: CronJob PID - 15682
[2025-01-12 20:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 20:10:03] Production.ERROR: CronJob ID - 16
[2025-01-12 20:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 20:10:00
[2025-01-12 20:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 20:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 20:10:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:10:03] Production.INFO: ==15684== Lock acquired, processing the job...
[2025-01-12 20:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 20:10:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:10:03] Production.INFO: ==15686== Lock acquired, processing the job...
[2025-01-12 20:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 20:10:03] Production.INFO: ==15672== Releasing lock...
[2025-01-12 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 20:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 20:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:10:04] Production.ERROR: done
[2025-01-12 20:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:10:04] Production.ERROR: done
[2025-01-12 20:10:04] Production.INFO: Total Charge 0
[2025-01-12 20:10:04] Production.INFO: CreateAllLog End
[2025-01-12 20:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:10:04] Production.INFO: count ==21
[2025-01-12 20:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:10:04] Production.INFO: count ==21
[2025-01-12 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233951') start
[2025-01-12 20:10:04] Production.ERROR: done
[2025-01-12 20:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 20:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233953', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233951') end
[2025-01-12 20:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:10:04] Production.INFO: 1
[2025-01-12 20:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:10:04] Production.INFO: Account Balance End.
[2025-01-12 20:10:04] Production.INFO: ==15686== Releasing lock...
[2025-01-12 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:10:04] Production.INFO: ==15676== Releasing lock...
[2025-01-12 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:10:04] Production.INFO: ==15680== Releasing lock...
[2025-01-12 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:10:05
[end_date_ymd] => 2025-01-12 20:10:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:10:05' and `end` < '2025-01-12 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-12 20:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14233953', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 20:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 20:10:08] Production.INFO: ProcessCDR(1,14233953,1,1,2)
[2025-01-12 20:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14233953,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14233953,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:10:08] Production.INFO: ==15684== Releasing lock...
[2025-01-12 20:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 20:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 20:10:12] Production.ERROR: CronJobId end10
[2025-01-12 20:10:12] Production.INFO: ==15678== Releasing lock...
[2025-01-12 20:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:10:14] Production.INFO: call_cost start
[2025-01-12 20:10:14] Production.INFO: call_cost end
[2025-01-12 20:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:10:15] Production.INFO: ==15674== Releasing lock...
[2025-01-12 20:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:10:18] Production.INFO: count ==1466
[2025-01-12 20:10:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:10:05 - End Time 2025-01-12 20:10:05
[2025-01-12 20:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233952', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233952', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233952', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233952', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:10:19] Production.INFO: ProcessCDR(1,14233952,1,1,2)
[2025-01-12 20:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233952', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233952', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:10:22] Production.INFO: ==15682== Releasing lock...
[2025-01-12 20:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:10:22] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:11:01] Production.INFO: ==15740== Lock acquired, processing the job...
[2025-01-13 01:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:11:01] Production.INFO: neon service started
[2025-01-13 01:11:01] Production.INFO: neon service started
[2025-01-13 01:11:01] Production.INFO: ==15740== Releasing lock...
[2025-01-13 01:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:11:02] Production.INFO: ==15742== Lock acquired, processing the job...
[2025-01-12 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:11:02] Production.INFO: ==15744== Lock acquired, processing the job...
[2025-01-13 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:11:02] Production.INFO: ==15742== Releasing lock...
[2025-01-12 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:11:02] Production.INFO: ==15744== Releasing lock...
[2025-01-13 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:11:03] Production.INFO: ==15754== Lock acquired, processing the job...
[2025-01-12 20:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:11:03] Production.INFO: ==15756== Lock acquired, processing the job...
[2025-01-12 20:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:11:03] Production.INFO: ==15746== Lock acquired, processing the job...
[2025-01-12 20:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:11:03] Production.INFO: ==15748== Lock acquired, processing the job...
[2025-01-12 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:11:03] Production.INFO: ==15750== Lock acquired, processing the job...
[2025-01-12 20:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-12 20:11:03] Production.INFO: ==15752== Lock acquired, processing the job...
[2025-01-12 20:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:11:03] Production.INFO: count ==21
[2025-01-12 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-12 20:11:03] Production.INFO: count ==21
[2025-01-12 20:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233954') start
[2025-01-12 20:11:03] Production.INFO: Account Balance Start.
[2025-01-12 20:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:11:03] Production.INFO: 117
[2025-01-12 20:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:11:03] Production.ERROR: done
[2025-01-12 20:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233954') end
[2025-01-12 20:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:11:03] Production.INFO: 1
[2025-01-12 20:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:11:03] Production.INFO: ==15748== Releasing lock...
[2025-01-12 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:11:03] Production.ERROR: done
[2025-01-12 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:11:03] Production.INFO: ==15756== Releasing lock...
[2025-01-12 20:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:11:03] Production.INFO: Total Charge 0
[2025-01-12 20:11:03] Production.INFO: CreateAllLog End
[2025-01-12 20:11:03] Production.INFO: Account Balance End.
[2025-01-12 20:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:11:04] Production.INFO: ==15752== Releasing lock...
[2025-01-12 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:11:04
[end_date_ymd] => 2025-01-12 20:11:04
[RateCDR] => 1
)
[2025-01-12 20:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:11:04' and `end` < '2025-01-12 20:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:11:10] Production.ERROR: CronJobId end10
[2025-01-12 20:11:10] Production.INFO: ==15750== Releasing lock...
[2025-01-12 20:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:11:12] Production.INFO: call_cost start
[2025-01-12 20:11:12] Production.INFO: call_cost end
[2025-01-12 20:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:11:13] Production.INFO: ==15746== Releasing lock...
[2025-01-12 20:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:11:18] Production.INFO: count ==1445
[2025-01-12 20:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:11:04 - End Time 2025-01-12 20:11:04
[2025-01-12 20:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233958', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233958', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233958', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233958', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:11:18] Production.INFO: ProcessCDR(1,14233958,1,1,2)
[2025-01-12 20:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233958', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233958', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:11:23] Production.INFO: ==15754== Releasing lock...
[2025-01-12 20:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:11:23] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:12:02] Production.INFO: ==15811== Lock acquired, processing the job...
[2025-01-13 01:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:12:02] Production.INFO: neon service started
[2025-01-13 01:12:02] Production.INFO: neon service started
[2025-01-13 01:12:02] Production.INFO: ==15811== Releasing lock...
[2025-01-13 01:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:12:02] Production.INFO: ==15814== Lock acquired, processing the job...
[2025-01-12 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:12:02] Production.INFO: ==15814== Releasing lock...
[2025-01-12 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:12:02] Production.INFO: ==15816== Lock acquired, processing the job...
[2025-01-13 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:12:03] Production.INFO: ==15816== Releasing lock...
[2025-01-13 01:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:12:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:12:03] Production.INFO: ==15820== Lock acquired, processing the job...
[2025-01-12 20:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:12:03] Production.INFO: ==15828== Lock acquired, processing the job...
[2025-01-12 20:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:12:03] Production.INFO: ==15818== Lock acquired, processing the job...
[2025-01-12 20:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 20:12:03] Production.INFO: count ==21
[2025-01-12 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-12 20:12:03] Production.INFO: count ==21
[2025-01-12 20:12:03] Production.INFO: ==15820== Releasing lock...
[2025-01-12 20:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233960') start
[2025-01-12 20:12:03] Production.INFO: ==15822== Lock acquired, processing the job...
[2025-01-12 20:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:12:03] Production.INFO: ==15824== Lock acquired, processing the job...
[2025-01-12 20:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:12:04] Production.INFO: ==15826== Lock acquired, processing the job...
[2025-01-12 20:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233960') end
[2025-01-12 20:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:12:04] Production.INFO: 1
[2025-01-12 20:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:12:04] Production.INFO: Account Balance Start.
[2025-01-12 20:12:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:12:04] Production.INFO: 117
[2025-01-12 20:12:04] Production.INFO: ==15828== Releasing lock...
[2025-01-12 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:12:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:12:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:12:04] Production.ERROR: done
[2025-01-12 20:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:12:04] Production.ERROR: done
[2025-01-12 20:12:04] Production.INFO: Total Charge 0
[2025-01-12 20:12:04] Production.INFO: CreateAllLog End
[2025-01-12 20:12:04] Production.INFO: Account Balance End.
[2025-01-12 20:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:12:04] Production.INFO: ==15824== Releasing lock...
[2025-01-12 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:12:05
[end_date_ymd] => 2025-01-12 20:12:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:12:05' and `end` < '2025-01-12 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-12 20:12:12] Production.ERROR: CronJobId end10
[2025-01-12 20:12:12] Production.INFO: ==15822== Releasing lock...
[2025-01-12 20:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:12:15] Production.INFO: call_cost start
[2025-01-12 20:12:15] Production.INFO: call_cost end
[2025-01-12 20:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:12:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:12:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:12:16] Production.INFO: ==15818== Releasing lock...
[2025-01-12 20:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:12:19] Production.INFO: count ==1442
[2025-01-12 20:12:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:12:05 - End Time 2025-01-12 20:12:05
[2025-01-12 20:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233963', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233963', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233963', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233963', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:12:19] Production.INFO: ProcessCDR(1,14233963,1,1,2)
[2025-01-12 20:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233963', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233963', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:12:22] Production.INFO: ==15826== Releasing lock...
[2025-01-12 20:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:12:22] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 01:13:01] Production.INFO: ==15883== Lock acquired, processing the job...
[2025-01-13 01:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:13:01] Production.INFO: neon service started
[2025-01-13 01:13:01] Production.INFO: neon service started
[2025-01-13 01:13:01] Production.INFO: ==15883== Releasing lock...
[2025-01-13 01:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:13:02] Production.INFO: ==15885== Lock acquired, processing the job...
[2025-01-12 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:13:02] Production.INFO: ==15887== Lock acquired, processing the job...
[2025-01-13 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:13:02] Production.INFO: ==15887== Releasing lock...
[2025-01-13 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:13:02] Production.INFO: ==15885== Releasing lock...
[2025-01-12 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:13:03] Production.INFO: ==15890== Lock acquired, processing the job...
[2025-01-12 20:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:13:03] Production.INFO: ==15894== Lock acquired, processing the job...
[2025-01-12 20:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:13:03] Production.INFO: ==15898== Lock acquired, processing the job...
[2025-01-12 20:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:13:03] Production.INFO: ==15896== Lock acquired, processing the job...
[2025-01-12 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:13:03] Production.INFO: ==15892== Lock acquired, processing the job...
[2025-01-12 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:13:03] Production.ERROR: done
[2025-01-12 20:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:13:03] Production.INFO: Account Balance Start.
[2025-01-12 20:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:13:03] Production.INFO: 117
[2025-01-12 20:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:13:03] Production.INFO: ==15900== Lock acquired, processing the job...
[2025-01-12 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:13:03] Production.ERROR: done
[2025-01-12 20:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:13:03] Production.INFO: ==15892== Releasing lock...
[2025-01-12 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:13:04] Production.INFO: count ==21
[2025-01-12 20:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:13:04] Production.INFO: count ==21
[2025-01-12 20:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233967') start
[2025-01-12 20:13:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233967') end
[2025-01-12 20:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:13:04] Production.INFO: 1
[2025-01-12 20:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:13:04] Production.INFO: Total Charge 0
[2025-01-12 20:13:04] Production.INFO: CreateAllLog End
[2025-01-12 20:13:04] Production.INFO: ==15900== Releasing lock...
[2025-01-12 20:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:13:04] Production.INFO: Account Balance End.
[2025-01-12 20:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:13:04] Production.INFO: ==15896== Releasing lock...
[2025-01-12 20:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:13:05
[end_date_ymd] => 2025-01-12 20:13:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:13:05' and `end` < '2025-01-12 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-12 20:13:10] Production.ERROR: CronJobId end10
[2025-01-12 20:13:10] Production.INFO: ==15894== Releasing lock...
[2025-01-12 20:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:13:12] Production.INFO: call_cost start
[2025-01-12 20:13:12] Production.INFO: call_cost end
[2025-01-12 20:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:13:13] Production.INFO: ==15890== Releasing lock...
[2025-01-12 20:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:13:18] Production.INFO: count ==1436
[2025-01-12 20:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:13:05 - End Time 2025-01-12 20:13:05
[2025-01-12 20:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233968', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233968', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233968', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233968', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:13:18] Production.INFO: ProcessCDR(1,14233968,1,1,2)
[2025-01-12 20:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233968', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233968', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:13:21] Production.INFO: ==15898== Releasing lock...
[2025-01-12 20:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:13:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 01:14:02] Production.INFO: ==15956== Lock acquired, processing the job...
[2025-01-13 01:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:14:02] Production.INFO: neon service started
[2025-01-13 01:14:02] Production.INFO: neon service started
[2025-01-13 01:14:02] Production.INFO: ==15956== Releasing lock...
[2025-01-13 01:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:14:02] Production.INFO: ==15958== Lock acquired, processing the job...
[2025-01-12 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:14:02] Production.INFO: ==15958== Releasing lock...
[2025-01-12 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:14:02] Production.INFO: ==15960== Lock acquired, processing the job...
[2025-01-13 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:14:02] Production.INFO: ==15960== Releasing lock...
[2025-01-13 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:14:03] Production.INFO: ==15963== Lock acquired, processing the job...
[2025-01-12 20:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:14:03] Production.INFO: ==15973== Lock acquired, processing the job...
[2025-01-12 20:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:14:03] Production.INFO: count ==21
[2025-01-12 20:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:14:03] Production.INFO: count ==21
[2025-01-12 20:14:03] Production.INFO: ==15965== Lock acquired, processing the job...
[2025-01-12 20:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233969') start
[2025-01-12 20:14:03] Production.INFO: ==15969== Lock acquired, processing the job...
[2025-01-12 20:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:14:03] Production.INFO: ==15967== Lock acquired, processing the job...
[2025-01-12 20:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233969') end
[2025-01-12 20:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:14:03] Production.INFO: 1
[2025-01-12 20:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:14:03] Production.INFO: ==15971== Lock acquired, processing the job...
[2025-01-12 20:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:14:03] Production.INFO: ==15973== Releasing lock...
[2025-01-12 20:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:14:04] Production.INFO: Account Balance Start.
[2025-01-12 20:14:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:14:04] Production.INFO: 117
[2025-01-12 20:14:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:14:04] Production.INFO: ==15965== Releasing lock...
[2025-01-12 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:14:04] Production.ERROR: done
[2025-01-12 20:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:14:04] Production.INFO: Total Charge 0
[2025-01-12 20:14:04] Production.INFO: CreateAllLog End
[2025-01-12 20:14:04] Production.ERROR: done
[2025-01-12 20:14:04] Production.INFO: Account Balance End.
[2025-01-12 20:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:14:04] Production.INFO: ==15969== Releasing lock...
[2025-01-12 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:14:05
[end_date_ymd] => 2025-01-12 20:14:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:14:05' and `end` < '2025-01-12 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-12 20:14:10] Production.ERROR: CronJobId end10
[2025-01-12 20:14:10] Production.INFO: ==15967== Releasing lock...
[2025-01-12 20:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:14:13] Production.INFO: call_cost start
[2025-01-12 20:14:13] Production.INFO: call_cost end
[2025-01-12 20:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:14:14] Production.INFO: ==15963== Releasing lock...
[2025-01-12 20:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:14:18] Production.INFO: count ==1433
[2025-01-12 20:14:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:14:05 - End Time 2025-01-12 20:14:05
[2025-01-12 20:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233973', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233973', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233973', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233973', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:14:19] Production.INFO: ProcessCDR(1,14233973,1,1,2)
[2025-01-12 20:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233973', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233973', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:14:22] Production.INFO: ==15971== Releasing lock...
[2025-01-12 20:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:14:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 01:15:01] Production.INFO: ==16028== Lock acquired, processing the job...
[2025-01-13 01:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:15:01] Production.INFO: neon service started
[2025-01-13 01:15:01] Production.INFO: neon service started
[2025-01-13 01:15:01] Production.INFO: ==16028== Releasing lock...
[2025-01-13 01:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:15:02] Production.INFO: ==16032== Lock acquired, processing the job...
[2025-01-13 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:15:02] Production.INFO: ==16032== Releasing lock...
[2025-01-13 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:15:02] Production.INFO: ==16030== Lock acquired, processing the job...
[2025-01-12 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:15:02] Production.INFO: ==16030== Releasing lock...
[2025-01-12 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:15:03] Production.INFO: ==16037== Lock acquired, processing the job...
[2025-01-12 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:15:03] Production.INFO: ==16035== Lock acquired, processing the job...
[2025-01-12 20:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:15:03] Production.INFO: ==16045== Lock acquired, processing the job...
[2025-01-12 20:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:15:03] Production.INFO: ==16039== Lock acquired, processing the job...
[2025-01-12 20:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:15:03] Production.INFO: ==16037== Releasing lock...
[2025-01-12 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:15:03] Production.INFO: ==16041== Lock acquired, processing the job...
[2025-01-12 20:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:15:03] Production.INFO: ==16043== Lock acquired, processing the job...
[2025-01-12 20:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:15:03] Production.INFO: Account Balance Start.
[2025-01-12 20:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:15:03] Production.INFO: count ==21
[2025-01-12 20:15:03] Production.INFO: 117
[2025-01-12 20:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:15:03] Production.INFO: count ==21
[2025-01-12 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233976') start
[2025-01-12 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233976') end
[2025-01-12 20:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:15:04] Production.INFO: 1
[2025-01-12 20:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:15:04] Production.INFO: ==16045== Releasing lock...
[2025-01-12 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:15:04] Production.INFO: Total Charge 0
[2025-01-12 20:15:04] Production.INFO: CreateAllLog End
[2025-01-12 20:15:04] Production.ERROR: done
[2025-01-12 20:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:15:04] Production.INFO: Account Balance End.
[2025-01-12 20:15:04] Production.ERROR: done
[2025-01-12 20:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:15:04] Production.INFO: ==16041== Releasing lock...
[2025-01-12 20:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:15:05
[end_date_ymd] => 2025-01-12 20:15:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:15:05' and `end` < '2025-01-12 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-12 20:15:11] Production.ERROR: CronJobId end10
[2025-01-12 20:15:11] Production.INFO: ==16039== Releasing lock...
[2025-01-12 20:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:15:12] Production.INFO: call_cost start
[2025-01-12 20:15:12] Production.INFO: call_cost end
[2025-01-12 20:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:15:13] Production.INFO: ==16035== Releasing lock...
[2025-01-12 20:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:15:20] Production.INFO: count ==1430
[2025-01-12 20:15:20] Production.ERROR: pbx CDR StartTime 2025-01-12 17:15:05 - End Time 2025-01-12 20:15:05
[2025-01-12 20:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233978', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233978', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233978', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233978', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:15:20] Production.INFO: ProcessCDR(1,14233978,1,1,2)
[2025-01-12 20:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:15:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:15:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233978', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233978', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:15:24] Production.INFO: ==16043== Releasing lock...
[2025-01-12 20:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:15:24] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 01:16:02] Production.INFO: ==16138== Lock acquired, processing the job...
[2025-01-13 01:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:16:02] Production.INFO: neon service started
[2025-01-13 01:16:02] Production.INFO: neon service started
[2025-01-13 01:16:02] Production.INFO: ==16138== Releasing lock...
[2025-01-13 01:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:16:02] Production.INFO: ==16141== Lock acquired, processing the job...
[2025-01-12 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:16:02] Production.INFO: ==16141== Releasing lock...
[2025-01-12 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:16:02] Production.INFO: ==16143== Lock acquired, processing the job...
[2025-01-13 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:16:02] Production.INFO: ==16143== Releasing lock...
[2025-01-13 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:16:03] Production.INFO: ==16145== Lock acquired, processing the job...
[2025-01-12 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:16:03] Production.INFO: ==16147== Lock acquired, processing the job...
[2025-01-12 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:16:03] Production.INFO: ==16151== Lock acquired, processing the job...
[2025-01-12 20:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:16:03] Production.INFO: ==16155== Lock acquired, processing the job...
[2025-01-12 20:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:16:03] Production.INFO: ==16149== Lock acquired, processing the job...
[2025-01-12 20:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:16:03] Production.INFO: Account Balance Start.
[2025-01-12 20:16:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:16:03] Production.INFO: 117
[2025-01-12 20:16:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:16:03] Production.INFO: ==16153== Lock acquired, processing the job...
[2025-01-12 20:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-12 20:16:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:16:03] Production.INFO: count ==21
[2025-01-12 20:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 20:16:03] Production.INFO: count ==21
[2025-01-12 20:16:03] Production.INFO: ==16147== Releasing lock...
[2025-01-12 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:16:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233982') start
[2025-01-12 20:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233982') end
[2025-01-12 20:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:16:04] Production.INFO: 1
[2025-01-12 20:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:16:04] Production.INFO: Total Charge 0
[2025-01-12 20:16:04] Production.INFO: ==16155== Releasing lock...
[2025-01-12 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:16:04] Production.INFO: CreateAllLog End
[2025-01-12 20:16:04] Production.ERROR: done
[2025-01-12 20:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:16:04] Production.ERROR: done
[2025-01-12 20:16:04] Production.INFO: Account Balance End.
[2025-01-12 20:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:16:04] Production.INFO: ==16151== Releasing lock...
[2025-01-12 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:16:05
[end_date_ymd] => 2025-01-12 20:16:05
[RateCDR] => 1
)
[2025-01-12 20:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:16:05' and `end` < '2025-01-12 20:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:16:10] Production.ERROR: CronJobId end10
[2025-01-12 20:16:10] Production.INFO: ==16149== Releasing lock...
[2025-01-12 20:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:16:12] Production.INFO: call_cost start
[2025-01-12 20:16:12] Production.INFO: call_cost end
[2025-01-12 20:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:16:13] Production.INFO: ==16145== Releasing lock...
[2025-01-12 20:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:16:18] Production.INFO: count ==1430
[2025-01-12 20:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:16:05 - End Time 2025-01-12 20:16:05
[2025-01-12 20:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233983', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233983', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233983', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233983', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:16:18] Production.INFO: ProcessCDR(1,14233983,1,1,2)
[2025-01-12 20:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233983', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233983', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:16:23] Production.INFO: ==16153== Releasing lock...
[2025-01-12 20:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:16:23] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 01:17:01] Production.INFO: ==16207== Lock acquired, processing the job...
[2025-01-13 01:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:17:01] Production.INFO: neon service started
[2025-01-13 01:17:01] Production.INFO: neon service started
[2025-01-13 01:17:01] Production.INFO: ==16207== Releasing lock...
[2025-01-13 01:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:17:02] Production.INFO: ==16209== Lock acquired, processing the job...
[2025-01-12 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:17:02] Production.INFO: ==16211== Lock acquired, processing the job...
[2025-01-13 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:17:02] Production.INFO: ==16211== Releasing lock...
[2025-01-13 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:17:02] Production.INFO: ==16209== Releasing lock...
[2025-01-12 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:17:03] Production.INFO: ==16218== Lock acquired, processing the job...
[2025-01-12 20:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:17:03] Production.INFO: ==16220== Lock acquired, processing the job...
[2025-01-12 20:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:17:03] Production.INFO: ==16222== Lock acquired, processing the job...
[2025-01-12 20:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:17:03] Production.INFO: ==16216== Lock acquired, processing the job...
[2025-01-12 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:17:03] Production.INFO: Account Balance Start.
[2025-01-12 20:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:17:03] Production.INFO: 117
[2025-01-12 20:17:03] Production.INFO: ==16214== Lock acquired, processing the job...
[2025-01-12 20:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:17:03] Production.INFO: ==16224== Lock acquired, processing the job...
[2025-01-12 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:17:03] Production.ERROR: done
[2025-01-12 20:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:17:03] Production.INFO: ==16216== Releasing lock...
[2025-01-12 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:17:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 20:17:03] Production.INFO: Total Charge 0
[2025-01-12 20:17:03] Production.INFO: CreateAllLog End
[2025-01-12 20:17:03] Production.INFO: count ==21
[2025-01-12 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-12 20:17:03] Production.INFO: count ==21
[2025-01-12 20:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233986') start
[2025-01-12 20:17:03] Production.ERROR: done
[2025-01-12 20:17:04] Production.INFO: Account Balance End.
[2025-01-12 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233986') end
[2025-01-12 20:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:17:04] Production.INFO: 1
[2025-01-12 20:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:17:04] Production.INFO: ==16220== Releasing lock...
[2025-01-12 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:17:04] Production.INFO: ==16224== Releasing lock...
[2025-01-12 20:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:17:04
[end_date_ymd] => 2025-01-12 20:17:04
[RateCDR] => 1
)
[2025-01-12 20:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:17:04' and `end` < '2025-01-12 20:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:17:10] Production.ERROR: CronJobId end10
[2025-01-12 20:17:10] Production.INFO: ==16218== Releasing lock...
[2025-01-12 20:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:17:12] Production.INFO: call_cost start
[2025-01-12 20:17:12] Production.INFO: call_cost end
[2025-01-12 20:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:17:13] Production.INFO: ==16214== Releasing lock...
[2025-01-12 20:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:17:18] Production.INFO: count ==1433
[2025-01-12 20:17:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:17:04 - End Time 2025-01-12 20:17:04
[2025-01-12 20:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233988', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233988', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233988', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233988', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:17:18] Production.INFO: ProcessCDR(1,14233988,1,1,2)
[2025-01-12 20:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233988', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233988', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:17:21] Production.INFO: ==16222== Releasing lock...
[2025-01-12 20:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:17:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 01:18:01] Production.INFO: ==16295== Lock acquired, processing the job...
[2025-01-13 01:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:18:01] Production.INFO: neon service started
[2025-01-13 01:18:01] Production.INFO: neon service started
[2025-01-13 01:18:01] Production.INFO: ==16295== Releasing lock...
[2025-01-13 01:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:18:02] Production.INFO: ==16299== Lock acquired, processing the job...
[2025-01-13 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:18:02] Production.INFO: ==16299== Releasing lock...
[2025-01-13 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:18:02] Production.INFO: ==16297== Lock acquired, processing the job...
[2025-01-12 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:18:02] Production.INFO: ==16297== Releasing lock...
[2025-01-12 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:18:03] Production.INFO: ==16303== Lock acquired, processing the job...
[2025-01-12 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:18:03] Production.INFO: ==16301== Lock acquired, processing the job...
[2025-01-12 20:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:18:03] Production.INFO: ==16305== Lock acquired, processing the job...
[2025-01-12 20:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:18:03] Production.INFO: ==16307== Lock acquired, processing the job...
[2025-01-12 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:18:03] Production.INFO: ==16311== Lock acquired, processing the job...
[2025-01-12 20:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:18:03] Production.INFO: ==16309== Lock acquired, processing the job...
[2025-01-12 20:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-12 20:18:03] Production.INFO: ==16303== Releasing lock...
[2025-01-12 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:18:04] Production.INFO: Account Balance Start.
[2025-01-12 20:18:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:18:04] Production.INFO: 117
[2025-01-12 20:18:04] Production.INFO: count ==21
[2025-01-12 20:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:18:04] Production.INFO: count ==21
[2025-01-12 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233992') start
[2025-01-12 20:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14233992') end
[2025-01-12 20:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:18:04] Production.INFO: 1
[2025-01-12 20:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:18:04] Production.INFO: ==16311== Releasing lock...
[2025-01-12 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:18:04] Production.ERROR: done
[2025-01-12 20:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:18:04] Production.INFO: Total Charge 0
[2025-01-12 20:18:04] Production.INFO: CreateAllLog End
[2025-01-12 20:18:04] Production.ERROR: done
[2025-01-12 20:18:04] Production.INFO: Account Balance End.
[2025-01-12 20:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:18:04] Production.INFO: ==16307== Releasing lock...
[2025-01-12 20:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:18:05
[end_date_ymd] => 2025-01-12 20:18:05
[RateCDR] => 1
)
[2025-01-12 20:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:18:05' and `end` < '2025-01-12 20:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:18:11] Production.ERROR: CronJobId end10
[2025-01-12 20:18:11] Production.INFO: ==16305== Releasing lock...
[2025-01-12 20:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:18:13] Production.INFO: call_cost start
[2025-01-12 20:18:13] Production.INFO: call_cost end
[2025-01-12 20:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:18:14] Production.INFO: ==16301== Releasing lock...
[2025-01-12 20:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:18:18] Production.INFO: count ==1431
[2025-01-12 20:18:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:18:05 - End Time 2025-01-12 20:18:05
[2025-01-12 20:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233993', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233993', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233993', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233993', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:18:19] Production.INFO: ProcessCDR(1,14233993,1,1,2)
[2025-01-12 20:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233993', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233993', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:18:22] Production.INFO: ==16309== Releasing lock...
[2025-01-12 20:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:18:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 01:19:01] Production.INFO: ==16373== Lock acquired, processing the job...
[2025-01-13 01:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:19:01] Production.INFO: neon service started
[2025-01-13 01:19:01] Production.INFO: neon service started
[2025-01-13 01:19:01] Production.INFO: ==16373== Releasing lock...
[2025-01-13 01:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:19:01] Production.INFO: ==16377== Lock acquired, processing the job...
[2025-01-13 01:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:19:01] Production.INFO: ==16377== Releasing lock...
[2025-01-13 01:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:19:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:19:01] Production.INFO: ==16375== Lock acquired, processing the job...
[2025-01-12 20:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:19:02] Production.INFO: ==16375== Releasing lock...
[2025-01-12 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:19:02] Production.INFO: ==16382== Lock acquired, processing the job...
[2025-01-12 20:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:19:03] Production.INFO: ==16384== Lock acquired, processing the job...
[2025-01-12 20:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:19:03] Production.INFO: ==16380== Lock acquired, processing the job...
[2025-01-12 20:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:19:03] Production.INFO: ==16390== Lock acquired, processing the job...
[2025-01-12 20:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:19:03] Production.INFO: ==16386== Lock acquired, processing the job...
[2025-01-12 20:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:19:03] Production.INFO: ==16388== Lock acquired, processing the job...
[2025-01-12 20:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:19:03] Production.INFO: Account Balance Start.
[2025-01-12 20:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:19:03] Production.INFO: 117
[2025-01-12 20:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 20:19:03] Production.INFO: ==16382== Releasing lock...
[2025-01-12 20:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:19:03] Production.INFO: count ==21
[2025-01-12 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-12 20:19:03] Production.INFO: count ==21
[2025-01-12 20:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233996') start
[2025-01-12 20:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14233996') end
[2025-01-12 20:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:19:03] Production.INFO: 1
[2025-01-12 20:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:19:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:19:03] Production.INFO: ==16390== Releasing lock...
[2025-01-12 20:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:19:03] Production.ERROR: done
[2025-01-12 20:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:19:03] Production.INFO: Total Charge 0
[2025-01-12 20:19:03] Production.INFO: CreateAllLog End
[2025-01-12 20:19:03] Production.ERROR: done
[2025-01-12 20:19:03] Production.INFO: Account Balance End.
[2025-01-12 20:19:03] Production.ERROR: CronJobId end 12
[2025-01-12 20:19:03] Production.INFO: ==16386== Releasing lock...
[2025-01-12 20:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:19:04
[end_date_ymd] => 2025-01-12 20:19:04
[RateCDR] => 1
)
[2025-01-12 20:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:19:04' and `end` < '2025-01-12 20:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:19:10] Production.ERROR: CronJobId end10
[2025-01-12 20:19:10] Production.INFO: ==16384== Releasing lock...
[2025-01-12 20:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:19:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:19:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:19:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:19:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:19:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:19:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:19:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:19:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:19:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:19:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:19:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:19:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:19:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:19:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:19:12] Production.INFO: call_cost start
[2025-01-12 20:19:12] Production.INFO: call_cost end
[2025-01-12 20:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:19:13] Production.INFO: ==16380== Releasing lock...
[2025-01-12 20:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:19:18] Production.INFO: count ==1427
[2025-01-12 20:19:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:19:04 - End Time 2025-01-12 20:19:04
[2025-01-12 20:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233998', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14233998', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233998', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14233998', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:19:18] Production.INFO: ProcessCDR(1,14233998,1,1,2)
[2025-01-12 20:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14233998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14233998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14233998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14233998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233998', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14233998', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:19:21] Production.INFO: ==16388== Releasing lock...
[2025-01-12 20:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:19:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 01:20:01] Production.INFO: ==16452== Lock acquired, processing the job...
[2025-01-13 01:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:20:01] Production.INFO: neon service started
[2025-01-13 01:20:01] Production.INFO: neon service started
[2025-01-13 01:20:01] Production.INFO: ==16452== Releasing lock...
[2025-01-13 01:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:20:02] Production.INFO: ==16454== Lock acquired, processing the job...
[2025-01-12 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:20:02] Production.INFO: ==16456== Lock acquired, processing the job...
[2025-01-13 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:20:02] Production.INFO: ==16456== Releasing lock...
[2025-01-13 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:20:02] Production.INFO: ==16454== Releasing lock...
[2025-01-12 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:20:03] Production.INFO: ==16459== Lock acquired, processing the job...
[2025-01-12 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 20:20:03] Production.INFO: ==16461== Lock acquired, processing the job...
[2025-01-12 20:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 20:20:03] Production.INFO: ==16465== Lock acquired, processing the job...
[2025-01-12 20:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 20:20:03] Production.INFO: ==16459== Releasing lock...
[2025-01-12 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 20:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 20:20:03] Production.INFO: ==16469== Lock acquired, processing the job...
[2025-01-12 20:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:20:04] Production.INFO: ==16463== Lock acquired, processing the job...
[2025-01-12 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:20:04] Production.INFO: ==16467== Lock acquired, processing the job...
[2025-01-12 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:20:04] Production.INFO: ==16471== Lock acquired, processing the job...
[2025-01-12 20:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 20:20:04] Production.ERROR: done
[2025-01-12 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:20:04] Production.INFO: Account Balance Start.
[2025-01-12 20:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:20:04] Production.INFO: 117
[2025-01-12 20:20:04] Production.INFO: ==16473== Lock acquired, processing the job...
[2025-01-12 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:20:04] Production.INFO: count ==21
[2025-01-12 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:20:04] Production.ERROR: done
[2025-01-12 20:20:04] Production.INFO: count ==21
[2025-01-12 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234002') start
[2025-01-12 20:20:04] Production.ERROR: done
[2025-01-12 20:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 20:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234004', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 20:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:20:04] Production.INFO: Total Charge 0
[2025-01-12 20:20:04] Production.INFO: CreateAllLog End
[2025-01-12 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234002') end
[2025-01-12 20:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:20:04] Production.INFO: 1
[2025-01-12 20:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:20:04] Production.INFO: ==16463== Releasing lock...
[2025-01-12 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:20:04] Production.INFO: ==16473== Releasing lock...
[2025-01-12 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:20:04] Production.INFO: Account Balance End.
[2025-01-12 20:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:20:04] Production.INFO: ==16467== Releasing lock...
[2025-01-12 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:20:05
[end_date_ymd] => 2025-01-12 20:20:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:20:05' and `end` < '2025-01-12 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-12 20:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234004', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 20:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 20:20:08] Production.INFO: ProcessCDR(1,14234004,1,1,2)
[2025-01-12 20:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234004,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234004,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:20:08] Production.INFO: ==16471== Releasing lock...
[2025-01-12 20:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 20:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 20:20:12] Production.ERROR: CronJobId end10
[2025-01-12 20:20:12] Production.INFO: ==16465== Releasing lock...
[2025-01-12 20:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:20:15] Production.INFO: call_cost start
[2025-01-12 20:20:15] Production.INFO: call_cost end
[2025-01-12 20:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:20:16] Production.INFO: ==16461== Releasing lock...
[2025-01-12 20:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:20:19] Production.INFO: count ==1428
[2025-01-12 20:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:20:05 - End Time 2025-01-12 20:20:05
[2025-01-12 20:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234003', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234003', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234003', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234003', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:20:19] Production.INFO: ProcessCDR(1,14234003,1,1,2)
[2025-01-12 20:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234003', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234003', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:20:22] Production.INFO: ==16469== Releasing lock...
[2025-01-12 20:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:20:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-13 01:21:02] Production.INFO: ==16538== Lock acquired, processing the job...
[2025-01-13 01:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:21:02] Production.INFO: neon service started
[2025-01-13 01:21:02] Production.INFO: neon service started
[2025-01-13 01:21:02] Production.INFO: ==16538== Releasing lock...
[2025-01-13 01:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:21:02] Production.INFO: ==16540== Lock acquired, processing the job...
[2025-01-12 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:21:02] Production.INFO: ==16540== Releasing lock...
[2025-01-12 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:21:02] Production.INFO: ==16542== Lock acquired, processing the job...
[2025-01-13 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:21:02] Production.INFO: ==16542== Releasing lock...
[2025-01-13 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:21:03] Production.INFO: ==16544== Lock acquired, processing the job...
[2025-01-12 20:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:21:03] Production.INFO: ==16546== Lock acquired, processing the job...
[2025-01-12 20:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:21:03] Production.INFO: ==16548== Lock acquired, processing the job...
[2025-01-12 20:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:21:03] Production.INFO: ==16552== Lock acquired, processing the job...
[2025-01-12 20:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:21:03] Production.INFO: ==16550== Lock acquired, processing the job...
[2025-01-12 20:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:21:03] Production.INFO: ==16554== Lock acquired, processing the job...
[2025-01-12 20:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:21:03] Production.INFO: Account Balance Start.
[2025-01-12 20:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:21:03] Production.INFO: 117
[2025-01-12 20:21:04] Production.INFO: ==16546== Releasing lock...
[2025-01-12 20:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-12 20:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:21:04] Production.INFO: count ==21
[2025-01-12 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-12 20:21:04] Production.ERROR: done
[2025-01-12 20:21:04] Production.INFO: count ==21
[2025-01-12 20:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234008') start
[2025-01-12 20:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234008') end
[2025-01-12 20:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:21:04] Production.INFO: 1
[2025-01-12 20:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:21:04] Production.ERROR: done
[2025-01-12 20:21:04] Production.INFO: ==16554== Releasing lock...
[2025-01-12 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:21:04] Production.INFO: Total Charge 0
[2025-01-12 20:21:04] Production.INFO: CreateAllLog End
[2025-01-12 20:21:04] Production.INFO: Account Balance End.
[2025-01-12 20:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:21:04] Production.INFO: ==16550== Releasing lock...
[2025-01-12 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:21:05
[end_date_ymd] => 2025-01-12 20:21:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:21:05' and `end` < '2025-01-12 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-12 20:21:12] Production.ERROR: CronJobId end10
[2025-01-12 20:21:12] Production.INFO: ==16548== Releasing lock...
[2025-01-12 20:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:21:13] Production.INFO: call_cost start
[2025-01-12 20:21:13] Production.INFO: call_cost end
[2025-01-12 20:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:21:14] Production.INFO: ==16544== Releasing lock...
[2025-01-12 20:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:21:18] Production.INFO: count ==1385
[2025-01-12 20:21:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:21:05 - End Time 2025-01-12 20:21:05
[2025-01-12 20:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234009', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234009', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234009', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234009', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:21:18] Production.INFO: ProcessCDR(1,14234009,1,1,2)
[2025-01-12 20:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234009', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234009', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:21:22] Production.INFO: ==16552== Releasing lock...
[2025-01-12 20:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:21:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 01:22:01] Production.INFO: ==16638== Lock acquired, processing the job...
[2025-01-13 01:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:22:01] Production.INFO: neon service started
[2025-01-13 01:22:01] Production.INFO: neon service started
[2025-01-13 01:22:01] Production.INFO: ==16638== Releasing lock...
[2025-01-13 01:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:22:01] Production.INFO: ==16643== Lock acquired, processing the job...
[2025-01-13 01:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:22:01] Production.INFO: ==16643== Releasing lock...
[2025-01-13 01:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:22:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:22:02] Production.INFO: ==16641== Lock acquired, processing the job...
[2025-01-12 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:22:02] Production.INFO: ==16641== Releasing lock...
[2025-01-12 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:22:03] Production.INFO: ==16651== Lock acquired, processing the job...
[2025-01-12 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:22:03] Production.INFO: ==16655== Lock acquired, processing the job...
[2025-01-12 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:22:03] Production.INFO: Account Balance Start.
[2025-01-12 20:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:22:03] Production.INFO: 117
[2025-01-12 20:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-12 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:22:03] Production.INFO: ==16645== Lock acquired, processing the job...
[2025-01-12 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:22:03] Production.INFO: count ==21
[2025-01-12 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-12 20:22:03] Production.INFO: count ==21
[2025-01-12 20:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:22:03] Production.INFO: ==16647== Lock acquired, processing the job...
[2025-01-12 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234011') start
[2025-01-12 20:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:22:03] Production.INFO: ==16649== Lock acquired, processing the job...
[2025-01-12 20:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:22:03] Production.INFO: ==16653== Lock acquired, processing the job...
[2025-01-12 20:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234011') end
[2025-01-12 20:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:22:03] Production.INFO: 1
[2025-01-12 20:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:22:03] Production.INFO: ==16655== Releasing lock...
[2025-01-12 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:22:03] Production.INFO: Total Charge 0
[2025-01-12 20:22:03] Production.INFO: CreateAllLog End
[2025-01-12 20:22:03] Production.INFO: ==16647== Releasing lock...
[2025-01-12 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:22:03] Production.INFO: Account Balance End.
[2025-01-12 20:22:03] Production.ERROR: CronJobId end 12
[2025-01-12 20:22:03] Production.INFO: ==16651== Releasing lock...
[2025-01-12 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:22:03] Production.ERROR: done
[2025-01-12 20:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:22:04] Production.ERROR: done
[2025-01-12 20:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:22:05
[end_date_ymd] => 2025-01-12 20:22:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:22:05' and `end` < '2025-01-12 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-12 20:22:10] Production.ERROR: CronJobId end10
[2025-01-12 20:22:10] Production.INFO: ==16649== Releasing lock...
[2025-01-12 20:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:22:12] Production.INFO: call_cost start
[2025-01-12 20:22:12] Production.INFO: call_cost end
[2025-01-12 20:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:22:13] Production.INFO: ==16645== Releasing lock...
[2025-01-12 20:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:22:18] Production.INFO: count ==1382
[2025-01-12 20:22:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:22:05 - End Time 2025-01-12 20:22:05
[2025-01-12 20:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234014', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234014', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234014', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234014', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:22:18] Production.INFO: ProcessCDR(1,14234014,1,1,2)
[2025-01-12 20:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234014', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234014', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:22:21] Production.INFO: ==16653== Releasing lock...
[2025-01-12 20:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:22:21] Production.INFO: 38 MB #Memory Used#
[2025-01-13 01:23:01] Production.INFO: ==16737== Lock acquired, processing the job...
[2025-01-13 01:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:23:01] Production.INFO: neon service started
[2025-01-13 01:23:01] Production.INFO: neon service started
[2025-01-13 01:23:01] Production.INFO: ==16737== Releasing lock...
[2025-01-13 01:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:23:02] Production.INFO: ==16739== Lock acquired, processing the job...
[2025-01-12 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:23:02] Production.INFO: ==16741== Lock acquired, processing the job...
[2025-01-13 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:23:02] Production.INFO: ==16741== Releasing lock...
[2025-01-13 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:23:02] Production.INFO: ==16739== Releasing lock...
[2025-01-12 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:23:03] Production.INFO: ==16750== Lock acquired, processing the job...
[2025-01-12 20:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:23:03] Production.INFO: ==16754== Lock acquired, processing the job...
[2025-01-12 20:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:23:03] Production.INFO: Account Balance Start.
[2025-01-12 20:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:23:03] Production.INFO: 117
[2025-01-12 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-12 20:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:23:03] Production.INFO: count ==21
[2025-01-12 20:23:03] Production.INFO: ==16744== Lock acquired, processing the job...
[2025-01-12 20:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 20:23:03] Production.INFO: count ==21
[2025-01-12 20:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234016') start
[2025-01-12 20:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:23:04] Production.INFO: ==16748== Lock acquired, processing the job...
[2025-01-12 20:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:23:04] Production.INFO: ==16746== Lock acquired, processing the job...
[2025-01-12 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:23:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:23:04] Production.INFO: ==16752== Lock acquired, processing the job...
[2025-01-12 20:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:23:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234016') end
[2025-01-12 20:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:23:04] Production.INFO: 1
[2025-01-12 20:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:23:04] Production.INFO: ==16754== Releasing lock...
[2025-01-12 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:23:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:23:04] Production.INFO: Total Charge 0
[2025-01-12 20:23:04] Production.INFO: CreateAllLog End
[2025-01-12 20:23:04] Production.INFO: Account Balance End.
[2025-01-12 20:23:04] Production.ERROR: done
[2025-01-12 20:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:23:04] Production.INFO: ==16750== Releasing lock...
[2025-01-12 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:23:04] Production.INFO: ==16746== Releasing lock...
[2025-01-12 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:23:04] Production.ERROR: done
[2025-01-12 20:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:23:05
[end_date_ymd] => 2025-01-12 20:23:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:23:05' and `end` < '2025-01-12 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-12 20:23:11] Production.ERROR: CronJobId end10
[2025-01-12 20:23:11] Production.INFO: ==16748== Releasing lock...
[2025-01-12 20:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:23:13] Production.INFO: call_cost start
[2025-01-12 20:23:13] Production.INFO: call_cost end
[2025-01-12 20:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:23:14] Production.INFO: ==16744== Releasing lock...
[2025-01-12 20:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:23:18] Production.INFO: count ==1392
[2025-01-12 20:23:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:23:05 - End Time 2025-01-12 20:23:05
[2025-01-12 20:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234019', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234019', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234019', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234019', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:23:18] Production.INFO: ProcessCDR(1,14234019,1,1,2)
[2025-01-12 20:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234019', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234019', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:23:22] Production.INFO: ==16752== Releasing lock...
[2025-01-12 20:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:23:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 01:24:01] Production.INFO: ==16817== Lock acquired, processing the job...
[2025-01-13 01:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:24:01] Production.INFO: neon service started
[2025-01-13 01:24:01] Production.INFO: neon service started
[2025-01-13 01:24:01] Production.INFO: ==16817== Releasing lock...
[2025-01-13 01:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:24:01] Production.INFO: ==16820== Lock acquired, processing the job...
[2025-01-12 20:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:24:02] Production.INFO: ==16822== Lock acquired, processing the job...
[2025-01-13 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:24:02] Production.INFO: ==16820== Releasing lock...
[2025-01-12 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:24:02] Production.INFO: ==16822== Releasing lock...
[2025-01-13 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:24:03] Production.INFO: ==16828== Lock acquired, processing the job...
[2025-01-12 20:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:24:03] Production.INFO: ==16824== Lock acquired, processing the job...
[2025-01-12 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:24:03] Production.INFO: ==16826== Lock acquired, processing the job...
[2025-01-12 20:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:24:03] Production.INFO: ==16834== Lock acquired, processing the job...
[2025-01-12 20:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:24:03] Production.INFO: ==16830== Lock acquired, processing the job...
[2025-01-12 20:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:24:03] Production.INFO: Account Balance Start.
[2025-01-12 20:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:24:03] Production.INFO: 117
[2025-01-12 20:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:24:03] Production.INFO: ==16832== Lock acquired, processing the job...
[2025-01-12 20:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:24:03] Production.INFO: count ==21
[2025-01-12 20:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:24:03] Production.INFO: count ==21
[2025-01-12 20:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234022') start
[2025-01-12 20:24:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:24:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:24:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234022') end
[2025-01-12 20:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:24:03] Production.INFO: 1
[2025-01-12 20:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:24:03] Production.INFO: ==16834== Releasing lock...
[2025-01-12 20:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:24:03] Production.INFO: Total Charge 0
[2025-01-12 20:24:03] Production.INFO: CreateAllLog End
[2025-01-12 20:24:03] Production.INFO: ==16826== Releasing lock...
[2025-01-12 20:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:24:04] Production.ERROR: done
[2025-01-12 20:24:04] Production.INFO: Account Balance End.
[2025-01-12 20:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:24:04] Production.INFO: ==16830== Releasing lock...
[2025-01-12 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:24:04] Production.ERROR: done
[2025-01-12 20:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:24:04
[end_date_ymd] => 2025-01-12 20:24:04
[RateCDR] => 1
)
[2025-01-12 20:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:24:04' and `end` < '2025-01-12 20:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:24:12] Production.ERROR: CronJobId end10
[2025-01-12 20:24:12] Production.INFO: ==16828== Releasing lock...
[2025-01-12 20:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:24:13] Production.INFO: call_cost start
[2025-01-12 20:24:13] Production.INFO: call_cost end
[2025-01-12 20:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:24:14] Production.INFO: ==16824== Releasing lock...
[2025-01-12 20:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:24:18] Production.INFO: count ==1390
[2025-01-12 20:24:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:24:04 - End Time 2025-01-12 20:24:04
[2025-01-12 20:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234024', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234024', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234024', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234024', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:24:18] Production.INFO: ProcessCDR(1,14234024,1,1,2)
[2025-01-12 20:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234024', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234024', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:24:21] Production.INFO: ==16832== Releasing lock...
[2025-01-12 20:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:24:21] Production.INFO: 38 MB #Memory Used#
[2025-01-13 01:25:02] Production.INFO: ==16908== Lock acquired, processing the job...
[2025-01-13 01:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:25:02] Production.INFO: neon service started
[2025-01-13 01:25:02] Production.INFO: neon service started
[2025-01-13 01:25:02] Production.INFO: ==16908== Releasing lock...
[2025-01-13 01:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:25:02] Production.INFO: ==16910== Lock acquired, processing the job...
[2025-01-12 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:25:02] Production.INFO: ==16910== Releasing lock...
[2025-01-12 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:25:02] Production.INFO: ==16912== Lock acquired, processing the job...
[2025-01-13 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:25:02] Production.INFO: ==16912== Releasing lock...
[2025-01-13 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:25:03] Production.INFO: ==16914== Lock acquired, processing the job...
[2025-01-12 20:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:25:03] Production.INFO: ==16920== Lock acquired, processing the job...
[2025-01-12 20:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:25:03] Production.INFO: ==16916== Lock acquired, processing the job...
[2025-01-12 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:25:03] Production.INFO: Account Balance Start.
[2025-01-12 20:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:25:03] Production.INFO: 117
[2025-01-12 20:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:25:03] Production.INFO: ==16918== Lock acquired, processing the job...
[2025-01-12 20:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:25:03] Production.INFO: ==16922== Lock acquired, processing the job...
[2025-01-12 20:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:25:04] Production.INFO: Total Charge 0
[2025-01-12 20:25:04] Production.INFO: ==16916== Releasing lock...
[2025-01-12 20:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:25:04] Production.INFO: ==16924== Lock acquired, processing the job...
[2025-01-12 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:25:04] Production.INFO: CreateAllLog End
[2025-01-12 20:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:25:04] Production.INFO: Account Balance End.
[2025-01-12 20:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:25:04] Production.INFO: count ==21
[2025-01-12 20:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:25:04] Production.INFO: ==16920== Releasing lock...
[2025-01-12 20:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:25:04] Production.INFO: count ==21
[2025-01-12 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234028') start
[2025-01-12 20:25:04] Production.ERROR: done
[2025-01-12 20:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234028') end
[2025-01-12 20:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:25:04] Production.INFO: 1
[2025-01-12 20:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:25:04] Production.INFO: ==16924== Releasing lock...
[2025-01-12 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:25:04] Production.ERROR: done
[2025-01-12 20:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:25:05
[end_date_ymd] => 2025-01-12 20:25:05
[RateCDR] => 1
)
[2025-01-12 20:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:25:05' and `end` < '2025-01-12 20:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:25:12] Production.ERROR: CronJobId end10
[2025-01-12 20:25:12] Production.INFO: ==16918== Releasing lock...
[2025-01-12 20:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:25:13] Production.INFO: call_cost start
[2025-01-12 20:25:13] Production.INFO: call_cost end
[2025-01-12 20:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:25:14] Production.INFO: ==16914== Releasing lock...
[2025-01-12 20:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:25:18] Production.INFO: count ==1390
[2025-01-12 20:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:25:05 - End Time 2025-01-12 20:25:05
[2025-01-12 20:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234029', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234029', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234029', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234029', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:25:19] Production.INFO: ProcessCDR(1,14234029,1,1,2)
[2025-01-12 20:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234029', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234029', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:25:22] Production.INFO: ==16922== Releasing lock...
[2025-01-12 20:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:25:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 01:26:01] Production.INFO: ==17006== Lock acquired, processing the job...
[2025-01-13 01:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:26:01] Production.INFO: neon service started
[2025-01-13 01:26:01] Production.INFO: neon service started
[2025-01-13 01:26:01] Production.INFO: ==17006== Releasing lock...
[2025-01-13 01:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:26:01] Production.INFO: ==17008== Lock acquired, processing the job...
[2025-01-12 20:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:26:02] Production.INFO: ==17008== Releasing lock...
[2025-01-12 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:26:02] Production.INFO: ==17010== Lock acquired, processing the job...
[2025-01-13 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:26:02] Production.INFO: ==17010== Releasing lock...
[2025-01-13 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:26:02] Production.INFO: ==17013== Lock acquired, processing the job...
[2025-01-12 20:26:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:26:02] Production.INFO: ==17015== Lock acquired, processing the job...
[2025-01-12 20:26:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:26:03] Production.INFO: ==17019== Lock acquired, processing the job...
[2025-01-12 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:26:03] Production.INFO: Account Balance Start.
[2025-01-12 20:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:26:03] Production.INFO: 117
[2025-01-12 20:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:26:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:26:03] Production.INFO: ==17021== Lock acquired, processing the job...
[2025-01-12 20:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:26:03] Production.INFO: ==17017== Lock acquired, processing the job...
[2025-01-12 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:26:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:26:03] Production.INFO: ==17024== Lock acquired, processing the job...
[2025-01-12 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:26:03] Production.INFO: Total Charge 0
[2025-01-12 20:26:03] Production.INFO: CreateAllLog End
[2025-01-12 20:26:03] Production.INFO: ==17015== Releasing lock...
[2025-01-12 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:26:03] Production.INFO: count ==21
[2025-01-12 20:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:26:03] Production.INFO: count ==21
[2025-01-12 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234033') start
[2025-01-12 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234033') end
[2025-01-12 20:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:26:03] Production.INFO: 1
[2025-01-12 20:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:26:03] Production.INFO: ==17024== Releasing lock...
[2025-01-12 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:26:03] Production.ERROR: done
[2025-01-12 20:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:26:03] Production.INFO: Account Balance End.
[2025-01-12 20:26:03] Production.ERROR: CronJobId end 12
[2025-01-12 20:26:03] Production.INFO: ==17019== Releasing lock...
[2025-01-12 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:26:04] Production.ERROR: done
[2025-01-12 20:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:26:04
[end_date_ymd] => 2025-01-12 20:26:04
[RateCDR] => 1
)
[2025-01-12 20:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:26:04' and `end` < '2025-01-12 20:26:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:26:12] Production.ERROR: CronJobId end10
[2025-01-12 20:26:12] Production.INFO: ==17017== Releasing lock...
[2025-01-12 20:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:26:13] Production.INFO: call_cost start
[2025-01-12 20:26:13] Production.INFO: call_cost end
[2025-01-12 20:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:26:14] Production.INFO: ==17013== Releasing lock...
[2025-01-12 20:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:26:18] Production.INFO: count ==1390
[2025-01-12 20:26:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:26:04 - End Time 2025-01-12 20:26:04
[2025-01-12 20:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234034', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234034', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234034', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234034', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:26:18] Production.INFO: ProcessCDR(1,14234034,1,1,2)
[2025-01-12 20:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234034', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234034', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:26:21] Production.INFO: ==17021== Releasing lock...
[2025-01-12 20:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:26:21] Production.INFO: 38 MB #Memory Used#
[2025-01-13 01:27:01] Production.INFO: ==17103== Lock acquired, processing the job...
[2025-01-13 01:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:27:01] Production.INFO: neon service started
[2025-01-13 01:27:01] Production.INFO: neon service started
[2025-01-13 01:27:01] Production.INFO: ==17103== Releasing lock...
[2025-01-13 01:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:27:02] Production.INFO: ==17106== Lock acquired, processing the job...
[2025-01-12 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:27:02] Production.INFO: ==17106== Releasing lock...
[2025-01-12 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:27:02] Production.INFO: ==17108== Lock acquired, processing the job...
[2025-01-13 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:27:02] Production.INFO: ==17108== Releasing lock...
[2025-01-13 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:27:03] Production.INFO: ==17110== Lock acquired, processing the job...
[2025-01-12 20:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:27:03] Production.INFO: ==17112== Lock acquired, processing the job...
[2025-01-12 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:27:03] Production.INFO: ==17116== Lock acquired, processing the job...
[2025-01-12 20:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:27:03] Production.INFO: Account Balance Start.
[2025-01-12 20:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:27:03] Production.INFO: 117
[2025-01-12 20:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:27:03] Production.INFO: ==17114== Lock acquired, processing the job...
[2025-01-12 20:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:27:03] Production.INFO: ==17118== Lock acquired, processing the job...
[2025-01-12 20:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:27:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:27:03] Production.INFO: Total Charge 0
[2025-01-12 20:27:03] Production.INFO: ==17112== Releasing lock...
[2025-01-12 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:27:03] Production.INFO: CreateAllLog End
[2025-01-12 20:27:03] Production.INFO: ==17120== Lock acquired, processing the job...
[2025-01-12 20:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:27:04] Production.INFO: Account Balance End.
[2025-01-12 20:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:27:04] Production.INFO: ==17116== Releasing lock...
[2025-01-12 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:27:04] Production.ERROR: done
[2025-01-12 20:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:27:04] Production.INFO: count ==21
[2025-01-12 20:27:04] Production.ERROR: done
[2025-01-12 20:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:27:04] Production.INFO: count ==21
[2025-01-12 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234038') start
[2025-01-12 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234038') end
[2025-01-12 20:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:27:04] Production.INFO: 1
[2025-01-12 20:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:27:04] Production.INFO: ==17120== Releasing lock...
[2025-01-12 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:27:05
[end_date_ymd] => 2025-01-12 20:27:05
[RateCDR] => 1
)
[2025-01-12 20:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:27:05' and `end` < '2025-01-12 20:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:27:11] Production.ERROR: CronJobId end10
[2025-01-12 20:27:11] Production.INFO: ==17114== Releasing lock...
[2025-01-12 20:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:27:13] Production.INFO: call_cost start
[2025-01-12 20:27:13] Production.INFO: call_cost end
[2025-01-12 20:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:27:14] Production.INFO: ==17110== Releasing lock...
[2025-01-12 20:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:27:18] Production.INFO: count ==1390
[2025-01-12 20:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:27:05 - End Time 2025-01-12 20:27:05
[2025-01-12 20:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234039', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234039', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234039', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234039', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:27:18] Production.INFO: ProcessCDR(1,14234039,1,1,2)
[2025-01-12 20:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234039', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234039', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:27:21] Production.INFO: ==17118== Releasing lock...
[2025-01-12 20:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:27:21] Production.INFO: 38 MB #Memory Used#
[2025-01-13 01:28:02] Production.INFO: ==17200== Lock acquired, processing the job...
[2025-01-13 01:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:28:02] Production.INFO: neon service started
[2025-01-13 01:28:02] Production.INFO: neon service started
[2025-01-13 01:28:02] Production.INFO: ==17200== Releasing lock...
[2025-01-13 01:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:28:02] Production.INFO: ==17204== Lock acquired, processing the job...
[2025-01-13 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:28:02] Production.INFO: ==17204== Releasing lock...
[2025-01-13 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:28:02] Production.INFO: ==17202== Lock acquired, processing the job...
[2025-01-12 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:28:03] Production.INFO: ==17202== Releasing lock...
[2025-01-12 20:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:28:03] Production.INFO: ==17207== Lock acquired, processing the job...
[2025-01-12 20:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:28:03] Production.INFO: ==17209== Lock acquired, processing the job...
[2025-01-12 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:28:03] Production.INFO: ==17215== Lock acquired, processing the job...
[2025-01-12 20:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:28:04] Production.INFO: ==17211== Lock acquired, processing the job...
[2025-01-12 20:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:28:04] Production.INFO: ==17213== Lock acquired, processing the job...
[2025-01-12 20:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:28:04] Production.INFO: ==17209== Releasing lock...
[2025-01-12 20:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:28:04] Production.INFO: ==17217== Lock acquired, processing the job...
[2025-01-12 20:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:28:04] Production.INFO: Account Balance Start.
[2025-01-12 20:28:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:28:04] Production.INFO: 117
[2025-01-12 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-12 20:28:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:28:04] Production.ERROR: done
[2025-01-12 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:28:04] Production.INFO: count ==21
[2025-01-12 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-12 20:28:04] Production.INFO: count ==21
[2025-01-12 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234043') start
[2025-01-12 20:28:04] Production.ERROR: done
[2025-01-12 20:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:28:04] Production.INFO: Total Charge 0
[2025-01-12 20:28:04] Production.INFO: CreateAllLog End
[2025-01-12 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234043') end
[2025-01-12 20:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:28:04] Production.INFO: 1
[2025-01-12 20:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:28:04] Production.INFO: Account Balance End.
[2025-01-12 20:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:28:04] Production.INFO: ==17213== Releasing lock...
[2025-01-12 20:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:28:04] Production.INFO: ==17217== Releasing lock...
[2025-01-12 20:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:28:05
[end_date_ymd] => 2025-01-12 20:28:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:28:05' and `end` < '2025-01-12 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-12 20:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:28:13] Production.INFO: call_cost start
[2025-01-12 20:28:13] Production.INFO: call_cost end
[2025-01-12 20:28:13] Production.ERROR: CronJobId end10
[2025-01-12 20:28:13] Production.INFO: ==17211== Releasing lock...
[2025-01-12 20:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:28:14] Production.INFO: ==17207== Releasing lock...
[2025-01-12 20:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:28:18] Production.INFO: count ==1390
[2025-01-12 20:28:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:28:05 - End Time 2025-01-12 20:28:05
[2025-01-12 20:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234044', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234044', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234044', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234044', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:28:19] Production.INFO: ProcessCDR(1,14234044,1,1,2)
[2025-01-12 20:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234044', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234044', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:28:22] Production.INFO: ==17215== Releasing lock...
[2025-01-12 20:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:28:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 01:29:01] Production.INFO: ==17295== Lock acquired, processing the job...
[2025-01-13 01:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:29:01] Production.INFO: neon service started
[2025-01-13 01:29:01] Production.INFO: neon service started
[2025-01-13 01:29:01] Production.INFO: ==17295== Releasing lock...
[2025-01-13 01:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:29:02] Production.INFO: ==17298== Lock acquired, processing the job...
[2025-01-12 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:29:02] Production.INFO: ==17298== Releasing lock...
[2025-01-12 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:29:02] Production.INFO: ==17300== Lock acquired, processing the job...
[2025-01-13 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:29:02] Production.INFO: ==17300== Releasing lock...
[2025-01-13 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:29:03] Production.INFO: ==17303== Lock acquired, processing the job...
[2025-01-12 20:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:29:03] Production.INFO: ==17313== Lock acquired, processing the job...
[2025-01-12 20:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:29:03] Production.INFO: ==17305== Lock acquired, processing the job...
[2025-01-12 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:29:03] Production.INFO: ==17307== Lock acquired, processing the job...
[2025-01-12 20:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:29:03] Production.INFO: ==17309== Lock acquired, processing the job...
[2025-01-12 20:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 20:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:29:03] Production.INFO: ==17311== Lock acquired, processing the job...
[2025-01-12 20:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:29:03] Production.INFO: count ==21
[2025-01-12 20:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 20:29:03] Production.INFO: count ==21
[2025-01-12 20:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234046') start
[2025-01-12 20:29:03] Production.INFO: Account Balance Start.
[2025-01-12 20:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:29:03] Production.INFO: 117
[2025-01-12 20:29:03] Production.INFO: ==17305== Releasing lock...
[2025-01-12 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234046') end
[2025-01-12 20:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:29:03] Production.INFO: 1
[2025-01-12 20:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:29:03] Production.INFO: ==17313== Releasing lock...
[2025-01-12 20:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:29:04] Production.ERROR: done
[2025-01-12 20:29:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:29:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:29:04] Production.ERROR: done
[2025-01-12 20:29:04] Production.INFO: Total Charge 0
[2025-01-12 20:29:04] Production.INFO: CreateAllLog End
[2025-01-12 20:29:04] Production.INFO: Account Balance End.
[2025-01-12 20:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:29:04] Production.INFO: ==17309== Releasing lock...
[2025-01-12 20:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:29:05
[end_date_ymd] => 2025-01-12 20:29:05
[RateCDR] => 1
)
[2025-01-12 20:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:29:05' and `end` < '2025-01-12 20:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:29:10] Production.ERROR: CronJobId end10
[2025-01-12 20:29:10] Production.INFO: ==17307== Releasing lock...
[2025-01-12 20:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:29:12] Production.INFO: call_cost start
[2025-01-12 20:29:12] Production.INFO: call_cost end
[2025-01-12 20:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:29:13] Production.INFO: ==17303== Releasing lock...
[2025-01-12 20:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:29:19] Production.INFO: count ==1384
[2025-01-12 20:29:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:29:05 - End Time 2025-01-12 20:29:05
[2025-01-12 20:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234049', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234049', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234049', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234049', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:29:19] Production.INFO: ProcessCDR(1,14234049,1,1,2)
[2025-01-12 20:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234049', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234049', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:29:22] Production.INFO: ==17311== Releasing lock...
[2025-01-12 20:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:29:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 01:30:02] Production.INFO: ==17416== Lock acquired, processing the job...
[2025-01-13 01:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:30:02] Production.INFO: neon service started
[2025-01-13 01:30:02] Production.INFO: neon service started
[2025-01-13 01:30:02] Production.INFO: ==17416== Releasing lock...
[2025-01-13 01:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:30:02] Production.INFO: ==17418== Lock acquired, processing the job...
[2025-01-12 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:30:02] Production.INFO: ==17420== Lock acquired, processing the job...
[2025-01-13 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:30:02] Production.INFO: ==17420== Releasing lock...
[2025-01-13 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:30:03] Production.INFO: ==17418== Releasing lock...
[2025-01-12 20:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:30:04] Production.INFO: ==17426== Lock acquired, processing the job...
[2025-01-12 20:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:30:04] Production.INFO: ==17424== Lock acquired, processing the job...
[2025-01-12 20:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 20:30:04] Production.INFO: ==17428== Lock acquired, processing the job...
[2025-01-12 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 20:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 20:30:04] Production.ERROR: CronJob PID - 17426
[2025-01-12 20:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 20:30:04] Production.ERROR: CronJob ID - 5
[2025-01-12 20:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 20:30:00
[2025-01-12 20:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 20:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 20:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 20:30:04] Production.ERROR: CronJob PID - 17428
[2025-01-12 20:30:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 20:30:04] Production.ERROR: CronJob ID - 7
[2025-01-12 20:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 20:30:00
[2025-01-12 20:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 20:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 20:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 20:30:04] Production.INFO: ==17424== Releasing lock...
[2025-01-12 20:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 20:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 20:30:04] Production.INFO: ==17430== Lock acquired, processing the job...
[2025-01-12 20:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:30:04] Production.INFO: ==17432== Lock acquired, processing the job...
[2025-01-12 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:30:04] Production.INFO: ==17434== Lock acquired, processing the job...
[2025-01-12 20:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:30:04] Production.INFO: Account Balance Start.
[2025-01-12 20:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:30:04] Production.INFO: 117
[2025-01-12 20:30:04] Production.INFO: ==17428== Releasing lock...
[2025-01-12 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:30:04] Production.INFO: ==17436== Lock acquired, processing the job...
[2025-01-12 20:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 20:30:04] Production.INFO: ==17438== Lock acquired, processing the job...
[2025-01-12 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:30:04] Production.ERROR: done
[2025-01-12 20:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 20: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-12 20:30:05] Production.INFO: count ==21
[2025-01-12 20:30:05] Production.ERROR: done
[2025-01-12 20:30:05] Production.ERROR: done
[2025-01-12 20:30:05] Production.INFO: Date 2025-01-11
[2025-01-12 20: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-12 20:30:05] Production.INFO: count ==21
[2025-01-12 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-12 20:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 20:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234054', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 20:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234053') start
[2025-01-12 20:30:05] Production.INFO: Date 2025-01-12
[2025-01-12 20:30:05] Production.INFO: Reseller ==> 0
[2025-01-12 20:30:05] Production.INFO: Total Charge 0
[2025-01-12 20:30:05] Production.INFO: CreateAllLog End
[2025-01-12 20:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234053') end
[2025-01-12 20:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:30:05] Production.INFO: 1
[2025-01-12 20:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:30:05] Production.INFO: ==17438== Releasing lock...
[2025-01-12 20:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:30:05] Production.INFO: Account Balance End.
[2025-01-12 20:30:05] Production.ERROR: CronJobId end 12
[2025-01-12 20:30:05] Production.INFO: ==17432== Releasing lock...
[2025-01-12 20:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:30:06
[end_date_ymd] => 2025-01-12 20:30:06
[RateCDR] => 1
)
[2025-01-12 20:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:30:06' and `end` < '2025-01-12 20:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234054', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 20:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 20:30:09] Production.INFO: ProcessCDR(1,14234054,1,1,2)
[2025-01-12 20:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234054,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234054,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:30:09] Production.INFO: ==17436== Releasing lock...
[2025-01-12 20:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 20:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 20:30:14] Production.ERROR: CronJobId end10
[2025-01-12 20:30:14] Production.INFO: ==17430== Releasing lock...
[2025-01-12 20:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:30:15] Production.INFO: call_cost start
[2025-01-12 20:30:15] Production.INFO: call_cost end
[2025-01-12 20:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:30:16] Production.INFO: ==17426== Releasing lock...
[2025-01-12 20:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:30:19] Production.INFO: count ==1384
[2025-01-12 20:30:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:30:06 - End Time 2025-01-12 20:30:06
[2025-01-12 20:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234055', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234055', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234055', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234055', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:30:19] Production.INFO: ProcessCDR(1,14234055,1,1,2)
[2025-01-12 20:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234055', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234055', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:30:22] Production.INFO: ==17434== Releasing lock...
[2025-01-12 20:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:30:22] Production.INFO: 38 MB #Memory Used#
[2025-01-13 01:31:01] Production.INFO: ==17557== Lock acquired, processing the job...
[2025-01-13 01:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:31:01] Production.INFO: neon service started
[2025-01-13 01:31:01] Production.INFO: neon service started
[2025-01-13 01:31:01] Production.INFO: ==17557== Releasing lock...
[2025-01-13 01:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:31:01] Production.INFO: ==17559== Lock acquired, processing the job...
[2025-01-12 20:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:31:02] Production.INFO: ==17559== Releasing lock...
[2025-01-12 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:31:02] Production.INFO: ==17561== Lock acquired, processing the job...
[2025-01-13 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:31:02] Production.INFO: ==17561== Releasing lock...
[2025-01-13 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:31:03] Production.INFO: ==17563== Lock acquired, processing the job...
[2025-01-12 20:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:31:03] Production.INFO: ==17565== Lock acquired, processing the job...
[2025-01-12 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:31:03] Production.INFO: ==17569== Lock acquired, processing the job...
[2025-01-12 20:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:31:03] Production.INFO: ==17567== Lock acquired, processing the job...
[2025-01-12 20:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:31:03] Production.INFO: Account Balance Start.
[2025-01-12 20:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:31:03] Production.INFO: 117
[2025-01-12 20:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:31:03] Production.INFO: ==17573== Lock acquired, processing the job...
[2025-01-12 20:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:31:03] Production.INFO: ==17571== Lock acquired, processing the job...
[2025-01-12 20:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 20:31:03] Production.INFO: Total Charge 0
[2025-01-12 20:31:03] Production.INFO: CreateAllLog End
[2025-01-12 20:31:03] Production.INFO: count ==21
[2025-01-12 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-12 20:31:03] Production.INFO: count ==21
[2025-01-12 20:31:03] Production.INFO: ==17565== Releasing lock...
[2025-01-12 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234059') start
[2025-01-12 20:31:03] Production.ERROR: done
[2025-01-12 20:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234059') end
[2025-01-12 20:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:31:03] Production.INFO: 1
[2025-01-12 20:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:31:04] Production.INFO: ==17573== Releasing lock...
[2025-01-12 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:31:04] Production.INFO: Account Balance End.
[2025-01-12 20:31:04] Production.ERROR: done
[2025-01-12 20:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:31:04] Production.INFO: ==17569== Releasing lock...
[2025-01-12 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:31:04
[end_date_ymd] => 2025-01-12 20:31:04
[RateCDR] => 1
)
[2025-01-12 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-12 17:31:04' and `end` < '2025-01-12 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-12 20:31:11] Production.ERROR: CronJobId end10
[2025-01-12 20:31:11] Production.INFO: ==17567== Releasing lock...
[2025-01-12 20:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:31:12] Production.INFO: call_cost start
[2025-01-12 20:31:12] Production.INFO: call_cost end
[2025-01-12 20:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:31:13] Production.INFO: ==17563== Releasing lock...
[2025-01-12 20:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:31:18] Production.INFO: count ==1366
[2025-01-12 20:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:31:04 - End Time 2025-01-12 20:31:04
[2025-01-12 20:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234060', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234060', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234060', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234060', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:31:18] Production.INFO: ProcessCDR(1,14234060,1,1,2)
[2025-01-12 20:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234060', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234060', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:31:21] Production.INFO: ==17571== Releasing lock...
[2025-01-12 20:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:31:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:32:01] Production.INFO: ==17660== Lock acquired, processing the job...
[2025-01-13 01:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:32:02] Production.INFO: neon service started
[2025-01-13 01:32:02] Production.INFO: neon service started
[2025-01-13 01:32:02] Production.INFO: ==17660== Releasing lock...
[2025-01-13 01:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:32:02] Production.INFO: ==17664== Lock acquired, processing the job...
[2025-01-13 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:32:02] Production.INFO: ==17664== Releasing lock...
[2025-01-13 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:32:02] Production.INFO: ==17662== Lock acquired, processing the job...
[2025-01-12 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:32:02] Production.INFO: ==17662== Releasing lock...
[2025-01-12 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:32:03] Production.INFO: ==17669== Lock acquired, processing the job...
[2025-01-12 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:32:03] Production.INFO: ==17667== Lock acquired, processing the job...
[2025-01-12 20:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:32:03] Production.INFO: ==17677== Lock acquired, processing the job...
[2025-01-12 20:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 20:32:03] Production.INFO: ==17669== Releasing lock...
[2025-01-12 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:32:03] Production.INFO: ==17671== Lock acquired, processing the job...
[2025-01-12 20:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:32:03] Production.INFO: count ==21
[2025-01-12 20:32:03] Production.INFO: ==17673== Lock acquired, processing the job...
[2025-01-12 20:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 20:32:03] Production.INFO: count ==21
[2025-01-12 20:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234063') start
[2025-01-12 20:32:03] Production.INFO: ==17675== Lock acquired, processing the job...
[2025-01-12 20:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234063') end
[2025-01-12 20:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:32:03] Production.INFO: 1
[2025-01-12 20:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:32:04] Production.INFO: Account Balance Start.
[2025-01-12 20:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:32:04] Production.INFO: 117
[2025-01-12 20:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:32:04] Production.INFO: ==17677== Releasing lock...
[2025-01-12 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:32:04] Production.ERROR: done
[2025-01-12 20:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:32:04] Production.INFO: Total Charge 0
[2025-01-12 20:32:04] Production.INFO: CreateAllLog End
[2025-01-12 20:32:04] Production.ERROR: done
[2025-01-12 20:32:04] Production.INFO: Account Balance End.
[2025-01-12 20:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:32:04] Production.INFO: ==17673== Releasing lock...
[2025-01-12 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:32:05
[end_date_ymd] => 2025-01-12 20:32:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:32:05' and `end` < '2025-01-12 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-12 20:32:10] Production.ERROR: CronJobId end10
[2025-01-12 20:32:10] Production.INFO: ==17671== Releasing lock...
[2025-01-12 20:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:32:12] Production.INFO: call_cost start
[2025-01-12 20:32:12] Production.INFO: call_cost end
[2025-01-12 20:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:32:13] Production.INFO: ==17667== Releasing lock...
[2025-01-12 20:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:32:18] Production.INFO: count ==1367
[2025-01-12 20:32:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:32:05 - End Time 2025-01-12 20:32:05
[2025-01-12 20:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234065', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234065', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234065', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234065', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:32:18] Production.INFO: ProcessCDR(1,14234065,1,1,2)
[2025-01-12 20:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234065', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234065', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:32:23] Production.INFO: ==17675== Releasing lock...
[2025-01-12 20:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:32:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:33:01] Production.INFO: ==17773== Lock acquired, processing the job...
[2025-01-13 01:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:33:01] Production.INFO: neon service started
[2025-01-13 01:33:01] Production.INFO: neon service started
[2025-01-13 01:33:01] Production.INFO: ==17773== Releasing lock...
[2025-01-13 01:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:33:01] Production.INFO: ==17777== Lock acquired, processing the job...
[2025-01-13 01:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:33:01] Production.INFO: ==17777== Releasing lock...
[2025-01-13 01:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:33:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:33:01] Production.INFO: ==17775== Lock acquired, processing the job...
[2025-01-12 20:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:33:02] Production.INFO: ==17775== Releasing lock...
[2025-01-12 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:33:02] Production.INFO: ==17779== Lock acquired, processing the job...
[2025-01-12 20:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:33:02] Production.INFO: ==17785== Lock acquired, processing the job...
[2025-01-12 20:33:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:33:02] Production.INFO: ==17787== Lock acquired, processing the job...
[2025-01-12 20:33:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:33:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:33:02] Production.INFO: Account Balance Start.
[2025-01-12 20:33:02] Production.INFO: CreateAllLog Start
[2025-01-12 20:33:02] Production.INFO: 117
[2025-01-12 20:33:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:33:02] Production.INFO: Date 2025-01-08
[2025-01-12 20:33:02] Production.INFO: Reseller ==> 0
[2025-01-12 20:33:03] Production.INFO: ==17781== Lock acquired, processing the job...
[2025-01-12 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:33:03] Production.INFO: ==17783== Lock acquired, processing the job...
[2025-01-12 20:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:33:03] Production.ERROR: done
[2025-01-12 20:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:33:03] Production.INFO: ==17789== Lock acquired, processing the job...
[2025-01-12 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:33:03] Production.ERROR: done
[2025-01-12 20:33:03] Production.INFO: Total Charge 0
[2025-01-12 20:33:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 20:33:03] Production.INFO: ==17781== Releasing lock...
[2025-01-12 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:33:03] Production.INFO: count ==21
[2025-01-12 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-12 20:33:03] Production.INFO: count ==21
[2025-01-12 20:33:03] Production.INFO: Account Balance End.
[2025-01-12 20:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234069') start
[2025-01-12 20:33:03] Production.ERROR: CronJobId end 12
[2025-01-12 20:33:03] Production.INFO: ==17785== Releasing lock...
[2025-01-12 20:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234069') end
[2025-01-12 20:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:33:03] Production.INFO: 1
[2025-01-12 20:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:33:03] Production.INFO: ==17789== Releasing lock...
[2025-01-12 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:33:04
[end_date_ymd] => 2025-01-12 20:33:04
[RateCDR] => 1
)
[2025-01-12 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-12 17:33:04' and `end` < '2025-01-12 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-12 20:33:10] Production.ERROR: CronJobId end10
[2025-01-12 20:33:10] Production.INFO: ==17783== Releasing lock...
[2025-01-12 20:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:33:12] Production.INFO: call_cost start
[2025-01-12 20:33:12] Production.INFO: call_cost end
[2025-01-12 20:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:33:13] Production.INFO: ==17779== Releasing lock...
[2025-01-12 20:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:33:17] Production.INFO: count ==1368
[2025-01-12 20:33:17] Production.ERROR: pbx CDR StartTime 2025-01-12 17:33:04 - End Time 2025-01-12 20:33:04
[2025-01-12 20:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234070', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234070', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234070', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234070', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:33:17] Production.INFO: ProcessCDR(1,14234070,1,1,2)
[2025-01-12 20:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234070', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234070', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:33:21] Production.INFO: ==17787== Releasing lock...
[2025-01-12 20:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:33:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:34:01] Production.INFO: ==17902== Lock acquired, processing the job...
[2025-01-13 01:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:34:01] Production.INFO: neon service started
[2025-01-13 01:34:01] Production.INFO: neon service started
[2025-01-13 01:34:01] Production.INFO: ==17902== Releasing lock...
[2025-01-13 01:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:34:02] Production.INFO: ==17904== Lock acquired, processing the job...
[2025-01-12 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:34:02] Production.INFO: ==17904== Releasing lock...
[2025-01-12 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:34:02] Production.INFO: ==17906== Lock acquired, processing the job...
[2025-01-13 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:34:02] Production.INFO: ==17906== Releasing lock...
[2025-01-13 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:34:03] Production.INFO: ==17912== Lock acquired, processing the job...
[2025-01-12 20:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:34:03] Production.INFO: ==17918== Lock acquired, processing the job...
[2025-01-12 20:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:34:03] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-01-12 20:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 20:34:03] Production.INFO: count ==21
[2025-01-12 20:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:34:03] Production.INFO: count ==21
[2025-01-12 20:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234071') start
[2025-01-12 20:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:34:03] Production.INFO: ==17910== Lock acquired, processing the job...
[2025-01-12 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234071') end
[2025-01-12 20:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:34:03] Production.INFO: 1
[2025-01-12 20:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:34:03] Production.INFO: ==17916== Lock acquired, processing the job...
[2025-01-12 20:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:34:03] Production.INFO: ==17914== Lock acquired, processing the job...
[2025-01-12 20:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:34:03] Production.INFO: ==17918== Releasing lock...
[2025-01-12 20:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:34:03] Production.INFO: Account Balance Start.
[2025-01-12 20:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:34:03] Production.INFO: 117
[2025-01-12 20:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:34:04] Production.INFO: ==17910== Releasing lock...
[2025-01-12 20:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:34:04] Production.ERROR: done
[2025-01-12 20:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:34:04] Production.INFO: Total Charge 0
[2025-01-12 20:34:04] Production.INFO: CreateAllLog End
[2025-01-12 20:34:04] Production.ERROR: done
[2025-01-12 20:34:04] Production.INFO: Account Balance End.
[2025-01-12 20:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:34:04] Production.INFO: ==17914== Releasing lock...
[2025-01-12 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:34:05
[end_date_ymd] => 2025-01-12 20:34:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:34:05' and `end` < '2025-01-12 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-12 20:34:11] Production.ERROR: CronJobId end10
[2025-01-12 20:34:11] Production.INFO: ==17912== Releasing lock...
[2025-01-12 20:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:34:13] Production.INFO: call_cost start
[2025-01-12 20:34:13] Production.INFO: call_cost end
[2025-01-12 20:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:34:14] Production.INFO: ==17908== Releasing lock...
[2025-01-12 20:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:34:19] Production.INFO: count ==1367
[2025-01-12 20:34:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:34:05 - End Time 2025-01-12 20:34:05
[2025-01-12 20:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234075', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234075', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234075', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234075', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:34:19] Production.INFO: ProcessCDR(1,14234075,1,1,2)
[2025-01-12 20:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234075', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234075', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:34:22] Production.INFO: ==17916== Releasing lock...
[2025-01-12 20:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:34:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:35:02] Production.INFO: ==18025== Lock acquired, processing the job...
[2025-01-13 01:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:35:02] Production.INFO: neon service started
[2025-01-13 01:35:02] Production.INFO: neon service started
[2025-01-13 01:35:02] Production.INFO: ==18025== Releasing lock...
[2025-01-13 01:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:35:02] Production.INFO: ==18028== Lock acquired, processing the job...
[2025-01-12 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:35:02] Production.INFO: ==18028== Releasing lock...
[2025-01-12 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:35:03] Production.INFO: ==18030== Lock acquired, processing the job...
[2025-01-13 01:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:35:03] Production.INFO: ==18030== Releasing lock...
[2025-01-13 01:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:35:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:35:03] Production.INFO: ==18034== Lock acquired, processing the job...
[2025-01-12 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:35:03] Production.INFO: ==18032== Lock acquired, processing the job...
[2025-01-12 20:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:35:03] Production.INFO: ==18042== Lock acquired, processing the job...
[2025-01-12 20:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:35:03] Production.INFO: ==18036== Lock acquired, processing the job...
[2025-01-12 20:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:35:03] Production.INFO: ==18038== Lock acquired, processing the job...
[2025-01-12 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:35:03] Production.INFO: ==18040== Lock acquired, processing the job...
[2025-01-12 20:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 20:35:03] Production.INFO: count ==21
[2025-01-12 20:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:35:04] Production.INFO: count ==21
[2025-01-12 20:35:04] Production.INFO: Account Balance Start.
[2025-01-12 20:35:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234077') start
[2025-01-12 20:35:04] Production.INFO: 117
[2025-01-12 20:35:04] Production.INFO: ==18034== Releasing lock...
[2025-01-12 20:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:35:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234077') end
[2025-01-12 20:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:35:04] Production.INFO: 1
[2025-01-12 20:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:35:04] Production.ERROR: done
[2025-01-12 20:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:35:04] Production.INFO: ==18042== Releasing lock...
[2025-01-12 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:35:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:35:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:35:04] Production.ERROR: done
[2025-01-12 20:35:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:35:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:35:04] Production.INFO: Total Charge 0
[2025-01-12 20:35:04] Production.INFO: CreateAllLog End
[2025-01-12 20:35:04] Production.INFO: Account Balance End.
[2025-01-12 20:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:35:04] Production.INFO: ==18038== Releasing lock...
[2025-01-12 20:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:35:05
[end_date_ymd] => 2025-01-12 20:35:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:35:05' and `end` < '2025-01-12 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-12 20:35:11] Production.ERROR: CronJobId end10
[2025-01-12 20:35:11] Production.INFO: ==18036== Releasing lock...
[2025-01-12 20:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:35:12] Production.INFO: call_cost start
[2025-01-12 20:35:12] Production.INFO: call_cost end
[2025-01-12 20:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:35:13] Production.INFO: ==18032== Releasing lock...
[2025-01-12 20:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:35:18] Production.INFO: count ==1366
[2025-01-12 20:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:35:05 - End Time 2025-01-12 20:35:05
[2025-01-12 20:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234080', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234080', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234080', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234080', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:35:18] Production.INFO: ProcessCDR(1,14234080,1,1,2)
[2025-01-12 20:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234080', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234080', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:35:22] Production.INFO: ==18040== Releasing lock...
[2025-01-12 20:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:35:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:36:01] Production.INFO: ==18132== Lock acquired, processing the job...
[2025-01-13 01:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:36:01] Production.INFO: neon service started
[2025-01-13 01:36:01] Production.INFO: neon service started
[2025-01-13 01:36:01] Production.INFO: ==18132== Releasing lock...
[2025-01-13 01:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:36:02] Production.INFO: ==18134== Lock acquired, processing the job...
[2025-01-12 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:36:02] Production.INFO: ==18136== Lock acquired, processing the job...
[2025-01-13 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:36:02] Production.INFO: ==18136== Releasing lock...
[2025-01-13 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:36:02] Production.INFO: ==18134== Releasing lock...
[2025-01-12 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:36:03] Production.INFO: ==18145== Lock acquired, processing the job...
[2025-01-12 20:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:36:03] Production.INFO: ==18138== Lock acquired, processing the job...
[2025-01-12 20:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:36:03] Production.INFO: Account Balance Start.
[2025-01-12 20:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:36:03] Production.INFO: 117
[2025-01-12 20:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:36:03] Production.INFO: ==18149== Lock acquired, processing the job...
[2025-01-12 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:36:03] Production.INFO: ==18140== Lock acquired, processing the job...
[2025-01-12 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:36:03] Production.INFO: ==18142== Lock acquired, processing the job...
[2025-01-12 20:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:36:03] Production.INFO: Date 2025-01-11
[2025-01-12 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-12 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:36:03] Production.INFO: count ==21
[2025-01-12 20:36:03] Production.INFO: Date 2025-01-12
[2025-01-12 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-12 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:36:03] Production.INFO: count ==21
[2025-01-12 20:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234083') start
[2025-01-12 20:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:36:03] Production.INFO: ==18147== Lock acquired, processing the job...
[2025-01-12 20:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:36:03] Production.INFO: Total Charge 0
[2025-01-12 20:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234083') end
[2025-01-12 20:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:36:03] Production.INFO: 1
[2025-01-12 20:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:36:03] Production.INFO: ==18149== Releasing lock...
[2025-01-12 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:36:03] Production.INFO: CreateAllLog End
[2025-01-12 20:36:03] Production.INFO: ==18140== Releasing lock...
[2025-01-12 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:36:03] Production.ERROR: done
[2025-01-12 20:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:36:04] Production.ERROR: done
[2025-01-12 20:36:04] Production.INFO: Account Balance End.
[2025-01-12 20:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:36:04] Production.INFO: ==18145== Releasing lock...
[2025-01-12 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:36:05
[end_date_ymd] => 2025-01-12 20:36:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:36:05' and `end` < '2025-01-12 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-12 20:36:11] Production.ERROR: CronJobId end10
[2025-01-12 20:36:11] Production.INFO: ==18142== Releasing lock...
[2025-01-12 20:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:36:12] Production.INFO: call_cost start
[2025-01-12 20:36:12] Production.INFO: call_cost end
[2025-01-12 20:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:36:13] Production.INFO: ==18138== Releasing lock...
[2025-01-12 20:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:36:19] Production.INFO: count ==1364
[2025-01-12 20:36:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:36:05 - End Time 2025-01-12 20:36:05
[2025-01-12 20:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234085', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234085', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234085', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234085', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:36:19] Production.INFO: ProcessCDR(1,14234085,1,1,2)
[2025-01-12 20:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234085', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234085', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:36:24] Production.INFO: ==18147== Releasing lock...
[2025-01-12 20:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:36:24] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:37:02] Production.INFO: ==18229== Lock acquired, processing the job...
[2025-01-13 01:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:37:02] Production.INFO: neon service started
[2025-01-13 01:37:02] Production.INFO: neon service started
[2025-01-13 01:37:02] Production.INFO: ==18229== Releasing lock...
[2025-01-13 01:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:37:02] Production.INFO: ==18231== Lock acquired, processing the job...
[2025-01-12 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:37:02] Production.INFO: ==18231== Releasing lock...
[2025-01-12 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:37:02] Production.INFO: ==18233== Lock acquired, processing the job...
[2025-01-13 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:37:02] Production.INFO: ==18233== Releasing lock...
[2025-01-13 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:37:03] Production.INFO: ==18241== Lock acquired, processing the job...
[2025-01-12 20:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:37:03] Production.INFO: ==18235== Lock acquired, processing the job...
[2025-01-12 20:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:37:03] Production.INFO: ==18245== Lock acquired, processing the job...
[2025-01-12 20:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:37:03] Production.INFO: ==18237== Lock acquired, processing the job...
[2025-01-12 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:37:03] Production.INFO: Account Balance Start.
[2025-01-12 20:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:37:03] Production.INFO: 117
[2025-01-12 20:37:03] Production.INFO: ==18239== Lock acquired, processing the job...
[2025-01-12 20:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:37:03] Production.INFO: ==18243== Lock acquired, processing the job...
[2025-01-12 20:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:37:03] Production.INFO: count ==21
[2025-01-12 20:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:37:03] Production.INFO: count ==21
[2025-01-12 20:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234088') start
[2025-01-12 20:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:37:04] Production.INFO: Total Charge 0
[2025-01-12 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234088') end
[2025-01-12 20:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:37:04] Production.INFO: 1
[2025-01-12 20:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:37:04] Production.INFO: CreateAllLog End
[2025-01-12 20:37:04] Production.INFO: ==18245== Releasing lock...
[2025-01-12 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:37:04] Production.INFO: ==18237== Releasing lock...
[2025-01-12 20:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:37:04] Production.ERROR: done
[2025-01-12 20:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:37:04] Production.ERROR: done
[2025-01-12 20:37:04] Production.INFO: Account Balance End.
[2025-01-12 20:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:37:04] Production.INFO: ==18241== Releasing lock...
[2025-01-12 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:37:05
[end_date_ymd] => 2025-01-12 20:37:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:37:05' and `end` < '2025-01-12 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-12 20:37:11] Production.ERROR: CronJobId end10
[2025-01-12 20:37:11] Production.INFO: ==18239== Releasing lock...
[2025-01-12 20:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:37:14] Production.INFO: call_cost start
[2025-01-12 20:37:14] Production.INFO: call_cost end
[2025-01-12 20:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:37:15] Production.INFO: ==18235== Releasing lock...
[2025-01-12 20:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:37:19] Production.INFO: count ==1364
[2025-01-12 20:37:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:37:05 - End Time 2025-01-12 20:37:05
[2025-01-12 20:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234090', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234090', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234090', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234090', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:37:19] Production.INFO: ProcessCDR(1,14234090,1,1,2)
[2025-01-12 20:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234090', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234090', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:37:22] Production.INFO: ==18243== Releasing lock...
[2025-01-12 20:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:37:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:38:01] Production.INFO: ==18326== Lock acquired, processing the job...
[2025-01-13 01:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:38:01] Production.INFO: neon service started
[2025-01-13 01:38:01] Production.INFO: neon service started
[2025-01-13 01:38:01] Production.INFO: ==18326== Releasing lock...
[2025-01-13 01:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:38:02] Production.INFO: ==18328== Lock acquired, processing the job...
[2025-01-12 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:38:02] Production.INFO: ==18330== Lock acquired, processing the job...
[2025-01-13 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:38:02] Production.INFO: ==18330== Releasing lock...
[2025-01-13 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:38:02] Production.INFO: ==18328== Releasing lock...
[2025-01-12 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:38:03] Production.INFO: ==18335== Lock acquired, processing the job...
[2025-01-12 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:38:03] Production.INFO: ==18337== Lock acquired, processing the job...
[2025-01-12 20:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:38:03] Production.INFO: ==18339== Lock acquired, processing the job...
[2025-01-12 20:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:38:03] Production.INFO: Account Balance Start.
[2025-01-12 20:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:38:03] Production.INFO: 117
[2025-01-12 20:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:38:03] Production.INFO: ==18333== Lock acquired, processing the job...
[2025-01-12 20:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:38:03] Production.INFO: ==18335== Releasing lock...
[2025-01-12 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:38:03] Production.INFO: ==18343== Lock acquired, processing the job...
[2025-01-12 20:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:38:03] Production.INFO: ==18341== Lock acquired, processing the job...
[2025-01-12 20:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:38:03] Production.INFO: Total Charge 0
[2025-01-12 20:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:38:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 20:38:03] Production.INFO: count ==21
[2025-01-12 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-12 20:38:03] Production.INFO: count ==21
[2025-01-12 20:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234094') start
[2025-01-12 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234094') end
[2025-01-12 20:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:38:04] Production.INFO: 1
[2025-01-12 20:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:38:04] Production.ERROR: done
[2025-01-12 20:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:38:04] Production.INFO: ==18343== Releasing lock...
[2025-01-12 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:38:04] Production.INFO: Account Balance End.
[2025-01-12 20:38:04] Production.ERROR: done
[2025-01-12 20:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:38:04] Production.INFO: ==18339== Releasing lock...
[2025-01-12 20:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:38:05
[end_date_ymd] => 2025-01-12 20:38:05
[RateCDR] => 1
)
[2025-01-12 20:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:38:05' and `end` < '2025-01-12 20:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:38:10] Production.ERROR: CronJobId end10
[2025-01-12 20:38:10] Production.INFO: ==18337== Releasing lock...
[2025-01-12 20:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:38:13] Production.INFO: call_cost start
[2025-01-12 20:38:13] Production.INFO: call_cost end
[2025-01-12 20:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:38:14] Production.INFO: ==18333== Releasing lock...
[2025-01-12 20:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:38:18] Production.INFO: count ==1365
[2025-01-12 20:38:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:38:05 - End Time 2025-01-12 20:38:05
[2025-01-12 20:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234095', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234095', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234095', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234095', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:38:18] Production.INFO: ProcessCDR(1,14234095,1,1,2)
[2025-01-12 20:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234095', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234095', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:38:23] Production.INFO: ==18341== Releasing lock...
[2025-01-12 20:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:38:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:39:01] Production.INFO: ==18423== Lock acquired, processing the job...
[2025-01-13 01:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:39:01] Production.INFO: neon service started
[2025-01-13 01:39:01] Production.INFO: neon service started
[2025-01-13 01:39:01] Production.INFO: ==18423== Releasing lock...
[2025-01-13 01:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:39:02] Production.INFO: ==18425== Lock acquired, processing the job...
[2025-01-12 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:39:02] Production.INFO: ==18425== Releasing lock...
[2025-01-12 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:39:02] Production.INFO: ==18427== Lock acquired, processing the job...
[2025-01-13 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:39:02] Production.INFO: ==18427== Releasing lock...
[2025-01-13 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:39:03] Production.INFO: ==18433== Lock acquired, processing the job...
[2025-01-12 20:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:39:03] Production.INFO: ==18429== Lock acquired, processing the job...
[2025-01-12 20:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:39:03] Production.INFO: ==18440== Lock acquired, processing the job...
[2025-01-12 20:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:39:03] Production.INFO: ==18431== Lock acquired, processing the job...
[2025-01-12 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:39:03] Production.INFO: ==18435== Lock acquired, processing the job...
[2025-01-12 20:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:39:03] Production.INFO: count ==21
[2025-01-12 20:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:39:03] Production.INFO: ==18438== Lock acquired, processing the job...
[2025-01-12 20:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:39:03] Production.INFO: count ==21
[2025-01-12 20:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234098') start
[2025-01-12 20:39:03] Production.INFO: Account Balance Start.
[2025-01-12 20:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:39:03] Production.INFO: 117
[2025-01-12 20:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234098') end
[2025-01-12 20:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:39:04] Production.INFO: 1
[2025-01-12 20:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:39:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:39:04] Production.INFO: ==18431== Releasing lock...
[2025-01-12 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:39:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:39:04] Production.INFO: ==18440== Releasing lock...
[2025-01-12 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:39:04] Production.ERROR: done
[2025-01-12 20:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:39:04] Production.ERROR: done
[2025-01-12 20:39:04] Production.INFO: Total Charge 0
[2025-01-12 20:39:04] Production.INFO: CreateAllLog End
[2025-01-12 20:39:04] Production.INFO: Account Balance End.
[2025-01-12 20:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:39:04] Production.INFO: ==18435== Releasing lock...
[2025-01-12 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:39:05
[end_date_ymd] => 2025-01-12 20:39:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:39:05' and `end` < '2025-01-12 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-12 20:39:12] Production.ERROR: CronJobId end10
[2025-01-12 20:39:12] Production.INFO: ==18433== Releasing lock...
[2025-01-12 20:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:39:13] Production.INFO: call_cost start
[2025-01-12 20:39:13] Production.INFO: call_cost end
[2025-01-12 20:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:39:14] Production.INFO: ==18429== Releasing lock...
[2025-01-12 20:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:39:20] Production.INFO: count ==1365
[2025-01-12 20:39:20] Production.ERROR: pbx CDR StartTime 2025-01-12 17:39:05 - End Time 2025-01-12 20:39:05
[2025-01-12 20:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234100', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234100', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234100', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234100', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:39:20] Production.INFO: ProcessCDR(1,14234100,1,1,2)
[2025-01-12 20:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234100', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234100', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:39:24] Production.INFO: ==18438== Releasing lock...
[2025-01-12 20:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:39:24] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:40:02] Production.INFO: ==18523== Lock acquired, processing the job...
[2025-01-13 01:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:40:02] Production.INFO: neon service started
[2025-01-13 01:40:02] Production.INFO: neon service started
[2025-01-13 01:40:02] Production.INFO: ==18523== Releasing lock...
[2025-01-13 01:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:40:02] Production.INFO: ==18526== Lock acquired, processing the job...
[2025-01-12 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:40:02] Production.INFO: ==18528== Lock acquired, processing the job...
[2025-01-13 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:40:02] Production.INFO: ==18528== Releasing lock...
[2025-01-13 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:40:03] Production.INFO: ==18526== Releasing lock...
[2025-01-12 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:40:04] Production.INFO: ==18536== Lock acquired, processing the job...
[2025-01-12 20:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:40:04] Production.INFO: ==18530== Lock acquired, processing the job...
[2025-01-12 20:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 20:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:40:04] Production.INFO: ==18532== Lock acquired, processing the job...
[2025-01-12 20:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 20:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 20:40:04] Production.ERROR: CronJob PID - 18536
[2025-01-12 20:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 20:40:04] Production.ERROR: CronJob ID - 10
[2025-01-12 20:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 20:40:00
[2025-01-12 20:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 20:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 20:40:04] Production.INFO: ==18542== Lock acquired, processing the job...
[2025-01-12 20:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 20:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 20:40:04] Production.INFO: ==18530== Releasing lock...
[2025-01-12 20:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 20:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 20:40:04] Production.INFO: ==18544== Lock acquired, processing the job...
[2025-01-12 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:40:04] Production.INFO: ==18534== Lock acquired, processing the job...
[2025-01-12 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:40:04] Production.INFO: ==18538== Lock acquired, processing the job...
[2025-01-12 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:40:04] Production.INFO: ==18540== Lock acquired, processing the job...
[2025-01-12 20:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:40:04] Production.INFO: Account Balance Start.
[2025-01-12 20:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:40:04] Production.INFO: 117
[2025-01-12 20:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 20:40:04] Production.INFO: count ==21
[2025-01-12 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-12 20:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:40:04] Production.INFO: count ==21
[2025-01-12 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234104') start
[2025-01-12 20:40:04] Production.ERROR: done
[2025-01-12 20:40:04] Production.ERROR: done
[2025-01-12 20:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 20:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234105', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 20:40:05] Production.INFO: Date 2025-01-10
[2025-01-12 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-12 20:40:05] Production.ERROR: done
[2025-01-12 20:40:05] Production.INFO: Date 2025-01-11
[2025-01-12 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-12 20:40:05] Production.INFO: ==18534== Releasing lock...
[2025-01-12 20:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234104') end
[2025-01-12 20:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:40:05] Production.INFO: 1
[2025-01-12 20:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:40:05] Production.INFO: Date 2025-01-12
[2025-01-12 20:40:05] Production.INFO: Reseller ==> 0
[2025-01-12 20:40:05] Production.INFO: ==18544== Releasing lock...
[2025-01-12 20:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:40:05] Production.INFO: Total Charge 0
[2025-01-12 20:40:05] Production.INFO: CreateAllLog End
[2025-01-12 20:40:05] Production.INFO: Account Balance End.
[2025-01-12 20:40:05] Production.ERROR: CronJobId end 12
[2025-01-12 20:40:05] Production.INFO: ==18538== Releasing lock...
[2025-01-12 20:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:40:06
[end_date_ymd] => 2025-01-12 20:40:06
[RateCDR] => 1
)
[2025-01-12 20:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:40:06' and `end` < '2025-01-12 20:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234105', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 20:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 20:40:09] Production.INFO: ProcessCDR(1,14234105,1,1,2)
[2025-01-12 20:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234105,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234105,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:40:09] Production.INFO: ==18542== Releasing lock...
[2025-01-12 20:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 20:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 20:40:14] Production.ERROR: CronJobId end10
[2025-01-12 20:40:14] Production.INFO: ==18536== Releasing lock...
[2025-01-12 20:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:40:15] Production.INFO: call_cost start
[2025-01-12 20:40:15] Production.INFO: call_cost end
[2025-01-12 20:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:40:16] Production.INFO: ==18532== Releasing lock...
[2025-01-12 20:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:40:19] Production.INFO: count ==1363
[2025-01-12 20:40:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:40:06 - End Time 2025-01-12 20:40:06
[2025-01-12 20:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234106', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234106', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234106', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234106', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:40:19] Production.INFO: ProcessCDR(1,14234106,1,1,2)
[2025-01-12 20:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234106', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234106', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:40:23] Production.INFO: ==18540== Releasing lock...
[2025-01-12 20:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:40:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:41:01] Production.INFO: ==18625== Lock acquired, processing the job...
[2025-01-13 01:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:41:01] Production.INFO: neon service started
[2025-01-13 01:41:01] Production.INFO: neon service started
[2025-01-13 01:41:01] Production.INFO: ==18625== Releasing lock...
[2025-01-13 01:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:41:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 20:41:02] Production.INFO: ==18627== Lock acquired, processing the job...
[2025-01-12 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:41:02] Production.INFO: ==18627== Releasing lock...
[2025-01-12 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:41:02] Production.INFO: ==18629== Lock acquired, processing the job...
[2025-01-13 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:41:02] Production.INFO: ==18629== Releasing lock...
[2025-01-13 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:41:02] Production.INFO: 26 MB #Memory Used#
[2025-01-12 20:41:03] Production.INFO: ==18632== Lock acquired, processing the job...
[2025-01-12 20:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:41:03] Production.INFO: ==18634== Lock acquired, processing the job...
[2025-01-12 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:41:03] Production.INFO: ==18638== Lock acquired, processing the job...
[2025-01-12 20:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:41:03] Production.INFO: ==18636== Lock acquired, processing the job...
[2025-01-12 20:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:41:03] Production.INFO: Account Balance Start.
[2025-01-12 20:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:41:03] Production.INFO: 117
[2025-01-12 20:41:03] Production.INFO: ==18640== Lock acquired, processing the job...
[2025-01-12 20:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:41:03] Production.INFO: ==18642== Lock acquired, processing the job...
[2025-01-12 20:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 20:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:41:04] Production.INFO: count ==21
[2025-01-12 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-12 20:41:04] Production.INFO: count ==21
[2025-01-12 20:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234110') start
[2025-01-12 20:41:04] Production.INFO: ==18634== Releasing lock...
[2025-01-12 20:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:41:04] Production.INFO: Total Charge 0
[2025-01-12 20:41:04] Production.INFO: CreateAllLog End
[2025-01-12 20:41:04] Production.ERROR: done
[2025-01-12 20:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234110') end
[2025-01-12 20:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:41:04] Production.INFO: 1
[2025-01-12 20:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:41:04] Production.INFO: ==18642== Releasing lock...
[2025-01-12 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:41:04] Production.INFO: Account Balance End.
[2025-01-12 20:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:41:04] Production.INFO: ==18638== Releasing lock...
[2025-01-12 20:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:41:04] Production.ERROR: done
[2025-01-12 20:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:41:05
[end_date_ymd] => 2025-01-12 20:41:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:41:05' and `end` < '2025-01-12 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-12 20:41:11] Production.ERROR: CronJobId end10
[2025-01-12 20:41:11] Production.INFO: ==18636== Releasing lock...
[2025-01-12 20:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:41:14] Production.INFO: call_cost start
[2025-01-12 20:41:14] Production.INFO: call_cost end
[2025-01-12 20:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:41:15] Production.INFO: ==18632== Releasing lock...
[2025-01-12 20:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:41:18] Production.INFO: count ==1319
[2025-01-12 20:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:41:05 - End Time 2025-01-12 20:41:05
[2025-01-12 20:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234111', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234111', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234111', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234111', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:41:19] Production.INFO: ProcessCDR(1,14234111,1,1,2)
[2025-01-12 20:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234111', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234111', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:41:22] Production.INFO: ==18640== Releasing lock...
[2025-01-12 20:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:41:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:42:01] Production.INFO: ==18719== Lock acquired, processing the job...
[2025-01-13 01:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:42:01] Production.INFO: neon service started
[2025-01-13 01:42:01] Production.INFO: neon service started
[2025-01-13 01:42:01] Production.INFO: ==18719== Releasing lock...
[2025-01-13 01:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:42:01] Production.INFO: ==18721== Lock acquired, processing the job...
[2025-01-12 20:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:42:02] Production.INFO: ==18721== Releasing lock...
[2025-01-12 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:42:02] Production.INFO: ==18723== Lock acquired, processing the job...
[2025-01-13 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:42:02] Production.INFO: ==18723== Releasing lock...
[2025-01-13 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:42:02] Production.INFO: ==18725== Lock acquired, processing the job...
[2025-01-12 20:42:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:42:02] Production.INFO: ==18729== Lock acquired, processing the job...
[2025-01-12 20:42:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:42:02] Production.INFO: ==18727== Lock acquired, processing the job...
[2025-01-12 20:42:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:42:03] Production.INFO: ==18733== Lock acquired, processing the job...
[2025-01-12 20:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:42:03] Production.INFO: ==18731== Lock acquired, processing the job...
[2025-01-12 20:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:42:03] Production.INFO: Account Balance Start.
[2025-01-12 20:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:42:03] Production.INFO: 117
[2025-01-12 20:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:42:03] Production.INFO: ==18736== Lock acquired, processing the job...
[2025-01-12 20:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:42:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:42:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:42:03] Production.INFO: ==18727== Releasing lock...
[2025-01-12 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:42:03] Production.INFO: Total Charge 0
[2025-01-12 20:42:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 20:42:03] Production.INFO: count ==21
[2025-01-12 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-12 20:42:03] Production.INFO: count ==21
[2025-01-12 20:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234115') start
[2025-01-12 20:42:03] Production.ERROR: done
[2025-01-12 20:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234115') end
[2025-01-12 20:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:42:03] Production.INFO: 1
[2025-01-12 20:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:42:03] Production.ERROR: done
[2025-01-12 20:42:03] Production.INFO: ==18736== Releasing lock...
[2025-01-12 20:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:42:03] Production.INFO: Account Balance End.
[2025-01-12 20:42:03] Production.ERROR: CronJobId end 12
[2025-01-12 20:42:03] Production.INFO: ==18731== Releasing lock...
[2025-01-12 20:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:42:04
[end_date_ymd] => 2025-01-12 20:42:04
[RateCDR] => 1
)
[2025-01-12 20:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:42:04' and `end` < '2025-01-12 20:42:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:42:12] Production.ERROR: CronJobId end10
[2025-01-12 20:42:12] Production.INFO: ==18729== Releasing lock...
[2025-01-12 20:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:42:13] Production.INFO: call_cost start
[2025-01-12 20:42:13] Production.INFO: call_cost end
[2025-01-12 20:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:42:14] Production.INFO: ==18725== Releasing lock...
[2025-01-12 20:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:42:18] Production.INFO: count ==1318
[2025-01-12 20:42:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:42:04 - End Time 2025-01-12 20:42:04
[2025-01-12 20:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234116', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234116', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234116', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234116', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:42:18] Production.INFO: ProcessCDR(1,14234116,1,1,2)
[2025-01-12 20:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234116', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234116', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:42:21] Production.INFO: ==18733== Releasing lock...
[2025-01-12 20:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:42:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 01:43:01] Production.INFO: ==18816== Lock acquired, processing the job...
[2025-01-13 01:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:43:01] Production.INFO: neon service started
[2025-01-13 01:43:01] Production.INFO: neon service started
[2025-01-13 01:43:01] Production.INFO: ==18816== Releasing lock...
[2025-01-13 01:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:43:02] Production.INFO: ==18818== Lock acquired, processing the job...
[2025-01-12 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:43:02] Production.INFO: ==18820== Lock acquired, processing the job...
[2025-01-13 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:43:02] Production.INFO: ==18820== Releasing lock...
[2025-01-13 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:43:02] Production.INFO: ==18818== Releasing lock...
[2025-01-12 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:43:03] Production.INFO: ==18829== Lock acquired, processing the job...
[2025-01-12 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:43:03] Production.INFO: ==18825== Lock acquired, processing the job...
[2025-01-12 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:43:03] Production.INFO: ==18827== Lock acquired, processing the job...
[2025-01-12 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:43:03] Production.INFO: ==18833== Lock acquired, processing the job...
[2025-01-12 20:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:43:03] Production.INFO: ==18835== Lock acquired, processing the job...
[2025-01-12 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:43:03] Production.INFO: ==18831== Lock acquired, processing the job...
[2025-01-12 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 20:43:03] Production.INFO: count ==21
[2025-01-12 20:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:43:03] Production.INFO: count ==21
[2025-01-12 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234119') start
[2025-01-12 20:43:03] Production.INFO: Account Balance Start.
[2025-01-12 20:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:43:03] Production.INFO: 117
[2025-01-12 20:43:03] Production.INFO: ==18827== Releasing lock...
[2025-01-12 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234119') end
[2025-01-12 20:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:43:03] Production.INFO: 1
[2025-01-12 20:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:43:03] Production.ERROR: done
[2025-01-12 20:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:43:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:43:04] Production.INFO: ==18835== Releasing lock...
[2025-01-12 20:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:43:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:43:04] Production.ERROR: done
[2025-01-12 20:43:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:43:04] Production.INFO: Total Charge 0
[2025-01-12 20:43:04] Production.INFO: CreateAllLog End
[2025-01-12 20:43:04] Production.INFO: Account Balance End.
[2025-01-12 20:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:43:04] Production.INFO: ==18831== Releasing lock...
[2025-01-12 20:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:43:05
[end_date_ymd] => 2025-01-12 20:43:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:43:05' and `end` < '2025-01-12 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-12 20:43:11] Production.ERROR: CronJobId end10
[2025-01-12 20:43:11] Production.INFO: ==18829== Releasing lock...
[2025-01-12 20:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:43:13] Production.INFO: call_cost start
[2025-01-12 20:43:13] Production.INFO: call_cost end
[2025-01-12 20:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:43:14] Production.INFO: ==18825== Releasing lock...
[2025-01-12 20:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:43:18] Production.INFO: count ==1316
[2025-01-12 20:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:43:05 - End Time 2025-01-12 20:43:05
[2025-01-12 20:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234121', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234121', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234121', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234121', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:43:18] Production.INFO: ProcessCDR(1,14234121,1,1,2)
[2025-01-12 20:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234121', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234121', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:43:23] Production.INFO: ==18833== Releasing lock...
[2025-01-12 20:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:43:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 01:44:02] Production.INFO: ==18917== Lock acquired, processing the job...
[2025-01-13 01:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:44:02] Production.INFO: neon service started
[2025-01-13 01:44:02] Production.INFO: neon service started
[2025-01-13 01:44:02] Production.INFO: ==18917== Releasing lock...
[2025-01-13 01:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:44:02] Production.INFO: ==18919== Lock acquired, processing the job...
[2025-01-12 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:44:02] Production.INFO: ==18921== Lock acquired, processing the job...
[2025-01-13 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:44:02] Production.INFO: ==18921== Releasing lock...
[2025-01-13 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:44:03] Production.INFO: ==18919== Releasing lock...
[2025-01-12 20:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:44:04] Production.INFO: ==18930== Lock acquired, processing the job...
[2025-01-12 20:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:44:04] Production.INFO: ==18924== Lock acquired, processing the job...
[2025-01-12 20:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:44:04] Production.INFO: ==18934== Lock acquired, processing the job...
[2025-01-12 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:44:04] Production.INFO: ==18926== Lock acquired, processing the job...
[2025-01-12 20:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:44:04] Production.INFO: Account Balance Start.
[2025-01-12 20:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:44:04] Production.INFO: 117
[2025-01-12 20:44:04] Production.INFO: ==18928== Lock acquired, processing the job...
[2025-01-12 20:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:44:04] Production.INFO: count ==21
[2025-01-12 20:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:44:04] Production.INFO: count ==21
[2025-01-12 20:44:04] Production.INFO: ==18932== Lock acquired, processing the job...
[2025-01-12 20:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234124') start
[2025-01-12 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234124') end
[2025-01-12 20:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:44:04] Production.INFO: 1
[2025-01-12 20:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:44:04] Production.INFO: ==18926== Releasing lock...
[2025-01-12 20:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:44:04] Production.INFO: ==18934== Releasing lock...
[2025-01-12 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:44:04] Production.ERROR: done
[2025-01-12 20:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:44:04] Production.INFO: Total Charge 0
[2025-01-12 20:44:04] Production.INFO: CreateAllLog End
[2025-01-12 20:44:04] Production.ERROR: done
[2025-01-12 20:44:05] Production.INFO: Account Balance End.
[2025-01-12 20:44:05] Production.ERROR: CronJobId end 12
[2025-01-12 20:44:05] Production.INFO: ==18930== Releasing lock...
[2025-01-12 20:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:44:05
[end_date_ymd] => 2025-01-12 20:44:05
[RateCDR] => 1
)
[2025-01-12 20:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:44:05' and `end` < '2025-01-12 20:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:44:12] Production.ERROR: CronJobId end10
[2025-01-12 20:44:12] Production.INFO: ==18928== Releasing lock...
[2025-01-12 20:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:44:14] Production.INFO: call_cost start
[2025-01-12 20:44:14] Production.INFO: call_cost end
[2025-01-12 20:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:44:14] Production.INFO: ==18924== Releasing lock...
[2025-01-12 20:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:44:18] Production.INFO: count ==1314
[2025-01-12 20:44:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:44:05 - End Time 2025-01-12 20:44:05
[2025-01-12 20:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234126', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234126', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234126', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234126', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:44:19] Production.INFO: ProcessCDR(1,14234126,1,1,2)
[2025-01-12 20:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234126', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234126', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:44:22] Production.INFO: ==18932== Releasing lock...
[2025-01-12 20:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:44:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 01:45:01] Production.INFO: ==19010== Lock acquired, processing the job...
[2025-01-13 01:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:45:01] Production.INFO: neon service started
[2025-01-13 01:45:01] Production.INFO: neon service started
[2025-01-13 01:45:01] Production.INFO: ==19010== Releasing lock...
[2025-01-13 01:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:45:01] Production.INFO: ==19014== Lock acquired, processing the job...
[2025-01-13 01:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:45:01] Production.INFO: ==19014== Releasing lock...
[2025-01-13 01:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:45:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:45:02] Production.INFO: ==19012== Lock acquired, processing the job...
[2025-01-12 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:45:02] Production.INFO: ==19012== Releasing lock...
[2025-01-12 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:45:03] Production.INFO: ==19024== Lock acquired, processing the job...
[2025-01-12 20:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:45:03] Production.INFO: ==19028== Lock acquired, processing the job...
[2025-01-12 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:45:03] Production.INFO: Account Balance Start.
[2025-01-12 20:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:45:03] Production.INFO: 117
[2025-01-12 20:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:45:03] Production.INFO: ==19017== Lock acquired, processing the job...
[2025-01-12 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:45:03] Production.INFO: ==19019== Lock acquired, processing the job...
[2025-01-12 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:45:03] Production.INFO: ==19022== Lock acquired, processing the job...
[2025-01-12 20:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:45:03] Production.INFO: count ==21
[2025-01-12 20:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:45:03] Production.INFO: count ==21
[2025-01-12 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234128') start
[2025-01-12 20:45:03] Production.INFO: ==19026== Lock acquired, processing the job...
[2025-01-12 20:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234128') end
[2025-01-12 20:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:45:03] Production.INFO: 1
[2025-01-12 20:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:45:03] Production.INFO: Total Charge 0
[2025-01-12 20:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:45:03] Production.INFO: CreateAllLog End
[2025-01-12 20:45:03] Production.INFO: ==19028== Releasing lock...
[2025-01-12 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:45:03] Production.ERROR: done
[2025-01-12 20:45:03] Production.INFO: Account Balance End.
[2025-01-12 20:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:45:03] Production.INFO: ==19019== Releasing lock...
[2025-01-12 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:45:04] Production.INFO: ==19024== Releasing lock...
[2025-01-12 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:45:04] Production.ERROR: done
[2025-01-12 20:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:45:05
[end_date_ymd] => 2025-01-12 20:45:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:45:05' and `end` < '2025-01-12 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-12 20:45:11] Production.ERROR: CronJobId end10
[2025-01-12 20:45:11] Production.INFO: ==19022== Releasing lock...
[2025-01-12 20:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:45:12] Production.INFO: call_cost start
[2025-01-12 20:45:12] Production.INFO: call_cost end
[2025-01-12 20:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:45:13] Production.INFO: ==19017== Releasing lock...
[2025-01-12 20:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:45:18] Production.INFO: count ==1312
[2025-01-12 20:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:45:05 - End Time 2025-01-12 20:45:05
[2025-01-12 20:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234131', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234131', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234131', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234131', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:45:18] Production.INFO: ProcessCDR(1,14234131,1,1,2)
[2025-01-12 20:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234131', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234131', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:45:21] Production.INFO: ==19026== Releasing lock...
[2025-01-12 20:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:45:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 01:46:02] Production.INFO: ==19110== Lock acquired, processing the job...
[2025-01-13 01:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:46:02] Production.INFO: neon service started
[2025-01-13 01:46:02] Production.INFO: neon service started
[2025-01-13 01:46:02] Production.INFO: ==19110== Releasing lock...
[2025-01-13 01:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:46:02] Production.INFO: ==19112== Lock acquired, processing the job...
[2025-01-12 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:46:02] Production.INFO: ==19114== Lock acquired, processing the job...
[2025-01-13 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:46:02] Production.INFO: ==19114== Releasing lock...
[2025-01-13 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:46:03] Production.INFO: ==19112== Releasing lock...
[2025-01-12 20:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:46:03] Production.INFO: ==19118== Lock acquired, processing the job...
[2025-01-12 20:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:46:04] Production.INFO: ==19120== Lock acquired, processing the job...
[2025-01-12 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:46:04] Production.INFO: ==19122== Lock acquired, processing the job...
[2025-01-12 20:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:46:04] Production.INFO: ==19124== Lock acquired, processing the job...
[2025-01-12 20:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:46:04] Production.INFO: ==19126== Lock acquired, processing the job...
[2025-01-12 20:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:46:04] Production.INFO: Account Balance Start.
[2025-01-12 20:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:46:04] Production.INFO: 117
[2025-01-12 20:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:46:04] Production.INFO: ==19128== Lock acquired, processing the job...
[2025-01-12 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:46:04] Production.INFO: ==19120== Releasing lock...
[2025-01-12 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:46:04] Production.INFO: Total Charge 0
[2025-01-12 20:46:04] Production.INFO: CreateAllLog End
[2025-01-12 20:46:04] Production.INFO: count ==21
[2025-01-12 20:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:46:04] Production.INFO: count ==21
[2025-01-12 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234135') start
[2025-01-12 20:46:04] Production.ERROR: done
[2025-01-12 20:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:46:04] Production.ERROR: done
[2025-01-12 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234135') end
[2025-01-12 20:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:46:04] Production.INFO: 1
[2025-01-12 20:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:46:04] Production.INFO: Account Balance End.
[2025-01-12 20:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:46:04] Production.INFO: ==19124== Releasing lock...
[2025-01-12 20:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:46:05] Production.INFO: ==19128== Releasing lock...
[2025-01-12 20:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:46:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:46:05
[end_date_ymd] => 2025-01-12 20:46:05
[RateCDR] => 1
)
[2025-01-12 20:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:46:05' and `end` < '2025-01-12 20:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:46:12] Production.ERROR: CronJobId end10
[2025-01-12 20:46:12] Production.INFO: ==19122== Releasing lock...
[2025-01-12 20:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:46:14] Production.INFO: call_cost start
[2025-01-12 20:46:14] Production.INFO: call_cost end
[2025-01-12 20:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:46:15] Production.INFO: ==19118== Releasing lock...
[2025-01-12 20:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:46:19] Production.INFO: count ==1310
[2025-01-12 20:46:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:46:05 - End Time 2025-01-12 20:46:05
[2025-01-12 20:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234136', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234136', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234136', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234136', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:46:19] Production.INFO: ProcessCDR(1,14234136,1,1,2)
[2025-01-12 20:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234136', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234136', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:46:22] Production.INFO: ==19126== Releasing lock...
[2025-01-12 20:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:46:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 01:47:01] Production.INFO: ==19248== Lock acquired, processing the job...
[2025-01-13 01:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:47:01] Production.INFO: neon service started
[2025-01-13 01:47:01] Production.INFO: neon service started
[2025-01-13 01:47:01] Production.INFO: ==19248== Releasing lock...
[2025-01-13 01:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:47:01] Production.INFO: ==19250== Lock acquired, processing the job...
[2025-01-12 20:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:47:02] Production.INFO: ==19250== Releasing lock...
[2025-01-12 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:47:02] Production.INFO: ==19252== Lock acquired, processing the job...
[2025-01-13 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:47:02] Production.INFO: ==19252== Releasing lock...
[2025-01-13 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:47:03] Production.INFO: ==19258== Lock acquired, processing the job...
[2025-01-12 20:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:47:03] Production.INFO: ==19260== Lock acquired, processing the job...
[2025-01-12 20:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:47:03] Production.INFO: Account Balance Start.
[2025-01-12 20:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:47:03] Production.INFO: 117
[2025-01-12 20:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:47:03] Production.INFO: ==19254== Lock acquired, processing the job...
[2025-01-12 20:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:47:03] Production.INFO: ==19256== Lock acquired, processing the job...
[2025-01-12 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:47:03] Production.INFO: ==19262== Lock acquired, processing the job...
[2025-01-12 20:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:47:03] Production.INFO: ==19264== Lock acquired, processing the job...
[2025-01-12 20:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:47:03] Production.INFO: Total Charge 0
[2025-01-12 20:47:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 20:47:03] Production.INFO: count ==21
[2025-01-12 20:47:03] Production.ERROR: done
[2025-01-12 20:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-12 20:47:03] Production.INFO: count ==21
[2025-01-12 20:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234140') start
[2025-01-12 20:47:03] Production.INFO: ==19256== Releasing lock...
[2025-01-12 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:47:03] Production.INFO: Account Balance End.
[2025-01-12 20:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234140') end
[2025-01-12 20:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:47:03] Production.INFO: 1
[2025-01-12 20:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:47:03] Production.INFO: ==19264== Releasing lock...
[2025-01-12 20:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:47:03] Production.ERROR: done
[2025-01-12 20:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:47:04] Production.INFO: ==19260== Releasing lock...
[2025-01-12 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:47:05
[end_date_ymd] => 2025-01-12 20:47:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:47:05' and `end` < '2025-01-12 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-12 20:47:11] Production.ERROR: CronJobId end10
[2025-01-12 20:47:11] Production.INFO: ==19258== Releasing lock...
[2025-01-12 20:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:47:12] Production.INFO: call_cost start
[2025-01-12 20:47:12] Production.INFO: call_cost end
[2025-01-12 20:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:47:13] Production.INFO: ==19254== Releasing lock...
[2025-01-12 20:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:47:18] Production.INFO: count ==1309
[2025-01-12 20:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:47:05 - End Time 2025-01-12 20:47:05
[2025-01-12 20:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234141', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234141', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234141', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234141', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:47:18] Production.INFO: ProcessCDR(1,14234141,1,1,2)
[2025-01-12 20:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234141', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234141', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:47:22] Production.INFO: ==19262== Releasing lock...
[2025-01-12 20:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:47:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 01:48:01] Production.INFO: ==19342== Lock acquired, processing the job...
[2025-01-13 01:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:48:02] Production.INFO: neon service started
[2025-01-13 01:48:02] Production.INFO: neon service started
[2025-01-13 01:48:02] Production.INFO: ==19342== Releasing lock...
[2025-01-13 01:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:48:02] Production.INFO: ==19344== Lock acquired, processing the job...
[2025-01-12 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:48:02] Production.INFO: ==19346== Lock acquired, processing the job...
[2025-01-13 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:48:02] Production.INFO: ==19346== Releasing lock...
[2025-01-13 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:48:02] Production.INFO: ==19344== Releasing lock...
[2025-01-12 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:48:03] Production.INFO: ==19350== Lock acquired, processing the job...
[2025-01-12 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:48:03] Production.INFO: ==19350== Releasing lock...
[2025-01-12 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:48:03] Production.INFO: ==19357== Lock acquired, processing the job...
[2025-01-12 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:48:03] Production.INFO: ==19359== Lock acquired, processing the job...
[2025-01-12 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:48:03] Production.INFO: ==19348== Lock acquired, processing the job...
[2025-01-12 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:48:03] Production.INFO: ==19352== Lock acquired, processing the job...
[2025-01-12 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:48:03] Production.INFO: count ==21
[2025-01-12 20:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:48:03] Production.INFO: count ==21
[2025-01-12 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234143') start
[2025-01-12 20:48:04] Production.INFO: ==19354== Lock acquired, processing the job...
[2025-01-12 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:48:04] Production.ERROR: done
[2025-01-12 20:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:48:04] Production.ERROR: done
[2025-01-12 20:48:04] Production.INFO: Account Balance Start.
[2025-01-12 20:48:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:48:04] Production.INFO: 117
[2025-01-12 20:48:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234143') end
[2025-01-12 20:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:48:04] Production.INFO: 1
[2025-01-12 20:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:48:04] Production.INFO: ==19359== Releasing lock...
[2025-01-12 20:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:48:04] Production.INFO: Total Charge 0
[2025-01-12 20:48:04] Production.INFO: CreateAllLog End
[2025-01-12 20:48:04] Production.INFO: Account Balance End.
[2025-01-12 20:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:48:04] Production.INFO: ==19354== Releasing lock...
[2025-01-12 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:48:05
[end_date_ymd] => 2025-01-12 20:48:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:48:05' and `end` < '2025-01-12 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-12 20:48:13] Production.ERROR: CronJobId end10
[2025-01-12 20:48:13] Production.INFO: ==19352== Releasing lock...
[2025-01-12 20:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:48:14] Production.INFO: call_cost start
[2025-01-12 20:48:14] Production.INFO: call_cost end
[2025-01-12 20:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:48:14] Production.INFO: ==19348== Releasing lock...
[2025-01-12 20:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:48:19] Production.INFO: count ==1309
[2025-01-12 20:48:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:48:05 - End Time 2025-01-12 20:48:05
[2025-01-12 20:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234146', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234146', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234146', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234146', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:48:19] Production.INFO: ProcessCDR(1,14234146,1,1,2)
[2025-01-12 20:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234146', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234146', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:48:22] Production.INFO: ==19357== Releasing lock...
[2025-01-12 20:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:48:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 01:49:01] Production.INFO: ==19438== Lock acquired, processing the job...
[2025-01-13 01:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:49:01] Production.INFO: neon service started
[2025-01-13 01:49:01] Production.INFO: neon service started
[2025-01-13 01:49:01] Production.INFO: ==19438== Releasing lock...
[2025-01-13 01:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:49:01] Production.INFO: ==19440== Lock acquired, processing the job...
[2025-01-12 20:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:49:02] Production.INFO: ==19440== Releasing lock...
[2025-01-12 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:49:02] Production.INFO: ==19442== Lock acquired, processing the job...
[2025-01-13 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:49:02] Production.INFO: ==19442== Releasing lock...
[2025-01-13 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:49:02] Production.INFO: ==19446== Lock acquired, processing the job...
[2025-01-12 20:49:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:49:02] Production.INFO: ==19452== Lock acquired, processing the job...
[2025-01-12 20:49:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:49:03] Production.INFO: ==19444== Lock acquired, processing the job...
[2025-01-12 20:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:49:03] Production.INFO: ==19448== Lock acquired, processing the job...
[2025-01-12 20:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:49:03] Production.INFO: ==19446== Releasing lock...
[2025-01-12 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:49:03] Production.INFO: ==19450== Lock acquired, processing the job...
[2025-01-12 20:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:49:03] Production.INFO: ==19454== Lock acquired, processing the job...
[2025-01-12 20:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:49:03] Production.ERROR: done
[2025-01-12 20:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:49:03] Production.INFO: Account Balance Start.
[2025-01-12 20:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:49:03] Production.INFO: 117
[2025-01-12 20:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-12 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:49:03] Production.INFO: count ==21
[2025-01-12 20:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:49:03] Production.ERROR: done
[2025-01-12 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-12 20:49:03] Production.INFO: count ==21
[2025-01-12 20:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234149') start
[2025-01-12 20:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:49:03] Production.INFO: Total Charge 0
[2025-01-12 20:49:03] Production.INFO: CreateAllLog End
[2025-01-12 20:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234149') end
[2025-01-12 20:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:49:03] Production.INFO: 1
[2025-01-12 20:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:49:03] Production.INFO: Account Balance End.
[2025-01-12 20:49:03] Production.INFO: ==19454== Releasing lock...
[2025-01-12 20:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:49:03] Production.ERROR: CronJobId end 12
[2025-01-12 20:49:03] Production.INFO: ==19450== Releasing lock...
[2025-01-12 20:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:49:04
[end_date_ymd] => 2025-01-12 20:49:04
[RateCDR] => 1
)
[2025-01-12 20:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:49:04' and `end` < '2025-01-12 20:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:49:11] Production.ERROR: CronJobId end10
[2025-01-12 20:49:11] Production.INFO: ==19448== Releasing lock...
[2025-01-12 20:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:49:13] Production.INFO: call_cost start
[2025-01-12 20:49:13] Production.INFO: call_cost end
[2025-01-12 20:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:49:13] Production.INFO: ==19444== Releasing lock...
[2025-01-12 20:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:49:17] Production.INFO: count ==1311
[2025-01-12 20:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:49:04 - End Time 2025-01-12 20:49:04
[2025-01-12 20:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234151', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234151', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234151', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234151', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:49:18] Production.INFO: ProcessCDR(1,14234151,1,1,2)
[2025-01-12 20:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234151', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234151', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:49:21] Production.INFO: ==19452== Releasing lock...
[2025-01-12 20:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:49:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 01:50:01] Production.INFO: ==19520== Lock acquired, processing the job...
[2025-01-13 01:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:50:01] Production.INFO: neon service started
[2025-01-13 01:50:01] Production.INFO: neon service started
[2025-01-13 01:50:01] Production.INFO: ==19520== Releasing lock...
[2025-01-13 01:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:50:02] Production.INFO: ==19524== Lock acquired, processing the job...
[2025-01-13 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:50:02] Production.INFO: ==19524== Releasing lock...
[2025-01-13 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:50:02] Production.INFO: ==19522== Lock acquired, processing the job...
[2025-01-12 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:50:02] Production.INFO: ==19522== Releasing lock...
[2025-01-12 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:50:03] Production.INFO: ==19526== Lock acquired, processing the job...
[2025-01-12 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 20:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 20:50:03] Production.INFO: ==19530== Lock acquired, processing the job...
[2025-01-12 20:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 20:50:03] Production.INFO: ==19526== Releasing lock...
[2025-01-12 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 20:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 20:50:03] Production.INFO: ==19536== Lock acquired, processing the job...
[2025-01-12 20:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:50:03] Production.INFO: ==19540== Lock acquired, processing the job...
[2025-01-12 20:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:50:03] Production.INFO: ==19530== Releasing lock...
[2025-01-12 20:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:50:04] Production.INFO: ==19528== Lock acquired, processing the job...
[2025-01-12 20:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:50:04] Production.INFO: count ==21
[2025-01-12 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-12 20:50:04] Production.INFO: count ==21
[2025-01-12 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234153') start
[2025-01-12 20:50:04] Production.INFO: ==19532== Lock acquired, processing the job...
[2025-01-12 20:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:50:04] Production.INFO: ==19534== Lock acquired, processing the job...
[2025-01-12 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:50:04] Production.INFO: ==19538== Lock acquired, processing the job...
[2025-01-12 20:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234153') end
[2025-01-12 20:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:50:04] Production.INFO: 1
[2025-01-12 20:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:50:04] Production.INFO: ==19540== Releasing lock...
[2025-01-12 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:50:04] Production.INFO: Account Balance Start.
[2025-01-12 20:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:50:04] Production.INFO: 117
[2025-01-12 20:50:04] Production.ERROR: done
[2025-01-12 20:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:50:04] Production.ERROR: done
[2025-01-12 20:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:50:04] Production.ERROR: done
[2025-01-12 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:50:04] Production.INFO: Total Charge 0
[2025-01-12 20:50:04] Production.INFO: CreateAllLog End
[2025-01-12 20:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 20:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234157', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 20:50:05] Production.INFO: Account Balance End.
[2025-01-12 20:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 20:50:05] Production.INFO: ==19534== Releasing lock...
[2025-01-12 20:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:50:05
[end_date_ymd] => 2025-01-12 20:50:05
[RateCDR] => 1
)
[2025-01-12 20:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:50:05' and `end` < '2025-01-12 20:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234157', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 20:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 20:50:09] Production.INFO: ProcessCDR(1,14234157,1,1,2)
[2025-01-12 20:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234157,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234157,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:50:09] Production.INFO: ==19538== Releasing lock...
[2025-01-12 20:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 20:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 20:50:14] Production.ERROR: CronJobId end10
[2025-01-12 20:50:14] Production.INFO: ==19532== Releasing lock...
[2025-01-12 20:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:50:16] Production.INFO: call_cost start
[2025-01-12 20:50:16] Production.INFO: call_cost end
[2025-01-12 20:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:50:17] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:50:17] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:50:17] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:50:17] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:50:17] Production.INFO: ==19528== Releasing lock...
[2025-01-12 20:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:50:18] Production.INFO: count ==1312
[2025-01-12 20:50:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:50:05 - End Time 2025-01-12 20:50:05
[2025-01-12 20:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234156', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234156', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234156', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234156', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:50:19] Production.INFO: ProcessCDR(1,14234156,1,1,2)
[2025-01-12 20:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234156', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234156', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:50:23] Production.INFO: ==19536== Releasing lock...
[2025-01-12 20:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:50:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 01:51:01] Production.INFO: ==19601== Lock acquired, processing the job...
[2025-01-13 01:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:51:01] Production.INFO: neon service started
[2025-01-13 01:51:01] Production.INFO: neon service started
[2025-01-13 01:51:01] Production.INFO: ==19601== Releasing lock...
[2025-01-13 01:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:51:01] Production.INFO: ==19605== Lock acquired, processing the job...
[2025-01-13 01:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:51:01] Production.INFO: ==19605== Releasing lock...
[2025-01-13 01:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:51:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:51:01] Production.INFO: ==19603== Lock acquired, processing the job...
[2025-01-12 20:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:51:02] Production.INFO: ==19603== Releasing lock...
[2025-01-12 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:51:03] Production.INFO: ==19610== Lock acquired, processing the job...
[2025-01-12 20:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:51:03] Production.INFO: ==19614== Lock acquired, processing the job...
[2025-01-12 20:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:51:03] Production.INFO: ==19618== Lock acquired, processing the job...
[2025-01-12 20:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:51:03] Production.INFO: ==19612== Lock acquired, processing the job...
[2025-01-12 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:51:03] Production.INFO: ==19616== Lock acquired, processing the job...
[2025-01-12 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:51:03] Production.INFO: ==19620== Lock acquired, processing the job...
[2025-01-12 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 20:51:03] Production.INFO: Account Balance Start.
[2025-01-12 20:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:51:03] Production.INFO: 117
[2025-01-12 20:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:51:03] Production.INFO: count ==21
[2025-01-12 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-12 20:51:03] Production.INFO: count ==21
[2025-01-12 20:51:03] Production.ERROR: done
[2025-01-12 20:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234159') start
[2025-01-12 20:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234159') end
[2025-01-12 20:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:51:03] Production.INFO: 1
[2025-01-12 20:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:51:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:51:03] Production.ERROR: done
[2025-01-12 20:51:03] Production.INFO: ==19620== Releasing lock...
[2025-01-12 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:51:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:51:04] Production.INFO: ==19612== Releasing lock...
[2025-01-12 20:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:51:04] Production.INFO: Total Charge 0
[2025-01-12 20:51:04] Production.INFO: CreateAllLog End
[2025-01-12 20:51:04] Production.INFO: Account Balance End.
[2025-01-12 20:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:51:04] Production.INFO: ==19616== Releasing lock...
[2025-01-12 20:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:51:05
[end_date_ymd] => 2025-01-12 20:51:05
[RateCDR] => 1
)
[2025-01-12 20:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:51:05' and `end` < '2025-01-12 20:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:51:11] Production.ERROR: CronJobId end10
[2025-01-12 20:51:11] Production.INFO: ==19614== Releasing lock...
[2025-01-12 20:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:51:13] Production.INFO: call_cost start
[2025-01-12 20:51:13] Production.INFO: call_cost end
[2025-01-12 20:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:51:14] Production.INFO: ==19610== Releasing lock...
[2025-01-12 20:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:51:19] Production.INFO: count ==1263
[2025-01-12 20:51:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:51:05 - End Time 2025-01-12 20:51:05
[2025-01-12 20:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234162', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234162', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234162', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234162', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:51:19] Production.INFO: ProcessCDR(1,14234162,1,1,2)
[2025-01-12 20:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234162', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234162', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:51:23] Production.INFO: ==19618== Releasing lock...
[2025-01-12 20:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:51:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-13 01:52:01] Production.INFO: ==19683== Lock acquired, processing the job...
[2025-01-13 01:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:52:01] Production.INFO: neon service started
[2025-01-13 01:52:01] Production.INFO: neon service started
[2025-01-13 01:52:01] Production.INFO: ==19683== Releasing lock...
[2025-01-13 01:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:52:02] Production.INFO: ==19685== Lock acquired, processing the job...
[2025-01-12 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:52:02] Production.INFO: ==19687== Lock acquired, processing the job...
[2025-01-13 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:52:02] Production.INFO: ==19687== Releasing lock...
[2025-01-13 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:52:02] Production.INFO: ==19685== Releasing lock...
[2025-01-12 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:52:03] Production.INFO: ==19694== Lock acquired, processing the job...
[2025-01-12 20:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:52:03] Production.INFO: ==19690== Lock acquired, processing the job...
[2025-01-12 20:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:52:03] Production.INFO: ==19698== Lock acquired, processing the job...
[2025-01-12 20:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:52:03] Production.INFO: ==19692== Lock acquired, processing the job...
[2025-01-12 20:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:52:04] Production.INFO: ==19696== Lock acquired, processing the job...
[2025-01-12 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:52:04] Production.INFO: ==19700== Lock acquired, processing the job...
[2025-01-12 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:52:04] Production.INFO: Account Balance Start.
[2025-01-12 20:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:52:04] Production.INFO: 117
[2025-01-12 20:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:52:04] Production.INFO: count ==21
[2025-01-12 20:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:52:04] Production.INFO: count ==21
[2025-01-12 20:52:04] Production.ERROR: done
[2025-01-12 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234166') start
[2025-01-12 20:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:52:04] Production.INFO: Total Charge 0
[2025-01-12 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234166') end
[2025-01-12 20:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:52:04] Production.INFO: 1
[2025-01-12 20:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:52:04] Production.INFO: ==19692== Releasing lock...
[2025-01-12 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:52:04] Production.ERROR: done
[2025-01-12 20:52:04] Production.INFO: CreateAllLog End
[2025-01-12 20:52:04] Production.INFO: ==19700== Releasing lock...
[2025-01-12 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:52:04] Production.INFO: Account Balance End.
[2025-01-12 20:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:52:04] Production.INFO: ==19696== Releasing lock...
[2025-01-12 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:52:05
[end_date_ymd] => 2025-01-12 20:52:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:52:05' and `end` < '2025-01-12 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-12 20:52:11] Production.ERROR: CronJobId end10
[2025-01-12 20:52:11] Production.INFO: ==19694== Releasing lock...
[2025-01-12 20:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:52:14] Production.INFO: call_cost start
[2025-01-12 20:52:14] Production.INFO: call_cost end
[2025-01-12 20:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:52:15] Production.INFO: ==19690== Releasing lock...
[2025-01-12 20:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:52:19] Production.INFO: count ==1260
[2025-01-12 20:52:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:52:05 - End Time 2025-01-12 20:52:05
[2025-01-12 20:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234167', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234167', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234167', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234167', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:52:19] Production.INFO: ProcessCDR(1,14234167,1,1,2)
[2025-01-12 20:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:52:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:52:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234167', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234167', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:52:24] Production.INFO: ==19698== Releasing lock...
[2025-01-12 20:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:52:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-13 01:53:01] Production.INFO: ==19765== Lock acquired, processing the job...
[2025-01-13 01:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:53:01] Production.INFO: neon service started
[2025-01-13 01:53:01] Production.INFO: neon service started
[2025-01-13 01:53:01] Production.INFO: ==19765== Releasing lock...
[2025-01-13 01:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:53:01] Production.INFO: ==19769== Lock acquired, processing the job...
[2025-01-13 01:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:53:01] Production.INFO: ==19769== Releasing lock...
[2025-01-13 01:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:53:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:53:01] Production.INFO: ==19767== Lock acquired, processing the job...
[2025-01-12 20:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:53:02] Production.INFO: ==19767== Releasing lock...
[2025-01-12 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:53:02] Production.INFO: ==19774== Lock acquired, processing the job...
[2025-01-12 20:53:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:53:03] Production.INFO: ==19782== Lock acquired, processing the job...
[2025-01-12 20:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:53:03] Production.INFO: ==19774== Releasing lock...
[2025-01-12 20:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:53:03] Production.INFO: ==19772== Lock acquired, processing the job...
[2025-01-12 20:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:53:03] Production.INFO: count ==21
[2025-01-12 20:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:53:03] Production.INFO: ==19776== Lock acquired, processing the job...
[2025-01-12 20:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:53:03] Production.INFO: count ==21
[2025-01-12 20:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234169') start
[2025-01-12 20:53:03] Production.INFO: ==19778== Lock acquired, processing the job...
[2025-01-12 20:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:53:03] Production.INFO: ==19780== Lock acquired, processing the job...
[2025-01-12 20:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234169') end
[2025-01-12 20:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:53:03] Production.INFO: 1
[2025-01-12 20:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:53:03] Production.INFO: ==19782== Releasing lock...
[2025-01-12 20:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:53:03] Production.INFO: Account Balance Start.
[2025-01-12 20:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:53:03] Production.INFO: 117
[2025-01-12 20:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:53:03] Production.ERROR: done
[2025-01-12 20:53:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:53:03] Production.INFO: Total Charge 0
[2025-01-12 20:53:03] Production.INFO: CreateAllLog End
[2025-01-12 20:53:04] Production.ERROR: done
[2025-01-12 20:53:04] Production.INFO: Account Balance End.
[2025-01-12 20:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:53:04] Production.INFO: ==19778== Releasing lock...
[2025-01-12 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:53:05
[end_date_ymd] => 2025-01-12 20:53:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:53:05' and `end` < '2025-01-12 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-12 20:53:11] Production.ERROR: CronJobId end10
[2025-01-12 20:53:11] Production.INFO: ==19776== Releasing lock...
[2025-01-12 20:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:53:13] Production.INFO: call_cost start
[2025-01-12 20:53:13] Production.INFO: call_cost end
[2025-01-12 20:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:53:14] Production.INFO: ==19772== Releasing lock...
[2025-01-12 20:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:53:18] Production.INFO: count ==1260
[2025-01-12 20:53:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:53:05 - End Time 2025-01-12 20:53:05
[2025-01-12 20:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234172', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234172', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234172', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234172', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:53:18] Production.INFO: ProcessCDR(1,14234172,1,1,2)
[2025-01-12 20:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234172', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234172', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:53:23] Production.INFO: ==19780== Releasing lock...
[2025-01-12 20:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:53:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-13 01:54:01] Production.INFO: ==19845== Lock acquired, processing the job...
[2025-01-13 01:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:54:01] Production.INFO: neon service started
[2025-01-13 01:54:01] Production.INFO: neon service started
[2025-01-13 01:54:01] Production.INFO: ==19845== Releasing lock...
[2025-01-13 01:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:54:02] Production.INFO: ==19847== Lock acquired, processing the job...
[2025-01-12 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:54:02] Production.INFO: ==19847== Releasing lock...
[2025-01-12 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:54:02] Production.INFO: ==19849== Lock acquired, processing the job...
[2025-01-13 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:54:02] Production.INFO: ==19849== Releasing lock...
[2025-01-13 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:54:03] Production.INFO: ==19862== Lock acquired, processing the job...
[2025-01-12 20:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:54:03] Production.INFO: ==19857== Lock acquired, processing the job...
[2025-01-12 20:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:54:03] Production.INFO: ==19853== Lock acquired, processing the job...
[2025-01-12 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:54:03] Production.INFO: Account Balance Start.
[2025-01-12 20:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:54:03] Production.INFO: 117
[2025-01-12 20:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 20:54:03] Production.INFO: ==19855== Lock acquired, processing the job...
[2025-01-12 20:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:54:03] Production.INFO: ==19851== Lock acquired, processing the job...
[2025-01-12 20:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:54:03] Production.INFO: count ==21
[2025-01-12 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 20:54:03] Production.INFO: ==19859== Lock acquired, processing the job...
[2025-01-12 20:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:54:03] Production.INFO: count ==21
[2025-01-12 20:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234173') start
[2025-01-12 20:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:54:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:54:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234173') end
[2025-01-12 20:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:54:03] Production.INFO: 1
[2025-01-12 20:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:54:03] Production.INFO: Total Charge 0
[2025-01-12 20:54:03] Production.INFO: CreateAllLog End
[2025-01-12 20:54:03] Production.INFO: ==19853== Releasing lock...
[2025-01-12 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:54:03] Production.INFO: ==19862== Releasing lock...
[2025-01-12 20:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:54:04] Production.INFO: Account Balance End.
[2025-01-12 20:54:04] Production.ERROR: done
[2025-01-12 20:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:54:04] Production.INFO: ==19857== Releasing lock...
[2025-01-12 20:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:54:04] Production.ERROR: done
[2025-01-12 20:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:54:05
[end_date_ymd] => 2025-01-12 20:54:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:54:05' and `end` < '2025-01-12 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-12 20:54:10] Production.ERROR: CronJobId end10
[2025-01-12 20:54:10] Production.INFO: ==19855== Releasing lock...
[2025-01-12 20:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:54:13] Production.INFO: call_cost start
[2025-01-12 20:54:13] Production.INFO: call_cost end
[2025-01-12 20:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:54:14] Production.INFO: ==19851== Releasing lock...
[2025-01-12 20:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:54:18] Production.INFO: count ==1260
[2025-01-12 20:54:18] Production.ERROR: pbx CDR StartTime 2025-01-12 17:54:05 - End Time 2025-01-12 20:54:05
[2025-01-12 20:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234177', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234177', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234177', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234177', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:54:18] Production.INFO: ProcessCDR(1,14234177,1,1,2)
[2025-01-12 20:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234177', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234177', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:54:23] Production.INFO: ==19859== Releasing lock...
[2025-01-12 20:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:54:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-13 01:55:02] Production.INFO: ==19923== Lock acquired, processing the job...
[2025-01-13 01:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:55:02] Production.INFO: neon service started
[2025-01-13 01:55:02] Production.INFO: neon service started
[2025-01-13 01:55:02] Production.INFO: ==19923== Releasing lock...
[2025-01-13 01:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:55:03] Production.INFO: ==19928== Lock acquired, processing the job...
[2025-01-12 20:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:55:03] Production.INFO: ==19930== Lock acquired, processing the job...
[2025-01-13 01:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:55:03] Production.INFO: ==19930== Releasing lock...
[2025-01-13 01:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:55:03] Production.INFO: ==19928== Releasing lock...
[2025-01-12 20:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:55:04] Production.INFO: ==19934== Lock acquired, processing the job...
[2025-01-12 20:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:55:04] Production.INFO: ==19936== Lock acquired, processing the job...
[2025-01-12 20:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:55:04] Production.INFO: ==19938== Lock acquired, processing the job...
[2025-01-12 20:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:55:04] Production.INFO: Account Balance Start.
[2025-01-12 20:55:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:55:04] Production.INFO: 117
[2025-01-12 20:55:04] Production.INFO: ==19934== Releasing lock...
[2025-01-12 20:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:55:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:55:04] Production.INFO: ==19932== Lock acquired, processing the job...
[2025-01-12 20:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:55:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:55:04] Production.INFO: ==19940== Lock acquired, processing the job...
[2025-01-12 20:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:55:04] Production.INFO: ==19943== Lock acquired, processing the job...
[2025-01-12 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:55:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:55:05] Production.INFO: Date 2025-01-11
[2025-01-12 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-12 20:55:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:55:05] Production.INFO: count ==21
[2025-01-12 20:55:05] Production.INFO: Date 2025-01-12
[2025-01-12 20:55:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:55:05] Production.INFO: count ==21
[2025-01-12 20:55:05] Production.INFO: Reseller ==> 0
[2025-01-12 20:55:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234181') start
[2025-01-12 20:55:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234181') end
[2025-01-12 20:55:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:55:05] Production.INFO: 1
[2025-01-12 20:55:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:55:05] Production.INFO: Total Charge 0
[2025-01-12 20:55:05] Production.ERROR: done
[2025-01-12 20:55:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:55:05] Production.INFO: CreateAllLog End
[2025-01-12 20:55:05] Production.INFO: ==19943== Releasing lock...
[2025-01-12 20:55:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:55:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:55:05] Production.INFO: Account Balance End.
[2025-01-12 20:55:05] Production.ERROR: done
[2025-01-12 20:55:05] Production.ERROR: CronJobId end 12
[2025-01-12 20:55:05] Production.INFO: ==19938== Releasing lock...
[2025-01-12 20:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:55:06
[end_date_ymd] => 2025-01-12 20:55:06
[RateCDR] => 1
)
[2025-01-12 20: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-12 17:55:06' and `end` < '2025-01-12 20: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-12 20:55:12] Production.ERROR: CronJobId end10
[2025-01-12 20:55:12] Production.INFO: ==19936== Releasing lock...
[2025-01-12 20:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:55:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:55:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:55:14] Production.INFO: call_cost start
[2025-01-12 20:55:14] Production.INFO: call_cost end
[2025-01-12 20:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:55:15] Production.INFO: ==19932== Releasing lock...
[2025-01-12 20:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:55:21] Production.INFO: count ==1265
[2025-01-12 20:55:21] Production.ERROR: pbx CDR StartTime 2025-01-12 17:55:06 - End Time 2025-01-12 20:55:06
[2025-01-12 20:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234182', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234182', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234182', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234182', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:55:21] Production.INFO: ProcessCDR(1,14234182,1,1,2)
[2025-01-12 20:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234182', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234182', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:55:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:55:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:55:26] Production.INFO: ==19940== Releasing lock...
[2025-01-12 20:55:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:55:26] Production.INFO: 37.25 MB #Memory Used#
[2025-01-13 01:56:01] Production.INFO: ==20002== Lock acquired, processing the job...
[2025-01-13 01:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:56:01] Production.INFO: neon service started
[2025-01-13 01:56:01] Production.INFO: neon service started
[2025-01-13 01:56:01] Production.INFO: ==20002== Releasing lock...
[2025-01-13 01:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:56:02] Production.INFO: ==20004== Lock acquired, processing the job...
[2025-01-12 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:56:02] Production.INFO: ==20004== Releasing lock...
[2025-01-12 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:56:02] Production.INFO: ==20006== Lock acquired, processing the job...
[2025-01-13 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:56:02] Production.INFO: ==20006== Releasing lock...
[2025-01-13 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:56:03] Production.INFO: ==20015== Lock acquired, processing the job...
[2025-01-12 20:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:56:03] Production.INFO: ==20019== Lock acquired, processing the job...
[2025-01-12 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:56:03] Production.INFO: ==20009== Lock acquired, processing the job...
[2025-01-12 20:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:56:03] Production.INFO: Account Balance Start.
[2025-01-12 20:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:56:03] Production.INFO: 117
[2025-01-12 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-12 20:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:56:03] Production.INFO: ==20011== Lock acquired, processing the job...
[2025-01-12 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:56:03] Production.INFO: count ==21
[2025-01-12 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-12 20:56:03] Production.INFO: count ==21
[2025-01-12 20:56:03] Production.INFO: ==20013== Lock acquired, processing the job...
[2025-01-12 20:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234185') start
[2025-01-12 20:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:56:03] Production.INFO: ==20017== Lock acquired, processing the job...
[2025-01-12 20:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:56:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234185') end
[2025-01-12 20:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:56:04] Production.INFO: 1
[2025-01-12 20:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:56:04] Production.INFO: ==20019== Releasing lock...
[2025-01-12 20:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:56:04] Production.INFO: Total Charge 0
[2025-01-12 20:56:04] Production.INFO: CreateAllLog End
[2025-01-12 20:56:04] Production.INFO: ==20011== Releasing lock...
[2025-01-12 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:56:04] Production.INFO: Account Balance End.
[2025-01-12 20:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:56:04] Production.INFO: ==20015== Releasing lock...
[2025-01-12 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:56:04] Production.ERROR: done
[2025-01-12 20:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:56:04] Production.ERROR: done
[2025-01-12 20:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:56:05
[end_date_ymd] => 2025-01-12 20:56:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:56:05' and `end` < '2025-01-12 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-12 20:56:12] Production.ERROR: CronJobId end10
[2025-01-12 20:56:12] Production.INFO: ==20013== Releasing lock...
[2025-01-12 20:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:56:14] Production.INFO: call_cost start
[2025-01-12 20:56:14] Production.INFO: call_cost end
[2025-01-12 20:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:56:14] Production.INFO: ==20009== Releasing lock...
[2025-01-12 20:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:56:19] Production.INFO: count ==1264
[2025-01-12 20:56:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:56:05 - End Time 2025-01-12 20:56:05
[2025-01-12 20:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234187', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234187', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234187', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234187', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:56:19] Production.INFO: ProcessCDR(1,14234187,1,1,2)
[2025-01-12 20:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234187', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234187', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:56:23] Production.INFO: ==20017== Releasing lock...
[2025-01-12 20:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:56:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 01:57:01] Production.INFO: ==20085== Lock acquired, processing the job...
[2025-01-13 01:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:57:01] Production.INFO: neon service started
[2025-01-13 01:57:01] Production.INFO: neon service started
[2025-01-13 01:57:01] Production.INFO: ==20085== Releasing lock...
[2025-01-13 01:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:57:01] Production.INFO: ==20087== Lock acquired, processing the job...
[2025-01-12 20:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:57:02] Production.INFO: ==20089== Lock acquired, processing the job...
[2025-01-13 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:57:02] Production.INFO: ==20087== Releasing lock...
[2025-01-12 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:57:02] Production.INFO: ==20089== Releasing lock...
[2025-01-13 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:57:02] Production.INFO: ==20100== Lock acquired, processing the job...
[2025-01-12 20:57:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:57:03] Production.INFO: ==20102== Lock acquired, processing the job...
[2025-01-12 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:57:03] Production.INFO: count ==21
[2025-01-12 20:57:03] Production.INFO: ==20093== Lock acquired, processing the job...
[2025-01-12 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:57:03] Production.INFO: ==20091== Lock acquired, processing the job...
[2025-01-12 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:57:03] Production.INFO: count ==21
[2025-01-12 20:57:03] Production.INFO: ==20095== Lock acquired, processing the job...
[2025-01-12 20:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:57:03] Production.INFO: ==20097== Lock acquired, processing the job...
[2025-01-12 20:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234188') start
[2025-01-12 20:57:03] Production.ERROR: done
[2025-01-12 20:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:57:03] Production.INFO: Account Balance Start.
[2025-01-12 20:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:57:03] Production.INFO: 117
[2025-01-12 20:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:57:03] Production.ERROR: done
[2025-01-12 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234188') end
[2025-01-12 20:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:57:03] Production.INFO: 1
[2025-01-12 20:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:57:03] Production.INFO: ==20102== Releasing lock...
[2025-01-12 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:57:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:57:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:57:03] Production.INFO: ==20093== Releasing lock...
[2025-01-12 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:57:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:57:03] Production.INFO: Total Charge 0
[2025-01-12 20:57:03] Production.INFO: CreateAllLog End
[2025-01-12 20:57:03] Production.INFO: Account Balance End.
[2025-01-12 20:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:57:04] Production.INFO: ==20097== Releasing lock...
[2025-01-12 20:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:57:04
[end_date_ymd] => 2025-01-12 20:57:04
[RateCDR] => 1
)
[2025-01-12 20:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:57:04' and `end` < '2025-01-12 20:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:57:11] Production.ERROR: CronJobId end10
[2025-01-12 20:57:11] Production.INFO: ==20095== Releasing lock...
[2025-01-12 20:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:57:13] Production.INFO: call_cost start
[2025-01-12 20:57:13] Production.INFO: call_cost end
[2025-01-12 20:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:57:14] Production.INFO: ==20091== Releasing lock...
[2025-01-12 20:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:57:17] Production.INFO: count ==1261
[2025-01-12 20:57:17] Production.ERROR: pbx CDR StartTime 2025-01-12 17:57:04 - End Time 2025-01-12 20:57:04
[2025-01-12 20:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234192', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234192', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234192', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234192', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:57:17] Production.INFO: ProcessCDR(1,14234192,1,1,2)
[2025-01-12 20:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234192', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234192', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:57:20] Production.INFO: ==20100== Releasing lock...
[2025-01-12 20:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:57:20] Production.INFO: 37.25 MB #Memory Used#
[2025-01-13 01:58:01] Production.INFO: ==20166== Lock acquired, processing the job...
[2025-01-13 01:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:58:01] Production.INFO: neon service started
[2025-01-13 01:58:01] Production.INFO: neon service started
[2025-01-13 01:58:01] Production.INFO: ==20166== Releasing lock...
[2025-01-13 01:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:58:02] Production.INFO: ==20168== Lock acquired, processing the job...
[2025-01-12 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:58:02] Production.INFO: ==20170== Lock acquired, processing the job...
[2025-01-13 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:58:02] Production.INFO: ==20170== Releasing lock...
[2025-01-13 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:58:02] Production.INFO: ==20168== Releasing lock...
[2025-01-12 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:58:03] Production.INFO: ==20172== Lock acquired, processing the job...
[2025-01-12 20:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:58:03] Production.INFO: ==20178== Lock acquired, processing the job...
[2025-01-12 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:58:03] Production.INFO: ==20174== Lock acquired, processing the job...
[2025-01-12 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:58:03] Production.INFO: ==20180== Lock acquired, processing the job...
[2025-01-12 20:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:58:03] Production.INFO: ==20176== Lock acquired, processing the job...
[2025-01-12 20:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:58:03] Production.INFO: Account Balance Start.
[2025-01-12 20:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 20:58:03] Production.INFO: 117
[2025-01-12 20:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 20:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 20:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 20:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:58:03] Production.INFO: ==20182== Lock acquired, processing the job...
[2025-01-12 20:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 20:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:58:03] Production.ERROR: done
[2025-01-12 20:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 20:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 20:58:04] Production.INFO: ==20174== Releasing lock...
[2025-01-12 20:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:58:04] Production.INFO: Total Charge 0
[2025-01-12 20:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:58:04] Production.ERROR: done
[2025-01-12 20:58:04] Production.INFO: CreateAllLog End
[2025-01-12 20:58:04] Production.INFO: count ==21
[2025-01-12 20:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:58:04] Production.INFO: count ==21
[2025-01-12 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234196') start
[2025-01-12 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234196') end
[2025-01-12 20:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:58:04] Production.INFO: 1
[2025-01-12 20:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:58:04] Production.INFO: Account Balance End.
[2025-01-12 20:58:04] Production.INFO: ==20182== Releasing lock...
[2025-01-12 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 20:58:04] Production.INFO: ==20178== Releasing lock...
[2025-01-12 20:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:58:05
[end_date_ymd] => 2025-01-12 20:58:05
[RateCDR] => 1
)
[2025-01-12 20:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 17:58:05' and `end` < '2025-01-12 20:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 20:58:10] Production.ERROR: CronJobId end10
[2025-01-12 20:58:10] Production.INFO: ==20176== Releasing lock...
[2025-01-12 20:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:58:13] Production.INFO: call_cost start
[2025-01-12 20:58:13] Production.INFO: call_cost end
[2025-01-12 20:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:58:13] Production.INFO: ==20172== Releasing lock...
[2025-01-12 20:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:58:19] Production.INFO: count ==1261
[2025-01-12 20:58:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:58:05 - End Time 2025-01-12 20:58:05
[2025-01-12 20:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234197', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234197', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234197', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234197', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:58:19] Production.INFO: ProcessCDR(1,14234197,1,1,2)
[2025-01-12 20:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234197', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234197', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:58:22] Production.INFO: ==20180== Releasing lock...
[2025-01-12 20:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:58:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-13 01:59:02] Production.INFO: ==20246== Lock acquired, processing the job...
[2025-01-13 01:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 01:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 01:59:02] Production.INFO: neon service started
[2025-01-13 01:59:02] Production.INFO: neon service started
[2025-01-13 01:59:02] Production.INFO: ==20246== Releasing lock...
[2025-01-13 01:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 01:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:59:02] Production.INFO: ==20248== Lock acquired, processing the job...
[2025-01-12 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:59:02] Production.INFO: ==20250== Lock acquired, processing the job...
[2025-01-13 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:59:03] Production.INFO: ==20250== Releasing lock...
[2025-01-13 01:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 01:59:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 20:59:03] Production.INFO: ==20248== Releasing lock...
[2025-01-12 20:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 20:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:59:03] Production.INFO: ==20255== Lock acquired, processing the job...
[2025-01-12 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 20:59:04] Production.INFO: ==20253== Lock acquired, processing the job...
[2025-01-12 20:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 20:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 20:59:04] Production.INFO: ==20261== Lock acquired, processing the job...
[2025-01-12 20:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 20:59:04] Production.INFO: ==20257== Lock acquired, processing the job...
[2025-01-12 20:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 20:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 20:59:04] Production.INFO: ==20255== Releasing lock...
[2025-01-12 20:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 20:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 20:59:04] Production.INFO: ==20259== Lock acquired, processing the job...
[2025-01-12 20:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 20:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 20:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 20:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 20:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 20:59:04] Production.INFO: ==20263== Lock acquired, processing the job...
[2025-01-12 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 20:59:04] Production.INFO: Account Balance Start.
[2025-01-12 20:59:04] Production.INFO: CreateAllLog Start
[2025-01-12 20:59:04] Production.INFO: 117
[2025-01-12 20:59:04] Production.INFO: Date 2025-01-08
[2025-01-12 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:59:04] Production.INFO: count ==21
[2025-01-12 20:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 20:59:04] Production.INFO: Date 2025-01-09
[2025-01-12 20:59:04] Production.INFO: count ==21
[2025-01-12 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234201') start
[2025-01-12 20:59:04] Production.ERROR: done
[2025-01-12 20:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 20:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 20:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234201') end
[2025-01-12 20:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 20:59:04] Production.INFO: 1
[2025-01-12 20:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 20:59:04] Production.INFO: Total Charge 0
[2025-01-12 20:59:04] Production.ERROR: done
[2025-01-12 20:59:04] Production.INFO: CreateAllLog End
[2025-01-12 20:59:04] Production.INFO: ==20263== Releasing lock...
[2025-01-12 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 20:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 20:59:05] Production.INFO: Account Balance End.
[2025-01-12 20:59:05] Production.ERROR: CronJobId end 12
[2025-01-12 20:59:05] Production.INFO: ==20259== Releasing lock...
[2025-01-12 20:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 20:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 20:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 17:59:05
[end_date_ymd] => 2025-01-12 20:59:05
[RateCDR] => 1
)
[2025-01-12 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-12 17:59:05' and `end` < '2025-01-12 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-12 20:59:12] Production.ERROR: CronJobId end10
[2025-01-12 20:59:12] Production.INFO: ==20257== Releasing lock...
[2025-01-12 20:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 20:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 20:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 20:59:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 20:59:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 20:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 20:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 20:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 20:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 20:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 20:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 20:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 20:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 20:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 20:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 20:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 20:59:14] Production.INFO: call_cost start
[2025-01-12 20:59:14] Production.INFO: call_cost end
[2025-01-12 20:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 20:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 20:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 20:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 20:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 20:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 20:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 20:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 20:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 20:59:15] Production.INFO: ==20253== Releasing lock...
[2025-01-12 20:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 20:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 20:59:19] Production.INFO: count ==1261
[2025-01-12 20:59:19] Production.ERROR: pbx CDR StartTime 2025-01-12 17:59:05 - End Time 2025-01-12 20:59:05
[2025-01-12 20:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 20:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234202', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234202', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234202', 'tblTempVendorCDR_20' ) start
[2025-01-12 20:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234202', 'tblTempVendorCDR_20' ) end
[2025-01-12 20:59:19] Production.INFO: ProcessCDR(1,14234202,1,1,2)
[2025-01-12 20:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 20:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 20:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234202', 'tblTempUsageDetail_20' ) start
[2025-01-12 20:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234202', 'tblTempUsageDetail_20' ) end
[2025-01-12 20:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 20:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 20:59:22] Production.INFO: ==20261== Releasing lock...
[2025-01-12 20:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 20:59:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-13 02:00:01] Production.INFO: ==20324== Lock acquired, processing the job...
[2025-01-13 02:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:00:01] Production.INFO: neon service started
[2025-01-13 02:00:01] Production.INFO: neon service started
[2025-01-13 02:00:01] Production.INFO: ==20324== Releasing lock...
[2025-01-13 02:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:00:02] Production.INFO: ==20328== Lock acquired, processing the job...
[2025-01-13 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:00:02] Production.INFO: ==20328== Releasing lock...
[2025-01-13 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:00:02] Production.INFO: ==20326== Lock acquired, processing the job...
[2025-01-12 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:00:02] Production.INFO: ==20326== Releasing lock...
[2025-01-12 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:00:03] Production.INFO: ==20335== Lock acquired, processing the job...
[2025-01-12 21:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:00:03] Production.INFO: ==20337== Lock acquired, processing the job...
[2025-01-12 21:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:00:03] Production.INFO: ==20341== Lock acquired, processing the job...
[2025-01-12 21:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:00:03] Production.INFO: ==20331== Lock acquired, processing the job...
[2025-01-12 21:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 21:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 21:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 21:00:03] Production.ERROR: CronJob PID - 20335
[2025-01-12 21:00:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 21:00:03] Production.ERROR: CronJob ID - 7
[2025-01-12 21:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 21:00:00
[2025-01-12 21:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 21:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 21:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 21:00:03] Production.ERROR: CronJob PID - 20337
[2025-01-12 21:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 21:00:03] Production.ERROR: CronJob ID - 10
[2025-01-12 21:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 21:00:00
[2025-01-12 21:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 21:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 21:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 21:00:03] Production.ERROR: CronJob PID - 20341
[2025-01-12 21:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 21:00:03] Production.ERROR: CronJob ID - 16
[2025-01-12 21:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 21:00:00
[2025-01-12 21:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 21:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 21:00:03] Production.INFO: ==20333== Lock acquired, processing the job...
[2025-01-12 21:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 21:00:04] Production.INFO: ==20331== Releasing lock...
[2025-01-12 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 21:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 21:00:04] Production.INFO: ==20335== Releasing lock...
[2025-01-12 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:00:04] Production.INFO: ==20339== Lock acquired, processing the job...
[2025-01-12 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:00:04] Production.INFO: ==20343== Lock acquired, processing the job...
[2025-01-12 21:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 21:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:00:04] Production.INFO: ==20345== Lock acquired, processing the job...
[2025-01-12 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:00:04] Production.ERROR: done
[2025-01-12 21:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:00:04] Production.INFO: Account Balance Start.
[2025-01-12 21:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:00:04] Production.INFO: 117
[2025-01-12 21:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 21:00:04] Production.ERROR: done
[2025-01-12 21:00:04] Production.INFO: count ==21
[2025-01-12 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-12 21:00:04] Production.INFO: count ==21
[2025-01-12 21:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234206') start
[2025-01-12 21:00:04] Production.ERROR: done
[2025-01-12 21:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234206') end
[2025-01-12 21:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:00:04] Production.INFO: 1
[2025-01-12 21:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:00:04] Production.INFO: ==20345== Releasing lock...
[2025-01-12 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 21:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234208', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 21:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:00:04] Production.INFO: Total Charge 0
[2025-01-12 21:00:05] Production.INFO: CreateAllLog End
[2025-01-12 21:00:05] Production.INFO: Account Balance End.
[2025-01-12 21:00:05] Production.ERROR: CronJobId end 12
[2025-01-12 21:00:05] Production.INFO: ==20339== Releasing lock...
[2025-01-12 21:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:00:05
[end_date_ymd] => 2025-01-12 21:00:05
[RateCDR] => 1
)
[2025-01-12 21:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:00:05' and `end` < '2025-01-12 21:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234208', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 21:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 21:00:09] Production.INFO: ProcessCDR(1,14234208,1,1,2)
[2025-01-12 21:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234208,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234208,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:00:09] Production.INFO: ==20343== Releasing lock...
[2025-01-12 21:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 21:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 21:00:15] Production.ERROR: CronJobId end10
[2025-01-12 21:00:15] Production.INFO: ==20337== Releasing lock...
[2025-01-12 21:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:00:17] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:00:17] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:00:17] Production.INFO: call_cost start
[2025-01-12 21:00:17] Production.INFO: call_cost end
[2025-01-12 21:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:00:18] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:00:18] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:00:18] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:00:18] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:00:18] Production.INFO: ==20333== Releasing lock...
[2025-01-12 21:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:00:19] Production.INFO: count ==1264
[2025-01-12 21:00:19] Production.ERROR: pbx CDR StartTime 2025-01-12 18:00:05 - End Time 2025-01-12 21:00:05
[2025-01-12 21:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234207', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234207', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234207', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234207', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:00:19] Production.INFO: ProcessCDR(1,14234207,1,1,2)
[2025-01-12 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234207', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234207', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:00:24] Production.INFO: ==20341== Releasing lock...
[2025-01-12 21:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:00:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-13 02:01:02] Production.INFO: ==20411== Lock acquired, processing the job...
[2025-01-13 02:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:01:02] Production.INFO: neon service started
[2025-01-13 02:01:02] Production.INFO: neon service started
[2025-01-13 02:01:02] Production.INFO: ==20411== Releasing lock...
[2025-01-13 02:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:01:02] Production.INFO: ==20424== Lock acquired, processing the job...
[2025-01-12 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:01:02] Production.INFO: ==20426== Lock acquired, processing the job...
[2025-01-13 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:01:02] Production.INFO: ==20426== Releasing lock...
[2025-01-13 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:01:02] Production.INFO: ==20424== Releasing lock...
[2025-01-12 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:01:03] Production.INFO: ==20437== Lock acquired, processing the job...
[2025-01-12 21:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:01:03] Production.INFO: ==20429== Lock acquired, processing the job...
[2025-01-12 21:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:01:03] Production.INFO: ==20439== Lock acquired, processing the job...
[2025-01-12 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:01:03] Production.INFO: ==20431== Lock acquired, processing the job...
[2025-01-12 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:01:03] Production.INFO: ==20433== Lock acquired, processing the job...
[2025-01-12 21:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:01:03] Production.INFO: ==20435== Lock acquired, processing the job...
[2025-01-12 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 21:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:01:04] Production.INFO: count ==21
[2025-01-12 21:01:04] Production.ERROR: done
[2025-01-12 21:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:01:04] Production.INFO: count ==21
[2025-01-12 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234209') start
[2025-01-12 21:01:04] Production.INFO: Account Balance Start.
[2025-01-12 21:01:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:01:04] Production.INFO: 117
[2025-01-12 21:01:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:01:04] Production.ERROR: done
[2025-01-12 21:01:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:01:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:01:04] Production.INFO: ==20431== Releasing lock...
[2025-01-12 21:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234209') end
[2025-01-12 21:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:01:04] Production.INFO: 1
[2025-01-12 21:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:01:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:01:04] Production.INFO: ==20439== Releasing lock...
[2025-01-12 21:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:01:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:01:04] Production.INFO: Total Charge 0
[2025-01-12 21:01:04] Production.INFO: CreateAllLog End
[2025-01-12 21:01:04] Production.INFO: Account Balance End.
[2025-01-12 21:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:01:04] Production.INFO: ==20435== Releasing lock...
[2025-01-12 21:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:01:05
[end_date_ymd] => 2025-01-12 21:01:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:01:05' and `end` < '2025-01-12 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-12 21:01:11] Production.ERROR: CronJobId end10
[2025-01-12 21:01:11] Production.INFO: ==20433== Releasing lock...
[2025-01-12 21:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:01:14] Production.INFO: call_cost start
[2025-01-12 21:01:14] Production.INFO: call_cost end
[2025-01-12 21:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:01:15] Production.INFO: ==20429== Releasing lock...
[2025-01-12 21:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:01:19] Production.INFO: count ==1230
[2025-01-12 21:01:19] Production.ERROR: pbx CDR StartTime 2025-01-12 18:01:05 - End Time 2025-01-12 21:01:05
[2025-01-12 21:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234213', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234213', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234213', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234213', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:01:19] Production.INFO: ProcessCDR(1,14234213,1,1,2)
[2025-01-12 21:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234213', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234213', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:01:22] Production.INFO: ==20437== Releasing lock...
[2025-01-12 21:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:01:22] Production.INFO: 37 MB #Memory Used#
[2025-01-13 02:02:01] Production.INFO: ==20539== Lock acquired, processing the job...
[2025-01-13 02:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:02:01] Production.INFO: neon service started
[2025-01-13 02:02:01] Production.INFO: neon service started
[2025-01-13 02:02:01] Production.INFO: ==20539== Releasing lock...
[2025-01-13 02:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:02:01] Production.INFO: ==20542== Lock acquired, processing the job...
[2025-01-12 21:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:02:02] Production.INFO: ==20542== Releasing lock...
[2025-01-12 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:02:02] Production.INFO: ==20544== Lock acquired, processing the job...
[2025-01-13 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:02:02] Production.INFO: ==20544== Releasing lock...
[2025-01-13 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:02:03] Production.INFO: ==20547== Lock acquired, processing the job...
[2025-01-12 21:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:02:03] Production.INFO: ==20551== Lock acquired, processing the job...
[2025-01-12 21:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:02:03] Production.INFO: ==20553== Lock acquired, processing the job...
[2025-01-12 21:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:02:03] Production.INFO: ==20549== Lock acquired, processing the job...
[2025-01-12 21:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:02:03] Production.INFO: Account Balance Start.
[2025-01-12 21:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:02:03] Production.INFO: 117
[2025-01-12 21:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:02:03] Production.INFO: ==20555== Lock acquired, processing the job...
[2025-01-12 21:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:02:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:02:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:02:03] Production.INFO: ==20557== Lock acquired, processing the job...
[2025-01-12 21:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:02:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:02:03] Production.INFO: Total Charge 0
[2025-01-12 21:02:03] Production.INFO: CreateAllLog End
[2025-01-12 21:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:02:03] Production.INFO: ==20549== Releasing lock...
[2025-01-12 21:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:02:03] Production.INFO: count ==21
[2025-01-12 21:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:02:03] Production.INFO: count ==21
[2025-01-12 21:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234217') start
[2025-01-12 21:02:03] Production.ERROR: done
[2025-01-12 21:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:02:03] Production.INFO: Account Balance End.
[2025-01-12 21:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234217') end
[2025-01-12 21:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:02:03] Production.INFO: 1
[2025-01-12 21:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:02:04] Production.INFO: ==20557== Releasing lock...
[2025-01-12 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:02:04] Production.INFO: ==20553== Releasing lock...
[2025-01-12 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:02:04] Production.ERROR: done
[2025-01-12 21:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:02:05
[end_date_ymd] => 2025-01-12 21:02:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:02:05' and `end` < '2025-01-12 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-12 21:02:10] Production.ERROR: CronJobId end10
[2025-01-12 21:02:10] Production.INFO: ==20551== Releasing lock...
[2025-01-12 21:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:02:13] Production.INFO: call_cost start
[2025-01-12 21:02:13] Production.INFO: call_cost end
[2025-01-12 21:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:02:14] Production.INFO: ==20547== Releasing lock...
[2025-01-12 21:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:02:18] Production.INFO: count ==1230
[2025-01-12 21:02:18] Production.ERROR: pbx CDR StartTime 2025-01-12 18:02:05 - End Time 2025-01-12 21:02:05
[2025-01-12 21:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234218', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234218', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234218', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234218', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:02:18] Production.INFO: ProcessCDR(1,14234218,1,1,2)
[2025-01-12 21:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234218', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234218', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:02:21] Production.INFO: ==20555== Releasing lock...
[2025-01-12 21:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:02:21] Production.INFO: 37 MB #Memory Used#
[2025-01-13 02:03:02] Production.INFO: ==20624== Lock acquired, processing the job...
[2025-01-13 02:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:03:02] Production.INFO: neon service started
[2025-01-13 02:03:02] Production.INFO: neon service started
[2025-01-13 02:03:02] Production.INFO: ==20624== Releasing lock...
[2025-01-13 02:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:03:02] Production.INFO: ==20628== Lock acquired, processing the job...
[2025-01-13 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:03:02] Production.INFO: ==20628== Releasing lock...
[2025-01-13 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:03:02] Production.INFO: ==20626== Lock acquired, processing the job...
[2025-01-12 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:03:02] Production.INFO: ==20626== Releasing lock...
[2025-01-12 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:03:03] Production.INFO: ==20633== Lock acquired, processing the job...
[2025-01-12 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:03:03] Production.INFO: ==20631== Lock acquired, processing the job...
[2025-01-12 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:03:03] Production.INFO: ==20639== Lock acquired, processing the job...
[2025-01-12 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:03:03] Production.INFO: ==20635== Lock acquired, processing the job...
[2025-01-12 21:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:03:03] Production.INFO: ==20637== Lock acquired, processing the job...
[2025-01-12 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:03:03] Production.INFO: ==20633== Releasing lock...
[2025-01-12 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:03:03] Production.INFO: ==20641== Lock acquired, processing the job...
[2025-01-12 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:03:03] Production.INFO: Account Balance Start.
[2025-01-12 21:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:03:03] Production.INFO: 117
[2025-01-12 21:03:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:03:04] Production.ERROR: done
[2025-01-12 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:03:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:03:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:03:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:03:04] Production.ERROR: done
[2025-01-12 21:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:03:04] Production.INFO: Total Charge 0
[2025-01-12 21:03:04] Production.INFO: CreateAllLog End
[2025-01-12 21:03:04] Production.INFO: count ==21
[2025-01-12 21:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:03:04] Production.INFO: count ==21
[2025-01-12 21:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234222') start
[2025-01-12 21:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234222') end
[2025-01-12 21:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:03:04] Production.INFO: 1
[2025-01-12 21:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:03:04] Production.INFO: Account Balance End.
[2025-01-12 21:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:03:04] Production.INFO: ==20637== Releasing lock...
[2025-01-12 21:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:03:04] Production.INFO: ==20641== Releasing lock...
[2025-01-12 21:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:03:05
[end_date_ymd] => 2025-01-12 21:03:05
[RateCDR] => 1
)
[2025-01-12 21:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:03:05' and `end` < '2025-01-12 21:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:03:11] Production.ERROR: CronJobId end10
[2025-01-12 21:03:11] Production.INFO: ==20635== Releasing lock...
[2025-01-12 21:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:03:14] Production.INFO: call_cost start
[2025-01-12 21:03:14] Production.INFO: call_cost end
[2025-01-12 21:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:03:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:03:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:03:15] Production.INFO: ==20631== Releasing lock...
[2025-01-12 21:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:03:18] Production.INFO: count ==1233
[2025-01-12 21:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 18:03:05 - End Time 2025-01-12 21:03:05
[2025-01-12 21:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234223', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234223', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234223', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234223', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:03:18] Production.INFO: ProcessCDR(1,14234223,1,1,2)
[2025-01-12 21:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234223', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234223', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:03:23] Production.INFO: ==20639== Releasing lock...
[2025-01-12 21:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:03:23] Production.INFO: 37 MB #Memory Used#
[2025-01-13 02:04:01] Production.INFO: ==20707== Lock acquired, processing the job...
[2025-01-13 02:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:04:01] Production.INFO: neon service started
[2025-01-13 02:04:01] Production.INFO: neon service started
[2025-01-13 02:04:01] Production.INFO: ==20707== Releasing lock...
[2025-01-13 02:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:04:01] Production.INFO: ==20711== Lock acquired, processing the job...
[2025-01-13 02:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:04:01] Production.INFO: ==20711== Releasing lock...
[2025-01-13 02:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:04:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:04:02] Production.INFO: ==20709== Lock acquired, processing the job...
[2025-01-12 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:04:02] Production.INFO: ==20709== Releasing lock...
[2025-01-12 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:04:03] Production.INFO: ==20716== Lock acquired, processing the job...
[2025-01-12 21:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:04:03] Production.INFO: ==20720== Lock acquired, processing the job...
[2025-01-12 21:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:04:03] Production.INFO: ==20722== Lock acquired, processing the job...
[2025-01-12 21:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:04:03] Production.INFO: Account Balance Start.
[2025-01-12 21:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:04:03] Production.INFO: 117
[2025-01-12 21:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:04:03] Production.INFO: ==20714== Lock acquired, processing the job...
[2025-01-12 21:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:04:03] Production.INFO: Total Charge 0
[2025-01-12 21:04:03] Production.INFO: ==20724== Lock acquired, processing the job...
[2025-01-12 21:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:04:03] Production.INFO: CreateAllLog End
[2025-01-12 21:04:03] Production.INFO: ==20718== Lock acquired, processing the job...
[2025-01-12 21:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:04:03] Production.INFO: ==20716== Releasing lock...
[2025-01-12 21:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:04:03] Production.ERROR: done
[2025-01-12 21:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:04:03] Production.INFO: Account Balance End.
[2025-01-12 21:04:03] Production.INFO: count ==21
[2025-01-12 21:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:04:03] Production.INFO: count ==21
[2025-01-12 21:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234227') start
[2025-01-12 21:04:03] Production.ERROR: CronJobId end 12
[2025-01-12 21:04:03] Production.INFO: ==20720== Releasing lock...
[2025-01-12 21:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:04:03] Production.ERROR: done
[2025-01-12 21:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234227') end
[2025-01-12 21:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:04:03] Production.INFO: 1
[2025-01-12 21:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:04:03] Production.INFO: ==20724== Releasing lock...
[2025-01-12 21:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:04:04
[end_date_ymd] => 2025-01-12 21:04:04
[RateCDR] => 1
)
[2025-01-12 21:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:04:04' and `end` < '2025-01-12 21:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:04:11] Production.ERROR: CronJobId end10
[2025-01-12 21:04:11] Production.INFO: ==20718== Releasing lock...
[2025-01-12 21:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:04:13] Production.INFO: call_cost start
[2025-01-12 21:04:13] Production.INFO: call_cost end
[2025-01-12 21:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:04:14] Production.INFO: ==20714== Releasing lock...
[2025-01-12 21:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:04:17] Production.INFO: count ==1233
[2025-01-12 21:04:18] Production.ERROR: pbx CDR StartTime 2025-01-12 18:04:04 - End Time 2025-01-12 21:04:04
[2025-01-12 21:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234228', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234228', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234228', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234228', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:04:18] Production.INFO: ProcessCDR(1,14234228,1,1,2)
[2025-01-12 21:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234228', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234228', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:04:21] Production.INFO: ==20722== Releasing lock...
[2025-01-12 21:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:04:21] Production.INFO: 37 MB #Memory Used#
[2025-01-13 02:05:01] Production.INFO: ==20783== Lock acquired, processing the job...
[2025-01-13 02:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:05:01] Production.INFO: neon service started
[2025-01-13 02:05:01] Production.INFO: neon service started
[2025-01-13 02:05:01] Production.INFO: ==20783== Releasing lock...
[2025-01-13 02:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:05:02] Production.INFO: ==20786== Lock acquired, processing the job...
[2025-01-12 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:05:02] Production.INFO: ==20788== Lock acquired, processing the job...
[2025-01-13 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:05:02] Production.INFO: ==20786== Releasing lock...
[2025-01-12 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:05:02] Production.INFO: ==20788== Releasing lock...
[2025-01-13 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:05:03] Production.INFO: ==20794== Lock acquired, processing the job...
[2025-01-12 21:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:05:03] Production.INFO: ==20798== Lock acquired, processing the job...
[2025-01-12 21:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:05:03] Production.INFO: ==20796== Lock acquired, processing the job...
[2025-01-12 21:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:05:03] Production.INFO: ==20792== Lock acquired, processing the job...
[2025-01-12 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:05:03] Production.INFO: ==20790== Lock acquired, processing the job...
[2025-01-12 21:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:05:03] Production.INFO: Account Balance Start.
[2025-01-12 21:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:05:03] Production.INFO: 117
[2025-01-12 21:05:03] Production.INFO: ==20801== Lock acquired, processing the job...
[2025-01-12 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 21:05:03] Production.INFO: count ==21
[2025-01-12 21:05:03] Production.ERROR: done
[2025-01-12 21:05:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 21:05:03] Production.INFO: count ==21
[2025-01-12 21:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234231') start
[2025-01-12 21:05:03] Production.INFO: ==20792== Releasing lock...
[2025-01-12 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:05:03] Production.INFO: Total Charge 0
[2025-01-12 21:05:04] Production.INFO: CreateAllLog End
[2025-01-12 21:05:04] Production.ERROR: done
[2025-01-12 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234231') end
[2025-01-12 21:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:05:04] Production.INFO: 1
[2025-01-12 21:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:05:04] Production.INFO: ==20801== Releasing lock...
[2025-01-12 21:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:05:04] Production.INFO: Account Balance End.
[2025-01-12 21:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:05:04] Production.INFO: ==20796== Releasing lock...
[2025-01-12 21:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:05:05
[end_date_ymd] => 2025-01-12 21:05:05
[RateCDR] => 1
)
[2025-01-12 21:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:05:05' and `end` < '2025-01-12 21:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:05:11] Production.ERROR: CronJobId end10
[2025-01-12 21:05:11] Production.INFO: ==20794== Releasing lock...
[2025-01-12 21:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:05:14] Production.INFO: call_cost start
[2025-01-12 21:05:14] Production.INFO: call_cost end
[2025-01-12 21:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:05:15] Production.INFO: ==20790== Releasing lock...
[2025-01-12 21:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:05:18] Production.INFO: count ==1234
[2025-01-12 21:05:18] Production.ERROR: pbx CDR StartTime 2025-01-12 18:05:05 - End Time 2025-01-12 21:05:05
[2025-01-12 21:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234233', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234233', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234233', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234233', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:05:18] Production.INFO: ProcessCDR(1,14234233,1,1,2)
[2025-01-12 21:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234233', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234233', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:05:23] Production.INFO: ==20798== Releasing lock...
[2025-01-12 21:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:05:23] Production.INFO: 37 MB #Memory Used#
[2025-01-13 02:06:02] Production.INFO: ==20863== Lock acquired, processing the job...
[2025-01-13 02:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:06:02] Production.INFO: neon service started
[2025-01-13 02:06:02] Production.INFO: neon service started
[2025-01-13 02:06:02] Production.INFO: ==20863== Releasing lock...
[2025-01-13 02:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:06:02] Production.INFO: ==20867== Lock acquired, processing the job...
[2025-01-13 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:06:02] Production.INFO: ==20867== Releasing lock...
[2025-01-13 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:06:02] Production.INFO: ==20865== Lock acquired, processing the job...
[2025-01-12 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:06:03] Production.INFO: ==20865== Releasing lock...
[2025-01-12 21:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:06:04] Production.INFO: ==20871== Lock acquired, processing the job...
[2025-01-12 21:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:06:04] Production.INFO: ==20869== Lock acquired, processing the job...
[2025-01-12 21:06:04] Production.INFO: regenerateinvoice-command-regenerateinvoice-companyid-1-jobid-10520 #Starts#
[2025-01-12 21:06:04] Production.INFO: ==20873== Lock acquired, processing the job...
[2025-01-12 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:06:04] Production.INFO: ==20877== Lock acquired, processing the job...
[2025-01-12 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:06:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-12 21:06:04] Production.INFO: Regular Invoice Regenerate
[2025-01-12 21:06:04] Production.INFO: BillingCycleType : monthly_anniversary - StartDate : 2024-12-08 - EndDate : 2025-01-07 23:59:59
[2025-01-12 21:06:04] Production.INFO: Invoice::getAccountUsageTotal(1,53,2024-12-08,2025-01-07 23:59:59)
[2025-01-12 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:06:04] Production.INFO: ==20875== Lock acquired, processing the job...
[2025-01-12 21:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:06:04] Production.INFO: ==20880== Lock acquired, processing the job...
[2025-01-12 21:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:06:04] Production.INFO: ==20882== Lock acquired, processing the job...
[2025-01-12 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:06:04] Production.INFO: original start date ==>2024-12-08 changed start date ==>2024-12-08 00:00:00 original end date ==>2025-01-07 23:59:59 changed end date ==>2025-01-07 23:59:59
[2025-01-12 21:06:04] Production.INFO: Account Balance Start.
[2025-01-12 21:06:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:06:04] Production.INFO: 117
[2025-01-12 21:06:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:06:04] Production.INFO: count ==21
[2025-01-12 21:06:04] Production.INFO: ==20873== Releasing lock...
[2025-01-12 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:06:04] Production.INFO: count ==21
[2025-01-12 21:06:04] Production.INFO: CompanyGatewayID 1 TotalCharges ==>0.09000000
[2025-01-12 21:06:04] Production.INFO: TotalCharges - 0.09
[2025-01-12 21:06:04] Production.INFO: TotalUsageCharges - 0.09
[2025-01-12 21:06:04] Production.INFO: TotalSMSCharges - 0.00
[2025-01-12 21:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:06:04] Production.INFO: Total Charge 0
[2025-01-12 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234237') start
[2025-01-12 21:06:04] Production.INFO: CreateAllLog End
[2025-01-12 21:06:04] Production.INFO: Usage Over
[2025-01-12 21:06:04] Production.INFO: Call prc_getAccountSubscription(53,0)
[2025-01-12 21:06:04] Production.INFO: SUBSCRIPTION 52
[2025-01-12 21:06:04] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:04] Production.INFO: SubscriptionID - 1
[2025-01-12 21:06:04] Production.INFO: isAdvanceSubscription - 1
[2025-01-12 21:06:04] Production.ERROR: done
[2025-01-12 21:06:04] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:04] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234237') end
[2025-01-12 21:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:06:04] Production.INFO: 1
[2025-01-12 21:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:06:04] Production.INFO: SubscriptionDate
[2025-01-12 21:06:04] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:04] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:04] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:04] Production.INFO: AccountSubscriptionID - 149 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:04] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:04] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:04] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:04] Production.INFO: AccountSubscription::getSubscriptionAmount(149,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:04] Production.INFO: SubscriptionCharge - 6.5
[2025-01-12 21:06:04] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,1,2025-01-08,2025-02-07 00:00:00,License for a Unlimited Can/US Extension,162.5,6.5,25,149)
[2025-01-12 21:06:04] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:04] Production.INFO: DiscountType
[2025-01-12 21:06:04] Production.INFO: SubscriptionCharge 162.5
[2025-01-12 21:06:04] Production.INFO: New SubscriptionCharge 162.5
[2025-01-12 21:06:04] Production.INFO: TotalSubscriptionCharge - 162.50
[2025-01-12 21:06:04] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:04] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:04] Production.INFO: SubscriptionID - 2
[2025-01-12 21:06:04] Production.INFO: isAdvanceSubscription - 2
[2025-01-12 21:06:04] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:04] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:04] Production.INFO: EndDate =2022-01-07 00:00:00
[2025-01-12 21:06:04] Production.INFO: NewEndDate1 =2022-01-08
[2025-01-12 21:06:04] Production.INFO: SubscriptionDate
[2025-01-12 21:06:04] Production.INFO: Array
(
[StartDate] => 2022-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:04] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:04] Production.INFO: SubscriptionID - 2022-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:04] Production.INFO: AccountSubscriptionID - 150 === 2017-12-07=====2021-12-01
[2025-01-12 21:06:04] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:04] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:04] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:04] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:04] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:04] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:04] Production.INFO: EndDate =2024-12-07 00:00:00
[2025-01-12 21:06:04] Production.INFO: NewEndDate1 =2024-12-08
[2025-01-12 21:06:04] Production.INFO: SubscriptionDate
[2025-01-12 21:06:04] Production.INFO: Array
(
[StartDate] => 2024-12-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:04] Production.INFO: ==20882== Releasing lock...
[2025-01-12 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:06:04] Production.INFO: Account Balance End.
[2025-01-12 21:06:04] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:04] Production.INFO: SubscriptionID - 2024-12-08=====2025-02-07 00:00:00
[2025-01-12 21:06:04] Production.INFO: AccountSubscriptionID - 151 === 2017-12-07=====2024-11-14
[2025-01-12 21:06:04] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:04] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:04] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:04] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:04] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:04] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:04] Production.INFO: EndDate =2024-12-07 00:00:00
[2025-01-12 21:06:04] Production.INFO: NewEndDate1 =2024-12-08
[2025-01-12 21:06:04] Production.INFO: SubscriptionDate
[2025-01-12 21:06:04] Production.INFO: Array
(
[StartDate] => 2024-12-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:04] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:04] Production.INFO: SubscriptionID - 2024-12-08=====2025-02-07 00:00:00
[2025-01-12 21:06:04] Production.INFO: AccountSubscriptionID - 152 === 2017-12-07=====2024-11-14
[2025-01-12 21:06:04] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:04] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:04] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:06:04] Production.INFO: ==20877== Releasing lock...
[2025-01-12 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.ERROR: done
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 153 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(153,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 3.5
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (18779739378),3.5,3.5,1,153)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 3.5
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 3.5
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 3.50
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2024-12-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2024-12-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2024-12-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 154 === 2017-12-07=====2024-11-14
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 2
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 179 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(179,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 55
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,2,2025-01-08,2025-02-07 00:00:00,License for an Unlimited Canada/US Cloud Phone extension (18665957130),55,55,1,179)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 55
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 55
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 55.00
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 177 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(177,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 3.5
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (18775737303),3.5,3.5,1,177)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 3.5
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 3.5
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 3.50
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 2
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 178 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(178,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 55
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,2,2025-01-08,2025-02-07 00:00:00,License for an Unlimited Canada/US Cloud Phone extension (18002547598),55,55,1,178)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 55
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 55
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 55.00
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2024-09-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2024-09-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2024-09-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2024-09-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 155 === 2017-12-07=====2024-09-04
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2024-12-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2024-12-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2024-12-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 156 === 2017-12-07=====2024-11-14
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 157 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(157,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 0
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (12897241849),0,0,1,157)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 158 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(158,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 2.5
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (12898030100),2.5,2.5,1,158)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 2.5
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 2.5
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2024-09-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2024-09-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2024-09-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2024-09-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 159 === 2017-12-07=====2024-09-04
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 160 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(160,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 2.5
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (14162812044),2.5,2.5,1,160)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 2.5
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 2.5
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 161 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(161,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 2.5
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (14162815300),2.5,2.5,1,161)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 2.5
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 2.5
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2024-09-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2024-09-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2024-09-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2024-09-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 162 === 2017-12-07=====2024-09-04
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 163 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(163,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 0
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (14163090007),0,0,1,163)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2024-09-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2024-09-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2024-09-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2024-09-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 164 === 2017-12-07=====2024-09-04
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2024-09-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2024-09-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2024-09-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2024-09-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 165 === 2017-12-07=====2024-09-04
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 166 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(166,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 0
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (14163098610),0,0,1,166)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 167 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(167,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 2.5
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (14165994888),2.5,2.5,1,167)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 2.5
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 2.5
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 168 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(168,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 0
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DIDs (14168490703 - 14168490705),0,0,3,168)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 169 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(169,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 0
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DIDs (19052122511 - 19052122533),0,0,23,169)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 170 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(170,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 0
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (19052781786),0,0,1,170)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 171 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(171,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 0
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (19052783787),0,0,1,171)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2024-09-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2024-09-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2024-09-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2024-09-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 172 === 2017-12-07=====2024-09-04
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 173 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(173,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 2.5
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (19052787239),2.5,2.5,1,173)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 2.5
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 2.5
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-12 21:06:05] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:05] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:05] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionDate
[2025-01-12 21:06:05] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:05] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:05] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:05] Production.INFO: AccountSubscriptionID - 174 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:05] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:05] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:05] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:05] Production.INFO: AccountSubscription::getSubscriptionAmount(174,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge - 0
[2025-01-12 21:06:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (19052789363),0,0,1,174)
[2025-01-12 21:06:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:05] Production.INFO: DiscountType
[2025-01-12 21:06:05] Production.INFO: SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: New SubscriptionCharge 0
[2025-01-12 21:06:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: EndDate =2025-01-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: NewEndDate1 =2025-01-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 175 === 2017-12-07=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time False 2017-12-07 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2017-12-07 EndDate 2025-02-07 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(175,2025-01-08,2025-02-07 00:00:00,,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 2.5
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,1,8,2025-01-08,2025-02-07 00:00:00,Additional DID (19056290329),2.5,2.5,1,175)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 2.5
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 2.5
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: EndDate =2024-09-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: NewEndDate1 =2024-09-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2024-09-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2024-09-08=====2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 176 === 2017-12-07=====2024-09-04
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 8
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 8
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: EndDate =2024-09-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: NewEndDate1 =2024-09-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2024-09-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2024-09-08=====2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 180 === 2017-12-07=====2024-09-04
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 4
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 4
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: EndDate =2023-06-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: NewEndDate1 =2023-06-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2023-06-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2023-06-08=====2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 181 === 2017-12-07=====2023-05-24
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 4
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 4
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: EndDate =2020-07-08 00:00:00
[2025-01-12 21:06:06] Production.INFO: NewEndDate1 =2020-07-09
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2020-07-09
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2020-07-09=====2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 182 === 2017-12-07=====2020-07-08
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 4
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 4
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: EndDate =2024-10-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: NewEndDate1 =2024-10-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2024-10-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2024-10-08=====2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 183 === 2017-12-07=====2024-10-06
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 4
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 4
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: EndDate =2022-03-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: NewEndDate1 =2022-03-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2022-03-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2022-03-08=====2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 184 === 2017-12-07=====2022-02-09
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 4
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 4
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: EndDate =2022-03-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: NewEndDate1 =2022-03-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2022-03-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2022-03-08=====2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 185 === 2017-12-07=====2022-02-09
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 4
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 4
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: EndDate =2022-03-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: NewEndDate1 =2022-03-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2022-03-08
[EndDate] => 2025-02-07 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2017-12-07 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2022-03-08=====2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 188 === 2017-12-07=====2022-02-09
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 24
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2024-12-08=====2025-01-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 546 === 2020-08-07=====2024-09-05
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 24
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2024-12-08=====2025-01-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 601 === 2021-08-13=====2024-09-05
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 24
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2024-12-08=====2025-01-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 658 === 2022-11-03=====2023-03-04
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 37
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 37
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1240 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1240,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 198.72
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,37,2025-01-08,2025-02-07,Managed Hosting SERVER: Windows Server 2016 Standard,198.72,198.72,1,1240)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 198.72
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 198.72
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 198.72
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 50
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 50
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1243 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1243,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 34.56
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,50,2025-01-08,2025-02-07,Managed Hosting STORAGE: 500GB data storage disk,34.56,34.56,1,1243)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 34.56
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 34.56
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 34.56
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 39
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 39
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:06:06
[end_date_ymd] => 2025-01-12 21:06:06
[RateCDR] => 1
)
[2025-01-12 21:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:06:06' and `end` < '2025-01-12 21:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1241 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1241,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 0.3
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,39,2025-01-08,2025-02-07,Managed Backup: Cloud replication (charged per gigabyte),45,0.3,150,1241)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 45
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 45
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 45.00
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 38
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 38
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1242 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1242,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 60
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,38,2025-01-08,2025-02-07,Managed Backup: Site License for each site being backed up (for servers),60,60,1,1242)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 60
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 60
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 60.00
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 51
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 51
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1244 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1244,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 70
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,51,2025-01-08,2025-02-07,Support for approximately 14 employee home routers,70,70,1,1244)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 70
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 70
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 70.00
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 40
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 40
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1245 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1245,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 25
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,40,2025-01-08,2025-02-07,Management of server,25,25,1,1245)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 25
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 25
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 25.00
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 33
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 33
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1246 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1246,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 52
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,33,2025-01-08,2025-02-07,Managed IT: Workstation,936,52,18,1246)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 936
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 936
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 936.00
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 33
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 33
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1247 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1247,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 10
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,33,2025-01-08,2025-02-07,Management for Part-Time Workstation - Basic monitoring and anti-virus,70,10,7,1247)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 70
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 70
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 70.00
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 7
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 7
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1248 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1248,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 8.1
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,7,2025-01-08,2025-02-07,Microsoft 365 Basic collaboration and productivity suite,121.5,8.1,15,1248)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 121.5
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 121.5
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 121.50
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 6
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 6
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1249 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1249,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 17
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,6,2025-01-08,2025-02-07,Microsoft 365 Standard collaboration and productivity suite,408,17,24,1249)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 408
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 408
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 408.00
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: ============================Subscription Start =================
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 52
[2025-01-12 21:06:06] Production.INFO: isAdvanceSubscription - 52
[2025-01-12 21:06:06] Production.INFO: SubscriptionStartDate =2025-01-08 - SubscriptionEndDate = 2025-02-07
[2025-01-12 21:06:06] Production.INFO: NewNextChargeDate =2025-02-07 00:00:00
[2025-01-12 21:06:06] Production.INFO: SubscriptionDate
[2025-01-12 21:06:06] Production.INFO: Array
(
[StartDate] => 2025-01-08
[EndDate] => 2025-02-07
[AlreadyCharged] => 0
)
[2025-01-12 21:06:06] Production.INFO: AccountSubscription StartDate 2025-01-08 StartDate 2024-12-08
[2025-01-12 21:06:06] Production.INFO: First Time + Advance Billing - Yes
[2025-01-12 21:06:06] Production.INFO: StartDate 2024-12-08 - EndDate 2025-01-07
[2025-01-12 21:06:06] Production.INFO: ACStartDate 2025-01-08 - ACEndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: SubscriptionID - 2025-01-08=====2025-02-07
[2025-01-12 21:06:06] Production.INFO: AccountSubscriptionID - 1250 === 2025-01-08=====2026-01-12
[2025-01-12 21:06:06] Production.INFO: regular Advance Subscription
[2025-01-12 21:06:06] Production.INFO: First Time True 2025-01-08 2025-01-08
[2025-01-12 21:06:06] Production.INFO: StartDate 2025-01-08 AccountSubscription->StartDate 2025-01-08 EndDate 2025-02-07 AccountSubscription->EndDate 2026-01-12
[2025-01-12 21:06:06] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 21:06:06] Production.INFO: AccountSubscription::getSubscriptionAmount(1250,2025-01-08,2025-02-07,1,0)
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge - 5.39
[2025-01-12 21:06:06] Production.INFO: Already Invoice Subscription 0
[2025-01-12 21:06:06] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(53,4,52,2025-01-08,2025-02-07,Plan 1 - Email only,32.34,5.39,6,1250)
[2025-01-12 21:06:06] Production.INFO: DiscountAmount 0.000000
[2025-01-12 21:06:06] Production.INFO: DiscountType Flat
[2025-01-12 21:06:06] Production.INFO: SubscriptionCharge 32.34
[2025-01-12 21:06:06] Production.INFO: New SubscriptionCharge 32.34
[2025-01-12 21:06:06] Production.INFO: TotalSubscriptionCharge - 32.34
[2025-01-12 21:06:06] Production.INFO: ============================Subscription End =================
[2025-01-12 21:06:06] Production.INFO: SUBSCRIPTION Over
[2025-01-12 21:06:06] Production.INFO: Call prc_getAccountOneOffCharge(53,0,2024-12-08,2025-01-08 23:59:59)
[2025-01-12 21:06:06] Production.INFO: AccountOneOffCharge 0
[2025-01-12 21:06:06] Production.INFO: AccountOneOffCharge Over
[2025-01-12 21:06:06] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-12 21:06:06] Production.INFO: SubTotal 2295.71
[2025-01-12 21:06:06] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-12 21:06:06] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-12 21:06:06] Production.INFO: TotalTax 298.4423
[2025-01-12 21:06:06] Production.INFO: InvoiceGrandTotal 2594.1523
[2025-01-12 21:06:06] Production.INFO: InvoiceTaxAmount 298.44
[2025-01-12 21:06:06] Production.INFO: GrandTotal 2594.15
[2025-01-12 21:06:06] Production.INFO: SubTotal 2295.71
[2025-01-12 21:06:06] Production.INFO: TotalDue 2594.15
[2025-01-12 21:06:06] Production.INFO: PDF Generation start
[2025-01-12 21:06:06] Production.INFO: Reseller ==> 0
[2025-01-12 21:06:07] Production.INFO: original start date ==>2024-12-08 changed start date ==>2024-12-08 00:00:00 original end date ==>2025-01-07 23:59:59 changed end date ==>2025-01-07 23:59:59
[2025-01-12 21:06:07] Production.INFO: CALL prc_getInvoiceUsage(1,'53','0','1','2024-12-08 00:00:00','2025-01-07 23:59:59',0)
[2025-01-12 21:06:07] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/53/Invoices/2025/01/12/Invoice-plus-travel-group-inv50012-from-08-12-2024-to-07-01-2025-10250.pdf
[2025-01-12 21:06:07] Production.INFO: On Linux
[2025-01-12 21:06:08] 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/53/Invoices/2025/01/12/footer-plus-travel-group-inv50012-from-08-12-2024-to-07-01-2025-10250.html" "/var/www/tmp/1/53/Invoices/2025/01/12/Invoice-plus-travel-group-inv50012-from-08-12-2024-to-07-01-2025-10250.html" "/var/www/tmp/1/53/Invoices/2025/01/12/Invoice-plus-travel-group-inv50012-from-08-12-2024-to-07-01-2025-10250.pdf"
[2025-01-12 21:06:08] Production.INFO:
[2025-01-12 21:06:08] Production.INFO: /var/www/tmp/1/53/Invoices/2025/01/12/Invoice-plus-travel-group-inv50012-from-08-12-2024-to-07-01-2025-10250.html
[2025-01-12 21:06:08] Production.INFO: /var/www/tmp/1/53/Invoices/2025/01/12/header-plus-travel-group-inv50012-from-08-12-2024-to-07-01-2025-10250.html
[2025-01-12 21:06:08] Production.INFO: /var/www/tmp/1/53/Invoices/2025/01/12/footer-plus-travel-group-inv50012-from-08-12-2024-to-07-01-2025-10250.html
[2025-01-12 21:06:08] Production.INFO: Invoice generation PDF path
[2025-01-12 21:06:08] Production.INFO: PDF fullPath 1/53/Invoices/2025/01/12/Invoice-plus-travel-group-inv50012-from-08-12-2024-to-07-01-2025-10250.pdf
[2025-01-12 21:06:08] Production.INFO: Generate Usage File Start
[2025-01-12 21:06:09] Production.INFO: Usage File fullPath 1/53/InvoiceUsageFile/2025/01/12/cloud-phone-08-12-2024-00-00-00-TO-07-01-2025-23-59-59_5898__f468d780-d152-11ef-ac79-27466ecdfbbf.csv
[2025-01-12 21:06:09] Production.INFO: Sending Email to Staff over
[2025-01-12 21:06:09] Production.INFO: Email Status success
[2025-01-12 21:06:09] Production.INFO: Sending Email to Customer
[2025-01-12 21:06:09] Production.INFO: =========== Email Sending over ===========
[2025-01-12 21:06:09] Production.INFO: =========== Returning as Success =========== AccountID 53
[2025-01-12 21:06:09] Production.INFO: Invoice created - Array
(
[message] => Invoice Regenerated Plus Travel Group (50012)
[status] => success
)
[2025-01-12 21:06:09] Production.INFO: Invoice Commited AccountID = 53
[2025-01-12 21:06:09] Production.ERROR: ========================== Invoice Send End =============================
[2025-01-12 21:06:09] Production.ERROR: ========================== Invoice Send Loop End =============================
[2025-01-12 21:06:09] Production.ERROR: count($errors) 0
[2025-01-12 21:06:09] Production.ERROR: jobdata 10520Array
(
[JobStatusID] => 3
[JobStatusMessage] => Invoice Recreated Successfully Invoice Regenerated Plus Travel Group (50012)
)
[2025-01-12 21:06:09] Production.INFO: ========================== Job Updated =============================
[2025-01-12 21:06:09] Production.INFO: ==20869== Releasing lock...
[2025-01-12 21:06:09] Production.INFO: regenerateinvoice-command-regenerateinvoice-companyid-1-jobid-10520 #Stops#
[2025-01-12 21:06:09] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 21:06:14] Production.ERROR: CronJobId end10
[2025-01-12 21:06:14] Production.INFO: ==20875== Releasing lock...
[2025-01-12 21:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:06:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:06:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:06:15] Production.INFO: call_cost start
[2025-01-12 21:06:15] Production.INFO: call_cost end
[2025-01-12 21:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:06:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:06:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:06:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:06:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:06:16] Production.INFO: ==20871== Releasing lock...
[2025-01-12 21:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:06:19] Production.INFO: count ==1235
[2025-01-12 21:06:20] Production.ERROR: pbx CDR StartTime 2025-01-12 18:06:06 - End Time 2025-01-12 21:06:06
[2025-01-12 21:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234238', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234238', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234238', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234238', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:06:20] Production.INFO: ProcessCDR(1,14234238,1,1,2)
[2025-01-12 21:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:06:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:06:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:06:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234238', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234238', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:06:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:06:25] Production.INFO: ==20880== Releasing lock...
[2025-01-12 21:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:06:25] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 02:07:01] Production.INFO: ==20956== Lock acquired, processing the job...
[2025-01-13 02:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:07:01] Production.INFO: neon service started
[2025-01-13 02:07:01] Production.INFO: neon service started
[2025-01-13 02:07:01] Production.INFO: ==20956== Releasing lock...
[2025-01-13 02:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:07:02] Production.INFO: ==20960== Lock acquired, processing the job...
[2025-01-13 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:07:02] Production.INFO: ==20960== Releasing lock...
[2025-01-13 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:07:02] Production.INFO: ==20958== Lock acquired, processing the job...
[2025-01-12 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:07:02] Production.INFO: ==20958== Releasing lock...
[2025-01-12 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:07:03] Production.INFO: ==20966== Lock acquired, processing the job...
[2025-01-12 21:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:07:03] Production.INFO: ==20964== Lock acquired, processing the job...
[2025-01-12 21:07:03] Production.INFO: bulkinvoicesend-command-bulkinvoicesend-companyid-1-jobid-10521 #Starts#
[2025-01-12 21:07:03] Production.INFO: ==20970== Lock acquired, processing the job...
[2025-01-12 21:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:07:03] Production.INFO: ==20968== Lock acquired, processing the job...
[2025-01-12 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:07:03] Production.INFO: ==20972== Lock acquired, processing the job...
[2025-01-12 21:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:07:03] Production.INFO: ==20976== Lock acquired, processing the job...
[2025-01-12 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:07:03] Production.INFO: ==20974== Lock acquired, processing the job...
[2025-01-12 21:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:07:03] Production.INFO: count ==21
[2025-01-12 21:07:03] Production.INFO: Account Balance Start.
[2025-01-12 21:07:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:07:04] Production.INFO: 117
[2025-01-12 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-12 21:07:04] Production.INFO: count ==21
[2025-01-12 21:07:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234241') start
[2025-01-12 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:07:04] Production.INFO: ==20968== Releasing lock...
[2025-01-12 21:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:07:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234241') end
[2025-01-12 21:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:07:04] Production.INFO: 1
[2025-01-12 21:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:07:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:07:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:07:04] Production.INFO: ==20976== Releasing lock...
[2025-01-12 21:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:07:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:07:04] Production.INFO: Total Charge 0
[2025-01-12 21:07:04] Production.INFO: CreateAllLog End
[2025-01-12 21:07:04] Production.ERROR: done
[2025-01-12 21:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:07:04] Production.ERROR: done
[2025-01-12 21:07:04] Production.INFO: Account Balance End.
[2025-01-12 21:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:07:04] Production.INFO: ==20972== Releasing lock...
[2025-01-12 21:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:07:05] Production.INFO: Email Try 10250 1
[2025-01-12 21:07:05] Production.INFO: array (
'status' => 1,
'message' => 'Email has been sent',
'body' => '
Hello Sandi,
A new invoice, #INV50012, has been generated for services from OnSwitch Inc. You may view this invoice by clicking the "View" link below. Payments can be made by credit card, email money transfer or PayPal. You can pay this invoice by credit card through our billing portal, or add a credit card on file using our secure form on DocHub, or call us at 1-844-464-9008, option 4. Email transfers and PayPal payments can be sent to billing@onswitchit.ca.
If you have any questions, please do not hesitate to respond to this email. Your message will create a support request in our system, and the first available team member will respond. We appreciate your business!
Thank you,
OnSwitch Team
support@onswitchit.ca',
'message_id' => '',
)
[2025-01-12 21:07:05] Production.INFO: array (
)
[2025-01-12 21:07:05] Production.INFO: ==20964== Releasing lock...
[2025-01-12 21:07:05] Production.INFO: bulkinvoicesend-command-bulkinvoicesend-companyid-1-jobid-10521 #Stops#
[2025-01-12 21:07:05] Production.INFO: 30 MB #Memory Used#
[2025-01-12 21:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:07:05
[end_date_ymd] => 2025-01-12 21:07:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:07:05' and `end` < '2025-01-12 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-12 21:07:10] Production.ERROR: CronJobId end10
[2025-01-12 21:07:10] Production.INFO: ==20970== Releasing lock...
[2025-01-12 21:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:07:13] Production.INFO: call_cost start
[2025-01-12 21:07:13] Production.INFO: call_cost end
[2025-01-12 21:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:07:14] Production.INFO: ==20966== Releasing lock...
[2025-01-12 21:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:07:18] Production.INFO: count ==1235
[2025-01-12 21:07:19] Production.ERROR: pbx CDR StartTime 2025-01-12 18:07:05 - End Time 2025-01-12 21:07:05
[2025-01-12 21:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234243', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234243', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234243', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234243', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:07:19] Production.INFO: ProcessCDR(1,14234243,1,1,2)
[2025-01-12 21:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234243', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234243', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:07:22] Production.INFO: ==20974== Releasing lock...
[2025-01-12 21:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:07:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 02:08:02] Production.INFO: ==21040== Lock acquired, processing the job...
[2025-01-13 02:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:08:02] Production.INFO: neon service started
[2025-01-13 02:08:02] Production.INFO: neon service started
[2025-01-13 02:08:02] Production.INFO: ==21040== Releasing lock...
[2025-01-13 02:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:08:02] Production.INFO: ==21042== Lock acquired, processing the job...
[2025-01-12 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:08:02] Production.INFO: ==21042== Releasing lock...
[2025-01-12 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:08:02] Production.INFO: ==21044== Lock acquired, processing the job...
[2025-01-13 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:08:03] Production.INFO: ==21044== Releasing lock...
[2025-01-13 02:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:08:03] Production.INFO: ==21046== Lock acquired, processing the job...
[2025-01-12 21:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:08:03] Production.INFO: ==21048== Lock acquired, processing the job...
[2025-01-12 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:08:03] Production.INFO: ==21050== Lock acquired, processing the job...
[2025-01-12 21:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:08:03] Production.INFO: ==21055== Lock acquired, processing the job...
[2025-01-12 21:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:08:03] Production.INFO: ==21052== Lock acquired, processing the job...
[2025-01-12 21:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:08:03] Production.INFO: ==21048== Releasing lock...
[2025-01-12 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:08:03] Production.INFO: ==21057== Lock acquired, processing the job...
[2025-01-12 21:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:08:04] Production.INFO: Account Balance Start.
[2025-01-12 21:08:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:08:04] Production.INFO: 117
[2025-01-12 21:08:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:08:04] Production.INFO: count ==21
[2025-01-12 21:08:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:08:04] Production.INFO: count ==21
[2025-01-12 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234247') start
[2025-01-12 21:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:08:04] Production.ERROR: done
[2025-01-12 21:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234247') end
[2025-01-12 21:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:08:04] Production.INFO: 1
[2025-01-12 21:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:08:04] Production.INFO: ==21057== Releasing lock...
[2025-01-12 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:08:04] Production.ERROR: done
[2025-01-12 21:08:04] Production.INFO: Total Charge 0
[2025-01-12 21:08:04] Production.INFO: CreateAllLog End
[2025-01-12 21:08:04] Production.INFO: Account Balance End.
[2025-01-12 21:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:08:04] Production.INFO: ==21052== Releasing lock...
[2025-01-12 21:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:08:05
[end_date_ymd] => 2025-01-12 21:08:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:08:05' and `end` < '2025-01-12 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-12 21:08:11] Production.ERROR: CronJobId end10
[2025-01-12 21:08:11] Production.INFO: ==21050== Releasing lock...
[2025-01-12 21:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:08:14] Production.INFO: call_cost start
[2025-01-12 21:08:14] Production.INFO: call_cost end
[2025-01-12 21:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:08:14] Production.INFO: ==21046== Releasing lock...
[2025-01-12 21:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:08:18] Production.INFO: count ==446
[2025-01-12 21:08:18] Production.ERROR: pbx CDR StartTime 2025-01-12 18:08:05 - End Time 2025-01-12 21:08:05
[2025-01-12 21:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234248', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234248', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234248', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234248', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:08:18] Production.INFO: ProcessCDR(1,14234248,1,1,2)
[2025-01-12 21:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234248', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234248', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:08:21] Production.INFO: ==21055== Releasing lock...
[2025-01-12 21:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:08:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:09:01] Production.INFO: ==21118== Lock acquired, processing the job...
[2025-01-13 02:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:09:01] Production.INFO: neon service started
[2025-01-13 02:09:01] Production.INFO: neon service started
[2025-01-13 02:09:01] Production.INFO: ==21118== Releasing lock...
[2025-01-13 02:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:09:01] Production.INFO: ==21120== Lock acquired, processing the job...
[2025-01-12 21:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:09:02] Production.INFO: ==21122== Lock acquired, processing the job...
[2025-01-13 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:09:02] Production.INFO: ==21120== Releasing lock...
[2025-01-12 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:09:02] Production.INFO: ==21122== Releasing lock...
[2025-01-13 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:09:03] Production.INFO: ==21133== Lock acquired, processing the job...
[2025-01-12 21:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:09:03] Production.INFO: ==21136== Lock acquired, processing the job...
[2025-01-12 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:09:03] Production.INFO: ==21126== Lock acquired, processing the job...
[2025-01-12 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-12 21:09:03] Production.INFO: ==21124== Lock acquired, processing the job...
[2025-01-12 21:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:09:03] Production.INFO: count ==21
[2025-01-12 21:09:03] Production.INFO: ==21128== Lock acquired, processing the job...
[2025-01-12 21:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:09:03] Production.INFO: count ==21
[2025-01-12 21:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:09:03] Production.INFO: ==21130== Lock acquired, processing the job...
[2025-01-12 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234249') start
[2025-01-12 21:09:03] Production.ERROR: done
[2025-01-12 21:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234249') end
[2025-01-12 21:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:09:03] Production.INFO: 1
[2025-01-12 21:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:09:03] Production.INFO: Account Balance Start.
[2025-01-12 21:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:09:03] Production.INFO: 117
[2025-01-12 21:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:09:03] Production.ERROR: done
[2025-01-12 21:09:03] Production.INFO: ==21136== Releasing lock...
[2025-01-12 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:09:03] Production.INFO: ==21126== Releasing lock...
[2025-01-12 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:09:03] Production.INFO: Total Charge 0
[2025-01-12 21:09:03] Production.INFO: CreateAllLog End
[2025-01-12 21:09:04] Production.INFO: Account Balance End.
[2025-01-12 21:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:09:04] Production.INFO: ==21130== Releasing lock...
[2025-01-12 21:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:09:04
[end_date_ymd] => 2025-01-12 21:09:04
[RateCDR] => 1
)
[2025-01-12 21:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:09:04' and `end` < '2025-01-12 21:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:09:11] Production.ERROR: CronJobId end10
[2025-01-12 21:09:11] Production.INFO: ==21128== Releasing lock...
[2025-01-12 21:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:09:13] Production.INFO: call_cost start
[2025-01-12 21:09:13] Production.INFO: call_cost end
[2025-01-12 21:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:09:13] Production.INFO: ==21124== Releasing lock...
[2025-01-12 21:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:09:17] Production.INFO: count ==445
[2025-01-12 21:09:18] Production.ERROR: pbx CDR StartTime 2025-01-12 18:09:04 - End Time 2025-01-12 21:09:04
[2025-01-12 21:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234253', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234253', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234253', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234253', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:09:18] Production.INFO: ProcessCDR(1,14234253,1,1,2)
[2025-01-12 21:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234253', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234253', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:09:21] Production.INFO: ==21133== Releasing lock...
[2025-01-12 21:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:09:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:10:02] Production.INFO: ==21196== Lock acquired, processing the job...
[2025-01-13 02:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:10:02] Production.INFO: neon service started
[2025-01-13 02:10:02] Production.INFO: neon service started
[2025-01-13 02:10:02] Production.INFO: ==21196== Releasing lock...
[2025-01-13 02:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:10:02] Production.INFO: ==21201== Lock acquired, processing the job...
[2025-01-13 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:10:02] Production.INFO: ==21201== Releasing lock...
[2025-01-13 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:10:02] Production.INFO: ==21199== Lock acquired, processing the job...
[2025-01-12 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:10:03] Production.INFO: ==21199== Releasing lock...
[2025-01-12 21:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:10:03] Production.INFO: ==21203== Lock acquired, processing the job...
[2025-01-12 21:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 21:10:03] Production.INFO: ==21205== Lock acquired, processing the job...
[2025-01-12 21:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 21:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 21:10:03] Production.ERROR: CronJob PID - 21205
[2025-01-12 21:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 21:10:03] Production.ERROR: CronJob ID - 5
[2025-01-12 21:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 21:10:00
[2025-01-12 21:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 21:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 21:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 21:10:03] Production.INFO: ==21203== Releasing lock...
[2025-01-12 21:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 21:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 21:10:03] Production.INFO: ==21207== Lock acquired, processing the job...
[2025-01-12 21:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:10:04] Production.INFO: ==21213== Lock acquired, processing the job...
[2025-01-12 21:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:10:04] Production.INFO: ==21209== Lock acquired, processing the job...
[2025-01-12 21:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:10:04] Production.INFO: ==21211== Lock acquired, processing the job...
[2025-01-12 21:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:10:04] Production.INFO: ==21215== Lock acquired, processing the job...
[2025-01-12 21:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 21:10:04] Production.INFO: ==21207== Releasing lock...
[2025-01-12 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:10:04] Production.INFO: Account Balance Start.
[2025-01-12 21:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:10:04] Production.INFO: 117
[2025-01-12 21:10:04] Production.INFO: ==21217== Lock acquired, processing the job...
[2025-01-12 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:10:04] Production.ERROR: done
[2025-01-12 21:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:10:04] Production.ERROR: done
[2025-01-12 21:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:10:04] Production.INFO: count ==21
[2025-01-12 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-12 21:10:04] Production.INFO: count ==21
[2025-01-12 21:10:05] Production.ERROR: done
[2025-01-12 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234257') start
[2025-01-12 21:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 21:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234259', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 21:10:05] Production.INFO: Date 2025-01-11
[2025-01-12 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 21:10:05] Production.INFO: Date 2025-01-12
[2025-01-12 21:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234257') end
[2025-01-12 21:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:10:05] Production.INFO: 1
[2025-01-12 21:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:10:05] Production.INFO: Total Charge 0
[2025-01-12 21:10:05] Production.INFO: CreateAllLog End
[2025-01-12 21:10:05] Production.INFO: ==21217== Releasing lock...
[2025-01-12 21:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:10:05] Production.INFO: Account Balance End.
[2025-01-12 21:10:05] Production.ERROR: CronJobId end 12
[2025-01-12 21:10:05] Production.INFO: ==21211== Releasing lock...
[2025-01-12 21:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:10:06
[end_date_ymd] => 2025-01-12 21:10:06
[RateCDR] => 1
)
[2025-01-12 21:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:10:06' and `end` < '2025-01-12 21:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234259', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 21:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 21:10:09] Production.INFO: ProcessCDR(1,14234259,1,1,2)
[2025-01-12 21:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234259,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234259,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:10:09] Production.INFO: ==21215== Releasing lock...
[2025-01-12 21:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 21:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 21:10:14] Production.ERROR: CronJobId end10
[2025-01-12 21:10:14] Production.INFO: ==21209== Releasing lock...
[2025-01-12 21:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:10:15] Production.INFO: call_cost start
[2025-01-12 21:10:15] Production.INFO: call_cost end
[2025-01-12 21:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:10:16] Production.INFO: ==21205== Releasing lock...
[2025-01-12 21:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:10:19] Production.INFO: count ==451
[2025-01-12 21:10:19] Production.ERROR: pbx CDR StartTime 2025-01-12 18:10:06 - End Time 2025-01-12 21:10:06
[2025-01-12 21:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234258', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234258', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234258', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234258', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:10:19] Production.INFO: ProcessCDR(1,14234258,1,1,2)
[2025-01-12 21:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234258', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234258', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:10:22] Production.INFO: ==21213== Releasing lock...
[2025-01-12 21:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:10:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:11:01] Production.INFO: ==21300== Lock acquired, processing the job...
[2025-01-13 02:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:11:01] Production.INFO: neon service started
[2025-01-13 02:11:01] Production.INFO: neon service started
[2025-01-13 02:11:01] Production.INFO: ==21300== Releasing lock...
[2025-01-13 02:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:11:01] Production.INFO: ==21306== Lock acquired, processing the job...
[2025-01-13 02:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:11:01] Production.INFO: ==21306== Releasing lock...
[2025-01-13 02:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:11:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:11:02] Production.INFO: ==21304== Lock acquired, processing the job...
[2025-01-12 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:11:02] Production.INFO: ==21304== Releasing lock...
[2025-01-12 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:11:03] Production.INFO: ==21311== Lock acquired, processing the job...
[2025-01-12 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:11:03] Production.INFO: ==21309== Lock acquired, processing the job...
[2025-01-12 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:11:03] Production.INFO: ==21320== Lock acquired, processing the job...
[2025-01-12 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:11:03] Production.INFO: ==21313== Lock acquired, processing the job...
[2025-01-12 21:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-12 21:11:03] Production.INFO: ==21315== Lock acquired, processing the job...
[2025-01-12 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:11:03] Production.INFO: ==21317== Lock acquired, processing the job...
[2025-01-12 21:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:11:03] Production.INFO: ==21311== Releasing lock...
[2025-01-12 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:11:03] Production.INFO: count ==21
[2025-01-12 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-12 21:11:03] Production.INFO: count ==21
[2025-01-12 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234262') start
[2025-01-12 21:11:03] Production.INFO: Account Balance Start.
[2025-01-12 21:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:11:03] Production.INFO: 117
[2025-01-12 21:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234262') end
[2025-01-12 21:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:11:03] Production.INFO: 1
[2025-01-12 21:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:11:03] Production.INFO: ==21320== Releasing lock...
[2025-01-12 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:11:03] Production.ERROR: done
[2025-01-12 21:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:11:03] Production.INFO: Total Charge 0
[2025-01-12 21:11:03] Production.INFO: CreateAllLog End
[2025-01-12 21:11:03] Production.ERROR: done
[2025-01-12 21:11:04] Production.INFO: Account Balance End.
[2025-01-12 21:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:11:04] Production.INFO: ==21315== Releasing lock...
[2025-01-12 21:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:11:04
[end_date_ymd] => 2025-01-12 21:11:04
[RateCDR] => 1
)
[2025-01-12 21:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:11:04' and `end` < '2025-01-12 21:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:11:11] Production.ERROR: CronJobId end10
[2025-01-12 21:11:11] Production.INFO: ==21313== Releasing lock...
[2025-01-12 21:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:11:13] Production.INFO: call_cost start
[2025-01-12 21:11:13] Production.INFO: call_cost end
[2025-01-12 21:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:11:14] Production.INFO: ==21309== Releasing lock...
[2025-01-12 21:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:11:18] Production.INFO: count ==494
[2025-01-12 21:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 18:11:04 - End Time 2025-01-12 21:11:04
[2025-01-12 21:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234264', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234264', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234264', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234264', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:11:18] Production.INFO: ProcessCDR(1,14234264,1,1,2)
[2025-01-12 21:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234264', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234264', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:11:21] Production.INFO: ==21317== Releasing lock...
[2025-01-12 21:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:11:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-13 02:12:01] Production.INFO: ==21409== Lock acquired, processing the job...
[2025-01-13 02:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:12:01] Production.INFO: neon service started
[2025-01-13 02:12:02] Production.INFO: neon service started
[2025-01-13 02:12:02] Production.INFO: ==21409== Releasing lock...
[2025-01-13 02:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:12:02] Production.INFO: ==21413== Lock acquired, processing the job...
[2025-01-12 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:12:02] Production.INFO: ==21413== Releasing lock...
[2025-01-12 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:12:02] Production.INFO: ==21415== Lock acquired, processing the job...
[2025-01-13 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:12:02] Production.INFO: ==21415== Releasing lock...
[2025-01-13 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:12:03] Production.INFO: ==21417== Lock acquired, processing the job...
[2025-01-12 21:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:12:03] Production.INFO: ==21421== Lock acquired, processing the job...
[2025-01-12 21:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:12:03] Production.INFO: ==21419== Lock acquired, processing the job...
[2025-01-12 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:12:03] Production.INFO: ==21423== Lock acquired, processing the job...
[2025-01-12 21:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:12:03] Production.INFO: ==21425== Lock acquired, processing the job...
[2025-01-12 21:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:12:03] Production.INFO: ==21427== Lock acquired, processing the job...
[2025-01-12 21:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:12:04] Production.INFO: Account Balance Start.
[2025-01-12 21:12:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:12:04] Production.INFO: 117
[2025-01-12 21:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:12:04] Production.INFO: ==21419== Releasing lock...
[2025-01-12 21:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:12:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:12:04] Production.INFO: count ==21
[2025-01-12 21:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:12:04] Production.INFO: count ==21
[2025-01-12 21:12:04] Production.ERROR: done
[2025-01-12 21:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:12:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234268') start
[2025-01-12 21:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234268') end
[2025-01-12 21:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:12:04] Production.INFO: 1
[2025-01-12 21:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:12:04] Production.INFO: ==21427== Releasing lock...
[2025-01-12 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:12:04] Production.ERROR: done
[2025-01-12 21:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:12:04] Production.INFO: Total Charge 0
[2025-01-12 21:12:04] Production.INFO: CreateAllLog End
[2025-01-12 21:12:04] Production.INFO: Account Balance End.
[2025-01-12 21:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:12:04] Production.INFO: ==21423== Releasing lock...
[2025-01-12 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:12:05
[end_date_ymd] => 2025-01-12 21:12:05
[RateCDR] => 1
)
[2025-01-12 21:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:12:05' and `end` < '2025-01-12 21:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:12:11] Production.ERROR: CronJobId end10
[2025-01-12 21:12:11] Production.INFO: ==21421== Releasing lock...
[2025-01-12 21:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:12:14] Production.INFO: call_cost start
[2025-01-12 21:12:14] Production.INFO: call_cost end
[2025-01-12 21:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:12:14] Production.INFO: ==21417== Releasing lock...
[2025-01-12 21:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:12:18] Production.INFO: count ==494
[2025-01-12 21:12:19] Production.ERROR: pbx CDR StartTime 2025-01-12 18:12:05 - End Time 2025-01-12 21:12:05
[2025-01-12 21:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234269', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234269', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234269', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234269', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:12:19] Production.INFO: ProcessCDR(1,14234269,1,1,2)
[2025-01-12 21:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234269', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234269', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:12:22] Production.INFO: ==21425== Releasing lock...
[2025-01-12 21:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:12:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-13 02:13:01] Production.INFO: ==21517== Lock acquired, processing the job...
[2025-01-13 02:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:13:01] Production.INFO: neon service started
[2025-01-13 02:13:01] Production.INFO: neon service started
[2025-01-13 02:13:01] Production.INFO: ==21517== Releasing lock...
[2025-01-13 02:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:13:02] Production.INFO: ==21519== Lock acquired, processing the job...
[2025-01-12 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:13:02] Production.INFO: ==21521== Lock acquired, processing the job...
[2025-01-13 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:13:02] Production.INFO: ==21521== Releasing lock...
[2025-01-13 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:13:02] Production.INFO: ==21519== Releasing lock...
[2025-01-12 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:13:03] Production.INFO: ==21528== Lock acquired, processing the job...
[2025-01-12 21:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:13:03] Production.INFO: ==21534== Lock acquired, processing the job...
[2025-01-12 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:13:03] Production.INFO: ==21524== Lock acquired, processing the job...
[2025-01-12 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:13:03] Production.INFO: ==21526== Lock acquired, processing the job...
[2025-01-12 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:13:03] Production.INFO: count ==21
[2025-01-12 21:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:13:03] Production.INFO: count ==21
[2025-01-12 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234270') start
[2025-01-12 21:13:03] Production.INFO: ==21530== Lock acquired, processing the job...
[2025-01-12 21:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:13:03] Production.INFO: ==21532== Lock acquired, processing the job...
[2025-01-12 21:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:13:03] Production.INFO: Account Balance Start.
[2025-01-12 21:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:13:03] Production.INFO: 117
[2025-01-12 21:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:13:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234270') end
[2025-01-12 21:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:13:03] Production.INFO: 1
[2025-01-12 21:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:13:03] Production.INFO: Total Charge 0
[2025-01-12 21:13:04] Production.INFO: CreateAllLog End
[2025-01-12 21:13:04] Production.INFO: ==21526== Releasing lock...
[2025-01-12 21:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:13:04] Production.INFO: ==21534== Releasing lock...
[2025-01-12 21:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:13:04] Production.ERROR: done
[2025-01-12 21:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:13:04] Production.INFO: Account Balance End.
[2025-01-12 21:13:04] Production.ERROR: done
[2025-01-12 21:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:13:04] Production.INFO: ==21530== Releasing lock...
[2025-01-12 21:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:13:05
[end_date_ymd] => 2025-01-12 21:13:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:13:05' and `end` < '2025-01-12 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-12 21:13:11] Production.ERROR: CronJobId end10
[2025-01-12 21:13:11] Production.INFO: ==21528== Releasing lock...
[2025-01-12 21:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:13:14] Production.INFO: call_cost start
[2025-01-12 21:13:14] Production.INFO: call_cost end
[2025-01-12 21:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:13:15] Production.INFO: ==21524== Releasing lock...
[2025-01-12 21:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:13:18] Production.INFO: count ==494
[2025-01-12 21:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 18:13:05 - End Time 2025-01-12 21:13:05
[2025-01-12 21:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234274', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234274', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234274', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234274', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:13:18] Production.INFO: ProcessCDR(1,14234274,1,1,2)
[2025-01-12 21:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234274', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234274', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:13:22] Production.INFO: ==21532== Releasing lock...
[2025-01-12 21:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:13:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-13 02:14:02] Production.INFO: ==21624== Lock acquired, processing the job...
[2025-01-13 02:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:14:02] Production.INFO: neon service started
[2025-01-13 02:14:02] Production.INFO: neon service started
[2025-01-13 02:14:02] Production.INFO: ==21624== Releasing lock...
[2025-01-13 02:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:14:02] Production.INFO: ==21626== Lock acquired, processing the job...
[2025-01-12 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:14:02] Production.INFO: ==21626== Releasing lock...
[2025-01-12 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:14:03] Production.INFO: ==21628== Lock acquired, processing the job...
[2025-01-13 02:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:14:03] Production.INFO: ==21628== Releasing lock...
[2025-01-13 02:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:14:03] Production.INFO: ==21636== Lock acquired, processing the job...
[2025-01-12 21:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:14:03] Production.INFO: ==21639== Lock acquired, processing the job...
[2025-01-12 21:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:14:03] Production.INFO: ==21630== Lock acquired, processing the job...
[2025-01-12 21:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:14:03] Production.INFO: Account Balance Start.
[2025-01-12 21:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:14:03] Production.INFO: 117
[2025-01-12 21:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:14:03] Production.INFO: ==21634== Lock acquired, processing the job...
[2025-01-12 21:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:14:03] Production.INFO: ==21632== Lock acquired, processing the job...
[2025-01-12 21:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:14:04] Production.INFO: ==21641== Lock acquired, processing the job...
[2025-01-12 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:14:04] Production.INFO: Total Charge 0
[2025-01-12 21:14:04] Production.INFO: CreateAllLog End
[2025-01-12 21:14:04] Production.ERROR: done
[2025-01-12 21:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-12 21:14:04] Production.INFO: count ==21
[2025-01-12 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-12 21:14:04] Production.INFO: count ==21
[2025-01-12 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234278') start
[2025-01-12 21:14:04] Production.INFO: Account Balance End.
[2025-01-12 21:14:04] Production.ERROR: done
[2025-01-12 21:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:14:04] Production.INFO: ==21636== Releasing lock...
[2025-01-12 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234278') end
[2025-01-12 21:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:14:04] Production.INFO: 1
[2025-01-12 21:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:14:04] Production.INFO: ==21632== Releasing lock...
[2025-01-12 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:14:04] Production.INFO: ==21641== Releasing lock...
[2025-01-12 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:14:05
[end_date_ymd] => 2025-01-12 21:14:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:14:05' and `end` < '2025-01-12 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-12 21:14:12] Production.ERROR: CronJobId end10
[2025-01-12 21:14:12] Production.INFO: ==21634== Releasing lock...
[2025-01-12 21:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:14:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:14:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:14:15] Production.INFO: call_cost start
[2025-01-12 21:14:15] Production.INFO: call_cost end
[2025-01-12 21:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:14:15] Production.INFO: ==21630== Releasing lock...
[2025-01-12 21:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:14:33] Production.INFO: count ==495
[2025-01-12 21:14:34] Production.ERROR: pbx CDR StartTime 2025-01-12 18:14:05 - End Time 2025-01-12 21:14:05
[2025-01-12 21:14:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:14:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234279', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:14:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234279', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:14:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234279', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:14:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234279', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:14:34] Production.INFO: ProcessCDR(1,14234279,1,1,2)
[2025-01-12 21:14:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:14:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:14:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:14:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:14:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234279', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:14:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234279', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:14:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:14:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:14:38] Production.INFO: ==21639== Releasing lock...
[2025-01-12 21:14:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:14:38] Production.INFO: 32.75 MB #Memory Used#
[2025-01-13 02:15:01] Production.INFO: ==21732== Lock acquired, processing the job...
[2025-01-13 02:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:15:01] Production.INFO: neon service started
[2025-01-13 02:15:01] Production.INFO: neon service started
[2025-01-13 02:15:01] Production.INFO: ==21732== Releasing lock...
[2025-01-13 02:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:15:02] Production.INFO: ==21734== Lock acquired, processing the job...
[2025-01-12 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:15:02] Production.INFO: ==21734== Releasing lock...
[2025-01-12 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:15:02] Production.INFO: ==21736== Lock acquired, processing the job...
[2025-01-13 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:15:02] Production.INFO: ==21736== Releasing lock...
[2025-01-13 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:15:03] Production.INFO: ==21741== Lock acquired, processing the job...
[2025-01-12 21:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:15:03] Production.INFO: ==21749== Lock acquired, processing the job...
[2025-01-12 21:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:15:03] Production.INFO: ==21743== Lock acquired, processing the job...
[2025-01-12 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:15:03] Production.INFO: ==21751== Lock acquired, processing the job...
[2025-01-12 21:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:15:03] Production.INFO: ==21745== Lock acquired, processing the job...
[2025-01-12 21:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:15:03] Production.INFO: ==21747== Lock acquired, processing the job...
[2025-01-12 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:15:03] Production.INFO: Account Balance Start.
[2025-01-12 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-12 21:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:15:03] Production.INFO: 117
[2025-01-12 21:15:03] Production.INFO: count ==21
[2025-01-12 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-12 21:15:03] Production.INFO: count ==21
[2025-01-12 21:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234281') start
[2025-01-12 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:15:03] Production.ERROR: done
[2025-01-12 21:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234281') end
[2025-01-12 21:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:15:03] Production.INFO: 1
[2025-01-12 21:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:15:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:15:03] Production.INFO: Total Charge 0
[2025-01-12 21:15:03] Production.INFO: ==21743== Releasing lock...
[2025-01-12 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:15:03] Production.INFO: CreateAllLog End
[2025-01-12 21:15:03] Production.INFO: ==21751== Releasing lock...
[2025-01-12 21:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:15:03] Production.ERROR: done
[2025-01-12 21:15:03] Production.INFO: Account Balance End.
[2025-01-12 21:15:03] Production.ERROR: CronJobId end 12
[2025-01-12 21:15:03] Production.INFO: ==21747== Releasing lock...
[2025-01-12 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:15:04
[end_date_ymd] => 2025-01-12 21:15:04
[RateCDR] => 1
)
[2025-01-12 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-12 18:15:04' and `end` < '2025-01-12 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-12 21:15:11] Production.ERROR: CronJobId end10
[2025-01-12 21:15:11] Production.INFO: ==21745== Releasing lock...
[2025-01-12 21:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:15:13] Production.INFO: call_cost start
[2025-01-12 21:15:13] Production.INFO: call_cost end
[2025-01-12 21:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:15:14] Production.INFO: ==21741== Releasing lock...
[2025-01-12 21:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:15:37] Production.INFO: count ==496
[2025-01-12 21:15:37] Production.ERROR: pbx CDR StartTime 2025-01-12 18:15:04 - End Time 2025-01-12 21:15:04
[2025-01-12 21:15:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:15:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234284', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:15:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234284', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:15:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234284', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:15:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234284', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:15:37] Production.INFO: ProcessCDR(1,14234284,1,1,2)
[2025-01-12 21:15:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:15:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:15:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:15:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:15:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234284', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:15:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234284', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:15:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:15:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:15:41] Production.INFO: ==21749== Releasing lock...
[2025-01-12 21:15:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:15:41] Production.INFO: 33 MB #Memory Used#
[2025-01-13 02:16:02] Production.INFO: ==21842== Lock acquired, processing the job...
[2025-01-13 02:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:16:02] Production.INFO: neon service started
[2025-01-13 02:16:02] Production.INFO: neon service started
[2025-01-13 02:16:02] Production.INFO: ==21842== Releasing lock...
[2025-01-13 02:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:16:02] Production.INFO: ==21844== Lock acquired, processing the job...
[2025-01-12 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:16:02] Production.INFO: ==21844== Releasing lock...
[2025-01-12 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:16:02] Production.INFO: ==21846== Lock acquired, processing the job...
[2025-01-13 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:16:02] Production.INFO: ==21846== Releasing lock...
[2025-01-13 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:16:03] Production.INFO: ==21855== Lock acquired, processing the job...
[2025-01-12 21:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:16:03] Production.INFO: ==21859== Lock acquired, processing the job...
[2025-01-12 21:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:16:03] Production.INFO: ==21851== Lock acquired, processing the job...
[2025-01-12 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:16:03] Production.INFO: ==21849== Lock acquired, processing the job...
[2025-01-12 21:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:16:03] Production.INFO: ==21853== Lock acquired, processing the job...
[2025-01-12 21:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-12 21:16:03] Production.INFO: count ==21
[2025-01-12 21:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:16:03] Production.INFO: Account Balance Start.
[2025-01-12 21:16:03] Production.INFO: CreateAllLog Start
[2025-01-12 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-12 21:16:03] Production.INFO: count ==21
[2025-01-12 21:16:03] Production.INFO: 117
[2025-01-12 21:16:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234285') start
[2025-01-12 21:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:16:03] Production.INFO: ==21857== Lock acquired, processing the job...
[2025-01-12 21:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234285') end
[2025-01-12 21:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:16:03] Production.INFO: 1
[2025-01-12 21:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:16:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:16:04] Production.INFO: ==21851== Releasing lock...
[2025-01-12 21:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:16:04] Production.INFO: ==21859== Releasing lock...
[2025-01-12 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:16:04] Production.ERROR: done
[2025-01-12 21:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:16:04] Production.INFO: Total Charge 0
[2025-01-12 21:16:04] Production.INFO: CreateAllLog End
[2025-01-12 21:16:04] Production.ERROR: done
[2025-01-12 21:16:04] Production.INFO: Account Balance End.
[2025-01-12 21:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:16:04] Production.INFO: ==21855== Releasing lock...
[2025-01-12 21:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:16:05
[end_date_ymd] => 2025-01-12 21:16:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:16:05' and `end` < '2025-01-12 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-12 21:16:11] Production.ERROR: CronJobId end10
[2025-01-12 21:16:11] Production.INFO: ==21853== Releasing lock...
[2025-01-12 21:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:16:13] Production.INFO: call_cost start
[2025-01-12 21:16:13] Production.INFO: call_cost end
[2025-01-12 21:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:16:14] Production.INFO: ==21849== Releasing lock...
[2025-01-12 21:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:16:33] Production.INFO: count ==496
[2025-01-12 21:16:33] Production.ERROR: pbx CDR StartTime 2025-01-12 18:16:05 - End Time 2025-01-12 21:16:05
[2025-01-12 21:16:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234289', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234289', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234289', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234289', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:16:33] Production.INFO: ProcessCDR(1,14234289,1,1,2)
[2025-01-12 21:16:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:16:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:16:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:16:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:16:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234289', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:16:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234289', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:16:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:16:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:16:36] Production.INFO: ==21857== Releasing lock...
[2025-01-12 21:16:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:16:36] Production.INFO: 33 MB #Memory Used#
[2025-01-13 02:17:01] Production.INFO: ==21950== Lock acquired, processing the job...
[2025-01-13 02:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:17:01] Production.INFO: neon service started
[2025-01-13 02:17:01] Production.INFO: neon service started
[2025-01-13 02:17:01] Production.INFO: ==21950== Releasing lock...
[2025-01-13 02:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:17:02] Production.INFO: ==21953== Lock acquired, processing the job...
[2025-01-12 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:17:02] Production.INFO: ==21955== Lock acquired, processing the job...
[2025-01-13 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:17:02] Production.INFO: ==21955== Releasing lock...
[2025-01-13 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:17:02] Production.INFO: ==21953== Releasing lock...
[2025-01-12 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:17:03] Production.INFO: ==21957== Lock acquired, processing the job...
[2025-01-12 21:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:17:03] Production.INFO: ==21959== Lock acquired, processing the job...
[2025-01-12 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:17:03] Production.INFO: ==21963== Lock acquired, processing the job...
[2025-01-12 21:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:17:03] Production.INFO: Account Balance Start.
[2025-01-12 21:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:17:03] Production.INFO: 117
[2025-01-12 21:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:17:03] Production.INFO: ==21961== Lock acquired, processing the job...
[2025-01-12 21:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:17:03] Production.INFO: ==21967== Lock acquired, processing the job...
[2025-01-12 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:17:03] Production.INFO: ==21965== Lock acquired, processing the job...
[2025-01-12 21:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:17:03] Production.INFO: ==21959== Releasing lock...
[2025-01-12 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:17:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 21:17:03] Production.INFO: Total Charge 0
[2025-01-12 21:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:17:03] Production.INFO: CreateAllLog End
[2025-01-12 21:17:03] Production.INFO: count ==21
[2025-01-12 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-12 21:17:03] Production.INFO: count ==21
[2025-01-12 21:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234293') start
[2025-01-12 21:17:04] Production.INFO: Account Balance End.
[2025-01-12 21:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234293') end
[2025-01-12 21:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:17:04] Production.INFO: 1
[2025-01-12 21:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:17:04] Production.INFO: ==21963== Releasing lock...
[2025-01-12 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:17:04] Production.ERROR: done
[2025-01-12 21:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:17:04] Production.INFO: ==21967== Releasing lock...
[2025-01-12 21:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:17:04] Production.ERROR: done
[2025-01-12 21:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:17:05
[end_date_ymd] => 2025-01-12 21:17:05
[RateCDR] => 1
)
[2025-01-12 21:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:17:05' and `end` < '2025-01-12 21:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:17:12] Production.ERROR: CronJobId end10
[2025-01-12 21:17:12] Production.INFO: ==21961== Releasing lock...
[2025-01-12 21:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:17:13] Production.INFO: call_cost start
[2025-01-12 21:17:13] Production.INFO: call_cost end
[2025-01-12 21:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:17:14] Production.INFO: ==21957== Releasing lock...
[2025-01-12 21:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:17:33] Production.INFO: count ==495
[2025-01-12 21:17:34] Production.ERROR: pbx CDR StartTime 2025-01-12 18:17:05 - End Time 2025-01-12 21:17:05
[2025-01-12 21:17:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:17:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234294', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:17:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234294', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:17:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234294', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:17:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234294', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:17:34] Production.INFO: ProcessCDR(1,14234294,1,1,2)
[2025-01-12 21:17:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:17:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:17:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:17:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:17:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234294', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:17:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234294', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:17:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:17:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:17:37] Production.INFO: ==21965== Releasing lock...
[2025-01-12 21:17:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:17:37] Production.INFO: 32.75 MB #Memory Used#
[2025-01-13 02:18:02] Production.INFO: ==22104== Lock acquired, processing the job...
[2025-01-13 02:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:18:02] Production.INFO: neon service started
[2025-01-13 02:18:02] Production.INFO: neon service started
[2025-01-13 02:18:02] Production.INFO: ==22104== Releasing lock...
[2025-01-13 02:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:18:02] Production.INFO: ==22106== Lock acquired, processing the job...
[2025-01-12 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:18:02] Production.INFO: ==22106== Releasing lock...
[2025-01-12 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:18:02] Production.INFO: ==22108== Lock acquired, processing the job...
[2025-01-13 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:18:02] Production.INFO: ==22108== Releasing lock...
[2025-01-13 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:18:03] Production.INFO: ==22116== Lock acquired, processing the job...
[2025-01-12 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:18:03] Production.INFO: Account Balance Start.
[2025-01-12 21:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:18:03] Production.INFO: 117
[2025-01-12 21:18:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:18:03] Production.INFO: ==22120== Lock acquired, processing the job...
[2025-01-12 21:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:18:03] Production.INFO: ==22110== Lock acquired, processing the job...
[2025-01-12 21:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:18:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:18:03] Production.INFO: ==22112== Lock acquired, processing the job...
[2025-01-12 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:18:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:18:03] Production.INFO: ==22114== Lock acquired, processing the job...
[2025-01-12 21:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:18:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:18:03] Production.INFO: ==22118== Lock acquired, processing the job...
[2025-01-12 21:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:18:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:18:03] Production.INFO: count ==21
[2025-01-12 21:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:18:03] Production.INFO: count ==21
[2025-01-12 21:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234296') start
[2025-01-12 21:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:18:03] Production.INFO: Total Charge 0
[2025-01-12 21:18:04] Production.INFO: CreateAllLog End
[2025-01-12 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234296') end
[2025-01-12 21:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:18:04] Production.INFO: 1
[2025-01-12 21:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:18:04] Production.INFO: ==22120== Releasing lock...
[2025-01-12 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:18:04] Production.INFO: ==22112== Releasing lock...
[2025-01-12 21:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:18:04] Production.INFO: Account Balance End.
[2025-01-12 21:18:04] Production.ERROR: done
[2025-01-12 21:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:18:04] Production.INFO: ==22116== Releasing lock...
[2025-01-12 21:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:18:04] Production.ERROR: done
[2025-01-12 21:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:18:05
[end_date_ymd] => 2025-01-12 21:18:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:18:05' and `end` < '2025-01-12 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-12 21:18:11] Production.ERROR: CronJobId end10
[2025-01-12 21:18:11] Production.INFO: ==22114== Releasing lock...
[2025-01-12 21:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:18:13] Production.INFO: call_cost start
[2025-01-12 21:18:13] Production.INFO: call_cost end
[2025-01-12 21:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:18:14] Production.INFO: ==22110== Releasing lock...
[2025-01-12 21:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:18:31] Production.INFO: count ==495
[2025-01-12 21:18:31] Production.ERROR: pbx CDR StartTime 2025-01-12 18:18:05 - End Time 2025-01-12 21:18:05
[2025-01-12 21:18:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:18:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234299', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:18:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234299', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:18:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234299', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:18:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234299', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:18:31] Production.INFO: ProcessCDR(1,14234299,1,1,2)
[2025-01-12 21:18:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:18:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:18:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:18:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:18:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234299', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:18:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234299', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:18:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:18:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:18:35] Production.INFO: ==22118== Releasing lock...
[2025-01-12 21:18:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:18:35] Production.INFO: 32.75 MB #Memory Used#
[2025-01-13 02:19:01] Production.INFO: ==22209== Lock acquired, processing the job...
[2025-01-13 02:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:19:01] Production.INFO: neon service started
[2025-01-13 02:19:01] Production.INFO: neon service started
[2025-01-13 02:19:01] Production.INFO: ==22209== Releasing lock...
[2025-01-13 02:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:19:02] Production.INFO: ==22212== Lock acquired, processing the job...
[2025-01-12 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:19:02] Production.INFO: ==22214== Lock acquired, processing the job...
[2025-01-13 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:19:02] Production.INFO: ==22214== Releasing lock...
[2025-01-13 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:19:02] Production.INFO: ==22212== Releasing lock...
[2025-01-12 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:19:03] Production.INFO: ==22218== Lock acquired, processing the job...
[2025-01-12 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:19:03] Production.INFO: ==22220== Lock acquired, processing the job...
[2025-01-12 21:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:19:03] Production.INFO: ==22224== Lock acquired, processing the job...
[2025-01-12 21:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:19:03] Production.INFO: ==22222== Lock acquired, processing the job...
[2025-01-12 21:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:19:03] Production.INFO: ==22216== Lock acquired, processing the job...
[2025-01-12 21:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:19:03] Production.INFO: ==22226== Lock acquired, processing the job...
[2025-01-12 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:19:03] Production.INFO: Account Balance Start.
[2025-01-12 21:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:19:03] Production.INFO: ==22218== Releasing lock...
[2025-01-12 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:19:03] Production.INFO: 117
[2025-01-12 21:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:19:03] Production.INFO: count ==21
[2025-01-12 21:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:19:03] Production.INFO: count ==21
[2025-01-12 21:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234303') start
[2025-01-12 21:19:03] Production.ERROR: done
[2025-01-12 21:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:19:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:19:04] Production.INFO: Total Charge 0
[2025-01-12 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234303') end
[2025-01-12 21:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:19:04] Production.INFO: 1
[2025-01-12 21:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:19:04] Production.INFO: CreateAllLog End
[2025-01-12 21:19:04] Production.INFO: ==22226== Releasing lock...
[2025-01-12 21:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:19:04] Production.ERROR: done
[2025-01-12 21:19:04] Production.INFO: Account Balance End.
[2025-01-12 21:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:19:04] Production.INFO: ==22222== Releasing lock...
[2025-01-12 21:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:19:05
[end_date_ymd] => 2025-01-12 21:19:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:19:05' and `end` < '2025-01-12 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-12 21:19:11] Production.ERROR: CronJobId end10
[2025-01-12 21:19:11] Production.INFO: ==22220== Releasing lock...
[2025-01-12 21:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:19:13] Production.INFO: call_cost start
[2025-01-12 21:19:13] Production.INFO: call_cost end
[2025-01-12 21:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:19:14] Production.INFO: ==22216== Releasing lock...
[2025-01-12 21:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:19:29] Production.INFO: count ==492
[2025-01-12 21:19:29] Production.ERROR: pbx CDR StartTime 2025-01-12 18:19:05 - End Time 2025-01-12 21:19:05
[2025-01-12 21:19:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:19:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234304', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:19:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234304', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:19:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234304', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:19:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234304', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:19:29] Production.INFO: ProcessCDR(1,14234304,1,1,2)
[2025-01-12 21:19:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:19:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:19:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:19:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:19:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234304', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:19:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234304', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:19:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:19:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:19:32] Production.INFO: ==22224== Releasing lock...
[2025-01-12 21:19:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:19:32] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 02:20:01] Production.INFO: ==22308== Lock acquired, processing the job...
[2025-01-13 02:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:20:02] Production.INFO: neon service started
[2025-01-13 02:20:02] Production.INFO: neon service started
[2025-01-13 02:20:02] Production.INFO: ==22308== Releasing lock...
[2025-01-13 02:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:20:02] Production.INFO: ==22312== Lock acquired, processing the job...
[2025-01-12 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:20:02] Production.INFO: ==22314== Lock acquired, processing the job...
[2025-01-13 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:20:02] Production.INFO: ==22314== Releasing lock...
[2025-01-13 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:20:03] Production.INFO: ==22312== Releasing lock...
[2025-01-12 21:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:20:04] Production.INFO: ==22321== Lock acquired, processing the job...
[2025-01-12 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:20:04] Production.INFO: ==22316== Lock acquired, processing the job...
[2025-01-12 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 21:20:04] Production.INFO: ==22318== Lock acquired, processing the job...
[2025-01-12 21:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 21:20:04] Production.ERROR: CronJob PID - 22318
[2025-01-12 21:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 21:20:04] Production.ERROR: CronJob ID - 5
[2025-01-12 21:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 21:20:00
[2025-01-12 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 21:20:04] Production.ERROR: CronJob PID - 22321
[2025-01-12 21:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 21:20:04] Production.ERROR: CronJob ID - 7
[2025-01-12 21:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 21:20:00
[2025-01-12 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 21:20:04] Production.INFO: ==22327== Lock acquired, processing the job...
[2025-01-12 21:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:20:04] Production.INFO: ==22323== Lock acquired, processing the job...
[2025-01-12 21:20:04] Production.INFO: ==22329== Lock acquired, processing the job...
[2025-01-12 21:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 21:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 21:20:04] Production.INFO: ==22316== Releasing lock...
[2025-01-12 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 21:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 21:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:20:04] Production.INFO: ==22325== Lock acquired, processing the job...
[2025-01-12 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:20:04] Production.INFO: ==22331== Lock acquired, processing the job...
[2025-01-12 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:20:04] Production.INFO: Account Balance Start.
[2025-01-12 21:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:20:04] Production.INFO: 117
[2025-01-12 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-12 21:20:04] Production.INFO: count ==21
[2025-01-12 21:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-12 21:20:04] Production.INFO: count ==21
[2025-01-12 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:20:04] Production.ERROR: done
[2025-01-12 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234308') start
[2025-01-12 21:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:20:04] Production.ERROR: done
[2025-01-12 21:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:20:04] Production.INFO: ==22321== Releasing lock...
[2025-01-12 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:20:04] Production.ERROR: done
[2025-01-12 21:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234308') end
[2025-01-12 21:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:20:04] Production.INFO: 1
[2025-01-12 21:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 21:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234309', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 21:20:04] Production.INFO: ==22331== Releasing lock...
[2025-01-12 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:20:04] Production.INFO: Total Charge 0
[2025-01-12 21:20:04] Production.INFO: CreateAllLog End
[2025-01-12 21:20:05] Production.INFO: Account Balance End.
[2025-01-12 21:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 21:20:05] Production.INFO: ==22325== Releasing lock...
[2025-01-12 21:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:20:05
[end_date_ymd] => 2025-01-12 21:20:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:20:05' and `end` < '2025-01-12 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-12 21:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234309', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 21:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 21:20:09] Production.INFO: ProcessCDR(1,14234309,1,1,2)
[2025-01-12 21:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234309,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234309,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:20:09] Production.INFO: ==22329== Releasing lock...
[2025-01-12 21:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 21:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 21:20:13] Production.ERROR: CronJobId end10
[2025-01-12 21:20:13] Production.INFO: ==22323== Releasing lock...
[2025-01-12 21:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:20:15] Production.INFO: call_cost start
[2025-01-12 21:20:15] Production.INFO: call_cost end
[2025-01-12 21:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:20:16] Production.INFO: ==22318== Releasing lock...
[2025-01-12 21:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:20:35] Production.INFO: count ==497
[2025-01-12 21:20:35] Production.ERROR: pbx CDR StartTime 2025-01-12 18:20:05 - End Time 2025-01-12 21:20:05
[2025-01-12 21:20:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:20:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234310', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:20:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234310', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:20:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234310', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:20:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234310', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:20:35] Production.INFO: ProcessCDR(1,14234310,1,1,2)
[2025-01-12 21:20:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:20:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:20:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:20:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:20:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234310', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:20:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234310', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:20:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:20:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:20:39] Production.INFO: ==22327== Releasing lock...
[2025-01-12 21:20:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:20:39] Production.INFO: 32.75 MB #Memory Used#
[2025-01-13 02:21:01] Production.INFO: ==22410== Lock acquired, processing the job...
[2025-01-13 02:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:21:01] Production.INFO: neon service started
[2025-01-13 02:21:01] Production.INFO: neon service started
[2025-01-13 02:21:01] Production.INFO: ==22410== Releasing lock...
[2025-01-13 02:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:21:01] Production.INFO: ==22412== Lock acquired, processing the job...
[2025-01-12 21:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:21:02] Production.INFO: ==22412== Releasing lock...
[2025-01-12 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:21:02] Production.INFO: ==22414== Lock acquired, processing the job...
[2025-01-13 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:21:02] Production.INFO: ==22414== Releasing lock...
[2025-01-13 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:21:03] Production.INFO: ==22423== Lock acquired, processing the job...
[2025-01-12 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:21:03] Production.INFO: ==22427== Lock acquired, processing the job...
[2025-01-12 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:21:03] Production.INFO: ==22416== Lock acquired, processing the job...
[2025-01-12 21:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:21:03] Production.INFO: Account Balance Start.
[2025-01-12 21:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:21:03] Production.INFO: 117
[2025-01-12 21:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:21:03] Production.INFO: ==22418== Lock acquired, processing the job...
[2025-01-12 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 21:21:03] Production.INFO: ==22420== Lock acquired, processing the job...
[2025-01-12 21:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:21:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:21:03] Production.INFO: count ==21
[2025-01-12 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-12 21:21:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:21:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:21:03] Production.INFO: ==22425== Lock acquired, processing the job...
[2025-01-12 21:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:21:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:21:03] Production.INFO: count ==21
[2025-01-12 21:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234311') start
[2025-01-12 21:21:03] Production.INFO: Total Charge 0
[2025-01-12 21:21:03] Production.INFO: CreateAllLog End
[2025-01-12 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234311') end
[2025-01-12 21:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:21:03] Production.INFO: 1
[2025-01-12 21:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:21:03] Production.INFO: ==22418== Releasing lock...
[2025-01-12 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:21:03] Production.INFO: ==22427== Releasing lock...
[2025-01-12 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:21:03] Production.ERROR: done
[2025-01-12 21:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:21:03] Production.ERROR: done
[2025-01-12 21:21:03] Production.INFO: Account Balance End.
[2025-01-12 21:21:03] Production.ERROR: CronJobId end 12
[2025-01-12 21:21:03] Production.INFO: ==22423== Releasing lock...
[2025-01-12 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:21:04
[end_date_ymd] => 2025-01-12 21:21:04
[RateCDR] => 1
)
[2025-01-12 21:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:21:04' and `end` < '2025-01-12 21:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:21:10] Production.ERROR: CronJobId end10
[2025-01-12 21:21:10] Production.INFO: ==22420== Releasing lock...
[2025-01-12 21:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:21:12] Production.INFO: call_cost start
[2025-01-12 21:21:12] Production.INFO: call_cost end
[2025-01-12 21:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:21:13] Production.INFO: ==22416== Releasing lock...
[2025-01-12 21:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:21:31] Production.INFO: count ==537
[2025-01-12 21:21:31] Production.ERROR: pbx CDR StartTime 2025-01-12 18:21:04 - End Time 2025-01-12 21:21:04
[2025-01-12 21:21:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:21:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234315', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:21:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234315', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:21:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234315', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:21:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234315', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:21:31] Production.INFO: ProcessCDR(1,14234315,1,1,2)
[2025-01-12 21:21:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:21:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:21:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:21:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:21:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234315', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:21:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234315', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:21:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:21:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:21:34] Production.INFO: ==22425== Releasing lock...
[2025-01-12 21:21:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:21:34] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 02:22:01] Production.INFO: ==22509== Lock acquired, processing the job...
[2025-01-13 02:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:22:01] Production.INFO: neon service started
[2025-01-13 02:22:01] Production.INFO: neon service started
[2025-01-13 02:22:01] Production.INFO: ==22509== Releasing lock...
[2025-01-13 02:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:22:02] Production.INFO: ==22513== Lock acquired, processing the job...
[2025-01-13 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:22:02] Production.INFO: ==22513== Releasing lock...
[2025-01-13 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:22:02] Production.INFO: ==22511== Lock acquired, processing the job...
[2025-01-12 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:22:02] Production.INFO: ==22511== Releasing lock...
[2025-01-12 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:22:03] Production.INFO: ==22520== Lock acquired, processing the job...
[2025-01-12 21:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:22:03] Production.INFO: ==22526== Lock acquired, processing the job...
[2025-01-12 21:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:22:03] Production.INFO: ==22516== Lock acquired, processing the job...
[2025-01-12 21:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 21:22:03] Production.INFO: count ==21
[2025-01-12 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-12 21:22:03] Production.INFO: count ==21
[2025-01-12 21:22:03] Production.INFO: ==22518== Lock acquired, processing the job...
[2025-01-12 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234316') start
[2025-01-12 21:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:22:03] Production.INFO: ==22522== Lock acquired, processing the job...
[2025-01-12 21:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:22:03] Production.INFO: ==22524== Lock acquired, processing the job...
[2025-01-12 21:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234316') end
[2025-01-12 21:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:22:03] Production.INFO: 1
[2025-01-12 21:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:22:03] Production.INFO: ==22526== Releasing lock...
[2025-01-12 21:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:22:04] Production.INFO: Account Balance Start.
[2025-01-12 21:22:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:22:04] Production.INFO: 117
[2025-01-12 21:22:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:22:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:22:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:22:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:22:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:22:04] Production.ERROR: done
[2025-01-12 21:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:22:04] Production.INFO: Total Charge 0
[2025-01-12 21:22:04] Production.INFO: ==22518== Releasing lock...
[2025-01-12 21:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:22:04] Production.INFO: CreateAllLog End
[2025-01-12 21:22:04] Production.ERROR: done
[2025-01-12 21:22:04] Production.INFO: Account Balance End.
[2025-01-12 21:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:22:04] Production.INFO: ==22522== Releasing lock...
[2025-01-12 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:22:05
[end_date_ymd] => 2025-01-12 21:22:05
[RateCDR] => 1
)
[2025-01-12 21:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:22:05' and `end` < '2025-01-12 21:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:22:11] Production.ERROR: CronJobId end10
[2025-01-12 21:22:11] Production.INFO: ==22520== Releasing lock...
[2025-01-12 21:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:22:13] Production.INFO: call_cost start
[2025-01-12 21:22:13] Production.INFO: call_cost end
[2025-01-12 21:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:22:13] Production.INFO: ==22516== Releasing lock...
[2025-01-12 21:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:22:27] Production.INFO: count ==535
[2025-01-12 21:22:28] Production.ERROR: pbx CDR StartTime 2025-01-12 18:22:05 - End Time 2025-01-12 21:22:05
[2025-01-12 21:22:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:22:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234320', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:22:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234320', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:22:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234320', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:22:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234320', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:22:28] Production.INFO: ProcessCDR(1,14234320,1,1,2)
[2025-01-12 21:22:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:22:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:22:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:22:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:22:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234320', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:22:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234320', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:22:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:22:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:22:31] Production.INFO: ==22524== Releasing lock...
[2025-01-12 21:22:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:22:31] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:23:01] Production.INFO: ==22608== Lock acquired, processing the job...
[2025-01-13 02:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:23:01] Production.INFO: neon service started
[2025-01-13 02:23:01] Production.INFO: neon service started
[2025-01-13 02:23:01] Production.INFO: ==22608== Releasing lock...
[2025-01-13 02:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:23:01] Production.INFO: ==22614== Lock acquired, processing the job...
[2025-01-13 02:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:23:01] Production.INFO: ==22614== Releasing lock...
[2025-01-13 02:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:23:01] Production.INFO: ==22612== Lock acquired, processing the job...
[2025-01-12 21:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:23:02] Production.INFO: ==22612== Releasing lock...
[2025-01-12 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:23:02] Production.INFO: ==22617== Lock acquired, processing the job...
[2025-01-12 21:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:23:02] Production.INFO: ==22619== Lock acquired, processing the job...
[2025-01-12 21:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:23:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:23:02] Production.INFO: ==22621== Lock acquired, processing the job...
[2025-01-12 21:23:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:23:03] Production.INFO: ==22619== Releasing lock...
[2025-01-12 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:23:03] Production.INFO: ==22623== Lock acquired, processing the job...
[2025-01-12 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:23:03] Production.INFO: ==22627== Lock acquired, processing the job...
[2025-01-12 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:23:03] Production.INFO: ==22625== Lock acquired, processing the job...
[2025-01-12 21:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:23:03] Production.INFO: Account Balance Start.
[2025-01-12 21:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:23:03] Production.INFO: 117
[2025-01-12 21:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:23:03] Production.INFO: count ==21
[2025-01-12 21:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:23:03] Production.INFO: count ==21
[2025-01-12 21:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234324') start
[2025-01-12 21:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:23:03] Production.ERROR: done
[2025-01-12 21:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234324') end
[2025-01-12 21:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:23:03] Production.INFO: 1
[2025-01-12 21:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:23:03] Production.ERROR: done
[2025-01-12 21:23:03] Production.INFO: ==22627== Releasing lock...
[2025-01-12 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:23:04] Production.INFO: Total Charge 0
[2025-01-12 21:23:04] Production.INFO: CreateAllLog End
[2025-01-12 21:23:04] Production.INFO: Account Balance End.
[2025-01-12 21:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:23:04] Production.INFO: ==22623== Releasing lock...
[2025-01-12 21:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:23:04
[end_date_ymd] => 2025-01-12 21:23:04
[RateCDR] => 1
)
[2025-01-12 21:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:23:04' and `end` < '2025-01-12 21:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:23:10] Production.ERROR: CronJobId end10
[2025-01-12 21:23:10] Production.INFO: ==22621== Releasing lock...
[2025-01-12 21:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:23:13] Production.INFO: call_cost start
[2025-01-12 21:23:13] Production.INFO: call_cost end
[2025-01-12 21:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:23:13] Production.INFO: ==22617== Releasing lock...
[2025-01-12 21:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:23:26] Production.INFO: count ==535
[2025-01-12 21:23:26] Production.ERROR: pbx CDR StartTime 2025-01-12 18:23:04 - End Time 2025-01-12 21:23:04
[2025-01-12 21:23:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:23:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234325', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:23:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234325', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:23:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234325', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:23:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234325', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:23:26] Production.INFO: ProcessCDR(1,14234325,1,1,2)
[2025-01-12 21:23:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:23:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:23:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:23:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:23:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234325', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:23:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234325', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:23:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:23:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:23:29] Production.INFO: ==22625== Releasing lock...
[2025-01-12 21:23:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:23:29] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:24:01] Production.INFO: ==22710== Lock acquired, processing the job...
[2025-01-13 02:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:24:01] Production.INFO: neon service started
[2025-01-13 02:24:01] Production.INFO: neon service started
[2025-01-13 02:24:01] Production.INFO: ==22710== Releasing lock...
[2025-01-13 02:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:24:02] Production.INFO: ==22714== Lock acquired, processing the job...
[2025-01-13 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:24:02] Production.INFO: ==22712== Lock acquired, processing the job...
[2025-01-12 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:24:02] Production.INFO: ==22714== Releasing lock...
[2025-01-13 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:24:02] Production.INFO: ==22712== Releasing lock...
[2025-01-12 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:24:03] Production.INFO: ==22721== Lock acquired, processing the job...
[2025-01-12 21:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:24:03] Production.INFO: ==22727== Lock acquired, processing the job...
[2025-01-12 21:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:24:03] Production.INFO: ==22717== Lock acquired, processing the job...
[2025-01-12 21:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-12 21:24:03] Production.INFO: ==22719== Lock acquired, processing the job...
[2025-01-12 21:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:24:03] Production.INFO: count ==21
[2025-01-12 21:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 21:24:04] Production.INFO: count ==21
[2025-01-12 21:24:04] Production.INFO: ==22723== Lock acquired, processing the job...
[2025-01-12 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234326') start
[2025-01-12 21:24:04] Production.INFO: ==22725== Lock acquired, processing the job...
[2025-01-12 21:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:24:04] Production.INFO: Account Balance Start.
[2025-01-12 21:24:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:24:04] Production.INFO: 117
[2025-01-12 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234326') end
[2025-01-12 21:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:24:04] Production.INFO: 1
[2025-01-12 21:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:24:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:24:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:24:04] Production.INFO: ==22727== Releasing lock...
[2025-01-12 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:24:04] Production.INFO: ==22719== Releasing lock...
[2025-01-12 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:24:04] Production.INFO: Total Charge 0
[2025-01-12 21:24:04] Production.INFO: CreateAllLog End
[2025-01-12 21:24:04] Production.ERROR: done
[2025-01-12 21:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:24:04] Production.ERROR: done
[2025-01-12 21:24:04] Production.INFO: Account Balance End.
[2025-01-12 21:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:24:04] Production.INFO: ==22723== Releasing lock...
[2025-01-12 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:24:05
[end_date_ymd] => 2025-01-12 21:24:05
[RateCDR] => 1
)
[2025-01-12 21:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:24:05' and `end` < '2025-01-12 21:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:24:12] Production.ERROR: CronJobId end10
[2025-01-12 21:24:12] Production.INFO: ==22721== Releasing lock...
[2025-01-12 21:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:24:12] Production.INFO: call_cost start
[2025-01-12 21:24:12] Production.INFO: call_cost end
[2025-01-12 21:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:24:13] Production.INFO: ==22717== Releasing lock...
[2025-01-12 21:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:24:30] Production.INFO: count ==533
[2025-01-12 21:24:30] Production.ERROR: pbx CDR StartTime 2025-01-12 18:24:05 - End Time 2025-01-12 21:24:05
[2025-01-12 21:24:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:24:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234330', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:24:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234330', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:24:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234330', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:24:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234330', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:24:30] Production.INFO: ProcessCDR(1,14234330,1,1,2)
[2025-01-12 21:24:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:24:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:24:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:24:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:24:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234330', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:24:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234330', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:24:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:24:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:24:33] Production.INFO: ==22725== Releasing lock...
[2025-01-12 21:24:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:24:33] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:25:02] Production.INFO: ==22812== Lock acquired, processing the job...
[2025-01-13 02:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:25:02] Production.INFO: neon service started
[2025-01-13 02:25:02] Production.INFO: neon service started
[2025-01-13 02:25:02] Production.INFO: ==22812== Releasing lock...
[2025-01-13 02:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:25:02] Production.INFO: ==22816== Lock acquired, processing the job...
[2025-01-13 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:25:02] Production.INFO: ==22816== Releasing lock...
[2025-01-13 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:25:02] Production.INFO: ==22814== Lock acquired, processing the job...
[2025-01-12 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:25:03] Production.INFO: ==22814== Releasing lock...
[2025-01-12 21:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:25:03] Production.INFO: ==22821== Lock acquired, processing the job...
[2025-01-12 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:25:03] Production.INFO: ==22829== Lock acquired, processing the job...
[2025-01-12 21:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:25:03] Production.INFO: ==22819== Lock acquired, processing the job...
[2025-01-12 21:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:25:03] Production.INFO: ==22823== Lock acquired, processing the job...
[2025-01-12 21:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:25:04] Production.INFO: ==22821== Releasing lock...
[2025-01-12 21:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:25:04] Production.INFO: ==22825== Lock acquired, processing the job...
[2025-01-12 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:25:04] Production.INFO: count ==21
[2025-01-12 21:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 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-12 21:25:04] Production.INFO: count ==21
[2025-01-12 21:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:25:04] Production.INFO: ==22827== Lock acquired, processing the job...
[2025-01-12 21:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234332') start
[2025-01-12 21:25:04] Production.INFO: Account Balance Start.
[2025-01-12 21:25:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:25:04] Production.INFO: 117
[2025-01-12 21:25:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234332') end
[2025-01-12 21:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:25:04] Production.INFO: 1
[2025-01-12 21:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:25:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:25:04] Production.INFO: ==22829== Releasing lock...
[2025-01-12 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:25:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:25:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:25:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:25:04] Production.INFO: Total Charge 0
[2025-01-12 21:25:04] Production.INFO: CreateAllLog End
[2025-01-12 21:25:04] Production.ERROR: done
[2025-01-12 21:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:25:04] Production.ERROR: done
[2025-01-12 21:25:04] Production.INFO: Account Balance End.
[2025-01-12 21:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:25:04] Production.INFO: ==22825== Releasing lock...
[2025-01-12 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:25:05
[end_date_ymd] => 2025-01-12 21:25:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:25:05' and `end` < '2025-01-12 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-12 21:25:11] Production.ERROR: CronJobId end10
[2025-01-12 21:25:11] Production.INFO: ==22823== Releasing lock...
[2025-01-12 21:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:25:14] Production.INFO: call_cost start
[2025-01-12 21:25:14] Production.INFO: call_cost end
[2025-01-12 21:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:25:14] Production.INFO: ==22819== Releasing lock...
[2025-01-12 21:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:25:34] Production.INFO: count ==531
[2025-01-12 21:25:34] Production.ERROR: pbx CDR StartTime 2025-01-12 18:25:05 - End Time 2025-01-12 21:25:05
[2025-01-12 21:25:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:25:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234335', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:25:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234335', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:25:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234335', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:25:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234335', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:25:34] Production.INFO: ProcessCDR(1,14234335,1,1,2)
[2025-01-12 21:25:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:25:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:25:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:25:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:25:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234335', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:25:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234335', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:25:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:25:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:25:37] Production.INFO: ==22827== Releasing lock...
[2025-01-12 21:25:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:25:37] Production.INFO: 32.75 MB #Memory Used#
[2025-01-13 02:26:01] Production.INFO: ==22910== Lock acquired, processing the job...
[2025-01-13 02:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:26:01] Production.INFO: neon service started
[2025-01-13 02:26:01] Production.INFO: neon service started
[2025-01-13 02:26:01] Production.INFO: ==22910== Releasing lock...
[2025-01-13 02:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:26:01] Production.INFO: ==22912== Lock acquired, processing the job...
[2025-01-12 21:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:26:02] Production.INFO: ==22912== Releasing lock...
[2025-01-12 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:26:02] Production.INFO: ==22914== Lock acquired, processing the job...
[2025-01-13 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:26:02] Production.INFO: ==22914== Releasing lock...
[2025-01-13 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:26:03] Production.INFO: ==22922== Lock acquired, processing the job...
[2025-01-12 21:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:26:03] Production.INFO: ==22926== Lock acquired, processing the job...
[2025-01-12 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:26:03] Production.INFO: Account Balance Start.
[2025-01-12 21:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:26:03] Production.INFO: 117
[2025-01-12 21:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:26:03] Production.INFO: ==22916== Lock acquired, processing the job...
[2025-01-12 21:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:26:03] Production.INFO: ==22918== Lock acquired, processing the job...
[2025-01-12 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:26:03] Production.INFO: count ==21
[2025-01-12 21:26:03] Production.INFO: ==22920== Lock acquired, processing the job...
[2025-01-12 21:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:26:03] Production.INFO: count ==21
[2025-01-12 21:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234337') start
[2025-01-12 21:26:03] Production.INFO: ==22924== Lock acquired, processing the job...
[2025-01-12 21:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:26:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234337') end
[2025-01-12 21:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:26:03] Production.INFO: 1
[2025-01-12 21:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:26:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:26:03] Production.INFO: ==22926== Releasing lock...
[2025-01-12 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:26:03] Production.INFO: ==22918== Releasing lock...
[2025-01-12 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:26:03] Production.INFO: Total Charge 0
[2025-01-12 21:26:03] Production.INFO: CreateAllLog End
[2025-01-12 21:26:03] Production.ERROR: done
[2025-01-12 21:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:26:03] Production.INFO: Account Balance End.
[2025-01-12 21:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:26:04] Production.INFO: ==22922== Releasing lock...
[2025-01-12 21:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:26:04] Production.ERROR: done
[2025-01-12 21:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:26:04
[end_date_ymd] => 2025-01-12 21:26:04
[RateCDR] => 1
)
[2025-01-12 21:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:26:04' and `end` < '2025-01-12 21:26:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:26:10] Production.ERROR: CronJobId end10
[2025-01-12 21:26:10] Production.INFO: ==22920== Releasing lock...
[2025-01-12 21:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:26:13] Production.INFO: call_cost start
[2025-01-12 21:26:13] Production.INFO: call_cost end
[2025-01-12 21:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:26:14] Production.INFO: ==22916== Releasing lock...
[2025-01-12 21:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:26:28] Production.INFO: count ==530
[2025-01-12 21:26:28] Production.ERROR: pbx CDR StartTime 2025-01-12 18:26:04 - End Time 2025-01-12 21:26:04
[2025-01-12 21:26:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:26:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234340', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:26:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234340', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:26:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234340', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:26:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234340', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:26:28] Production.INFO: ProcessCDR(1,14234340,1,1,2)
[2025-01-12 21:26:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:26:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:26:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:26:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:26:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234340', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:26:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234340', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:26:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:26:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:26:31] Production.INFO: ==22924== Releasing lock...
[2025-01-12 21:26:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:26:31] Production.INFO: 32.75 MB #Memory Used#
[2025-01-13 02:27:02] Production.INFO: ==23011== Lock acquired, processing the job...
[2025-01-13 02:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:27:02] Production.INFO: neon service started
[2025-01-13 02:27:02] Production.INFO: neon service started
[2025-01-13 02:27:02] Production.INFO: ==23011== Releasing lock...
[2025-01-13 02:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:27:02] Production.INFO: ==23013== Lock acquired, processing the job...
[2025-01-12 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:27:02] Production.INFO: ==23013== Releasing lock...
[2025-01-12 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:27:02] Production.INFO: ==23015== Lock acquired, processing the job...
[2025-01-13 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:27:02] Production.INFO: ==23015== Releasing lock...
[2025-01-13 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:27:03] Production.INFO: ==23018== Lock acquired, processing the job...
[2025-01-12 21:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:27:03] Production.INFO: ==23020== Lock acquired, processing the job...
[2025-01-12 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:27:03] Production.INFO: ==23022== Lock acquired, processing the job...
[2025-01-12 21:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:27:03] Production.INFO: ==23024== Lock acquired, processing the job...
[2025-01-12 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:27:03] Production.INFO: ==23026== Lock acquired, processing the job...
[2025-01-12 21:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:27:03] Production.INFO: ==23028== Lock acquired, processing the job...
[2025-01-12 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:27:03] Production.INFO: Account Balance Start.
[2025-01-12 21:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:27:03] Production.INFO: 117
[2025-01-12 21:27:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:27:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:27:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:27:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:27:04] Production.INFO: ==23020== Releasing lock...
[2025-01-12 21:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:27:04] Production.INFO: count ==21
[2025-01-12 21:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 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-12 21:27:04] Production.INFO: count ==21
[2025-01-12 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234344') start
[2025-01-12 21:27:04] Production.INFO: Total Charge 0
[2025-01-12 21:27:04] Production.ERROR: done
[2025-01-12 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234344') end
[2025-01-12 21:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:27:04] Production.INFO: 1
[2025-01-12 21:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:27:04] Production.INFO: CreateAllLog End
[2025-01-12 21:27:04] Production.ERROR: done
[2025-01-12 21:27:04] Production.INFO: ==23028== Releasing lock...
[2025-01-12 21:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:27:04] Production.INFO: Account Balance End.
[2025-01-12 21:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:27:04] Production.INFO: ==23024== Releasing lock...
[2025-01-12 21:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:27:05
[end_date_ymd] => 2025-01-12 21:27:05
[RateCDR] => 1
)
[2025-01-12 21:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:27:05' and `end` < '2025-01-12 21:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:27:11] Production.ERROR: CronJobId end10
[2025-01-12 21:27:11] Production.INFO: ==23022== Releasing lock...
[2025-01-12 21:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:27:13] Production.INFO: call_cost start
[2025-01-12 21:27:13] Production.INFO: call_cost end
[2025-01-12 21:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:27:14] Production.INFO: ==23018== Releasing lock...
[2025-01-12 21:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:27:37] Production.INFO: count ==531
[2025-01-12 21:27:37] Production.ERROR: pbx CDR StartTime 2025-01-12 18:27:05 - End Time 2025-01-12 21:27:05
[2025-01-12 21:27:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:27:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234345', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:27:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234345', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:27:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234345', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:27:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234345', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:27:37] Production.INFO: ProcessCDR(1,14234345,1,1,2)
[2025-01-12 21:27:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:27:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:27:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:27:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:27:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234345', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:27:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234345', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:27:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:27:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:27:41] Production.INFO: ==23026== Releasing lock...
[2025-01-12 21:27:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:27:41] Production.INFO: 33 MB #Memory Used#
[2025-01-13 02:28:01] Production.INFO: ==23111== Lock acquired, processing the job...
[2025-01-13 02:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:28:01] Production.INFO: neon service started
[2025-01-13 02:28:01] Production.INFO: neon service started
[2025-01-13 02:28:01] Production.INFO: ==23111== Releasing lock...
[2025-01-13 02:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:28:01] Production.INFO: ==23113== Lock acquired, processing the job...
[2025-01-12 21:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:28:02] Production.INFO: ==23113== Releasing lock...
[2025-01-12 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:28:02] Production.INFO: ==23115== Lock acquired, processing the job...
[2025-01-13 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:28:02] Production.INFO: ==23115== Releasing lock...
[2025-01-13 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:28:03] Production.INFO: ==23125== Lock acquired, processing the job...
[2025-01-12 21:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:28:03] Production.INFO: ==23127== Lock acquired, processing the job...
[2025-01-12 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:28:03] Production.INFO: ==23117== Lock acquired, processing the job...
[2025-01-12 21:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:28:03] Production.INFO: ==23119== Lock acquired, processing the job...
[2025-01-12 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:28:03] Production.INFO: ==23121== Lock acquired, processing the job...
[2025-01-12 21:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:28:03] Production.INFO: count ==21
[2025-01-12 21:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:28:03] Production.INFO: count ==21
[2025-01-12 21:28:03] Production.INFO: ==23123== Lock acquired, processing the job...
[2025-01-12 21:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234346') start
[2025-01-12 21:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:28:03] Production.INFO: Account Balance Start.
[2025-01-12 21:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:28:03] Production.INFO: 117
[2025-01-12 21:28:03] Production.ERROR: done
[2025-01-12 21:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234346') end
[2025-01-12 21:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:28:03] Production.INFO: 1
[2025-01-12 21:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:28:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:28:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:28:03] Production.INFO: ==23119== Releasing lock...
[2025-01-12 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:28:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:28:03] Production.INFO: ==23127== Releasing lock...
[2025-01-12 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:28:03] Production.ERROR: done
[2025-01-12 21:28:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:28:03] Production.INFO: Total Charge 0
[2025-01-12 21:28:03] Production.INFO: CreateAllLog End
[2025-01-12 21:28:04] Production.INFO: Account Balance End.
[2025-01-12 21:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:28:04] Production.INFO: ==23123== Releasing lock...
[2025-01-12 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:28:04
[end_date_ymd] => 2025-01-12 21:28:04
[RateCDR] => 1
)
[2025-01-12 21:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:28:04' and `end` < '2025-01-12 21:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:28:10] Production.ERROR: CronJobId end10
[2025-01-12 21:28:10] Production.INFO: ==23121== Releasing lock...
[2025-01-12 21:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:28:13] Production.INFO: call_cost start
[2025-01-12 21:28:13] Production.INFO: call_cost end
[2025-01-12 21:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:28:13] Production.INFO: ==23117== Releasing lock...
[2025-01-12 21:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:28:33] Production.INFO: count ==535
[2025-01-12 21:28:33] Production.ERROR: pbx CDR StartTime 2025-01-12 18:28:04 - End Time 2025-01-12 21:28:04
[2025-01-12 21:28:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:28:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234350', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:28:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234350', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:28:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234350', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:28:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234350', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:28:33] Production.INFO: ProcessCDR(1,14234350,1,1,2)
[2025-01-12 21:28:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:28:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:28:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:28:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:28:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234350', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:28:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234350', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:28:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:28:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:28:37] Production.INFO: ==23125== Releasing lock...
[2025-01-12 21:28:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:28:37] Production.INFO: 32 MB #Memory Used#
[2025-01-13 02:29:02] Production.INFO: ==23185== Lock acquired, processing the job...
[2025-01-13 02:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:29:02] Production.INFO: neon service started
[2025-01-13 02:29:02] Production.INFO: neon service started
[2025-01-13 02:29:02] Production.INFO: ==23185== Releasing lock...
[2025-01-13 02:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:29:02] Production.INFO: ==23187== Lock acquired, processing the job...
[2025-01-12 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:29:02] Production.INFO: ==23187== Releasing lock...
[2025-01-12 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:29:02] Production.INFO: ==23189== Lock acquired, processing the job...
[2025-01-13 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:29:02] Production.INFO: ==23189== Releasing lock...
[2025-01-13 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:29:03] Production.INFO: ==23191== Lock acquired, processing the job...
[2025-01-12 21:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:29:03] Production.INFO: ==23201== Lock acquired, processing the job...
[2025-01-12 21:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:29:03] Production.INFO: ==23199== Lock acquired, processing the job...
[2025-01-12 21:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:29:03] Production.INFO: ==23193== Lock acquired, processing the job...
[2025-01-12 21:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 21:29:03] Production.INFO: ==23195== Lock acquired, processing the job...
[2025-01-12 21:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:29:03] Production.INFO: ==23197== Lock acquired, processing the job...
[2025-01-12 21:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:29:03] Production.INFO: count ==21
[2025-01-12 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-12 21:29:03] Production.INFO: count ==21
[2025-01-12 21:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234352') start
[2025-01-12 21:29:03] Production.INFO: Account Balance Start.
[2025-01-12 21:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:29:03] Production.INFO: 117
[2025-01-12 21:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:29:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234352') end
[2025-01-12 21:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:29:04] Production.INFO: 1
[2025-01-12 21:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:29:04] Production.INFO: ==23201== Releasing lock...
[2025-01-12 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:29:04] Production.ERROR: done
[2025-01-12 21:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:29:04] Production.INFO: ==23193== Releasing lock...
[2025-01-12 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:29:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:29:04] Production.ERROR: done
[2025-01-12 21:29:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:29:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:29:04] Production.INFO: Total Charge 0
[2025-01-12 21:29:04] Production.INFO: CreateAllLog End
[2025-01-12 21:29:04] Production.INFO: Account Balance End.
[2025-01-12 21:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:29:04] Production.INFO: ==23197== Releasing lock...
[2025-01-12 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:29:05
[end_date_ymd] => 2025-01-12 21:29:05
[RateCDR] => 1
)
[2025-01-12 21:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:29:05' and `end` < '2025-01-12 21:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:29:13] Production.ERROR: CronJobId end10
[2025-01-12 21:29:13] Production.INFO: ==23195== Releasing lock...
[2025-01-12 21:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:29:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:29:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:29:14] Production.INFO: call_cost start
[2025-01-12 21:29:14] Production.INFO: call_cost end
[2025-01-12 21:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:29:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:29:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:29:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:29:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:29:15] Production.INFO: ==23191== Releasing lock...
[2025-01-12 21:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:29:32] Production.INFO: count ==532
[2025-01-12 21:29:33] Production.ERROR: pbx CDR StartTime 2025-01-12 18:29:05 - End Time 2025-01-12 21:29:05
[2025-01-12 21:29:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:29:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234355', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:29:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234355', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:29:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234355', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:29:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234355', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:29:33] Production.INFO: ProcessCDR(1,14234355,1,1,2)
[2025-01-12 21:29:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:29:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:29:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:29:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:29:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234355', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:29:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234355', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:29:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:29:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:29:36] Production.INFO: ==23199== Releasing lock...
[2025-01-12 21:29:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:29:36] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:30:01] Production.INFO: ==23258== Lock acquired, processing the job...
[2025-01-13 02:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:30:01] Production.INFO: neon service started
[2025-01-13 02:30:01] Production.INFO: neon service started
[2025-01-13 02:30:01] Production.INFO: ==23258== Releasing lock...
[2025-01-13 02:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:30:01] Production.INFO: ==23260== Lock acquired, processing the job...
[2025-01-12 21:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:30:02] Production.INFO: ==23260== Releasing lock...
[2025-01-12 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:30:02] Production.INFO: ==23262== Lock acquired, processing the job...
[2025-01-13 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:30:02] Production.INFO: ==23262== Releasing lock...
[2025-01-13 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:30:03] Production.INFO: ==23264== Lock acquired, processing the job...
[2025-01-12 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 21:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 21:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 21:30:03] Production.INFO: ==23264== Releasing lock...
[2025-01-12 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 21:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 21:30:03] Production.INFO: ==23268== Lock acquired, processing the job...
[2025-01-12 21:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:30:03] Production.INFO: ==23276== Lock acquired, processing the job...
[2025-01-12 21:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 21:30:03] Production.INFO: ==23272== Lock acquired, processing the job...
[2025-01-12 21:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:30:03] Production.INFO: ==23274== Lock acquired, processing the job...
[2025-01-12 21:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:30:03] Production.INFO: ==23266== Lock acquired, processing the job...
[2025-01-12 21:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:30:03] Production.INFO: ==23270== Lock acquired, processing the job...
[2025-01-12 21:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:30:03] Production.INFO: Account Balance Start.
[2025-01-12 21:30:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:30:03] Production.INFO: ==23268== Releasing lock...
[2025-01-12 21:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:30:03] Production.INFO: 117
[2025-01-12 21:30:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:30:03] Production.INFO: ==23279== Lock acquired, processing the job...
[2025-01-12 21:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:30:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:30:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:30:03] Production.ERROR: done
[2025-01-12 21:30:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:30:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:30:03] Production.INFO: count ==21
[2025-01-12 21:30:03] Production.INFO: Total Charge 0
[2025-01-12 21:30:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 21:30:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234360', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 21:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:30:04] Production.INFO: count ==21
[2025-01-12 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234359') start
[2025-01-12 21:30:04] Production.INFO: CreateAllLog End
[2025-01-12 21:30:04] Production.ERROR: done
[2025-01-12 21:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234359') end
[2025-01-12 21:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:30:04] Production.INFO: 1
[2025-01-12 21:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:30:04] Production.ERROR: done
[2025-01-12 21:30:04] Production.INFO: ==23279== Releasing lock...
[2025-01-12 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:30:04] Production.INFO: Account Balance End.
[2025-01-12 21:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:30:04] Production.INFO: ==23272== Releasing lock...
[2025-01-12 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:30:05
[end_date_ymd] => 2025-01-12 21:30:05
[RateCDR] => 1
)
[2025-01-12 21:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:30:05' and `end` < '2025-01-12 21:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:30:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234360', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 21:30:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 21:30:07] Production.INFO: ProcessCDR(1,14234360,1,1,2)
[2025-01-12 21:30:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234360,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:30:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234360,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:30:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:30:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:30:07] Production.INFO: ==23276== Releasing lock...
[2025-01-12 21:30:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 21:30:07] Production.INFO: 26 MB #Memory Used#
[2025-01-12 21:30:14] Production.ERROR: CronJobId end10
[2025-01-12 21:30:14] Production.INFO: ==23270== Releasing lock...
[2025-01-12 21:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:30:16] Production.INFO: call_cost start
[2025-01-12 21:30:16] Production.INFO: call_cost end
[2025-01-12 21:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:30:17] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:30:17] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:30:17] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:30:17] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:30:17] Production.INFO: ==23266== Releasing lock...
[2025-01-12 21:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:30:34] Production.INFO: count ==536
[2025-01-12 21:30:34] Production.ERROR: pbx CDR StartTime 2025-01-12 18:30:05 - End Time 2025-01-12 21:30:05
[2025-01-12 21:30:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234361', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234361', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234361', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234361', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:30:34] Production.INFO: ProcessCDR(1,14234361,1,1,2)
[2025-01-12 21:30:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:30:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:30:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:30:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:30:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234361', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:30:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234361', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:30:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:30:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:30:38] Production.INFO: ==23274== Releasing lock...
[2025-01-12 21:30:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:30:38] Production.INFO: 32.75 MB #Memory Used#
[2025-01-13 02:31:01] Production.INFO: ==23341== Lock acquired, processing the job...
[2025-01-13 02:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:31:01] Production.INFO: neon service started
[2025-01-13 02:31:01] Production.INFO: neon service started
[2025-01-13 02:31:01] Production.INFO: ==23341== Releasing lock...
[2025-01-13 02:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:31:02] Production.INFO: ==23343== Lock acquired, processing the job...
[2025-01-12 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:31:02] Production.INFO: ==23343== Releasing lock...
[2025-01-12 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:31:02] Production.INFO: ==23345== Lock acquired, processing the job...
[2025-01-13 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:31:02] Production.INFO: ==23345== Releasing lock...
[2025-01-13 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:31:03] Production.INFO: ==23348== Lock acquired, processing the job...
[2025-01-12 21:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:31:03] Production.INFO: ==23350== Lock acquired, processing the job...
[2025-01-12 21:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:31:03] Production.INFO: ==23352== Lock acquired, processing the job...
[2025-01-12 21:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:31:03] Production.INFO: ==23356== Lock acquired, processing the job...
[2025-01-12 21:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:31:03] Production.INFO: ==23354== Lock acquired, processing the job...
[2025-01-12 21:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:31:03] Production.INFO: ==23358== Lock acquired, processing the job...
[2025-01-12 21:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:31:03] Production.INFO: Account Balance Start.
[2025-01-12 21:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:31:03] Production.INFO: 117
[2025-01-12 21:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 21:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:31:03] Production.INFO: count ==21
[2025-01-12 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-12 21:31:03] Production.INFO: count ==21
[2025-01-12 21:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234365') start
[2025-01-12 21:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:31:03] Production.INFO: ==23350== Releasing lock...
[2025-01-12 21:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234365') end
[2025-01-12 21:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:31:03] Production.INFO: 1
[2025-01-12 21:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:31:03] Production.INFO: Total Charge 0
[2025-01-12 21:31:03] Production.INFO: CreateAllLog End
[2025-01-12 21:31:04] Production.INFO: ==23358== Releasing lock...
[2025-01-12 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:31:04] Production.ERROR: done
[2025-01-12 21:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:31:04] Production.INFO: Account Balance End.
[2025-01-12 21:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:31:04] Production.INFO: ==23354== Releasing lock...
[2025-01-12 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:31:04] Production.ERROR: done
[2025-01-12 21:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:31:05
[end_date_ymd] => 2025-01-12 21:31:05
[RateCDR] => 1
)
[2025-01-12 21:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:31:05' and `end` < '2025-01-12 21:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:31:10] Production.ERROR: CronJobId end10
[2025-01-12 21:31:10] Production.INFO: ==23352== Releasing lock...
[2025-01-12 21:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:31:13] Production.INFO: call_cost start
[2025-01-12 21:31:13] Production.INFO: call_cost end
[2025-01-12 21:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:31:14] Production.INFO: ==23348== Releasing lock...
[2025-01-12 21:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:31:31] Production.INFO: count ==564
[2025-01-12 21:31:31] Production.ERROR: pbx CDR StartTime 2025-01-12 18:31:05 - End Time 2025-01-12 21:31:05
[2025-01-12 21:31:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234366', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234366', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234366', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234366', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:31:31] Production.INFO: ProcessCDR(1,14234366,1,1,2)
[2025-01-12 21:31:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:31:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:31:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:31:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:31:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234366', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:31:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234366', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:31:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:31:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:31:34] Production.INFO: ==23356== Releasing lock...
[2025-01-12 21:31:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:31:34] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 02:32:02] Production.INFO: ==23420== Lock acquired, processing the job...
[2025-01-13 02:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:32:02] Production.INFO: neon service started
[2025-01-13 02:32:02] Production.INFO: neon service started
[2025-01-13 02:32:02] Production.INFO: ==23420== Releasing lock...
[2025-01-13 02:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:32:02] Production.INFO: ==23422== Lock acquired, processing the job...
[2025-01-12 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:32:02] Production.INFO: ==23422== Releasing lock...
[2025-01-12 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:32:03] Production.INFO: ==23424== Lock acquired, processing the job...
[2025-01-13 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:32:03] Production.INFO: ==23424== Releasing lock...
[2025-01-13 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:32:03] Production.INFO: ==23426== Lock acquired, processing the job...
[2025-01-12 21:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:32:03] Production.INFO: ==23432== Lock acquired, processing the job...
[2025-01-12 21:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:32:03] Production.INFO: ==23436== Lock acquired, processing the job...
[2025-01-12 21:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:32:03] Production.INFO: ==23428== Lock acquired, processing the job...
[2025-01-12 21:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:32:04] Production.INFO: ==23430== Lock acquired, processing the job...
[2025-01-12 21:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:32:04] Production.INFO: Account Balance Start.
[2025-01-12 21:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:32:04] Production.INFO: 117
[2025-01-12 21:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 21:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:32:04] Production.INFO: ==23434== Lock acquired, processing the job...
[2025-01-12 21:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:32:04] Production.INFO: count ==21
[2025-01-12 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-12 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:32:04] Production.INFO: count ==21
[2025-01-12 21:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234370') start
[2025-01-12 21:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234370') end
[2025-01-12 21:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:32:04] Production.INFO: 1
[2025-01-12 21:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:32:04] Production.INFO: Total Charge 0
[2025-01-12 21:32:04] Production.INFO: CreateAllLog End
[2025-01-12 21:32:04] Production.INFO: ==23436== Releasing lock...
[2025-01-12 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:32:04] Production.ERROR: done
[2025-01-12 21:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:32:04] Production.INFO: ==23428== Releasing lock...
[2025-01-12 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:32:04] Production.INFO: Account Balance End.
[2025-01-12 21:32:04] Production.ERROR: done
[2025-01-12 21:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:32:04] Production.INFO: ==23432== Releasing lock...
[2025-01-12 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:32:05
[end_date_ymd] => 2025-01-12 21:32:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:32:05' and `end` < '2025-01-12 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-12 21:32:12] Production.ERROR: CronJobId end10
[2025-01-12 21:32:12] Production.INFO: ==23430== Releasing lock...
[2025-01-12 21:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:32:14] Production.INFO: call_cost start
[2025-01-12 21:32:14] Production.INFO: call_cost end
[2025-01-12 21:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:32:15] Production.INFO: ==23426== Releasing lock...
[2025-01-12 21:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:32:30] Production.INFO: count ==564
[2025-01-12 21:32:30] Production.ERROR: pbx CDR StartTime 2025-01-12 18:32:05 - End Time 2025-01-12 21:32:05
[2025-01-12 21:32:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:32:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234371', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:32:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234371', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:32:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234371', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:32:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234371', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:32:30] Production.INFO: ProcessCDR(1,14234371,1,1,2)
[2025-01-12 21:32:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:32:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:32:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:32:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:32:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234371', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:32:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234371', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:32:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:32:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:32:35] Production.INFO: ==23434== Releasing lock...
[2025-01-12 21:32:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:32:35] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 02:33:01] Production.INFO: ==23493== Lock acquired, processing the job...
[2025-01-13 02:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:33:01] Production.INFO: neon service started
[2025-01-13 02:33:01] Production.INFO: neon service started
[2025-01-13 02:33:01] Production.INFO: ==23493== Releasing lock...
[2025-01-13 02:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:33:02] Production.INFO: ==23495== Lock acquired, processing the job...
[2025-01-12 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:33:02] Production.INFO: ==23497== Lock acquired, processing the job...
[2025-01-13 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:33:02] Production.INFO: ==23497== Releasing lock...
[2025-01-13 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:33:02] Production.INFO: ==23495== Releasing lock...
[2025-01-12 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:33:03] Production.INFO: ==23506== Lock acquired, processing the job...
[2025-01-12 21:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:33:03] Production.INFO: ==23499== Lock acquired, processing the job...
[2025-01-12 21:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:33:03] Production.INFO: ==23508== Lock acquired, processing the job...
[2025-01-12 21:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:33:03] Production.INFO: ==23501== Lock acquired, processing the job...
[2025-01-12 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:33:03] Production.INFO: Account Balance Start.
[2025-01-12 21:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:33:03] Production.INFO: 117
[2025-01-12 21:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:33:03] Production.INFO: ==23503== Lock acquired, processing the job...
[2025-01-12 21:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:33:03] Production.INFO: ==23510== Lock acquired, processing the job...
[2025-01-12 21:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 21:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:33:03] Production.INFO: count ==21
[2025-01-12 21:33:03] Production.ERROR: done
[2025-01-12 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-12 21:33:03] Production.INFO: count ==21
[2025-01-12 21:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:33:03] Production.INFO: Total Charge 0
[2025-01-12 21:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234375') start
[2025-01-12 21:33:04] Production.INFO: CreateAllLog End
[2025-01-12 21:33:04] Production.ERROR: done
[2025-01-12 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234375') end
[2025-01-12 21:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:33:04] Production.INFO: 1
[2025-01-12 21:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:33:04] Production.INFO: ==23501== Releasing lock...
[2025-01-12 21:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:33:04] Production.INFO: ==23510== Releasing lock...
[2025-01-12 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:33:04] Production.INFO: Account Balance End.
[2025-01-12 21:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:33:04] Production.INFO: ==23506== Releasing lock...
[2025-01-12 21:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:33:05
[end_date_ymd] => 2025-01-12 21:33:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:33:05' and `end` < '2025-01-12 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-12 21:33:10] Production.ERROR: CronJobId end10
[2025-01-12 21:33:10] Production.INFO: ==23503== Releasing lock...
[2025-01-12 21:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:33:13] Production.INFO: call_cost start
[2025-01-12 21:33:13] Production.INFO: call_cost end
[2025-01-12 21:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:33:14] Production.INFO: ==23499== Releasing lock...
[2025-01-12 21:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:33:32] Production.INFO: count ==564
[2025-01-12 21:33:33] Production.ERROR: pbx CDR StartTime 2025-01-12 18:33:05 - End Time 2025-01-12 21:33:05
[2025-01-12 21:33:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:33:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234376', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:33:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234376', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:33:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234376', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:33:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234376', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:33:33] Production.INFO: ProcessCDR(1,14234376,1,1,2)
[2025-01-12 21:33:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:33:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:33:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:33:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:33:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234376', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:33:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234376', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:33:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:33:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:33:36] Production.INFO: ==23508== Releasing lock...
[2025-01-12 21:33:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:33:36] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 02:34:02] Production.INFO: ==23607== Lock acquired, processing the job...
[2025-01-13 02:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:34:02] Production.INFO: neon service started
[2025-01-13 02:34:02] Production.INFO: neon service started
[2025-01-13 02:34:02] Production.INFO: ==23607== Releasing lock...
[2025-01-13 02:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:34:02] Production.INFO: ==23611== Lock acquired, processing the job...
[2025-01-13 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:34:02] Production.INFO: ==23611== Releasing lock...
[2025-01-13 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:34:02] Production.INFO: ==23609== Lock acquired, processing the job...
[2025-01-12 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:34:03] Production.INFO: ==23609== Releasing lock...
[2025-01-12 21:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:34:03] Production.INFO: ==23613== Lock acquired, processing the job...
[2025-01-12 21:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:34:03] Production.INFO: ==23615== Lock acquired, processing the job...
[2025-01-12 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:34:03] Production.INFO: ==23621== Lock acquired, processing the job...
[2025-01-12 21:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:34:04] Production.INFO: ==23615== Releasing lock...
[2025-01-12 21:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:34:04] Production.INFO: ==23617== Lock acquired, processing the job...
[2025-01-12 21:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:34:04] Production.INFO: ==23619== Lock acquired, processing the job...
[2025-01-12 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:34:04] Production.INFO: ==23624== Lock acquired, processing the job...
[2025-01-12 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:34:04] Production.INFO: Account Balance Start.
[2025-01-12 21:34:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:34:04] Production.INFO: 117
[2025-01-12 21:34:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:34:04] Production.ERROR: done
[2025-01-12 21:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:34:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:34:04] Production.INFO: count ==21
[2025-01-12 21:34:04] Production.ERROR: done
[2025-01-12 21:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:34:04] Production.INFO: count ==21
[2025-01-12 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234380') start
[2025-01-12 21:34:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234380') end
[2025-01-12 21:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:34:04] Production.INFO: 1
[2025-01-12 21:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:34:04] Production.INFO: Total Charge 0
[2025-01-12 21:34:04] Production.INFO: CreateAllLog End
[2025-01-12 21:34:04] Production.INFO: ==23624== Releasing lock...
[2025-01-12 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:34:04] Production.INFO: Account Balance End.
[2025-01-12 21:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:34:04] Production.INFO: ==23619== Releasing lock...
[2025-01-12 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:34:05
[end_date_ymd] => 2025-01-12 21:34:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:34:05' and `end` < '2025-01-12 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-12 21:34:11] Production.ERROR: CronJobId end10
[2025-01-12 21:34:11] Production.INFO: ==23617== Releasing lock...
[2025-01-12 21:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:34:13] Production.INFO: call_cost start
[2025-01-12 21:34:13] Production.INFO: call_cost end
[2025-01-12 21:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:34:14] Production.INFO: ==23613== Releasing lock...
[2025-01-12 21:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:34:40] Production.INFO: count ==565
[2025-01-12 21:34:40] Production.ERROR: pbx CDR StartTime 2025-01-12 18:34:05 - End Time 2025-01-12 21:34:05
[2025-01-12 21:34:40] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:34:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234381', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:34:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234381', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:34:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234381', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:34:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234381', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:34:41] Production.INFO: ProcessCDR(1,14234381,1,1,2)
[2025-01-12 21:34:41] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:34:43] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:34:43] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:34:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:34:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234381', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:34:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234381', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:34:45] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:34:45] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:34:45] Production.INFO: ==23621== Releasing lock...
[2025-01-12 21:34:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:34:45] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 02:35:01] Production.INFO: ==23680== Lock acquired, processing the job...
[2025-01-13 02:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:35:01] Production.INFO: neon service started
[2025-01-13 02:35:01] Production.INFO: neon service started
[2025-01-13 02:35:01] Production.INFO: ==23680== Releasing lock...
[2025-01-13 02:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:35:02] Production.INFO: ==23682== Lock acquired, processing the job...
[2025-01-12 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:35:02] Production.INFO: ==23682== Releasing lock...
[2025-01-12 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:35:02] Production.INFO: ==23684== Lock acquired, processing the job...
[2025-01-13 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:35:02] Production.INFO: ==23684== Releasing lock...
[2025-01-13 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:35:03] Production.INFO: ==23690== Lock acquired, processing the job...
[2025-01-12 21:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:35:03] Production.INFO: ==23697== Lock acquired, processing the job...
[2025-01-12 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:35:03] Production.INFO: ==23686== Lock acquired, processing the job...
[2025-01-12 21:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:35:03] Production.INFO: ==23692== Lock acquired, processing the job...
[2025-01-12 21:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:35:03] Production.INFO: ==23688== Lock acquired, processing the job...
[2025-01-12 21:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-12 21:35:03] Production.INFO: ==23694== Lock acquired, processing the job...
[2025-01-12 21:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:35:03] Production.INFO: count ==21
[2025-01-12 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-12 21:35:03] Production.INFO: count ==21
[2025-01-12 21:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234382') start
[2025-01-12 21:35:03] Production.INFO: Account Balance Start.
[2025-01-12 21:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:35:03] Production.INFO: 117
[2025-01-12 21:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234382') end
[2025-01-12 21:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:35:03] Production.INFO: 1
[2025-01-12 21:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:35:03] Production.ERROR: done
[2025-01-12 21:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:35:03] Production.INFO: ==23697== Releasing lock...
[2025-01-12 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:35:03] Production.INFO: Total Charge 0
[2025-01-12 21:35:03] Production.INFO: ==23688== Releasing lock...
[2025-01-12 21:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:35:03] Production.INFO: CreateAllLog End
[2025-01-12 21:35:04] Production.ERROR: done
[2025-01-12 21:35:04] Production.INFO: Account Balance End.
[2025-01-12 21:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:35:04] Production.INFO: ==23692== Releasing lock...
[2025-01-12 21:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:35:05
[end_date_ymd] => 2025-01-12 21:35:05
[RateCDR] => 1
)
[2025-01-12 21:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:35:05' and `end` < '2025-01-12 21:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:35:10] Production.ERROR: CronJobId end10
[2025-01-12 21:35:10] Production.INFO: ==23690== Releasing lock...
[2025-01-12 21:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:35:13] Production.INFO: call_cost start
[2025-01-12 21:35:13] Production.INFO: call_cost end
[2025-01-12 21:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:35:14] Production.INFO: ==23686== Releasing lock...
[2025-01-12 21:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:35:39] Production.INFO: count ==436
[2025-01-12 21:35:39] Production.ERROR: pbx CDR StartTime 2025-01-12 18:35:05 - End Time 2025-01-12 21:35:05
[2025-01-12 21:35:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:35:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234386', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:35:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234386', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:35:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234386', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:35:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234386', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:35:39] Production.INFO: ProcessCDR(1,14234386,1,1,2)
[2025-01-12 21:35:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:35:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:35:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:35:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:35:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234386', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:35:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234386', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:35:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:35:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:35:43] Production.INFO: ==23694== Releasing lock...
[2025-01-12 21:35:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:35:43] Production.INFO: 32 MB #Memory Used#
[2025-01-13 02:36:02] Production.INFO: ==23751== Lock acquired, processing the job...
[2025-01-13 02:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:36:02] Production.INFO: neon service started
[2025-01-13 02:36:02] Production.INFO: neon service started
[2025-01-13 02:36:02] Production.INFO: ==23751== Releasing lock...
[2025-01-13 02:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:36:02] Production.INFO: ==23755== Lock acquired, processing the job...
[2025-01-13 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:36:02] Production.INFO: ==23755== Releasing lock...
[2025-01-13 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:36:02] Production.INFO: ==23753== Lock acquired, processing the job...
[2025-01-12 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:36:02] Production.INFO: ==23753== Releasing lock...
[2025-01-12 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:36:03] Production.INFO: ==23762== Lock acquired, processing the job...
[2025-01-12 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:36:03] Production.INFO: ==23758== Lock acquired, processing the job...
[2025-01-12 21:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:36:03] Production.INFO: ==23768== Lock acquired, processing the job...
[2025-01-12 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:36:03] Production.INFO: ==23760== Lock acquired, processing the job...
[2025-01-12 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:36:04] Production.INFO: count ==21
[2025-01-12 21:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:36:04] Production.INFO: ==23766== Lock acquired, processing the job...
[2025-01-12 21:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:36:04] Production.INFO: ==23764== Lock acquired, processing the job...
[2025-01-12 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:36:04] Production.INFO: ==23760== Releasing lock...
[2025-01-12 21:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:36:04] Production.INFO: Account Balance Start.
[2025-01-12 21:36:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:36:04] Production.INFO: 117
[2025-01-12 21:36:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:36:04] Production.INFO: count ==21
[2025-01-12 21:36:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:36:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234388') start
[2025-01-12 21:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:36:04] Production.INFO: Total Charge 0
[2025-01-12 21:36:04] Production.INFO: CreateAllLog End
[2025-01-12 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234388') end
[2025-01-12 21:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:36:04] Production.INFO: 1
[2025-01-12 21:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:36:04] Production.ERROR: done
[2025-01-12 21:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:36:04] Production.INFO: ==23768== Releasing lock...
[2025-01-12 21:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:36:04] Production.INFO: Account Balance End.
[2025-01-12 21:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:36:04] Production.INFO: ==23764== Releasing lock...
[2025-01-12 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:36:04] Production.ERROR: done
[2025-01-12 21:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:36:05
[end_date_ymd] => 2025-01-12 21:36:05
[RateCDR] => 1
)
[2025-01-12 21:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:36:05' and `end` < '2025-01-12 21:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:36:11] Production.ERROR: CronJobId end10
[2025-01-12 21:36:11] Production.INFO: ==23762== Releasing lock...
[2025-01-12 21:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:36:13] Production.INFO: call_cost start
[2025-01-12 21:36:13] Production.INFO: call_cost end
[2025-01-12 21:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:36:13] Production.INFO: ==23758== Releasing lock...
[2025-01-12 21:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:36:39] Production.INFO: count ==437
[2025-01-12 21:36:40] Production.ERROR: pbx CDR StartTime 2025-01-12 18:36:05 - End Time 2025-01-12 21:36:05
[2025-01-12 21:36:40] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:36:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234391', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:36:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234391', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:36:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234391', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:36:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234391', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:36:40] Production.INFO: ProcessCDR(1,14234391,1,1,2)
[2025-01-12 21:36:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:36:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:36:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:36:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:36:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234391', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:36:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234391', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:36:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:36:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:36:43] Production.INFO: ==23766== Releasing lock...
[2025-01-12 21:36:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:36:43] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:37:01] Production.INFO: ==23821== Lock acquired, processing the job...
[2025-01-13 02:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:37:01] Production.INFO: neon service started
[2025-01-13 02:37:01] Production.INFO: neon service started
[2025-01-13 02:37:01] Production.INFO: ==23821== Releasing lock...
[2025-01-13 02:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:37:01] Production.INFO: ==23823== Lock acquired, processing the job...
[2025-01-12 21:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:37:02] Production.INFO: ==23825== Lock acquired, processing the job...
[2025-01-13 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:37:02] Production.INFO: ==23823== Releasing lock...
[2025-01-12 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:37:02] Production.INFO: ==23825== Releasing lock...
[2025-01-13 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:37:02] Production.INFO: ==23830== Lock acquired, processing the job...
[2025-01-12 21:37:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:37:02] Production.INFO: ==23827== Lock acquired, processing the job...
[2025-01-12 21:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:37:03] Production.INFO: ==23832== Lock acquired, processing the job...
[2025-01-12 21:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:37:03] Production.INFO: ==23834== Lock acquired, processing the job...
[2025-01-12 21:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:37:03] Production.INFO: ==23836== Lock acquired, processing the job...
[2025-01-12 21:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:37:03] Production.INFO: ==23830== Releasing lock...
[2025-01-12 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:37:03] Production.INFO: ==23838== Lock acquired, processing the job...
[2025-01-12 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:37:03] Production.INFO: Account Balance Start.
[2025-01-12 21:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:37:03] Production.INFO: 117
[2025-01-12 21:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 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-12 21:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:37:03] Production.INFO: count ==21
[2025-01-12 21:37:03] Production.ERROR: done
[2025-01-12 21:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:37:03] Production.INFO: count ==21
[2025-01-12 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234395') start
[2025-01-12 21:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:37:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:37:03] Production.INFO: Total Charge 0
[2025-01-12 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234395') end
[2025-01-12 21:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:37:03] Production.INFO: 1
[2025-01-12 21:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:37:03] Production.INFO: CreateAllLog End
[2025-01-12 21:37:03] Production.ERROR: done
[2025-01-12 21:37:03] Production.INFO: ==23838== Releasing lock...
[2025-01-12 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:37:03] Production.INFO: Account Balance End.
[2025-01-12 21:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:37:04] Production.INFO: ==23834== Releasing lock...
[2025-01-12 21:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:37:04
[end_date_ymd] => 2025-01-12 21:37:04
[RateCDR] => 1
)
[2025-01-12 21:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:37:04' and `end` < '2025-01-12 21:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:37:11] Production.ERROR: CronJobId end10
[2025-01-12 21:37:11] Production.INFO: ==23832== Releasing lock...
[2025-01-12 21:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:37:13] Production.INFO: call_cost start
[2025-01-12 21:37:13] Production.INFO: call_cost end
[2025-01-12 21:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:37:13] Production.INFO: ==23827== Releasing lock...
[2025-01-12 21:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:37:35] Production.INFO: count ==435
[2025-01-12 21:37:35] Production.ERROR: pbx CDR StartTime 2025-01-12 18:37:04 - End Time 2025-01-12 21:37:04
[2025-01-12 21:37:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:37:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234396', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:37:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234396', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:37:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234396', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:37:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234396', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:37:35] Production.INFO: ProcessCDR(1,14234396,1,1,2)
[2025-01-12 21:37:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:37:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:37:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:37:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:37:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234396', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:37:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234396', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:37:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:37:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:37:39] Production.INFO: ==23836== Releasing lock...
[2025-01-12 21:37:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:37:39] Production.INFO: 32 MB #Memory Used#
[2025-01-13 02:38:01] Production.INFO: ==23894== Lock acquired, processing the job...
[2025-01-13 02:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:38:02] Production.INFO: neon service started
[2025-01-13 02:38:02] Production.INFO: neon service started
[2025-01-13 02:38:02] Production.INFO: ==23894== Releasing lock...
[2025-01-13 02:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:38:02] Production.INFO: ==23896== Lock acquired, processing the job...
[2025-01-12 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:38:02] Production.INFO: ==23898== Lock acquired, processing the job...
[2025-01-13 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:38:02] Production.INFO: ==23898== Releasing lock...
[2025-01-13 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:38:02] Production.INFO: ==23896== Releasing lock...
[2025-01-12 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:38:03] Production.INFO: ==23903== Lock acquired, processing the job...
[2025-01-12 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:38:03] Production.INFO: ==23901== Lock acquired, processing the job...
[2025-01-12 21:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:38:03] Production.INFO: ==23911== Lock acquired, processing the job...
[2025-01-12 21:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 21:38:04] Production.INFO: count ==21
[2025-01-12 21:38:04] Production.INFO: ==23905== Lock acquired, processing the job...
[2025-01-12 21:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:38:04] Production.INFO: count ==21
[2025-01-12 21:38:04] Production.INFO: ==23909== Lock acquired, processing the job...
[2025-01-12 21:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:38:04] Production.INFO: ==23907== Lock acquired, processing the job...
[2025-01-12 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234398') start
[2025-01-12 21:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:38:04] Production.INFO: Account Balance Start.
[2025-01-12 21:38:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:38:04] Production.INFO: 117
[2025-01-12 21:38:04] Production.INFO: ==23903== Releasing lock...
[2025-01-12 21:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:38:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234398') end
[2025-01-12 21:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:38:04] Production.INFO: 1
[2025-01-12 21:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:38:04] Production.INFO: ==23911== Releasing lock...
[2025-01-12 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:38:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:38:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:38:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:38:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:38:04] Production.ERROR: done
[2025-01-12 21:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:38:04] Production.INFO: Total Charge 0
[2025-01-12 21:38:04] Production.INFO: CreateAllLog End
[2025-01-12 21:38:04] Production.ERROR: done
[2025-01-12 21:38:04] Production.INFO: Account Balance End.
[2025-01-12 21:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:38:04] Production.INFO: ==23907== Releasing lock...
[2025-01-12 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:38:05
[end_date_ymd] => 2025-01-12 21:38:05
[RateCDR] => 1
)
[2025-01-12 21:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:38:05' and `end` < '2025-01-12 21:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:38:11] Production.ERROR: CronJobId end10
[2025-01-12 21:38:11] Production.INFO: ==23905== Releasing lock...
[2025-01-12 21:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:38:13] Production.INFO: call_cost start
[2025-01-12 21:38:13] Production.INFO: call_cost end
[2025-01-12 21:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:38:14] Production.INFO: ==23901== Releasing lock...
[2025-01-12 21:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:38:38] Production.INFO: count ==430
[2025-01-12 21:38:38] Production.ERROR: pbx CDR StartTime 2025-01-12 18:38:05 - End Time 2025-01-12 21:38:05
[2025-01-12 21:38:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:38:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234401', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:38:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234401', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:38:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234401', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:38:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234401', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:38:38] Production.INFO: ProcessCDR(1,14234401,1,1,2)
[2025-01-12 21:38:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:38:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:38:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:38:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:38:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234401', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:38:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234401', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:38:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:38:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:38:43] Production.INFO: ==23909== Releasing lock...
[2025-01-12 21:38:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:38:43] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:39:01] Production.INFO: ==23966== Lock acquired, processing the job...
[2025-01-13 02:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:39:01] Production.INFO: neon service started
[2025-01-13 02:39:01] Production.INFO: neon service started
[2025-01-13 02:39:01] Production.INFO: ==23966== Releasing lock...
[2025-01-13 02:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:39:02] Production.INFO: ==23968== Lock acquired, processing the job...
[2025-01-12 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:39:02] Production.INFO: ==23970== Lock acquired, processing the job...
[2025-01-13 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:39:02] Production.INFO: ==23970== Releasing lock...
[2025-01-13 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:39:02] Production.INFO: ==23968== Releasing lock...
[2025-01-12 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:39:02] Production.INFO: ==23973== Lock acquired, processing the job...
[2025-01-12 21:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:39:03] Production.INFO: ==23977== Lock acquired, processing the job...
[2025-01-12 21:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:39:03] Production.INFO: ==23983== Lock acquired, processing the job...
[2025-01-12 21:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 21:39:03] Production.INFO: count ==21
[2025-01-12 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-12 21:39:03] Production.INFO: count ==21
[2025-01-12 21:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234403') start
[2025-01-12 21:39:03] Production.INFO: ==23975== Lock acquired, processing the job...
[2025-01-12 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234403') end
[2025-01-12 21:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:39:03] Production.INFO: 1
[2025-01-12 21:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:39:03] Production.INFO: ==23983== Releasing lock...
[2025-01-12 21:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:39:03] Production.INFO: ==23979== Lock acquired, processing the job...
[2025-01-12 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:39:03] Production.INFO: ==23981== Lock acquired, processing the job...
[2025-01-12 21:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:39:03] Production.INFO: Account Balance Start.
[2025-01-12 21:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:39:03] Production.INFO: 117
[2025-01-12 21:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:39:03] Production.INFO: ==23975== Releasing lock...
[2025-01-12 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:39:03] Production.INFO: Total Charge 0
[2025-01-12 21:39:03] Production.INFO: CreateAllLog End
[2025-01-12 21:39:03] Production.ERROR: done
[2025-01-12 21:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:39:04] Production.INFO: Account Balance End.
[2025-01-12 21:39:04] Production.ERROR: done
[2025-01-12 21:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:39:04] Production.INFO: ==23979== Releasing lock...
[2025-01-12 21:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:39:04
[end_date_ymd] => 2025-01-12 21:39:04
[RateCDR] => 1
)
[2025-01-12 21:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:39:04' and `end` < '2025-01-12 21:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:39:10] Production.ERROR: CronJobId end10
[2025-01-12 21:39:10] Production.INFO: ==23977== Releasing lock...
[2025-01-12 21:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:39:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:39:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:39:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:39:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:39:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:39:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:39:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:39:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:39:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:39:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:39:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:39:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:39:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:39:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:39:12] Production.INFO: call_cost start
[2025-01-12 21:39:12] Production.INFO: call_cost end
[2025-01-12 21:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:39:13] Production.INFO: ==23973== Releasing lock...
[2025-01-12 21:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:39:38] Production.INFO: count ==431
[2025-01-12 21:39:38] Production.ERROR: pbx CDR StartTime 2025-01-12 18:39:04 - End Time 2025-01-12 21:39:04
[2025-01-12 21:39:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:39:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234406', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:39:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234406', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:39:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234406', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:39:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234406', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:39:38] Production.INFO: ProcessCDR(1,14234406,1,1,2)
[2025-01-12 21:39:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:39:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:39:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:39:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:39:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234406', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:39:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234406', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:39:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:39:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:39:43] Production.INFO: ==23981== Releasing lock...
[2025-01-12 21:39:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:39:43] Production.INFO: 32 MB #Memory Used#
[2025-01-13 02:40:01] Production.INFO: ==24041== Lock acquired, processing the job...
[2025-01-13 02:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:40:01] Production.INFO: neon service started
[2025-01-13 02:40:01] Production.INFO: neon service started
[2025-01-13 02:40:01] Production.INFO: ==24041== Releasing lock...
[2025-01-13 02:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:40:02] Production.INFO: ==24043== Lock acquired, processing the job...
[2025-01-12 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:40:02] Production.INFO: ==24045== Lock acquired, processing the job...
[2025-01-13 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:40:02] Production.INFO: ==24045== Releasing lock...
[2025-01-13 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:40:02] Production.INFO: ==24043== Releasing lock...
[2025-01-12 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:40:03] Production.INFO: ==24047== Lock acquired, processing the job...
[2025-01-12 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 21:40:03] Production.INFO: ==24053== Lock acquired, processing the job...
[2025-01-12 21:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 21:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 21:40:03] Production.ERROR: CronJob PID - 24053
[2025-01-12 21:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 21:40:03] Production.ERROR: CronJob ID - 10
[2025-01-12 21:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 21:40:00
[2025-01-12 21:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 21:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 21:40:03] Production.INFO: ==24055== Lock acquired, processing the job...
[2025-01-12 21:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 21:40:03] Production.INFO: ==24047== Releasing lock...
[2025-01-12 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 21:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 21:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:40:03] Production.INFO: ==24049== Lock acquired, processing the job...
[2025-01-12 21:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:40:03] Production.INFO: Account Balance Start.
[2025-01-12 21:40:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:40:03] Production.INFO: 117
[2025-01-12 21:40:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:40:03] Production.INFO: ==24051== Lock acquired, processing the job...
[2025-01-12 21:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:40:03] Production.INFO: ==24062== Lock acquired, processing the job...
[2025-01-12 21:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:40:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:40:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:40:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:40:03] Production.INFO: ==24057== Lock acquired, processing the job...
[2025-01-12 21:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:40:03] Production.INFO: ==24060== Lock acquired, processing the job...
[2025-01-12 21:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 21:40:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:40:04] Production.INFO: count ==21
[2025-01-12 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:40:04] Production.INFO: Total Charge 0
[2025-01-12 21:40:04] Production.INFO: CreateAllLog End
[2025-01-12 21:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:40:04] Production.INFO: count ==21
[2025-01-12 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234410') start
[2025-01-12 21:40:04] Production.INFO: ==24051== Releasing lock...
[2025-01-12 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:40:04] Production.ERROR: done
[2025-01-12 21:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:40:04] Production.ERROR: done
[2025-01-12 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234410') end
[2025-01-12 21:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:40:04] Production.INFO: 1
[2025-01-12 21:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:40:04] Production.INFO: Account Balance End.
[2025-01-12 21:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:40:04] Production.INFO: ==24055== Releasing lock...
[2025-01-12 21:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 21:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234411', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 21:40:04] Production.ERROR: done
[2025-01-12 21:40:04] Production.INFO: ==24062== Releasing lock...
[2025-01-12 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:40:05
[end_date_ymd] => 2025-01-12 21:40:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:40:05' and `end` < '2025-01-12 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-12 21:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234411', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 21:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 21:40:08] Production.INFO: ProcessCDR(1,14234411,1,1,2)
[2025-01-12 21:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234411,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234411,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:40:08] Production.INFO: ==24060== Releasing lock...
[2025-01-12 21:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 21:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 21:40:13] Production.ERROR: CronJobId end10
[2025-01-12 21:40:13] Production.INFO: ==24053== Releasing lock...
[2025-01-12 21:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:40:15] Production.INFO: call_cost start
[2025-01-12 21:40:15] Production.INFO: call_cost end
[2025-01-12 21:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:40:16] Production.INFO: ==24049== Releasing lock...
[2025-01-12 21:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:40:40] Production.INFO: count ==437
[2025-01-12 21:40:40] Production.ERROR: pbx CDR StartTime 2025-01-12 18:40:05 - End Time 2025-01-12 21:40:05
[2025-01-12 21:40:40] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:40:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234412', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:40:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234412', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:40:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234412', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:40:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234412', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:40:40] Production.INFO: ProcessCDR(1,14234412,1,1,2)
[2025-01-12 21:40:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:40:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:40:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:40:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:40:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234412', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:40:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234412', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:40:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:40:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:40:43] Production.INFO: ==24057== Releasing lock...
[2025-01-12 21:40:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:40:43] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 02:41:02] Production.INFO: ==24115== Lock acquired, processing the job...
[2025-01-13 02:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:41:02] Production.INFO: neon service started
[2025-01-13 02:41:02] Production.INFO: neon service started
[2025-01-13 02:41:02] Production.INFO: ==24115== Releasing lock...
[2025-01-13 02:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:41:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 21:41:02] Production.INFO: ==24117== Lock acquired, processing the job...
[2025-01-12 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:41:02] Production.INFO: ==24117== Releasing lock...
[2025-01-12 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:41:02] Production.INFO: ==24120== Lock acquired, processing the job...
[2025-01-13 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:41:03] Production.INFO: ==24120== Releasing lock...
[2025-01-13 02:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:41:03] Production.INFO: ==24122== Lock acquired, processing the job...
[2025-01-12 21:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:41:03] Production.INFO: ==24126== Lock acquired, processing the job...
[2025-01-12 21:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:41:03] Production.INFO: ==24128== Lock acquired, processing the job...
[2025-01-12 21:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:41:03] Production.INFO: ==24124== Lock acquired, processing the job...
[2025-01-12 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:41:03] Production.INFO: ==24132== Lock acquired, processing the job...
[2025-01-12 21:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:41:03] Production.INFO: Account Balance Start.
[2025-01-12 21:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:41:03] Production.INFO: 117
[2025-01-12 21:41:03] Production.INFO: ==24130== Lock acquired, processing the job...
[2025-01-12 21:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:41:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:41:04] Production.INFO: ==24124== Releasing lock...
[2025-01-12 21:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:41:04] Production.INFO: count ==21
[2025-01-12 21:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:41:04] Production.INFO: count ==21
[2025-01-12 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234416') start
[2025-01-12 21:41:04] Production.ERROR: done
[2025-01-12 21:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:41:04] Production.INFO: Total Charge 0
[2025-01-12 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234416') end
[2025-01-12 21:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:41:04] Production.INFO: 1
[2025-01-12 21:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:41:04] Production.INFO: CreateAllLog End
[2025-01-12 21:41:04] Production.INFO: ==24132== Releasing lock...
[2025-01-12 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:41:04] Production.ERROR: done
[2025-01-12 21:41:04] Production.INFO: Account Balance End.
[2025-01-12 21:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:41:04] Production.INFO: ==24128== Releasing lock...
[2025-01-12 21:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:41:05
[end_date_ymd] => 2025-01-12 21:41:05
[RateCDR] => 1
)
[2025-01-12 21:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:41:05' and `end` < '2025-01-12 21:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:41:12] Production.ERROR: CronJobId end10
[2025-01-12 21:41:12] Production.INFO: ==24126== Releasing lock...
[2025-01-12 21:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:41:14] Production.INFO: call_cost start
[2025-01-12 21:41:14] Production.INFO: call_cost end
[2025-01-12 21:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:41:14] Production.INFO: ==24122== Releasing lock...
[2025-01-12 21:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:41:33] Production.INFO: count ==449
[2025-01-12 21:41:33] Production.ERROR: pbx CDR StartTime 2025-01-12 18:41:05 - End Time 2025-01-12 21:41:05
[2025-01-12 21:41:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:41:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234417', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:41:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234417', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:41:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234417', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:41:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234417', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:41:33] Production.INFO: ProcessCDR(1,14234417,1,1,2)
[2025-01-12 21:41:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:41:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:41:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:41:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:41:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234417', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:41:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234417', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:41:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:41:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:41:36] Production.INFO: ==24130== Releasing lock...
[2025-01-12 21:41:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:41:36] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:42:01] Production.INFO: ==24187== Lock acquired, processing the job...
[2025-01-13 02:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:42:01] Production.INFO: neon service started
[2025-01-13 02:42:01] Production.INFO: neon service started
[2025-01-13 02:42:01] Production.INFO: ==24187== Releasing lock...
[2025-01-13 02:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:42:02] Production.INFO: ==24191== Lock acquired, processing the job...
[2025-01-13 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:42:02] Production.INFO: ==24191== Releasing lock...
[2025-01-13 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:42:02] Production.INFO: ==24189== Lock acquired, processing the job...
[2025-01-12 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:42:02] Production.INFO: ==24189== Releasing lock...
[2025-01-12 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:42:03] Production.INFO: ==24194== Lock acquired, processing the job...
[2025-01-12 21:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:42:03] Production.INFO: ==24196== Lock acquired, processing the job...
[2025-01-12 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:42:03] Production.INFO: ==24204== Lock acquired, processing the job...
[2025-01-12 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:42:03] Production.INFO: count ==21
[2025-01-12 21:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:42:03] Production.INFO: ==24196== Releasing lock...
[2025-01-12 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:42:03] Production.INFO: count ==21
[2025-01-12 21:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234420') start
[2025-01-12 21:42:03] Production.INFO: ==24198== Lock acquired, processing the job...
[2025-01-12 21:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:42:03] Production.INFO: ==24200== Lock acquired, processing the job...
[2025-01-12 21:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234420') end
[2025-01-12 21:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:42:03] Production.INFO: 1
[2025-01-12 21:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:42:03] Production.INFO: ==24202== Lock acquired, processing the job...
[2025-01-12 21:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:42:03] Production.INFO: ==24204== Releasing lock...
[2025-01-12 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:42:03] Production.INFO: Account Balance Start.
[2025-01-12 21:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:42:03] Production.INFO: 117
[2025-01-12 21:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:42:04] Production.ERROR: done
[2025-01-12 21:42:04] Production.INFO: Total Charge 0
[2025-01-12 21:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:42:04] Production.INFO: CreateAllLog End
[2025-01-12 21:42:04] Production.ERROR: done
[2025-01-12 21:42:04] Production.INFO: Account Balance End.
[2025-01-12 21:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:42:04] Production.INFO: ==24200== Releasing lock...
[2025-01-12 21:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:42:05
[end_date_ymd] => 2025-01-12 21:42:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:42:05' and `end` < '2025-01-12 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-12 21:42:11] Production.ERROR: CronJobId end10
[2025-01-12 21:42:11] Production.INFO: ==24198== Releasing lock...
[2025-01-12 21:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:42:13] Production.INFO: call_cost start
[2025-01-12 21:42:13] Production.INFO: call_cost end
[2025-01-12 21:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:42:14] Production.INFO: ==24194== Releasing lock...
[2025-01-12 21:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:42:35] Production.INFO: count ==445
[2025-01-12 21:42:35] Production.ERROR: pbx CDR StartTime 2025-01-12 18:42:05 - End Time 2025-01-12 21:42:05
[2025-01-12 21:42:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:42:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234422', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:42:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234422', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:42:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234422', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:42:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234422', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:42:35] Production.INFO: ProcessCDR(1,14234422,1,1,2)
[2025-01-12 21:42:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:42:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:42:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:42:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:42:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234422', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:42:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234422', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:42:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:42:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:42:39] Production.INFO: ==24202== Releasing lock...
[2025-01-12 21:42:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:42:39] Production.INFO: 32 MB #Memory Used#
[2025-01-13 02:43:02] Production.INFO: ==24261== Lock acquired, processing the job...
[2025-01-13 02:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:43:02] Production.INFO: neon service started
[2025-01-13 02:43:02] Production.INFO: neon service started
[2025-01-13 02:43:02] Production.INFO: ==24261== Releasing lock...
[2025-01-13 02:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:43:02] Production.INFO: ==24263== Lock acquired, processing the job...
[2025-01-12 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:43:02] Production.INFO: ==24263== Releasing lock...
[2025-01-12 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:43:03] Production.INFO: ==24265== Lock acquired, processing the job...
[2025-01-13 02:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:43:03] Production.INFO: ==24265== Releasing lock...
[2025-01-13 02:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:43:03] Production.INFO: ==24268== Lock acquired, processing the job...
[2025-01-12 21:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:43:03] Production.INFO: ==24272== Lock acquired, processing the job...
[2025-01-12 21:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:43:03] Production.INFO: ==24276== Lock acquired, processing the job...
[2025-01-12 21:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:43:03] Production.INFO: ==24270== Lock acquired, processing the job...
[2025-01-12 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:43:03] Production.INFO: ==24274== Lock acquired, processing the job...
[2025-01-12 21:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:43:04] Production.ERROR: done
[2025-01-12 21:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:43:04] Production.INFO: Account Balance Start.
[2025-01-12 21:43:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:43:04] Production.INFO: ==24278== Lock acquired, processing the job...
[2025-01-12 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:43:04] Production.INFO: 117
[2025-01-12 21:43:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:43:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:43:04] Production.ERROR: done
[2025-01-12 21:43:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 21:43:04] Production.INFO: count ==21
[2025-01-12 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-12 21:43:04] Production.INFO: count ==21
[2025-01-12 21:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234427') start
[2025-01-12 21:43:04] Production.INFO: Total Charge 0
[2025-01-12 21:43:04] Production.INFO: CreateAllLog End
[2025-01-12 21:43:04] Production.INFO: ==24270== Releasing lock...
[2025-01-12 21:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234427') end
[2025-01-12 21:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:43:04] Production.INFO: 1
[2025-01-12 21:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:43:04] Production.INFO: ==24278== Releasing lock...
[2025-01-12 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:43:04] Production.INFO: Account Balance End.
[2025-01-12 21:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:43:04] Production.INFO: ==24274== Releasing lock...
[2025-01-12 21:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:43:05
[end_date_ymd] => 2025-01-12 21:43:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:43:05' and `end` < '2025-01-12 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-12 21:43:12] Production.ERROR: CronJobId end10
[2025-01-12 21:43:12] Production.INFO: ==24272== Releasing lock...
[2025-01-12 21:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:43:13] Production.INFO: call_cost start
[2025-01-12 21:43:13] Production.INFO: call_cost end
[2025-01-12 21:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:43:14] Production.INFO: ==24268== Releasing lock...
[2025-01-12 21:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:43:30] Production.INFO: count ==445
[2025-01-12 21:43:30] Production.ERROR: pbx CDR StartTime 2025-01-12 18:43:05 - End Time 2025-01-12 21:43:05
[2025-01-12 21:43:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234426', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234426', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234426', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234426', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:43:30] Production.INFO: ProcessCDR(1,14234426,1,1,2)
[2025-01-12 21:43:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:43:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:43:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:43:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:43:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234426', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:43:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234426', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:43:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:43:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:43:34] Production.INFO: ==24276== Releasing lock...
[2025-01-12 21:43:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:43:34] Production.INFO: 32 MB #Memory Used#
[2025-01-13 02:44:01] Production.INFO: ==24334== Lock acquired, processing the job...
[2025-01-13 02:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:44:01] Production.INFO: neon service started
[2025-01-13 02:44:01] Production.INFO: neon service started
[2025-01-13 02:44:01] Production.INFO: ==24334== Releasing lock...
[2025-01-13 02:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:44:02] Production.INFO: ==24337== Lock acquired, processing the job...
[2025-01-12 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:44:02] Production.INFO: ==24337== Releasing lock...
[2025-01-12 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:44:02] Production.INFO: ==24339== Lock acquired, processing the job...
[2025-01-13 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:44:02] Production.INFO: ==24339== Releasing lock...
[2025-01-13 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:44:03] Production.INFO: ==24345== Lock acquired, processing the job...
[2025-01-12 21:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:44:03] Production.INFO: ==24347== Lock acquired, processing the job...
[2025-01-12 21:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:44:03] Production.INFO: ==24343== Lock acquired, processing the job...
[2025-01-12 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:44:03] Production.INFO: Account Balance Start.
[2025-01-12 21:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:44:03] Production.INFO: 117
[2025-01-12 21:44:03] Production.INFO: ==24341== Lock acquired, processing the job...
[2025-01-12 21:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:44:03] Production.INFO: ==24349== Lock acquired, processing the job...
[2025-01-12 21:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:44:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:44:03] Production.INFO: ==24351== Lock acquired, processing the job...
[2025-01-12 21:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:44:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:44:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:44:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:44:03] Production.INFO: count ==21
[2025-01-12 21:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:44:03] Production.INFO: count ==21
[2025-01-12 21:44:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234430') start
[2025-01-12 21:44:03] Production.INFO: Total Charge 0
[2025-01-12 21:44:03] Production.INFO: CreateAllLog End
[2025-01-12 21:44:04] Production.ERROR: done
[2025-01-12 21:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:44:04] Production.INFO: ==24343== Releasing lock...
[2025-01-12 21:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234430') end
[2025-01-12 21:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:44:04] Production.INFO: 1
[2025-01-12 21:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:44:04] Production.INFO: ==24351== Releasing lock...
[2025-01-12 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:44:04] Production.ERROR: done
[2025-01-12 21:44:04] Production.INFO: Account Balance End.
[2025-01-12 21:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:44:04] Production.INFO: ==24347== Releasing lock...
[2025-01-12 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:44:05
[end_date_ymd] => 2025-01-12 21:44:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:44:05' and `end` < '2025-01-12 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-12 21:44:12] Production.ERROR: CronJobId end10
[2025-01-12 21:44:12] Production.INFO: ==24345== Releasing lock...
[2025-01-12 21:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:44:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:44:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:44:14] Production.INFO: call_cost start
[2025-01-12 21:44:14] Production.INFO: call_cost end
[2025-01-12 21:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:44:15] Production.INFO: ==24341== Releasing lock...
[2025-01-12 21:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:44:31] Production.INFO: count ==449
[2025-01-12 21:44:32] Production.ERROR: pbx CDR StartTime 2025-01-12 18:44:05 - End Time 2025-01-12 21:44:05
[2025-01-12 21:44:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:44:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234432', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:44:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234432', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:44:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234432', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:44:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234432', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:44:32] Production.INFO: ProcessCDR(1,14234432,1,1,2)
[2025-01-12 21:44:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:44:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:44:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:44:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:44:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234432', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:44:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234432', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:44:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:44:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:44:35] Production.INFO: ==24349== Releasing lock...
[2025-01-12 21:44:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:44:35] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:45:02] Production.INFO: ==24417== Lock acquired, processing the job...
[2025-01-13 02:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:45:02] Production.INFO: neon service started
[2025-01-13 02:45:02] Production.INFO: neon service started
[2025-01-13 02:45:02] Production.INFO: ==24417== Releasing lock...
[2025-01-13 02:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:45:02] Production.INFO: ==24419== Lock acquired, processing the job...
[2025-01-12 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:45:02] Production.INFO: ==24422== Lock acquired, processing the job...
[2025-01-13 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:45:02] Production.INFO: ==24422== Releasing lock...
[2025-01-13 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:45:03] Production.INFO: ==24419== Releasing lock...
[2025-01-12 21:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:45:04] Production.INFO: ==24430== Lock acquired, processing the job...
[2025-01-12 21:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:45:04] Production.INFO: ==24434== Lock acquired, processing the job...
[2025-01-12 21:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:45:04] Production.INFO: Account Balance Start.
[2025-01-12 21:45:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:45:04] Production.INFO: 117
[2025-01-12 21:45:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:45:04] Production.INFO: ==24426== Lock acquired, processing the job...
[2025-01-12 21:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:45:04] Production.INFO: ==24424== Lock acquired, processing the job...
[2025-01-12 21:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:45:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:45:04] Production.INFO: ==24428== Lock acquired, processing the job...
[2025-01-12 21:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:45:04] Production.INFO: ==24432== Lock acquired, processing the job...
[2025-01-12 21:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:45:04] Production.INFO: count ==21
[2025-01-12 21:45:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:45:04] Production.INFO: count ==21
[2025-01-12 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234434') start
[2025-01-12 21:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:45:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:45:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:45:04] Production.INFO: Total Charge 0
[2025-01-12 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234434') end
[2025-01-12 21:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:45:04] Production.INFO: 1
[2025-01-12 21:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:45:04] Production.INFO: CreateAllLog End
[2025-01-12 21:45:04] Production.INFO: ==24434== Releasing lock...
[2025-01-12 21:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:45:04] Production.INFO: ==24426== Releasing lock...
[2025-01-12 21:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:45:04] Production.ERROR: done
[2025-01-12 21:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:45:04] Production.INFO: Account Balance End.
[2025-01-12 21:45:05] Production.ERROR: CronJobId end 12
[2025-01-12 21:45:05] Production.INFO: ==24430== Releasing lock...
[2025-01-12 21:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:45:05] Production.ERROR: done
[2025-01-12 21:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:45:06
[end_date_ymd] => 2025-01-12 21:45:06
[RateCDR] => 1
)
[2025-01-12 21:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:45:06' and `end` < '2025-01-12 21:45:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:45:12] Production.ERROR: CronJobId end10
[2025-01-12 21:45:12] Production.INFO: ==24428== Releasing lock...
[2025-01-12 21:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:45:15] Production.INFO: call_cost start
[2025-01-12 21:45:15] Production.INFO: call_cost end
[2025-01-12 21:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:45:15] Production.INFO: ==24424== Releasing lock...
[2025-01-12 21:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:45:34] Production.INFO: count ==452
[2025-01-12 21:45:34] Production.ERROR: pbx CDR StartTime 2025-01-12 18:45:06 - End Time 2025-01-12 21:45:06
[2025-01-12 21:45:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:45:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234437', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:45:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234437', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:45:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234437', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:45:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234437', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:45:34] Production.INFO: ProcessCDR(1,14234437,1,1,2)
[2025-01-12 21:45:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:45:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:45:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:45:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:45:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234437', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:45:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234437', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:45:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:45:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:45:37] Production.INFO: ==24432== Releasing lock...
[2025-01-12 21:45:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:45:37] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:46:01] Production.INFO: ==24490== Lock acquired, processing the job...
[2025-01-13 02:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:46:01] Production.INFO: neon service started
[2025-01-13 02:46:01] Production.INFO: neon service started
[2025-01-13 02:46:01] Production.INFO: ==24490== Releasing lock...
[2025-01-13 02:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:46:02] Production.INFO: ==24492== Lock acquired, processing the job...
[2025-01-12 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:46:02] Production.INFO: ==24494== Lock acquired, processing the job...
[2025-01-13 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:46:02] Production.INFO: ==24492== Releasing lock...
[2025-01-12 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:46:02] Production.INFO: ==24494== Releasing lock...
[2025-01-13 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:46:03] Production.INFO: ==24503== Lock acquired, processing the job...
[2025-01-12 21:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:46:03] Production.INFO: ==24505== Lock acquired, processing the job...
[2025-01-12 21:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:46:03] Production.INFO: ==24499== Lock acquired, processing the job...
[2025-01-12 21:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:46:03] Production.INFO: ==24497== Lock acquired, processing the job...
[2025-01-12 21:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:46:03] Production.INFO: Account Balance Start.
[2025-01-12 21:46:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:46:03] Production.INFO: 117
[2025-01-12 21:46:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:46:03] Production.INFO: ==24501== Lock acquired, processing the job...
[2025-01-12 21:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:46:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:46:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:46:03] Production.INFO: ==24507== Lock acquired, processing the job...
[2025-01-12 21:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:46:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:46:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:46:03] Production.INFO: Total Charge 0
[2025-01-12 21:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:46:03] Production.INFO: count ==21
[2025-01-12 21:46:03] Production.INFO: CreateAllLog End
[2025-01-12 21:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:46:03] Production.INFO: count ==21
[2025-01-12 21:46:03] Production.ERROR: done
[2025-01-12 21:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:46:03] Production.INFO: ==24499== Releasing lock...
[2025-01-12 21:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234441') start
[2025-01-12 21:46:04] Production.ERROR: done
[2025-01-12 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234441') end
[2025-01-12 21:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:46:04] Production.INFO: 1
[2025-01-12 21:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:46:04] Production.INFO: ==24507== Releasing lock...
[2025-01-12 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:46:04] Production.INFO: Account Balance End.
[2025-01-12 21:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:46:04] Production.INFO: ==24503== Releasing lock...
[2025-01-12 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:46:04
[end_date_ymd] => 2025-01-12 21:46:04
[RateCDR] => 1
)
[2025-01-12 21:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:46:04' and `end` < '2025-01-12 21:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:46:10] Production.ERROR: CronJobId end10
[2025-01-12 21:46:10] Production.INFO: ==24501== Releasing lock...
[2025-01-12 21:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:46:12] Production.INFO: call_cost start
[2025-01-12 21:46:13] Production.INFO: call_cost end
[2025-01-12 21:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:46:13] Production.INFO: ==24497== Releasing lock...
[2025-01-12 21:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:46:27] Production.INFO: count ==449
[2025-01-12 21:46:28] Production.ERROR: pbx CDR StartTime 2025-01-12 18:46:04 - End Time 2025-01-12 21:46:04
[2025-01-12 21:46:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:46:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234442', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:46:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234442', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:46:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234442', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:46:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234442', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:46:28] Production.INFO: ProcessCDR(1,14234442,1,1,2)
[2025-01-12 21:46:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:46:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:46:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:46:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:46:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234442', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:46:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234442', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:46:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:46:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:46:31] Production.INFO: ==24505== Releasing lock...
[2025-01-12 21:46:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:46:31] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:47:02] Production.INFO: ==24563== Lock acquired, processing the job...
[2025-01-13 02:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:47:02] Production.INFO: neon service started
[2025-01-13 02:47:02] Production.INFO: neon service started
[2025-01-13 02:47:02] Production.INFO: ==24563== Releasing lock...
[2025-01-13 02:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:47:02] Production.INFO: ==24565== Lock acquired, processing the job...
[2025-01-12 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:47:02] Production.INFO: ==24565== Releasing lock...
[2025-01-12 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:47:02] Production.INFO: ==24567== Lock acquired, processing the job...
[2025-01-13 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:47:02] Production.INFO: ==24567== Releasing lock...
[2025-01-13 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:47:03] Production.INFO: ==24572== Lock acquired, processing the job...
[2025-01-12 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:47:03] Production.INFO: ==24570== Lock acquired, processing the job...
[2025-01-12 21:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:47:03] Production.INFO: ==24580== Lock acquired, processing the job...
[2025-01-12 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:47:03] Production.INFO: ==24574== Lock acquired, processing the job...
[2025-01-12 21:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:47:03] Production.INFO: ==24576== Lock acquired, processing the job...
[2025-01-12 21:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 21:47:03] Production.INFO: ==24578== Lock acquired, processing the job...
[2025-01-12 21:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:47:03] Production.INFO: count ==21
[2025-01-12 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-12 21:47:03] Production.INFO: count ==21
[2025-01-12 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234445') start
[2025-01-12 21:47:04] Production.INFO: ==24572== Releasing lock...
[2025-01-12 21:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:47:04] Production.INFO: Account Balance Start.
[2025-01-12 21:47:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:47:04] Production.INFO: 117
[2025-01-12 21:47:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234445') end
[2025-01-12 21:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:47:04] Production.INFO: 1
[2025-01-12 21:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:47:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:47:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:47:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:47:04] Production.INFO: ==24580== Releasing lock...
[2025-01-12 21:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:47:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:47:04] Production.INFO: Total Charge 0
[2025-01-12 21:47:04] Production.INFO: CreateAllLog End
[2025-01-12 21:47:04] Production.ERROR: done
[2025-01-12 21:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:47:04] Production.ERROR: done
[2025-01-12 21:47:04] Production.INFO: Account Balance End.
[2025-01-12 21:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:47:04] Production.INFO: ==24576== Releasing lock...
[2025-01-12 21:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:47:05
[end_date_ymd] => 2025-01-12 21:47:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:47:05' and `end` < '2025-01-12 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-12 21:47:12] Production.ERROR: CronJobId end10
[2025-01-12 21:47:12] Production.INFO: ==24574== Releasing lock...
[2025-01-12 21:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:47:14] Production.INFO: call_cost start
[2025-01-12 21:47:14] Production.INFO: call_cost end
[2025-01-12 21:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:47:14] Production.INFO: ==24570== Releasing lock...
[2025-01-12 21:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:47:31] Production.INFO: count ==448
[2025-01-12 21:47:31] Production.ERROR: pbx CDR StartTime 2025-01-12 18:47:05 - End Time 2025-01-12 21:47:05
[2025-01-12 21:47:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:47:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234447', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:47:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234447', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:47:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234447', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:47:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234447', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:47:31] Production.INFO: ProcessCDR(1,14234447,1,1,2)
[2025-01-12 21:47:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:47:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:47:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:47:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:47:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234447', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:47:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234447', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:47:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:47:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:47:34] Production.INFO: ==24578== Releasing lock...
[2025-01-12 21:47:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:47:34] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 02:48:01] Production.INFO: ==24634== Lock acquired, processing the job...
[2025-01-13 02:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:48:01] Production.INFO: neon service started
[2025-01-13 02:48:01] Production.INFO: neon service started
[2025-01-13 02:48:01] Production.INFO: ==24634== Releasing lock...
[2025-01-13 02:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:48:01] Production.INFO: ==24636== Lock acquired, processing the job...
[2025-01-12 21:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:48:02] Production.INFO: ==24636== Releasing lock...
[2025-01-12 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:48:02] Production.INFO: ==24638== Lock acquired, processing the job...
[2025-01-13 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:48:02] Production.INFO: ==24638== Releasing lock...
[2025-01-13 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:48:03] Production.INFO: ==24645== Lock acquired, processing the job...
[2025-01-12 21:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:48:03] Production.INFO: ==24649== Lock acquired, processing the job...
[2025-01-12 21:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:48:03] Production.INFO: ==24640== Lock acquired, processing the job...
[2025-01-12 21:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:48:03] Production.INFO: ==24643== Lock acquired, processing the job...
[2025-01-12 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:48:03] Production.INFO: ==24647== Lock acquired, processing the job...
[2025-01-12 21:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:48:03] Production.INFO: ==24651== Lock acquired, processing the job...
[2025-01-12 21:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:48:03] Production.ERROR: done
[2025-01-12 21:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:48:03] Production.INFO: Account Balance Start.
[2025-01-12 21:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:48:03] Production.INFO: 117
[2025-01-12 21:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:48:03] Production.INFO: count ==21
[2025-01-12 21:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:48:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:48:03] Production.INFO: count ==21
[2025-01-12 21:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234451') start
[2025-01-12 21:48:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:48:03] Production.ERROR: done
[2025-01-12 21:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234451') end
[2025-01-12 21:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:48:03] Production.INFO: 1
[2025-01-12 21:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:48:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:48:03] Production.INFO: ==24651== Releasing lock...
[2025-01-12 21:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:48:03] Production.INFO: ==24643== Releasing lock...
[2025-01-12 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:48:04] Production.INFO: Total Charge 0
[2025-01-12 21:48:04] Production.INFO: CreateAllLog End
[2025-01-12 21:48:04] Production.INFO: Account Balance End.
[2025-01-12 21:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:48:04] Production.INFO: ==24647== Releasing lock...
[2025-01-12 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:48:05
[end_date_ymd] => 2025-01-12 21:48:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:48:05' and `end` < '2025-01-12 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-12 21:48:10] Production.ERROR: CronJobId end10
[2025-01-12 21:48:10] Production.INFO: ==24645== Releasing lock...
[2025-01-12 21:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:48:12] Production.INFO: call_cost start
[2025-01-12 21:48:12] Production.INFO: call_cost end
[2025-01-12 21:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:48:13] Production.INFO: ==24640== Releasing lock...
[2025-01-12 21:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:48:37] Production.INFO: count ==447
[2025-01-12 21:48:37] Production.ERROR: pbx CDR StartTime 2025-01-12 18:48:05 - End Time 2025-01-12 21:48:05
[2025-01-12 21:48:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:48:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234452', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:48:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234452', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:48:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234452', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:48:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234452', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:48:37] Production.INFO: ProcessCDR(1,14234452,1,1,2)
[2025-01-12 21:48:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:48:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:48:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:48:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:48:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234452', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:48:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234452', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:48:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:48:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:48:40] Production.INFO: ==24649== Releasing lock...
[2025-01-12 21:48:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:48:40] Production.INFO: 32 MB #Memory Used#
[2025-01-13 02:49:01] Production.INFO: ==24745== Lock acquired, processing the job...
[2025-01-13 02:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:49:01] Production.INFO: neon service started
[2025-01-13 02:49:01] Production.INFO: neon service started
[2025-01-13 02:49:01] Production.INFO: ==24745== Releasing lock...
[2025-01-13 02:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:49:02] Production.INFO: ==24747== Lock acquired, processing the job...
[2025-01-12 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:49:02] Production.INFO: ==24747== Releasing lock...
[2025-01-12 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:49:02] Production.INFO: ==24749== Lock acquired, processing the job...
[2025-01-13 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:49:02] Production.INFO: ==24749== Releasing lock...
[2025-01-13 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:49:03] Production.INFO: ==24751== Lock acquired, processing the job...
[2025-01-12 21:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:49:03] Production.INFO: ==24755== Lock acquired, processing the job...
[2025-01-12 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:49:03] Production.INFO: ==24759== Lock acquired, processing the job...
[2025-01-12 21:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:49:03] Production.INFO: ==24753== Lock acquired, processing the job...
[2025-01-12 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:49:03] Production.INFO: ==24757== Lock acquired, processing the job...
[2025-01-12 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:49:03] Production.INFO: ==24761== Lock acquired, processing the job...
[2025-01-12 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:49:03] Production.INFO: Account Balance Start.
[2025-01-12 21:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:49:03] Production.INFO: 117
[2025-01-12 21:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-12 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:49:03] Production.INFO: count ==21
[2025-01-12 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-12 21:49:03] Production.INFO: count ==21
[2025-01-12 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234456') start
[2025-01-12 21:49:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:49:04] Production.ERROR: done
[2025-01-12 21:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:49:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234456') end
[2025-01-12 21:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:49:04] Production.INFO: 1
[2025-01-12 21:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:49:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:49:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:49:04] Production.INFO: ==24761== Releasing lock...
[2025-01-12 21:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:49:04] Production.INFO: ==24753== Releasing lock...
[2025-01-12 21:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:49:04] Production.INFO: Total Charge 0
[2025-01-12 21:49:04] Production.INFO: CreateAllLog End
[2025-01-12 21:49:04] Production.ERROR: done
[2025-01-12 21:49:04] Production.INFO: Account Balance End.
[2025-01-12 21:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:49:04] Production.INFO: ==24757== Releasing lock...
[2025-01-12 21:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:49:05
[end_date_ymd] => 2025-01-12 21:49:05
[RateCDR] => 1
)
[2025-01-12 21:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:49:05' and `end` < '2025-01-12 21:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:49:11] Production.ERROR: CronJobId end10
[2025-01-12 21:49:11] Production.INFO: ==24755== Releasing lock...
[2025-01-12 21:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:49:13] Production.INFO: call_cost start
[2025-01-12 21:49:13] Production.INFO: call_cost end
[2025-01-12 21:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:49:14] Production.INFO: ==24751== Releasing lock...
[2025-01-12 21:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:49:33] Production.INFO: count ==452
[2025-01-12 21:49:34] Production.ERROR: pbx CDR StartTime 2025-01-12 18:49:05 - End Time 2025-01-12 21:49:05
[2025-01-12 21:49:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:49:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234457', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:49:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234457', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:49:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234457', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:49:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234457', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:49:34] Production.INFO: ProcessCDR(1,14234457,1,1,2)
[2025-01-12 21:49:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:49:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:49:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:49:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:49:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234457', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:49:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234457', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:49:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:49:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:49:38] Production.INFO: ==24759== Releasing lock...
[2025-01-12 21:49:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:49:38] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:50:01] Production.INFO: ==24816== Lock acquired, processing the job...
[2025-01-13 02:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:50:01] Production.INFO: neon service started
[2025-01-13 02:50:01] Production.INFO: neon service started
[2025-01-13 02:50:01] Production.INFO: ==24816== Releasing lock...
[2025-01-13 02:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:50:01] Production.INFO: ==24818== Lock acquired, processing the job...
[2025-01-12 21:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:50:02] Production.INFO: ==24818== Releasing lock...
[2025-01-12 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:50:02] Production.INFO: ==24820== Lock acquired, processing the job...
[2025-01-13 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:50:02] Production.INFO: ==24820== Releasing lock...
[2025-01-13 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:50:03] Production.INFO: ==24822== Lock acquired, processing the job...
[2025-01-12 21:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 21:50:03] Production.INFO: ==24824== Lock acquired, processing the job...
[2025-01-12 21:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 21:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 21:50:03] Production.INFO: ==24822== Releasing lock...
[2025-01-12 21:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 21:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 21:50:03] Production.INFO: ==24828== Lock acquired, processing the job...
[2025-01-12 21:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:50:03] Production.INFO: ==24830== Lock acquired, processing the job...
[2025-01-12 21:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:50:03] Production.INFO: ==24826== Lock acquired, processing the job...
[2025-01-12 21:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:50:03] Production.INFO: Account Balance Start.
[2025-01-12 21:50:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:50:03] Production.INFO: 117
[2025-01-12 21:50:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:50:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:50:03] Production.INFO: ==24832== Lock acquired, processing the job...
[2025-01-12 21:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:50:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:50:03] Production.INFO: ==24836== Lock acquired, processing the job...
[2025-01-12 21:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:50:03] Production.INFO: ==24834== Lock acquired, processing the job...
[2025-01-12 21:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 21:50:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:50:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:50:03] Production.INFO: Total Charge 0
[2025-01-12 21:50:03] Production.INFO: CreateAllLog End
[2025-01-12 21:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 21:50:03] Production.INFO: count ==21
[2025-01-12 21:50:03] Production.INFO: ==24826== Releasing lock...
[2025-01-12 21:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:50:04] Production.INFO: count ==21
[2025-01-12 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234461') start
[2025-01-12 21:50:04] Production.ERROR: done
[2025-01-12 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234461') end
[2025-01-12 21:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:50:04] Production.INFO: 1
[2025-01-12 21:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 21:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234462', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 21:50:04] Production.INFO: ==24836== Releasing lock...
[2025-01-12 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:50:04] Production.INFO: Account Balance End.
[2025-01-12 21:50:04] Production.ERROR: done
[2025-01-12 21:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:50:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:50:04] Production.INFO: ==24830== Releasing lock...
[2025-01-12 21:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:50:04] Production.ERROR: done
[2025-01-12 21:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:50:05
[end_date_ymd] => 2025-01-12 21:50:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:50:05' and `end` < '2025-01-12 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-12 21:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234462', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 21:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 21:50:08] Production.INFO: ProcessCDR(1,14234462,1,1,2)
[2025-01-12 21:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234462,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234462,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:50:08] Production.INFO: ==24834== Releasing lock...
[2025-01-12 21:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 21:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 21:50:12] Production.ERROR: CronJobId end10
[2025-01-12 21:50:12] Production.INFO: ==24828== Releasing lock...
[2025-01-12 21:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:50:14] Production.INFO: call_cost start
[2025-01-12 21:50:14] Production.INFO: call_cost end
[2025-01-12 21:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:50:15] Production.INFO: ==24824== Releasing lock...
[2025-01-12 21:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:50:37] Production.INFO: count ==458
[2025-01-12 21:50:37] Production.ERROR: pbx CDR StartTime 2025-01-12 18:50:05 - End Time 2025-01-12 21:50:05
[2025-01-12 21:50:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234463', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234463', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234463', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234463', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:50:37] Production.INFO: ProcessCDR(1,14234463,1,1,2)
[2025-01-12 21:50:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:50:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:50:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:50:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:50:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234463', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:50:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234463', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:50:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:50:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:50:41] Production.INFO: ==24832== Releasing lock...
[2025-01-12 21:50:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:50:41] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:51:01] Production.INFO: ==24895== Lock acquired, processing the job...
[2025-01-13 02:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:51:01] Production.INFO: neon service started
[2025-01-13 02:51:01] Production.INFO: neon service started
[2025-01-13 02:51:01] Production.INFO: ==24895== Releasing lock...
[2025-01-13 02:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:51:02] Production.INFO: ==24897== Lock acquired, processing the job...
[2025-01-12 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:51:02] Production.INFO: ==24897== Releasing lock...
[2025-01-12 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:51:02] Production.INFO: ==24899== Lock acquired, processing the job...
[2025-01-13 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:51:02] Production.INFO: ==24899== Releasing lock...
[2025-01-13 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:51:03] Production.INFO: ==24906== Lock acquired, processing the job...
[2025-01-12 21:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:51:03] Production.INFO: ==24912== Lock acquired, processing the job...
[2025-01-12 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:51:03] Production.INFO: ==24902== Lock acquired, processing the job...
[2025-01-12 21:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:51:03] Production.INFO: ==24904== Lock acquired, processing the job...
[2025-01-12 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:51:03] Production.INFO: count ==21
[2025-01-12 21:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:51:03] Production.INFO: count ==21
[2025-01-12 21:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234464') start
[2025-01-12 21:51:03] Production.INFO: ==24908== Lock acquired, processing the job...
[2025-01-12 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:51:03] Production.INFO: ==24910== Lock acquired, processing the job...
[2025-01-12 21:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234464') end
[2025-01-12 21:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:51:03] Production.INFO: 1
[2025-01-12 21:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:51:03] Production.INFO: Account Balance Start.
[2025-01-12 21:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:51:03] Production.INFO: ==24912== Releasing lock...
[2025-01-12 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:51:03] Production.INFO: 117
[2025-01-12 21:51:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:51:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:51:04] Production.INFO: ==24904== Releasing lock...
[2025-01-12 21:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:51:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:51:04] Production.INFO: Total Charge 0
[2025-01-12 21:51:04] Production.INFO: CreateAllLog End
[2025-01-12 21:51:04] Production.ERROR: done
[2025-01-12 21:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:51:04] Production.INFO: Account Balance End.
[2025-01-12 21:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:51:04] Production.INFO: ==24908== Releasing lock...
[2025-01-12 21:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:51:04] Production.ERROR: done
[2025-01-12 21:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:51:05
[end_date_ymd] => 2025-01-12 21:51:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:51:05' and `end` < '2025-01-12 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-12 21:51:12] Production.ERROR: CronJobId end10
[2025-01-12 21:51:12] Production.INFO: ==24906== Releasing lock...
[2025-01-12 21:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:51:14] Production.INFO: call_cost start
[2025-01-12 21:51:14] Production.INFO: call_cost end
[2025-01-12 21:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:51:15] Production.INFO: ==24902== Releasing lock...
[2025-01-12 21:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:51:35] Production.INFO: count ==476
[2025-01-12 21:51:35] Production.ERROR: pbx CDR StartTime 2025-01-12 18:51:05 - End Time 2025-01-12 21:51:05
[2025-01-12 21:51:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:51:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234468', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:51:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234468', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:51:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234468', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:51:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234468', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:51:35] Production.INFO: ProcessCDR(1,14234468,1,1,2)
[2025-01-12 21:51:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:51:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:51:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:51:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:51:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234468', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:51:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234468', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:51:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:51:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:51:38] Production.INFO: ==24910== Releasing lock...
[2025-01-12 21:51:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:51:38] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:52:02] Production.INFO: ==24972== Lock acquired, processing the job...
[2025-01-13 02:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:52:02] Production.INFO: neon service started
[2025-01-13 02:52:02] Production.INFO: neon service started
[2025-01-13 02:52:02] Production.INFO: ==24972== Releasing lock...
[2025-01-13 02:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:52:02] Production.INFO: ==24976== Lock acquired, processing the job...
[2025-01-13 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:52:02] Production.INFO: ==24974== Lock acquired, processing the job...
[2025-01-12 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:52:02] Production.INFO: ==24976== Releasing lock...
[2025-01-13 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:52:03] Production.INFO: ==24974== Releasing lock...
[2025-01-12 21:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:52:04] Production.INFO: ==24985== Lock acquired, processing the job...
[2025-01-12 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:52:04] Production.INFO: ==24989== Lock acquired, processing the job...
[2025-01-12 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:52:04] Production.INFO: Account Balance Start.
[2025-01-12 21:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:52:04] Production.INFO: 117
[2025-01-12 21:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:52:04] Production.INFO: ==24979== Lock acquired, processing the job...
[2025-01-12 21:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:52:04] Production.INFO: count ==21
[2025-01-12 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:52:04] Production.INFO: ==24981== Lock acquired, processing the job...
[2025-01-12 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:52:04] Production.INFO: ==24983== Lock acquired, processing the job...
[2025-01-12 21:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:52:04] Production.INFO: ==24987== Lock acquired, processing the job...
[2025-01-12 21:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:52:04] Production.INFO: Total Charge 0
[2025-01-12 21:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:52:04] Production.INFO: CreateAllLog End
[2025-01-12 21:52:04] Production.INFO: count ==21
[2025-01-12 21:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234470') start
[2025-01-12 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234470') end
[2025-01-12 21:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:52:04] Production.INFO: 1
[2025-01-12 21:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:52:04] Production.INFO: Account Balance End.
[2025-01-12 21:52:04] Production.INFO: ==24989== Releasing lock...
[2025-01-12 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:52:04] Production.INFO: ==24985== Releasing lock...
[2025-01-12 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:52:04] Production.INFO: ==24981== Releasing lock...
[2025-01-12 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:52:04] Production.ERROR: done
[2025-01-12 21:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:52:05] Production.ERROR: done
[2025-01-12 21:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:52:06
[end_date_ymd] => 2025-01-12 21:52:06
[RateCDR] => 1
)
[2025-01-12 21:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:52:06' and `end` < '2025-01-12 21:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:52:12] Production.ERROR: CronJobId end10
[2025-01-12 21:52:12] Production.INFO: ==24983== Releasing lock...
[2025-01-12 21:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:52:14] Production.INFO: call_cost start
[2025-01-12 21:52:14] Production.INFO: call_cost end
[2025-01-12 21:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:52:14] Production.INFO: ==24979== Releasing lock...
[2025-01-12 21:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:52:37] Production.INFO: count ==479
[2025-01-12 21:52:37] Production.ERROR: pbx CDR StartTime 2025-01-12 18:52:06 - End Time 2025-01-12 21:52:06
[2025-01-12 21:52:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:52:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234473', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:52:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234473', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:52:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234473', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:52:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234473', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:52:38] Production.INFO: ProcessCDR(1,14234473,1,1,2)
[2025-01-12 21:52:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:52:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:52:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:52:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:52:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234473', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:52:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234473', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:52:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:52:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:52:41] Production.INFO: ==24987== Releasing lock...
[2025-01-12 21:52:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:52:41] Production.INFO: 32 MB #Memory Used#
[2025-01-13 02:53:01] Production.INFO: ==25046== Lock acquired, processing the job...
[2025-01-13 02:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:53:01] Production.INFO: neon service started
[2025-01-13 02:53:01] Production.INFO: neon service started
[2025-01-13 02:53:01] Production.INFO: ==25046== Releasing lock...
[2025-01-13 02:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:53:02] Production.INFO: ==25050== Lock acquired, processing the job...
[2025-01-13 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:53:02] Production.INFO: ==25050== Releasing lock...
[2025-01-13 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:53:02] Production.INFO: ==25048== Lock acquired, processing the job...
[2025-01-12 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:53:02] Production.INFO: ==25048== Releasing lock...
[2025-01-12 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:53:03] Production.INFO: ==25058== Lock acquired, processing the job...
[2025-01-12 21:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:53:03] Production.INFO: ==25061== Lock acquired, processing the job...
[2025-01-12 21:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:53:03] Production.INFO: Account Balance Start.
[2025-01-12 21:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:53:03] Production.INFO: 117
[2025-01-12 21:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:53:03] Production.INFO: ==25052== Lock acquired, processing the job...
[2025-01-12 21:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:53:03] Production.INFO: ==25054== Lock acquired, processing the job...
[2025-01-12 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:53:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:53:03] Production.INFO: ==25056== Lock acquired, processing the job...
[2025-01-12 21:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:53:03] Production.INFO: Total Charge 0
[2025-01-12 21:53:03] Production.INFO: CreateAllLog End
[2025-01-12 21:53:03] Production.INFO: ==25063== Lock acquired, processing the job...
[2025-01-12 21:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:53:03] Production.ERROR: done
[2025-01-12 21:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 21:53:03] Production.INFO: count ==21
[2025-01-12 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-12 21:53:03] Production.INFO: count ==21
[2025-01-12 21:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234477') start
[2025-01-12 21:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:53:04] Production.ERROR: done
[2025-01-12 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234477') end
[2025-01-12 21:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:53:04] Production.INFO: 1
[2025-01-12 21:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:53:04] Production.INFO: Account Balance End.
[2025-01-12 21:53:04] Production.INFO: ==25063== Releasing lock...
[2025-01-12 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:53:04] Production.INFO: ==25058== Releasing lock...
[2025-01-12 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:53:04] Production.INFO: ==25054== Releasing lock...
[2025-01-12 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:53:05
[end_date_ymd] => 2025-01-12 21:53:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:53:05' and `end` < '2025-01-12 21:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:53:11] Production.ERROR: CronJobId end10
[2025-01-12 21:53:11] Production.INFO: ==25056== Releasing lock...
[2025-01-12 21:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:53:13] Production.INFO: call_cost start
[2025-01-12 21:53:13] Production.INFO: call_cost end
[2025-01-12 21:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:53:14] Production.INFO: ==25052== Releasing lock...
[2025-01-12 21:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:53:32] Production.INFO: count ==477
[2025-01-12 21:53:32] Production.ERROR: pbx CDR StartTime 2025-01-12 18:53:05 - End Time 2025-01-12 21:53:05
[2025-01-12 21:53:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:53:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234478', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:53:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234478', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:53:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234478', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:53:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234478', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:53:32] Production.INFO: ProcessCDR(1,14234478,1,1,2)
[2025-01-12 21:53:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:53:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:53:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:53:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:53:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234478', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:53:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234478', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:53:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:53:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:53:35] Production.INFO: ==25061== Releasing lock...
[2025-01-12 21:53:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:53:35] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 02:54:02] Production.INFO: ==25118== Lock acquired, processing the job...
[2025-01-13 02:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:54:02] Production.INFO: neon service started
[2025-01-13 02:54:02] Production.INFO: neon service started
[2025-01-13 02:54:02] Production.INFO: ==25118== Releasing lock...
[2025-01-13 02:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:54:02] Production.INFO: ==25123== Lock acquired, processing the job...
[2025-01-13 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:54:02] Production.INFO: ==25123== Releasing lock...
[2025-01-13 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:54:03] Production.INFO: ==25121== Lock acquired, processing the job...
[2025-01-12 21:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:54:03] Production.INFO: ==25121== Releasing lock...
[2025-01-12 21:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:54:04] Production.INFO: ==25125== Lock acquired, processing the job...
[2025-01-12 21:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:54:04] Production.INFO: ==25129== Lock acquired, processing the job...
[2025-01-12 21:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:54:04] Production.INFO: ==25133== Lock acquired, processing the job...
[2025-01-12 21:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:54:04] Production.INFO: ==25127== Lock acquired, processing the job...
[2025-01-12 21:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:54:04] Production.INFO: ==25135== Lock acquired, processing the job...
[2025-01-12 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:54:04] Production.INFO: ==25131== Lock acquired, processing the job...
[2025-01-12 21:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:54:04] Production.ERROR: done
[2025-01-12 21:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:54:04] Production.INFO: count ==21
[2025-01-12 21:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:54:04] Production.INFO: count ==21
[2025-01-12 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234481') start
[2025-01-12 21:54:04] Production.INFO: Account Balance Start.
[2025-01-12 21:54:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:54:04] Production.INFO: 117
[2025-01-12 21:54:04] Production.ERROR: done
[2025-01-12 21:54:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:54:04] Production.INFO: ==25127== Releasing lock...
[2025-01-12 21:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:54:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:54:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234481') end
[2025-01-12 21:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:54:04] Production.INFO: 1
[2025-01-12 21:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:54:04] Production.INFO: ==25135== Releasing lock...
[2025-01-12 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:54:05] Production.INFO: Date 2025-01-12
[2025-01-12 21:54:05] Production.INFO: Reseller ==> 0
[2025-01-12 21:54:05] Production.INFO: Total Charge 0
[2025-01-12 21:54:05] Production.INFO: CreateAllLog End
[2025-01-12 21:54:05] Production.INFO: Account Balance End.
[2025-01-12 21:54:05] Production.ERROR: CronJobId end 12
[2025-01-12 21:54:05] Production.INFO: ==25131== Releasing lock...
[2025-01-12 21:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:54:05
[end_date_ymd] => 2025-01-12 21:54:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:54:05' and `end` < '2025-01-12 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-12 21:54:11] Production.ERROR: CronJobId end10
[2025-01-12 21:54:11] Production.INFO: ==25129== Releasing lock...
[2025-01-12 21:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:54:14] Production.INFO: call_cost start
[2025-01-12 21:54:14] Production.INFO: call_cost end
[2025-01-12 21:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:54:15] Production.INFO: ==25125== Releasing lock...
[2025-01-12 21:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:54:35] Production.INFO: count ==479
[2025-01-12 21:54:35] Production.ERROR: pbx CDR StartTime 2025-01-12 18:54:05 - End Time 2025-01-12 21:54:05
[2025-01-12 21:54:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:54:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234483', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:54:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234483', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:54:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234483', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:54:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234483', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:54:35] Production.INFO: ProcessCDR(1,14234483,1,1,2)
[2025-01-12 21:54:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:54:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:54:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:54:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:54:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234483', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:54:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234483', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:54:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:54:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:54:38] Production.INFO: ==25133== Releasing lock...
[2025-01-12 21:54:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:54:38] Production.INFO: 32 MB #Memory Used#
[2025-01-13 02:55:02] Production.INFO: ==25191== Lock acquired, processing the job...
[2025-01-13 02:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:55:02] Production.INFO: neon service started
[2025-01-13 02:55:02] Production.INFO: neon service started
[2025-01-13 02:55:02] Production.INFO: ==25191== Releasing lock...
[2025-01-13 02:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:55:02] Production.INFO: ==25194== Lock acquired, processing the job...
[2025-01-12 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:55:02] Production.INFO: ==25194== Releasing lock...
[2025-01-12 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:55:02] Production.INFO: ==25196== Lock acquired, processing the job...
[2025-01-13 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:55:02] Production.INFO: ==25196== Releasing lock...
[2025-01-13 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:55:03] Production.INFO: ==25202== Lock acquired, processing the job...
[2025-01-12 21:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:55:03] Production.INFO: ==25198== Lock acquired, processing the job...
[2025-01-12 21:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:55:03] Production.INFO: ==25200== Lock acquired, processing the job...
[2025-01-12 21:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:55:03] Production.INFO: ==25208== Lock acquired, processing the job...
[2025-01-12 21:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:55:03] Production.INFO: ==25204== Lock acquired, processing the job...
[2025-01-12 21:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:55:03] Production.INFO: ==25206== Lock acquired, processing the job...
[2025-01-12 21:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:55:03] Production.INFO: Account Balance Start.
[2025-01-12 21:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:55:03] Production.INFO: 117
[2025-01-12 21:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:55:04] Production.INFO: count ==21
[2025-01-12 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:55:04] Production.INFO: count ==21
[2025-01-12 21:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:55:04] Production.INFO: ==25200== Releasing lock...
[2025-01-12 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234487') start
[2025-01-12 21:55:04] Production.INFO: Total Charge 0
[2025-01-12 21:55:04] Production.INFO: CreateAllLog End
[2025-01-12 21:55:04] Production.ERROR: done
[2025-01-12 21:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234487') end
[2025-01-12 21:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:55:04] Production.INFO: 1
[2025-01-12 21:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:55:04] Production.INFO: ==25208== Releasing lock...
[2025-01-12 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:55:04] Production.ERROR: done
[2025-01-12 21:55:04] Production.INFO: Account Balance End.
[2025-01-12 21:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:55:04] Production.INFO: ==25204== Releasing lock...
[2025-01-12 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:55:05
[end_date_ymd] => 2025-01-12 21:55:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:55:05' and `end` < '2025-01-12 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-12 21:55:11] Production.ERROR: CronJobId end10
[2025-01-12 21:55:11] Production.INFO: ==25202== Releasing lock...
[2025-01-12 21:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:55:14] Production.INFO: call_cost start
[2025-01-12 21:55:14] Production.INFO: call_cost end
[2025-01-12 21:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:55:14] Production.INFO: ==25198== Releasing lock...
[2025-01-12 21:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:55:38] Production.INFO: count ==475
[2025-01-12 21:55:38] Production.ERROR: pbx CDR StartTime 2025-01-12 18:55:05 - End Time 2025-01-12 21:55:05
[2025-01-12 21:55:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:55:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234488', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:55:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234488', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:55:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234488', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:55:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234488', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:55:38] Production.INFO: ProcessCDR(1,14234488,1,1,2)
[2025-01-12 21:55:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:55:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:55:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:55:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:55:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234488', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:55:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234488', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:55:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:55:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:55:41] Production.INFO: ==25206== Releasing lock...
[2025-01-12 21:55:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:55:41] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 02:56:01] Production.INFO: ==25264== Lock acquired, processing the job...
[2025-01-13 02:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:56:01] Production.INFO: neon service started
[2025-01-13 02:56:01] Production.INFO: neon service started
[2025-01-13 02:56:01] Production.INFO: ==25264== Releasing lock...
[2025-01-13 02:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:56:01] Production.INFO: ==25266== Lock acquired, processing the job...
[2025-01-12 21:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:56:02] Production.INFO: ==25266== Releasing lock...
[2025-01-12 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:56:02] Production.INFO: ==25268== Lock acquired, processing the job...
[2025-01-13 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:56:02] Production.INFO: ==25268== Releasing lock...
[2025-01-13 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:56:03] Production.INFO: ==25280== Lock acquired, processing the job...
[2025-01-12 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:56:03] Production.INFO: ==25278== Lock acquired, processing the job...
[2025-01-12 21:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-12 21:56:03] Production.INFO: ==25270== Lock acquired, processing the job...
[2025-01-12 21:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:56:03] Production.INFO: count ==21
[2025-01-12 21:56:03] Production.INFO: ==25272== Lock acquired, processing the job...
[2025-01-12 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-12 21:56:03] Production.INFO: count ==21
[2025-01-12 21:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234489') start
[2025-01-12 21:56:03] Production.INFO: ==25274== Lock acquired, processing the job...
[2025-01-12 21:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:56:03] Production.INFO: ==25276== Lock acquired, processing the job...
[2025-01-12 21:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234489') end
[2025-01-12 21:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:56:03] Production.INFO: 1
[2025-01-12 21:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:56:03] Production.INFO: Account Balance Start.
[2025-01-12 21:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:56:03] Production.INFO: 117
[2025-01-12 21:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:56:03] Production.INFO: ==25280== Releasing lock...
[2025-01-12 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:56:03] Production.ERROR: done
[2025-01-12 21:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:56:03] Production.INFO: Total Charge 0
[2025-01-12 21:56:03] Production.INFO: ==25272== Releasing lock...
[2025-01-12 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:56:03] Production.INFO: CreateAllLog End
[2025-01-12 21:56:03] Production.ERROR: done
[2025-01-12 21:56:04] Production.INFO: Account Balance End.
[2025-01-12 21:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:56:04] Production.INFO: ==25276== Releasing lock...
[2025-01-12 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:56:05
[end_date_ymd] => 2025-01-12 21:56:05
[RateCDR] => 1
)
[2025-01-12 21:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:56:05' and `end` < '2025-01-12 21:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:56:10] Production.ERROR: CronJobId end10
[2025-01-12 21:56:10] Production.INFO: ==25274== Releasing lock...
[2025-01-12 21:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:56:12] Production.INFO: call_cost start
[2025-01-12 21:56:12] Production.INFO: call_cost end
[2025-01-12 21:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:56:13] Production.INFO: ==25270== Releasing lock...
[2025-01-12 21:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:56:39] Production.INFO: count ==475
[2025-01-12 21:56:39] Production.ERROR: pbx CDR StartTime 2025-01-12 18:56:05 - End Time 2025-01-12 21:56:05
[2025-01-12 21:56:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:56:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234493', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:56:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234493', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:56:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234493', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:56:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234493', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:56:39] Production.INFO: ProcessCDR(1,14234493,1,1,2)
[2025-01-12 21:56:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:56:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:56:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:56:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:56:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234493', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:56:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234493', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:56:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:56:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:56:43] Production.INFO: ==25278== Releasing lock...
[2025-01-12 21:56:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:56:43] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 02:57:01] Production.INFO: ==25338== Lock acquired, processing the job...
[2025-01-13 02:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:57:02] Production.INFO: neon service started
[2025-01-13 02:57:02] Production.INFO: neon service started
[2025-01-13 02:57:02] Production.INFO: ==25338== Releasing lock...
[2025-01-13 02:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:57:02] Production.INFO: ==25340== Lock acquired, processing the job...
[2025-01-12 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:57:02] Production.INFO: ==25340== Releasing lock...
[2025-01-12 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:57:02] Production.INFO: ==25342== Lock acquired, processing the job...
[2025-01-13 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:57:02] Production.INFO: ==25342== Releasing lock...
[2025-01-13 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:57:03] Production.INFO: ==25354== Lock acquired, processing the job...
[2025-01-12 21:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:57:03] Production.INFO: ==25352== Lock acquired, processing the job...
[2025-01-12 21:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:57:03] Production.INFO: ==25344== Lock acquired, processing the job...
[2025-01-12 21:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 21:57:04] Production.INFO: ==25346== Lock acquired, processing the job...
[2025-01-12 21:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:57:04] Production.INFO: count ==21
[2025-01-12 21:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:57:04] Production.INFO: count ==21
[2025-01-12 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234494') start
[2025-01-12 21:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:57:04] Production.INFO: ==25348== Lock acquired, processing the job...
[2025-01-12 21:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:57:04] Production.INFO: ==25350== Lock acquired, processing the job...
[2025-01-12 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234494') end
[2025-01-12 21:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:57:04] Production.INFO: 1
[2025-01-12 21:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:57:04] Production.ERROR: done
[2025-01-12 21:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:57:04] Production.INFO: ==25354== Releasing lock...
[2025-01-12 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:57:04] Production.INFO: Account Balance Start.
[2025-01-12 21:57:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:57:04] Production.INFO: 117
[2025-01-12 21:57:04] Production.INFO: ==25346== Releasing lock...
[2025-01-12 21:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:57:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:57:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:57:04] Production.ERROR: done
[2025-01-12 21:57:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:57:04] Production.INFO: Total Charge 0
[2025-01-12 21:57:04] Production.INFO: CreateAllLog End
[2025-01-12 21:57:04] Production.INFO: Account Balance End.
[2025-01-12 21:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:57:04] Production.INFO: ==25350== Releasing lock...
[2025-01-12 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:57:05
[end_date_ymd] => 2025-01-12 21:57:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:57:05' and `end` < '2025-01-12 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-12 21:57:11] Production.ERROR: CronJobId end10
[2025-01-12 21:57:11] Production.INFO: ==25348== Releasing lock...
[2025-01-12 21:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:57:14] Production.INFO: call_cost start
[2025-01-12 21:57:14] Production.INFO: call_cost end
[2025-01-12 21:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:57:14] Production.INFO: ==25344== Releasing lock...
[2025-01-12 21:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:57:38] Production.INFO: count ==481
[2025-01-12 21:57:38] Production.ERROR: pbx CDR StartTime 2025-01-12 18:57:05 - End Time 2025-01-12 21:57:05
[2025-01-12 21:57:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:57:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234498', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:57:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234498', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:57:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234498', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:57:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234498', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:57:38] Production.INFO: ProcessCDR(1,14234498,1,1,2)
[2025-01-12 21:57:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:57:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:57:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:57:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:57:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234498', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:57:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234498', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:57:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:57:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:57:42] Production.INFO: ==25352== Releasing lock...
[2025-01-12 21:57:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:57:42] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:58:01] Production.INFO: ==25413== Lock acquired, processing the job...
[2025-01-13 02:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:58:01] Production.INFO: neon service started
[2025-01-13 02:58:01] Production.INFO: neon service started
[2025-01-13 02:58:01] Production.INFO: ==25413== Releasing lock...
[2025-01-13 02:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:58:01] Production.INFO: ==25415== Lock acquired, processing the job...
[2025-01-12 21:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:58:02] Production.INFO: ==25417== Lock acquired, processing the job...
[2025-01-13 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:58:02] Production.INFO: ==25417== Releasing lock...
[2025-01-13 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:58:02] Production.INFO: ==25415== Releasing lock...
[2025-01-12 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:58:02] Production.INFO: ==25419== Lock acquired, processing the job...
[2025-01-12 21:58:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:58:03] Production.INFO: ==25421== Lock acquired, processing the job...
[2025-01-12 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:58:03] Production.INFO: ==25423== Lock acquired, processing the job...
[2025-01-12 21:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:58:03] Production.INFO: ==25427== Lock acquired, processing the job...
[2025-01-12 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:58:03] Production.INFO: ==25430== Lock acquired, processing the job...
[2025-01-12 21:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:58:03] Production.INFO: ==25432== Lock acquired, processing the job...
[2025-01-12 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:58:03] Production.INFO: Account Balance Start.
[2025-01-12 21:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 21:58:03] Production.INFO: 117
[2025-01-12 21:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:58:03] Production.INFO: count ==21
[2025-01-12 21:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:58:03] Production.INFO: count ==21
[2025-01-12 21:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234502') start
[2025-01-12 21:58:03] Production.INFO: ==25421== Releasing lock...
[2025-01-12 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234502') end
[2025-01-12 21:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:58:03] Production.INFO: 1
[2025-01-12 21:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 21:58:03] Production.INFO: Total Charge 0
[2025-01-12 21:58:03] Production.INFO: CreateAllLog End
[2025-01-12 21:58:03] Production.INFO: ==25432== Releasing lock...
[2025-01-12 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:58:03] Production.ERROR: done
[2025-01-12 21:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:58:03] Production.INFO: Account Balance End.
[2025-01-12 21:58:03] Production.ERROR: CronJobId end 12
[2025-01-12 21:58:03] Production.INFO: ==25427== Releasing lock...
[2025-01-12 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:58:03] Production.ERROR: done
[2025-01-12 21:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:58:04
[end_date_ymd] => 2025-01-12 21:58:04
[RateCDR] => 1
)
[2025-01-12 21:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 18:58:04' and `end` < '2025-01-12 21:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 21:58:11] Production.ERROR: CronJobId end10
[2025-01-12 21:58:11] Production.INFO: ==25423== Releasing lock...
[2025-01-12 21:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:58:13] Production.INFO: call_cost start
[2025-01-12 21:58:13] Production.INFO: call_cost end
[2025-01-12 21:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:58:14] Production.INFO: ==25419== Releasing lock...
[2025-01-12 21:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:58:42] Production.INFO: count ==481
[2025-01-12 21:58:43] Production.ERROR: pbx CDR StartTime 2025-01-12 18:58:04 - End Time 2025-01-12 21:58:04
[2025-01-12 21:58:43] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:58:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234503', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:58:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234503', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:58:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234503', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:58:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234503', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:58:43] Production.INFO: ProcessCDR(1,14234503,1,1,2)
[2025-01-12 21:58:43] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:58:44] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:58:44] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:58:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:58:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234503', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:58:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234503', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:58:46] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:58:46] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:58:46] Production.INFO: ==25430== Releasing lock...
[2025-01-12 21:58:46] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:58:46] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 02:59:02] Production.INFO: ==25493== Lock acquired, processing the job...
[2025-01-13 02:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 02:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 02:59:02] Production.INFO: neon service started
[2025-01-13 02:59:02] Production.INFO: neon service started
[2025-01-13 02:59:02] Production.INFO: ==25493== Releasing lock...
[2025-01-13 02:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 02:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:59:02] Production.INFO: ==25498== Lock acquired, processing the job...
[2025-01-13 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:59:02] Production.INFO: ==25498== Releasing lock...
[2025-01-13 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 02:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 21:59:02] Production.INFO: ==25496== Lock acquired, processing the job...
[2025-01-12 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:59:03] Production.INFO: ==25496== Releasing lock...
[2025-01-12 21:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 21:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:59:03] Production.INFO: ==25500== Lock acquired, processing the job...
[2025-01-12 21:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 21:59:03] Production.INFO: ==25502== Lock acquired, processing the job...
[2025-01-12 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 21:59:04] Production.INFO: ==25506== Lock acquired, processing the job...
[2025-01-12 21:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 21:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 21:59:04] Production.INFO: ==25504== Lock acquired, processing the job...
[2025-01-12 21:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 21:59:04] Production.INFO: Account Balance Start.
[2025-01-12 21:59:04] Production.INFO: CreateAllLog Start
[2025-01-12 21:59:04] Production.INFO: 117
[2025-01-12 21:59:04] Production.INFO: Date 2025-01-08
[2025-01-12 21:59:04] Production.INFO: ==25508== Lock acquired, processing the job...
[2025-01-12 21:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:59:04] Production.INFO: Date 2025-01-09
[2025-01-12 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 21:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 21:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 21:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 21:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 21:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:59:04] Production.INFO: ==25510== Lock acquired, processing the job...
[2025-01-12 21:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 21:59:04] Production.INFO: ==25502== Releasing lock...
[2025-01-12 21:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 21:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 21:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 21:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 21:59:04] Production.INFO: Total Charge 0
[2025-01-12 21:59:04] Production.INFO: CreateAllLog End
[2025-01-12 21:59:04] Production.ERROR: done
[2025-01-12 21:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 21:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 21:59:04] Production.INFO: Account Balance End.
[2025-01-12 21:59:04] Production.INFO: count ==21
[2025-01-12 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-12 21:59:04] Production.INFO: count ==21
[2025-01-12 21:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 21:59:04] Production.ERROR: done
[2025-01-12 21:59:04] Production.INFO: ==25506== Releasing lock...
[2025-01-12 21:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 21:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234507') start
[2025-01-12 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234507') end
[2025-01-12 21:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 21:59:04] Production.INFO: 1
[2025-01-12 21:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 21:59:05] Production.INFO: ==25510== Releasing lock...
[2025-01-12 21:59:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 21:59:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 21:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 18:59:05
[end_date_ymd] => 2025-01-12 21:59:05
[RateCDR] => 1
)
[2025-01-12 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-12 18:59:05' and `end` < '2025-01-12 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-12 21:59:11] Production.ERROR: CronJobId end10
[2025-01-12 21:59:11] Production.INFO: ==25504== Releasing lock...
[2025-01-12 21:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 21:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 21:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 21:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 21:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 21:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 21:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 21:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 21:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 21:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 21:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 21:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 21:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 21:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 21:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 21:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 21:59:14] Production.INFO: call_cost start
[2025-01-12 21:59:14] Production.INFO: call_cost end
[2025-01-12 21:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 21:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 21:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 21:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 21:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 21:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 21:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 21:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 21:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 21:59:14] Production.INFO: ==25500== Releasing lock...
[2025-01-12 21:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 21:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 21:59:39] Production.INFO: count ==481
[2025-01-12 21:59:39] Production.ERROR: pbx CDR StartTime 2025-01-12 18:59:05 - End Time 2025-01-12 21:59:05
[2025-01-12 21:59:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 21:59:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234508', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:59:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234508', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:59:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234508', 'tblTempVendorCDR_20' ) start
[2025-01-12 21:59:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234508', 'tblTempVendorCDR_20' ) end
[2025-01-12 21:59:40] Production.INFO: ProcessCDR(1,14234508,1,1,2)
[2025-01-12 21:59:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:59:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 21:59:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:59:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 21:59:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234508', 'tblTempUsageDetail_20' ) start
[2025-01-12 21:59:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234508', 'tblTempUsageDetail_20' ) end
[2025-01-12 21:59:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 21:59:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 21:59:43] Production.INFO: ==25508== Releasing lock...
[2025-01-12 21:59:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 21:59:43] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:00:01] Production.INFO: ==25565== Lock acquired, processing the job...
[2025-01-13 03:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:00:01] Production.INFO: neon service started
[2025-01-13 03:00:01] Production.INFO: neon service started
[2025-01-13 03:00:01] Production.INFO: ==25565== Releasing lock...
[2025-01-13 03:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:00:02] Production.INFO: ==25567== Lock acquired, processing the job...
[2025-01-12 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:00:02] Production.INFO: ==25569== Lock acquired, processing the job...
[2025-01-13 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:00:02] Production.INFO: ==25569== Releasing lock...
[2025-01-13 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:00:02] Production.INFO: ==25567== Releasing lock...
[2025-01-12 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:00:03] Production.INFO: ==25572== Lock acquired, processing the job...
[2025-01-12 22:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 22:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 22:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 22:00:03] Production.INFO: ==25572== Releasing lock...
[2025-01-12 22:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 22:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 22:00:03] Production.INFO: ==25574== Lock acquired, processing the job...
[2025-01-12 22:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:00:03] Production.INFO: ==25576== Lock acquired, processing the job...
[2025-01-12 22:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:00:04] Production.INFO: ==25578== Lock acquired, processing the job...
[2025-01-12 22:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:00:04] Production.INFO: ==25580== Lock acquired, processing the job...
[2025-01-12 22:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-01-12 22:00:04] Production.INFO: ==25582== Lock acquired, processing the job...
[2025-01-12 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:00:04] Production.INFO: ==25584== Lock acquired, processing the job...
[2025-01-12 22:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:00:04] Production.INFO: ==25586== Lock acquired, processing the job...
[2025-01-12 22:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:00:04] Production.INFO: ==25588== Lock acquired, processing the job...
[2025-01-12 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: Account Balance Start.
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: 117
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-01-12 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:00:04] Production.INFO: ==25576== Releasing lock...
[2025-01-12 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: count ==21
[2025-01-12 22:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: count ==21
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-01-12 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234512') start
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-01-12 22:00:04] Production.ERROR: done
[2025-01-12 22:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 3
[2025-01-12 22:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234512') end
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:00:04] Production.INFO: 1
[2025-01-12 22:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.INFO: Total Charge 0
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: CreateAllLog End
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 5
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 0
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-01-12 22:00:04] Production.ERROR: done
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: ==25588== Releasing lock...
[2025-01-12 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '207', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 20
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 17
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-01-12 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-01-12 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-01-12 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-01-12 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-01-12 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:05] Production.INFO: PaymentMethod - 0
[2025-01-12 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-01-12 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-12 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-01-12 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 22:00:05] Production.ERROR: done
[2025-01-12 22:00:05] Production.INFO: Account Balance End.
[2025-01-12 22:00:05] Production.ERROR: CronJobId end 12
[2025-01-12 22:00:05] Production.INFO: ==25582== Releasing lock...
[2025-01-12 22:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 22:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234514', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 22:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:00:05
[end_date_ymd] => 2025-01-12 22:00:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:00:05' and `end` < '2025-01-12 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-12 22:00:06] Production.ERROR: CronJobId end11
[2025-01-12 22:00:06] Production.INFO: ==25580== Releasing lock...
[2025-01-12 22:00:06] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-01-12 22:00:06] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 22:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234514', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 22:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 22:00:09] Production.INFO: ProcessCDR(1,14234514,1,1,2)
[2025-01-12 22:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234514,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234514,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:00:09] Production.INFO: ==25586== Releasing lock...
[2025-01-12 22:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 22:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 22:00:14] Production.ERROR: CronJobId end10
[2025-01-12 22:00:14] Production.INFO: ==25578== Releasing lock...
[2025-01-12 22:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:00:16] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:00:16] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:00:16] Production.INFO: call_cost start
[2025-01-12 22:00:16] Production.INFO: call_cost end
[2025-01-12 22:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:00:17] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:00:17] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:00:17] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:00:17] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:00:17] Production.INFO: ==25574== Releasing lock...
[2025-01-12 22:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:00:40] Production.INFO: count ==477
[2025-01-12 22:00:40] Production.ERROR: pbx CDR StartTime 2025-01-12 19:00:05 - End Time 2025-01-12 22:00:05
[2025-01-12 22:00:40] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:00:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234513', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:00:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234513', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:00:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234513', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:00:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234513', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:00:40] Production.INFO: ProcessCDR(1,14234513,1,1,2)
[2025-01-12 22:00:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:00:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:00:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:00:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:00:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234513', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:00:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234513', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:00:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:00:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:00:43] Production.INFO: ==25584== Releasing lock...
[2025-01-12 22:00:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:00:43] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:01:02] Production.INFO: ==25645== Lock acquired, processing the job...
[2025-01-13 03:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:01:02] Production.INFO: neon service started
[2025-01-13 03:01:02] Production.INFO: neon service started
[2025-01-13 03:01:02] Production.INFO: ==25645== Releasing lock...
[2025-01-13 03:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:01:02] Production.INFO: ==25656== Lock acquired, processing the job...
[2025-01-12 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:01:02] Production.INFO: ==25656== Releasing lock...
[2025-01-12 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:01:02] Production.INFO: ==25658== Lock acquired, processing the job...
[2025-01-13 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:01:02] Production.INFO: ==25658== Releasing lock...
[2025-01-13 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:01:03] Production.INFO: ==25665== Lock acquired, processing the job...
[2025-01-12 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:01:03] Production.INFO: ==25661== Lock acquired, processing the job...
[2025-01-12 22:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:01:03] Production.INFO: ==25671== Lock acquired, processing the job...
[2025-01-12 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 22:01:03] Production.INFO: ==25663== Lock acquired, processing the job...
[2025-01-12 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:01:03] Production.INFO: count ==21
[2025-01-12 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-12 22:01:03] Production.INFO: count ==21
[2025-01-12 22:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234515') start
[2025-01-12 22:01:03] Production.INFO: ==25667== Lock acquired, processing the job...
[2025-01-12 22:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234515') end
[2025-01-12 22:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:01:04] Production.INFO: 1
[2025-01-12 22:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:01:04] Production.INFO: ==25669== Lock acquired, processing the job...
[2025-01-12 22:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:01:04] Production.INFO: Account Balance Start.
[2025-01-12 22:01:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:01:04] Production.INFO: 117
[2025-01-12 22:01:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:01:04] Production.INFO: ==25671== Releasing lock...
[2025-01-12 22:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:01:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:01:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:01:04] Production.INFO: ==25663== Releasing lock...
[2025-01-12 22:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:01:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:01:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:01:04] Production.INFO: Total Charge 0
[2025-01-12 22:01:04] Production.INFO: CreateAllLog End
[2025-01-12 22:01:04] Production.ERROR: done
[2025-01-12 22:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:01:04] Production.ERROR: done
[2025-01-12 22:01:04] Production.INFO: Account Balance End.
[2025-01-12 22:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:01:04] Production.INFO: ==25667== Releasing lock...
[2025-01-12 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:01:05
[end_date_ymd] => 2025-01-12 22:01:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:01:05' and `end` < '2025-01-12 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-12 22:01:11] Production.ERROR: CronJobId end10
[2025-01-12 22:01:11] Production.INFO: ==25665== Releasing lock...
[2025-01-12 22:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:01:14] Production.INFO: call_cost start
[2025-01-12 22:01:14] Production.INFO: call_cost end
[2025-01-12 22:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:01:15] Production.INFO: ==25661== Releasing lock...
[2025-01-12 22:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:01:41] Production.INFO: count ==493
[2025-01-12 22:01:41] Production.ERROR: pbx CDR StartTime 2025-01-12 19:01:05 - End Time 2025-01-12 22:01:05
[2025-01-12 22:01:41] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:01:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234519', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:01:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234519', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:01:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234519', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:01:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234519', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:01:41] Production.INFO: ProcessCDR(1,14234519,1,1,2)
[2025-01-12 22:01:41] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:01:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:01:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:01:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:01:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234519', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:01:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234519', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:01:45] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:01:45] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:01:45] Production.INFO: ==25669== Releasing lock...
[2025-01-12 22:01:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:01:45] Production.INFO: 32 MB #Memory Used#
[2025-01-13 03:02:01] Production.INFO: ==25726== Lock acquired, processing the job...
[2025-01-13 03:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:02:01] Production.INFO: neon service started
[2025-01-13 03:02:01] Production.INFO: neon service started
[2025-01-13 03:02:01] Production.INFO: ==25726== Releasing lock...
[2025-01-13 03:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:02:01] Production.INFO: ==25728== Lock acquired, processing the job...
[2025-01-12 22:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:02:02] Production.INFO: ==25730== Lock acquired, processing the job...
[2025-01-13 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:02:02] Production.INFO: ==25730== Releasing lock...
[2025-01-13 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:02:02] Production.INFO: ==25728== Releasing lock...
[2025-01-12 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:02:02] Production.INFO: ==25732== Lock acquired, processing the job...
[2025-01-12 22:02:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:02:03] Production.INFO: ==25736== Lock acquired, processing the job...
[2025-01-12 22:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:02:03] Production.INFO: ==25734== Lock acquired, processing the job...
[2025-01-12 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:02:03] Production.INFO: ==25740== Lock acquired, processing the job...
[2025-01-12 22:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:02:03] Production.INFO: ==25738== Lock acquired, processing the job...
[2025-01-12 22:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:02:03] Production.INFO: Account Balance Start.
[2025-01-12 22:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:02:03] Production.INFO: 117
[2025-01-12 22:02:03] Production.INFO: ==25743== Lock acquired, processing the job...
[2025-01-12 22:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:02:03] Production.ERROR: done
[2025-01-12 22:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:02:03] Production.INFO: count ==21
[2025-01-12 22:02:03] Production.INFO: ==25734== Releasing lock...
[2025-01-12 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:02:03] Production.INFO: count ==21
[2025-01-12 22:02:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234523') start
[2025-01-12 22:02:03] Production.ERROR: done
[2025-01-12 22:02:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234523') end
[2025-01-12 22:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:02:03] Production.INFO: 1
[2025-01-12 22:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:02:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:02:03] Production.INFO: ==25743== Releasing lock...
[2025-01-12 22:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:02:03] Production.INFO: Total Charge 0
[2025-01-12 22:02:03] Production.INFO: CreateAllLog End
[2025-01-12 22:02:04] Production.INFO: Account Balance End.
[2025-01-12 22:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:02:04] Production.INFO: ==25738== Releasing lock...
[2025-01-12 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:02:04
[end_date_ymd] => 2025-01-12 22:02:04
[RateCDR] => 1
)
[2025-01-12 22:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:02:04' and `end` < '2025-01-12 22:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:02:10] Production.ERROR: CronJobId end10
[2025-01-12 22:02:10] Production.INFO: ==25736== Releasing lock...
[2025-01-12 22:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:02:12] Production.INFO: call_cost start
[2025-01-12 22:02:12] Production.INFO: call_cost end
[2025-01-12 22:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:02:13] Production.INFO: ==25732== Releasing lock...
[2025-01-12 22:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:02:44] Production.INFO: count ==484
[2025-01-12 22:02:44] Production.ERROR: pbx CDR StartTime 2025-01-12 19:02:04 - End Time 2025-01-12 22:02:04
[2025-01-12 22:02:44] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:02:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234524', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:02:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234524', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:02:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234524', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:02:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234524', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:02:44] Production.INFO: ProcessCDR(1,14234524,1,1,2)
[2025-01-12 22:02:44] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:02:45] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:02:45] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:02:47] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:02:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234524', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:02:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234524', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:02:47] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:02:47] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:02:47] Production.INFO: ==25740== Releasing lock...
[2025-01-12 22:02:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:02:47] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:03:01] Production.INFO: ==25797== Lock acquired, processing the job...
[2025-01-13 03:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:03:01] Production.INFO: neon service started
[2025-01-13 03:03:01] Production.INFO: neon service started
[2025-01-13 03:03:01] Production.INFO: ==25797== Releasing lock...
[2025-01-13 03:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:03:02] Production.INFO: ==25801== Lock acquired, processing the job...
[2025-01-13 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:03:02] Production.INFO: ==25801== Releasing lock...
[2025-01-13 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:03:02] Production.INFO: ==25799== Lock acquired, processing the job...
[2025-01-12 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:03:02] Production.INFO: ==25799== Releasing lock...
[2025-01-12 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:03:03] Production.INFO: ==25804== Lock acquired, processing the job...
[2025-01-12 22:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:03:03] Production.INFO: ==25806== Lock acquired, processing the job...
[2025-01-12 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:03:03] Production.INFO: ==25808== Lock acquired, processing the job...
[2025-01-12 22:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:03:03] Production.INFO: ==25810== Lock acquired, processing the job...
[2025-01-12 22:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:03:03] Production.INFO: ==25812== Lock acquired, processing the job...
[2025-01-12 22:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:03:03] Production.INFO: ==25806== Releasing lock...
[2025-01-12 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:03:03] Production.INFO: ==25814== Lock acquired, processing the job...
[2025-01-12 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:03:03] Production.INFO: Account Balance Start.
[2025-01-12 22:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:03:03] Production.INFO: 117
[2025-01-12 22:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:03:03] Production.INFO: count ==21
[2025-01-12 22:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:03:04] Production.INFO: count ==21
[2025-01-12 22:03:04] Production.INFO: Total Charge 0
[2025-01-12 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234528') start
[2025-01-12 22:03:04] Production.INFO: CreateAllLog End
[2025-01-12 22:03:04] Production.ERROR: done
[2025-01-12 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234528') end
[2025-01-12 22:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:03:04] Production.INFO: 1
[2025-01-12 22:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:03:04] Production.INFO: ==25814== Releasing lock...
[2025-01-12 22:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:03:04] Production.ERROR: done
[2025-01-12 22:03:04] Production.INFO: Account Balance End.
[2025-01-12 22:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:03:04] Production.INFO: ==25810== Releasing lock...
[2025-01-12 22:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:03:05
[end_date_ymd] => 2025-01-12 22:03:05
[RateCDR] => 1
)
[2025-01-12 22:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:03:05' and `end` < '2025-01-12 22:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:03:11] Production.ERROR: CronJobId end10
[2025-01-12 22:03:11] Production.INFO: ==25808== Releasing lock...
[2025-01-12 22:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:03:13] Production.INFO: call_cost start
[2025-01-12 22:03:13] Production.INFO: call_cost end
[2025-01-12 22:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:03:14] Production.INFO: ==25804== Releasing lock...
[2025-01-12 22:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:03:43] Production.INFO: count ==472
[2025-01-12 22:03:43] Production.ERROR: pbx CDR StartTime 2025-01-12 19:03:05 - End Time 2025-01-12 22:03:05
[2025-01-12 22:03:43] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:03:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234529', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:03:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234529', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:03:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234529', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:03:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234529', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:03:43] Production.INFO: ProcessCDR(1,14234529,1,1,2)
[2025-01-12 22:03:43] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:03:44] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:03:44] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:03:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:03:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234529', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:03:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234529', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:03:46] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:03:46] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:03:46] Production.INFO: ==25812== Releasing lock...
[2025-01-12 22:03:46] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:03:46] Production.INFO: 32 MB #Memory Used#
[2025-01-13 03:04:01] Production.INFO: ==25867== Lock acquired, processing the job...
[2025-01-13 03:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:04:01] Production.INFO: neon service started
[2025-01-13 03:04:01] Production.INFO: neon service started
[2025-01-13 03:04:01] Production.INFO: ==25867== Releasing lock...
[2025-01-13 03:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:04:02] Production.INFO: ==25869== Lock acquired, processing the job...
[2025-01-12 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:04:02] Production.INFO: ==25871== Lock acquired, processing the job...
[2025-01-13 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:04:02] Production.INFO: ==25871== Releasing lock...
[2025-01-13 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:04:02] Production.INFO: ==25869== Releasing lock...
[2025-01-12 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:04:03] Production.INFO: ==25878== Lock acquired, processing the job...
[2025-01-12 22:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:04:03] Production.INFO: ==25874== Lock acquired, processing the job...
[2025-01-12 22:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:04:03] Production.INFO: ==25882== Lock acquired, processing the job...
[2025-01-12 22:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:04:03] Production.INFO: ==25876== Lock acquired, processing the job...
[2025-01-12 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:04:03] Production.INFO: ==25880== Lock acquired, processing the job...
[2025-01-12 22:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:04:03] Production.INFO: Account Balance Start.
[2025-01-12 22:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:04:03] Production.INFO: 117
[2025-01-12 22:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:04:03] Production.INFO: ==25884== Lock acquired, processing the job...
[2025-01-12 22:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:04:03] Production.INFO: ==25876== Releasing lock...
[2025-01-12 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:04:04] Production.INFO: Total Charge 0
[2025-01-12 22:04:04] Production.INFO: CreateAllLog End
[2025-01-12 22:04:04] Production.ERROR: done
[2025-01-12 22:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:04:04] Production.INFO: count ==21
[2025-01-12 22:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:04:04] Production.INFO: count ==21
[2025-01-12 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234533') start
[2025-01-12 22:04:04] Production.ERROR: done
[2025-01-12 22:04:04] Production.INFO: Account Balance End.
[2025-01-12 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234533') end
[2025-01-12 22:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:04:04] Production.INFO: 1
[2025-01-12 22:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:04:04] Production.INFO: ==25880== Releasing lock...
[2025-01-12 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:04:04] Production.INFO: ==25884== Releasing lock...
[2025-01-12 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:04:05
[end_date_ymd] => 2025-01-12 22:04:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:04:05' and `end` < '2025-01-12 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-12 22:04:10] Production.ERROR: CronJobId end10
[2025-01-12 22:04:10] Production.INFO: ==25878== Releasing lock...
[2025-01-12 22:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:04:13] Production.INFO: call_cost start
[2025-01-12 22:04:13] Production.INFO: call_cost end
[2025-01-12 22:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:04:14] Production.INFO: ==25874== Releasing lock...
[2025-01-12 22:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:04:38] Production.INFO: count ==470
[2025-01-12 22:04:38] Production.ERROR: pbx CDR StartTime 2025-01-12 19:04:05 - End Time 2025-01-12 22:04:05
[2025-01-12 22:04:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:04:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234534', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:04:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234534', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:04:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234534', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:04:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234534', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:04:38] Production.INFO: ProcessCDR(1,14234534,1,1,2)
[2025-01-12 22:04:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:04:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:04:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:04:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:04:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234534', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:04:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234534', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:04:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:04:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:04:41] Production.INFO: ==25882== Releasing lock...
[2025-01-12 22:04:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:04:41] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:05:02] Production.INFO: ==25978== Lock acquired, processing the job...
[2025-01-13 03:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:05:02] Production.INFO: neon service started
[2025-01-13 03:05:02] Production.INFO: neon service started
[2025-01-13 03:05:02] Production.INFO: ==25978== Releasing lock...
[2025-01-13 03:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:05:02] Production.INFO: ==25980== Lock acquired, processing the job...
[2025-01-12 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:05:02] Production.INFO: ==25982== Lock acquired, processing the job...
[2025-01-13 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 22:05:02] Production.INFO: ==25980== Releasing lock...
[2025-01-12 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:05:02] Production.INFO: ==25982== Releasing lock...
[2025-01-13 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:05:03] Production.INFO: ==25985== Lock acquired, processing the job...
[2025-01-12 22:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:05:03] Production.INFO: ==25987== Lock acquired, processing the job...
[2025-01-12 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:05:03] Production.INFO: ==25991== Lock acquired, processing the job...
[2025-01-12 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:05:03] Production.INFO: ==25989== Lock acquired, processing the job...
[2025-01-12 22:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:05:03] Production.INFO: Account Balance Start.
[2025-01-12 22:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:05:03] Production.INFO: 117
[2025-01-12 22:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:05:03] Production.INFO: ==25993== Lock acquired, processing the job...
[2025-01-12 22:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:05:03] Production.INFO: ==25987== Releasing lock...
[2025-01-12 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:05:04] Production.INFO: ==25995== Lock acquired, processing the job...
[2025-01-12 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:05:04] Production.INFO: Total Charge 0
[2025-01-12 22:05:04] Production.INFO: CreateAllLog End
[2025-01-12 22:05:04] Production.ERROR: done
[2025-01-12 22:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-12 22:05:04] Production.INFO: Account Balance End.
[2025-01-12 22:05:04] Production.INFO: count ==21
[2025-01-12 22:05:04] Production.ERROR: done
[2025-01-12 22:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:05:04] Production.INFO: ==25991== Releasing lock...
[2025-01-12 22:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-12 22:05:04] Production.INFO: count ==21
[2025-01-12 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234538') start
[2025-01-12 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234538') end
[2025-01-12 22:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:05:04] Production.INFO: 1
[2025-01-12 22:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:05:04] Production.INFO: ==25995== Releasing lock...
[2025-01-12 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:05:05
[end_date_ymd] => 2025-01-12 22:05:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:05:05' and `end` < '2025-01-12 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-12 22:05:12] Production.ERROR: CronJobId end10
[2025-01-12 22:05:12] Production.INFO: ==25989== Releasing lock...
[2025-01-12 22:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:05:14] Production.INFO: call_cost start
[2025-01-12 22:05:14] Production.INFO: call_cost end
[2025-01-12 22:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:05:15] Production.INFO: ==25985== Releasing lock...
[2025-01-12 22:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:05:37] Production.INFO: count ==467
[2025-01-12 22:05:37] Production.ERROR: pbx CDR StartTime 2025-01-12 19:05:05 - End Time 2025-01-12 22:05:05
[2025-01-12 22:05:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:05:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234539', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:05:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234539', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:05:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234539', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:05:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234539', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:05:37] Production.INFO: ProcessCDR(1,14234539,1,1,2)
[2025-01-12 22:05:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:05:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:05:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:05:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:05:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234539', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:05:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234539', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:05:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:05:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:05:40] Production.INFO: ==25993== Releasing lock...
[2025-01-12 22:05:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:05:40] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:06:01] Production.INFO: ==26048== Lock acquired, processing the job...
[2025-01-13 03:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:06:01] Production.INFO: neon service started
[2025-01-13 03:06:01] Production.INFO: neon service started
[2025-01-13 03:06:01] Production.INFO: ==26048== Releasing lock...
[2025-01-13 03:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:06:02] Production.INFO: ==26050== Lock acquired, processing the job...
[2025-01-12 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:06:02] Production.INFO: ==26052== Lock acquired, processing the job...
[2025-01-13 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:06:02] Production.INFO: ==26052== Releasing lock...
[2025-01-13 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:06:02] Production.INFO: ==26050== Releasing lock...
[2025-01-12 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:06:03] Production.INFO: ==26055== Lock acquired, processing the job...
[2025-01-12 22:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:06:03] Production.INFO: ==26059== Lock acquired, processing the job...
[2025-01-12 22:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:06:03] Production.INFO: ==26057== Lock acquired, processing the job...
[2025-01-12 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:06:03] Production.INFO: ==26061== Lock acquired, processing the job...
[2025-01-12 22:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:06:03] Production.INFO: ==26063== Lock acquired, processing the job...
[2025-01-12 22:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:06:03] Production.INFO: ==26065== Lock acquired, processing the job...
[2025-01-12 22:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:06:03] Production.INFO: Account Balance Start.
[2025-01-12 22:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:06:03] Production.INFO: 117
[2025-01-12 22:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-12 22:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:06:04] Production.INFO: count ==21
[2025-01-12 22:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:06:04] Production.INFO: count ==21
[2025-01-12 22:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:06:04] Production.INFO: ==26057== Releasing lock...
[2025-01-12 22:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234543') start
[2025-01-12 22:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234543') end
[2025-01-12 22:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:06:04] Production.INFO: 1
[2025-01-12 22:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:06:04] Production.ERROR: done
[2025-01-12 22:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:06:04] Production.INFO: Total Charge 0
[2025-01-12 22:06:04] Production.INFO: CreateAllLog End
[2025-01-12 22:06:04] Production.INFO: ==26065== Releasing lock...
[2025-01-12 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:06:04] Production.ERROR: done
[2025-01-12 22:06:04] Production.INFO: Account Balance End.
[2025-01-12 22:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:06:04] Production.INFO: ==26061== Releasing lock...
[2025-01-12 22:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:06:05
[end_date_ymd] => 2025-01-12 22:06:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:06:05' and `end` < '2025-01-12 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-12 22:06:14] Production.ERROR: CronJobId end10
[2025-01-12 22:06:14] Production.INFO: ==26059== Releasing lock...
[2025-01-12 22:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:06:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:06:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:06:15] Production.INFO: call_cost start
[2025-01-12 22:06:15] Production.INFO: call_cost end
[2025-01-12 22:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:06:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:06:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:06:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:06:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:06:16] Production.INFO: ==26055== Releasing lock...
[2025-01-12 22:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:06:37] Production.INFO: count ==467
[2025-01-12 22:06:38] Production.ERROR: pbx CDR StartTime 2025-01-12 19:06:05 - End Time 2025-01-12 22:06:05
[2025-01-12 22:06:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:06:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234544', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:06:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234544', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:06:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234544', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:06:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234544', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:06:38] Production.INFO: ProcessCDR(1,14234544,1,1,2)
[2025-01-12 22:06:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:06:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:06:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:06:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:06:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234544', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:06:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234544', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:06:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:06:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:06:41] Production.INFO: ==26063== Releasing lock...
[2025-01-12 22:06:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:06:41] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:07:01] Production.INFO: ==26118== Lock acquired, processing the job...
[2025-01-13 03:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:07:01] Production.INFO: neon service started
[2025-01-13 03:07:01] Production.INFO: neon service started
[2025-01-13 03:07:01] Production.INFO: ==26118== Releasing lock...
[2025-01-13 03:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:07:02] Production.INFO: ==26120== Lock acquired, processing the job...
[2025-01-12 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:07:02] Production.INFO: ==26122== Lock acquired, processing the job...
[2025-01-13 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:07:02] Production.INFO: ==26122== Releasing lock...
[2025-01-13 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:07:02] Production.INFO: ==26120== Releasing lock...
[2025-01-12 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:07:03] Production.INFO: ==26125== Lock acquired, processing the job...
[2025-01-12 22:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:07:03] Production.INFO: ==26127== Lock acquired, processing the job...
[2025-01-12 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:07:03] Production.INFO: ==26131== Lock acquired, processing the job...
[2025-01-12 22:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:07:04] Production.INFO: Account Balance Start.
[2025-01-12 22:07:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:07:04] Production.INFO: 117
[2025-01-12 22:07:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:07:04] Production.INFO: ==26129== Lock acquired, processing the job...
[2025-01-12 22:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:07:04] Production.INFO: ==26135== Lock acquired, processing the job...
[2025-01-12 22:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:07:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:07:04] Production.INFO: ==26127== Releasing lock...
[2025-01-12 22:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:07:04] Production.INFO: ==26133== Lock acquired, processing the job...
[2025-01-12 22:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:07:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:07:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:07:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:07:04] Production.INFO: count ==21
[2025-01-12 22:07:04] Production.INFO: Total Charge 0
[2025-01-12 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-12 22:07:04] Production.INFO: count ==21
[2025-01-12 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234548') start
[2025-01-12 22:07:04] Production.INFO: CreateAllLog End
[2025-01-12 22:07:04] Production.ERROR: done
[2025-01-12 22:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234548') end
[2025-01-12 22:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:07:04] Production.INFO: 1
[2025-01-12 22:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:07:04] Production.INFO: ==26135== Releasing lock...
[2025-01-12 22:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:07:04] Production.ERROR: done
[2025-01-12 22:07:04] Production.INFO: Account Balance End.
[2025-01-12 22:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:07:04] Production.INFO: ==26131== Releasing lock...
[2025-01-12 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:07:06
[end_date_ymd] => 2025-01-12 22:07:06
[RateCDR] => 1
)
[2025-01-12 22:07:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:07:06' and `end` < '2025-01-12 22:07:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:07:13] Production.ERROR: CronJobId end10
[2025-01-12 22:07:13] Production.INFO: ==26129== Releasing lock...
[2025-01-12 22:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:07:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:07:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:07:15] Production.INFO: call_cost start
[2025-01-12 22:07:15] Production.INFO: call_cost end
[2025-01-12 22:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:07:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:07:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:07:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:07:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:07:16] Production.INFO: ==26125== Releasing lock...
[2025-01-12 22:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:07:45] Production.INFO: count ==454
[2025-01-12 22:07:45] Production.ERROR: pbx CDR StartTime 2025-01-12 19:07:06 - End Time 2025-01-12 22:07:06
[2025-01-12 22:07:45] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:07:45] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234549', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:07:45] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234549', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:07:45] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234549', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:07:45] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234549', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:07:45] Production.INFO: ProcessCDR(1,14234549,1,1,2)
[2025-01-12 22:07:45] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:07:46] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:07:46] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:07:49] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:07:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234549', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:07:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234549', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:07:49] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:07:49] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:07:49] Production.INFO: ==26133== Releasing lock...
[2025-01-12 22:07:49] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:07:49] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:08:01] Production.INFO: ==26190== Lock acquired, processing the job...
[2025-01-13 03:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:08:01] Production.INFO: neon service started
[2025-01-13 03:08:01] Production.INFO: neon service started
[2025-01-13 03:08:01] Production.INFO: ==26190== Releasing lock...
[2025-01-13 03:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:08:02] Production.INFO: ==26192== Lock acquired, processing the job...
[2025-01-12 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:08:02] Production.INFO: ==26194== Lock acquired, processing the job...
[2025-01-13 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:08:02] Production.INFO: ==26194== Releasing lock...
[2025-01-13 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:08:02] Production.INFO: ==26192== Releasing lock...
[2025-01-12 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:08:03] Production.INFO: ==26201== Lock acquired, processing the job...
[2025-01-12 22:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:08:03] Production.INFO: ==26199== Lock acquired, processing the job...
[2025-01-12 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:08:03] Production.INFO: ==26203== Lock acquired, processing the job...
[2025-01-12 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:08:03] Production.INFO: Account Balance Start.
[2025-01-12 22:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:08:03] Production.INFO: 117
[2025-01-12 22:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:08:03] Production.INFO: ==26199== Releasing lock...
[2025-01-12 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:08:03] Production.INFO: ==26197== Lock acquired, processing the job...
[2025-01-12 22:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:08:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:08:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:08:03] Production.INFO: Total Charge 0
[2025-01-12 22:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:08:03] Production.INFO: CreateAllLog End
[2025-01-12 22:08:03] Production.INFO: ==26205== Lock acquired, processing the job...
[2025-01-12 22:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:08:03] Production.INFO: ==26207== Lock acquired, processing the job...
[2025-01-12 22:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:08:03] Production.INFO: Account Balance End.
[2025-01-12 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-12 22:08:03] Production.ERROR: CronJobId end 12
[2025-01-12 22:08:03] Production.INFO: ==26203== Releasing lock...
[2025-01-12 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:08:03] Production.INFO: count ==21
[2025-01-12 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-12 22:08:03] Production.INFO: count ==21
[2025-01-12 22:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234553') start
[2025-01-12 22:08:03] Production.ERROR: done
[2025-01-12 22:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234553') end
[2025-01-12 22:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:08:03] Production.INFO: 1
[2025-01-12 22:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:08:04] Production.INFO: ==26207== Releasing lock...
[2025-01-12 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:08:04] Production.ERROR: done
[2025-01-12 22:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:08:04
[end_date_ymd] => 2025-01-12 22:08:04
[RateCDR] => 1
)
[2025-01-12 22:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:08:04' and `end` < '2025-01-12 22:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:08:11] Production.ERROR: CronJobId end10
[2025-01-12 22:08:11] Production.INFO: ==26201== Releasing lock...
[2025-01-12 22:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:08:12] Production.INFO: call_cost start
[2025-01-12 22:08:12] Production.INFO: call_cost end
[2025-01-12 22:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:08:13] Production.INFO: ==26197== Releasing lock...
[2025-01-12 22:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:08:34] Production.INFO: count ==444
[2025-01-12 22:08:34] Production.ERROR: pbx CDR StartTime 2025-01-12 19:08:04 - End Time 2025-01-12 22:08:04
[2025-01-12 22:08:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:08:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234554', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:08:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234554', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:08:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234554', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:08:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234554', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:08:34] Production.INFO: ProcessCDR(1,14234554,1,1,2)
[2025-01-12 22:08:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:08:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:08:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:08:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:08:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234554', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:08:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234554', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:08:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:08:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:08:37] Production.INFO: ==26205== Releasing lock...
[2025-01-12 22:08:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:08:37] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:09:01] Production.INFO: ==26263== Lock acquired, processing the job...
[2025-01-13 03:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:09:01] Production.INFO: neon service started
[2025-01-13 03:09:01] Production.INFO: neon service started
[2025-01-13 03:09:01] Production.INFO: ==26263== Releasing lock...
[2025-01-13 03:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:09:02] Production.INFO: ==26265== Lock acquired, processing the job...
[2025-01-12 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:09:02] Production.INFO: ==26267== Lock acquired, processing the job...
[2025-01-13 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:09:02] Production.INFO: ==26267== Releasing lock...
[2025-01-13 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:09:02] Production.INFO: ==26265== Releasing lock...
[2025-01-12 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:09:03] Production.INFO: ==26272== Lock acquired, processing the job...
[2025-01-12 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:09:03] Production.INFO: ==26280== Lock acquired, processing the job...
[2025-01-12 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:09:03] Production.INFO: ==26270== Lock acquired, processing the job...
[2025-01-12 22:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:09:03] Production.INFO: ==26278== Lock acquired, processing the job...
[2025-01-12 22:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:09:03] Production.INFO: ==26272== Releasing lock...
[2025-01-12 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-12 22:09:03] Production.INFO: ==26274== Lock acquired, processing the job...
[2025-01-12 22:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:09:03] Production.INFO: ==26276== Lock acquired, processing the job...
[2025-01-12 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:09:03] Production.INFO: count ==21
[2025-01-12 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-12 22:09:03] Production.INFO: count ==21
[2025-01-12 22:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234556') start
[2025-01-12 22:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:09:04] Production.INFO: Account Balance Start.
[2025-01-12 22:09:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:09:04] Production.INFO: 117
[2025-01-12 22:09:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234556') end
[2025-01-12 22:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:09:04] Production.INFO: 1
[2025-01-12 22:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:09:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:09:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:09:04] Production.INFO: ==26280== Releasing lock...
[2025-01-12 22:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:09:04] Production.ERROR: done
[2025-01-12 22:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:09:04] Production.INFO: Total Charge 0
[2025-01-12 22:09:04] Production.ERROR: done
[2025-01-12 22:09:04] Production.INFO: CreateAllLog End
[2025-01-12 22:09:05] Production.INFO: Account Balance End.
[2025-01-12 22:09:05] Production.ERROR: CronJobId end 12
[2025-01-12 22:09:05] Production.INFO: ==26276== Releasing lock...
[2025-01-12 22:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:09:05
[end_date_ymd] => 2025-01-12 22:09:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:09:05' and `end` < '2025-01-12 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-12 22:09:10] Production.ERROR: CronJobId end10
[2025-01-12 22:09:10] Production.INFO: ==26274== Releasing lock...
[2025-01-12 22:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:09:13] Production.INFO: call_cost start
[2025-01-12 22:09:13] Production.INFO: call_cost end
[2025-01-12 22:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:09:14] Production.INFO: ==26270== Releasing lock...
[2025-01-12 22:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:09:23] Production.INFO: count ==441
[2025-01-12 22:09:23] Production.ERROR: pbx CDR StartTime 2025-01-12 19:09:05 - End Time 2025-01-12 22:09:05
[2025-01-12 22:09:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234559', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234559', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234559', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234559', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:09:23] Production.INFO: ProcessCDR(1,14234559,1,1,2)
[2025-01-12 22:09:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234559', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234559', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:09:26] Production.INFO: ==26278== Releasing lock...
[2025-01-12 22:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:09:26] Production.INFO: 32 MB #Memory Used#
[2025-01-13 03:10:02] Production.INFO: ==26336== Lock acquired, processing the job...
[2025-01-13 03:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:10:02] Production.INFO: neon service started
[2025-01-13 03:10:02] Production.INFO: neon service started
[2025-01-13 03:10:02] Production.INFO: ==26336== Releasing lock...
[2025-01-13 03:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:10:02] Production.INFO: ==26338== Lock acquired, processing the job...
[2025-01-12 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:10:03] Production.INFO: ==26340== Lock acquired, processing the job...
[2025-01-13 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:10:03] Production.INFO: ==26340== Releasing lock...
[2025-01-13 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:10:03] Production.INFO: ==26338== Releasing lock...
[2025-01-12 22:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:10:04] Production.INFO: ==26349== Lock acquired, processing the job...
[2025-01-12 22:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:10:04] Production.INFO: ==26353== Lock acquired, processing the job...
[2025-01-12 22:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:10:04] Production.INFO: ==26357== Lock acquired, processing the job...
[2025-01-12 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:10:04] Production.INFO: ==26343== Lock acquired, processing the job...
[2025-01-12 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 22:10:04] Production.INFO: ==26347== Lock acquired, processing the job...
[2025-01-12 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:10:04] Production.INFO: ==26345== Lock acquired, processing the job...
[2025-01-12 22:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 22:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 22:10:04] Production.ERROR: CronJob PID - 26349
[2025-01-12 22:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 22:10:04] Production.ERROR: CronJob ID - 10
[2025-01-12 22:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 22:10:00
[2025-01-12 22:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 22:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 22:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 22:10:04] Production.ERROR: CronJob PID - 26353
[2025-01-12 22:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 22:10:04] Production.ERROR: CronJob ID - 16
[2025-01-12 22:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 22:10:00
[2025-01-12 22:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 22:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 22:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 22:10:04] Production.ERROR: CronJob PID - 26357
[2025-01-12 22:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-12 22:10:04] Production.ERROR: CronJob ID - 19
[2025-01-12 22:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 22:10:00
[2025-01-12 22:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 22:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 22:10:04] Production.INFO: ==26351== Lock acquired, processing the job...
[2025-01-12 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 22:10:04] Production.INFO: ==26343== Releasing lock...
[2025-01-12 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 22:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 22:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:10:04] Production.INFO: ==26355== Lock acquired, processing the job...
[2025-01-12 22:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 22:10:04] Production.INFO: count ==21
[2025-01-12 22:10:04] Production.ERROR: done
[2025-01-12 22:10:04] Production.INFO: Account Balance Start.
[2025-01-12 22:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 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-12 22:10:04] Production.INFO: count ==21
[2025-01-12 22:10:04] Production.INFO: 117
[2025-01-12 22:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234560') start
[2025-01-12 22:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:10:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 22:10:05] Production.ERROR: done
[2025-01-12 22:10:05] Production.INFO: Date 2025-01-09
[2025-01-12 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 22:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234560') end
[2025-01-12 22:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:10:05] Production.INFO: 1
[2025-01-12 22:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:10:05] Production.INFO: ==26357== Releasing lock...
[2025-01-12 22:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:10:05] Production.INFO: Date 2025-01-10
[2025-01-12 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 22:10:05] Production.ERROR: done
[2025-01-12 22:10:05] Production.INFO: Date 2025-01-11
[2025-01-12 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 22:10:05] Production.INFO: ==26347== Releasing lock...
[2025-01-12 22:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:10:05] Production.INFO: Date 2025-01-12
[2025-01-12 22:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 22:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 22:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234565', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 22:10:05] Production.INFO: Total Charge 0
[2025-01-12 22:10:05] Production.INFO: CreateAllLog End
[2025-01-12 22:10:05] Production.INFO: Account Balance End.
[2025-01-12 22:10:05] Production.ERROR: CronJobId end 12
[2025-01-12 22:10:05] Production.INFO: ==26351== Releasing lock...
[2025-01-12 22:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:10:06
[end_date_ymd] => 2025-01-12 22:10:06
[RateCDR] => 1
)
[2025-01-12 22:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:10:06' and `end` < '2025-01-12 22:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234565', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 22:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 22:10:09] Production.INFO: ProcessCDR(1,14234565,1,1,2)
[2025-01-12 22:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234565,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234565,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:10:09] Production.INFO: ==26355== Releasing lock...
[2025-01-12 22:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 22:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 22:10:13] Production.ERROR: CronJobId end10
[2025-01-12 22:10:13] Production.INFO: ==26349== Releasing lock...
[2025-01-12 22:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:10:15] Production.INFO: call_cost start
[2025-01-12 22:10:15] Production.INFO: call_cost end
[2025-01-12 22:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:10:16] Production.INFO: ==26345== Releasing lock...
[2025-01-12 22:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:10:19] Production.INFO: count ==452
[2025-01-12 22:10:19] Production.ERROR: pbx CDR StartTime 2025-01-12 19:10:06 - End Time 2025-01-12 22:10:06
[2025-01-12 22:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234564', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234564', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234564', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234564', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:10:19] Production.INFO: ProcessCDR(1,14234564,1,1,2)
[2025-01-12 22:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234564', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234564', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:10:22] Production.INFO: ==26353== Releasing lock...
[2025-01-12 22:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:10:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:11:01] Production.INFO: ==26410== Lock acquired, processing the job...
[2025-01-13 03:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:11:01] Production.INFO: neon service started
[2025-01-13 03:11:01] Production.INFO: neon service started
[2025-01-13 03:11:01] Production.INFO: ==26410== Releasing lock...
[2025-01-13 03:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:11:02] Production.INFO: ==26414== Lock acquired, processing the job...
[2025-01-13 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:11:02] Production.INFO: ==26414== Releasing lock...
[2025-01-13 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:11:02] Production.INFO: ==26412== Lock acquired, processing the job...
[2025-01-12 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:11:02] Production.INFO: ==26412== Releasing lock...
[2025-01-12 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:11:03] Production.INFO: ==26419== Lock acquired, processing the job...
[2025-01-12 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:11:03] Production.INFO: ==26421== Lock acquired, processing the job...
[2025-01-12 22:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:11:03] Production.INFO: ==26425== Lock acquired, processing the job...
[2025-01-12 22:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:11:03] Production.INFO: ==26417== Lock acquired, processing the job...
[2025-01-12 22:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:11:03] Production.INFO: ==26423== Lock acquired, processing the job...
[2025-01-12 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:11:03] Production.INFO: ==26427== Lock acquired, processing the job...
[2025-01-12 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:11:03] Production.INFO: ==26419== Releasing lock...
[2025-01-12 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:11:03] Production.INFO: Account Balance Start.
[2025-01-12 22:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:11:03] Production.INFO: 117
[2025-01-12 22:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:11:03] Production.ERROR: done
[2025-01-12 22:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:11:03] Production.INFO: Total Charge 0
[2025-01-12 22:11:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 22:11:03] Production.INFO: count ==21
[2025-01-12 22:11:03] Production.ERROR: done
[2025-01-12 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-12 22:11:03] Production.INFO: count ==21
[2025-01-12 22:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234569') start
[2025-01-12 22:11:04] Production.INFO: Account Balance End.
[2025-01-12 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234569') end
[2025-01-12 22:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:11:04] Production.INFO: 1
[2025-01-12 22:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:11:04] Production.INFO: ==26423== Releasing lock...
[2025-01-12 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:11:04] Production.INFO: ==26427== Releasing lock...
[2025-01-12 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:11:04
[end_date_ymd] => 2025-01-12 22:11:04
[RateCDR] => 1
)
[2025-01-12 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-12 19:11:04' and `end` < '2025-01-12 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-12 22:11:11] Production.ERROR: CronJobId end10
[2025-01-12 22:11:11] Production.INFO: ==26421== Releasing lock...
[2025-01-12 22:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:11:12] Production.INFO: call_cost start
[2025-01-12 22:11:12] Production.INFO: call_cost end
[2025-01-12 22:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:11:13] Production.INFO: ==26417== Releasing lock...
[2025-01-12 22:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:11:17] Production.INFO: count ==476
[2025-01-12 22:11:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:11:04 - End Time 2025-01-12 22:11:04
[2025-01-12 22:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234570', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234570', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234570', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234570', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:11:17] Production.INFO: ProcessCDR(1,14234570,1,1,2)
[2025-01-12 22:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234570', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234570', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:11:20] Production.INFO: ==26425== Releasing lock...
[2025-01-12 22:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:11:20] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:12:02] Production.INFO: ==26486== Lock acquired, processing the job...
[2025-01-13 03:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:12:02] Production.INFO: neon service started
[2025-01-13 03:12:02] Production.INFO: neon service started
[2025-01-13 03:12:02] Production.INFO: ==26486== Releasing lock...
[2025-01-13 03:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:12:02] Production.INFO: ==26488== Lock acquired, processing the job...
[2025-01-12 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:12:02] Production.INFO: ==26488== Releasing lock...
[2025-01-12 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:12:02] Production.INFO: ==26490== Lock acquired, processing the job...
[2025-01-13 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:12:02] Production.INFO: ==26490== Releasing lock...
[2025-01-13 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:12:03] Production.INFO: ==26497== Lock acquired, processing the job...
[2025-01-12 22:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:12:03] Production.INFO: ==26503== Lock acquired, processing the job...
[2025-01-12 22:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:12:03] Production.INFO: ==26493== Lock acquired, processing the job...
[2025-01-12 22:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:12:03] Production.INFO: count ==21
[2025-01-12 22:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:12:03] Production.INFO: ==26495== Lock acquired, processing the job...
[2025-01-12 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:12:03] Production.INFO: count ==21
[2025-01-12 22:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234571') start
[2025-01-12 22:12:03] Production.INFO: ==26499== Lock acquired, processing the job...
[2025-01-12 22:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234571') end
[2025-01-12 22:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:12:03] Production.INFO: 1
[2025-01-12 22:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:12:03] Production.INFO: ==26501== Lock acquired, processing the job...
[2025-01-12 22:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:12:04] Production.INFO: ==26503== Releasing lock...
[2025-01-12 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:12:04] Production.INFO: Account Balance Start.
[2025-01-12 22:12:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:12:04] Production.INFO: 117
[2025-01-12 22:12:04] Production.INFO: ==26495== Releasing lock...
[2025-01-12 22:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:12:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:12:04] Production.ERROR: done
[2025-01-12 22:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:12:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:12:04] Production.ERROR: done
[2025-01-12 22:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:12:04] Production.INFO: Total Charge 0
[2025-01-12 22:12:04] Production.INFO: CreateAllLog End
[2025-01-12 22:12:04] Production.INFO: Account Balance End.
[2025-01-12 22:12:05] Production.ERROR: CronJobId end 12
[2025-01-12 22:12:05] Production.INFO: ==26499== Releasing lock...
[2025-01-12 22:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:12:05
[end_date_ymd] => 2025-01-12 22:12:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:12:05' and `end` < '2025-01-12 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-12 22:12:12] Production.ERROR: CronJobId end10
[2025-01-12 22:12:12] Production.INFO: ==26497== Releasing lock...
[2025-01-12 22:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:12:13] Production.INFO: call_cost start
[2025-01-12 22:12:13] Production.INFO: call_cost end
[2025-01-12 22:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:12:14] Production.INFO: ==26493== Releasing lock...
[2025-01-12 22:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:12:18] Production.INFO: count ==469
[2025-01-12 22:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:12:05 - End Time 2025-01-12 22:12:05
[2025-01-12 22:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234575', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234575', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234575', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234575', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:12:18] Production.INFO: ProcessCDR(1,14234575,1,1,2)
[2025-01-12 22:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234575', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234575', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:12:21] Production.INFO: ==26501== Releasing lock...
[2025-01-12 22:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:12:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:13:01] Production.INFO: ==26557== Lock acquired, processing the job...
[2025-01-13 03:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:13:01] Production.INFO: neon service started
[2025-01-13 03:13:01] Production.INFO: neon service started
[2025-01-13 03:13:01] Production.INFO: ==26557== Releasing lock...
[2025-01-13 03:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:13:02] Production.INFO: ==26559== Lock acquired, processing the job...
[2025-01-12 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:13:02] Production.INFO: ==26561== Lock acquired, processing the job...
[2025-01-13 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:13:02] Production.INFO: ==26561== Releasing lock...
[2025-01-13 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:13:02] Production.INFO: ==26559== Releasing lock...
[2025-01-12 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:13:03] Production.INFO: ==26568== Lock acquired, processing the job...
[2025-01-12 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:13:03] Production.INFO: ==26564== Lock acquired, processing the job...
[2025-01-12 22:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:13:03] Production.INFO: ==26570== Lock acquired, processing the job...
[2025-01-12 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:13:03] Production.INFO: ==26566== Lock acquired, processing the job...
[2025-01-12 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:13:03] Production.INFO: Account Balance Start.
[2025-01-12 22:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:13:03] Production.INFO: 117
[2025-01-12 22:13:03] Production.INFO: ==26572== Lock acquired, processing the job...
[2025-01-12 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:13:03] Production.INFO: ==26574== Lock acquired, processing the job...
[2025-01-12 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:13:03] Production.INFO: count ==21
[2025-01-12 22:13:03] Production.INFO: ==26566== Releasing lock...
[2025-01-12 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:13:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:13:03] Production.INFO: Total Charge 0
[2025-01-12 22:13:03] Production.INFO: count ==21
[2025-01-12 22:13:03] Production.INFO: CreateAllLog End
[2025-01-12 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234579') start
[2025-01-12 22:13:04] Production.INFO: Account Balance End.
[2025-01-12 22:13:04] Production.ERROR: done
[2025-01-12 22:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:13:04] Production.INFO: ==26570== Releasing lock...
[2025-01-12 22:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234579') end
[2025-01-12 22:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:13:04] Production.INFO: 1
[2025-01-12 22:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:13:04] Production.INFO: ==26574== Releasing lock...
[2025-01-12 22:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:13:04] Production.ERROR: done
[2025-01-12 22:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:13:04
[end_date_ymd] => 2025-01-12 22:13:04
[RateCDR] => 1
)
[2025-01-12 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-12 19:13:04' and `end` < '2025-01-12 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-12 22:13:10] Production.ERROR: CronJobId end10
[2025-01-12 22:13:10] Production.INFO: ==26568== Releasing lock...
[2025-01-12 22:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:13:12] Production.INFO: call_cost start
[2025-01-12 22:13:12] Production.INFO: call_cost end
[2025-01-12 22:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:13:13] Production.INFO: ==26564== Releasing lock...
[2025-01-12 22:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:13:17] Production.INFO: count ==469
[2025-01-12 22:13:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:13:04 - End Time 2025-01-12 22:13:04
[2025-01-12 22:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234580', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234580', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234580', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234580', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:13:17] Production.INFO: ProcessCDR(1,14234580,1,1,2)
[2025-01-12 22:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234580', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234580', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:13:20] Production.INFO: ==26572== Releasing lock...
[2025-01-12 22:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:13:20] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:14:02] Production.INFO: ==26628== Lock acquired, processing the job...
[2025-01-13 03:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:14:02] Production.INFO: neon service started
[2025-01-13 03:14:02] Production.INFO: neon service started
[2025-01-13 03:14:02] Production.INFO: ==26628== Releasing lock...
[2025-01-13 03:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:14:02] Production.INFO: ==26630== Lock acquired, processing the job...
[2025-01-12 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:14:02] Production.INFO: ==26632== Lock acquired, processing the job...
[2025-01-13 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 22:14:02] Production.INFO: ==26630== Releasing lock...
[2025-01-12 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:14:02] Production.INFO: ==26632== Releasing lock...
[2025-01-13 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:14:03] Production.INFO: ==26635== Lock acquired, processing the job...
[2025-01-12 22:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:14:03] Production.INFO: ==26637== Lock acquired, processing the job...
[2025-01-12 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:14:03] Production.INFO: ==26645== Lock acquired, processing the job...
[2025-01-12 22:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:14:03] Production.INFO: ==26639== Lock acquired, processing the job...
[2025-01-12 22:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:14:03] Production.INFO: ==26641== Lock acquired, processing the job...
[2025-01-12 22:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:14:03] Production.INFO: ==26643== Lock acquired, processing the job...
[2025-01-12 22:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:14:03] Production.INFO: Account Balance Start.
[2025-01-12 22:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:14:03] Production.INFO: 117
[2025-01-12 22:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:14:03] Production.INFO: ==26637== Releasing lock...
[2025-01-12 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:14:04] Production.INFO: count ==21
[2025-01-12 22:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:14:04] Production.INFO: count ==21
[2025-01-12 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234583') start
[2025-01-12 22:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:14:04] Production.ERROR: done
[2025-01-12 22:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234583') end
[2025-01-12 22:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:14:04] Production.INFO: 1
[2025-01-12 22:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:14:04] Production.INFO: Total Charge 0
[2025-01-12 22:14:04] Production.INFO: CreateAllLog End
[2025-01-12 22:14:04] Production.INFO: ==26645== Releasing lock...
[2025-01-12 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:14:04] Production.ERROR: done
[2025-01-12 22:14:04] Production.INFO: Account Balance End.
[2025-01-12 22:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:14:04] Production.INFO: ==26641== Releasing lock...
[2025-01-12 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:14:05
[end_date_ymd] => 2025-01-12 22:14:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:14:05' and `end` < '2025-01-12 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-12 22:14:12] Production.ERROR: CronJobId end10
[2025-01-12 22:14:12] Production.INFO: ==26639== Releasing lock...
[2025-01-12 22:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:14:13] Production.INFO: call_cost start
[2025-01-12 22:14:13] Production.INFO: call_cost end
[2025-01-12 22:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:14:14] Production.INFO: ==26635== Releasing lock...
[2025-01-12 22:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:14:18] Production.INFO: count ==463
[2025-01-12 22:14:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:14:05 - End Time 2025-01-12 22:14:05
[2025-01-12 22:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234585', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234585', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234585', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234585', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:14:18] Production.INFO: ProcessCDR(1,14234585,1,1,2)
[2025-01-12 22:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234585', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234585', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:14:21] Production.INFO: ==26643== Releasing lock...
[2025-01-12 22:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:14:21] Production.INFO: 32 MB #Memory Used#
[2025-01-13 03:15:01] Production.INFO: ==26697== Lock acquired, processing the job...
[2025-01-13 03:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:15:01] Production.INFO: neon service started
[2025-01-13 03:15:01] Production.INFO: neon service started
[2025-01-13 03:15:01] Production.INFO: ==26697== Releasing lock...
[2025-01-13 03:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:15:02] Production.INFO: ==26701== Lock acquired, processing the job...
[2025-01-13 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:15:02] Production.INFO: ==26701== Releasing lock...
[2025-01-13 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:15:02] Production.INFO: ==26699== Lock acquired, processing the job...
[2025-01-12 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:15:02] Production.INFO: ==26699== Releasing lock...
[2025-01-12 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:15:03] Production.INFO: ==26704== Lock acquired, processing the job...
[2025-01-12 22:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:15:03] Production.INFO: ==26708== Lock acquired, processing the job...
[2025-01-12 22:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:15:03] Production.INFO: ==26706== Lock acquired, processing the job...
[2025-01-12 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:15:03] Production.INFO: ==26710== Lock acquired, processing the job...
[2025-01-12 22:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:15:03] Production.INFO: ==26712== Lock acquired, processing the job...
[2025-01-12 22:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:15:03] Production.INFO: ==26714== Lock acquired, processing the job...
[2025-01-12 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:15:03] Production.INFO: Account Balance Start.
[2025-01-12 22:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:15:03] Production.INFO: 117
[2025-01-12 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-12 22:15:03] Production.INFO: ==26706== Releasing lock...
[2025-01-12 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:15:03] Production.INFO: count ==21
[2025-01-12 22:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:15:03] Production.INFO: count ==21
[2025-01-12 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234589') start
[2025-01-12 22:15:03] Production.ERROR: done
[2025-01-12 22:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:15:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234589') end
[2025-01-12 22:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:15:04] Production.INFO: 1
[2025-01-12 22:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:15:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:15:04] Production.INFO: ==26714== Releasing lock...
[2025-01-12 22:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:15:04] Production.ERROR: done
[2025-01-12 22:15:04] Production.INFO: Total Charge 0
[2025-01-12 22:15:04] Production.INFO: CreateAllLog End
[2025-01-12 22:15:04] Production.INFO: Account Balance End.
[2025-01-12 22:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:15:04] Production.INFO: ==26710== Releasing lock...
[2025-01-12 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:15:04
[end_date_ymd] => 2025-01-12 22:15:04
[RateCDR] => 1
)
[2025-01-12 22:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:15:04' and `end` < '2025-01-12 22:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:15:10] Production.ERROR: CronJobId end10
[2025-01-12 22:15:10] Production.INFO: ==26708== Releasing lock...
[2025-01-12 22:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:15:13] Production.INFO: call_cost start
[2025-01-12 22:15:13] Production.INFO: call_cost end
[2025-01-12 22:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:15:14] Production.INFO: ==26704== Releasing lock...
[2025-01-12 22:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:15:17] Production.INFO: count ==463
[2025-01-12 22:15:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:15:04 - End Time 2025-01-12 22:15:04
[2025-01-12 22:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234590', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234590', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234590', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234590', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:15:17] Production.INFO: ProcessCDR(1,14234590,1,1,2)
[2025-01-12 22:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234590', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234590', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:15:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:15:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:15:20] Production.INFO: ==26712== Releasing lock...
[2025-01-12 22:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:15:20] Production.INFO: 32 MB #Memory Used#
[2025-01-13 03:16:02] Production.INFO: ==26769== Lock acquired, processing the job...
[2025-01-13 03:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:16:02] Production.INFO: neon service started
[2025-01-13 03:16:02] Production.INFO: neon service started
[2025-01-13 03:16:02] Production.INFO: ==26769== Releasing lock...
[2025-01-13 03:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:16:02] Production.INFO: ==26771== Lock acquired, processing the job...
[2025-01-12 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:16:02] Production.INFO: ==26771== Releasing lock...
[2025-01-12 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:16:02] Production.INFO: ==26773== Lock acquired, processing the job...
[2025-01-13 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:16:02] Production.INFO: ==26773== Releasing lock...
[2025-01-13 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:16:03] Production.INFO: ==26776== Lock acquired, processing the job...
[2025-01-12 22:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:16:03] Production.INFO: ==26778== Lock acquired, processing the job...
[2025-01-12 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:16:03] Production.INFO: ==26780== Lock acquired, processing the job...
[2025-01-12 22:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:16:03] Production.INFO: ==26778== Releasing lock...
[2025-01-12 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:16:03] Production.INFO: ==26782== Lock acquired, processing the job...
[2025-01-12 22:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:16:03] Production.INFO: ==26784== Lock acquired, processing the job...
[2025-01-12 22:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:16:04] Production.INFO: ==26786== Lock acquired, processing the job...
[2025-01-12 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:16:04] Production.INFO: Account Balance Start.
[2025-01-12 22:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:16:04] Production.INFO: 117
[2025-01-12 22:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:16:04] Production.INFO: count ==21
[2025-01-12 22:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:16:04] Production.INFO: count ==21
[2025-01-12 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234594') start
[2025-01-12 22:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:16:04] Production.ERROR: done
[2025-01-12 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234594') end
[2025-01-12 22:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:16:04] Production.INFO: 1
[2025-01-12 22:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:16:04] Production.INFO: Total Charge 0
[2025-01-12 22:16:04] Production.ERROR: done
[2025-01-12 22:16:04] Production.INFO: CreateAllLog End
[2025-01-12 22:16:04] Production.INFO: ==26786== Releasing lock...
[2025-01-12 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:16:04] Production.INFO: Account Balance End.
[2025-01-12 22:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:16:04] Production.INFO: ==26782== Releasing lock...
[2025-01-12 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:16:05
[end_date_ymd] => 2025-01-12 22:16:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:16:05' and `end` < '2025-01-12 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-12 22:16:11] Production.ERROR: CronJobId end10
[2025-01-12 22:16:11] Production.INFO: ==26780== Releasing lock...
[2025-01-12 22:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:16:13] Production.INFO: call_cost start
[2025-01-12 22:16:13] Production.INFO: call_cost end
[2025-01-12 22:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:16:14] Production.INFO: ==26776== Releasing lock...
[2025-01-12 22:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:16:17] Production.INFO: count ==463
[2025-01-12 22:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:16:05 - End Time 2025-01-12 22:16:05
[2025-01-12 22:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234595', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234595', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234595', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234595', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:16:18] Production.INFO: ProcessCDR(1,14234595,1,1,2)
[2025-01-12 22:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234595', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234595', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:16:21] Production.INFO: ==26784== Releasing lock...
[2025-01-12 22:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:16:21] Production.INFO: 32 MB #Memory Used#
[2025-01-13 03:17:01] Production.INFO: ==26839== Lock acquired, processing the job...
[2025-01-13 03:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:17:01] Production.INFO: neon service started
[2025-01-13 03:17:01] Production.INFO: neon service started
[2025-01-13 03:17:01] Production.INFO: ==26839== Releasing lock...
[2025-01-13 03:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:17:01] Production.INFO: ==26843== Lock acquired, processing the job...
[2025-01-13 03:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:17:01] Production.INFO: ==26843== Releasing lock...
[2025-01-13 03:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:17:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:17:02] Production.INFO: ==26841== Lock acquired, processing the job...
[2025-01-12 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:17:02] Production.INFO: ==26841== Releasing lock...
[2025-01-12 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:17:02] Production.INFO: ==26845== Lock acquired, processing the job...
[2025-01-12 22:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:17:03] Production.INFO: ==26851== Lock acquired, processing the job...
[2025-01-12 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:17:03] Production.INFO: ==26847== Lock acquired, processing the job...
[2025-01-12 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:17:03] Production.INFO: Account Balance Start.
[2025-01-12 22:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:17:03] Production.INFO: 117
[2025-01-12 22:17:03] Production.INFO: ==26849== Lock acquired, processing the job...
[2025-01-12 22:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:17:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:17:03] Production.INFO: Total Charge 0
[2025-01-12 22:17:03] Production.INFO: CreateAllLog End
[2025-01-12 22:17:03] Production.INFO: ==26853== Lock acquired, processing the job...
[2025-01-12 22:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:17:03] Production.INFO: ==26847== Releasing lock...
[2025-01-12 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:17:03] Production.INFO: ==26856== Lock acquired, processing the job...
[2025-01-12 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:17:03] Production.INFO: Account Balance End.
[2025-01-12 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-12 22:17:03] Production.ERROR: CronJobId end 12
[2025-01-12 22:17:03] Production.INFO: ==26851== Releasing lock...
[2025-01-12 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:17:03] Production.INFO: count ==21
[2025-01-12 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-12 22:17:03] Production.INFO: count ==21
[2025-01-12 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234599') start
[2025-01-12 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234599') end
[2025-01-12 22:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:17:03] Production.INFO: 1
[2025-01-12 22:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:17:03] Production.ERROR: done
[2025-01-12 22:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:17:03] Production.INFO: ==26856== Releasing lock...
[2025-01-12 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:17:03] Production.ERROR: done
[2025-01-12 22:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:17:04
[end_date_ymd] => 2025-01-12 22:17:04
[RateCDR] => 1
)
[2025-01-12 22:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:17:04' and `end` < '2025-01-12 22:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:17:10] Production.ERROR: CronJobId end10
[2025-01-12 22:17:10] Production.INFO: ==26849== Releasing lock...
[2025-01-12 22:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:17:12] Production.INFO: call_cost start
[2025-01-12 22:17:12] Production.INFO: call_cost end
[2025-01-12 22:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:17:13] Production.INFO: ==26845== Releasing lock...
[2025-01-12 22:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:17:17] Production.INFO: count ==462
[2025-01-12 22:17:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:17:04 - End Time 2025-01-12 22:17:04
[2025-01-12 22:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234600', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234600', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234600', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234600', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:17:17] Production.INFO: ProcessCDR(1,14234600,1,1,2)
[2025-01-12 22:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234600', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234600', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:17:20] Production.INFO: ==26853== Releasing lock...
[2025-01-12 22:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:17:20] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:18:02] Production.INFO: ==26913== Lock acquired, processing the job...
[2025-01-13 03:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:18:02] Production.INFO: neon service started
[2025-01-13 03:18:02] Production.INFO: neon service started
[2025-01-13 03:18:02] Production.INFO: ==26913== Releasing lock...
[2025-01-13 03:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:18:02] Production.INFO: ==26915== Lock acquired, processing the job...
[2025-01-12 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:18:02] Production.INFO: ==26917== Lock acquired, processing the job...
[2025-01-13 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:18:02] Production.INFO: ==26917== Releasing lock...
[2025-01-13 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:18:03] Production.INFO: ==26915== Releasing lock...
[2025-01-12 22:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:18:03] Production.INFO: ==26930== Lock acquired, processing the job...
[2025-01-12 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:18:03] Production.INFO: ==26926== Lock acquired, processing the job...
[2025-01-12 22:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 22:18:04] Production.INFO: count ==21
[2025-01-12 22:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:18:04] Production.INFO: count ==21
[2025-01-12 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234601') start
[2025-01-12 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234601') end
[2025-01-12 22:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:18:04] Production.INFO: 1
[2025-01-12 22:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:18:04] Production.INFO: ==26920== Lock acquired, processing the job...
[2025-01-12 22:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:18:04] Production.INFO: Account Balance Start.
[2025-01-12 22:18:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:18:04] Production.INFO: ==26922== Lock acquired, processing the job...
[2025-01-12 22:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:18:04] Production.INFO: 117
[2025-01-12 22:18:04] Production.INFO: ==26930== Releasing lock...
[2025-01-12 22:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:18:04] Production.INFO: ==26924== Lock acquired, processing the job...
[2025-01-12 22:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:18:04] Production.INFO: ==26928== Lock acquired, processing the job...
[2025-01-12 22:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:18:04] Production.INFO: Total Charge 0
[2025-01-12 22:18:04] Production.INFO: CreateAllLog End
[2025-01-12 22:18:04] Production.INFO: ==26922== Releasing lock...
[2025-01-12 22:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:18:04] Production.ERROR: done
[2025-01-12 22:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:18:04] Production.INFO: Account Balance End.
[2025-01-12 22:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:18:04] Production.INFO: ==26926== Releasing lock...
[2025-01-12 22:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:18:05] Production.ERROR: done
[2025-01-12 22:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:18:06
[end_date_ymd] => 2025-01-12 22:18:06
[RateCDR] => 1
)
[2025-01-12 22:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:18:06' and `end` < '2025-01-12 22:18:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:18:12] Production.ERROR: CronJobId end10
[2025-01-12 22:18:12] Production.INFO: ==26924== Releasing lock...
[2025-01-12 22:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:18:13] Production.INFO: call_cost start
[2025-01-12 22:18:13] Production.INFO: call_cost end
[2025-01-12 22:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:18:14] Production.INFO: ==26920== Releasing lock...
[2025-01-12 22:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:18:18] Production.INFO: count ==462
[2025-01-12 22:18:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:18:06 - End Time 2025-01-12 22:18:06
[2025-01-12 22:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234605', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234605', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234605', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234605', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:18:18] Production.INFO: ProcessCDR(1,14234605,1,1,2)
[2025-01-12 22:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234605', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234605', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:18:22] Production.INFO: ==26928== Releasing lock...
[2025-01-12 22:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:18:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:19:01] Production.INFO: ==26984== Lock acquired, processing the job...
[2025-01-13 03:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:19:01] Production.INFO: neon service started
[2025-01-13 03:19:01] Production.INFO: neon service started
[2025-01-13 03:19:01] Production.INFO: ==26984== Releasing lock...
[2025-01-13 03:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:19:02] Production.INFO: ==26986== Lock acquired, processing the job...
[2025-01-12 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:19:02] Production.INFO: ==26988== Lock acquired, processing the job...
[2025-01-13 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:19:02] Production.INFO: ==26988== Releasing lock...
[2025-01-13 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:19:02] Production.INFO: ==26986== Releasing lock...
[2025-01-12 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:19:02] Production.INFO: ==26991== Lock acquired, processing the job...
[2025-01-12 22:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:19:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:19:03] Production.INFO: ==26997== Lock acquired, processing the job...
[2025-01-12 22:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:19:03] Production.INFO: ==26999== Lock acquired, processing the job...
[2025-01-12 22:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:19:03] Production.INFO: Account Balance Start.
[2025-01-12 22:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:19:03] Production.INFO: 117
[2025-01-12 22:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:19:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:19:03] Production.INFO: ==26993== Lock acquired, processing the job...
[2025-01-12 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:19:03] Production.INFO: Total Charge 0
[2025-01-12 22:19:03] Production.INFO: CreateAllLog End
[2025-01-12 22:19:03] Production.INFO: ==26995== Lock acquired, processing the job...
[2025-01-12 22:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:19:03] Production.INFO: ==27001== Lock acquired, processing the job...
[2025-01-12 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:19:03] Production.ERROR: done
[2025-01-12 22:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:19:03] Production.ERROR: done
[2025-01-12 22:19:03] Production.INFO: count ==21
[2025-01-12 22:19:03] Production.INFO: Account Balance End.
[2025-01-12 22:19:03] Production.ERROR: CronJobId end 12
[2025-01-12 22:19:03] Production.INFO: ==26997== Releasing lock...
[2025-01-12 22:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:19:03] Production.INFO: count ==21
[2025-01-12 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234609') start
[2025-01-12 22:19:03] Production.INFO: ==26993== Releasing lock...
[2025-01-12 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234609') end
[2025-01-12 22:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:19:03] Production.INFO: 1
[2025-01-12 22:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:19:04] Production.INFO: ==27001== Releasing lock...
[2025-01-12 22:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:19:04
[end_date_ymd] => 2025-01-12 22:19:04
[RateCDR] => 1
)
[2025-01-12 22:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:19:04' and `end` < '2025-01-12 22:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:19:11] Production.ERROR: CronJobId end10
[2025-01-12 22:19:11] Production.INFO: ==26995== Releasing lock...
[2025-01-12 22:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:19:13] Production.INFO: call_cost start
[2025-01-12 22:19:13] Production.INFO: call_cost end
[2025-01-12 22:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:19:14] Production.INFO: ==26991== Releasing lock...
[2025-01-12 22:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:19:17] Production.INFO: count ==461
[2025-01-12 22:19:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:19:04 - End Time 2025-01-12 22:19:04
[2025-01-12 22:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234610', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234610', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234610', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234610', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:19:17] Production.INFO: ProcessCDR(1,14234610,1,1,2)
[2025-01-12 22:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234610', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234610', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:19:21] Production.INFO: ==26999== Releasing lock...
[2025-01-12 22:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:19:21] Production.INFO: 32 MB #Memory Used#
[2025-01-13 03:20:01] Production.INFO: ==27055== Lock acquired, processing the job...
[2025-01-13 03:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:20:01] Production.INFO: neon service started
[2025-01-13 03:20:01] Production.INFO: neon service started
[2025-01-13 03:20:01] Production.INFO: ==27055== Releasing lock...
[2025-01-13 03:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:20:02] Production.INFO: ==27057== Lock acquired, processing the job...
[2025-01-12 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:20:02] Production.INFO: ==27059== Lock acquired, processing the job...
[2025-01-13 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:20:02] Production.INFO: ==27059== Releasing lock...
[2025-01-13 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:20:02] Production.INFO: ==27057== Releasing lock...
[2025-01-12 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:20:03] Production.INFO: ==27062== Lock acquired, processing the job...
[2025-01-12 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 22:20:03] Production.INFO: ==27064== Lock acquired, processing the job...
[2025-01-12 22:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 22:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 22:20:03] Production.INFO: ==27062== Releasing lock...
[2025-01-12 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 22:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 22:20:03] Production.INFO: ==27068== Lock acquired, processing the job...
[2025-01-12 22:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:20:04] Production.INFO: ==27076== Lock acquired, processing the job...
[2025-01-12 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:20:04] Production.INFO: ==27066== Lock acquired, processing the job...
[2025-01-12 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:20:04] Production.INFO: count ==21
[2025-01-12 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-12 22:20:04] Production.INFO: count ==21
[2025-01-12 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234612') start
[2025-01-12 22:20:04] Production.INFO: ==27070== Lock acquired, processing the job...
[2025-01-12 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:20:04] Production.INFO: ==27074== Lock acquired, processing the job...
[2025-01-12 22:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 22:20:04] Production.INFO: ==27072== Lock acquired, processing the job...
[2025-01-12 22:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234612') end
[2025-01-12 22:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:20:04] Production.INFO: 1
[2025-01-12 22:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:20:04] Production.INFO: Account Balance Start.
[2025-01-12 22:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:20:04] Production.INFO: 117
[2025-01-12 22:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:20:04] Production.INFO: ==27076== Releasing lock...
[2025-01-12 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:20:04] Production.ERROR: done
[2025-01-12 22:20:04] Production.INFO: ==27066== Releasing lock...
[2025-01-12 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:20:04] Production.INFO: Total Charge 0
[2025-01-12 22:20:04] Production.INFO: CreateAllLog End
[2025-01-12 22:20:04] Production.ERROR: done
[2025-01-12 22:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 22:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234615', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 22:20:05] Production.ERROR: done
[2025-01-12 22:20:05] Production.INFO: Account Balance End.
[2025-01-12 22:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 22:20:05] Production.INFO: ==27070== Releasing lock...
[2025-01-12 22:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:20:06
[end_date_ymd] => 2025-01-12 22:20:06
[RateCDR] => 1
)
[2025-01-12 22:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:20:06' and `end` < '2025-01-12 22:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234615', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 22:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 22:20:08] Production.INFO: ProcessCDR(1,14234615,1,1,2)
[2025-01-12 22:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234615,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234615,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:20:08] Production.INFO: ==27074== Releasing lock...
[2025-01-12 22:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 22:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 22:20:12] Production.ERROR: CronJobId end10
[2025-01-12 22:20:12] Production.INFO: ==27068== Releasing lock...
[2025-01-12 22:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:20:14] Production.INFO: call_cost start
[2025-01-12 22:20:14] Production.INFO: call_cost end
[2025-01-12 22:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:20:15] Production.INFO: ==27064== Releasing lock...
[2025-01-12 22:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:20:18] Production.INFO: count ==469
[2025-01-12 22:20:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:20:06 - End Time 2025-01-12 22:20:06
[2025-01-12 22:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234616', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234616', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234616', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234616', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:20:18] Production.INFO: ProcessCDR(1,14234616,1,1,2)
[2025-01-12 22:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234616', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234616', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:20:21] Production.INFO: ==27072== Releasing lock...
[2025-01-12 22:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:20:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:21:02] Production.INFO: ==27169== Lock acquired, processing the job...
[2025-01-13 03:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:21:02] Production.INFO: neon service started
[2025-01-13 03:21:02] Production.INFO: neon service started
[2025-01-13 03:21:02] Production.INFO: ==27169== Releasing lock...
[2025-01-13 03:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:21:02] Production.INFO: ==27173== Lock acquired, processing the job...
[2025-01-13 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:21:02] Production.INFO: ==27173== Releasing lock...
[2025-01-13 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:21:02] Production.INFO: ==27171== Lock acquired, processing the job...
[2025-01-12 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:21:03] Production.INFO: ==27171== Releasing lock...
[2025-01-12 22:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:21:03] Production.INFO: ==27176== Lock acquired, processing the job...
[2025-01-12 22:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:21:03] Production.INFO: ==27180== Lock acquired, processing the job...
[2025-01-12 22:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:21:03] Production.INFO: ==27184== Lock acquired, processing the job...
[2025-01-12 22:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:21:04] Production.INFO: ==27182== Lock acquired, processing the job...
[2025-01-12 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:21:04] Production.INFO: ==27178== Lock acquired, processing the job...
[2025-01-12 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:21:04] Production.INFO: ==27186== Lock acquired, processing the job...
[2025-01-12 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:21:04] Production.INFO: Account Balance Start.
[2025-01-12 22:21:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:21:04] Production.INFO: 117
[2025-01-12 22:21:04] Production.ERROR: done
[2025-01-12 22:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:21:04] Production.INFO: count ==21
[2025-01-12 22:21:04] Production.ERROR: done
[2025-01-12 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-12 22:21:04] Production.INFO: count ==21
[2025-01-12 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234620') start
[2025-01-12 22:21:04] Production.INFO: ==27178== Releasing lock...
[2025-01-12 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:21:04] Production.INFO: Total Charge 0
[2025-01-12 22:21:04] Production.INFO: CreateAllLog End
[2025-01-12 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234620') end
[2025-01-12 22:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:21:04] Production.INFO: 1
[2025-01-12 22:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:21:04] Production.INFO: ==27186== Releasing lock...
[2025-01-12 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:21:04] Production.INFO: Account Balance End.
[2025-01-12 22:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:21:04] Production.INFO: ==27182== Releasing lock...
[2025-01-12 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:21:05
[end_date_ymd] => 2025-01-12 22:21:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:21:05' and `end` < '2025-01-12 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-12 22:21:11] Production.ERROR: CronJobId end10
[2025-01-12 22:21:11] Production.INFO: ==27180== Releasing lock...
[2025-01-12 22:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:21:13] Production.INFO: call_cost start
[2025-01-12 22:21:13] Production.INFO: call_cost end
[2025-01-12 22:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:21:14] Production.INFO: ==27176== Releasing lock...
[2025-01-12 22:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:21:18] Production.INFO: count ==495
[2025-01-12 22:21:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:21:05 - End Time 2025-01-12 22:21:05
[2025-01-12 22:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234621', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234621', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234621', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234621', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:21:18] Production.INFO: ProcessCDR(1,14234621,1,1,2)
[2025-01-12 22:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234621', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234621', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:21:21] Production.INFO: ==27184== Releasing lock...
[2025-01-12 22:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:21:21] Production.INFO: 32 MB #Memory Used#
[2025-01-13 03:22:01] Production.INFO: ==27239== Lock acquired, processing the job...
[2025-01-13 03:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:22:02] Production.INFO: neon service started
[2025-01-13 03:22:02] Production.INFO: neon service started
[2025-01-13 03:22:02] Production.INFO: ==27239== Releasing lock...
[2025-01-13 03:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:22:02] Production.INFO: ==27241== Lock acquired, processing the job...
[2025-01-12 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:22:02] Production.INFO: ==27241== Releasing lock...
[2025-01-12 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:22:02] Production.INFO: ==27243== Lock acquired, processing the job...
[2025-01-13 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:22:02] Production.INFO: ==27243== Releasing lock...
[2025-01-13 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:22:03] Production.INFO: ==27256== Lock acquired, processing the job...
[2025-01-12 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:22:03] Production.INFO: ==27252== Lock acquired, processing the job...
[2025-01-12 22:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:22:03] Production.INFO: ==27246== Lock acquired, processing the job...
[2025-01-12 22:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:22:03] Production.INFO: Account Balance Start.
[2025-01-12 22:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:22:03] Production.INFO: 117
[2025-01-12 22:22:03] Production.INFO: ==27248== Lock acquired, processing the job...
[2025-01-12 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-12 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:22:03] Production.INFO: ==27250== Lock acquired, processing the job...
[2025-01-12 22:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:22:03] Production.INFO: count ==21
[2025-01-12 22:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 22:22:03] Production.INFO: count ==21
[2025-01-12 22:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234623') start
[2025-01-12 22:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:22:03] Production.INFO: ==27254== Lock acquired, processing the job...
[2025-01-12 22:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:22:03] Production.INFO: Total Charge 0
[2025-01-12 22:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234623') end
[2025-01-12 22:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:22:03] Production.INFO: 1
[2025-01-12 22:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:22:03] Production.INFO: CreateAllLog End
[2025-01-12 22:22:03] Production.INFO: ==27256== Releasing lock...
[2025-01-12 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:22:04] Production.INFO: ==27248== Releasing lock...
[2025-01-12 22:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:22:04] Production.INFO: Account Balance End.
[2025-01-12 22:22:04] Production.ERROR: done
[2025-01-12 22:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:22:04] Production.INFO: ==27252== Releasing lock...
[2025-01-12 22:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:22:04] Production.ERROR: done
[2025-01-12 22:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:22:05
[end_date_ymd] => 2025-01-12 22:22:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:22:05' and `end` < '2025-01-12 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-12 22:22:12] Production.ERROR: CronJobId end10
[2025-01-12 22:22:12] Production.INFO: ==27250== Releasing lock...
[2025-01-12 22:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:22:13] Production.INFO: call_cost start
[2025-01-12 22:22:13] Production.INFO: call_cost end
[2025-01-12 22:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:22:14] Production.INFO: ==27246== Releasing lock...
[2025-01-12 22:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:22:17] Production.INFO: count ==494
[2025-01-12 22:22:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:22:05 - End Time 2025-01-12 22:22:05
[2025-01-12 22:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234626', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234626', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234626', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234626', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:22:17] Production.INFO: ProcessCDR(1,14234626,1,1,2)
[2025-01-12 22:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234626', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234626', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:22:21] Production.INFO: ==27254== Releasing lock...
[2025-01-12 22:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:22:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:23:01] Production.INFO: ==27313== Lock acquired, processing the job...
[2025-01-13 03:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:23:01] Production.INFO: neon service started
[2025-01-13 03:23:01] Production.INFO: neon service started
[2025-01-13 03:23:01] Production.INFO: ==27313== Releasing lock...
[2025-01-13 03:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:23:01] Production.INFO: ==27315== Lock acquired, processing the job...
[2025-01-12 22:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:23:02] Production.INFO: ==27315== Releasing lock...
[2025-01-12 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:23:02] Production.INFO: ==27317== Lock acquired, processing the job...
[2025-01-13 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:23:02] Production.INFO: ==27317== Releasing lock...
[2025-01-13 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:23:02] Production.INFO: ==27320== Lock acquired, processing the job...
[2025-01-12 22:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:23:02] Production.INFO: ==27328== Lock acquired, processing the job...
[2025-01-12 22:23:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:23:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:23:02] Production.INFO: ==27322== Lock acquired, processing the job...
[2025-01-12 22:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:23:03] Production.INFO: ==27324== Lock acquired, processing the job...
[2025-01-12 22:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:23:03] Production.INFO: ==27326== Lock acquired, processing the job...
[2025-01-12 22:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:23:03] Production.INFO: ==27330== Lock acquired, processing the job...
[2025-01-12 22:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:23:03] Production.ERROR: done
[2025-01-12 22:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:23:03] Production.INFO: ==27322== Releasing lock...
[2025-01-12 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-12 22:23:03] Production.INFO: Account Balance Start.
[2025-01-12 22:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:23:03] Production.INFO: 117
[2025-01-12 22:23:03] Production.INFO: count ==21
[2025-01-12 22:23:03] Production.ERROR: done
[2025-01-12 22:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:23:03] Production.INFO: count ==21
[2025-01-12 22:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234629') start
[2025-01-12 22:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234629') end
[2025-01-12 22:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:23:04] Production.INFO: 1
[2025-01-12 22:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:23:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:23:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:23:04] Production.INFO: ==27330== Releasing lock...
[2025-01-12 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:23:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:23:04] Production.INFO: Total Charge 0
[2025-01-12 22:23:04] Production.INFO: CreateAllLog End
[2025-01-12 22:23:04] Production.INFO: Account Balance End.
[2025-01-12 22:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:23:04] Production.INFO: ==27326== Releasing lock...
[2025-01-12 22:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:23:05
[end_date_ymd] => 2025-01-12 22:23:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:23:05' and `end` < '2025-01-12 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-12 22:23:11] Production.ERROR: CronJobId end10
[2025-01-12 22:23:11] Production.INFO: ==27324== Releasing lock...
[2025-01-12 22:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:23:13] Production.INFO: call_cost start
[2025-01-12 22:23:13] Production.INFO: call_cost end
[2025-01-12 22:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:23:13] Production.INFO: ==27320== Releasing lock...
[2025-01-12 22:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:23:17] Production.INFO: count ==494
[2025-01-12 22:23:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:23:05 - End Time 2025-01-12 22:23:05
[2025-01-12 22:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234631', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234631', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234631', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234631', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:23:17] Production.INFO: ProcessCDR(1,14234631,1,1,2)
[2025-01-12 22:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234631', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234631', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:23:20] Production.INFO: ==27328== Releasing lock...
[2025-01-12 22:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:23:20] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:24:01] Production.INFO: ==27386== Lock acquired, processing the job...
[2025-01-13 03:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:24:02] Production.INFO: neon service started
[2025-01-13 03:24:02] Production.INFO: neon service started
[2025-01-13 03:24:02] Production.INFO: ==27386== Releasing lock...
[2025-01-13 03:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:24:02] Production.INFO: ==27388== Lock acquired, processing the job...
[2025-01-12 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:24:02] Production.INFO: ==27388== Releasing lock...
[2025-01-12 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:24:03] Production.INFO: ==27390== Lock acquired, processing the job...
[2025-01-13 03:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:24:03] Production.INFO: ==27390== Releasing lock...
[2025-01-13 03:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:24:03] Production.INFO: ==27399== Lock acquired, processing the job...
[2025-01-12 22:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:24:03] Production.INFO: ==27393== Lock acquired, processing the job...
[2025-01-12 22:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:24:03] Production.INFO: Account Balance Start.
[2025-01-12 22:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:24:03] Production.INFO: 117
[2025-01-12 22:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:24:03] Production.INFO: ==27395== Lock acquired, processing the job...
[2025-01-12 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:24:03] Production.INFO: ==27403== Lock acquired, processing the job...
[2025-01-12 22:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:24:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:24:04] Production.INFO: ==27397== Lock acquired, processing the job...
[2025-01-12 22:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:24:04] Production.INFO: ==27401== Lock acquired, processing the job...
[2025-01-12 22:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:24:04] Production.INFO: Total Charge 0
[2025-01-12 22:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:24:04] Production.INFO: CreateAllLog End
[2025-01-12 22:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:24:04] Production.INFO: count ==21
[2025-01-12 22:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:24:04] Production.INFO: count ==21
[2025-01-12 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234635') start
[2025-01-12 22:24:04] Production.INFO: ==27395== Releasing lock...
[2025-01-12 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:24:04] Production.INFO: Account Balance End.
[2025-01-12 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234635') end
[2025-01-12 22:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:24:04] Production.INFO: 1
[2025-01-12 22:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:24:04] Production.INFO: ==27399== Releasing lock...
[2025-01-12 22:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:24:04] Production.INFO: ==27403== Releasing lock...
[2025-01-12 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:24:04] Production.ERROR: done
[2025-01-12 22:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:24:04] Production.ERROR: done
[2025-01-12 22:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:24:05
[end_date_ymd] => 2025-01-12 22:24:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:24:05' and `end` < '2025-01-12 22:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:24:11] Production.ERROR: CronJobId end10
[2025-01-12 22:24:11] Production.INFO: ==27397== Releasing lock...
[2025-01-12 22:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:24:14] Production.INFO: call_cost start
[2025-01-12 22:24:14] Production.INFO: call_cost end
[2025-01-12 22:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:24:15] Production.INFO: ==27393== Releasing lock...
[2025-01-12 22:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:24:17] Production.INFO: count ==493
[2025-01-12 22:24:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:24:05 - End Time 2025-01-12 22:24:05
[2025-01-12 22:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234636', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234636', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234636', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234636', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:24:18] Production.INFO: ProcessCDR(1,14234636,1,1,2)
[2025-01-12 22:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234636', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234636', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:24:22] Production.INFO: ==27401== Releasing lock...
[2025-01-12 22:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:24:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 03:25:01] Production.INFO: ==27458== Lock acquired, processing the job...
[2025-01-13 03:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:25:01] Production.INFO: neon service started
[2025-01-13 03:25:01] Production.INFO: neon service started
[2025-01-13 03:25:01] Production.INFO: ==27458== Releasing lock...
[2025-01-13 03:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:25:01] Production.INFO: ==27460== Lock acquired, processing the job...
[2025-01-12 22:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:25:02] Production.INFO: ==27462== Lock acquired, processing the job...
[2025-01-13 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:25:02] Production.INFO: ==27462== Releasing lock...
[2025-01-13 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:25:02] Production.INFO: ==27460== Releasing lock...
[2025-01-12 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:25:02] Production.INFO: ==27470== Lock acquired, processing the job...
[2025-01-12 22:25:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:25:03] Production.INFO: ==27464== Lock acquired, processing the job...
[2025-01-12 22:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:25:03] Production.INFO: Account Balance Start.
[2025-01-12 22:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:25:03] Production.INFO: 117
[2025-01-12 22:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:25:03] Production.INFO: ==27466== Lock acquired, processing the job...
[2025-01-12 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:25:03] Production.INFO: ==27475== Lock acquired, processing the job...
[2025-01-12 22:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:25:03] Production.INFO: ==27468== Lock acquired, processing the job...
[2025-01-12 22:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-12 22:25:03] Production.INFO: ==27472== Lock acquired, processing the job...
[2025-01-12 22:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:25:03] Production.INFO: count ==21
[2025-01-12 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-12 22:25:03] Production.INFO: count ==21
[2025-01-12 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234640') start
[2025-01-12 22:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:25:03] Production.INFO: Total Charge 0
[2025-01-12 22:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:25:03] Production.INFO: CreateAllLog End
[2025-01-12 22:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234640') end
[2025-01-12 22:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:25:03] Production.INFO: 1
[2025-01-12 22:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:25:03] Production.INFO: ==27466== Releasing lock...
[2025-01-12 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:25:03] Production.INFO: ==27475== Releasing lock...
[2025-01-12 22:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:25:03] Production.INFO: Account Balance End.
[2025-01-12 22:25:03] Production.ERROR: CronJobId end 12
[2025-01-12 22:25:03] Production.INFO: ==27470== Releasing lock...
[2025-01-12 22:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:25:03] Production.ERROR: done
[2025-01-12 22:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:25:03] Production.ERROR: done
[2025-01-12 22:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:25:04
[end_date_ymd] => 2025-01-12 22:25:04
[RateCDR] => 1
)
[2025-01-12 22:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:25:04' and `end` < '2025-01-12 22:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:25:11] Production.ERROR: CronJobId end10
[2025-01-12 22:25:11] Production.INFO: ==27468== Releasing lock...
[2025-01-12 22:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:25:13] Production.INFO: call_cost start
[2025-01-12 22:25:13] Production.INFO: call_cost end
[2025-01-12 22:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:25:14] Production.INFO: ==27464== Releasing lock...
[2025-01-12 22:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:25:17] Production.INFO: count ==493
[2025-01-12 22:25:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:25:04 - End Time 2025-01-12 22:25:04
[2025-01-12 22:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234641', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234641', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234641', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234641', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:25:17] Production.INFO: ProcessCDR(1,14234641,1,1,2)
[2025-01-12 22:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234641', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234641', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:25:21] Production.INFO: ==27472== Releasing lock...
[2025-01-12 22:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:25:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 03:26:01] Production.INFO: ==27531== Lock acquired, processing the job...
[2025-01-13 03:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:26:01] Production.INFO: neon service started
[2025-01-13 03:26:01] Production.INFO: neon service started
[2025-01-13 03:26:01] Production.INFO: ==27531== Releasing lock...
[2025-01-13 03:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:26:02] Production.INFO: ==27533== Lock acquired, processing the job...
[2025-01-12 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:26:02] Production.INFO: ==27535== Lock acquired, processing the job...
[2025-01-13 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:26:02] Production.INFO: ==27535== Releasing lock...
[2025-01-13 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:26:02] Production.INFO: ==27533== Releasing lock...
[2025-01-12 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:26:03] Production.INFO: ==27539== Lock acquired, processing the job...
[2025-01-12 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:26:03] Production.INFO: ==27547== Lock acquired, processing the job...
[2025-01-12 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:26:03] Production.INFO: ==27541== Lock acquired, processing the job...
[2025-01-12 22:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:26:03] Production.INFO: ==27539== Releasing lock...
[2025-01-12 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-12 22:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:26:03] Production.INFO: ==27537== Lock acquired, processing the job...
[2025-01-12 22:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:26:03] Production.INFO: count ==21
[2025-01-12 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-12 22:26:03] Production.INFO: count ==21
[2025-01-12 22:26:03] Production.INFO: ==27545== Lock acquired, processing the job...
[2025-01-12 22:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234643') start
[2025-01-12 22:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:26:03] Production.INFO: ==27543== Lock acquired, processing the job...
[2025-01-12 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234643') end
[2025-01-12 22:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:26:03] Production.INFO: 1
[2025-01-12 22:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:26:04] Production.INFO: ==27547== Releasing lock...
[2025-01-12 22:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:26:04] Production.INFO: Account Balance Start.
[2025-01-12 22:26:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:26:04] Production.INFO: 117
[2025-01-12 22:26:04] Production.ERROR: done
[2025-01-12 22:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:26:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:26:04] Production.ERROR: done
[2025-01-12 22:26:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:26:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:26:04] Production.INFO: Total Charge 0
[2025-01-12 22:26:04] Production.INFO: CreateAllLog End
[2025-01-12 22:26:04] Production.INFO: Account Balance End.
[2025-01-12 22:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:26:04] Production.INFO: ==27543== Releasing lock...
[2025-01-12 22:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:26:05
[end_date_ymd] => 2025-01-12 22:26:05
[RateCDR] => 1
)
[2025-01-12 22:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:26:05' and `end` < '2025-01-12 22:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:26:11] Production.ERROR: CronJobId end10
[2025-01-12 22:26:11] Production.INFO: ==27541== Releasing lock...
[2025-01-12 22:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:26:14] Production.INFO: call_cost start
[2025-01-12 22:26:14] Production.INFO: call_cost end
[2025-01-12 22:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:26:15] Production.INFO: ==27537== Releasing lock...
[2025-01-12 22:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:26:17] Production.INFO: count ==493
[2025-01-12 22:26:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:26:05 - End Time 2025-01-12 22:26:05
[2025-01-12 22:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234646', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234646', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234646', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234646', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:26:17] Production.INFO: ProcessCDR(1,14234646,1,1,2)
[2025-01-12 22:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234646', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234646', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:26:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:26:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:26:20] Production.INFO: ==27545== Releasing lock...
[2025-01-12 22:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:26:20] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 03:27:02] Production.INFO: ==27602== Lock acquired, processing the job...
[2025-01-13 03:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:27:02] Production.INFO: neon service started
[2025-01-13 03:27:02] Production.INFO: neon service started
[2025-01-13 03:27:02] Production.INFO: ==27602== Releasing lock...
[2025-01-13 03:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:27:02] Production.INFO: ==27604== Lock acquired, processing the job...
[2025-01-12 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:27:02] Production.INFO: ==27606== Lock acquired, processing the job...
[2025-01-13 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:27:02] Production.INFO: ==27606== Releasing lock...
[2025-01-13 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:27:03] Production.INFO: ==27604== Releasing lock...
[2025-01-12 22:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:27:04] Production.INFO: ==27611== Lock acquired, processing the job...
[2025-01-12 22:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:27:04] Production.INFO: ==27617== Lock acquired, processing the job...
[2025-01-12 22:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:27:04] Production.INFO: ==27609== Lock acquired, processing the job...
[2025-01-12 22:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:27:04] Production.INFO: ==27613== Lock acquired, processing the job...
[2025-01-12 22:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:27:04] Production.INFO: ==27615== Lock acquired, processing the job...
[2025-01-12 22:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:27:04] Production.INFO: ==27619== Lock acquired, processing the job...
[2025-01-12 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:27:04] Production.ERROR: done
[2025-01-12 22:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:27:04] Production.INFO: Account Balance Start.
[2025-01-12 22:27:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:27:04] Production.INFO: 117
[2025-01-12 22:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:27:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:27:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:27:04] Production.INFO: ==27611== Releasing lock...
[2025-01-12 22:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:27:04] Production.ERROR: done
[2025-01-12 22:27:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:27:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:27:04] Production.INFO: count ==21
[2025-01-12 22:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:27:04] Production.INFO: count ==21
[2025-01-12 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234650') start
[2025-01-12 22:27:04] Production.INFO: Total Charge 0
[2025-01-12 22:27:04] Production.INFO: CreateAllLog End
[2025-01-12 22:27:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234650') end
[2025-01-12 22:27:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:27:05] Production.INFO: 1
[2025-01-12 22:27:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:27:05] Production.INFO: ==27619== Releasing lock...
[2025-01-12 22:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:27:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:27:05] Production.INFO: Account Balance End.
[2025-01-12 22:27:05] Production.ERROR: CronJobId end 12
[2025-01-12 22:27:05] Production.INFO: ==27615== Releasing lock...
[2025-01-12 22:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:27:05
[end_date_ymd] => 2025-01-12 22:27:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:27:05' and `end` < '2025-01-12 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-12 22:27:12] Production.ERROR: CronJobId end10
[2025-01-12 22:27:12] Production.INFO: ==27613== Releasing lock...
[2025-01-12 22:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:27:13] Production.INFO: call_cost start
[2025-01-12 22:27:13] Production.INFO: call_cost end
[2025-01-12 22:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:27:14] Production.INFO: ==27609== Releasing lock...
[2025-01-12 22:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:27:18] Production.INFO: count ==484
[2025-01-12 22:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:27:05 - End Time 2025-01-12 22:27:05
[2025-01-12 22:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234651', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234651', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234651', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234651', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:27:18] Production.INFO: ProcessCDR(1,14234651,1,1,2)
[2025-01-12 22:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234651', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234651', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:27:21] Production.INFO: ==27617== Releasing lock...
[2025-01-12 22:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:27:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:28:01] Production.INFO: ==27671== Lock acquired, processing the job...
[2025-01-13 03:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:28:01] Production.INFO: neon service started
[2025-01-13 03:28:01] Production.INFO: neon service started
[2025-01-13 03:28:01] Production.INFO: ==27671== Releasing lock...
[2025-01-13 03:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:28:02] Production.INFO: ==27675== Lock acquired, processing the job...
[2025-01-13 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:28:02] Production.INFO: ==27675== Releasing lock...
[2025-01-13 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:28:02] Production.INFO: ==27673== Lock acquired, processing the job...
[2025-01-12 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:28:02] Production.INFO: ==27673== Releasing lock...
[2025-01-12 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:28:03] Production.INFO: ==27686== Lock acquired, processing the job...
[2025-01-12 22:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:28:03] Production.INFO: ==27682== Lock acquired, processing the job...
[2025-01-12 22:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:28:03] Production.INFO: ==27678== Lock acquired, processing the job...
[2025-01-12 22:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:28:03] Production.INFO: ==27680== Lock acquired, processing the job...
[2025-01-12 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:28:04] Production.INFO: ==27684== Lock acquired, processing the job...
[2025-01-12 22:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:28:04] Production.INFO: ==27688== Lock acquired, processing the job...
[2025-01-12 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:28:04] Production.INFO: Account Balance Start.
[2025-01-12 22:28:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:28:04] Production.INFO: 117
[2025-01-12 22:28:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:28:04] Production.ERROR: done
[2025-01-12 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:28:04] Production.INFO: count ==21
[2025-01-12 22:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:28:04] Production.INFO: count ==21
[2025-01-12 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234655') start
[2025-01-12 22:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:28:04] Production.INFO: ==27680== Releasing lock...
[2025-01-12 22:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:28:04] Production.ERROR: done
[2025-01-12 22:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:28:04] Production.INFO: Total Charge 0
[2025-01-12 22:28:04] Production.INFO: CreateAllLog End
[2025-01-12 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234655') end
[2025-01-12 22:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:28:04] Production.INFO: 1
[2025-01-12 22:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:28:04] Production.INFO: ==27688== Releasing lock...
[2025-01-12 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:28:04] Production.INFO: Account Balance End.
[2025-01-12 22:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:28:04] Production.INFO: ==27684== Releasing lock...
[2025-01-12 22:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:28:05
[end_date_ymd] => 2025-01-12 22:28:05
[RateCDR] => 1
)
[2025-01-12 22:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:28:05' and `end` < '2025-01-12 22:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:28:11] Production.ERROR: CronJobId end10
[2025-01-12 22:28:11] Production.INFO: ==27682== Releasing lock...
[2025-01-12 22:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:28:13] Production.INFO: call_cost start
[2025-01-12 22:28:13] Production.INFO: call_cost end
[2025-01-12 22:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:28:14] Production.INFO: ==27678== Releasing lock...
[2025-01-12 22:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:28:17] Production.INFO: count ==476
[2025-01-12 22:28:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:28:05 - End Time 2025-01-12 22:28:05
[2025-01-12 22:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234656', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234656', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234656', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234656', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:28:17] Production.INFO: ProcessCDR(1,14234656,1,1,2)
[2025-01-12 22:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234656', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234656', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:28:21] Production.INFO: ==27686== Releasing lock...
[2025-01-12 22:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:28:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 03:29:01] Production.INFO: ==27746== Lock acquired, processing the job...
[2025-01-13 03:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:29:01] Production.INFO: neon service started
[2025-01-13 03:29:01] Production.INFO: neon service started
[2025-01-13 03:29:01] Production.INFO: ==27746== Releasing lock...
[2025-01-13 03:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:29:01] Production.INFO: ==27748== Lock acquired, processing the job...
[2025-01-12 22:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:29:02] Production.INFO: ==27748== Releasing lock...
[2025-01-12 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:29:02] Production.INFO: ==27750== Lock acquired, processing the job...
[2025-01-13 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:29:02] Production.INFO: ==27750== Releasing lock...
[2025-01-13 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:29:02] Production.INFO: ==27761== Lock acquired, processing the job...
[2025-01-12 22:29:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:29:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:29:02] Production.INFO: ==27763== Lock acquired, processing the job...
[2025-01-12 22:29:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 22:29:03] Production.INFO: count ==21
[2025-01-12 22:29:03] Production.INFO: ==27753== Lock acquired, processing the job...
[2025-01-12 22:29:03] Production.INFO: ==27755== Lock acquired, processing the job...
[2025-01-12 22:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-12 22:29:03] Production.INFO: count ==21
[2025-01-12 22:29:03] Production.INFO: ==27757== Lock acquired, processing the job...
[2025-01-12 22:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:29:03] Production.INFO: ==27759== Lock acquired, processing the job...
[2025-01-12 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234657') start
[2025-01-12 22:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:29:03] Production.INFO: Account Balance Start.
[2025-01-12 22:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:29:03] Production.INFO: 117
[2025-01-12 22:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234657') end
[2025-01-12 22:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:29:03] Production.INFO: 1
[2025-01-12 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:29:03] Production.ERROR: done
[2025-01-12 22:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:29:03] Production.INFO: ==27763== Releasing lock...
[2025-01-12 22:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:29:03] Production.INFO: Total Charge 0
[2025-01-12 22:29:03] Production.ERROR: done
[2025-01-12 22:29:03] Production.INFO: CreateAllLog End
[2025-01-12 22:29:03] Production.INFO: ==27755== Releasing lock...
[2025-01-12 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:29:03] Production.INFO: Account Balance End.
[2025-01-12 22:29:03] Production.ERROR: CronJobId end 12
[2025-01-12 22:29:03] Production.INFO: ==27759== Releasing lock...
[2025-01-12 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:29:04
[end_date_ymd] => 2025-01-12 22:29:04
[RateCDR] => 1
)
[2025-01-12 22:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:29:04' and `end` < '2025-01-12 22:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:29:11] Production.ERROR: CronJobId end10
[2025-01-12 22:29:11] Production.INFO: ==27757== Releasing lock...
[2025-01-12 22:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:29:13] Production.INFO: call_cost start
[2025-01-12 22:29:13] Production.INFO: call_cost end
[2025-01-12 22:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:29:14] Production.INFO: ==27753== Releasing lock...
[2025-01-12 22:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:29:17] Production.INFO: count ==462
[2025-01-12 22:29:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:29:04 - End Time 2025-01-12 22:29:04
[2025-01-12 22:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234661', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234661', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234661', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234661', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:29:17] Production.INFO: ProcessCDR(1,14234661,1,1,2)
[2025-01-12 22:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234661', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234661', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:29:20] Production.INFO: ==27761== Releasing lock...
[2025-01-12 22:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:29:20] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:30:01] Production.INFO: ==27820== Lock acquired, processing the job...
[2025-01-13 03:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:30:01] Production.INFO: neon service started
[2025-01-13 03:30:01] Production.INFO: neon service started
[2025-01-13 03:30:01] Production.INFO: ==27820== Releasing lock...
[2025-01-13 03:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:30:02] Production.INFO: ==27822== Lock acquired, processing the job...
[2025-01-12 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:30:02] Production.INFO: ==27822== Releasing lock...
[2025-01-12 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:30:02] Production.INFO: ==27824== Lock acquired, processing the job...
[2025-01-13 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:30:02] Production.INFO: ==27824== Releasing lock...
[2025-01-13 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:30:03] Production.INFO: ==27834== Lock acquired, processing the job...
[2025-01-12 22:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:30:03] Production.INFO: ==27826== Lock acquired, processing the job...
[2025-01-12 22:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 22:30:03] Production.INFO: Account Balance Start.
[2025-01-12 22:30:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:30:03] Production.INFO: 117
[2025-01-12 22:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 22:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 22:30:03] Production.ERROR: CronJob PID - 27834
[2025-01-12 22:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 22:30:03] Production.ERROR: CronJob ID - 12
[2025-01-12 22:30:03] Production.ERROR: CronJob Last Run Time 2025-01-12 22:30:00
[2025-01-12 22:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 22:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 22:30:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 22:30:03] Production.INFO: ==27826== Releasing lock...
[2025-01-12 22:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 22:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 22:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:30:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:30:03] Production.INFO: ==27828== Lock acquired, processing the job...
[2025-01-12 22:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:30:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:30:03] Production.INFO: ==27841== Lock acquired, processing the job...
[2025-01-12 22:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:30:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:30:03] Production.INFO: ==27830== Lock acquired, processing the job...
[2025-01-12 22:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:30:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:30:03] Production.INFO: ==27832== Lock acquired, processing the job...
[2025-01-12 22:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:30:03] Production.INFO: Total Charge 0
[2025-01-12 22:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:30:04] Production.INFO: CreateAllLog End
[2025-01-12 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-12 22:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:30:04] Production.INFO: count ==21
[2025-01-12 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-12 22:30:04] Production.INFO: count ==21
[2025-01-12 22:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234664') start
[2025-01-12 22:30:04] Production.INFO: ==27836== Lock acquired, processing the job...
[2025-01-12 22:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:30:04] Production.INFO: ==27838== Lock acquired, processing the job...
[2025-01-12 22:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:30:04] Production.INFO: Account Balance End.
[2025-01-12 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234664') end
[2025-01-12 22:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:30:04] Production.INFO: 1
[2025-01-12 22:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:30:04] Production.INFO: ==27841== Releasing lock...
[2025-01-12 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:30:04] Production.INFO: ==27830== Releasing lock...
[2025-01-12 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:30:04] Production.INFO: ==27834== Releasing lock...
[2025-01-12 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:30:04] Production.ERROR: done
[2025-01-12 22:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:30:04] Production.ERROR: done
[2025-01-12 22:30:04] Production.ERROR: done
[2025-01-12 22:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 22:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234666', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 22:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:30:05
[end_date_ymd] => 2025-01-12 22:30:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:30:05' and `end` < '2025-01-12 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-12 22:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234666', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 22:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 22:30:08] Production.INFO: ProcessCDR(1,14234666,1,1,2)
[2025-01-12 22:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234666,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234666,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:30:08] Production.INFO: ==27838== Releasing lock...
[2025-01-12 22:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 22:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 22:30:13] Production.ERROR: CronJobId end10
[2025-01-12 22:30:13] Production.INFO: ==27832== Releasing lock...
[2025-01-12 22:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:30:14] Production.INFO: call_cost start
[2025-01-12 22:30:14] Production.INFO: call_cost end
[2025-01-12 22:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:30:15] Production.INFO: ==27828== Releasing lock...
[2025-01-12 22:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:30:18] Production.INFO: count ==456
[2025-01-12 22:30:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:30:05 - End Time 2025-01-12 22:30:05
[2025-01-12 22:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234667', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234667', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234667', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234667', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:30:18] Production.INFO: ProcessCDR(1,14234667,1,1,2)
[2025-01-12 22:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234667', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234667', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:30:21] Production.INFO: ==27836== Releasing lock...
[2025-01-12 22:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:30:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:31:02] Production.INFO: ==27897== Lock acquired, processing the job...
[2025-01-13 03:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:31:02] Production.INFO: neon service started
[2025-01-13 03:31:02] Production.INFO: neon service started
[2025-01-13 03:31:02] Production.INFO: ==27897== Releasing lock...
[2025-01-13 03:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:31:02] Production.INFO: ==27899== Lock acquired, processing the job...
[2025-01-12 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:31:02] Production.INFO: ==27901== Lock acquired, processing the job...
[2025-01-13 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 22:31:02] Production.INFO: ==27899== Releasing lock...
[2025-01-12 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:31:02] Production.INFO: ==27901== Releasing lock...
[2025-01-13 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:31:03] Production.INFO: ==27907== Lock acquired, processing the job...
[2025-01-12 22:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:31:03] Production.INFO: ==27903== Lock acquired, processing the job...
[2025-01-12 22:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:31:03] Production.INFO: ==27913== Lock acquired, processing the job...
[2025-01-12 22:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:31:04] Production.INFO: ==27905== Lock acquired, processing the job...
[2025-01-12 22:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-12 22:31:04] Production.INFO: ==27909== Lock acquired, processing the job...
[2025-01-12 22:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:31:04] Production.INFO: count ==21
[2025-01-12 22:31:04] Production.INFO: ==27911== Lock acquired, processing the job...
[2025-01-12 22:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-12 22:31:04] Production.INFO: count ==21
[2025-01-12 22:31:04] Production.INFO: Account Balance Start.
[2025-01-12 22:31:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:31:04] Production.INFO: 117
[2025-01-12 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234669') start
[2025-01-12 22:31:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:31:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:31:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234669') end
[2025-01-12 22:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:31:04] Production.INFO: 1
[2025-01-12 22:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:31:04] Production.INFO: ==27905== Releasing lock...
[2025-01-12 22:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:31:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:31:04] Production.INFO: ==27913== Releasing lock...
[2025-01-12 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:31:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:31:04] Production.INFO: Total Charge 0
[2025-01-12 22:31:04] Production.INFO: CreateAllLog End
[2025-01-12 22:31:04] Production.ERROR: done
[2025-01-12 22:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:31:04] Production.ERROR: done
[2025-01-12 22:31:04] Production.INFO: Account Balance End.
[2025-01-12 22:31:05] Production.ERROR: CronJobId end 12
[2025-01-12 22:31:05] Production.INFO: ==27909== Releasing lock...
[2025-01-12 22:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:31:05
[end_date_ymd] => 2025-01-12 22:31:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:31:05' and `end` < '2025-01-12 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-12 22:31:11] Production.ERROR: CronJobId end10
[2025-01-12 22:31:11] Production.INFO: ==27907== Releasing lock...
[2025-01-12 22:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:31:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:31:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:31:14] Production.INFO: call_cost start
[2025-01-12 22:31:14] Production.INFO: call_cost end
[2025-01-12 22:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:31:15] Production.INFO: ==27903== Releasing lock...
[2025-01-12 22:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:31:18] Production.INFO: count ==461
[2025-01-12 22:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:31:05 - End Time 2025-01-12 22:31:05
[2025-01-12 22:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234672', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234672', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234672', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234672', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:31:18] Production.INFO: ProcessCDR(1,14234672,1,1,2)
[2025-01-12 22:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234672', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234672', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:31:21] Production.INFO: ==27911== Releasing lock...
[2025-01-12 22:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:31:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:32:01] Production.INFO: ==27967== Lock acquired, processing the job...
[2025-01-13 03:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:32:01] Production.INFO: neon service started
[2025-01-13 03:32:01] Production.INFO: neon service started
[2025-01-13 03:32:01] Production.INFO: ==27967== Releasing lock...
[2025-01-13 03:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:32:02] Production.INFO: ==27969== Lock acquired, processing the job...
[2025-01-12 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:32:02] Production.INFO: ==27969== Releasing lock...
[2025-01-12 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:32:02] Production.INFO: ==27971== Lock acquired, processing the job...
[2025-01-13 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:32:02] Production.INFO: ==27971== Releasing lock...
[2025-01-13 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:32:03] Production.INFO: ==27979== Lock acquired, processing the job...
[2025-01-12 22:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:32:03] Production.INFO: ==27981== Lock acquired, processing the job...
[2025-01-12 22:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:32:03] Production.INFO: ==27973== Lock acquired, processing the job...
[2025-01-12 22:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:32:03] Production.INFO: ==27975== Lock acquired, processing the job...
[2025-01-12 22:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:32:03] Production.INFO: ==27977== Lock acquired, processing the job...
[2025-01-12 22:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:32:03] Production.INFO: Account Balance Start.
[2025-01-12 22:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:32:03] Production.INFO: 117
[2025-01-12 22:32:03] Production.INFO: ==27983== Lock acquired, processing the job...
[2025-01-12 22:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:32:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:32:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:32:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:32:03] Production.ERROR: done
[2025-01-12 22:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-12 22:32:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:32:03] Production.INFO: count ==21
[2025-01-12 22:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:32:03] Production.INFO: count ==21
[2025-01-12 22:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234676') start
[2025-01-12 22:32:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:32:03] Production.INFO: Total Charge 0
[2025-01-12 22:32:03] Production.ERROR: done
[2025-01-12 22:32:03] Production.INFO: CreateAllLog End
[2025-01-12 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234676') end
[2025-01-12 22:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:32:04] Production.INFO: 1
[2025-01-12 22:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:32:04] Production.INFO: ==27975== Releasing lock...
[2025-01-12 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:32:04] Production.INFO: ==27983== Releasing lock...
[2025-01-12 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:32:04] Production.INFO: Account Balance End.
[2025-01-12 22:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:32:04] Production.INFO: ==27979== Releasing lock...
[2025-01-12 22:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:32:05
[end_date_ymd] => 2025-01-12 22:32:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:32:05' and `end` < '2025-01-12 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-12 22:32:12] Production.ERROR: CronJobId end10
[2025-01-12 22:32:12] Production.INFO: ==27977== Releasing lock...
[2025-01-12 22:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:32:14] Production.INFO: call_cost start
[2025-01-12 22:32:14] Production.INFO: call_cost end
[2025-01-12 22:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:32:14] Production.INFO: ==27973== Releasing lock...
[2025-01-12 22:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:32:17] Production.INFO: count ==451
[2025-01-12 22:32:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:32:05 - End Time 2025-01-12 22:32:05
[2025-01-12 22:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234677', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234677', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234677', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234677', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:32:17] Production.INFO: ProcessCDR(1,14234677,1,1,2)
[2025-01-12 22:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234677', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234677', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:32:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:32:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:32:20] Production.INFO: ==27981== Releasing lock...
[2025-01-12 22:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:32:20] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 03:33:02] Production.INFO: ==28039== Lock acquired, processing the job...
[2025-01-13 03:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:33:02] Production.INFO: neon service started
[2025-01-13 03:33:02] Production.INFO: neon service started
[2025-01-13 03:33:02] Production.INFO: ==28039== Releasing lock...
[2025-01-13 03:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:33:02] Production.INFO: ==28041== Lock acquired, processing the job...
[2025-01-12 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:33:02] Production.INFO: ==28041== Releasing lock...
[2025-01-12 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:33:03] Production.INFO: ==28043== Lock acquired, processing the job...
[2025-01-13 03:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:33:03] Production.INFO: ==28043== Releasing lock...
[2025-01-13 03:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:33:03] Production.INFO: ==28045== Lock acquired, processing the job...
[2025-01-12 22:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:33:03] Production.INFO: ==28051== Lock acquired, processing the job...
[2025-01-12 22:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:33:03] Production.INFO: ==28049== Lock acquired, processing the job...
[2025-01-12 22:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:33:03] Production.INFO: Account Balance Start.
[2025-01-12 22:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:33:03] Production.INFO: 117
[2025-01-12 22:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:33:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:33:04] Production.INFO: ==28055== Lock acquired, processing the job...
[2025-01-12 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:33:04] Production.INFO: ==28047== Lock acquired, processing the job...
[2025-01-12 22:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:33:04] Production.INFO: ==28053== Lock acquired, processing the job...
[2025-01-12 22:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:33:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:33:04] Production.INFO: Total Charge 0
[2025-01-12 22:33:04] Production.INFO: CreateAllLog End
[2025-01-12 22:33:04] Production.INFO: count ==21
[2025-01-12 22:33:04] Production.ERROR: done
[2025-01-12 22:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:33:04] Production.INFO: count ==21
[2025-01-12 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234680') start
[2025-01-12 22:33:04] Production.ERROR: done
[2025-01-12 22:33:04] Production.INFO: ==28047== Releasing lock...
[2025-01-12 22:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234680') end
[2025-01-12 22:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:33:04] Production.INFO: 1
[2025-01-12 22:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:33:04] Production.INFO: ==28055== Releasing lock...
[2025-01-12 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:33:04] Production.INFO: Account Balance End.
[2025-01-12 22:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:33:04] Production.INFO: ==28051== Releasing lock...
[2025-01-12 22:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:33:05
[end_date_ymd] => 2025-01-12 22:33:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:33:05' and `end` < '2025-01-12 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-12 22:33:12] Production.ERROR: CronJobId end10
[2025-01-12 22:33:12] Production.INFO: ==28049== Releasing lock...
[2025-01-12 22:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:33:14] Production.INFO: call_cost start
[2025-01-12 22:33:14] Production.INFO: call_cost end
[2025-01-12 22:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:33:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:33:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:33:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:33:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:33:15] Production.INFO: ==28045== Releasing lock...
[2025-01-12 22:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:33:17] Production.INFO: count ==443
[2025-01-12 22:33:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:33:05 - End Time 2025-01-12 22:33:05
[2025-01-12 22:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234682', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234682', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234682', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234682', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:33:17] Production.INFO: ProcessCDR(1,14234682,1,1,2)
[2025-01-12 22:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234682', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234682', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:33:21] Production.INFO: ==28053== Releasing lock...
[2025-01-12 22:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:33:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:34:01] Production.INFO: ==28115== Lock acquired, processing the job...
[2025-01-13 03:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:34:01] Production.INFO: neon service started
[2025-01-13 03:34:01] Production.INFO: neon service started
[2025-01-13 03:34:01] Production.INFO: ==28115== Releasing lock...
[2025-01-13 03:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:34:02] Production.INFO: ==28117== Lock acquired, processing the job...
[2025-01-12 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:34:02] Production.INFO: ==28117== Releasing lock...
[2025-01-12 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:34:02] Production.INFO: ==28119== Lock acquired, processing the job...
[2025-01-13 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:34:02] Production.INFO: ==28119== Releasing lock...
[2025-01-13 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:34:03] Production.INFO: ==28121== Lock acquired, processing the job...
[2025-01-12 22:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:34:03] Production.INFO: ==28123== Lock acquired, processing the job...
[2025-01-12 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:34:03] Production.INFO: ==28125== Lock acquired, processing the job...
[2025-01-12 22:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:34:03] Production.INFO: ==28132== Lock acquired, processing the job...
[2025-01-12 22:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:34:03] Production.INFO: ==28127== Lock acquired, processing the job...
[2025-01-12 22:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:34:03] Production.INFO: ==28129== Lock acquired, processing the job...
[2025-01-12 22:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:34:03] Production.INFO: count ==21
[2025-01-12 22:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:34:03] Production.INFO: count ==21
[2025-01-12 22:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234684') start
[2025-01-12 22:34:03] Production.INFO: Account Balance Start.
[2025-01-12 22:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:34:03] Production.INFO: 117
[2025-01-12 22:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234684') end
[2025-01-12 22:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:34:03] Production.INFO: 1
[2025-01-12 22:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:34:03] Production.INFO: ==28123== Releasing lock...
[2025-01-12 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:34:03] Production.INFO: ==28132== Releasing lock...
[2025-01-12 22:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:34:04] Production.ERROR: done
[2025-01-12 22:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:34:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:34:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:34:04] Production.ERROR: done
[2025-01-12 22:34:04] Production.INFO: Total Charge 0
[2025-01-12 22:34:04] Production.INFO: CreateAllLog End
[2025-01-12 22:34:04] Production.INFO: Account Balance End.
[2025-01-12 22:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:34:04] Production.INFO: ==28127== Releasing lock...
[2025-01-12 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:34:05
[end_date_ymd] => 2025-01-12 22:34:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:34:05' and `end` < '2025-01-12 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-12 22:34:11] Production.ERROR: CronJobId end10
[2025-01-12 22:34:11] Production.INFO: ==28125== Releasing lock...
[2025-01-12 22:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:34:13] Production.INFO: call_cost start
[2025-01-12 22:34:13] Production.INFO: call_cost end
[2025-01-12 22:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:34:14] Production.INFO: ==28121== Releasing lock...
[2025-01-12 22:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:34:17] Production.INFO: count ==432
[2025-01-12 22:34:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:34:05 - End Time 2025-01-12 22:34:05
[2025-01-12 22:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234687', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234687', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234687', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234687', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:34:17] Production.INFO: ProcessCDR(1,14234687,1,1,2)
[2025-01-12 22:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234687', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234687', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:34:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:34:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:34:21] Production.INFO: ==28129== Releasing lock...
[2025-01-12 22:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:34:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:35:02] Production.INFO: ==28188== Lock acquired, processing the job...
[2025-01-13 03:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:35:02] Production.INFO: neon service started
[2025-01-13 03:35:02] Production.INFO: neon service started
[2025-01-13 03:35:02] Production.INFO: ==28188== Releasing lock...
[2025-01-13 03:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:35:02] Production.INFO: ==28192== Lock acquired, processing the job...
[2025-01-13 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:35:02] Production.INFO: ==28192== Releasing lock...
[2025-01-13 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:35:02] Production.INFO: ==28190== Lock acquired, processing the job...
[2025-01-12 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:35:02] Production.INFO: ==28190== Releasing lock...
[2025-01-12 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:35:03] Production.INFO: ==28201== Lock acquired, processing the job...
[2025-01-12 22:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:35:03] Production.INFO: ==28203== Lock acquired, processing the job...
[2025-01-12 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:35:03] Production.INFO: ==28197== Lock acquired, processing the job...
[2025-01-12 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:35:03] Production.INFO: Account Balance Start.
[2025-01-12 22:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:35:03] Production.INFO: 117
[2025-01-12 22:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:35:03] Production.INFO: ==28199== Lock acquired, processing the job...
[2025-01-12 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:35:04] Production.INFO: Total Charge 0
[2025-01-12 22:35:04] Production.INFO: ==28205== Lock acquired, processing the job...
[2025-01-12 22:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:35:04] Production.INFO: CreateAllLog End
[2025-01-12 22:35:04] Production.INFO: ==28207== Lock acquired, processing the job...
[2025-01-12 22:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:35:04] Production.INFO: Account Balance End.
[2025-01-12 22:35:04] Production.INFO: count ==21
[2025-01-12 22:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:35:04] Production.INFO: count ==21
[2025-01-12 22:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234691') start
[2025-01-12 22:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:35:04] Production.INFO: ==28203== Releasing lock...
[2025-01-12 22:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:35:04] Production.INFO: ==28199== Releasing lock...
[2025-01-12 22:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:35:04] Production.ERROR: done
[2025-01-12 22:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234691') end
[2025-01-12 22:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:35:04] Production.INFO: 1
[2025-01-12 22:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:35:04] Production.INFO: ==28207== Releasing lock...
[2025-01-12 22:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:35:04] Production.ERROR: done
[2025-01-12 22:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:35:05
[end_date_ymd] => 2025-01-12 22:35:05
[RateCDR] => 1
)
[2025-01-12 22:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:35:05' and `end` < '2025-01-12 22:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:35:12] Production.ERROR: CronJobId end10
[2025-01-12 22:35:12] Production.INFO: ==28201== Releasing lock...
[2025-01-12 22:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:35:14] Production.INFO: call_cost start
[2025-01-12 22:35:14] Production.INFO: call_cost end
[2025-01-12 22:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:35:14] Production.INFO: ==28197== Releasing lock...
[2025-01-12 22:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:35:19] Production.INFO: count ==416
[2025-01-12 22:35:19] Production.ERROR: pbx CDR StartTime 2025-01-12 19:35:05 - End Time 2025-01-12 22:35:05
[2025-01-12 22:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234692', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234692', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234692', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234692', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:35:19] Production.INFO: ProcessCDR(1,14234692,1,1,2)
[2025-01-12 22:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234692', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234692', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:35:22] Production.INFO: ==28205== Releasing lock...
[2025-01-12 22:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:35:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:36:01] Production.INFO: ==28298== Lock acquired, processing the job...
[2025-01-13 03:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:36:01] Production.INFO: neon service started
[2025-01-13 03:36:01] Production.INFO: neon service started
[2025-01-13 03:36:01] Production.INFO: ==28298== Releasing lock...
[2025-01-13 03:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:36:02] Production.INFO: ==28300== Lock acquired, processing the job...
[2025-01-12 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:36:02] Production.INFO: ==28302== Lock acquired, processing the job...
[2025-01-13 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:36:02] Production.INFO: ==28302== Releasing lock...
[2025-01-13 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:36:02] Production.INFO: ==28300== Releasing lock...
[2025-01-12 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:36:03] Production.INFO: ==28305== Lock acquired, processing the job...
[2025-01-12 22:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:36:03] Production.INFO: ==28309== Lock acquired, processing the job...
[2025-01-12 22:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:36:03] Production.INFO: ==28313== Lock acquired, processing the job...
[2025-01-12 22:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:36:03] Production.INFO: ==28307== Lock acquired, processing the job...
[2025-01-12 22:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:36:03] Production.INFO: ==28311== Lock acquired, processing the job...
[2025-01-12 22:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:36:03] Production.INFO: ==28315== Lock acquired, processing the job...
[2025-01-12 22:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:36:03] Production.INFO: Account Balance Start.
[2025-01-12 22:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:36:03] Production.INFO: 117
[2025-01-12 22:36:03] Production.ERROR: done
[2025-01-12 22:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:36:03] Production.INFO: count ==21
[2025-01-12 22:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:36:03] Production.INFO: count ==21
[2025-01-12 22:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234696') start
[2025-01-12 22:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:36:04] Production.ERROR: done
[2025-01-12 22:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:36:04] Production.INFO: Total Charge 0
[2025-01-12 22:36:04] Production.INFO: ==28307== Releasing lock...
[2025-01-12 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:36:04] Production.INFO: CreateAllLog End
[2025-01-12 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234696') end
[2025-01-12 22:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:36:04] Production.INFO: 1
[2025-01-12 22:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:36:04] Production.INFO: ==28315== Releasing lock...
[2025-01-12 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:36:04] Production.INFO: Account Balance End.
[2025-01-12 22:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:36:04] Production.INFO: ==28311== Releasing lock...
[2025-01-12 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:36:05
[end_date_ymd] => 2025-01-12 22:36:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:36:05' and `end` < '2025-01-12 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-12 22:36:11] Production.ERROR: CronJobId end10
[2025-01-12 22:36:11] Production.INFO: ==28309== Releasing lock...
[2025-01-12 22:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:36:13] Production.INFO: call_cost start
[2025-01-12 22:36:13] Production.INFO: call_cost end
[2025-01-12 22:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:36:14] Production.INFO: ==28305== Releasing lock...
[2025-01-12 22:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:36:17] Production.INFO: count ==410
[2025-01-12 22:36:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:36:05 - End Time 2025-01-12 22:36:05
[2025-01-12 22:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234697', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234697', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234697', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234697', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:36:17] Production.INFO: ProcessCDR(1,14234697,1,1,2)
[2025-01-12 22:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234697', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234697', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:36:20] Production.INFO: ==28313== Releasing lock...
[2025-01-12 22:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:36:20] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:37:01] Production.INFO: ==28371== Lock acquired, processing the job...
[2025-01-13 03:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:37:01] Production.INFO: neon service started
[2025-01-13 03:37:01] Production.INFO: neon service started
[2025-01-13 03:37:01] Production.INFO: ==28371== Releasing lock...
[2025-01-13 03:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:37:02] Production.INFO: ==28373== Lock acquired, processing the job...
[2025-01-12 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:37:02] Production.INFO: ==28375== Lock acquired, processing the job...
[2025-01-13 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:37:02] Production.INFO: ==28375== Releasing lock...
[2025-01-13 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:37:02] Production.INFO: ==28373== Releasing lock...
[2025-01-12 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:37:03] Production.INFO: ==28378== Lock acquired, processing the job...
[2025-01-12 22:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:37:03] Production.INFO: ==28380== Lock acquired, processing the job...
[2025-01-12 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:37:03] Production.INFO: ==28382== Lock acquired, processing the job...
[2025-01-12 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:37:03] Production.INFO: ==28384== Lock acquired, processing the job...
[2025-01-12 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:37:03] Production.INFO: ==28388== Lock acquired, processing the job...
[2025-01-12 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:37:03] Production.INFO: ==28386== Lock acquired, processing the job...
[2025-01-12 22:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:37:03] Production.INFO: Account Balance Start.
[2025-01-12 22:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:37:03] Production.INFO: 117
[2025-01-12 22:37:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:37:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:37:04] Production.INFO: count ==21
[2025-01-12 22:37:04] Production.INFO: ==28380== Releasing lock...
[2025-01-12 22:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:37:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:37:04] Production.INFO: count ==21
[2025-01-12 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:37:04] Production.ERROR: done
[2025-01-12 22:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234701') start
[2025-01-12 22:37:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:37:04] Production.ERROR: done
[2025-01-12 22:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234701') end
[2025-01-12 22:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:37:04] Production.INFO: 1
[2025-01-12 22:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:37:04] Production.INFO: Total Charge 0
[2025-01-12 22:37:04] Production.INFO: CreateAllLog End
[2025-01-12 22:37:04] Production.INFO: ==28388== Releasing lock...
[2025-01-12 22:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:37:04] Production.INFO: Account Balance End.
[2025-01-12 22:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:37:04] Production.INFO: ==28384== Releasing lock...
[2025-01-12 22:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:37:05
[end_date_ymd] => 2025-01-12 22:37:05
[RateCDR] => 1
)
[2025-01-12 22:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:37:05' and `end` < '2025-01-12 22:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:37:11] Production.ERROR: CronJobId end10
[2025-01-12 22:37:11] Production.INFO: ==28382== Releasing lock...
[2025-01-12 22:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:37:12] Production.INFO: call_cost start
[2025-01-12 22:37:12] Production.INFO: call_cost end
[2025-01-12 22:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:37:13] Production.INFO: ==28378== Releasing lock...
[2025-01-12 22:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:37:18] Production.INFO: count ==398
[2025-01-12 22:37:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:37:05 - End Time 2025-01-12 22:37:05
[2025-01-12 22:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234702', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234702', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234702', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234702', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:37:18] Production.INFO: ProcessCDR(1,14234702,1,1,2)
[2025-01-12 22:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234702', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234702', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:37:21] Production.INFO: ==28386== Releasing lock...
[2025-01-12 22:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:37:21] Production.INFO: 32 MB #Memory Used#
[2025-01-13 03:38:02] Production.INFO: ==28444== Lock acquired, processing the job...
[2025-01-13 03:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:38:02] Production.INFO: neon service started
[2025-01-13 03:38:02] Production.INFO: neon service started
[2025-01-13 03:38:02] Production.INFO: ==28444== Releasing lock...
[2025-01-13 03:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:38:02] Production.INFO: ==28446== Lock acquired, processing the job...
[2025-01-12 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:38:02] Production.INFO: ==28446== Releasing lock...
[2025-01-12 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:38:03] Production.INFO: ==28448== Lock acquired, processing the job...
[2025-01-13 03:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:38:03] Production.INFO: ==28448== Releasing lock...
[2025-01-13 03:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:38:03] Production.INFO: ==28450== Lock acquired, processing the job...
[2025-01-12 22:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:38:03] Production.INFO: ==28458== Lock acquired, processing the job...
[2025-01-12 22:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:38:03] Production.INFO: ==28460== Lock acquired, processing the job...
[2025-01-12 22:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:38:03] Production.INFO: ==28456== Lock acquired, processing the job...
[2025-01-12 22:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:38:04] Production.INFO: ==28454== Lock acquired, processing the job...
[2025-01-12 22:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:38:04] Production.INFO: Account Balance Start.
[2025-01-12 22:38:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:38:04] Production.INFO: 117
[2025-01-12 22:38:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:38:04] Production.INFO: ==28452== Lock acquired, processing the job...
[2025-01-12 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-12 22:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:38:04] Production.INFO: count ==21
[2025-01-12 22:38:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-12 22:38:04] Production.INFO: count ==21
[2025-01-12 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234704') start
[2025-01-12 22:38:04] Production.ERROR: done
[2025-01-12 22:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:38:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:38:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234704') end
[2025-01-12 22:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:38:04] Production.INFO: 1
[2025-01-12 22:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:38:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:38:04] Production.INFO: ==28460== Releasing lock...
[2025-01-12 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:38:04] Production.ERROR: done
[2025-01-12 22:38:04] Production.INFO: Total Charge 0
[2025-01-12 22:38:04] Production.INFO: CreateAllLog End
[2025-01-12 22:38:04] Production.INFO: ==28452== Releasing lock...
[2025-01-12 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:38:04] Production.INFO: Account Balance End.
[2025-01-12 22:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:38:04] Production.INFO: ==28456== Releasing lock...
[2025-01-12 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:38:05
[end_date_ymd] => 2025-01-12 22:38:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:38:05' and `end` < '2025-01-12 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-12 22:38:11] Production.ERROR: CronJobId end10
[2025-01-12 22:38:11] Production.INFO: ==28454== Releasing lock...
[2025-01-12 22:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:38:13] Production.INFO: call_cost start
[2025-01-12 22:38:13] Production.INFO: call_cost end
[2025-01-12 22:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:38:14] Production.INFO: ==28450== Releasing lock...
[2025-01-12 22:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:38:17] Production.INFO: count ==383
[2025-01-12 22:38:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:38:05 - End Time 2025-01-12 22:38:05
[2025-01-12 22:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234707', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234707', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234707', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234707', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:38:17] Production.INFO: ProcessCDR(1,14234707,1,1,2)
[2025-01-12 22:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234707', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234707', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:38:20] Production.INFO: ==28458== Releasing lock...
[2025-01-12 22:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:38:20] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:39:01] Production.INFO: ==28515== Lock acquired, processing the job...
[2025-01-13 03:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:39:01] Production.INFO: neon service started
[2025-01-13 03:39:01] Production.INFO: neon service started
[2025-01-13 03:39:01] Production.INFO: ==28515== Releasing lock...
[2025-01-13 03:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:39:02] Production.INFO: ==28518== Lock acquired, processing the job...
[2025-01-12 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:39:02] Production.INFO: ==28518== Releasing lock...
[2025-01-12 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:39:02] Production.INFO: ==28520== Lock acquired, processing the job...
[2025-01-13 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:39:02] Production.INFO: ==28520== Releasing lock...
[2025-01-13 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:39:03] Production.INFO: ==28522== Lock acquired, processing the job...
[2025-01-12 22:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:39:03] Production.INFO: ==28526== Lock acquired, processing the job...
[2025-01-12 22:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:39:03] Production.INFO: ==28530== Lock acquired, processing the job...
[2025-01-12 22:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:39:03] Production.INFO: ==28524== Lock acquired, processing the job...
[2025-01-12 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:39:03] Production.INFO: ==28528== Lock acquired, processing the job...
[2025-01-12 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:39:03] Production.INFO: ==28532== Lock acquired, processing the job...
[2025-01-12 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:39:03] Production.INFO: Account Balance Start.
[2025-01-12 22:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:39:03] Production.INFO: 117
[2025-01-12 22:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:39:03] Production.ERROR: done
[2025-01-12 22:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:39:03] Production.INFO: ==28524== Releasing lock...
[2025-01-12 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-12 22:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:39:03] Production.INFO: count ==21
[2025-01-12 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-12 22:39:03] Production.INFO: count ==21
[2025-01-12 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234711') start
[2025-01-12 22:39:04] Production.ERROR: done
[2025-01-12 22:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234711') end
[2025-01-12 22:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:39:04] Production.INFO: 1
[2025-01-12 22:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:39:04] Production.INFO: Total Charge 0
[2025-01-12 22:39:04] Production.INFO: CreateAllLog End
[2025-01-12 22:39:04] Production.INFO: ==28532== Releasing lock...
[2025-01-12 22:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:39:04] Production.INFO: Account Balance End.
[2025-01-12 22:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:39:04] Production.INFO: ==28528== Releasing lock...
[2025-01-12 22:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:39:05
[end_date_ymd] => 2025-01-12 22:39:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:39:05' and `end` < '2025-01-12 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-12 22:39:11] Production.ERROR: CronJobId end10
[2025-01-12 22:39:11] Production.INFO: ==28526== Releasing lock...
[2025-01-12 22:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:39:13] Production.INFO: call_cost start
[2025-01-12 22:39:13] Production.INFO: call_cost end
[2025-01-12 22:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:39:14] Production.INFO: ==28522== Releasing lock...
[2025-01-12 22:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:39:17] Production.INFO: count ==381
[2025-01-12 22:39:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:39:05 - End Time 2025-01-12 22:39:05
[2025-01-12 22:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234712', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234712', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234712', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234712', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:39:17] Production.INFO: ProcessCDR(1,14234712,1,1,2)
[2025-01-12 22:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234712', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234712', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:39:20] Production.INFO: ==28530== Releasing lock...
[2025-01-12 22:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:39:20] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 03:40:02] Production.INFO: ==28588== Lock acquired, processing the job...
[2025-01-13 03:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:40:02] Production.INFO: neon service started
[2025-01-13 03:40:02] Production.INFO: neon service started
[2025-01-13 03:40:02] Production.INFO: ==28588== Releasing lock...
[2025-01-13 03:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:40:02] Production.INFO: ==28590== Lock acquired, processing the job...
[2025-01-12 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:40:02] Production.INFO: ==28592== Lock acquired, processing the job...
[2025-01-13 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:40:02] Production.INFO: ==28592== Releasing lock...
[2025-01-13 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:40:03] Production.INFO: ==28590== Releasing lock...
[2025-01-12 22:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:40:04] Production.INFO: ==28595== Lock acquired, processing the job...
[2025-01-12 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 22:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 22:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 22:40:04] Production.INFO: ==28595== Releasing lock...
[2025-01-12 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 22:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 22:40:04] Production.INFO: ==28597== Lock acquired, processing the job...
[2025-01-12 22:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:40:04] Production.INFO: ==28603== Lock acquired, processing the job...
[2025-01-12 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:40:04] Production.INFO: ==28605== Lock acquired, processing the job...
[2025-01-12 22:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:40:04] Production.INFO: ==28599== Lock acquired, processing the job...
[2025-01-12 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:40:04] Production.INFO: ==28601== Lock acquired, processing the job...
[2025-01-12 22:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:40:04] Production.INFO: ==28607== Lock acquired, processing the job...
[2025-01-12 22:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 22:40:04] Production.INFO: Account Balance Start.
[2025-01-12 22:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:40:04] Production.INFO: 117
[2025-01-12 22:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:40:04] Production.INFO: ==28609== Lock acquired, processing the job...
[2025-01-12 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:40:04] Production.INFO: count ==21
[2025-01-12 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-12 22:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:40:04] Production.INFO: count ==21
[2025-01-12 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234716') start
[2025-01-12 22:40:04] Production.ERROR: done
[2025-01-12 22:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:40:04] Production.INFO: ==28599== Releasing lock...
[2025-01-12 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:40:04] Production.ERROR: done
[2025-01-12 22:40:05] Production.ERROR: done
[2025-01-12 22:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234716') end
[2025-01-12 22:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:40:05] Production.INFO: 1
[2025-01-12 22:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:40:05] Production.INFO: Total Charge 0
[2025-01-12 22:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 22:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234717', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 22:40:05] Production.INFO: CreateAllLog End
[2025-01-12 22:40:05] Production.INFO: ==28609== Releasing lock...
[2025-01-12 22:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:40:05] Production.INFO: Account Balance End.
[2025-01-12 22:40:05] Production.ERROR: CronJobId end 12
[2025-01-12 22:40:05] Production.INFO: ==28603== Releasing lock...
[2025-01-12 22:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:40:05
[end_date_ymd] => 2025-01-12 22:40:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:40:05' and `end` < '2025-01-12 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-12 22:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234717', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 22:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 22:40:09] Production.INFO: ProcessCDR(1,14234717,1,1,2)
[2025-01-12 22:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234717,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234717,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:40:09] Production.INFO: ==28607== Releasing lock...
[2025-01-12 22:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 22:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 22:40:12] Production.ERROR: CronJobId end10
[2025-01-12 22:40:12] Production.INFO: ==28601== Releasing lock...
[2025-01-12 22:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:40:15] Production.INFO: call_cost start
[2025-01-12 22:40:15] Production.INFO: call_cost end
[2025-01-12 22:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:40:16] Production.INFO: ==28597== Releasing lock...
[2025-01-12 22:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:40:18] Production.INFO: count ==375
[2025-01-12 22:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:40:05 - End Time 2025-01-12 22:40:05
[2025-01-12 22:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234718', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234718', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234718', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234718', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:40:18] Production.INFO: ProcessCDR(1,14234718,1,1,2)
[2025-01-12 22:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234718', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234718', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:40:21] Production.INFO: ==28605== Releasing lock...
[2025-01-12 22:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:40:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-13 03:41:01] Production.INFO: ==28662== Lock acquired, processing the job...
[2025-01-13 03:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:41:01] Production.INFO: neon service started
[2025-01-13 03:41:01] Production.INFO: neon service started
[2025-01-13 03:41:01] Production.INFO: ==28662== Releasing lock...
[2025-01-13 03:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:41:02] Production.INFO: ==28666== Lock acquired, processing the job...
[2025-01-13 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:41:02] Production.INFO: ==28666== Releasing lock...
[2025-01-13 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:41:02] Production.INFO: 26 MB #Memory Used#
[2025-01-12 22:41:02] Production.INFO: ==28664== Lock acquired, processing the job...
[2025-01-12 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:41:02] Production.INFO: ==28664== Releasing lock...
[2025-01-12 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:41:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:41:03] Production.INFO: ==28671== Lock acquired, processing the job...
[2025-01-12 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:41:03] Production.INFO: ==28669== Lock acquired, processing the job...
[2025-01-12 22:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:41:03] Production.INFO: ==28675== Lock acquired, processing the job...
[2025-01-12 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:41:03] Production.INFO: Account Balance Start.
[2025-01-12 22:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:41:03] Production.INFO: 117
[2025-01-12 22:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:41:03] Production.INFO: ==28673== Lock acquired, processing the job...
[2025-01-12 22:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:41:03] Production.INFO: ==28671== Releasing lock...
[2025-01-12 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:41:03] Production.INFO: ==28677== Lock acquired, processing the job...
[2025-01-12 22:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:41:03] Production.INFO: ==28679== Lock acquired, processing the job...
[2025-01-12 22:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:41:03] Production.INFO: Total Charge 0
[2025-01-12 22:41:03] Production.INFO: CreateAllLog End
[2025-01-12 22:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:41:03] Production.INFO: count ==21
[2025-01-12 22:41:04] Production.INFO: Account Balance End.
[2025-01-12 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-12 22:41:04] Production.ERROR: done
[2025-01-12 22:41:04] Production.INFO: count ==21
[2025-01-12 22:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:41:04] Production.INFO: ==28675== Releasing lock...
[2025-01-12 22:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234722') start
[2025-01-12 22:41:04] Production.ERROR: done
[2025-01-12 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234722') end
[2025-01-12 22:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:41:04] Production.INFO: 1
[2025-01-12 22:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:41:04] Production.INFO: ==28679== Releasing lock...
[2025-01-12 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:41:05
[end_date_ymd] => 2025-01-12 22:41:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:41:05' and `end` < '2025-01-12 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-12 22:41:10] Production.ERROR: CronJobId end10
[2025-01-12 22:41:10] Production.INFO: ==28673== Releasing lock...
[2025-01-12 22:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:41:13] Production.INFO: call_cost start
[2025-01-12 22:41:13] Production.INFO: call_cost end
[2025-01-12 22:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:41:14] Production.INFO: ==28669== Releasing lock...
[2025-01-12 22:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:41:17] Production.INFO: count ==340
[2025-01-12 22:41:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:41:05 - End Time 2025-01-12 22:41:05
[2025-01-12 22:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234723', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234723', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234723', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234723', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:41:17] Production.INFO: ProcessCDR(1,14234723,1,1,2)
[2025-01-12 22:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234723', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234723', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:41:20] Production.INFO: ==28677== Releasing lock...
[2025-01-12 22:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:41:20] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:42:02] Production.INFO: ==28737== Lock acquired, processing the job...
[2025-01-13 03:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:42:02] Production.INFO: neon service started
[2025-01-13 03:42:02] Production.INFO: neon service started
[2025-01-13 03:42:02] Production.INFO: ==28737== Releasing lock...
[2025-01-13 03:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:42:02] Production.INFO: ==28739== Lock acquired, processing the job...
[2025-01-12 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:42:02] Production.INFO: ==28739== Releasing lock...
[2025-01-12 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:42:02] Production.INFO: ==28741== Lock acquired, processing the job...
[2025-01-13 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:42:02] Production.INFO: ==28741== Releasing lock...
[2025-01-13 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:42:03] Production.INFO: ==28749== Lock acquired, processing the job...
[2025-01-12 22:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:42:03] Production.INFO: ==28743== Lock acquired, processing the job...
[2025-01-12 22:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:42:03] Production.INFO: Account Balance Start.
[2025-01-12 22:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:42:03] Production.INFO: 117
[2025-01-12 22:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:42:03] Production.INFO: ==28753== Lock acquired, processing the job...
[2025-01-12 22:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:42:03] Production.INFO: ==28745== Lock acquired, processing the job...
[2025-01-12 22:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:42:03] Production.INFO: ==28747== Lock acquired, processing the job...
[2025-01-12 22:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:42:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:42:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:42:03] Production.INFO: count ==21
[2025-01-12 22:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:42:03] Production.INFO: ==28751== Lock acquired, processing the job...
[2025-01-12 22:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:42:03] Production.INFO: count ==21
[2025-01-12 22:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234726') start
[2025-01-12 22:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234726') end
[2025-01-12 22:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:42:04] Production.INFO: 1
[2025-01-12 22:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:42:04] Production.INFO: Total Charge 0
[2025-01-12 22:42:04] Production.INFO: ==28753== Releasing lock...
[2025-01-12 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:42:04] Production.INFO: CreateAllLog End
[2025-01-12 22:42:04] Production.INFO: ==28745== Releasing lock...
[2025-01-12 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:42:04] Production.ERROR: done
[2025-01-12 22:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:42:04] Production.ERROR: done
[2025-01-12 22:42:04] Production.INFO: Account Balance End.
[2025-01-12 22:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:42:04] Production.INFO: ==28749== Releasing lock...
[2025-01-12 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:42:05
[end_date_ymd] => 2025-01-12 22:42:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:42:05' and `end` < '2025-01-12 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-12 22:42:10] Production.ERROR: CronJobId end10
[2025-01-12 22:42:10] Production.INFO: ==28747== Releasing lock...
[2025-01-12 22:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:42:13] Production.INFO: call_cost start
[2025-01-12 22:42:13] Production.INFO: call_cost end
[2025-01-12 22:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:42:14] Production.INFO: ==28743== Releasing lock...
[2025-01-12 22:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:42:17] Production.INFO: count ==340
[2025-01-12 22:42:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:42:05 - End Time 2025-01-12 22:42:05
[2025-01-12 22:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234728', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234728', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234728', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234728', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:42:17] Production.INFO: ProcessCDR(1,14234728,1,1,2)
[2025-01-12 22:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234728', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234728', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:42:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:42:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:42:20] Production.INFO: ==28751== Releasing lock...
[2025-01-12 22:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:42:20] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:43:01] Production.INFO: ==28810== Lock acquired, processing the job...
[2025-01-13 03:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:43:01] Production.INFO: neon service started
[2025-01-13 03:43:01] Production.INFO: neon service started
[2025-01-13 03:43:01] Production.INFO: ==28810== Releasing lock...
[2025-01-13 03:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:43:01] Production.INFO: ==28812== Lock acquired, processing the job...
[2025-01-12 22:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:43:02] Production.INFO: ==28812== Releasing lock...
[2025-01-12 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:43:02] Production.INFO: ==28814== Lock acquired, processing the job...
[2025-01-13 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:43:02] Production.INFO: ==28814== Releasing lock...
[2025-01-13 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:43:02] Production.INFO: ==28824== Lock acquired, processing the job...
[2025-01-12 22:43:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:43:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:43:03] Production.ERROR: done
[2025-01-12 22:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:43:03] Production.INFO: ==28816== Lock acquired, processing the job...
[2025-01-12 22:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:43:03] Production.ERROR: done
[2025-01-12 22:43:03] Production.INFO: ==28818== Lock acquired, processing the job...
[2025-01-12 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:43:03] Production.INFO: ==28820== Lock acquired, processing the job...
[2025-01-12 22:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:43:03] Production.INFO: ==28822== Lock acquired, processing the job...
[2025-01-12 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:43:03] Production.INFO: ==28826== Lock acquired, processing the job...
[2025-01-12 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:43:03] Production.INFO: Account Balance Start.
[2025-01-12 22:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:43:03] Production.INFO: 117
[2025-01-12 22:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:43:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:43:03] Production.INFO: ==28818== Releasing lock...
[2025-01-12 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:43:03] Production.INFO: Date 2025-01-12
[2025-01-12 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-12 22:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:43:03] Production.INFO: count ==21
[2025-01-12 22:43:03] Production.INFO: Total Charge 0
[2025-01-12 22:43:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 22:43:03] Production.INFO: count ==21
[2025-01-12 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234733') start
[2025-01-12 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234733') end
[2025-01-12 22:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:43:03] Production.INFO: 1
[2025-01-12 22:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:43:03] Production.INFO: Account Balance End.
[2025-01-12 22:43:03] Production.INFO: ==28826== Releasing lock...
[2025-01-12 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:43:03] Production.ERROR: CronJobId end 12
[2025-01-12 22:43:03] Production.INFO: ==28822== Releasing lock...
[2025-01-12 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:43:04
[end_date_ymd] => 2025-01-12 22:43:04
[RateCDR] => 1
)
[2025-01-12 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-12 19:43:04' and `end` < '2025-01-12 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-12 22:43:11] Production.ERROR: CronJobId end10
[2025-01-12 22:43:11] Production.INFO: ==28820== Releasing lock...
[2025-01-12 22:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:43:12] Production.INFO: call_cost start
[2025-01-12 22:43:12] Production.INFO: call_cost end
[2025-01-12 22:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:43:13] Production.INFO: ==28816== Releasing lock...
[2025-01-12 22:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:43:16] Production.INFO: count ==340
[2025-01-12 22:43:16] Production.ERROR: pbx CDR StartTime 2025-01-12 19:43:04 - End Time 2025-01-12 22:43:04
[2025-01-12 22:43:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234729', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234729', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234729', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234729', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:43:16] Production.INFO: ProcessCDR(1,14234729,1,1,2)
[2025-01-12 22:43:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:43:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:43:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:43:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:43:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234729', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:43:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234729', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:43:19] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:43:19] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:43:19] Production.INFO: ==28824== Releasing lock...
[2025-01-12 22:43:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:43:19] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:44:01] Production.INFO: ==28887== Lock acquired, processing the job...
[2025-01-13 03:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:44:01] Production.INFO: neon service started
[2025-01-13 03:44:01] Production.INFO: neon service started
[2025-01-13 03:44:01] Production.INFO: ==28887== Releasing lock...
[2025-01-13 03:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:44:02] Production.INFO: ==28889== Lock acquired, processing the job...
[2025-01-12 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:44:02] Production.INFO: ==28889== Releasing lock...
[2025-01-12 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:44:02] Production.INFO: ==28891== Lock acquired, processing the job...
[2025-01-13 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:44:02] Production.INFO: ==28891== Releasing lock...
[2025-01-13 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:44:03] Production.INFO: ==28894== Lock acquired, processing the job...
[2025-01-12 22:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:44:03] Production.INFO: ==28896== Lock acquired, processing the job...
[2025-01-12 22:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:44:03] Production.INFO: ==28898== Lock acquired, processing the job...
[2025-01-12 22:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:44:03] Production.INFO: ==28900== Lock acquired, processing the job...
[2025-01-12 22:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:44:03] Production.INFO: ==28902== Lock acquired, processing the job...
[2025-01-12 22:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:44:03] Production.INFO: ==28896== Releasing lock...
[2025-01-12 22:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:44:03] Production.INFO: Account Balance Start.
[2025-01-12 22:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:44:03] Production.INFO: 117
[2025-01-12 22:44:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:44:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:44:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:44:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:44:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:44:03] Production.INFO: Total Charge 0
[2025-01-12 22:44:03] Production.INFO: ==28904== Lock acquired, processing the job...
[2025-01-12 22:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:44:03] Production.INFO: CreateAllLog End
[2025-01-12 22:44:04] Production.ERROR: done
[2025-01-12 22:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:44:04] Production.INFO: count ==21
[2025-01-12 22:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:44:04] Production.INFO: count ==21
[2025-01-12 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234737') start
[2025-01-12 22:44:04] Production.ERROR: done
[2025-01-12 22:44:04] Production.INFO: Account Balance End.
[2025-01-12 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234737') end
[2025-01-12 22:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:44:04] Production.INFO: 1
[2025-01-12 22:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:44:04] Production.INFO: ==28900== Releasing lock...
[2025-01-12 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:44:04] Production.INFO: ==28904== Releasing lock...
[2025-01-12 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:44:05
[end_date_ymd] => 2025-01-12 22:44:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:44:05' and `end` < '2025-01-12 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-12 22:44:11] Production.ERROR: CronJobId end10
[2025-01-12 22:44:11] Production.INFO: ==28898== Releasing lock...
[2025-01-12 22:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:44:14] Production.INFO: call_cost start
[2025-01-12 22:44:14] Production.INFO: call_cost end
[2025-01-12 22:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:44:15] Production.INFO: ==28894== Releasing lock...
[2025-01-12 22:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:44:17] Production.INFO: count ==336
[2025-01-12 22:44:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:44:05 - End Time 2025-01-12 22:44:05
[2025-01-12 22:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234738', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234738', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234738', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234738', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:44:17] Production.INFO: ProcessCDR(1,14234738,1,1,2)
[2025-01-12 22:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234738', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234738', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:44:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:44:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:44:20] Production.INFO: ==28902== Releasing lock...
[2025-01-12 22:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:44:20] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:45:01] Production.INFO: ==28959== Lock acquired, processing the job...
[2025-01-13 03:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:45:01] Production.INFO: neon service started
[2025-01-13 03:45:01] Production.INFO: neon service started
[2025-01-13 03:45:01] Production.INFO: ==28959== Releasing lock...
[2025-01-13 03:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:45:01] Production.INFO: ==28961== Lock acquired, processing the job...
[2025-01-12 22:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:45:01] Production.INFO: ==28961== Releasing lock...
[2025-01-12 22:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:45:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:45:02] Production.INFO: ==28963== Lock acquired, processing the job...
[2025-01-13 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:45:02] Production.INFO: ==28963== Releasing lock...
[2025-01-13 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:45:02] Production.INFO: ==28971== Lock acquired, processing the job...
[2025-01-12 22:45:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:45:02] Production.INFO: Account Balance Start.
[2025-01-12 22:45:02] Production.INFO: CreateAllLog Start
[2025-01-12 22:45:02] Production.INFO: 117
[2025-01-12 22:45:02] Production.INFO: Date 2025-01-08
[2025-01-12 22:45:02] Production.INFO: Reseller ==> 0
[2025-01-12 22:45:02] Production.INFO: Date 2025-01-09
[2025-01-12 22:45:02] Production.INFO: Reseller ==> 0
[2025-01-12 22:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:45:03] Production.INFO: ==28967== Lock acquired, processing the job...
[2025-01-12 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:45:03] Production.INFO: ==28969== Lock acquired, processing the job...
[2025-01-12 22:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:45:03] Production.INFO: ==28965== Lock acquired, processing the job...
[2025-01-12 22:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:45:03] Production.INFO: Total Charge 0
[2025-01-12 22:45:03] Production.INFO: ==28973== Lock acquired, processing the job...
[2025-01-12 22:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:45:03] Production.INFO: CreateAllLog End
[2025-01-12 22:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:45:03] Production.INFO: ==28975== Lock acquired, processing the job...
[2025-01-12 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:45:03] Production.INFO: Account Balance End.
[2025-01-12 22:45:03] Production.INFO: ==28967== Releasing lock...
[2025-01-12 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:45:03] Production.INFO: count ==21
[2025-01-12 22:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:45:03] Production.INFO: count ==21
[2025-01-12 22:45:03] Production.ERROR: CronJobId end 12
[2025-01-12 22:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234742') start
[2025-01-12 22:45:03] Production.INFO: ==28971== Releasing lock...
[2025-01-12 22:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:45:03] Production.ERROR: done
[2025-01-12 22:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234742') end
[2025-01-12 22:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:45:03] Production.INFO: 1
[2025-01-12 22:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:45:03] Production.INFO: ==28975== Releasing lock...
[2025-01-12 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:45:03] Production.ERROR: done
[2025-01-12 22:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:45:04
[end_date_ymd] => 2025-01-12 22:45:04
[RateCDR] => 1
)
[2025-01-12 22:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:45:04' and `end` < '2025-01-12 22:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:45:10] Production.ERROR: CronJobId end10
[2025-01-12 22:45:10] Production.INFO: ==28969== Releasing lock...
[2025-01-12 22:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:45:12] Production.INFO: call_cost start
[2025-01-12 22:45:12] Production.INFO: call_cost end
[2025-01-12 22:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:45:13] Production.INFO: ==28965== Releasing lock...
[2025-01-12 22:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:45:16] Production.INFO: count ==335
[2025-01-12 22:45:16] Production.ERROR: pbx CDR StartTime 2025-01-12 19:45:04 - End Time 2025-01-12 22:45:04
[2025-01-12 22:45:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234743', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234743', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234743', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234743', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:45:17] Production.INFO: ProcessCDR(1,14234743,1,1,2)
[2025-01-12 22:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234743', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234743', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:45:20] Production.INFO: ==28973== Releasing lock...
[2025-01-12 22:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:45:20] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 03:46:02] Production.INFO: ==29035== Lock acquired, processing the job...
[2025-01-13 03:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:46:02] Production.INFO: neon service started
[2025-01-13 03:46:02] Production.INFO: neon service started
[2025-01-13 03:46:02] Production.INFO: ==29035== Releasing lock...
[2025-01-13 03:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:46:02] Production.INFO: ==29037== Lock acquired, processing the job...
[2025-01-12 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:46:02] Production.INFO: ==29039== Lock acquired, processing the job...
[2025-01-13 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:46:02] Production.INFO: ==29039== Releasing lock...
[2025-01-13 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:46:03] Production.INFO: ==29037== Releasing lock...
[2025-01-12 22:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:46:03] Production.INFO: ==29050== Lock acquired, processing the job...
[2025-01-12 22:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:46:03] Production.INFO: ==29048== Lock acquired, processing the job...
[2025-01-12 22:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:46:04] Production.INFO: ==29042== Lock acquired, processing the job...
[2025-01-12 22:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:46:04] Production.INFO: Account Balance Start.
[2025-01-12 22:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:46:04] Production.ERROR: done
[2025-01-12 22:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:46:04] Production.INFO: 117
[2025-01-12 22:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:46:04] Production.INFO: ==29044== Lock acquired, processing the job...
[2025-01-12 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:46:04] Production.INFO: ==29046== Lock acquired, processing the job...
[2025-01-12 22:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:46:04] Production.ERROR: done
[2025-01-12 22:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:46:04] Production.INFO: ==29052== Lock acquired, processing the job...
[2025-01-12 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:46:04] Production.INFO: count ==21
[2025-01-12 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-12 22:46:04] Production.INFO: count ==21
[2025-01-12 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234748') start
[2025-01-12 22:46:04] Production.INFO: Total Charge 0
[2025-01-12 22:46:04] Production.INFO: CreateAllLog End
[2025-01-12 22:46:04] Production.INFO: ==29044== Releasing lock...
[2025-01-12 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234748') end
[2025-01-12 22:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:46:04] Production.INFO: 1
[2025-01-12 22:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:46:04] Production.INFO: ==29052== Releasing lock...
[2025-01-12 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:46:04] Production.INFO: Account Balance End.
[2025-01-12 22:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:46:04
[end_date_ymd] => 2025-01-12 22:46:04
[RateCDR] => 1
)
[2025-01-12 22:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:46:04' and `end` < '2025-01-12 22:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:46:04] Production.INFO: ==29048== Releasing lock...
[2025-01-12 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:46:12] Production.ERROR: CronJobId end10
[2025-01-12 22:46:12] Production.INFO: ==29046== Releasing lock...
[2025-01-12 22:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:46:13] Production.INFO: call_cost start
[2025-01-12 22:46:13] Production.INFO: call_cost end
[2025-01-12 22:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:46:14] Production.INFO: ==29042== Releasing lock...
[2025-01-12 22:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:46:17] Production.INFO: count ==335
[2025-01-12 22:46:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:46:04 - End Time 2025-01-12 22:46:04
[2025-01-12 22:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234746', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234746', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234746', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234746', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:46:17] Production.INFO: ProcessCDR(1,14234746,1,1,2)
[2025-01-12 22:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234746', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234746', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:46:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:46:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:46:20] Production.INFO: ==29050== Releasing lock...
[2025-01-12 22:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:46:20] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 03:47:01] Production.INFO: ==29107== Lock acquired, processing the job...
[2025-01-13 03:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:47:01] Production.INFO: neon service started
[2025-01-13 03:47:01] Production.INFO: neon service started
[2025-01-13 03:47:01] Production.INFO: ==29107== Releasing lock...
[2025-01-13 03:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:47:01] Production.INFO: ==29109== Lock acquired, processing the job...
[2025-01-12 22:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:47:02] Production.INFO: ==29109== Releasing lock...
[2025-01-12 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:47:02] Production.INFO: ==29111== Lock acquired, processing the job...
[2025-01-13 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:47:02] Production.INFO: ==29111== Releasing lock...
[2025-01-13 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:47:02] Production.INFO: ==29113== Lock acquired, processing the job...
[2025-01-12 22:47:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:47:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:47:02] Production.INFO: ==29117== Lock acquired, processing the job...
[2025-01-12 22:47:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:47:02] Production.INFO: ==29119== Lock acquired, processing the job...
[2025-01-12 22:47:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:47:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:47:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:47:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:47:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:47:03] Production.INFO: Account Balance Start.
[2025-01-12 22:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:47:03] Production.INFO: 117
[2025-01-12 22:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:47:03] Production.INFO: ==29115== Lock acquired, processing the job...
[2025-01-12 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:47:03] Production.INFO: ==29122== Lock acquired, processing the job...
[2025-01-12 22:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:47:03] Production.INFO: ==29124== Lock acquired, processing the job...
[2025-01-12 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:47:03] Production.INFO: Total Charge 0
[2025-01-12 22:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:47:03] Production.INFO: CreateAllLog End
[2025-01-12 22:47:03] Production.INFO: count ==21
[2025-01-12 22:47:03] Production.ERROR: done
[2025-01-12 22:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:47:03] Production.INFO: count ==21
[2025-01-12 22:47:03] Production.INFO: Account Balance End.
[2025-01-12 22:47:03] Production.INFO: ==29115== Releasing lock...
[2025-01-12 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234752') start
[2025-01-12 22:47:03] Production.ERROR: CronJobId end 12
[2025-01-12 22:47:03] Production.INFO: ==29119== Releasing lock...
[2025-01-12 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:47:03] Production.ERROR: done
[2025-01-12 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234752') end
[2025-01-12 22:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:47:03] Production.INFO: 1
[2025-01-12 22:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:47:03] Production.INFO: ==29124== Releasing lock...
[2025-01-12 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:47:04
[end_date_ymd] => 2025-01-12 22:47:04
[RateCDR] => 1
)
[2025-01-12 22:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:47:04' and `end` < '2025-01-12 22:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:47:11] Production.ERROR: CronJobId end10
[2025-01-12 22:47:11] Production.INFO: ==29117== Releasing lock...
[2025-01-12 22:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:47:12] Production.INFO: call_cost start
[2025-01-12 22:47:12] Production.INFO: call_cost end
[2025-01-12 22:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:47:13] Production.INFO: ==29113== Releasing lock...
[2025-01-12 22:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:47:16] Production.INFO: count ==336
[2025-01-12 22:47:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:47:04 - End Time 2025-01-12 22:47:04
[2025-01-12 22:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234753', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234753', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234753', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234753', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:47:17] Production.INFO: ProcessCDR(1,14234753,1,1,2)
[2025-01-12 22:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234753', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234753', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:47:21] Production.INFO: ==29122== Releasing lock...
[2025-01-12 22:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:47:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:48:01] Production.INFO: ==29178== Lock acquired, processing the job...
[2025-01-13 03:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:48:01] Production.INFO: neon service started
[2025-01-13 03:48:01] Production.INFO: neon service started
[2025-01-13 03:48:01] Production.INFO: ==29178== Releasing lock...
[2025-01-13 03:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:48:02] Production.INFO: ==29182== Lock acquired, processing the job...
[2025-01-13 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:48:02] Production.INFO: ==29182== Releasing lock...
[2025-01-13 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:48:02] Production.INFO: ==29180== Lock acquired, processing the job...
[2025-01-12 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:48:02] Production.INFO: ==29180== Releasing lock...
[2025-01-12 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:48:03] Production.INFO: ==29185== Lock acquired, processing the job...
[2025-01-12 22:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:48:03] Production.INFO: ==29187== Lock acquired, processing the job...
[2025-01-12 22:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:48:03] Production.INFO: ==29189== Lock acquired, processing the job...
[2025-01-12 22:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:48:03] Production.INFO: ==29191== Lock acquired, processing the job...
[2025-01-12 22:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:48:03] Production.INFO: Account Balance Start.
[2025-01-12 22:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:48:03] Production.INFO: 117
[2025-01-12 22:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:48:03] Production.INFO: ==29195== Lock acquired, processing the job...
[2025-01-12 22:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:48:03] Production.INFO: ==29193== Lock acquired, processing the job...
[2025-01-12 22:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:48:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:48:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:48:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:48:03] Production.INFO: ==29187== Releasing lock...
[2025-01-12 22:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:48:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 22:48:03] Production.INFO: Total Charge 0
[2025-01-12 22:48:03] Production.INFO: CreateAllLog End
[2025-01-12 22:48:03] Production.INFO: count ==21
[2025-01-12 22:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:48:04] Production.INFO: count ==21
[2025-01-12 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234757') start
[2025-01-12 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234757') end
[2025-01-12 22:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:48:04] Production.INFO: 1
[2025-01-12 22:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:48:04] Production.ERROR: done
[2025-01-12 22:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:48:04] Production.INFO: ==29195== Releasing lock...
[2025-01-12 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:48:04] Production.INFO: Account Balance End.
[2025-01-12 22:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:48:04] Production.INFO: ==29191== Releasing lock...
[2025-01-12 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:48:04] Production.ERROR: done
[2025-01-12 22:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:48:05
[end_date_ymd] => 2025-01-12 22:48:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:48:05' and `end` < '2025-01-12 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-12 22:48:10] Production.ERROR: CronJobId end10
[2025-01-12 22:48:10] Production.INFO: ==29189== Releasing lock...
[2025-01-12 22:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:48:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:48:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:48:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:48:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:48:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:48:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:48:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:48:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:48:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:48:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:48:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:48:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:48:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:48:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:48:12] Production.INFO: call_cost start
[2025-01-12 22:48:12] Production.INFO: call_cost end
[2025-01-12 22:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:48:13] Production.INFO: ==29185== Releasing lock...
[2025-01-12 22:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:48:17] Production.INFO: count ==336
[2025-01-12 22:48:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:48:05 - End Time 2025-01-12 22:48:05
[2025-01-12 22:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234758', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234758', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234758', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234758', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:48:17] Production.INFO: ProcessCDR(1,14234758,1,1,2)
[2025-01-12 22:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234758', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234758', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:48:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:48:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:48:20] Production.INFO: ==29193== Releasing lock...
[2025-01-12 22:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:48:20] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:49:02] Production.INFO: ==29249== Lock acquired, processing the job...
[2025-01-13 03:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:49:02] Production.INFO: neon service started
[2025-01-13 03:49:02] Production.INFO: neon service started
[2025-01-13 03:49:02] Production.INFO: ==29249== Releasing lock...
[2025-01-13 03:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:49:02] Production.INFO: ==29253== Lock acquired, processing the job...
[2025-01-13 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:49:02] Production.INFO: ==29253== Releasing lock...
[2025-01-13 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:49:02] Production.INFO: ==29251== Lock acquired, processing the job...
[2025-01-12 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:49:03] Production.INFO: ==29251== Releasing lock...
[2025-01-12 22:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:49:03] Production.INFO: ==29255== Lock acquired, processing the job...
[2025-01-12 22:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:49:03] Production.INFO: ==29264== Lock acquired, processing the job...
[2025-01-12 22:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:49:04] Production.INFO: ==29261== Lock acquired, processing the job...
[2025-01-12 22:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:49:04] Production.INFO: ==29259== Lock acquired, processing the job...
[2025-01-12 22:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:49:04] Production.INFO: Account Balance Start.
[2025-01-12 22:49:04] Production.INFO: CreateAllLog Start
[2025-01-12 22:49:04] Production.INFO: 117
[2025-01-12 22:49:04] Production.INFO: ==29257== Lock acquired, processing the job...
[2025-01-12 22:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:49:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:49:04] Production.INFO: ==29266== Lock acquired, processing the job...
[2025-01-12 22:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:49:04] Production.ERROR: done
[2025-01-12 22:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:49:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:49:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:49:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:49:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:49:04] Production.INFO: Total Charge 0
[2025-01-12 22:49:04] Production.ERROR: done
[2025-01-12 22:49:04] Production.INFO: CreateAllLog End
[2025-01-12 22:49:04] Production.INFO: ==29257== Releasing lock...
[2025-01-12 22:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:49:04] Production.INFO: count ==21
[2025-01-12 22:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:49:04] Production.INFO: count ==21
[2025-01-12 22:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234762') start
[2025-01-12 22:49:04] Production.INFO: Account Balance End.
[2025-01-12 22:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:49:04] Production.INFO: ==29261== Releasing lock...
[2025-01-12 22:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234762') end
[2025-01-12 22:49:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:49:05] Production.INFO: 1
[2025-01-12 22:49:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:49:05] Production.INFO: ==29266== Releasing lock...
[2025-01-12 22:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:49:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:49:05
[end_date_ymd] => 2025-01-12 22:49:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:49:05' and `end` < '2025-01-12 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-12 22:49:11] Production.ERROR: CronJobId end10
[2025-01-12 22:49:11] Production.INFO: ==29259== Releasing lock...
[2025-01-12 22:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:49:13] Production.INFO: call_cost start
[2025-01-12 22:49:13] Production.INFO: call_cost end
[2025-01-12 22:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:49:14] Production.INFO: ==29255== Releasing lock...
[2025-01-12 22:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:49:18] Production.INFO: count ==336
[2025-01-12 22:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:49:05 - End Time 2025-01-12 22:49:05
[2025-01-12 22:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234763', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234763', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234763', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234763', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:49:18] Production.INFO: ProcessCDR(1,14234763,1,1,2)
[2025-01-12 22:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234763', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234763', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:49:21] Production.INFO: ==29264== Releasing lock...
[2025-01-12 22:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:49:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:50:01] Production.INFO: ==29324== Lock acquired, processing the job...
[2025-01-13 03:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:50:01] Production.INFO: neon service started
[2025-01-13 03:50:01] Production.INFO: neon service started
[2025-01-13 03:50:01] Production.INFO: ==29324== Releasing lock...
[2025-01-13 03:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:50:02] Production.INFO: ==29328== Lock acquired, processing the job...
[2025-01-13 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:50:02] Production.INFO: ==29328== Releasing lock...
[2025-01-13 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:50:02] Production.INFO: ==29326== Lock acquired, processing the job...
[2025-01-12 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:50:02] Production.INFO: ==29326== Releasing lock...
[2025-01-12 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:50:03] Production.INFO: ==29333== Lock acquired, processing the job...
[2025-01-12 22:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:50:03] Production.INFO: ==29335== Lock acquired, processing the job...
[2025-01-12 22:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:50:03] Production.INFO: ==29331== Lock acquired, processing the job...
[2025-01-12 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 22:50:03] Production.INFO: ==29339== Lock acquired, processing the job...
[2025-01-12 22:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 22:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 22:50:03] Production.ERROR: CronJob PID - 29333
[2025-01-12 22:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 22:50:03] Production.ERROR: CronJob ID - 5
[2025-01-12 22:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 22:50:00
[2025-01-12 22:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 22:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 22:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 22:50:03] Production.ERROR: CronJob PID - 29335
[2025-01-12 22:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 22:50:03] Production.ERROR: CronJob ID - 7
[2025-01-12 22:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 22:50:00
[2025-01-12 22:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 22:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 22:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 22:50:03] Production.ERROR: CronJob PID - 29339
[2025-01-12 22:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 22:50:03] Production.ERROR: CronJob ID - 12
[2025-01-12 22:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 22:50:00
[2025-01-12 22:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 22:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 22:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 22:50:03] Production.INFO: ==29331== Releasing lock...
[2025-01-12 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 22:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 22:50:03] Production.INFO: ==29343== Lock acquired, processing the job...
[2025-01-12 22:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 22:50:03] Production.INFO: Account Balance Start.
[2025-01-12 22:50:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:50:03] Production.INFO: 117
[2025-01-12 22:50:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:50:03] Production.INFO: ==29337== Lock acquired, processing the job...
[2025-01-12 22:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:50:03] Production.INFO: ==29341== Lock acquired, processing the job...
[2025-01-12 22:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:50:03] Production.INFO: ==29335== Releasing lock...
[2025-01-12 22:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:50:04] Production.INFO: ==29345== Lock acquired, processing the job...
[2025-01-12 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:50:04] Production.INFO: count ==21
[2025-01-12 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-12 22:50:04] Production.INFO: count ==21
[2025-01-12 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234767') start
[2025-01-12 22:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:50:04] Production.ERROR: done
[2025-01-12 22:50:04] Production.INFO: Total Charge 0
[2025-01-12 22:50:04] Production.INFO: CreateAllLog End
[2025-01-12 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234768', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 22:50:04] Production.ERROR: done
[2025-01-12 22:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234767') end
[2025-01-12 22:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:50:04] Production.INFO: 1
[2025-01-12 22:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:50:04] Production.INFO: ==29345== Releasing lock...
[2025-01-12 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:50:04] Production.INFO: Account Balance End.
[2025-01-12 22:50:04] Production.ERROR: done
[2025-01-12 22:50:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:50:04] Production.INFO: ==29339== Releasing lock...
[2025-01-12 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:50:06
[end_date_ymd] => 2025-01-12 22:50:06
[RateCDR] => 1
)
[2025-01-12 22:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:50:06' and `end` < '2025-01-12 22:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234768', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 22:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 22:50:08] Production.INFO: ProcessCDR(1,14234768,1,1,2)
[2025-01-12 22:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234768,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234768,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:50:09] Production.INFO: ==29343== Releasing lock...
[2025-01-12 22:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 22:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 22:50:12] Production.ERROR: CronJobId end10
[2025-01-12 22:50:12] Production.INFO: ==29337== Releasing lock...
[2025-01-12 22:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:50:14] Production.INFO: call_cost start
[2025-01-12 22:50:14] Production.INFO: call_cost end
[2025-01-12 22:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:50:15] Production.INFO: ==29333== Releasing lock...
[2025-01-12 22:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:50:18] Production.INFO: count ==343
[2025-01-12 22:50:18] Production.ERROR: pbx CDR StartTime 2025-01-12 19:50:06 - End Time 2025-01-12 22:50:06
[2025-01-12 22:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234769', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234769', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234769', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234769', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:50:18] Production.INFO: ProcessCDR(1,14234769,1,1,2)
[2025-01-12 22:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234769', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234769', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:50:21] Production.INFO: ==29341== Releasing lock...
[2025-01-12 22:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:50:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:51:02] Production.INFO: ==29398== Lock acquired, processing the job...
[2025-01-13 03:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:51:02] Production.INFO: neon service started
[2025-01-13 03:51:02] Production.INFO: neon service started
[2025-01-13 03:51:02] Production.INFO: ==29398== Releasing lock...
[2025-01-13 03:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:51:02] Production.INFO: ==29402== Lock acquired, processing the job...
[2025-01-13 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:51:02] Production.INFO: ==29402== Releasing lock...
[2025-01-13 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:51:02] Production.INFO: ==29400== Lock acquired, processing the job...
[2025-01-12 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:51:02] Production.INFO: ==29400== Releasing lock...
[2025-01-12 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:51:03] Production.INFO: ==29406== Lock acquired, processing the job...
[2025-01-12 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:51:03] Production.INFO: ==29410== Lock acquired, processing the job...
[2025-01-12 22:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:51:03] Production.INFO: ==29412== Lock acquired, processing the job...
[2025-01-12 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:51:03] Production.INFO: ==29404== Lock acquired, processing the job...
[2025-01-12 22:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:51:03] Production.INFO: Account Balance Start.
[2025-01-12 22:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:51:03] Production.INFO: 117
[2025-01-12 22:51:03] Production.INFO: ==29406== Releasing lock...
[2025-01-12 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:51:03] Production.INFO: ==29408== Lock acquired, processing the job...
[2025-01-12 22:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:51:03] Production.INFO: ==29414== Lock acquired, processing the job...
[2025-01-12 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:51:03] Production.ERROR: done
[2025-01-12 22:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:51:03] Production.ERROR: done
[2025-01-12 22:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 22:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:51:04] Production.INFO: count ==21
[2025-01-12 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-12 22:51:04] Production.INFO: count ==21
[2025-01-12 22:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234773') start
[2025-01-12 22:51:04] Production.INFO: Total Charge 0
[2025-01-12 22:51:04] Production.INFO: CreateAllLog End
[2025-01-12 22:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234773') end
[2025-01-12 22:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:51:04] Production.INFO: 1
[2025-01-12 22:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:51:04] Production.INFO: Account Balance End.
[2025-01-12 22:51:04] Production.INFO: ==29414== Releasing lock...
[2025-01-12 22:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:51:04] Production.INFO: ==29410== Releasing lock...
[2025-01-12 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:51:05
[end_date_ymd] => 2025-01-12 22:51:05
[RateCDR] => 1
)
[2025-01-12 22:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:51:05' and `end` < '2025-01-12 22:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:51:11] Production.ERROR: CronJobId end10
[2025-01-12 22:51:11] Production.INFO: ==29408== Releasing lock...
[2025-01-12 22:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:51:12] Production.INFO: call_cost start
[2025-01-12 22:51:12] Production.INFO: call_cost end
[2025-01-12 22:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:51:13] Production.INFO: ==29404== Releasing lock...
[2025-01-12 22:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:51:17] Production.INFO: count ==353
[2025-01-12 22:51:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:51:05 - End Time 2025-01-12 22:51:05
[2025-01-12 22:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234774', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234774', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234774', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234774', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:51:17] Production.INFO: ProcessCDR(1,14234774,1,1,2)
[2025-01-12 22:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234774', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234774', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:51:22] Production.INFO: ==29412== Releasing lock...
[2025-01-12 22:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:51:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:52:01] Production.INFO: ==29513== Lock acquired, processing the job...
[2025-01-13 03:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:52:01] Production.INFO: neon service started
[2025-01-13 03:52:01] Production.INFO: neon service started
[2025-01-13 03:52:01] Production.INFO: ==29513== Releasing lock...
[2025-01-13 03:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:52:01] Production.INFO: ==29515== Lock acquired, processing the job...
[2025-01-12 22:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:52:02] Production.INFO: ==29515== Releasing lock...
[2025-01-12 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:52:02] Production.INFO: ==29517== Lock acquired, processing the job...
[2025-01-13 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:52:02] Production.INFO: ==29517== Releasing lock...
[2025-01-13 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:52:02] Production.INFO: ==29523== Lock acquired, processing the job...
[2025-01-12 22:52:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:52:03] Production.INFO: ==29529== Lock acquired, processing the job...
[2025-01-12 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-12 22:52:03] Production.INFO: count ==21
[2025-01-12 22:52:03] Production.INFO: ==29519== Lock acquired, processing the job...
[2025-01-12 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 22:52:03] Production.INFO: count ==21
[2025-01-12 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234775') start
[2025-01-12 22:52:03] Production.INFO: ==29521== Lock acquired, processing the job...
[2025-01-12 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:52:03] Production.INFO: ==29525== Lock acquired, processing the job...
[2025-01-12 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234775') end
[2025-01-12 22:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:52:03] Production.INFO: 1
[2025-01-12 22:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:52:03] Production.INFO: ==29527== Lock acquired, processing the job...
[2025-01-12 22:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:52:03] Production.INFO: ==29529== Releasing lock...
[2025-01-12 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:52:03] Production.INFO: Account Balance Start.
[2025-01-12 22:52:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:52:03] Production.INFO: 117
[2025-01-12 22:52:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:52:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:52:03] Production.INFO: ==29521== Releasing lock...
[2025-01-12 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:52:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:52:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:52:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:52:03] Production.INFO: Total Charge 0
[2025-01-12 22:52:03] Production.INFO: CreateAllLog End
[2025-01-12 22:52:03] Production.ERROR: done
[2025-01-12 22:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:52:04] Production.ERROR: done
[2025-01-12 22:52:04] Production.INFO: Account Balance End.
[2025-01-12 22:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:52:04] Production.INFO: ==29525== Releasing lock...
[2025-01-12 22:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:52:04
[end_date_ymd] => 2025-01-12 22:52:04
[RateCDR] => 1
)
[2025-01-12 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-12 19:52:04' and `end` < '2025-01-12 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-12 22:52:10] Production.ERROR: CronJobId end10
[2025-01-12 22:52:10] Production.INFO: ==29523== Releasing lock...
[2025-01-12 22:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:52:12] Production.INFO: call_cost start
[2025-01-12 22:52:12] Production.INFO: call_cost end
[2025-01-12 22:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:52:13] Production.INFO: ==29519== Releasing lock...
[2025-01-12 22:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:52:17] Production.INFO: count ==357
[2025-01-12 22:52:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:52:04 - End Time 2025-01-12 22:52:04
[2025-01-12 22:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234779', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234779', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234779', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234779', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:52:17] Production.INFO: ProcessCDR(1,14234779,1,1,2)
[2025-01-12 22:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234779', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234779', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:52:20] Production.INFO: ==29527== Releasing lock...
[2025-01-12 22:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:52:20] Production.INFO: 31 MB #Memory Used#
[2025-01-13 03:53:01] Production.INFO: ==29585== Lock acquired, processing the job...
[2025-01-13 03:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:53:01] Production.INFO: neon service started
[2025-01-13 03:53:02] Production.INFO: neon service started
[2025-01-13 03:53:02] Production.INFO: ==29585== Releasing lock...
[2025-01-13 03:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:53:02] Production.INFO: ==29587== Lock acquired, processing the job...
[2025-01-12 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:53:02] Production.INFO: ==29587== Releasing lock...
[2025-01-12 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:53:02] Production.INFO: ==29589== Lock acquired, processing the job...
[2025-01-13 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:53:02] Production.INFO: ==29589== Releasing lock...
[2025-01-13 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:53:03] Production.INFO: ==29594== Lock acquired, processing the job...
[2025-01-12 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:53:03] Production.INFO: ==29602== Lock acquired, processing the job...
[2025-01-12 22:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 22:53:03] Production.INFO: ==29592== Lock acquired, processing the job...
[2025-01-12 22:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:53:03] Production.INFO: count ==21
[2025-01-12 22:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 22:53:03] Production.INFO: ==29596== Lock acquired, processing the job...
[2025-01-12 22:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:53:03] Production.INFO: count ==21
[2025-01-12 22:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234780') start
[2025-01-12 22:53:03] Production.INFO: ==29598== Lock acquired, processing the job...
[2025-01-12 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:53:03] Production.INFO: ==29600== Lock acquired, processing the job...
[2025-01-12 22:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:53:03] Production.INFO: Account Balance Start.
[2025-01-12 22:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:53:03] Production.INFO: 117
[2025-01-12 22:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:53:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234780') end
[2025-01-12 22:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:53:04] Production.INFO: 1
[2025-01-12 22:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:53:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:53:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:53:04] Production.INFO: ==29602== Releasing lock...
[2025-01-12 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:53:04] Production.INFO: ==29594== Releasing lock...
[2025-01-12 22:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:53:04] Production.INFO: Total Charge 0
[2025-01-12 22:53:04] Production.INFO: CreateAllLog End
[2025-01-12 22:53:04] Production.ERROR: done
[2025-01-12 22:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:53:04] Production.INFO: Account Balance End.
[2025-01-12 22:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:53:04] Production.INFO: ==29598== Releasing lock...
[2025-01-12 22:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:53:04] Production.ERROR: done
[2025-01-12 22:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:53:05
[end_date_ymd] => 2025-01-12 22:53:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:53:05' and `end` < '2025-01-12 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-12 22:53:11] Production.ERROR: CronJobId end10
[2025-01-12 22:53:11] Production.INFO: ==29596== Releasing lock...
[2025-01-12 22:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:53:13] Production.INFO: call_cost start
[2025-01-12 22:53:13] Production.INFO: call_cost end
[2025-01-12 22:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:53:14] Production.INFO: ==29592== Releasing lock...
[2025-01-12 22:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:53:17] Production.INFO: count ==360
[2025-01-12 22:53:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:53:05 - End Time 2025-01-12 22:53:05
[2025-01-12 22:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234784', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234784', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234784', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234784', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:53:17] Production.INFO: ProcessCDR(1,14234784,1,1,2)
[2025-01-12 22:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234784', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234784', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:53:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:53:20] Production.INFO: ==29600== Releasing lock...
[2025-01-12 22:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:53:20] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:54:01] Production.INFO: ==29656== Lock acquired, processing the job...
[2025-01-13 03:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:54:01] Production.INFO: neon service started
[2025-01-13 03:54:01] Production.INFO: neon service started
[2025-01-13 03:54:01] Production.INFO: ==29656== Releasing lock...
[2025-01-13 03:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:54:02] Production.INFO: ==29658== Lock acquired, processing the job...
[2025-01-12 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:54:02] Production.INFO: ==29660== Lock acquired, processing the job...
[2025-01-13 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:54:02] Production.INFO: ==29660== Releasing lock...
[2025-01-13 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:54:02] Production.INFO: ==29658== Releasing lock...
[2025-01-12 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:54:03] Production.INFO: ==29665== Lock acquired, processing the job...
[2025-01-12 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:54:03] Production.INFO: ==29663== Lock acquired, processing the job...
[2025-01-12 22:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:54:03] Production.INFO: ==29671== Lock acquired, processing the job...
[2025-01-12 22:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:54:03] Production.INFO: ==29665== Releasing lock...
[2025-01-12 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:54:03] Production.INFO: ==29667== Lock acquired, processing the job...
[2025-01-12 22:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:54:03] Production.INFO: ==29669== Lock acquired, processing the job...
[2025-01-12 22:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:54:03] Production.INFO: ==29673== Lock acquired, processing the job...
[2025-01-12 22:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:54:03] Production.INFO: Account Balance Start.
[2025-01-12 22:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:54:03] Production.INFO: 117
[2025-01-12 22:54:03] Production.ERROR: done
[2025-01-12 22:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:54:03] Production.INFO: count ==21
[2025-01-12 22:54:04] Production.ERROR: done
[2025-01-12 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-12 22:54:04] Production.INFO: count ==21
[2025-01-12 22:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234788') start
[2025-01-12 22:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:54:04] Production.INFO: Total Charge 0
[2025-01-12 22:54:04] Production.INFO: CreateAllLog End
[2025-01-12 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234788') end
[2025-01-12 22:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:54:04] Production.INFO: 1
[2025-01-12 22:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:54:04] Production.INFO: Account Balance End.
[2025-01-12 22:54:04] Production.INFO: ==29673== Releasing lock...
[2025-01-12 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:54:04] Production.INFO: ==29669== Releasing lock...
[2025-01-12 22:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:54:05
[end_date_ymd] => 2025-01-12 22:54:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:54:05' and `end` < '2025-01-12 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-12 22:54:11] Production.ERROR: CronJobId end10
[2025-01-12 22:54:11] Production.INFO: ==29667== Releasing lock...
[2025-01-12 22:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:54:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:54:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:54:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:54:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:54:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:54:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:54:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:54:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:54:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:54:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:54:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:54:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:54:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:54:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:54:12] Production.INFO: call_cost start
[2025-01-12 22:54:12] Production.INFO: call_cost end
[2025-01-12 22:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:54:13] Production.INFO: ==29663== Releasing lock...
[2025-01-12 22:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:54:17] Production.INFO: count ==360
[2025-01-12 22:54:17] Production.ERROR: pbx CDR StartTime 2025-01-12 19:54:05 - End Time 2025-01-12 22:54:05
[2025-01-12 22:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234789', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234789', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234789', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234789', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:54:17] Production.INFO: ProcessCDR(1,14234789,1,1,2)
[2025-01-12 22:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234789', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234789', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:54:22] Production.INFO: ==29671== Releasing lock...
[2025-01-12 22:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:54:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:55:01] Production.INFO: ==29729== Lock acquired, processing the job...
[2025-01-13 03:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:55:01] Production.INFO: neon service started
[2025-01-13 03:55:01] Production.INFO: neon service started
[2025-01-13 03:55:01] Production.INFO: ==29729== Releasing lock...
[2025-01-13 03:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:55:02] Production.INFO: ==29733== Lock acquired, processing the job...
[2025-01-13 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:55:02] Production.INFO: ==29733== Releasing lock...
[2025-01-13 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:55:02] Production.INFO: ==29731== Lock acquired, processing the job...
[2025-01-12 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:55:02] Production.INFO: ==29731== Releasing lock...
[2025-01-12 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 22:55:03] Production.INFO: ==29735== Lock acquired, processing the job...
[2025-01-12 22:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:55:03] Production.INFO: ==29739== Lock acquired, processing the job...
[2025-01-12 22:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:55:03] Production.INFO: ==29743== Lock acquired, processing the job...
[2025-01-12 22:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:55:03] Production.INFO: ==29737== Lock acquired, processing the job...
[2025-01-12 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:55:03] Production.INFO: ==29741== Lock acquired, processing the job...
[2025-01-12 22:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:55:03] Production.INFO: ==29745== Lock acquired, processing the job...
[2025-01-12 22:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:55:03] Production.INFO: Account Balance Start.
[2025-01-12 22:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:55:03] Production.INFO: 117
[2025-01-12 22:55:03] Production.ERROR: done
[2025-01-12 22:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:55:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:55:04] Production.ERROR: done
[2025-01-12 22:55:04] Production.INFO: count ==21
[2025-01-12 22:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:55:04] Production.INFO: ==29737== Releasing lock...
[2025-01-12 22:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:55:04] Production.INFO: count ==21
[2025-01-12 22:55:04] Production.INFO: Total Charge 0
[2025-01-12 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234793') start
[2025-01-12 22:55:04] Production.INFO: CreateAllLog End
[2025-01-12 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234793') end
[2025-01-12 22:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:55:04] Production.INFO: 1
[2025-01-12 22:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:55:04] Production.INFO: Account Balance End.
[2025-01-12 22:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:55:04] Production.INFO: ==29741== Releasing lock...
[2025-01-12 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:55:04] Production.INFO: ==29745== Releasing lock...
[2025-01-12 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:55:04
[end_date_ymd] => 2025-01-12 22:55:04
[RateCDR] => 1
)
[2025-01-12 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-12 19:55:04' and `end` < '2025-01-12 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-12 22:55:10] Production.ERROR: CronJobId end10
[2025-01-12 22:55:10] Production.INFO: ==29739== Releasing lock...
[2025-01-12 22:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:55:12] Production.INFO: call_cost start
[2025-01-12 22:55:12] Production.INFO: call_cost end
[2025-01-12 22:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:55:13] Production.INFO: ==29735== Releasing lock...
[2025-01-12 22:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:55:38] Production.INFO: count ==360
[2025-01-12 22:55:38] Production.ERROR: pbx CDR StartTime 2025-01-12 19:55:04 - End Time 2025-01-12 22:55:04
[2025-01-12 22:55:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:55:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234794', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:55:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234794', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:55:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234794', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:55:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234794', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:55:38] Production.INFO: ProcessCDR(1,14234794,1,1,2)
[2025-01-12 22:55:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:55:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:55:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:55:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:55:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234794', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:55:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234794', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:55:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:55:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:55:41] Production.INFO: ==29743== Releasing lock...
[2025-01-12 22:55:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:55:41] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:56:02] Production.INFO: ==29801== Lock acquired, processing the job...
[2025-01-13 03:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:56:02] Production.INFO: neon service started
[2025-01-13 03:56:02] Production.INFO: neon service started
[2025-01-13 03:56:02] Production.INFO: ==29801== Releasing lock...
[2025-01-13 03:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:56:02] Production.INFO: ==29803== Lock acquired, processing the job...
[2025-01-12 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:56:02] Production.INFO: ==29803== Releasing lock...
[2025-01-12 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:56:02] Production.INFO: ==29805== Lock acquired, processing the job...
[2025-01-13 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:56:02] Production.INFO: ==29805== Releasing lock...
[2025-01-13 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:56:03] Production.INFO: ==29814== Lock acquired, processing the job...
[2025-01-12 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:56:03] Production.INFO: ==29808== Lock acquired, processing the job...
[2025-01-12 22:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:56:03] Production.INFO: ==29818== Lock acquired, processing the job...
[2025-01-12 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:56:03] Production.INFO: Account Balance Start.
[2025-01-12 22:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:56:03] Production.INFO: 117
[2025-01-12 22:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:56:03] Production.INFO: ==29810== Lock acquired, processing the job...
[2025-01-12 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:56:03] Production.INFO: ==29812== Lock acquired, processing the job...
[2025-01-12 22:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:56:03] Production.INFO: Total Charge 0
[2025-01-12 22:56:03] Production.INFO: count ==21
[2025-01-12 22:56:03] Production.INFO: ==29816== Lock acquired, processing the job...
[2025-01-12 22:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:56:04] Production.INFO: CreateAllLog End
[2025-01-12 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-12 22:56:04] Production.INFO: count ==21
[2025-01-12 22:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234797') start
[2025-01-12 22:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:56:04] Production.INFO: Account Balance End.
[2025-01-12 22:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:56:04] Production.INFO: ==29814== Releasing lock...
[2025-01-12 22:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:56:04] Production.INFO: ==29810== Releasing lock...
[2025-01-12 22:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234797') end
[2025-01-12 22:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:56:04] Production.INFO: 1
[2025-01-12 22:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:56:04] Production.INFO: ==29818== Releasing lock...
[2025-01-12 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:56:04] Production.ERROR: done
[2025-01-12 22:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:56:04] Production.ERROR: done
[2025-01-12 22:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:56:05
[end_date_ymd] => 2025-01-12 22:56:05
[RateCDR] => 1
)
[2025-01-12 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-12 19:56:05' and `end` < '2025-01-12 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-12 22:56:11] Production.ERROR: CronJobId end10
[2025-01-12 22:56:11] Production.INFO: ==29812== Releasing lock...
[2025-01-12 22:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:56:13] Production.INFO: call_cost start
[2025-01-12 22:56:13] Production.INFO: call_cost end
[2025-01-12 22:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:56:14] Production.INFO: ==29808== Releasing lock...
[2025-01-12 22:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:56:34] Production.INFO: count ==362
[2025-01-12 22:56:34] Production.ERROR: pbx CDR StartTime 2025-01-12 19:56:05 - End Time 2025-01-12 22:56:05
[2025-01-12 22:56:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:56:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234799', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:56:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234799', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:56:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234799', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:56:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234799', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:56:34] Production.INFO: ProcessCDR(1,14234799,1,1,2)
[2025-01-12 22:56:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:56:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:56:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:56:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:56:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234799', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:56:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234799', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:56:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:56:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:56:38] Production.INFO: ==29816== Releasing lock...
[2025-01-12 22:56:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:56:38] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:57:01] Production.INFO: ==29870== Lock acquired, processing the job...
[2025-01-13 03:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:57:01] Production.INFO: neon service started
[2025-01-13 03:57:01] Production.INFO: neon service started
[2025-01-13 03:57:01] Production.INFO: ==29870== Releasing lock...
[2025-01-13 03:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:57:02] Production.INFO: ==29872== Lock acquired, processing the job...
[2025-01-12 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:57:02] Production.INFO: ==29872== Releasing lock...
[2025-01-12 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:57:02] Production.INFO: ==29874== Lock acquired, processing the job...
[2025-01-13 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:57:02] Production.INFO: ==29874== Releasing lock...
[2025-01-13 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:57:03] Production.INFO: ==29876== Lock acquired, processing the job...
[2025-01-12 22:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:57:03] Production.INFO: ==29880== Lock acquired, processing the job...
[2025-01-12 22:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:57:03] Production.INFO: ==29878== Lock acquired, processing the job...
[2025-01-12 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:57:03] Production.INFO: ==29884== Lock acquired, processing the job...
[2025-01-12 22:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:57:03] Production.INFO: ==29882== Lock acquired, processing the job...
[2025-01-12 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:57:03] Production.INFO: ==29887== Lock acquired, processing the job...
[2025-01-12 22:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:57:03] Production.INFO: Account Balance Start.
[2025-01-12 22:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:57:03] Production.INFO: 117
[2025-01-12 22:57:03] Production.ERROR: done
[2025-01-12 22:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:57:03] Production.INFO: count ==21
[2025-01-12 22:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:57:03] Production.INFO: count ==21
[2025-01-12 22:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234802') start
[2025-01-12 22:57:03] Production.INFO: ==29878== Releasing lock...
[2025-01-12 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234802') end
[2025-01-12 22:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:57:03] Production.INFO: 1
[2025-01-12 22:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:57:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:57:03] Production.ERROR: done
[2025-01-12 22:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:57:03] Production.INFO: ==29887== Releasing lock...
[2025-01-12 22:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:57:04] Production.INFO: Total Charge 0
[2025-01-12 22:57:04] Production.INFO: CreateAllLog End
[2025-01-12 22:57:04] Production.INFO: Account Balance End.
[2025-01-12 22:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:57:04] Production.INFO: ==29882== Releasing lock...
[2025-01-12 22:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:57:04
[end_date_ymd] => 2025-01-12 22:57:04
[RateCDR] => 1
)
[2025-01-12 22:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:57:04' and `end` < '2025-01-12 22:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:57:11] Production.ERROR: CronJobId end10
[2025-01-12 22:57:11] Production.INFO: ==29880== Releasing lock...
[2025-01-12 22:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:57:13] Production.INFO: call_cost start
[2025-01-12 22:57:13] Production.INFO: call_cost end
[2025-01-12 22:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:57:14] Production.INFO: ==29876== Releasing lock...
[2025-01-12 22:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:57:26] Production.INFO: count ==361
[2025-01-12 22:57:26] Production.ERROR: pbx CDR StartTime 2025-01-12 19:57:04 - End Time 2025-01-12 22:57:04
[2025-01-12 22:57:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234804', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234804', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234804', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234804', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:57:26] Production.INFO: ProcessCDR(1,14234804,1,1,2)
[2025-01-12 22:57:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:57:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:57:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:57:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:57:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234804', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:57:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234804', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:57:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:57:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:57:29] Production.INFO: ==29884== Releasing lock...
[2025-01-12 22:57:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:57:29] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:58:02] Production.INFO: ==29943== Lock acquired, processing the job...
[2025-01-13 03:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:58:02] Production.INFO: neon service started
[2025-01-13 03:58:02] Production.INFO: neon service started
[2025-01-13 03:58:02] Production.INFO: ==29943== Releasing lock...
[2025-01-13 03:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:58:02] Production.INFO: ==29945== Lock acquired, processing the job...
[2025-01-12 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:58:02] Production.INFO: ==29945== Releasing lock...
[2025-01-12 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:58:02] Production.INFO: ==29947== Lock acquired, processing the job...
[2025-01-13 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:58:02] Production.INFO: ==29947== Releasing lock...
[2025-01-13 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:58:03] Production.INFO: ==29955== Lock acquired, processing the job...
[2025-01-12 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:58:03] Production.INFO: ==29960== Lock acquired, processing the job...
[2025-01-12 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:58:03] Production.INFO: ==29951== Lock acquired, processing the job...
[2025-01-12 22:58:03] Production.INFO: ==29949== Lock acquired, processing the job...
[2025-01-12 22:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-12 22:58:03] Production.INFO: ==29953== Lock acquired, processing the job...
[2025-01-12 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:58:03] Production.INFO: count ==21
[2025-01-12 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-12 22:58:03] Production.INFO: count ==21
[2025-01-12 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234806') start
[2025-01-12 22:58:03] Production.INFO: Account Balance Start.
[2025-01-12 22:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:58:03] Production.INFO: 117
[2025-01-12 22:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:58:04] Production.INFO: Date 2025-01-08
[2025-01-12 22:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234806') end
[2025-01-12 22:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:58:04] Production.INFO: 1
[2025-01-12 22:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:58:04] Production.INFO: ==29957== Lock acquired, processing the job...
[2025-01-12 22:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:58:04] Production.INFO: ==29960== Releasing lock...
[2025-01-12 22:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:58:04] Production.INFO: Date 2025-01-09
[2025-01-12 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:58:04] Production.INFO: Date 2025-01-10
[2025-01-12 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:58:04] Production.INFO: ==29951== Releasing lock...
[2025-01-12 22:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:58:04] Production.INFO: Date 2025-01-11
[2025-01-12 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:58:04] Production.INFO: Date 2025-01-12
[2025-01-12 22:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 22:58:04] Production.INFO: Total Charge 0
[2025-01-12 22:58:04] Production.INFO: CreateAllLog End
[2025-01-12 22:58:04] Production.ERROR: done
[2025-01-12 22:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:58:04] Production.INFO: Account Balance End.
[2025-01-12 22:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:58:04] Production.INFO: ==29955== Releasing lock...
[2025-01-12 22:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:58:04] Production.ERROR: done
[2025-01-12 22:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:58:05
[end_date_ymd] => 2025-01-12 22:58:05
[RateCDR] => 1
)
[2025-01-12 22:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:58:05' and `end` < '2025-01-12 22:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:58:10] Production.ERROR: CronJobId end10
[2025-01-12 22:58:10] Production.INFO: ==29953== Releasing lock...
[2025-01-12 22:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:58:13] Production.INFO: call_cost start
[2025-01-12 22:58:13] Production.INFO: call_cost end
[2025-01-12 22:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:58:13] Production.INFO: ==29949== Releasing lock...
[2025-01-12 22:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:58:28] Production.INFO: count ==360
[2025-01-12 22:58:28] Production.ERROR: pbx CDR StartTime 2025-01-12 19:58:05 - End Time 2025-01-12 22:58:05
[2025-01-12 22:58:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234809', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234809', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234809', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234809', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:58:28] Production.INFO: ProcessCDR(1,14234809,1,1,2)
[2025-01-12 22:58:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:58:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:58:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:58:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:58:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234809', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:58:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234809', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:58:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:58:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:58:32] Production.INFO: ==29957== Releasing lock...
[2025-01-12 22:58:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:58:32] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 03:59:01] Production.INFO: ==30013== Lock acquired, processing the job...
[2025-01-13 03:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 03:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 03:59:01] Production.INFO: neon service started
[2025-01-13 03:59:01] Production.INFO: neon service started
[2025-01-13 03:59:01] Production.INFO: ==30013== Releasing lock...
[2025-01-13 03:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 03:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 22:59:01] Production.INFO: ==30015== Lock acquired, processing the job...
[2025-01-12 22:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 22:59:02] Production.INFO: ==30015== Releasing lock...
[2025-01-12 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 22:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:59:02] Production.INFO: ==30017== Lock acquired, processing the job...
[2025-01-13 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:59:02] Production.INFO: ==30017== Releasing lock...
[2025-01-13 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 03:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 22:59:03] Production.INFO: ==30029== Lock acquired, processing the job...
[2025-01-12 22:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 22:59:03] Production.INFO: ==30027== Lock acquired, processing the job...
[2025-01-12 22:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 22:59:03] Production.INFO: ==30019== Lock acquired, processing the job...
[2025-01-12 22:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 22:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 22:59:03] Production.INFO: ==30021== Lock acquired, processing the job...
[2025-01-12 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 22:59:03] Production.INFO: ==30025== Lock acquired, processing the job...
[2025-01-12 22:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 22:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:59:03] Production.INFO: ==30023== Lock acquired, processing the job...
[2025-01-12 22:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 22:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 22:59:03] Production.INFO: count ==21
[2025-01-12 22:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 22:59:03] Production.INFO: count ==21
[2025-01-12 22:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234810') start
[2025-01-12 22:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 22:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 22:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 22:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 22:59:03] Production.INFO: Account Balance Start.
[2025-01-12 22:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 22:59:03] Production.INFO: 117
[2025-01-12 22:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234810') end
[2025-01-12 22:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 22:59:03] Production.INFO: 1
[2025-01-12 22:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 22:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:59:03] Production.ERROR: done
[2025-01-12 22:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 22:59:03] Production.INFO: ==30029== Releasing lock...
[2025-01-12 22:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 22:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 22:59:03] Production.INFO: ==30021== Releasing lock...
[2025-01-12 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 22:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 22:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:59:03] Production.ERROR: done
[2025-01-12 22:59:03] Production.INFO: Date 2025-01-10
[2025-01-12 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:59:03] Production.INFO: Date 2025-01-11
[2025-01-12 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:59:03] Production.INFO: Date 2025-01-12
[2025-01-12 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 22:59:03] Production.INFO: Total Charge 0
[2025-01-12 22:59:03] Production.INFO: CreateAllLog End
[2025-01-12 22:59:03] Production.INFO: Account Balance End.
[2025-01-12 22:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 22:59:04] Production.INFO: ==30025== Releasing lock...
[2025-01-12 22:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 22:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 22:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 19:59:04
[end_date_ymd] => 2025-01-12 22:59:04
[RateCDR] => 1
)
[2025-01-12 22:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 19:59:04' and `end` < '2025-01-12 22:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 22:59:09] Production.ERROR: CronJobId end10
[2025-01-12 22:59:09] Production.INFO: ==30023== Releasing lock...
[2025-01-12 22:59:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 22:59:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 22:59:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 22:59:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 22:59:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 22:59:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 22:59:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 22:59:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 22:59:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 22:59:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 22:59:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 22:59:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 22:59:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 22:59:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 22:59:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 22:59:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 22:59:12] Production.INFO: call_cost start
[2025-01-12 22:59:12] Production.INFO: call_cost end
[2025-01-12 22:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 22:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 22:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 22:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 22:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 22:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 22:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 22:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 22:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 22:59:13] Production.INFO: ==30019== Releasing lock...
[2025-01-12 22:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 22:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 22:59:30] Production.INFO: count ==357
[2025-01-12 22:59:30] Production.ERROR: pbx CDR StartTime 2025-01-12 19:59:04 - End Time 2025-01-12 22:59:04
[2025-01-12 22:59:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 22:59:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234814', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:59:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234814', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:59:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234814', 'tblTempVendorCDR_20' ) start
[2025-01-12 22:59:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234814', 'tblTempVendorCDR_20' ) end
[2025-01-12 22:59:30] Production.INFO: ProcessCDR(1,14234814,1,1,2)
[2025-01-12 22:59:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:59:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 22:59:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:59:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 22:59:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234814', 'tblTempUsageDetail_20' ) start
[2025-01-12 22:59:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234814', 'tblTempUsageDetail_20' ) end
[2025-01-12 22:59:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 22:59:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 22:59:33] Production.INFO: ==30027== Releasing lock...
[2025-01-12 22:59:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 22:59:33] Production.INFO: 31 MB #Memory Used#
[2025-01-13 04:00:01] Production.INFO: ==30084== Lock acquired, processing the job...
[2025-01-13 04:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:00:01] Production.INFO: neon service started
[2025-01-13 04:00:02] Production.INFO: neon service started
[2025-01-13 04:00:02] Production.INFO: ==30084== Releasing lock...
[2025-01-13 04:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:00:02] Production.INFO: ==30086== Lock acquired, processing the job...
[2025-01-12 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:00:02] Production.INFO: ==30088== Lock acquired, processing the job...
[2025-01-13 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:00:02] Production.INFO: ==30088== Releasing lock...
[2025-01-13 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:00:02] Production.INFO: ==30086== Releasing lock...
[2025-01-12 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:00:03] Production.INFO: ==30090== Lock acquired, processing the job...
[2025-01-12 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 23:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 23:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 23:00:03] Production.INFO: ==30090== Releasing lock...
[2025-01-12 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 23:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 23:00:03] Production.INFO: ==30092== Lock acquired, processing the job...
[2025-01-12 23:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:00:03] Production.INFO: ==30094== Lock acquired, processing the job...
[2025-01-12 23:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:00:03] Production.INFO: ==30096== Lock acquired, processing the job...
[2025-01-12 23:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:00:04] Production.INFO: ==30098== Lock acquired, processing the job...
[2025-01-12 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:00:04] Production.INFO: ==30101== Lock acquired, processing the job...
[2025-01-12 23:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:00:04] Production.INFO: ==30094== Releasing lock...
[2025-01-12 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:00:04] Production.INFO: ==30103== Lock acquired, processing the job...
[2025-01-12 23:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 23:00:04] Production.INFO: Account Balance Start.
[2025-01-12 23:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:00:04] Production.INFO: 117
[2025-01-12 23:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:00:04] Production.INFO: ==30105== Lock acquired, processing the job...
[2025-01-12 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 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-12 23:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:00:04] Production.INFO: count ==21
[2025-01-12 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-12 23:00:04] Production.INFO: count ==21
[2025-01-12 23:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234818') start
[2025-01-12 23:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:00:04] Production.ERROR: done
[2025-01-12 23:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:00:04] Production.ERROR: done
[2025-01-12 23:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234818') end
[2025-01-12 23:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:00:04] Production.INFO: 1
[2025-01-12 23:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 23:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234819', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 23:00:04] Production.INFO: ==30105== Releasing lock...
[2025-01-12 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:00:04] Production.INFO: Total Charge 0
[2025-01-12 23:00:04] Production.ERROR: done
[2025-01-12 23:00:04] Production.INFO: CreateAllLog End
[2025-01-12 23:00:05] Production.INFO: Account Balance End.
[2025-01-12 23:00:05] Production.ERROR: CronJobId end 12
[2025-01-12 23:00:05] Production.INFO: ==30098== Releasing lock...
[2025-01-12 23:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:00:06
[end_date_ymd] => 2025-01-12 23:00:06
[RateCDR] => 1
)
[2025-01-12 23:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:00:06' and `end` < '2025-01-12 23:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234819', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 23:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 23:00:09] Production.INFO: ProcessCDR(1,14234819,1,1,2)
[2025-01-12 23:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234819,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234819,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:00:09] Production.INFO: ==30103== Releasing lock...
[2025-01-12 23:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 23:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 23:00:13] Production.ERROR: CronJobId end10
[2025-01-12 23:00:13] Production.INFO: ==30096== Releasing lock...
[2025-01-12 23:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:00:14] Production.INFO: call_cost start
[2025-01-12 23:00:14] Production.INFO: call_cost end
[2025-01-12 23:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:00:15] Production.INFO: ==30092== Releasing lock...
[2025-01-12 23:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:00:33] Production.INFO: count ==364
[2025-01-12 23:00:33] Production.ERROR: pbx CDR StartTime 2025-01-12 20:00:06 - End Time 2025-01-12 23:00:06
[2025-01-12 23:00:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234820', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234820', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234820', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234820', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:00:33] Production.INFO: ProcessCDR(1,14234820,1,1,2)
[2025-01-12 23:00:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:00:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:00:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:00:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:00:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234820', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:00:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234820', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:00:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:00:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:00:36] Production.INFO: ==30101== Releasing lock...
[2025-01-12 23:00:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:00:36] Production.INFO: 31 MB #Memory Used#
[2025-01-13 04:01:01] Production.INFO: ==30163== Lock acquired, processing the job...
[2025-01-13 04:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:01:01] Production.INFO: neon service started
[2025-01-13 04:01:01] Production.INFO: neon service started
[2025-01-13 04:01:01] Production.INFO: ==30163== Releasing lock...
[2025-01-13 04:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:01:01] Production.INFO: ==30176== Lock acquired, processing the job...
[2025-01-12 23:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:01:02] Production.INFO: ==30176== Releasing lock...
[2025-01-12 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:01:02] Production.INFO: ==30178== Lock acquired, processing the job...
[2025-01-13 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:01:02] Production.INFO: ==30178== Releasing lock...
[2025-01-13 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:01:02] Production.INFO: ==30184== Lock acquired, processing the job...
[2025-01-12 23:01:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:01:02] Production.INFO: ==30180== Lock acquired, processing the job...
[2025-01-12 23:01:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:01:03] Production.INFO: ==30192== Lock acquired, processing the job...
[2025-01-12 23:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:01:03] Production.INFO: ==30182== Lock acquired, processing the job...
[2025-01-12 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:01:03] Production.INFO: ==30186== Lock acquired, processing the job...
[2025-01-12 23:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:01:03] Production.INFO: Account Balance Start.
[2025-01-12 23:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:01:03] Production.INFO: 117
[2025-01-12 23:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:01:03] Production.INFO: ==30188== Lock acquired, processing the job...
[2025-01-12 23:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:01:03] Production.INFO: count ==21
[2025-01-12 23:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:01:03] Production.INFO: count ==21
[2025-01-12 23:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234822') start
[2025-01-12 23:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:01:03] Production.INFO: ==30182== Releasing lock...
[2025-01-12 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:01:03] Production.INFO: Total Charge 0
[2025-01-12 23:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234822') end
[2025-01-12 23:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:01:03] Production.INFO: 1
[2025-01-12 23:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:01:03] Production.INFO: CreateAllLog End
[2025-01-12 23:01:03] Production.ERROR: done
[2025-01-12 23:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:01:03] Production.INFO: ==30192== Releasing lock...
[2025-01-12 23:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:01:03] Production.INFO: Account Balance End.
[2025-01-12 23:01:03] Production.ERROR: done
[2025-01-12 23:01:03] Production.ERROR: CronJobId end 12
[2025-01-12 23:01:03] Production.INFO: ==30186== Releasing lock...
[2025-01-12 23:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:01:04
[end_date_ymd] => 2025-01-12 23:01:04
[RateCDR] => 1
)
[2025-01-12 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-12 20:01:04' and `end` < '2025-01-12 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-12 23:01:11] Production.ERROR: CronJobId end10
[2025-01-12 23:01:11] Production.INFO: ==30184== Releasing lock...
[2025-01-12 23:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:01:13] Production.INFO: call_cost start
[2025-01-12 23:01:13] Production.INFO: call_cost end
[2025-01-12 23:01:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:01:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:01:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:01:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:01:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:01:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:01:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:01:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:01:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:01:13] Production.INFO: ==30180== Releasing lock...
[2025-01-12 23:01:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:01:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:01:27] Production.INFO: count ==380
[2025-01-12 23:01:27] Production.ERROR: pbx CDR StartTime 2025-01-12 20:01:04 - End Time 2025-01-12 23:01:04
[2025-01-12 23:01:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:01:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234825', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:01:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234825', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:01:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234825', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:01:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234825', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:01:27] Production.INFO: ProcessCDR(1,14234825,1,1,2)
[2025-01-12 23:01:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:01:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:01:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:01:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:01:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234825', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:01:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234825', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:01:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:01:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:01:30] Production.INFO: ==30188== Releasing lock...
[2025-01-12 23:01:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:01:30] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:02:01] Production.INFO: ==30327== Lock acquired, processing the job...
[2025-01-13 04:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:02:01] Production.INFO: neon service started
[2025-01-13 04:02:01] Production.INFO: neon service started
[2025-01-13 04:02:01] Production.INFO: ==30327== Releasing lock...
[2025-01-13 04:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:02:02] Production.INFO: ==30329== Lock acquired, processing the job...
[2025-01-12 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:02:02] Production.INFO: ==30331== Lock acquired, processing the job...
[2025-01-13 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:02:02] Production.INFO: ==30331== Releasing lock...
[2025-01-13 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:02:02] Production.INFO: ==30329== Releasing lock...
[2025-01-12 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:02:03] Production.INFO: ==30334== Lock acquired, processing the job...
[2025-01-12 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:02:03] Production.INFO: ==30336== Lock acquired, processing the job...
[2025-01-12 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:02:03] Production.INFO: ==30338== Lock acquired, processing the job...
[2025-01-12 23:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:02:03] Production.INFO: ==30340== Lock acquired, processing the job...
[2025-01-12 23:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:02:04] Production.INFO: ==30342== Lock acquired, processing the job...
[2025-01-12 23:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:02:04] Production.INFO: ==30344== Lock acquired, processing the job...
[2025-01-12 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:02:04] Production.INFO: Account Balance Start.
[2025-01-12 23:02:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:02:04] Production.INFO: 117
[2025-01-12 23:02:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:02:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:02:04] Production.INFO: ==30336== Releasing lock...
[2025-01-12 23:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:02:04] Production.INFO: count ==21
[2025-01-12 23:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 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-12 23:02:04] Production.INFO: count ==21
[2025-01-12 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234829') start
[2025-01-12 23:02:04] Production.ERROR: done
[2025-01-12 23:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234829') end
[2025-01-12 23:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:02:04] Production.INFO: 1
[2025-01-12 23:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:02:04] Production.INFO: Total Charge 0
[2025-01-12 23:02:04] Production.INFO: CreateAllLog End
[2025-01-12 23:02:04] Production.INFO: ==30344== Releasing lock...
[2025-01-12 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:02:04] Production.ERROR: done
[2025-01-12 23:02:04] Production.INFO: Account Balance End.
[2025-01-12 23:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:02:04] Production.INFO: ==30340== Releasing lock...
[2025-01-12 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:02:05
[end_date_ymd] => 2025-01-12 23:02:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:02:05' and `end` < '2025-01-12 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-12 23:02:11] Production.ERROR: CronJobId end10
[2025-01-12 23:02:11] Production.INFO: ==30338== Releasing lock...
[2025-01-12 23:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:02:13] Production.INFO: call_cost start
[2025-01-12 23:02:13] Production.INFO: call_cost end
[2025-01-12 23:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:02:14] Production.INFO: ==30334== Releasing lock...
[2025-01-12 23:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:02:30] Production.INFO: count ==382
[2025-01-12 23:02:30] Production.ERROR: pbx CDR StartTime 2025-01-12 20:02:05 - End Time 2025-01-12 23:02:05
[2025-01-12 23:02:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:02:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234830', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:02:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234830', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:02:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234830', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:02:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234830', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:02:30] Production.INFO: ProcessCDR(1,14234830,1,1,2)
[2025-01-12 23:02:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:02:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:02:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234830', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:02:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234830', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:02:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:02:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:02:33] Production.INFO: ==30342== Releasing lock...
[2025-01-12 23:02:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:02:33] Production.INFO: 31 MB #Memory Used#
[2025-01-13 04:03:02] Production.INFO: ==30404== Lock acquired, processing the job...
[2025-01-13 04:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:03:02] Production.INFO: neon service started
[2025-01-13 04:03:02] Production.INFO: neon service started
[2025-01-13 04:03:02] Production.INFO: ==30404== Releasing lock...
[2025-01-13 04:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:03:02] Production.INFO: ==30406== Lock acquired, processing the job...
[2025-01-12 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:03:03] Production.INFO: ==30406== Releasing lock...
[2025-01-12 23:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:03:03] Production.INFO: ==30408== Lock acquired, processing the job...
[2025-01-13 04:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:03:03] Production.INFO: ==30408== Releasing lock...
[2025-01-13 04:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:03:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:03:03] Production.INFO: ==30410== Lock acquired, processing the job...
[2025-01-12 23:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:03:04] Production.INFO: ==30412== Lock acquired, processing the job...
[2025-01-12 23:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:03:04] Production.INFO: ==30421== Lock acquired, processing the job...
[2025-01-12 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:03:04] Production.INFO: ==30414== Lock acquired, processing the job...
[2025-01-12 23:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:03:04] Production.INFO: ==30416== Lock acquired, processing the job...
[2025-01-12 23:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:03:04] Production.INFO: count ==21
[2025-01-12 23:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:03:04] Production.INFO: ==30418== Lock acquired, processing the job...
[2025-01-12 23:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-12 23:03:04] Production.INFO: count ==21
[2025-01-12 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234832') start
[2025-01-12 23:03:04] Production.INFO: Account Balance Start.
[2025-01-12 23:03:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:03:04] Production.INFO: 117
[2025-01-12 23:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:03:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:03:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:03:04] Production.INFO: ==30412== Releasing lock...
[2025-01-12 23:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:03:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:03:05] Production.INFO: Date 2025-01-11
[2025-01-12 23:03:05] Production.INFO: Reseller ==> 0
[2025-01-12 23:03:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234832') end
[2025-01-12 23:03:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:03:05] Production.INFO: 1
[2025-01-12 23:03:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:03:05] Production.ERROR: done
[2025-01-12 23:03:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:03:05] Production.INFO: Date 2025-01-12
[2025-01-12 23:03:05] Production.INFO: Reseller ==> 0
[2025-01-12 23:03:05] Production.INFO: Total Charge 0
[2025-01-12 23:03:05] Production.INFO: CreateAllLog End
[2025-01-12 23:03:05] Production.INFO: ==30421== Releasing lock...
[2025-01-12 23:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:03:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:03:05] Production.ERROR: done
[2025-01-12 23:03:05] Production.INFO: Account Balance End.
[2025-01-12 23:03:05] Production.ERROR: CronJobId end 12
[2025-01-12 23:03:05] Production.INFO: ==30416== Releasing lock...
[2025-01-12 23:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:03:06
[end_date_ymd] => 2025-01-12 23:03:06
[RateCDR] => 1
)
[2025-01-12 23:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:03:06' and `end` < '2025-01-12 23:03:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:03:12] Production.ERROR: CronJobId end10
[2025-01-12 23:03:12] Production.INFO: ==30414== Releasing lock...
[2025-01-12 23:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:03:13] Production.INFO: call_cost start
[2025-01-12 23:03:13] Production.INFO: call_cost end
[2025-01-12 23:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:03:14] Production.INFO: ==30410== Releasing lock...
[2025-01-12 23:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:03:34] Production.INFO: count ==381
[2025-01-12 23:03:35] Production.ERROR: pbx CDR StartTime 2025-01-12 20:03:06 - End Time 2025-01-12 23:03:06
[2025-01-12 23:03:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234835', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234835', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234835', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234835', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:03:35] Production.INFO: ProcessCDR(1,14234835,1,1,2)
[2025-01-12 23:03:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:03:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:03:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:03:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:03:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234835', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:03:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234835', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:03:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:03:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:03:38] Production.INFO: ==30418== Releasing lock...
[2025-01-12 23:03:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:03:38] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:04:02] Production.INFO: ==30477== Lock acquired, processing the job...
[2025-01-13 04:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:04:02] Production.INFO: neon service started
[2025-01-13 04:04:02] Production.INFO: neon service started
[2025-01-13 04:04:02] Production.INFO: ==30477== Releasing lock...
[2025-01-13 04:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:04:02] Production.INFO: ==30480== Lock acquired, processing the job...
[2025-01-12 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:04:02] Production.INFO: ==30480== Releasing lock...
[2025-01-12 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:04:02] Production.INFO: ==30482== Lock acquired, processing the job...
[2025-01-13 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:04:02] Production.INFO: ==30482== Releasing lock...
[2025-01-13 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:04:03] Production.INFO: ==30492== Lock acquired, processing the job...
[2025-01-12 23:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:04:03] Production.INFO: ==30494== Lock acquired, processing the job...
[2025-01-12 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:04:03] Production.INFO: ==30484== Lock acquired, processing the job...
[2025-01-12 23:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:04:03] Production.INFO: ==30486== Lock acquired, processing the job...
[2025-01-12 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:04:04] Production.INFO: ==30488== Lock acquired, processing the job...
[2025-01-12 23:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:04:04] Production.INFO: ==30490== Lock acquired, processing the job...
[2025-01-12 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 23:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:04:04] Production.INFO: count ==21
[2025-01-12 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-12 23:04:04] Production.INFO: count ==21
[2025-01-12 23:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234836') start
[2025-01-12 23:04:04] Production.INFO: Account Balance Start.
[2025-01-12 23:04:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:04:04] Production.ERROR: done
[2025-01-12 23:04:04] Production.INFO: 117
[2025-01-12 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234836') end
[2025-01-12 23:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:04:04] Production.INFO: 1
[2025-01-12 23:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:04:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:04:04] Production.INFO: ==30494== Releasing lock...
[2025-01-12 23:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:04:04] Production.ERROR: done
[2025-01-12 23:04:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:04:04] Production.INFO: ==30486== Releasing lock...
[2025-01-12 23:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:04:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:04:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:04:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:04:04] Production.INFO: Total Charge 0
[2025-01-12 23:04:04] Production.INFO: CreateAllLog End
[2025-01-12 23:04:04] Production.INFO: Account Balance End.
[2025-01-12 23:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:04:04] Production.INFO: ==30490== Releasing lock...
[2025-01-12 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:04:05
[end_date_ymd] => 2025-01-12 23:04:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:04:05' and `end` < '2025-01-12 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-12 23:04:11] Production.ERROR: CronJobId end10
[2025-01-12 23:04:11] Production.INFO: ==30488== Releasing lock...
[2025-01-12 23:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:04:15] Production.INFO: call_cost start
[2025-01-12 23:04:15] Production.INFO: call_cost end
[2025-01-12 23:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:04:15] Production.INFO: ==30484== Releasing lock...
[2025-01-12 23:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:04:27] Production.INFO: count ==384
[2025-01-12 23:04:27] Production.ERROR: pbx CDR StartTime 2025-01-12 20:04:05 - End Time 2025-01-12 23:04:05
[2025-01-12 23:04:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234840', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234840', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234840', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234840', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:04:27] Production.INFO: ProcessCDR(1,14234840,1,1,2)
[2025-01-12 23:04:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:04:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:04:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:04:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:04:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234840', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:04:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234840', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:04:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:04:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:04:31] Production.INFO: ==30492== Releasing lock...
[2025-01-12 23:04:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:04:31] Production.INFO: 31 MB #Memory Used#
[2025-01-13 04:05:01] Production.INFO: ==30633== Lock acquired, processing the job...
[2025-01-13 04:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:05:01] Production.INFO: neon service started
[2025-01-13 04:05:01] Production.INFO: neon service started
[2025-01-13 04:05:01] Production.INFO: ==30633== Releasing lock...
[2025-01-13 04:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:05:01] Production.INFO: ==30637== Lock acquired, processing the job...
[2025-01-13 04:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:05:01] Production.INFO: ==30637== Releasing lock...
[2025-01-13 04:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:05:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:05:01] Production.INFO: ==30635== Lock acquired, processing the job...
[2025-01-12 23:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:05:02] Production.INFO: ==30635== Releasing lock...
[2025-01-12 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:05:03] Production.INFO: ==30640== Lock acquired, processing the job...
[2025-01-12 23:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:05:03] Production.INFO: ==30646== Lock acquired, processing the job...
[2025-01-12 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:05:03] Production.INFO: ==30642== Lock acquired, processing the job...
[2025-01-12 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:05:03] Production.INFO: ==30650== Lock acquired, processing the job...
[2025-01-12 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:05:03] Production.INFO: Account Balance Start.
[2025-01-12 23:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:05:03] Production.INFO: 117
[2025-01-12 23:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:05:03] Production.INFO: ==30644== Lock acquired, processing the job...
[2025-01-12 23:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:05:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:05:03] Production.INFO: ==30648== Lock acquired, processing the job...
[2025-01-12 23:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:05:03] Production.INFO: Total Charge 0
[2025-01-12 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-12 23:05:03] Production.INFO: CreateAllLog End
[2025-01-12 23:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:05:03] Production.INFO: count ==21
[2025-01-12 23:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 23:05:03] Production.INFO: count ==21
[2025-01-12 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234844') start
[2025-01-12 23:05:03] Production.INFO: Account Balance End.
[2025-01-12 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234844') end
[2025-01-12 23:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:05:03] Production.INFO: 1
[2025-01-12 23:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:05:03] Production.ERROR: CronJobId end 12
[2025-01-12 23:05:03] Production.INFO: ==30646== Releasing lock...
[2025-01-12 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:05:03] Production.INFO: ==30642== Releasing lock...
[2025-01-12 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:05:03] Production.INFO: ==30650== Releasing lock...
[2025-01-12 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:05:04] Production.ERROR: done
[2025-01-12 23:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:05:04] Production.ERROR: done
[2025-01-12 23:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:05:04
[end_date_ymd] => 2025-01-12 23:05:04
[RateCDR] => 1
)
[2025-01-12 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-12 20:05:04' and `end` < '2025-01-12 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-12 23:05:10] Production.ERROR: CronJobId end10
[2025-01-12 23:05:10] Production.INFO: ==30644== Releasing lock...
[2025-01-12 23:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:05:13] Production.INFO: call_cost start
[2025-01-12 23:05:13] Production.INFO: call_cost end
[2025-01-12 23:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:05:13] Production.INFO: ==30640== Releasing lock...
[2025-01-12 23:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:05:31] Production.INFO: count ==384
[2025-01-12 23:05:31] Production.ERROR: pbx CDR StartTime 2025-01-12 20:05:04 - End Time 2025-01-12 23:05:04
[2025-01-12 23:05:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234845', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234845', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234845', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234845', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:05:31] Production.INFO: ProcessCDR(1,14234845,1,1,2)
[2025-01-12 23:05:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:05:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:05:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:05:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:05:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234845', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:05:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234845', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:05:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:05:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:05:34] Production.INFO: ==30648== Releasing lock...
[2025-01-12 23:05:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:05:34] Production.INFO: 31 MB #Memory Used#
[2025-01-13 04:06:01] Production.INFO: ==30710== Lock acquired, processing the job...
[2025-01-13 04:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:06:01] Production.INFO: neon service started
[2025-01-13 04:06:01] Production.INFO: neon service started
[2025-01-13 04:06:01] Production.INFO: ==30710== Releasing lock...
[2025-01-13 04:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:06:02] Production.INFO: ==30712== Lock acquired, processing the job...
[2025-01-12 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:06:02] Production.INFO: ==30712== Releasing lock...
[2025-01-12 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:06:02] Production.INFO: ==30714== Lock acquired, processing the job...
[2025-01-13 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:06:02] Production.INFO: ==30714== Releasing lock...
[2025-01-13 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:06:03] Production.INFO: ==30719== Lock acquired, processing the job...
[2025-01-12 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:06:03] Production.INFO: ==30727== Lock acquired, processing the job...
[2025-01-12 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:06:03] Production.INFO: ==30717== Lock acquired, processing the job...
[2025-01-12 23:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 23:06:03] Production.INFO: count ==21
[2025-01-12 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-12 23:06:03] Production.INFO: ==30721== Lock acquired, processing the job...
[2025-01-12 23:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:06:03] Production.INFO: count ==21
[2025-01-12 23:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234847') start
[2025-01-12 23:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:06:03] Production.INFO: ==30719== Releasing lock...
[2025-01-12 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:06:03] Production.INFO: ==30723== Lock acquired, processing the job...
[2025-01-12 23:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:06:03] Production.INFO: ==30725== Lock acquired, processing the job...
[2025-01-12 23:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:06:03] Production.INFO: Account Balance Start.
[2025-01-12 23:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:06:03] Production.INFO: 117
[2025-01-12 23:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234847') end
[2025-01-12 23:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:06:03] Production.INFO: 1
[2025-01-12 23:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:06:03] Production.INFO: ==30727== Releasing lock...
[2025-01-12 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:06:04] Production.ERROR: done
[2025-01-12 23:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:06:04] Production.INFO: Total Charge 0
[2025-01-12 23:06:04] Production.INFO: CreateAllLog End
[2025-01-12 23:06:04] Production.ERROR: done
[2025-01-12 23:06:04] Production.INFO: Account Balance End.
[2025-01-12 23:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:06:04] Production.INFO: ==30723== Releasing lock...
[2025-01-12 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:06:05
[end_date_ymd] => 2025-01-12 23:06:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:06:05' and `end` < '2025-01-12 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-12 23:06:10] Production.ERROR: CronJobId end10
[2025-01-12 23:06:10] Production.INFO: ==30721== Releasing lock...
[2025-01-12 23:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:06:12] Production.INFO: call_cost start
[2025-01-12 23:06:12] Production.INFO: call_cost end
[2025-01-12 23:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:06:13] Production.INFO: ==30717== Releasing lock...
[2025-01-12 23:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:06:29] Production.INFO: count ==384
[2025-01-12 23:06:29] Production.ERROR: pbx CDR StartTime 2025-01-12 20:06:05 - End Time 2025-01-12 23:06:05
[2025-01-12 23:06:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:06:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234850', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:06:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234850', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:06:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234850', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:06:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234850', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:06:29] Production.INFO: ProcessCDR(1,14234850,1,1,2)
[2025-01-12 23:06:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:06:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:06:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:06:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:06:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234850', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:06:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234850', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:06:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:06:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:06:32] Production.INFO: ==30725== Releasing lock...
[2025-01-12 23:06:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:06:32] Production.INFO: 31 MB #Memory Used#
[2025-01-13 04:07:02] Production.INFO: ==30829== Lock acquired, processing the job...
[2025-01-13 04:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:07:02] Production.INFO: neon service started
[2025-01-13 04:07:02] Production.INFO: neon service started
[2025-01-13 04:07:02] Production.INFO: ==30829== Releasing lock...
[2025-01-13 04:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:07:02] Production.INFO: ==30833== Lock acquired, processing the job...
[2025-01-13 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:07:02] Production.INFO: ==30833== Releasing lock...
[2025-01-13 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:07:02] Production.INFO: ==30831== Lock acquired, processing the job...
[2025-01-12 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:07:03] Production.INFO: ==30831== Releasing lock...
[2025-01-12 23:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:07:03] Production.INFO: ==30840== Lock acquired, processing the job...
[2025-01-12 23:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:07:03] Production.INFO: ==30846== Lock acquired, processing the job...
[2025-01-12 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:07:04] Production.INFO: ==30838== Lock acquired, processing the job...
[2025-01-12 23:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:07:04] Production.INFO: ==30836== Lock acquired, processing the job...
[2025-01-12 23:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:07:04] Production.INFO: count ==21
[2025-01-12 23:07:04] Production.INFO: ==30844== Lock acquired, processing the job...
[2025-01-12 23:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:07:04] Production.INFO: ==30842== Lock acquired, processing the job...
[2025-01-12 23:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:07:04] Production.INFO: count ==21
[2025-01-12 23:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234851') start
[2025-01-12 23:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234851') end
[2025-01-12 23:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:07:04] Production.INFO: 1
[2025-01-12 23:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:07:04] Production.INFO: Account Balance Start.
[2025-01-12 23:07:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:07:04] Production.INFO: 117
[2025-01-12 23:07:04] Production.INFO: ==30846== Releasing lock...
[2025-01-12 23:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:07:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:07:04] Production.ERROR: done
[2025-01-12 23:07:04] Production.INFO: ==30838== Releasing lock...
[2025-01-12 23:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:07:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:07:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:07:04] Production.ERROR: done
[2025-01-12 23:07:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:07:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:07:04] Production.INFO: Total Charge 0
[2025-01-12 23:07:04] Production.INFO: CreateAllLog End
[2025-01-12 23:07:04] Production.INFO: Account Balance End.
[2025-01-12 23:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:07:04] Production.INFO: ==30842== Releasing lock...
[2025-01-12 23:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:07:05
[end_date_ymd] => 2025-01-12 23:07:05
[RateCDR] => 1
)
[2025-01-12 23:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:07:05' and `end` < '2025-01-12 23:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:07:11] Production.ERROR: CronJobId end10
[2025-01-12 23:07:11] Production.INFO: ==30840== Releasing lock...
[2025-01-12 23:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:07:13] Production.INFO: call_cost start
[2025-01-12 23:07:13] Production.INFO: call_cost end
[2025-01-12 23:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:07:14] Production.INFO: ==30836== Releasing lock...
[2025-01-12 23:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:07:32] Production.INFO: count ==384
[2025-01-12 23:07:32] Production.ERROR: pbx CDR StartTime 2025-01-12 20:07:05 - End Time 2025-01-12 23:07:05
[2025-01-12 23:07:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:07:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234855', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:07:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234855', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:07:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234855', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:07:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234855', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:07:32] Production.INFO: ProcessCDR(1,14234855,1,1,2)
[2025-01-12 23:07:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:07:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:07:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:07:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:07:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234855', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:07:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234855', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:07:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:07:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:07:35] Production.INFO: ==30844== Releasing lock...
[2025-01-12 23:07:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:07:35] Production.INFO: 31 MB #Memory Used#
[2025-01-13 04:08:01] Production.INFO: ==31001== Lock acquired, processing the job...
[2025-01-13 04:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:08:01] Production.INFO: neon service started
[2025-01-13 04:08:01] Production.INFO: neon service started
[2025-01-13 04:08:01] Production.INFO: ==31001== Releasing lock...
[2025-01-13 04:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:08:02] Production.INFO: ==31005== Lock acquired, processing the job...
[2025-01-13 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 23:08:02] Production.INFO: ==31003== Lock acquired, processing the job...
[2025-01-12 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:08:02] Production.INFO: ==31005== Releasing lock...
[2025-01-13 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:08:02] Production.INFO: ==31003== Releasing lock...
[2025-01-12 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:08:03] Production.INFO: ==31012== Lock acquired, processing the job...
[2025-01-12 23:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:08:03] Production.INFO: ==31008== Lock acquired, processing the job...
[2025-01-12 23:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:08:03] Production.INFO: ==31018== Lock acquired, processing the job...
[2025-01-12 23:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:08:03] Production.INFO: ==31010== Lock acquired, processing the job...
[2025-01-12 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 23:08:03] Production.INFO: count ==21
[2025-01-12 23:08:03] Production.INFO: ==31014== Lock acquired, processing the job...
[2025-01-12 23:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 23:08:03] Production.INFO: count ==21
[2025-01-12 23:08:03] Production.INFO: ==31016== Lock acquired, processing the job...
[2025-01-12 23:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234857') start
[2025-01-12 23:08:03] Production.INFO: Account Balance Start.
[2025-01-12 23:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:08:03] Production.INFO: 117
[2025-01-12 23:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:08:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234857') end
[2025-01-12 23:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:08:04] Production.INFO: 1
[2025-01-12 23:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:08:04] Production.INFO: ==31018== Releasing lock...
[2025-01-12 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:08:04] Production.INFO: ==31010== Releasing lock...
[2025-01-12 23:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:08:04] Production.INFO: Total Charge 0
[2025-01-12 23:08:04] Production.INFO: CreateAllLog End
[2025-01-12 23:08:04] Production.ERROR: done
[2025-01-12 23:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:08:04] Production.INFO: Account Balance End.
[2025-01-12 23:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:08:04] Production.INFO: ==31014== Releasing lock...
[2025-01-12 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:08:04] Production.ERROR: done
[2025-01-12 23:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:08:05
[end_date_ymd] => 2025-01-12 23:08:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:08:05' and `end` < '2025-01-12 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-12 23:08:11] Production.ERROR: CronJobId end10
[2025-01-12 23:08:11] Production.INFO: ==31012== Releasing lock...
[2025-01-12 23:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:08:13] Production.INFO: call_cost start
[2025-01-12 23:08:13] Production.INFO: call_cost end
[2025-01-12 23:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:08:14] Production.INFO: ==31008== Releasing lock...
[2025-01-12 23:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:08:30] Production.INFO: count ==384
[2025-01-12 23:08:30] Production.ERROR: pbx CDR StartTime 2025-01-12 20:08:05 - End Time 2025-01-12 23:08:05
[2025-01-12 23:08:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:08:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234860', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:08:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234860', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:08:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234860', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:08:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234860', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:08:30] Production.INFO: ProcessCDR(1,14234860,1,1,2)
[2025-01-12 23:08:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:08:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:08:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:08:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:08:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234860', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:08:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234860', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:08:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:08:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:08:33] Production.INFO: ==31016== Releasing lock...
[2025-01-12 23:08:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:08:33] Production.INFO: 31 MB #Memory Used#
[2025-01-13 04:09:02] Production.INFO: ==31095== Lock acquired, processing the job...
[2025-01-13 04:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:09:02] Production.INFO: neon service started
[2025-01-13 04:09:02] Production.INFO: neon service started
[2025-01-13 04:09:02] Production.INFO: ==31095== Releasing lock...
[2025-01-13 04:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:09:02] Production.INFO: ==31097== Lock acquired, processing the job...
[2025-01-12 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:09:02] Production.INFO: ==31097== Releasing lock...
[2025-01-12 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:09:02] Production.INFO: ==31099== Lock acquired, processing the job...
[2025-01-13 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:09:02] Production.INFO: ==31099== Releasing lock...
[2025-01-13 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:09:03] Production.INFO: ==31109== Lock acquired, processing the job...
[2025-01-12 23:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:09:03] Production.INFO: Account Balance Start.
[2025-01-12 23:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:09:03] Production.INFO: 117
[2025-01-12 23:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:09:03] Production.INFO: Total Charge 0
[2025-01-12 23:09:03] Production.INFO: CreateAllLog End
[2025-01-12 23:09:03] Production.INFO: ==31103== Lock acquired, processing the job...
[2025-01-12 23:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:09:03] Production.INFO: ==31105== Lock acquired, processing the job...
[2025-01-12 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:09:03] Production.INFO: Account Balance End.
[2025-01-12 23:09:03] Production.INFO: ==31107== Lock acquired, processing the job...
[2025-01-12 23:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:09:03] Production.INFO: ==31111== Lock acquired, processing the job...
[2025-01-12 23:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:09:03] Production.ERROR: CronJobId end 12
[2025-01-12 23:09:03] Production.INFO: ==31109== Releasing lock...
[2025-01-12 23:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:09:03] Production.INFO: ==31113== Lock acquired, processing the job...
[2025-01-12 23:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-12 23:09:04] Production.INFO: count ==21
[2025-01-12 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-12 23:09:04] Production.INFO: count ==21
[2025-01-12 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234864') start
[2025-01-12 23:09:04] Production.INFO: ==31105== Releasing lock...
[2025-01-12 23:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234864') end
[2025-01-12 23:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:09:04] Production.INFO: 1
[2025-01-12 23:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:09:04] Production.ERROR: done
[2025-01-12 23:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:09:04] Production.INFO: ==31113== Releasing lock...
[2025-01-12 23:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:09:04] Production.ERROR: done
[2025-01-12 23:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:09:05
[end_date_ymd] => 2025-01-12 23:09:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:09:05' and `end` < '2025-01-12 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-12 23:09:11] Production.ERROR: CronJobId end10
[2025-01-12 23:09:11] Production.INFO: ==31107== Releasing lock...
[2025-01-12 23:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:09:13] Production.INFO: call_cost start
[2025-01-12 23:09:13] Production.INFO: call_cost end
[2025-01-12 23:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:09:14] Production.INFO: ==31103== Releasing lock...
[2025-01-12 23:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:09:29] Production.INFO: count ==382
[2025-01-12 23:09:29] Production.ERROR: pbx CDR StartTime 2025-01-12 20:09:05 - End Time 2025-01-12 23:09:05
[2025-01-12 23:09:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:09:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234865', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:09:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234865', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:09:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234865', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:09:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234865', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:09:29] Production.INFO: ProcessCDR(1,14234865,1,1,2)
[2025-01-12 23:09:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:09:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:09:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:09:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:09:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234865', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:09:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234865', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:09:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:09:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:09:32] Production.INFO: ==31111== Releasing lock...
[2025-01-12 23:09:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:09:32] Production.INFO: 31 MB #Memory Used#
[2025-01-13 04:10:01] Production.INFO: ==31196== Lock acquired, processing the job...
[2025-01-13 04:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:10:01] Production.INFO: neon service started
[2025-01-13 04:10:01] Production.INFO: neon service started
[2025-01-13 04:10:01] Production.INFO: ==31196== Releasing lock...
[2025-01-13 04:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:10:01] Production.INFO: ==31198== Lock acquired, processing the job...
[2025-01-12 23:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:10:02] Production.INFO: ==31198== Releasing lock...
[2025-01-12 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:10:02] Production.INFO: ==31200== Lock acquired, processing the job...
[2025-01-13 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:10:02] Production.INFO: ==31200== Releasing lock...
[2025-01-13 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:10:03] Production.INFO: ==31202== Lock acquired, processing the job...
[2025-01-12 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 23:10:03] Production.INFO: ==31205== Lock acquired, processing the job...
[2025-01-12 23:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 23:10:03] Production.INFO: ==31207== Lock acquired, processing the job...
[2025-01-12 23:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 23:10:03] Production.INFO: ==31202== Releasing lock...
[2025-01-12 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 23:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 23:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:10:03] Production.INFO: ==31211== Lock acquired, processing the job...
[2025-01-12 23:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:10:03] Production.INFO: ==31215== Lock acquired, processing the job...
[2025-01-12 23:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 23:10:03] Production.INFO: ==31209== Lock acquired, processing the job...
[2025-01-12 23:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:10:03] Production.INFO: Account Balance Start.
[2025-01-12 23:10:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:10:03] Production.INFO: 117
[2025-01-12 23:10:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:10:03] Production.INFO: ==31217== Lock acquired, processing the job...
[2025-01-12 23:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:10:03] Production.INFO: ==31213== Lock acquired, processing the job...
[2025-01-12 23:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:10:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:10:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:10:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:10:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:10:03] Production.INFO: Total Charge 0
[2025-01-12 23:10:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 23:10:03] Production.INFO: count ==21
[2025-01-12 23:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:10:03] Production.INFO: count ==21
[2025-01-12 23:10:03] Production.INFO: ==31207== Releasing lock...
[2025-01-12 23:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234869') start
[2025-01-12 23:10:04] Production.ERROR: done
[2025-01-12 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234869') end
[2025-01-12 23:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:10:04] Production.INFO: 1
[2025-01-12 23:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 23:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234870', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 23:10:04] Production.INFO: ==31217== Releasing lock...
[2025-01-12 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:10:04] Production.ERROR: done
[2025-01-12 23:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:10:04] Production.INFO: Account Balance End.
[2025-01-12 23:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:10:04] Production.INFO: ==31211== Releasing lock...
[2025-01-12 23:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:10:04] Production.ERROR: done
[2025-01-12 23:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:10:05
[end_date_ymd] => 2025-01-12 23:10:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:10:05' and `end` < '2025-01-12 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-12 23:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234870', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 23:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 23:10:08] Production.INFO: ProcessCDR(1,14234870,1,1,2)
[2025-01-12 23:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234870,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234870,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:10:08] Production.INFO: ==31215== Releasing lock...
[2025-01-12 23:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 23:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 23:10:13] Production.ERROR: CronJobId end10
[2025-01-12 23:10:13] Production.INFO: ==31209== Releasing lock...
[2025-01-12 23:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:10:15] Production.INFO: call_cost start
[2025-01-12 23:10:15] Production.INFO: call_cost end
[2025-01-12 23:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:10:15] Production.INFO: ==31205== Releasing lock...
[2025-01-12 23:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:10:33] Production.INFO: count ==388
[2025-01-12 23:10:33] Production.ERROR: pbx CDR StartTime 2025-01-12 20:10:05 - End Time 2025-01-12 23:10:05
[2025-01-12 23:10:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234871', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234871', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234871', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234871', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:10:33] Production.INFO: ProcessCDR(1,14234871,1,1,2)
[2025-01-12 23:10:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:10:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:10:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:10:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:10:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234871', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:10:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234871', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:10:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:10:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:10:37] Production.INFO: ==31213== Releasing lock...
[2025-01-12 23:10:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:10:37] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:11:01] Production.INFO: ==31295== Lock acquired, processing the job...
[2025-01-13 04:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:11:01] Production.INFO: neon service started
[2025-01-13 04:11:02] Production.INFO: neon service started
[2025-01-13 04:11:02] Production.INFO: ==31295== Releasing lock...
[2025-01-13 04:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:11:02] Production.INFO: ==31297== Lock acquired, processing the job...
[2025-01-12 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:11:02] Production.INFO: ==31297== Releasing lock...
[2025-01-12 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:11:02] Production.INFO: ==31299== Lock acquired, processing the job...
[2025-01-13 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:11:02] Production.INFO: ==31299== Releasing lock...
[2025-01-13 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:11:03] Production.INFO: ==31303== Lock acquired, processing the job...
[2025-01-12 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:11:03] Production.INFO: ==31307== Lock acquired, processing the job...
[2025-01-12 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:11:03] Production.INFO: ==31305== Lock acquired, processing the job...
[2025-01-12 23:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:11:03] Production.INFO: Account Balance Start.
[2025-01-12 23:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:11:03] Production.INFO: ==31301== Lock acquired, processing the job...
[2025-01-12 23:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:11:03] Production.INFO: 117
[2025-01-12 23:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:11:03] Production.INFO: ==31311== Lock acquired, processing the job...
[2025-01-12 23:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:11:03] Production.INFO: ==31309== Lock acquired, processing the job...
[2025-01-12 23:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:11:03] Production.INFO: ==31303== Releasing lock...
[2025-01-12 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:11:03] Production.INFO: count ==21
[2025-01-12 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:11:03] Production.INFO: count ==21
[2025-01-12 23:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:11:03] Production.INFO: Total Charge 0
[2025-01-12 23:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234875') start
[2025-01-12 23:11:03] Production.INFO: CreateAllLog End
[2025-01-12 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234875') end
[2025-01-12 23:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:11:04] Production.INFO: 1
[2025-01-12 23:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:11:04] Production.INFO: ==31311== Releasing lock...
[2025-01-12 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:11:04] Production.ERROR: done
[2025-01-12 23:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:11:04] Production.ERROR: done
[2025-01-12 23:11:04] Production.INFO: Account Balance End.
[2025-01-12 23:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:11:04] Production.INFO: ==31307== Releasing lock...
[2025-01-12 23:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:11:05
[end_date_ymd] => 2025-01-12 23:11:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:11:05' and `end` < '2025-01-12 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-12 23:11:11] Production.ERROR: CronJobId end10
[2025-01-12 23:11:11] Production.INFO: ==31305== Releasing lock...
[2025-01-12 23:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:11:13] Production.INFO: call_cost start
[2025-01-12 23:11:13] Production.INFO: call_cost end
[2025-01-12 23:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:11:14] Production.INFO: ==31301== Releasing lock...
[2025-01-12 23:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:11:28] Production.INFO: count ==403
[2025-01-12 23:11:28] Production.ERROR: pbx CDR StartTime 2025-01-12 20:11:05 - End Time 2025-01-12 23:11:05
[2025-01-12 23:11:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:11:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234876', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:11:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234876', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:11:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234876', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:11:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234876', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:11:28] Production.INFO: ProcessCDR(1,14234876,1,1,2)
[2025-01-12 23:11:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:11:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:11:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:11:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:11:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234876', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:11:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234876', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:11:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:11:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:11:31] Production.INFO: ==31309== Releasing lock...
[2025-01-12 23:11:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:11:31] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:12:01] Production.INFO: ==31467== Lock acquired, processing the job...
[2025-01-13 04:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:12:01] Production.INFO: neon service started
[2025-01-13 04:12:01] Production.INFO: neon service started
[2025-01-13 04:12:01] Production.INFO: ==31467== Releasing lock...
[2025-01-13 04:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:12:01] Production.INFO: ==31469== Lock acquired, processing the job...
[2025-01-12 23:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:12:02] Production.INFO: ==31469== Releasing lock...
[2025-01-12 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:12:02] Production.INFO: ==31471== Lock acquired, processing the job...
[2025-01-13 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:12:02] Production.INFO: ==31471== Releasing lock...
[2025-01-13 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:12:03] Production.INFO: ==31478== Lock acquired, processing the job...
[2025-01-12 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:12:03] Production.INFO: ==31480== Lock acquired, processing the job...
[2025-01-12 23:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:12:03] Production.INFO: ==31476== Lock acquired, processing the job...
[2025-01-12 23:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:12:03] Production.INFO: ==31484== Lock acquired, processing the job...
[2025-01-12 23:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:12:03] Production.INFO: ==31482== Lock acquired, processing the job...
[2025-01-12 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:12:03] Production.INFO: ==31486== Lock acquired, processing the job...
[2025-01-12 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:12:03] Production.INFO: Account Balance Start.
[2025-01-12 23:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:12:03] Production.INFO: 117
[2025-01-12 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-12 23:12:03] Production.INFO: count ==21
[2025-01-12 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-12 23:12:03] Production.INFO: count ==21
[2025-01-12 23:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234879') start
[2025-01-12 23:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:12:03] Production.ERROR: done
[2025-01-12 23:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:12:03] Production.INFO: ==31478== Releasing lock...
[2025-01-12 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234879') end
[2025-01-12 23:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:12:03] Production.INFO: 1
[2025-01-12 23:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:12:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:12:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:12:03] Production.INFO: Total Charge 0
[2025-01-12 23:12:03] Production.INFO: CreateAllLog End
[2025-01-12 23:12:03] Production.INFO: ==31486== Releasing lock...
[2025-01-12 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:12:03] Production.ERROR: done
[2025-01-12 23:12:03] Production.INFO: Account Balance End.
[2025-01-12 23:12:03] Production.ERROR: CronJobId end 12
[2025-01-12 23:12:03] Production.INFO: ==31482== Releasing lock...
[2025-01-12 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:12:04
[end_date_ymd] => 2025-01-12 23:12:04
[RateCDR] => 1
)
[2025-01-12 23: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-12 20:12:04' and `end` < '2025-01-12 23:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:12:11] Production.ERROR: CronJobId end10
[2025-01-12 23:12:11] Production.INFO: ==31480== Releasing lock...
[2025-01-12 23:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:12:13] Production.INFO: call_cost start
[2025-01-12 23:12:13] Production.INFO: call_cost end
[2025-01-12 23:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:12:14] Production.INFO: ==31476== Releasing lock...
[2025-01-12 23:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:12:28] Production.INFO: count ==403
[2025-01-12 23:12:28] Production.ERROR: pbx CDR StartTime 2025-01-12 20:12:04 - End Time 2025-01-12 23:12:04
[2025-01-12 23:12:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:12:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234881', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:12:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234881', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:12:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234881', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:12:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234881', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:12:28] Production.INFO: ProcessCDR(1,14234881,1,1,2)
[2025-01-12 23:12:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:12:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:12:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:12:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:12:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234881', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:12:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234881', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:12:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:12:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:12:31] Production.INFO: ==31484== Releasing lock...
[2025-01-12 23:12:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:12:31] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:13:01] Production.INFO: ==31565== Lock acquired, processing the job...
[2025-01-13 04:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:13:01] Production.INFO: neon service started
[2025-01-13 04:13:01] Production.INFO: neon service started
[2025-01-13 04:13:01] Production.INFO: ==31565== Releasing lock...
[2025-01-13 04:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:13:02] Production.INFO: ==31569== Lock acquired, processing the job...
[2025-01-12 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:13:02] Production.INFO: ==31571== Lock acquired, processing the job...
[2025-01-13 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:13:02] Production.INFO: ==31571== Releasing lock...
[2025-01-13 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:13:02] Production.INFO: ==31569== Releasing lock...
[2025-01-12 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:13:03] Production.INFO: ==31578== Lock acquired, processing the job...
[2025-01-12 23:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:13:03] Production.INFO: ==31582== Lock acquired, processing the job...
[2025-01-12 23:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:13:03] Production.INFO: ==31574== Lock acquired, processing the job...
[2025-01-12 23:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:13:03] Production.INFO: ==31576== Lock acquired, processing the job...
[2025-01-12 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:13:03] Production.ERROR: done
[2025-01-12 23:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:13:03] Production.INFO: ==31580== Lock acquired, processing the job...
[2025-01-12 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:13:03] Production.INFO: ==31584== Lock acquired, processing the job...
[2025-01-12 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:13:03] Production.INFO: Account Balance Start.
[2025-01-12 23:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:13:03] Production.INFO: 117
[2025-01-12 23:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:13:04] Production.ERROR: done
[2025-01-12 23:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:13:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:13:04] Production.INFO: count ==21
[2025-01-12 23:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:13:04] Production.INFO: count ==21
[2025-01-12 23:13:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234885') start
[2025-01-12 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234885') end
[2025-01-12 23:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:13:04] Production.INFO: 1
[2025-01-12 23:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:13:04] Production.INFO: Total Charge 0
[2025-01-12 23:13:04] Production.INFO: CreateAllLog End
[2025-01-12 23:13:04] Production.INFO: ==31584== Releasing lock...
[2025-01-12 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:13:04] Production.INFO: ==31576== Releasing lock...
[2025-01-12 23:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:13:04] Production.INFO: Account Balance End.
[2025-01-12 23:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:13:04] Production.INFO: ==31580== Releasing lock...
[2025-01-12 23:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:13:05
[end_date_ymd] => 2025-01-12 23:13:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:13:05' and `end` < '2025-01-12 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-12 23:13:10] Production.ERROR: CronJobId end10
[2025-01-12 23:13:10] Production.INFO: ==31578== Releasing lock...
[2025-01-12 23:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:13:14] Production.INFO: call_cost start
[2025-01-12 23:13:14] Production.INFO: call_cost end
[2025-01-12 23:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:13:14] Production.INFO: ==31574== Releasing lock...
[2025-01-12 23:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:13:32] Production.INFO: count ==403
[2025-01-12 23:13:32] Production.ERROR: pbx CDR StartTime 2025-01-12 20:13:05 - End Time 2025-01-12 23:13:05
[2025-01-12 23:13:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:13:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234886', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:13:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234886', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:13:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234886', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:13:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234886', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:13:32] Production.INFO: ProcessCDR(1,14234886,1,1,2)
[2025-01-12 23:13:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:13:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:13:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:13:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:13:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234886', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:13:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234886', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:13:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:13:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:13:35] Production.INFO: ==31582== Releasing lock...
[2025-01-12 23:13:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:13:35] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:14:02] Production.INFO: ==31665== Lock acquired, processing the job...
[2025-01-13 04:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:14:02] Production.INFO: neon service started
[2025-01-13 04:14:02] Production.INFO: neon service started
[2025-01-13 04:14:02] Production.INFO: ==31665== Releasing lock...
[2025-01-13 04:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:14:02] Production.INFO: ==31667== Lock acquired, processing the job...
[2025-01-12 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:14:02] Production.INFO: ==31669== Lock acquired, processing the job...
[2025-01-13 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:14:03] Production.INFO: ==31669== Releasing lock...
[2025-01-13 04:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:14:03] Production.INFO: ==31667== Releasing lock...
[2025-01-12 23:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:14:04] Production.INFO: ==31678== Lock acquired, processing the job...
[2025-01-12 23:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:14:04] Production.INFO: ==31682== Lock acquired, processing the job...
[2025-01-12 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:14:04] Production.INFO: Account Balance Start.
[2025-01-12 23:14:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:14:04] Production.INFO: 117
[2025-01-12 23:14:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:14:04] Production.INFO: ==31674== Lock acquired, processing the job...
[2025-01-12 23:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:14:04] Production.INFO: ==31672== Lock acquired, processing the job...
[2025-01-12 23:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:14:04] Production.INFO: ==31676== Lock acquired, processing the job...
[2025-01-12 23:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:14:04] Production.INFO: ==31680== Lock acquired, processing the job...
[2025-01-12 23:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:14:04] Production.INFO: count ==21
[2025-01-12 23:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:14:04] Production.INFO: count ==21
[2025-01-12 23:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234888') start
[2025-01-12 23:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234888') end
[2025-01-12 23:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:14:04] Production.INFO: 1
[2025-01-12 23:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:14:04] Production.INFO: Total Charge 0
[2025-01-12 23:14:04] Production.INFO: CreateAllLog End
[2025-01-12 23:14:04] Production.INFO: ==31682== Releasing lock...
[2025-01-12 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:14:04] Production.ERROR: done
[2025-01-12 23:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:14:04] Production.INFO: ==31674== Releasing lock...
[2025-01-12 23:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:14:04] Production.ERROR: done
[2025-01-12 23:14:04] Production.INFO: Account Balance End.
[2025-01-12 23:14:05] Production.ERROR: CronJobId end 12
[2025-01-12 23:14:05] Production.INFO: ==31678== Releasing lock...
[2025-01-12 23:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:14:05
[end_date_ymd] => 2025-01-12 23:14:05
[RateCDR] => 1
)
[2025-01-12 23:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:14:05' and `end` < '2025-01-12 23:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:14:12] Production.ERROR: CronJobId end10
[2025-01-12 23:14:12] Production.INFO: ==31676== Releasing lock...
[2025-01-12 23:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:14:13] Production.INFO: call_cost start
[2025-01-12 23:14:13] Production.INFO: call_cost end
[2025-01-12 23:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:14:14] Production.INFO: ==31672== Releasing lock...
[2025-01-12 23:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:14:29] Production.INFO: count ==403
[2025-01-12 23:14:29] Production.ERROR: pbx CDR StartTime 2025-01-12 20:14:05 - End Time 2025-01-12 23:14:05
[2025-01-12 23:14:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:14:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234891', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:14:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234891', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:14:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234891', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:14:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234891', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:14:29] Production.INFO: ProcessCDR(1,14234891,1,1,2)
[2025-01-12 23:14:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:14:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:14:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:14:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:14:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234891', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:14:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234891', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:14:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:14:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:14:33] Production.INFO: ==31680== Releasing lock...
[2025-01-12 23:14:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:14:33] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:15:01] Production.INFO: ==31843== Lock acquired, processing the job...
[2025-01-13 04:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:15:01] Production.INFO: neon service started
[2025-01-13 04:15:01] Production.INFO: neon service started
[2025-01-13 04:15:01] Production.INFO: ==31843== Releasing lock...
[2025-01-13 04:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:15:02] Production.INFO: ==31847== Lock acquired, processing the job...
[2025-01-13 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:15:02] Production.INFO: ==31847== Releasing lock...
[2025-01-13 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:15:02] Production.INFO: ==31845== Lock acquired, processing the job...
[2025-01-12 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:15:02] Production.INFO: ==31845== Releasing lock...
[2025-01-12 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:15:03] Production.INFO: ==31850== Lock acquired, processing the job...
[2025-01-12 23:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:15:03] Production.INFO: ==31852== Lock acquired, processing the job...
[2025-01-12 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:15:03] Production.INFO: ==31856== Lock acquired, processing the job...
[2025-01-12 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:15:03] Production.INFO: Account Balance Start.
[2025-01-12 23:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:15:03] Production.INFO: 117
[2025-01-12 23:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:15:03] Production.INFO: ==31852== Releasing lock...
[2025-01-12 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:15:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:15:03] Production.INFO: ==31854== Lock acquired, processing the job...
[2025-01-12 23:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:15:03] Production.INFO: Total Charge 0
[2025-01-12 23:15:03] Production.INFO: CreateAllLog End
[2025-01-12 23:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:15:03] Production.INFO: ==31858== Lock acquired, processing the job...
[2025-01-12 23:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:15:04] Production.INFO: Account Balance End.
[2025-01-12 23:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:15:04] Production.INFO: ==31856== Releasing lock...
[2025-01-12 23:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:15:04] Production.INFO: ==31860== Lock acquired, processing the job...
[2025-01-12 23:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:15:04] Production.INFO: count ==21
[2025-01-12 23:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:15:04] Production.INFO: count ==21
[2025-01-12 23:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234895') start
[2025-01-12 23:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234895') end
[2025-01-12 23:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:15:04] Production.INFO: 1
[2025-01-12 23:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:15:04] Production.INFO: ==31860== Releasing lock...
[2025-01-12 23:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:15:04] Production.ERROR: done
[2025-01-12 23:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:15:04] Production.ERROR: done
[2025-01-12 23:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:15:05
[end_date_ymd] => 2025-01-12 23:15:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:15:05' and `end` < '2025-01-12 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-12 23:15:12] Production.ERROR: CronJobId end10
[2025-01-12 23:15:12] Production.INFO: ==31854== Releasing lock...
[2025-01-12 23:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:15:14] Production.INFO: call_cost start
[2025-01-12 23:15:14] Production.INFO: call_cost end
[2025-01-12 23:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:15:15] Production.INFO: ==31850== Releasing lock...
[2025-01-12 23:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:15:31] Production.INFO: count ==402
[2025-01-12 23:15:31] Production.ERROR: pbx CDR StartTime 2025-01-12 20:15:05 - End Time 2025-01-12 23:15:05
[2025-01-12 23:15:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234896', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234896', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234896', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234896', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:15:31] Production.INFO: ProcessCDR(1,14234896,1,1,2)
[2025-01-12 23:15:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:15:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:15:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:15:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:15:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234896', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:15:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234896', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:15:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:15:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:15:34] Production.INFO: ==31858== Releasing lock...
[2025-01-12 23:15:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:15:34] Production.INFO: 31 MB #Memory Used#
[2025-01-13 04:16:02] Production.INFO: ==31940== Lock acquired, processing the job...
[2025-01-13 04:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:16:02] Production.INFO: neon service started
[2025-01-13 04:16:02] Production.INFO: neon service started
[2025-01-13 04:16:02] Production.INFO: ==31940== Releasing lock...
[2025-01-13 04:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:16:02] Production.INFO: ==31944== Lock acquired, processing the job...
[2025-01-13 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:16:02] Production.INFO: ==31944== Releasing lock...
[2025-01-13 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:16:02] Production.INFO: ==31942== Lock acquired, processing the job...
[2025-01-12 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:16:03] Production.INFO: ==31942== Releasing lock...
[2025-01-12 23:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:16:03] Production.INFO: ==31951== Lock acquired, processing the job...
[2025-01-12 23:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:16:04] Production.INFO: ==31953== Lock acquired, processing the job...
[2025-01-12 23:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:16:04] Production.INFO: Account Balance Start.
[2025-01-12 23:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:16:04] Production.INFO: 117
[2025-01-12 23:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:16:04] Production.INFO: ==31947== Lock acquired, processing the job...
[2025-01-12 23:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:16:04] Production.INFO: ==31949== Lock acquired, processing the job...
[2025-01-12 23:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:16:04] Production.INFO: ==31955== Lock acquired, processing the job...
[2025-01-12 23:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:16:04] Production.INFO: Total Charge 0
[2025-01-12 23:16:04] Production.INFO: ==31957== Lock acquired, processing the job...
[2025-01-12 23:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:16:04] Production.INFO: CreateAllLog End
[2025-01-12 23:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:16:04] Production.INFO: ==31949== Releasing lock...
[2025-01-12 23:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:16:04] Production.INFO: count ==21
[2025-01-12 23:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:16:04] Production.INFO: count ==21
[2025-01-12 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234900') start
[2025-01-12 23:16:04] Production.INFO: Account Balance End.
[2025-01-12 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234900') end
[2025-01-12 23:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:16:04] Production.INFO: 1
[2025-01-12 23:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:16:04] Production.INFO: ==31953== Releasing lock...
[2025-01-12 23:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:16:04] Production.ERROR: done
[2025-01-12 23:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:16:04] Production.INFO: ==31957== Releasing lock...
[2025-01-12 23:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:16:05] Production.ERROR: done
[2025-01-12 23:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:16:06
[end_date_ymd] => 2025-01-12 23:16:06
[RateCDR] => 1
)
[2025-01-12 23:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:16:06' and `end` < '2025-01-12 23:16:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:16:12] Production.ERROR: CronJobId end10
[2025-01-12 23:16:12] Production.INFO: ==31951== Releasing lock...
[2025-01-12 23:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:16:13] Production.INFO: call_cost start
[2025-01-12 23:16:13] Production.INFO: call_cost end
[2025-01-12 23:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:16:14] Production.INFO: ==31947== Releasing lock...
[2025-01-12 23:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:16:31] Production.INFO: count ==398
[2025-01-12 23:16:31] Production.ERROR: pbx CDR StartTime 2025-01-12 20:16:06 - End Time 2025-01-12 23:16:06
[2025-01-12 23:16:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:16:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234901', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:16:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234901', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:16:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234901', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:16:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234901', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:16:31] Production.INFO: ProcessCDR(1,14234901,1,1,2)
[2025-01-12 23:16:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:16:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:16:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:16:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:16:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234901', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:16:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234901', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:16:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:16:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:16:34] Production.INFO: ==31955== Releasing lock...
[2025-01-12 23:16:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:16:34] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:17:01] Production.INFO: ==32040== Lock acquired, processing the job...
[2025-01-13 04:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:17:01] Production.INFO: neon service started
[2025-01-13 04:17:01] Production.INFO: neon service started
[2025-01-13 04:17:01] Production.INFO: ==32040== Releasing lock...
[2025-01-13 04:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:17:02] Production.INFO: ==32042== Lock acquired, processing the job...
[2025-01-12 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:17:02] Production.INFO: ==32044== Lock acquired, processing the job...
[2025-01-13 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:17:02] Production.INFO: ==32044== Releasing lock...
[2025-01-13 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:17:02] Production.INFO: ==32042== Releasing lock...
[2025-01-12 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:17:03] Production.INFO: ==32051== Lock acquired, processing the job...
[2025-01-12 23:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:17:03] Production.INFO: ==32057== Lock acquired, processing the job...
[2025-01-12 23:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:17:03] Production.INFO: ==32049== Lock acquired, processing the job...
[2025-01-12 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:17:03] Production.INFO: ==32047== Lock acquired, processing the job...
[2025-01-12 23:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:17:03] Production.INFO: ==32055== Lock acquired, processing the job...
[2025-01-12 23:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:17:03] Production.INFO: ==32053== Lock acquired, processing the job...
[2025-01-12 23:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:17:03] Production.INFO: count ==21
[2025-01-12 23:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:17:03] Production.INFO: count ==21
[2025-01-12 23:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234902') start
[2025-01-12 23:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:17:03] Production.INFO: Account Balance Start.
[2025-01-12 23:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:17:03] Production.INFO: 117
[2025-01-12 23:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234902') end
[2025-01-12 23:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:17:03] Production.INFO: 1
[2025-01-12 23:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:17:03] Production.INFO: ==32057== Releasing lock...
[2025-01-12 23:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:17:04] Production.INFO: ==32049== Releasing lock...
[2025-01-12 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:17:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:17:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:17:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:17:04] Production.ERROR: done
[2025-01-12 23:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:17:04] Production.INFO: Total Charge 0
[2025-01-12 23:17:04] Production.INFO: CreateAllLog End
[2025-01-12 23:17:04] Production.ERROR: done
[2025-01-12 23:17:04] Production.INFO: Account Balance End.
[2025-01-12 23:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:17:04] Production.INFO: ==32053== Releasing lock...
[2025-01-12 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:17:05
[end_date_ymd] => 2025-01-12 23:17:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:17:05' and `end` < '2025-01-12 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-12 23:17:12] Production.ERROR: CronJobId end10
[2025-01-12 23:17:12] Production.INFO: ==32051== Releasing lock...
[2025-01-12 23:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:17:13] Production.INFO: call_cost start
[2025-01-12 23:17:13] Production.INFO: call_cost end
[2025-01-12 23:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:17:14] Production.INFO: ==32047== Releasing lock...
[2025-01-12 23:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:17:30] Production.INFO: count ==397
[2025-01-12 23:17:30] Production.ERROR: pbx CDR StartTime 2025-01-12 20:17:05 - End Time 2025-01-12 23:17:05
[2025-01-12 23:17:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:17:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234906', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:17:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234906', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:17:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234906', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:17:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234906', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:17:30] Production.INFO: ProcessCDR(1,14234906,1,1,2)
[2025-01-12 23:17:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:17:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:17:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:17:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:17:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234906', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:17:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234906', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:17:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:17:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:17:34] Production.INFO: ==32055== Releasing lock...
[2025-01-12 23:17:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:17:34] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:18:02] Production.INFO: ==32135== Lock acquired, processing the job...
[2025-01-13 04:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:18:02] Production.INFO: neon service started
[2025-01-13 04:18:02] Production.INFO: neon service started
[2025-01-13 04:18:02] Production.INFO: ==32135== Releasing lock...
[2025-01-13 04:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:18:02] Production.INFO: ==32139== Lock acquired, processing the job...
[2025-01-12 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:18:02] Production.INFO: ==32139== Releasing lock...
[2025-01-12 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:18:02] Production.INFO: ==32141== Lock acquired, processing the job...
[2025-01-13 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:18:02] Production.INFO: ==32141== Releasing lock...
[2025-01-13 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:18:03] Production.INFO: ==32151== Lock acquired, processing the job...
[2025-01-12 23:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:18:03] Production.INFO: ==32143== Lock acquired, processing the job...
[2025-01-12 23:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:18:03] Production.INFO: ==32153== Lock acquired, processing the job...
[2025-01-12 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:18:03] Production.INFO: ==32147== Lock acquired, processing the job...
[2025-01-12 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:18:03] Production.INFO: ==32145== Lock acquired, processing the job...
[2025-01-12 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:18:03] Production.INFO: ==32149== Lock acquired, processing the job...
[2025-01-12 23:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-12 23:18:03] Production.INFO: count ==21
[2025-01-12 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-12 23:18:03] Production.INFO: count ==21
[2025-01-12 23:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234907') start
[2025-01-12 23:18:04] Production.ERROR: done
[2025-01-12 23:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234907') end
[2025-01-12 23:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:18:04] Production.INFO: 1
[2025-01-12 23:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:18:04] Production.INFO: Account Balance Start.
[2025-01-12 23:18:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:18:04] Production.INFO: ==32153== Releasing lock...
[2025-01-12 23:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:18:04] Production.INFO: 117
[2025-01-12 23:18:04] Production.ERROR: done
[2025-01-12 23:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:18:04] Production.INFO: ==32145== Releasing lock...
[2025-01-12 23:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:18:04] Production.INFO: Total Charge 0
[2025-01-12 23:18:04] Production.INFO: CreateAllLog End
[2025-01-12 23:18:04] Production.INFO: Account Balance End.
[2025-01-12 23:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:18:04] Production.INFO: ==32149== Releasing lock...
[2025-01-12 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:18:05
[end_date_ymd] => 2025-01-12 23:18:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:18:05' and `end` < '2025-01-12 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-12 23:18:11] Production.ERROR: CronJobId end10
[2025-01-12 23:18:11] Production.INFO: ==32147== Releasing lock...
[2025-01-12 23:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:18:14] Production.INFO: call_cost start
[2025-01-12 23:18:14] Production.INFO: call_cost end
[2025-01-12 23:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:18:15] Production.INFO: ==32143== Releasing lock...
[2025-01-12 23:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:18:29] Production.INFO: count ==391
[2025-01-12 23:18:29] Production.ERROR: pbx CDR StartTime 2025-01-12 20:18:05 - End Time 2025-01-12 23:18:05
[2025-01-12 23:18:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234911', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234911', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234911', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234911', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:18:29] Production.INFO: ProcessCDR(1,14234911,1,1,2)
[2025-01-12 23:18:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:18:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:18:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:18:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:18:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234911', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:18:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234911', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:18:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:18:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:18:32] Production.INFO: ==32151== Releasing lock...
[2025-01-12 23:18:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:18:32] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:19:01] Production.INFO: ==32234== Lock acquired, processing the job...
[2025-01-13 04:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:19:01] Production.INFO: neon service started
[2025-01-13 04:19:01] Production.INFO: neon service started
[2025-01-13 04:19:01] Production.INFO: ==32234== Releasing lock...
[2025-01-13 04:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:19:02] Production.INFO: ==32237== Lock acquired, processing the job...
[2025-01-12 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:19:02] Production.INFO: ==32237== Releasing lock...
[2025-01-12 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:19:02] Production.INFO: ==32239== Lock acquired, processing the job...
[2025-01-13 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:19:02] Production.INFO: ==32239== Releasing lock...
[2025-01-13 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:19:03] Production.INFO: ==32243== Lock acquired, processing the job...
[2025-01-12 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:19:03] Production.INFO: ==32241== Lock acquired, processing the job...
[2025-01-12 23:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:19:03] Production.INFO: ==32247== Lock acquired, processing the job...
[2025-01-12 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:19:03] Production.INFO: ==32245== Lock acquired, processing the job...
[2025-01-12 23:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:19:03] Production.INFO: Account Balance Start.
[2025-01-12 23:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:19:03] Production.INFO: 117
[2025-01-12 23:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:19:03] Production.INFO: ==32251== Lock acquired, processing the job...
[2025-01-12 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:19:03] Production.INFO: ==32243== Releasing lock...
[2025-01-12 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:19:03] Production.INFO: ==32249== Lock acquired, processing the job...
[2025-01-12 23:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:19:03] Production.INFO: count ==21
[2025-01-12 23:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:19:03] Production.INFO: count ==21
[2025-01-12 23:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234915') start
[2025-01-12 23:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234915') end
[2025-01-12 23:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:19:04] Production.INFO: 1
[2025-01-12 23:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:19:04] Production.INFO: Total Charge 0
[2025-01-12 23:19:04] Production.INFO: CreateAllLog End
[2025-01-12 23:19:04] Production.ERROR: done
[2025-01-12 23:19:04] Production.INFO: ==32251== Releasing lock...
[2025-01-12 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:19:04] Production.ERROR: done
[2025-01-12 23:19:04] Production.INFO: Account Balance End.
[2025-01-12 23:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:19:04] Production.INFO: ==32247== Releasing lock...
[2025-01-12 23:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:19:05
[end_date_ymd] => 2025-01-12 23:19:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:19:05' and `end` < '2025-01-12 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-12 23:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:19:13] Production.ERROR: CronJobId end10
[2025-01-12 23:19:13] Production.INFO: ==32245== Releasing lock...
[2025-01-12 23:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:19:13] Production.INFO: call_cost start
[2025-01-12 23:19:13] Production.INFO: call_cost end
[2025-01-12 23:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:19:14] Production.INFO: ==32241== Releasing lock...
[2025-01-12 23:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:19:31] Production.INFO: count ==390
[2025-01-12 23:19:31] Production.ERROR: pbx CDR StartTime 2025-01-12 20:19:05 - End Time 2025-01-12 23:19:05
[2025-01-12 23:19:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:19:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234916', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:19:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234916', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:19:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234916', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:19:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234916', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:19:31] Production.INFO: ProcessCDR(1,14234916,1,1,2)
[2025-01-12 23:19:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:19:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:19:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:19:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:19:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234916', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:19:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234916', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:19:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:19:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:19:34] Production.INFO: ==32249== Releasing lock...
[2025-01-12 23:19:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:19:34] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:20:02] Production.INFO: ==32337== Lock acquired, processing the job...
[2025-01-13 04:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:20:02] Production.INFO: neon service started
[2025-01-13 04:20:02] Production.INFO: neon service started
[2025-01-13 04:20:02] Production.INFO: ==32337== Releasing lock...
[2025-01-13 04:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:20:03] Production.INFO: ==32339== Lock acquired, processing the job...
[2025-01-12 23:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:20:03] Production.INFO: ==32341== Lock acquired, processing the job...
[2025-01-13 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:20:03] Production.INFO: ==32341== Releasing lock...
[2025-01-13 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:20:03] Production.INFO: ==32339== Releasing lock...
[2025-01-12 23:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:20:04] Production.INFO: ==32352== Lock acquired, processing the job...
[2025-01-12 23:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:20:04] Production.INFO: ==32344== Lock acquired, processing the job...
[2025-01-12 23:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 23:20:04] Production.INFO: Account Balance Start.
[2025-01-12 23:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:20:04] Production.INFO: 117
[2025-01-12 23:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:20:04] Production.INFO: ==32356== Lock acquired, processing the job...
[2025-01-12 23:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 23:20:04] Production.INFO: ==32346== Lock acquired, processing the job...
[2025-01-12 23:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:20:04] Production.INFO: ==32348== Lock acquired, processing the job...
[2025-01-12 23:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:20:04] Production.INFO: ==32350== Lock acquired, processing the job...
[2025-01-12 23:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 23:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 23:20:04] Production.ERROR: CronJob PID - 32346
[2025-01-12 23:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 23:20:04] Production.ERROR: CronJob ID - 5
[2025-01-12 23:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 23:20:00
[2025-01-12 23:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 23:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 23:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 23:20:04] Production.ERROR: CronJob PID - 32348
[2025-01-12 23:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 23:20:04] Production.ERROR: CronJob ID - 7
[2025-01-12 23:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 23:20:00
[2025-01-12 23:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 23:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 23:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 23:20:04] Production.ERROR: CronJob PID - 32352
[2025-01-12 23:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 23:20:04] Production.ERROR: CronJob ID - 12
[2025-01-12 23:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 23:20:00
[2025-01-12 23:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 23:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 23:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 23:20:04] Production.ERROR: CronJob PID - 32356
[2025-01-12 23:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 23:20:04] Production.ERROR: CronJob ID - 17
[2025-01-12 23:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 23:20:00
[2025-01-12 23:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 23:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:20:04] Production.INFO: ==32354== Lock acquired, processing the job...
[2025-01-12 23:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 23:20:04] Production.INFO: ==32344== Releasing lock...
[2025-01-12 23:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 23:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 23:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:20:04] Production.INFO: ==32358== Lock acquired, processing the job...
[2025-01-12 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:20:04] Production.INFO: count ==21
[2025-01-12 23:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:20:04] Production.INFO: count ==21
[2025-01-12 23:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234920') start
[2025-01-12 23:20:05] Production.INFO: ==32348== Releasing lock...
[2025-01-12 23:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:20:05] Production.INFO: Date 2025-01-12
[2025-01-12 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-12 23:20:05] Production.ERROR: done
[2025-01-12 23:20:05] Production.ERROR: done
[2025-01-12 23:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14234920') end
[2025-01-12 23:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:20:05] Production.INFO: 1
[2025-01-12 23:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:20:05] Production.INFO: Total Charge 0
[2025-01-12 23:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 23:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234921', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 23:20:05] Production.INFO: ==32358== Releasing lock...
[2025-01-12 23:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:20:05] Production.INFO: CreateAllLog End
[2025-01-12 23:20:05] Production.ERROR: done
[2025-01-12 23:20:05] Production.INFO: Account Balance End.
[2025-01-12 23:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 23:20:05] Production.INFO: ==32352== Releasing lock...
[2025-01-12 23:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:20:06
[end_date_ymd] => 2025-01-12 23:20:06
[RateCDR] => 1
)
[2025-01-12 23:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:20:06' and `end` < '2025-01-12 23:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234921', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 23:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 23:20:09] Production.INFO: ProcessCDR(1,14234921,1,1,2)
[2025-01-12 23:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234921,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234921,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:20:09] Production.INFO: ==32356== Releasing lock...
[2025-01-12 23:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 23:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 23:20:14] Production.ERROR: CronJobId end10
[2025-01-12 23:20:14] Production.INFO: ==32350== Releasing lock...
[2025-01-12 23:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:20:15] Production.INFO: call_cost start
[2025-01-12 23:20:15] Production.INFO: call_cost end
[2025-01-12 23:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:20:16] Production.INFO: ==32346== Releasing lock...
[2025-01-12 23:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:20:32] Production.INFO: count ==395
[2025-01-12 23:20:32] Production.ERROR: pbx CDR StartTime 2025-01-12 20:20:06 - End Time 2025-01-12 23:20:06
[2025-01-12 23:20:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:20:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234922', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:20:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234922', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:20:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234922', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:20:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234922', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:20:32] Production.INFO: ProcessCDR(1,14234922,1,1,2)
[2025-01-12 23:20:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:20:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:20:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:20:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:20:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234922', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:20:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234922', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:20:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:20:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:20:36] Production.INFO: ==32354== Releasing lock...
[2025-01-12 23:20:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:20:36] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:21:01] Production.INFO: ==32437== Lock acquired, processing the job...
[2025-01-13 04:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:21:01] Production.INFO: neon service started
[2025-01-13 04:21:01] Production.INFO: neon service started
[2025-01-13 04:21:01] Production.INFO: ==32437== Releasing lock...
[2025-01-13 04:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:21:02] Production.INFO: ==32439== Lock acquired, processing the job...
[2025-01-12 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:21:02] Production.INFO: ==32441== Lock acquired, processing the job...
[2025-01-13 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:21:02] Production.INFO: ==32441== Releasing lock...
[2025-01-13 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:21:02] Production.INFO: ==32439== Releasing lock...
[2025-01-12 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:21:03] Production.INFO: ==32446== Lock acquired, processing the job...
[2025-01-12 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:21:03] Production.INFO: ==32446== Releasing lock...
[2025-01-12 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:21:03] Production.INFO: ==32444== Lock acquired, processing the job...
[2025-01-12 23:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:21:03] Production.INFO: ==32448== Lock acquired, processing the job...
[2025-01-12 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:21:03] Production.INFO: ==32450== Lock acquired, processing the job...
[2025-01-12 23:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:21:03] Production.INFO: ==32452== Lock acquired, processing the job...
[2025-01-12 23:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:21:03] Production.INFO: ==32454== Lock acquired, processing the job...
[2025-01-12 23:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:21:04] Production.INFO: Account Balance Start.
[2025-01-12 23:21:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:21:04] Production.INFO: 117
[2025-01-12 23:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:21:04] Production.INFO: count ==21
[2025-01-12 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-12 23:21:04] Production.INFO: count ==21
[2025-01-12 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234926') start
[2025-01-12 23:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234926') end
[2025-01-12 23:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:21:04] Production.INFO: 1
[2025-01-12 23:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:21:04] Production.ERROR: done
[2025-01-12 23:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:21:04] Production.INFO: ==32454== Releasing lock...
[2025-01-12 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:21:04] Production.INFO: Total Charge 0
[2025-01-12 23:21:04] Production.INFO: CreateAllLog End
[2025-01-12 23:21:04] Production.ERROR: done
[2025-01-12 23:21:04] Production.INFO: Account Balance End.
[2025-01-12 23:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:21:04] Production.INFO: ==32450== Releasing lock...
[2025-01-12 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:21:05
[end_date_ymd] => 2025-01-12 23:21:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:21:05' and `end` < '2025-01-12 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-12 23:21:11] Production.ERROR: CronJobId end10
[2025-01-12 23:21:11] Production.INFO: ==32448== Releasing lock...
[2025-01-12 23:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:21:13] Production.INFO: call_cost start
[2025-01-12 23:21:13] Production.INFO: call_cost end
[2025-01-12 23:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:21:14] Production.INFO: ==32444== Releasing lock...
[2025-01-12 23:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:21:29] Production.INFO: count ==410
[2025-01-12 23:21:29] Production.ERROR: pbx CDR StartTime 2025-01-12 20:21:05 - End Time 2025-01-12 23:21:05
[2025-01-12 23:21:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:21:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234927', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:21:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234927', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:21:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234927', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:21:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234927', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:21:29] Production.INFO: ProcessCDR(1,14234927,1,1,2)
[2025-01-12 23:21:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:21:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:21:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:21:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:21:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234927', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:21:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234927', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:21:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:21:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:21:33] Production.INFO: ==32452== Releasing lock...
[2025-01-12 23:21:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:21:33] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:22:02] Production.INFO: ==32538== Lock acquired, processing the job...
[2025-01-13 04:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:22:02] Production.INFO: neon service started
[2025-01-13 04:22:02] Production.INFO: neon service started
[2025-01-13 04:22:02] Production.INFO: ==32538== Releasing lock...
[2025-01-13 04:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:22:02] Production.INFO: ==32540== Lock acquired, processing the job...
[2025-01-12 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:22:02] Production.INFO: ==32540== Releasing lock...
[2025-01-12 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:22:02] Production.INFO: ==32542== Lock acquired, processing the job...
[2025-01-13 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:22:03] Production.INFO: ==32542== Releasing lock...
[2025-01-13 04:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:22:03] Production.INFO: ==32548== Lock acquired, processing the job...
[2025-01-12 23:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:22:03] Production.INFO: ==32554== Lock acquired, processing the job...
[2025-01-12 23:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 23:22:04] Production.INFO: ==32544== Lock acquired, processing the job...
[2025-01-12 23:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:22:04] Production.INFO: count ==21
[2025-01-12 23:22:04] Production.INFO: ==32546== Lock acquired, processing the job...
[2025-01-12 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-12 23:22:04] Production.INFO: count ==21
[2025-01-12 23:22:04] Production.INFO: ==32550== Lock acquired, processing the job...
[2025-01-12 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234928') start
[2025-01-12 23:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:22:04] Production.INFO: ==32552== Lock acquired, processing the job...
[2025-01-12 23:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:22:04] Production.INFO: Account Balance Start.
[2025-01-12 23:22:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:22:04] Production.INFO: 117
[2025-01-12 23:22:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234928') end
[2025-01-12 23:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:22:04] Production.INFO: 1
[2025-01-12 23:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:22:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:22:04] Production.INFO: ==32554== Releasing lock...
[2025-01-12 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:22:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:22:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:22:04] Production.INFO: ==32546== Releasing lock...
[2025-01-12 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:22:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:22:04] Production.INFO: Total Charge 0
[2025-01-12 23:22:04] Production.INFO: CreateAllLog End
[2025-01-12 23:22:04] Production.ERROR: done
[2025-01-12 23:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:22:04] Production.INFO: Account Balance End.
[2025-01-12 23:22:04] Production.ERROR: done
[2025-01-12 23:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:22:04] Production.INFO: ==32550== Releasing lock...
[2025-01-12 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:22:05
[end_date_ymd] => 2025-01-12 23:22:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:22:05' and `end` < '2025-01-12 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-12 23:22:11] Production.ERROR: CronJobId end10
[2025-01-12 23:22:11] Production.INFO: ==32548== Releasing lock...
[2025-01-12 23:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:22:13] Production.INFO: call_cost start
[2025-01-12 23:22:13] Production.INFO: call_cost end
[2025-01-12 23:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:22:14] Production.INFO: ==32544== Releasing lock...
[2025-01-12 23:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:22:31] Production.INFO: count ==405
[2025-01-12 23:22:31] Production.ERROR: pbx CDR StartTime 2025-01-12 20:22:05 - End Time 2025-01-12 23:22:05
[2025-01-12 23:22:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:22:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234932', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:22:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234932', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:22:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234932', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:22:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234932', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:22:31] Production.INFO: ProcessCDR(1,14234932,1,1,2)
[2025-01-12 23:22:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:22:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:22:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:22:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:22:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234932', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:22:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234932', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:22:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:22:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:22:34] Production.INFO: ==32552== Releasing lock...
[2025-01-12 23:22:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:22:34] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:23:01] Production.INFO: ==32670== Lock acquired, processing the job...
[2025-01-13 04:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:23:01] Production.INFO: neon service started
[2025-01-13 04:23:01] Production.INFO: neon service started
[2025-01-13 04:23:01] Production.INFO: ==32670== Releasing lock...
[2025-01-13 04:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:23:02] Production.INFO: ==32672== Lock acquired, processing the job...
[2025-01-12 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:23:02] Production.INFO: ==32674== Lock acquired, processing the job...
[2025-01-13 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:23:02] Production.INFO: ==32674== Releasing lock...
[2025-01-13 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:23:02] Production.INFO: ==32672== Releasing lock...
[2025-01-12 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:23:03] Production.INFO: ==32678== Lock acquired, processing the job...
[2025-01-12 23:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:23:03] Production.INFO: ==32680== Lock acquired, processing the job...
[2025-01-12 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:23:03] Production.INFO: ==32683== Lock acquired, processing the job...
[2025-01-12 23:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:23:03] Production.INFO: ==32680== Releasing lock...
[2025-01-12 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:23:03] Production.INFO: ==32685== Lock acquired, processing the job...
[2025-01-12 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:23:03] Production.INFO: ==32687== Lock acquired, processing the job...
[2025-01-12 23:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:23:03] Production.INFO: Account Balance Start.
[2025-01-12 23:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:23:03] Production.INFO: 117
[2025-01-12 23:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:23:03] Production.INFO: ==32689== Lock acquired, processing the job...
[2025-01-12 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:23:04] Production.INFO: Total Charge 0
[2025-01-12 23:23:04] Production.INFO: CreateAllLog End
[2025-01-12 23:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:23:04] Production.INFO: count ==21
[2025-01-12 23:23:04] Production.ERROR: done
[2025-01-12 23:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:23:04] Production.INFO: count ==21
[2025-01-12 23:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234936') start
[2025-01-12 23:23:04] Production.ERROR: done
[2025-01-12 23:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234936') end
[2025-01-12 23:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:23:04] Production.INFO: 1
[2025-01-12 23:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:23:04] Production.INFO: Account Balance End.
[2025-01-12 23:23:04] Production.INFO: ==32689== Releasing lock...
[2025-01-12 23:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:23:04] Production.INFO: ==32685== Releasing lock...
[2025-01-12 23:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:23:05
[end_date_ymd] => 2025-01-12 23:23:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:23:05' and `end` < '2025-01-12 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-12 23:23:11] Production.ERROR: CronJobId end10
[2025-01-12 23:23:11] Production.INFO: ==32683== Releasing lock...
[2025-01-12 23:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:23:13] Production.INFO: call_cost start
[2025-01-12 23:23:13] Production.INFO: call_cost end
[2025-01-12 23:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:23:14] Production.INFO: ==32678== Releasing lock...
[2025-01-12 23:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:23:30] Production.INFO: count ==403
[2025-01-12 23:23:30] Production.ERROR: pbx CDR StartTime 2025-01-12 20:23:05 - End Time 2025-01-12 23:23:05
[2025-01-12 23:23:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234937', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234937', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234937', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234937', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:23:30] Production.INFO: ProcessCDR(1,14234937,1,1,2)
[2025-01-12 23:23:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:23:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:23:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:23:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:23:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234937', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:23:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234937', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:23:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:23:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:23:33] Production.INFO: ==32687== Releasing lock...
[2025-01-12 23:23:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:23:33] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:24:02] Production.INFO: ==32766== Lock acquired, processing the job...
[2025-01-13 04:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:24:02] Production.INFO: neon service started
[2025-01-13 04:24:02] Production.INFO: neon service started
[2025-01-13 04:24:02] Production.INFO: ==32766== Releasing lock...
[2025-01-13 04:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:24:02] Production.INFO: ==300== Lock acquired, processing the job...
[2025-01-12 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:24:02] Production.INFO: ==302== Lock acquired, processing the job...
[2025-01-13 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:24:02] Production.INFO: ==302== Releasing lock...
[2025-01-13 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:24:03] Production.INFO: ==300== Releasing lock...
[2025-01-12 23:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:24:04] Production.INFO: ==305== Lock acquired, processing the job...
[2025-01-12 23:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:24:04] Production.INFO: ==315== Lock acquired, processing the job...
[2025-01-12 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:24:04] Production.INFO: ==319== Lock acquired, processing the job...
[2025-01-12 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:24:04] Production.INFO: Account Balance Start.
[2025-01-12 23:24:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:24:04] Production.INFO: 117
[2025-01-12 23:24:04] Production.INFO: ==317== Lock acquired, processing the job...
[2025-01-12 23:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:24:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:24:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:24:04] Production.INFO: ==321== Lock acquired, processing the job...
[2025-01-12 23:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:24:04] Production.INFO: ==323== Lock acquired, processing the job...
[2025-01-12 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:24:04] Production.INFO: ==315== Releasing lock...
[2025-01-12 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:24:04] Production.INFO: Total Charge 0
[2025-01-12 23:24:04] Production.INFO: CreateAllLog End
[2025-01-12 23:24:04] Production.INFO: count ==21
[2025-01-12 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-12 23:24:04] Production.INFO: count ==21
[2025-01-12 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234941') start
[2025-01-12 23:24:04] Production.ERROR: done
[2025-01-12 23:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:24:04] Production.INFO: Account Balance End.
[2025-01-12 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234941') end
[2025-01-12 23:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:24:04] Production.INFO: 1
[2025-01-12 23:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:24:05] Production.ERROR: done
[2025-01-12 23:24:05] Production.ERROR: CronJobId end 12
[2025-01-12 23:24:05] Production.INFO: ==319== Releasing lock...
[2025-01-12 23:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:24:05] Production.INFO: ==323== Releasing lock...
[2025-01-12 23:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:24:06
[end_date_ymd] => 2025-01-12 23:24:06
[RateCDR] => 1
)
[2025-01-12 23:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:24:06' and `end` < '2025-01-12 23:24:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:24:12] Production.ERROR: CronJobId end10
[2025-01-12 23:24:12] Production.INFO: ==317== Releasing lock...
[2025-01-12 23:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:24:13] Production.INFO: call_cost start
[2025-01-12 23:24:13] Production.INFO: call_cost end
[2025-01-12 23:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:24:14] Production.INFO: ==305== Releasing lock...
[2025-01-12 23:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:24:31] Production.INFO: count ==403
[2025-01-12 23:24:31] Production.ERROR: pbx CDR StartTime 2025-01-12 20:24:06 - End Time 2025-01-12 23:24:06
[2025-01-12 23:24:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234942', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234942', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234942', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234942', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:24:31] Production.INFO: ProcessCDR(1,14234942,1,1,2)
[2025-01-12 23:24:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:24:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:24:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:24:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:24:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234942', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:24:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234942', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:24:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:24:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:24:34] Production.INFO: ==321== Releasing lock...
[2025-01-12 23:24:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:24:34] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:25:01] Production.INFO: ==413== Lock acquired, processing the job...
[2025-01-13 04:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:25:01] Production.INFO: neon service started
[2025-01-13 04:25:01] Production.INFO: neon service started
[2025-01-13 04:25:01] Production.INFO: ==413== Releasing lock...
[2025-01-13 04:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:25:02] Production.INFO: ==415== Lock acquired, processing the job...
[2025-01-12 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:25:02] Production.INFO: ==417== Lock acquired, processing the job...
[2025-01-13 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:25:02] Production.INFO: ==417== Releasing lock...
[2025-01-13 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:25:02] Production.INFO: ==415== Releasing lock...
[2025-01-12 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:25:03] Production.INFO: ==420== Lock acquired, processing the job...
[2025-01-12 23:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:25:03] Production.INFO: ==422== Lock acquired, processing the job...
[2025-01-12 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:25:03] Production.INFO: ==428== Lock acquired, processing the job...
[2025-01-12 23:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:25:03] Production.INFO: ==424== Lock acquired, processing the job...
[2025-01-12 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:25:03] Production.INFO: ==426== Lock acquired, processing the job...
[2025-01-12 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:25:03] Production.INFO: ==430== Lock acquired, processing the job...
[2025-01-12 23:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:25:03] Production.INFO: ==422== Releasing lock...
[2025-01-12 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:25:03] Production.ERROR: done
[2025-01-12 23:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:25:03] Production.INFO: Account Balance Start.
[2025-01-12 23:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:25:03] Production.ERROR: done
[2025-01-12 23:25:03] Production.INFO: 117
[2025-01-12 23:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:25:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:25:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:25:04] Production.INFO: count ==21
[2025-01-12 23:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:25:04] Production.INFO: count ==21
[2025-01-12 23:25:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234946') start
[2025-01-12 23:25:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:25:04] Production.INFO: Total Charge 0
[2025-01-12 23:25:04] Production.INFO: CreateAllLog End
[2025-01-12 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234946') end
[2025-01-12 23:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:25:04] Production.INFO: 1
[2025-01-12 23:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:25:04] Production.INFO: Account Balance End.
[2025-01-12 23:25:04] Production.INFO: ==430== Releasing lock...
[2025-01-12 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:25:04] Production.INFO: ==426== Releasing lock...
[2025-01-12 23:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:25:04
[end_date_ymd] => 2025-01-12 23:25:04
[RateCDR] => 1
)
[2025-01-12 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-12 20:25:04' and `end` < '2025-01-12 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-12 23:25:11] Production.ERROR: CronJobId end10
[2025-01-12 23:25:11] Production.INFO: ==424== Releasing lock...
[2025-01-12 23:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:25:13] Production.INFO: call_cost start
[2025-01-12 23:25:13] Production.INFO: call_cost end
[2025-01-12 23:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:25:14] Production.INFO: ==420== Releasing lock...
[2025-01-12 23:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:25:31] Production.INFO: count ==403
[2025-01-12 23:25:31] Production.ERROR: pbx CDR StartTime 2025-01-12 20:25:04 - End Time 2025-01-12 23:25:04
[2025-01-12 23:25:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:25:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234947', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:25:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234947', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:25:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234947', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:25:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234947', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:25:31] Production.INFO: ProcessCDR(1,14234947,1,1,2)
[2025-01-12 23:25:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:25:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:25:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:25:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:25:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234947', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:25:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234947', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:25:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:25:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:25:35] Production.INFO: ==428== Releasing lock...
[2025-01-12 23:25:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:25:35] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:26:02] Production.INFO: ==516== Lock acquired, processing the job...
[2025-01-13 04:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:26:02] Production.INFO: neon service started
[2025-01-13 04:26:02] Production.INFO: neon service started
[2025-01-13 04:26:02] Production.INFO: ==516== Releasing lock...
[2025-01-13 04:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:26:02] Production.INFO: ==518== Lock acquired, processing the job...
[2025-01-12 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:26:02] Production.INFO: ==520== Lock acquired, processing the job...
[2025-01-13 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:26:02] Production.INFO: ==520== Releasing lock...
[2025-01-13 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:26:03] Production.INFO: ==518== Releasing lock...
[2025-01-12 23:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:26:03] Production.INFO: ==525== Lock acquired, processing the job...
[2025-01-12 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:26:03] Production.INFO: ==531== Lock acquired, processing the job...
[2025-01-12 23:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:26:04] Production.INFO: ==523== Lock acquired, processing the job...
[2025-01-12 23:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:26:04] Production.INFO: ==525== Releasing lock...
[2025-01-12 23:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:26:04] Production.INFO: ==529== Lock acquired, processing the job...
[2025-01-12 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:26:04] Production.INFO: ==527== Lock acquired, processing the job...
[2025-01-12 23:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:26:04] Production.INFO: ==533== Lock acquired, processing the job...
[2025-01-12 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:26:04] Production.INFO: Account Balance Start.
[2025-01-12 23:26:04] Production.ERROR: done
[2025-01-12 23:26:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:26:04] Production.INFO: 117
[2025-01-12 23:26:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:26:04] Production.INFO: count ==21
[2025-01-12 23:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:26:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:26:04] Production.INFO: count ==21
[2025-01-12 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234950') start
[2025-01-12 23:26:04] Production.ERROR: done
[2025-01-12 23:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:26:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234950') end
[2025-01-12 23:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:26:04] Production.INFO: 1
[2025-01-12 23:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:26:04] Production.INFO: ==533== Releasing lock...
[2025-01-12 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:26:04] Production.INFO: Total Charge 0
[2025-01-12 23:26:04] Production.INFO: CreateAllLog End
[2025-01-12 23:26:04] Production.INFO: Account Balance End.
[2025-01-12 23:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:26:04] Production.INFO: ==529== Releasing lock...
[2025-01-12 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:26:05
[end_date_ymd] => 2025-01-12 23:26:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:26:05' and `end` < '2025-01-12 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-12 23:26:10] Production.ERROR: CronJobId end10
[2025-01-12 23:26:10] Production.INFO: ==527== Releasing lock...
[2025-01-12 23:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:26:13] Production.INFO: call_cost start
[2025-01-12 23:26:13] Production.INFO: call_cost end
[2025-01-12 23:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:26:14] Production.INFO: ==523== Releasing lock...
[2025-01-12 23:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:26:31] Production.INFO: count ==403
[2025-01-12 23:26:31] Production.ERROR: pbx CDR StartTime 2025-01-12 20:26:05 - End Time 2025-01-12 23:26:05
[2025-01-12 23:26:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234952', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234952', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234952', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234952', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:26:31] Production.INFO: ProcessCDR(1,14234952,1,1,2)
[2025-01-12 23:26:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:26:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:26:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:26:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:26:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234952', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:26:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234952', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:26:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:26:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:26:34] Production.INFO: ==531== Releasing lock...
[2025-01-12 23:26:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:26:34] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:27:01] Production.INFO: ==615== Lock acquired, processing the job...
[2025-01-13 04:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:27:01] Production.INFO: neon service started
[2025-01-13 04:27:01] Production.INFO: neon service started
[2025-01-13 04:27:01] Production.INFO: ==615== Releasing lock...
[2025-01-13 04:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:27:01] Production.INFO: ==617== Lock acquired, processing the job...
[2025-01-12 23:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:27:02] Production.INFO: ==617== Releasing lock...
[2025-01-12 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:27:02] Production.INFO: ==619== Lock acquired, processing the job...
[2025-01-13 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:27:02] Production.INFO: ==619== Releasing lock...
[2025-01-13 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:27:02] Production.INFO: ==625== Lock acquired, processing the job...
[2025-01-12 23:27:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:27:03] Production.INFO: ==621== Lock acquired, processing the job...
[2025-01-12 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:27:03] Production.INFO: ==623== Lock acquired, processing the job...
[2025-01-12 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:27:03] Production.INFO: ==627== Lock acquired, processing the job...
[2025-01-12 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:27:03] Production.INFO: ==629== Lock acquired, processing the job...
[2025-01-12 23:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:27:03] Production.INFO: ==633== Lock acquired, processing the job...
[2025-01-12 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:27:03] Production.INFO: Account Balance Start.
[2025-01-12 23:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:27:03] Production.INFO: 117
[2025-01-12 23:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:27:03] Production.INFO: count ==21
[2025-01-12 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-12 23:27:03] Production.INFO: count ==21
[2025-01-12 23:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234956') start
[2025-01-12 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:27:04] Production.INFO: ==623== Releasing lock...
[2025-01-12 23:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234956') end
[2025-01-12 23:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:27:04] Production.INFO: 1
[2025-01-12 23:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:27:04] Production.ERROR: done
[2025-01-12 23:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:27:04] Production.INFO: Total Charge 0
[2025-01-12 23:27:04] Production.INFO: CreateAllLog End
[2025-01-12 23:27:04] Production.INFO: ==633== Releasing lock...
[2025-01-12 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:27:04] Production.ERROR: done
[2025-01-12 23:27:04] Production.INFO: Account Balance End.
[2025-01-12 23:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:27:04] Production.INFO: ==627== Releasing lock...
[2025-01-12 23:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:27:05
[end_date_ymd] => 2025-01-12 23:27:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:27:05' and `end` < '2025-01-12 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-12 23:27:11] Production.ERROR: CronJobId end10
[2025-01-12 23:27:11] Production.INFO: ==625== Releasing lock...
[2025-01-12 23:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:27:14] Production.INFO: call_cost start
[2025-01-12 23:27:14] Production.INFO: call_cost end
[2025-01-12 23:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:27:15] Production.INFO: ==621== Releasing lock...
[2025-01-12 23:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:27:30] Production.INFO: count ==403
[2025-01-12 23:27:30] Production.ERROR: pbx CDR StartTime 2025-01-12 20:27:05 - End Time 2025-01-12 23:27:05
[2025-01-12 23:27:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:27:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234957', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:27:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234957', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:27:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234957', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:27:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234957', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:27:30] Production.INFO: ProcessCDR(1,14234957,1,1,2)
[2025-01-12 23:27:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:27:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:27:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:27:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:27:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234957', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:27:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234957', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:27:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:27:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:27:33] Production.INFO: ==629== Releasing lock...
[2025-01-12 23:27:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:27:33] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:28:01] Production.INFO: ==736== Lock acquired, processing the job...
[2025-01-13 04:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:28:02] Production.INFO: neon service started
[2025-01-13 04:28:02] Production.INFO: neon service started
[2025-01-13 04:28:02] Production.INFO: ==736== Releasing lock...
[2025-01-13 04:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:28:02] Production.INFO: ==738== Lock acquired, processing the job...
[2025-01-12 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:28:02] Production.INFO: ==741== Lock acquired, processing the job...
[2025-01-13 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 23:28:02] Production.INFO: ==738== Releasing lock...
[2025-01-12 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:28:02] Production.INFO: ==741== Releasing lock...
[2025-01-13 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:28:03] Production.INFO: ==743== Lock acquired, processing the job...
[2025-01-12 23:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:28:03] Production.INFO: ==748== Lock acquired, processing the job...
[2025-01-12 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:28:03] Production.INFO: ==751== Lock acquired, processing the job...
[2025-01-12 23:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:28:03] Production.INFO: ==748== Releasing lock...
[2025-01-12 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:28:03] Production.INFO: ==753== Lock acquired, processing the job...
[2025-01-12 23:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:28:03] Production.INFO: Account Balance Start.
[2025-01-12 23:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:28:03] Production.INFO: 117
[2025-01-12 23:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:28:04] Production.INFO: ==755== Lock acquired, processing the job...
[2025-01-12 23:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:28:04] Production.INFO: ==757== Lock acquired, processing the job...
[2025-01-12 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:28:04] Production.INFO: count ==21
[2025-01-12 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-12 23:28:04] Production.INFO: count ==21
[2025-01-12 23:28:04] Production.INFO: Total Charge 0
[2025-01-12 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234961') start
[2025-01-12 23:28:04] Production.INFO: CreateAllLog End
[2025-01-12 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234961') end
[2025-01-12 23:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:28:04] Production.INFO: 1
[2025-01-12 23:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:28:04] Production.ERROR: done
[2025-01-12 23:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:28:04] Production.INFO: ==757== Releasing lock...
[2025-01-12 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:28:04] Production.ERROR: done
[2025-01-12 23:28:04] Production.INFO: Account Balance End.
[2025-01-12 23:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:28:04] Production.INFO: ==753== Releasing lock...
[2025-01-12 23:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:28:05
[end_date_ymd] => 2025-01-12 23:28:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:28:05' and `end` < '2025-01-12 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-12 23:28:12] Production.ERROR: CronJobId end10
[2025-01-12 23:28:12] Production.INFO: ==751== Releasing lock...
[2025-01-12 23:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:28:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:28:14] Production.INFO: call_cost start
[2025-01-12 23:28:14] Production.INFO: call_cost end
[2025-01-12 23:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:28:15] Production.INFO: ==743== Releasing lock...
[2025-01-12 23:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:28:30] Production.INFO: count ==403
[2025-01-12 23:28:30] Production.ERROR: pbx CDR StartTime 2025-01-12 20:28:05 - End Time 2025-01-12 23:28:05
[2025-01-12 23:28:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234962', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234962', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234962', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234962', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:28:30] Production.INFO: ProcessCDR(1,14234962,1,1,2)
[2025-01-12 23:28:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:28:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:28:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:28:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:28:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234962', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:28:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234962', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:28:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:28:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:28:34] Production.INFO: ==755== Releasing lock...
[2025-01-12 23:28:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:28:34] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:29:01] Production.INFO: ==823== Lock acquired, processing the job...
[2025-01-13 04:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:29:01] Production.INFO: neon service started
[2025-01-13 04:29:01] Production.INFO: neon service started
[2025-01-13 04:29:01] Production.INFO: ==823== Releasing lock...
[2025-01-13 04:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:29:02] Production.INFO: ==825== Lock acquired, processing the job...
[2025-01-12 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:29:02] Production.INFO: ==827== Lock acquired, processing the job...
[2025-01-13 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:29:02] Production.INFO: ==827== Releasing lock...
[2025-01-13 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:29:02] Production.INFO: ==825== Releasing lock...
[2025-01-12 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:29:03] Production.INFO: ==830== Lock acquired, processing the job...
[2025-01-12 23:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:29:03] Production.INFO: ==832== Lock acquired, processing the job...
[2025-01-12 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:29:03] Production.INFO: ==834== Lock acquired, processing the job...
[2025-01-12 23:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:29:03] Production.INFO: ==836== Lock acquired, processing the job...
[2025-01-12 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:29:03] Production.INFO: ==838== Lock acquired, processing the job...
[2025-01-12 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:29:03] Production.INFO: ==840== Lock acquired, processing the job...
[2025-01-12 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:29:03] Production.INFO: Account Balance Start.
[2025-01-12 23:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:29:03] Production.INFO: 117
[2025-01-12 23:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:29:03] Production.INFO: ==832== Releasing lock...
[2025-01-12 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:29:03] Production.INFO: count ==21
[2025-01-12 23:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:29:03] Production.INFO: count ==21
[2025-01-12 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234966') start
[2025-01-12 23:29:03] Production.ERROR: done
[2025-01-12 23:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:29:03] Production.INFO: Total Charge 0
[2025-01-12 23:29:03] Production.INFO: CreateAllLog End
[2025-01-12 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234966') end
[2025-01-12 23:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:29:03] Production.INFO: 1
[2025-01-12 23:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:29:03] Production.ERROR: done
[2025-01-12 23:29:03] Production.INFO: ==840== Releasing lock...
[2025-01-12 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:29:03] Production.INFO: Account Balance End.
[2025-01-12 23:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:29:04] Production.INFO: ==836== Releasing lock...
[2025-01-12 23:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:29:04
[end_date_ymd] => 2025-01-12 23:29:04
[RateCDR] => 1
)
[2025-01-12 23:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:29:04' and `end` < '2025-01-12 23:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:29:10] Production.ERROR: CronJobId end10
[2025-01-12 23:29:10] Production.INFO: ==834== Releasing lock...
[2025-01-12 23:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:29:13] Production.INFO: call_cost start
[2025-01-12 23:29:13] Production.INFO: call_cost end
[2025-01-12 23:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:29:13] Production.INFO: ==830== Releasing lock...
[2025-01-12 23:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:29:30] Production.INFO: count ==403
[2025-01-12 23:29:30] Production.ERROR: pbx CDR StartTime 2025-01-12 20:29:04 - End Time 2025-01-12 23:29:04
[2025-01-12 23:29:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:29:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234967', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:29:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234967', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:29:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234967', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:29:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234967', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:29:30] Production.INFO: ProcessCDR(1,14234967,1,1,2)
[2025-01-12 23:29:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:29:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:29:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:29:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:29:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234967', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:29:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234967', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:29:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:29:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:29:33] Production.INFO: ==838== Releasing lock...
[2025-01-12 23:29:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:29:33] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:30:01] Production.INFO: ==906== Lock acquired, processing the job...
[2025-01-13 04:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:30:01] Production.INFO: neon service started
[2025-01-13 04:30:01] Production.INFO: neon service started
[2025-01-13 04:30:01] Production.INFO: ==906== Releasing lock...
[2025-01-13 04:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:30:02] Production.INFO: ==910== Lock acquired, processing the job...
[2025-01-13 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:30:02] Production.INFO: ==910== Releasing lock...
[2025-01-13 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:30:02] Production.INFO: ==908== Lock acquired, processing the job...
[2025-01-12 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:30:02] Production.INFO: ==908== Releasing lock...
[2025-01-12 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:30:03] Production.INFO: ==916== Lock acquired, processing the job...
[2025-01-12 23:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:30:03] Production.INFO: ==918== Lock acquired, processing the job...
[2025-01-12 23:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:30:03] Production.INFO: ==912== Lock acquired, processing the job...
[2025-01-12 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 23:30:03] Production.INFO: ==926== Lock acquired, processing the job...
[2025-01-12 23:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 23:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 23:30:04] Production.ERROR: CronJob PID - 916
[2025-01-12 23:30:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 23:30:04] Production.ERROR: CronJob ID - 7
[2025-01-12 23:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 23:30:00
[2025-01-12 23:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 23:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 23:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 23:30:04] Production.ERROR: CronJob PID - 918
[2025-01-12 23:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 23:30:04] Production.ERROR: CronJob ID - 10
[2025-01-12 23:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 23:30:00
[2025-01-12 23:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 23:30:04] Production.INFO: ==914== Lock acquired, processing the job...
[2025-01-12 23:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 23:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:30:04] Production.INFO: ==916== Releasing lock...
[2025-01-12 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 23:30:04] Production.INFO: ==912== Releasing lock...
[2025-01-12 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 23:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 23:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-12 23:30:04] Production.INFO: ==920== Lock acquired, processing the job...
[2025-01-12 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:30:04] Production.INFO: ==922== Lock acquired, processing the job...
[2025-01-12 23:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:30:04] Production.INFO: ==924== Lock acquired, processing the job...
[2025-01-12 23:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 23:30:04] Production.INFO: count ==21
[2025-01-12 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-12 23:30:04] Production.INFO: Account Balance Start.
[2025-01-12 23:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:30:04] Production.INFO: count ==21
[2025-01-12 23:30:04] Production.INFO: 117
[2025-01-12 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234969') start
[2025-01-12 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234969') end
[2025-01-12 23:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:30:04] Production.INFO: 1
[2025-01-12 23:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:30:04] Production.INFO: ==926== Releasing lock...
[2025-01-12 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:30:04] Production.INFO: Total Charge 0
[2025-01-12 23:30:04] Production.INFO: CreateAllLog End
[2025-01-12 23:30:04] Production.ERROR: done
[2025-01-12 23:30:04] Production.ERROR: done
[2025-01-12 23:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:30:04] Production.INFO: Account Balance End.
[2025-01-12 23:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 23:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234972', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 23:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:30:04] Production.INFO: ==920== Releasing lock...
[2025-01-12 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:30:04] Production.ERROR: done
[2025-01-12 23:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:30:06
[end_date_ymd] => 2025-01-12 23:30:06
[RateCDR] => 1
)
[2025-01-12 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-12 20:30:06' and `end` < '2025-01-12 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-12 23:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14234972', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 23:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 23:30:08] Production.INFO: ProcessCDR(1,14234972,1,1,2)
[2025-01-12 23:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14234972,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14234972,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:30:09] Production.INFO: ==924== Releasing lock...
[2025-01-12 23:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 23:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 23:30:12] Production.ERROR: CronJobId end10
[2025-01-12 23:30:12] Production.INFO: ==918== Releasing lock...
[2025-01-12 23:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:30:15] Production.INFO: call_cost start
[2025-01-12 23:30:15] Production.INFO: call_cost end
[2025-01-12 23:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:30:15] Production.INFO: ==914== Releasing lock...
[2025-01-12 23:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:30:33] Production.INFO: count ==409
[2025-01-12 23:30:33] Production.ERROR: pbx CDR StartTime 2025-01-12 20:30:06 - End Time 2025-01-12 23:30:06
[2025-01-12 23:30:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234973', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234973', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234973', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234973', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:30:33] Production.INFO: ProcessCDR(1,14234973,1,1,2)
[2025-01-12 23:30:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:30:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:30:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:30:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:30:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234973', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:30:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234973', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:30:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:30:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:30:36] Production.INFO: ==922== Releasing lock...
[2025-01-12 23:30:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:30:36] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:31:02] Production.INFO: ==998== Lock acquired, processing the job...
[2025-01-13 04:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:31:02] Production.INFO: neon service started
[2025-01-13 04:31:02] Production.INFO: neon service started
[2025-01-13 04:31:02] Production.INFO: ==998== Releasing lock...
[2025-01-13 04:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:31:02] Production.INFO: ==1000== Lock acquired, processing the job...
[2025-01-12 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:31:02] Production.INFO: ==1000== Releasing lock...
[2025-01-12 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:31:03] Production.INFO: ==1002== Lock acquired, processing the job...
[2025-01-13 04:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:31:03] Production.INFO: ==1002== Releasing lock...
[2025-01-13 04:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:31:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:31:03] Production.INFO: ==1014== Lock acquired, processing the job...
[2025-01-12 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 23:31:03] Production.INFO: count ==21
[2025-01-12 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-12 23:31:03] Production.INFO: count ==21
[2025-01-12 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234974') start
[2025-01-12 23:31:03] Production.INFO: ==1004== Lock acquired, processing the job...
[2025-01-12 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:31:04] Production.INFO: ==1012== Lock acquired, processing the job...
[2025-01-12 23:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234974') end
[2025-01-12 23:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:31:04] Production.INFO: 1
[2025-01-12 23:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:31:04] Production.INFO: ==1006== Lock acquired, processing the job...
[2025-01-12 23:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:31:04] Production.INFO: ==1014== Releasing lock...
[2025-01-12 23:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:31:04] Production.INFO: ==1008== Lock acquired, processing the job...
[2025-01-12 23:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:31:04] Production.INFO: ==1010== Lock acquired, processing the job...
[2025-01-12 23:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:31:04] Production.INFO: Account Balance Start.
[2025-01-12 23:31:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:31:04] Production.INFO: 117
[2025-01-12 23:31:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:31:04] Production.ERROR: done
[2025-01-12 23:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:31:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:31:04] Production.INFO: ==1006== Releasing lock...
[2025-01-12 23:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:31:04] Production.ERROR: done
[2025-01-12 23:31:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:31:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:31:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:31:04] Production.INFO: Total Charge 0
[2025-01-12 23:31:04] Production.INFO: CreateAllLog End
[2025-01-12 23:31:04] Production.INFO: Account Balance End.
[2025-01-12 23:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:31:04] Production.INFO: ==1010== Releasing lock...
[2025-01-12 23:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:31:05
[end_date_ymd] => 2025-01-12 23:31:05
[RateCDR] => 1
)
[2025-01-12 23:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:31:05' and `end` < '2025-01-12 23:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:31:12] Production.ERROR: CronJobId end10
[2025-01-12 23:31:12] Production.INFO: ==1008== Releasing lock...
[2025-01-12 23:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:31:14] Production.INFO: call_cost start
[2025-01-12 23:31:14] Production.INFO: call_cost end
[2025-01-12 23:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:31:15] Production.INFO: ==1004== Releasing lock...
[2025-01-12 23:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:31:28] Production.INFO: count ==421
[2025-01-12 23:31:28] Production.ERROR: pbx CDR StartTime 2025-01-12 20:31:05 - End Time 2025-01-12 23:31:05
[2025-01-12 23:31:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234978', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234978', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234978', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234978', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:31:28] Production.INFO: ProcessCDR(1,14234978,1,1,2)
[2025-01-12 23:31:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:31:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:31:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:31:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:31:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234978', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:31:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234978', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:31:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:31:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:31:32] Production.INFO: ==1012== Releasing lock...
[2025-01-12 23:31:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:31:32] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:32:01] Production.INFO: ==1080== Lock acquired, processing the job...
[2025-01-13 04:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:32:01] Production.INFO: neon service started
[2025-01-13 04:32:01] Production.INFO: neon service started
[2025-01-13 04:32:01] Production.INFO: ==1080== Releasing lock...
[2025-01-13 04:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:32:02] Production.INFO: ==1084== Lock acquired, processing the job...
[2025-01-13 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:32:02] Production.INFO: ==1084== Releasing lock...
[2025-01-13 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:32:02] Production.INFO: ==1082== Lock acquired, processing the job...
[2025-01-12 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:32:02] Production.INFO: ==1082== Releasing lock...
[2025-01-12 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:32:03] Production.INFO: ==1087== Lock acquired, processing the job...
[2025-01-12 23:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:32:03] Production.INFO: ==1089== Lock acquired, processing the job...
[2025-01-12 23:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:32:03] Production.INFO: ==1091== Lock acquired, processing the job...
[2025-01-12 23:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:32:03] Production.INFO: ==1093== Lock acquired, processing the job...
[2025-01-12 23:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:32:03] Production.INFO: ==1089== Releasing lock...
[2025-01-12 23:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:32:03] Production.INFO: ==1095== Lock acquired, processing the job...
[2025-01-12 23:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:32:03] Production.INFO: ==1097== Lock acquired, processing the job...
[2025-01-12 23:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:32:03] Production.INFO: Account Balance Start.
[2025-01-12 23:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:32:03] Production.INFO: 117
[2025-01-12 23:32:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:32:04] Production.ERROR: done
[2025-01-12 23:32:04] Production.INFO: Total Charge 0
[2025-01-12 23:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:32:04] Production.INFO: count ==21
[2025-01-12 23:32:04] Production.INFO: CreateAllLog End
[2025-01-12 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-12 23:32:04] Production.INFO: count ==21
[2025-01-12 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234982') start
[2025-01-12 23:32:04] Production.ERROR: done
[2025-01-12 23:32:04] Production.INFO: Account Balance End.
[2025-01-12 23:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:32:04] Production.INFO: ==1093== Releasing lock...
[2025-01-12 23:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234982') end
[2025-01-12 23:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:32:04] Production.INFO: 1
[2025-01-12 23:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:32:04] Production.INFO: ==1097== Releasing lock...
[2025-01-12 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:32:05
[end_date_ymd] => 2025-01-12 23:32:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:32:05' and `end` < '2025-01-12 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-12 23:32:12] Production.ERROR: CronJobId end10
[2025-01-12 23:32:12] Production.INFO: ==1091== Releasing lock...
[2025-01-12 23:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:32:13] Production.INFO: call_cost start
[2025-01-12 23:32:13] Production.INFO: call_cost end
[2025-01-12 23:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:32:14] Production.INFO: ==1087== Releasing lock...
[2025-01-12 23:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:32:29] Production.INFO: count ==419
[2025-01-12 23:32:29] Production.ERROR: pbx CDR StartTime 2025-01-12 20:32:05 - End Time 2025-01-12 23:32:05
[2025-01-12 23:32:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234983', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234983', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234983', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234983', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:32:29] Production.INFO: ProcessCDR(1,14234983,1,1,2)
[2025-01-12 23:32:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:32:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:32:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:32:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:32:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234983', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:32:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234983', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:32:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:32:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:32:32] Production.INFO: ==1095== Releasing lock...
[2025-01-12 23:32:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:32:32] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:33:02] Production.INFO: ==1164== Lock acquired, processing the job...
[2025-01-13 04:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:33:02] Production.INFO: neon service started
[2025-01-13 04:33:02] Production.INFO: neon service started
[2025-01-13 04:33:02] Production.INFO: ==1164== Releasing lock...
[2025-01-13 04:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:33:02] Production.INFO: ==1168== Lock acquired, processing the job...
[2025-01-12 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:33:02] Production.INFO: ==1168== Releasing lock...
[2025-01-12 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:33:02] Production.INFO: ==1170== Lock acquired, processing the job...
[2025-01-13 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:33:02] Production.INFO: ==1170== Releasing lock...
[2025-01-13 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:33:03] Production.INFO: ==1174== Lock acquired, processing the job...
[2025-01-12 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:33:03] Production.INFO: ==1176== Lock acquired, processing the job...
[2025-01-12 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:33:03] Production.INFO: ==1184== Lock acquired, processing the job...
[2025-01-12 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-12 23:33:03] Production.INFO: count ==21
[2025-01-12 23:33:03] Production.INFO: ==1176== Releasing lock...
[2025-01-12 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:33:03] Production.INFO: ==1178== Lock acquired, processing the job...
[2025-01-12 23:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-12 23:33:03] Production.INFO: count ==21
[2025-01-12 23:33:03] Production.INFO: ==1180== Lock acquired, processing the job...
[2025-01-12 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234986') start
[2025-01-12 23:33:03] Production.INFO: ==1182== Lock acquired, processing the job...
[2025-01-12 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:33:04] Production.INFO: Account Balance Start.
[2025-01-12 23:33:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:33:04] Production.INFO: 117
[2025-01-12 23:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:33:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:33:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234986') end
[2025-01-12 23:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:33:04] Production.INFO: 1
[2025-01-12 23:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:33:04] Production.INFO: ==1184== Releasing lock...
[2025-01-12 23:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:33:04] Production.INFO: Total Charge 0
[2025-01-12 23:33:04] Production.INFO: CreateAllLog End
[2025-01-12 23:33:04] Production.ERROR: done
[2025-01-12 23:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:33:04] Production.INFO: Account Balance End.
[2025-01-12 23:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:33:04] Production.INFO: ==1180== Releasing lock...
[2025-01-12 23:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:33:04] Production.ERROR: done
[2025-01-12 23:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:33:05
[end_date_ymd] => 2025-01-12 23:33:05
[RateCDR] => 1
)
[2025-01-12 23:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:33:05' and `end` < '2025-01-12 23:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:33:11] Production.ERROR: CronJobId end10
[2025-01-12 23:33:11] Production.INFO: ==1178== Releasing lock...
[2025-01-12 23:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:33:13] Production.INFO: call_cost start
[2025-01-12 23:33:13] Production.INFO: call_cost end
[2025-01-12 23:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:33:14] Production.INFO: ==1174== Releasing lock...
[2025-01-12 23:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:33:23] Production.INFO: count ==418
[2025-01-12 23:33:23] Production.ERROR: pbx CDR StartTime 2025-01-12 20:33:05 - End Time 2025-01-12 23:33:05
[2025-01-12 23:33:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:33:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234988', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:33:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234988', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:33:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234988', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:33:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234988', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:33:23] Production.INFO: ProcessCDR(1,14234988,1,1,2)
[2025-01-12 23:33:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234988', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234988', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:33:26] Production.INFO: ==1182== Releasing lock...
[2025-01-12 23:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:33:26] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:34:01] Production.INFO: ==1248== Lock acquired, processing the job...
[2025-01-13 04:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:34:01] Production.INFO: neon service started
[2025-01-13 04:34:01] Production.INFO: neon service started
[2025-01-13 04:34:01] Production.INFO: ==1248== Releasing lock...
[2025-01-13 04:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:34:01] Production.INFO: ==1254== Lock acquired, processing the job...
[2025-01-12 23:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:34:02] Production.INFO: ==1254== Releasing lock...
[2025-01-12 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:34:02] Production.INFO: ==1256== Lock acquired, processing the job...
[2025-01-13 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:34:02] Production.INFO: ==1256== Releasing lock...
[2025-01-13 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:34:03] Production.INFO: ==1268== Lock acquired, processing the job...
[2025-01-12 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:34:03] Production.INFO: ==1272== Lock acquired, processing the job...
[2025-01-12 23:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:34:03] Production.INFO: ==1261== Lock acquired, processing the job...
[2025-01-12 23:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:34:03] Production.INFO: Account Balance Start.
[2025-01-12 23:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:34:03] Production.INFO: 117
[2025-01-12 23:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:34:03] Production.INFO: ==1263== Lock acquired, processing the job...
[2025-01-12 23:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:34:03] Production.INFO: count ==21
[2025-01-12 23:34:03] Production.INFO: ==1266== Lock acquired, processing the job...
[2025-01-12 23:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:34:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:34:03] Production.INFO: ==1270== Lock acquired, processing the job...
[2025-01-12 23:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:34:03] Production.INFO: count ==21
[2025-01-12 23:34:03] Production.INFO: Total Charge 0
[2025-01-12 23:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234990') start
[2025-01-12 23:34:03] Production.INFO: CreateAllLog End
[2025-01-12 23:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14234990') end
[2025-01-12 23:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:34:03] Production.INFO: 1
[2025-01-12 23:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:34:03] Production.INFO: ==1263== Releasing lock...
[2025-01-12 23:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:34:03] Production.INFO: ==1272== Releasing lock...
[2025-01-12 23:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:34:03] Production.INFO: Account Balance End.
[2025-01-12 23:34:03] Production.ERROR: done
[2025-01-12 23:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:34:03] Production.ERROR: CronJobId end 12
[2025-01-12 23:34:03] Production.INFO: ==1268== Releasing lock...
[2025-01-12 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:34:04] Production.ERROR: done
[2025-01-12 23:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:34:04
[end_date_ymd] => 2025-01-12 23:34:04
[RateCDR] => 1
)
[2025-01-12 23:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:34:04' and `end` < '2025-01-12 23:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:34:12] Production.ERROR: CronJobId end10
[2025-01-12 23:34:12] Production.INFO: ==1266== Releasing lock...
[2025-01-12 23:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:34:14] Production.INFO: call_cost start
[2025-01-12 23:34:14] Production.INFO: call_cost end
[2025-01-12 23:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:34:15] Production.INFO: ==1261== Releasing lock...
[2025-01-12 23:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:34:22] Production.INFO: count ==415
[2025-01-12 23:34:22] Production.ERROR: pbx CDR StartTime 2025-01-12 20:34:04 - End Time 2025-01-12 23:34:04
[2025-01-12 23:34:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234993', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234993', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234993', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234993', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:34:22] Production.INFO: ProcessCDR(1,14234993,1,1,2)
[2025-01-12 23:34:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:34:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:34:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:34:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234993', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234993', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:34:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:34:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:34:25] Production.INFO: ==1270== Releasing lock...
[2025-01-12 23:34:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:34:25] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:35:02] Production.INFO: ==1330== Lock acquired, processing the job...
[2025-01-13 04:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:35:02] Production.INFO: neon service started
[2025-01-13 04:35:02] Production.INFO: neon service started
[2025-01-13 04:35:02] Production.INFO: ==1330== Releasing lock...
[2025-01-13 04:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:35:02] Production.INFO: ==1332== Lock acquired, processing the job...
[2025-01-12 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:35:02] Production.INFO: ==1332== Releasing lock...
[2025-01-12 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:35:02] Production.INFO: ==1334== Lock acquired, processing the job...
[2025-01-13 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:35:02] Production.INFO: ==1334== Releasing lock...
[2025-01-13 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:35:03] Production.INFO: ==1336== Lock acquired, processing the job...
[2025-01-12 23:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:35:03] Production.INFO: ==1338== Lock acquired, processing the job...
[2025-01-12 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:35:03] Production.INFO: ==1344== Lock acquired, processing the job...
[2025-01-12 23:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:35:03] Production.INFO: ==1338== Releasing lock...
[2025-01-12 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:35:03] Production.INFO: ==1342== Lock acquired, processing the job...
[2025-01-12 23:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:35:03] Production.INFO: ==1340== Lock acquired, processing the job...
[2025-01-12 23:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:35:03] Production.INFO: ==1346== Lock acquired, processing the job...
[2025-01-12 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:35:04] Production.ERROR: done
[2025-01-12 23:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:35:04] Production.INFO: Account Balance Start.
[2025-01-12 23:35:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:35:04] Production.INFO: 117
[2025-01-12 23:35:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:35:04] Production.INFO: count ==21
[2025-01-12 23:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:35:04] Production.INFO: count ==21
[2025-01-12 23:35:04] Production.ERROR: done
[2025-01-12 23:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234997') start
[2025-01-12 23:35:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:35:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14234997') end
[2025-01-12 23:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:35:04] Production.INFO: 1
[2025-01-12 23:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:35:04] Production.INFO: ==1346== Releasing lock...
[2025-01-12 23:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:35:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:35:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:35:04] Production.INFO: Total Charge 0
[2025-01-12 23:35:04] Production.INFO: CreateAllLog End
[2025-01-12 23:35:04] Production.INFO: Account Balance End.
[2025-01-12 23:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:35:04] Production.INFO: ==1342== Releasing lock...
[2025-01-12 23:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:35:05
[end_date_ymd] => 2025-01-12 23:35:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:35:05' and `end` < '2025-01-12 23:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:35:11] Production.ERROR: CronJobId end10
[2025-01-12 23:35:11] Production.INFO: ==1340== Releasing lock...
[2025-01-12 23:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:35:13] Production.INFO: call_cost start
[2025-01-12 23:35:13] Production.INFO: call_cost end
[2025-01-12 23:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:35:14] Production.INFO: ==1336== Releasing lock...
[2025-01-12 23:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:35:23] Production.INFO: count ==417
[2025-01-12 23:35:23] Production.ERROR: pbx CDR StartTime 2025-01-12 20:35:05 - End Time 2025-01-12 23:35:05
[2025-01-12 23:35:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234998', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14234998', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234998', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14234998', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:35:23] Production.INFO: ProcessCDR(1,14234998,1,1,2)
[2025-01-12 23:35:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14234998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:35:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14234998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:35:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14234998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:35:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14234998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234998', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14234998', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:35:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:35:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:35:28] Production.INFO: ==1344== Releasing lock...
[2025-01-12 23:35:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:35:28] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:36:01] Production.INFO: ==1401== Lock acquired, processing the job...
[2025-01-13 04:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:36:01] Production.INFO: neon service started
[2025-01-13 04:36:01] Production.INFO: neon service started
[2025-01-13 04:36:01] Production.INFO: ==1401== Releasing lock...
[2025-01-13 04:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:36:02] Production.INFO: ==1403== Lock acquired, processing the job...
[2025-01-12 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:36:02] Production.INFO: ==1403== Releasing lock...
[2025-01-12 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:36:02] Production.INFO: ==1405== Lock acquired, processing the job...
[2025-01-13 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:36:02] Production.INFO: ==1405== Releasing lock...
[2025-01-13 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:36:03] Production.INFO: ==1407== Lock acquired, processing the job...
[2025-01-12 23:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:36:03] Production.INFO: ==1409== Lock acquired, processing the job...
[2025-01-12 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:36:03] Production.INFO: ==1411== Lock acquired, processing the job...
[2025-01-12 23:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:36:03] Production.INFO: ==1414== Lock acquired, processing the job...
[2025-01-12 23:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:36:03] Production.INFO: Account Balance Start.
[2025-01-12 23:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:36:03] Production.INFO: 117
[2025-01-12 23:36:03] Production.INFO: ==1409== Releasing lock...
[2025-01-12 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:36:03] Production.INFO: ==1416== Lock acquired, processing the job...
[2025-01-12 23:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:36:03] Production.INFO: ==1418== Lock acquired, processing the job...
[2025-01-12 23:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:36:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:36:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:36:03] Production.INFO: Total Charge 0
[2025-01-12 23:36:03] Production.INFO: count ==21
[2025-01-12 23:36:03] Production.INFO: CreateAllLog End
[2025-01-12 23:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:36:04] Production.INFO: count ==21
[2025-01-12 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235002') start
[2025-01-12 23:36:04] Production.ERROR: done
[2025-01-12 23:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235002') end
[2025-01-12 23:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:36:04] Production.INFO: 1
[2025-01-12 23:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:36:04] Production.ERROR: done
[2025-01-12 23:36:04] Production.INFO: ==1418== Releasing lock...
[2025-01-12 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:36:04] Production.INFO: Account Balance End.
[2025-01-12 23:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:36:04] Production.INFO: ==1414== Releasing lock...
[2025-01-12 23:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:36:05
[end_date_ymd] => 2025-01-12 23:36:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:36:05' and `end` < '2025-01-12 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-12 23:36:10] Production.ERROR: CronJobId end10
[2025-01-12 23:36:10] Production.INFO: ==1411== Releasing lock...
[2025-01-12 23:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:36:13] Production.INFO: call_cost start
[2025-01-12 23:36:13] Production.INFO: call_cost end
[2025-01-12 23:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:36:14] Production.INFO: ==1407== Releasing lock...
[2025-01-12 23:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:36:17] Production.INFO: count ==416
[2025-01-12 23:36:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:36:05 - End Time 2025-01-12 23:36:05
[2025-01-12 23:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235003', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235003', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235003', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235003', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:36:17] Production.INFO: ProcessCDR(1,14235003,1,1,2)
[2025-01-12 23:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235003', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235003', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:36:20] Production.INFO: ==1416== Releasing lock...
[2025-01-12 23:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:36:20] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:37:02] Production.INFO: ==1477== Lock acquired, processing the job...
[2025-01-13 04:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:37:02] Production.INFO: neon service started
[2025-01-13 04:37:02] Production.INFO: neon service started
[2025-01-13 04:37:02] Production.INFO: ==1477== Releasing lock...
[2025-01-13 04:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:37:02] Production.INFO: ==1479== Lock acquired, processing the job...
[2025-01-12 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:37:02] Production.INFO: ==1479== Releasing lock...
[2025-01-12 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:37:02] Production.INFO: ==1481== Lock acquired, processing the job...
[2025-01-13 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:37:02] Production.INFO: ==1481== Releasing lock...
[2025-01-13 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:37:03] Production.INFO: ==1483== Lock acquired, processing the job...
[2025-01-12 23:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:37:03] Production.INFO: ==1487== Lock acquired, processing the job...
[2025-01-12 23:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:37:03] Production.INFO: ==1489== Lock acquired, processing the job...
[2025-01-12 23:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:37:03] Production.INFO: Account Balance Start.
[2025-01-12 23:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:37:03] Production.INFO: 117
[2025-01-12 23:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:37:03] Production.INFO: ==1485== Lock acquired, processing the job...
[2025-01-12 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:37:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:37:03] Production.INFO: Total Charge 0
[2025-01-12 23:37:03] Production.INFO: CreateAllLog End
[2025-01-12 23:37:03] Production.INFO: ==1493== Lock acquired, processing the job...
[2025-01-12 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:37:03] Production.INFO: ==1491== Lock acquired, processing the job...
[2025-01-12 23:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:37:03] Production.INFO: Account Balance End.
[2025-01-12 23:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:37:04] Production.INFO: ==1489== Releasing lock...
[2025-01-12 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:37:04] Production.INFO: count ==21
[2025-01-12 23:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:37:04] Production.INFO: count ==21
[2025-01-12 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235007') start
[2025-01-12 23:37:04] Production.INFO: ==1485== Releasing lock...
[2025-01-12 23:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:37:04] Production.ERROR: done
[2025-01-12 23:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235007') end
[2025-01-12 23:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:37:04] Production.INFO: 1
[2025-01-12 23:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:37:04] Production.INFO: ==1493== Releasing lock...
[2025-01-12 23:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:37:04] Production.ERROR: done
[2025-01-12 23:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:37:05
[end_date_ymd] => 2025-01-12 23:37:05
[RateCDR] => 1
)
[2025-01-12 23:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:37:05' and `end` < '2025-01-12 23:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:37:11] Production.ERROR: CronJobId end10
[2025-01-12 23:37:11] Production.INFO: ==1487== Releasing lock...
[2025-01-12 23:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:37:13] Production.INFO: call_cost start
[2025-01-12 23:37:13] Production.INFO: call_cost end
[2025-01-12 23:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:37:14] Production.INFO: ==1483== Releasing lock...
[2025-01-12 23:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:37:18] Production.INFO: count ==418
[2025-01-12 23:37:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:37:05 - End Time 2025-01-12 23:37:05
[2025-01-12 23:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235008', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235008', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235008', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235008', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:37:18] Production.INFO: ProcessCDR(1,14235008,1,1,2)
[2025-01-12 23:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235008', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235008', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:37:21] Production.INFO: ==1491== Releasing lock...
[2025-01-12 23:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:37:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:38:01] Production.INFO: ==1585== Lock acquired, processing the job...
[2025-01-13 04:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:38:01] Production.INFO: neon service started
[2025-01-13 04:38:01] Production.INFO: neon service started
[2025-01-13 04:38:01] Production.INFO: ==1585== Releasing lock...
[2025-01-13 04:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:38:01] Production.INFO: ==1587== Lock acquired, processing the job...
[2025-01-12 23:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:38:02] Production.INFO: ==1587== Releasing lock...
[2025-01-12 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:38:02] Production.INFO: ==1589== Lock acquired, processing the job...
[2025-01-13 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:38:02] Production.INFO: ==1589== Releasing lock...
[2025-01-13 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:38:03] Production.INFO: ==1591== Lock acquired, processing the job...
[2025-01-12 23:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:38:03] Production.INFO: ==1593== Lock acquired, processing the job...
[2025-01-12 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:38:03] Production.INFO: ==1597== Lock acquired, processing the job...
[2025-01-12 23:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:38:03] Production.INFO: Account Balance Start.
[2025-01-12 23:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:38:03] Production.INFO: 117
[2025-01-12 23:38:03] Production.INFO: ==1601== Lock acquired, processing the job...
[2025-01-12 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:38:03] Production.INFO: ==1595== Lock acquired, processing the job...
[2025-01-12 23:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:38:03] Production.INFO: count ==21
[2025-01-12 23:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:38:03] Production.INFO: count ==21
[2025-01-12 23:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235012') start
[2025-01-12 23:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:38:03] Production.INFO: ==1593== Releasing lock...
[2025-01-12 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:38:03] Production.INFO: ==1599== Lock acquired, processing the job...
[2025-01-12 23:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235012') end
[2025-01-12 23:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:38:03] Production.INFO: 1
[2025-01-12 23:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:38:03] Production.INFO: ==1601== Releasing lock...
[2025-01-12 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:38:03] Production.INFO: Total Charge 0
[2025-01-12 23:38:03] Production.INFO: CreateAllLog End
[2025-01-12 23:38:03] Production.ERROR: done
[2025-01-12 23:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:38:03] Production.INFO: Account Balance End.
[2025-01-12 23:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:38:04] Production.INFO: ==1597== Releasing lock...
[2025-01-12 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:38:04] Production.ERROR: done
[2025-01-12 23:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:38:04
[end_date_ymd] => 2025-01-12 23:38:04
[RateCDR] => 1
)
[2025-01-12 23:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:38:04' and `end` < '2025-01-12 23:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:38:11] Production.ERROR: CronJobId end10
[2025-01-12 23:38:11] Production.INFO: ==1595== Releasing lock...
[2025-01-12 23:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:38:12] Production.INFO: call_cost start
[2025-01-12 23:38:12] Production.INFO: call_cost end
[2025-01-12 23:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:38:13] Production.INFO: ==1591== Releasing lock...
[2025-01-12 23:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:38:17] Production.INFO: count ==420
[2025-01-12 23:38:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:38:04 - End Time 2025-01-12 23:38:04
[2025-01-12 23:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235013', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235013', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235013', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235013', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:38:17] Production.INFO: ProcessCDR(1,14235013,1,1,2)
[2025-01-12 23:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235013', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235013', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:38:21] Production.INFO: ==1599== Releasing lock...
[2025-01-12 23:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:38:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:39:01] Production.INFO: ==1705== Lock acquired, processing the job...
[2025-01-13 04:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:39:02] Production.INFO: neon service started
[2025-01-13 04:39:02] Production.INFO: neon service started
[2025-01-13 04:39:02] Production.INFO: ==1705== Releasing lock...
[2025-01-13 04:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:39:02] Production.INFO: ==1707== Lock acquired, processing the job...
[2025-01-12 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:39:02] Production.INFO: ==1707== Releasing lock...
[2025-01-12 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:39:02] Production.INFO: ==1709== Lock acquired, processing the job...
[2025-01-13 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:39:02] Production.INFO: ==1709== Releasing lock...
[2025-01-13 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:39:03] Production.INFO: ==1716== Lock acquired, processing the job...
[2025-01-12 23:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:39:03] Production.INFO: ==1722== Lock acquired, processing the job...
[2025-01-12 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:39:03] Production.INFO: ==1712== Lock acquired, processing the job...
[2025-01-12 23:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-12 23:39:03] Production.INFO: ==1714== Lock acquired, processing the job...
[2025-01-12 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:39:03] Production.INFO: count ==21
[2025-01-12 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-12 23:39:03] Production.INFO: count ==21
[2025-01-12 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235014') start
[2025-01-12 23:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:39:03] Production.INFO: ==1720== Lock acquired, processing the job...
[2025-01-12 23:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:39:03] Production.INFO: ==1718== Lock acquired, processing the job...
[2025-01-12 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:39:03] Production.INFO: Account Balance Start.
[2025-01-12 23:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235014') end
[2025-01-12 23:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:39:03] Production.INFO: 1
[2025-01-12 23:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:39:03] Production.INFO: 117
[2025-01-12 23:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:39:03] Production.INFO: ==1722== Releasing lock...
[2025-01-12 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:39:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:39:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:39:04] Production.ERROR: done
[2025-01-12 23:39:04] Production.INFO: ==1714== Releasing lock...
[2025-01-12 23:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:39:04] Production.INFO: Total Charge 0
[2025-01-12 23:39:04] Production.INFO: CreateAllLog End
[2025-01-12 23:39:04] Production.ERROR: done
[2025-01-12 23:39:04] Production.INFO: Account Balance End.
[2025-01-12 23:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:39:04] Production.INFO: ==1718== Releasing lock...
[2025-01-12 23:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:39:05
[end_date_ymd] => 2025-01-12 23:39:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:39:05' and `end` < '2025-01-12 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-12 23:39:10] Production.ERROR: CronJobId end10
[2025-01-12 23:39:10] Production.INFO: ==1716== Releasing lock...
[2025-01-12 23:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:39:13] Production.INFO: call_cost start
[2025-01-12 23:39:13] Production.INFO: call_cost end
[2025-01-12 23:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:39:14] Production.INFO: ==1712== Releasing lock...
[2025-01-12 23:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:39:17] Production.INFO: count ==423
[2025-01-12 23:39:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:39:05 - End Time 2025-01-12 23:39:05
[2025-01-12 23:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235018', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235018', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235018', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235018', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:39:17] Production.INFO: ProcessCDR(1,14235018,1,1,2)
[2025-01-12 23:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235018', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235018', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:39:21] Production.INFO: ==1720== Releasing lock...
[2025-01-12 23:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:39:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:40:01] Production.INFO: ==1780== Lock acquired, processing the job...
[2025-01-13 04:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:40:01] Production.INFO: neon service started
[2025-01-13 04:40:01] Production.INFO: neon service started
[2025-01-13 04:40:01] Production.INFO: ==1780== Releasing lock...
[2025-01-13 04:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:40:01] Production.INFO: ==1784== Lock acquired, processing the job...
[2025-01-13 04:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:40:01] Production.INFO: ==1784== Releasing lock...
[2025-01-13 04:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:40:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:40:01] Production.INFO: ==1782== Lock acquired, processing the job...
[2025-01-12 23:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:40:02] Production.INFO: ==1782== Releasing lock...
[2025-01-12 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:40:03] Production.INFO: ==1792== Lock acquired, processing the job...
[2025-01-12 23:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:40:03] Production.INFO: ==1794== Lock acquired, processing the job...
[2025-01-12 23:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:40:03] Production.INFO: Account Balance Start.
[2025-01-12 23:40:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:40:03] Production.INFO: 117
[2025-01-12 23:40:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:40:03] Production.INFO: ==1786== Lock acquired, processing the job...
[2025-01-12 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 23:40:03] Production.INFO: ==1801== Lock acquired, processing the job...
[2025-01-12 23:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:40:03] Production.INFO: ==1788== Lock acquired, processing the job...
[2025-01-12 23:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:40:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:40:03] Production.INFO: ==1790== Lock acquired, processing the job...
[2025-01-12 23:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 23:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 23:40:03] Production.ERROR: CronJob PID - 1792
[2025-01-12 23:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 23:40:03] Production.ERROR: CronJob ID - 10
[2025-01-12 23:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 23:40:00
[2025-01-12 23:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 23:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 23:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 23:40:03] Production.ERROR: CronJob PID - 1794
[2025-01-12 23:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 23:40:03] Production.ERROR: CronJob ID - 12
[2025-01-12 23:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 23:40:00
[2025-01-12 23:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 23:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 23:40:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 23:40:03] Production.INFO: ==1786== Releasing lock...
[2025-01-12 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 23:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 23:40:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:40:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:40:03] Production.INFO: count ==21
[2025-01-12 23:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:40:03] Production.INFO: count ==21
[2025-01-12 23:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235020') start
[2025-01-12 23:40:03] Production.INFO: Total Charge 0
[2025-01-12 23:40:03] Production.INFO: ==1796== Lock acquired, processing the job...
[2025-01-12 23:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:40:03] Production.INFO: ==1798== Lock acquired, processing the job...
[2025-01-12 23:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 23:40:03] Production.INFO: CreateAllLog End
[2025-01-12 23:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235020') end
[2025-01-12 23:40:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:40:03] Production.INFO: 1
[2025-01-12 23:40:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:40:03] Production.INFO: ==1801== Releasing lock...
[2025-01-12 23:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:40:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:40:04] Production.INFO: ==1790== Releasing lock...
[2025-01-12 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:40:04] Production.ERROR: done
[2025-01-12 23:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:40:04] Production.ERROR: done
[2025-01-12 23:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 23:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235023', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 23:40:04] Production.INFO: Account Balance End.
[2025-01-12 23:40:04] Production.ERROR: done
[2025-01-12 23:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:40:04] Production.INFO: ==1794== Releasing lock...
[2025-01-12 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:40:05
[end_date_ymd] => 2025-01-12 23:40:05
[RateCDR] => 1
)
[2025-01-12 23:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:40:05' and `end` < '2025-01-12 23:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235023', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 23:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 23:40:08] Production.INFO: ProcessCDR(1,14235023,1,1,2)
[2025-01-12 23:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235023,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235023,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:40:08] Production.INFO: ==1798== Releasing lock...
[2025-01-12 23:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 23:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 23:40:12] Production.ERROR: CronJobId end10
[2025-01-12 23:40:12] Production.INFO: ==1792== Releasing lock...
[2025-01-12 23:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:40:14] Production.INFO: call_cost start
[2025-01-12 23:40:14] Production.INFO: call_cost end
[2025-01-12 23:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:40:15] Production.INFO: ==1788== Releasing lock...
[2025-01-12 23:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:40:18] Production.INFO: count ==429
[2025-01-12 23:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:40:05 - End Time 2025-01-12 23:40:05
[2025-01-12 23:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235024', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235024', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235024', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235024', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:40:18] Production.INFO: ProcessCDR(1,14235024,1,1,2)
[2025-01-12 23:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235024', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235024', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:40:21] Production.INFO: ==1796== Releasing lock...
[2025-01-12 23:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:40:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:41:01] Production.INFO: ==1860== Lock acquired, processing the job...
[2025-01-13 04:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:41:01] Production.INFO: neon service started
[2025-01-13 04:41:01] Production.INFO: neon service started
[2025-01-13 04:41:01] Production.INFO: ==1860== Releasing lock...
[2025-01-13 04:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:41:02] Production.INFO: ==1864== Lock acquired, processing the job...
[2025-01-13 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:41:02] Production.INFO: ==1864== Releasing lock...
[2025-01-13 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:41:02] Production.INFO: 26 MB #Memory Used#
[2025-01-12 23:41:02] Production.INFO: ==1862== Lock acquired, processing the job...
[2025-01-12 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:41:02] Production.INFO: ==1862== Releasing lock...
[2025-01-12 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:41:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:41:03] Production.INFO: ==1866== Lock acquired, processing the job...
[2025-01-12 23:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:41:03] Production.INFO: ==1873== Lock acquired, processing the job...
[2025-01-12 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:41:03] Production.INFO: ==1868== Lock acquired, processing the job...
[2025-01-12 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:41:03] Production.INFO: ==1871== Lock acquired, processing the job...
[2025-01-12 23:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:41:03] Production.INFO: Account Balance Start.
[2025-01-12 23:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:41:03] Production.INFO: 117
[2025-01-12 23:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:41:03] Production.INFO: ==1875== Lock acquired, processing the job...
[2025-01-12 23:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:41:03] Production.INFO: ==1877== Lock acquired, processing the job...
[2025-01-12 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:41:03] Production.INFO: Total Charge 0
[2025-01-12 23:41:03] Production.INFO: CreateAllLog End
[2025-01-12 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-12 23:41:03] Production.INFO: count ==21
[2025-01-12 23:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:41:04] Production.INFO: ==1868== Releasing lock...
[2025-01-12 23:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:41:04] Production.ERROR: done
[2025-01-12 23:41:04] Production.INFO: count ==21
[2025-01-12 23:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235028') start
[2025-01-12 23:41:04] Production.INFO: Account Balance End.
[2025-01-12 23:41:04] Production.ERROR: done
[2025-01-12 23:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:41:04] Production.INFO: ==1873== Releasing lock...
[2025-01-12 23:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235028') end
[2025-01-12 23:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:41:04] Production.INFO: 1
[2025-01-12 23:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:41:04] Production.INFO: ==1877== Releasing lock...
[2025-01-12 23:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:41:05
[end_date_ymd] => 2025-01-12 23:41:05
[RateCDR] => 1
)
[2025-01-12 23:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:41:05' and `end` < '2025-01-12 23:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:41:11] Production.ERROR: CronJobId end10
[2025-01-12 23:41:11] Production.INFO: ==1871== Releasing lock...
[2025-01-12 23:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:41:13] Production.INFO: call_cost start
[2025-01-12 23:41:13] Production.INFO: call_cost end
[2025-01-12 23:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:41:14] Production.INFO: ==1866== Releasing lock...
[2025-01-12 23:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:41:17] Production.INFO: count ==436
[2025-01-12 23:41:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:41:05 - End Time 2025-01-12 23:41:05
[2025-01-12 23:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235029', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235029', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235029', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235029', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:41:18] Production.INFO: ProcessCDR(1,14235029,1,1,2)
[2025-01-12 23:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235029', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235029', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:41:21] Production.INFO: ==1875== Releasing lock...
[2025-01-12 23:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:41:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:42:02] Production.INFO: ==1930== Lock acquired, processing the job...
[2025-01-13 04:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:42:02] Production.INFO: neon service started
[2025-01-13 04:42:02] Production.INFO: neon service started
[2025-01-13 04:42:02] Production.INFO: ==1930== Releasing lock...
[2025-01-13 04:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:42:02] Production.INFO: ==1935== Lock acquired, processing the job...
[2025-01-13 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:42:02] Production.INFO: ==1935== Releasing lock...
[2025-01-13 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:42:02] Production.INFO: ==1932== Lock acquired, processing the job...
[2025-01-12 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:42:03] Production.INFO: ==1932== Releasing lock...
[2025-01-12 23:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:42:03] Production.INFO: ==1937== Lock acquired, processing the job...
[2025-01-12 23:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:42:03] Production.INFO: ==1941== Lock acquired, processing the job...
[2025-01-12 23:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:42:03] Production.INFO: ==1943== Lock acquired, processing the job...
[2025-01-12 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:42:04] Production.INFO: ==1939== Lock acquired, processing the job...
[2025-01-12 23:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:42:04] Production.INFO: Account Balance Start.
[2025-01-12 23:42:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:42:04] Production.INFO: 117
[2025-01-12 23:42:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:42:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:42:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:42:04] Production.INFO: Total Charge 0
[2025-01-12 23:42:04] Production.INFO: CreateAllLog End
[2025-01-12 23:42:04] Production.INFO: ==1945== Lock acquired, processing the job...
[2025-01-12 23:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:42:04] Production.INFO: ==1939== Releasing lock...
[2025-01-12 23:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:42:04] Production.INFO: ==1947== Lock acquired, processing the job...
[2025-01-12 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:42:04] Production.INFO: Account Balance End.
[2025-01-12 23:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:42:04] Production.INFO: ==1943== Releasing lock...
[2025-01-12 23:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:42:04] Production.INFO: count ==21
[2025-01-12 23:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:42:04] Production.INFO: count ==21
[2025-01-12 23:42:04] Production.ERROR: done
[2025-01-12 23:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235033') start
[2025-01-12 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235033') end
[2025-01-12 23:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:42:04] Production.INFO: 1
[2025-01-12 23:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:42:04] Production.ERROR: done
[2025-01-12 23:42:04] Production.INFO: ==1947== Releasing lock...
[2025-01-12 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:42:05
[end_date_ymd] => 2025-01-12 23:42:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:42:05' and `end` < '2025-01-12 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-12 23:42:11] Production.ERROR: CronJobId end10
[2025-01-12 23:42:11] Production.INFO: ==1941== Releasing lock...
[2025-01-12 23:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:42:13] Production.INFO: call_cost start
[2025-01-12 23:42:13] Production.INFO: call_cost end
[2025-01-12 23:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:42:14] Production.INFO: ==1937== Releasing lock...
[2025-01-12 23:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:42:18] Production.INFO: count ==436
[2025-01-12 23:42:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:42:05 - End Time 2025-01-12 23:42:05
[2025-01-12 23:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235034', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235034', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235034', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235034', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:42:18] Production.INFO: ProcessCDR(1,14235034,1,1,2)
[2025-01-12 23:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235034', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235034', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:42:21] Production.INFO: ==1945== Releasing lock...
[2025-01-12 23:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:42:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:43:01] Production.INFO: ==2002== Lock acquired, processing the job...
[2025-01-13 04:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:43:01] Production.INFO: neon service started
[2025-01-13 04:43:01] Production.INFO: neon service started
[2025-01-13 04:43:01] Production.INFO: ==2002== Releasing lock...
[2025-01-13 04:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:43:02] Production.INFO: ==2006== Lock acquired, processing the job...
[2025-01-13 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:43:02] Production.INFO: ==2006== Releasing lock...
[2025-01-13 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:43:02] Production.INFO: ==2004== Lock acquired, processing the job...
[2025-01-12 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:43:02] Production.INFO: ==2004== Releasing lock...
[2025-01-12 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:43:03] Production.INFO: ==2009== Lock acquired, processing the job...
[2025-01-12 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:43:03] Production.INFO: ==2011== Lock acquired, processing the job...
[2025-01-12 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:43:03] Production.INFO: ==2013== Lock acquired, processing the job...
[2025-01-12 23:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:43:03] Production.INFO: ==2017== Lock acquired, processing the job...
[2025-01-12 23:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:43:03] Production.INFO: ==2015== Lock acquired, processing the job...
[2025-01-12 23:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:43:03] Production.INFO: ==2019== Lock acquired, processing the job...
[2025-01-12 23:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:43:03] Production.INFO: ==2011== Releasing lock...
[2025-01-12 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:43:03] Production.INFO: Account Balance Start.
[2025-01-12 23:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:43:03] Production.INFO: 117
[2025-01-12 23:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:43:04] Production.ERROR: done
[2025-01-12 23:43:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:43:04] Production.INFO: count ==21
[2025-01-12 23:43:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:43:04] Production.INFO: count ==21
[2025-01-12 23:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:43:04] Production.INFO: Total Charge 0
[2025-01-12 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235038') start
[2025-01-12 23:43:04] Production.INFO: CreateAllLog End
[2025-01-12 23:43:04] Production.ERROR: done
[2025-01-12 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235038') end
[2025-01-12 23:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:43:04] Production.INFO: 1
[2025-01-12 23:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:43:04] Production.INFO: Account Balance End.
[2025-01-12 23:43:04] Production.INFO: ==2019== Releasing lock...
[2025-01-12 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:43:04] Production.INFO: ==2015== Releasing lock...
[2025-01-12 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:43:05
[end_date_ymd] => 2025-01-12 23:43:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:43:05' and `end` < '2025-01-12 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-12 23:43:11] Production.ERROR: CronJobId end10
[2025-01-12 23:43:11] Production.INFO: ==2013== Releasing lock...
[2025-01-12 23:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:43:13] Production.INFO: call_cost start
[2025-01-12 23:43:13] Production.INFO: call_cost end
[2025-01-12 23:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:43:14] Production.INFO: ==2009== Releasing lock...
[2025-01-12 23:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:43:17] Production.INFO: count ==424
[2025-01-12 23:43:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:43:05 - End Time 2025-01-12 23:43:05
[2025-01-12 23:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235039', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235039', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235039', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235039', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:43:17] Production.INFO: ProcessCDR(1,14235039,1,1,2)
[2025-01-12 23:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235039', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235039', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:43:20] Production.INFO: ==2017== Releasing lock...
[2025-01-12 23:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:43:20] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:44:01] Production.INFO: ==2074== Lock acquired, processing the job...
[2025-01-13 04:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:44:01] Production.INFO: neon service started
[2025-01-13 04:44:01] Production.INFO: neon service started
[2025-01-13 04:44:01] Production.INFO: ==2074== Releasing lock...
[2025-01-13 04:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:44:01] Production.INFO: ==2078== Lock acquired, processing the job...
[2025-01-13 04:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:44:01] Production.INFO: ==2078== Releasing lock...
[2025-01-13 04:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:44:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:44:01] Production.INFO: ==2076== Lock acquired, processing the job...
[2025-01-12 23:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:44:02] Production.INFO: ==2076== Releasing lock...
[2025-01-12 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:44:02] Production.INFO: ==2083== Lock acquired, processing the job...
[2025-01-12 23:44:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:44:03] Production.INFO: ==2089== Lock acquired, processing the job...
[2025-01-12 23:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:44:03] Production.INFO: ==2081== Lock acquired, processing the job...
[2025-01-12 23:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:44:03] Production.INFO: ==2083== Releasing lock...
[2025-01-12 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:44:03] Production.INFO: ==2085== Lock acquired, processing the job...
[2025-01-12 23:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:44:03] Production.INFO: ==2087== Lock acquired, processing the job...
[2025-01-12 23:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:44:03] Production.INFO: ==2091== Lock acquired, processing the job...
[2025-01-12 23:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:44:03] Production.INFO: Account Balance Start.
[2025-01-12 23:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:44:03] Production.INFO: 117
[2025-01-12 23:44:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:44:03] Production.ERROR: done
[2025-01-12 23:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:44:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:44:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:44:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:44:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:44:03] Production.INFO: count ==21
[2025-01-12 23:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:44:03] Production.INFO: count ==21
[2025-01-12 23:44:03] Production.ERROR: done
[2025-01-12 23:44:03] Production.INFO: Total Charge 0
[2025-01-12 23:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235043') start
[2025-01-12 23:44:03] Production.INFO: CreateAllLog End
[2025-01-12 23:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235043') end
[2025-01-12 23:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:44:03] Production.INFO: 1
[2025-01-12 23:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:44:03] Production.INFO: ==2091== Releasing lock...
[2025-01-12 23:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:44:04] Production.INFO: Account Balance End.
[2025-01-12 23:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:44:04] Production.INFO: ==2087== Releasing lock...
[2025-01-12 23:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:44:04
[end_date_ymd] => 2025-01-12 23:44:04
[RateCDR] => 1
)
[2025-01-12 23:44:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:44:04' and `end` < '2025-01-12 23:44:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:44:10] Production.ERROR: CronJobId end10
[2025-01-12 23:44:10] Production.INFO: ==2085== Releasing lock...
[2025-01-12 23:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:44:12] Production.INFO: call_cost start
[2025-01-12 23:44:12] Production.INFO: call_cost end
[2025-01-12 23:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:44:13] Production.INFO: ==2081== Releasing lock...
[2025-01-12 23:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:44:17] Production.INFO: count ==424
[2025-01-12 23:44:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:44:04 - End Time 2025-01-12 23:44:04
[2025-01-12 23:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235044', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235044', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235044', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235044', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:44:17] Production.INFO: ProcessCDR(1,14235044,1,1,2)
[2025-01-12 23:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235044', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235044', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:44:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:44:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:44:20] Production.INFO: ==2089== Releasing lock...
[2025-01-12 23:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:44:20] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:45:01] Production.INFO: ==2144== Lock acquired, processing the job...
[2025-01-13 04:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:45:01] Production.INFO: neon service started
[2025-01-13 04:45:01] Production.INFO: neon service started
[2025-01-13 04:45:01] Production.INFO: ==2144== Releasing lock...
[2025-01-13 04:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:45:02] Production.INFO: ==2146== Lock acquired, processing the job...
[2025-01-12 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:45:02] Production.INFO: ==2146== Releasing lock...
[2025-01-12 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:45:02] Production.INFO: ==2148== Lock acquired, processing the job...
[2025-01-13 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:45:02] Production.INFO: ==2148== Releasing lock...
[2025-01-13 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:45:03] Production.INFO: ==2151== Lock acquired, processing the job...
[2025-01-12 23:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:45:03] Production.INFO: ==2153== Lock acquired, processing the job...
[2025-01-12 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:45:03] Production.INFO: ==2155== Lock acquired, processing the job...
[2025-01-12 23:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:45:03] Production.INFO: ==2157== Lock acquired, processing the job...
[2025-01-12 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:45:03] Production.INFO: ==2161== Lock acquired, processing the job...
[2025-01-12 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:45:03] Production.INFO: ==2159== Lock acquired, processing the job...
[2025-01-12 23:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:45:03] Production.INFO: ==2153== Releasing lock...
[2025-01-12 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:45:03] Production.INFO: Account Balance Start.
[2025-01-12 23:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:45:03] Production.INFO: 117
[2025-01-12 23:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:45:03] Production.INFO: count ==21
[2025-01-12 23:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:45:03] Production.INFO: count ==21
[2025-01-12 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235048') start
[2025-01-12 23:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235048') end
[2025-01-12 23:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:45:04] Production.INFO: 1
[2025-01-12 23:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:45:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:45:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:45:04] Production.INFO: ==2161== Releasing lock...
[2025-01-12 23:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:45:04] Production.ERROR: done
[2025-01-12 23:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:45:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:45:04] Production.INFO: Total Charge 0
[2025-01-12 23:45:04] Production.INFO: CreateAllLog End
[2025-01-12 23:45:04] Production.ERROR: done
[2025-01-12 23:45:04] Production.INFO: Account Balance End.
[2025-01-12 23:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:45:04] Production.INFO: ==2157== Releasing lock...
[2025-01-12 23:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:45:05
[end_date_ymd] => 2025-01-12 23:45:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:45:05' and `end` < '2025-01-12 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-12 23:45:11] Production.ERROR: CronJobId end10
[2025-01-12 23:45:11] Production.INFO: ==2155== Releasing lock...
[2025-01-12 23:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:45:13] Production.INFO: call_cost start
[2025-01-12 23:45:13] Production.INFO: call_cost end
[2025-01-12 23:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:45:14] Production.INFO: ==2151== Releasing lock...
[2025-01-12 23:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:45:17] Production.INFO: count ==424
[2025-01-12 23:45:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:45:05 - End Time 2025-01-12 23:45:05
[2025-01-12 23:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235049', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235049', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235049', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235049', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:45:17] Production.INFO: ProcessCDR(1,14235049,1,1,2)
[2025-01-12 23:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235049', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235049', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:45:20] Production.INFO: ==2159== Releasing lock...
[2025-01-12 23:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:45:20] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:46:02] Production.INFO: ==2225== Lock acquired, processing the job...
[2025-01-13 04:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:46:02] Production.INFO: neon service started
[2025-01-13 04:46:02] Production.INFO: neon service started
[2025-01-13 04:46:02] Production.INFO: ==2225== Releasing lock...
[2025-01-13 04:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:46:03] Production.INFO: ==2227== Lock acquired, processing the job...
[2025-01-12 23:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:46:03] Production.INFO: ==2229== Lock acquired, processing the job...
[2025-01-13 04:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:46:03] Production.INFO: ==2229== Releasing lock...
[2025-01-13 04:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:46:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:46:03] Production.INFO: ==2227== Releasing lock...
[2025-01-12 23:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:46:04] Production.INFO: ==2236== Lock acquired, processing the job...
[2025-01-12 23:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:46:04] Production.INFO: ==2242== Lock acquired, processing the job...
[2025-01-12 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:46:04] Production.INFO: ==2232== Lock acquired, processing the job...
[2025-01-12 23:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:46:04] Production.INFO: ==2234== Lock acquired, processing the job...
[2025-01-12 23:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:46:04] Production.INFO: count ==21
[2025-01-12 23:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:46:04] Production.INFO: count ==21
[2025-01-12 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235050') start
[2025-01-12 23:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:46:04] Production.INFO: ==2238== Lock acquired, processing the job...
[2025-01-12 23:46:04] Production.INFO: ==2240== Lock acquired, processing the job...
[2025-01-12 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235050') end
[2025-01-12 23:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:46:04] Production.INFO: 1
[2025-01-12 23:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:46:04] Production.INFO: Account Balance Start.
[2025-01-12 23:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:46:04] Production.INFO: 117
[2025-01-12 23:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:46:04] Production.INFO: ==2242== Releasing lock...
[2025-01-12 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:46:05] Production.INFO: ==2234== Releasing lock...
[2025-01-12 23:46:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:46:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:46:05] Production.INFO: Date 2025-01-11
[2025-01-12 23:46:05] Production.INFO: Reseller ==> 0
[2025-01-12 23:46:05] Production.INFO: Date 2025-01-12
[2025-01-12 23:46:05] Production.INFO: Reseller ==> 0
[2025-01-12 23:46:05] Production.INFO: Total Charge 0
[2025-01-12 23:46:05] Production.ERROR: done
[2025-01-12 23:46:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:46:05] Production.INFO: CreateAllLog End
[2025-01-12 23:46:05] Production.ERROR: done
[2025-01-12 23:46:05] Production.INFO: Account Balance End.
[2025-01-12 23:46:05] Production.ERROR: CronJobId end 12
[2025-01-12 23:46:05] Production.INFO: ==2238== Releasing lock...
[2025-01-12 23:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:46:06
[end_date_ymd] => 2025-01-12 23:46:06
[RateCDR] => 1
)
[2025-01-12 23:46:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:46:06' and `end` < '2025-01-12 23:46:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:46:11] Production.ERROR: CronJobId end10
[2025-01-12 23:46:11] Production.INFO: ==2236== Releasing lock...
[2025-01-12 23:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:46:14] Production.INFO: call_cost start
[2025-01-12 23:46:14] Production.INFO: call_cost end
[2025-01-12 23:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:46:14] Production.INFO: ==2232== Releasing lock...
[2025-01-12 23:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:46:18] Production.INFO: count ==424
[2025-01-12 23:46:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:46:06 - End Time 2025-01-12 23:46:06
[2025-01-12 23:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235054', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235054', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235054', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235054', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:46:18] Production.INFO: ProcessCDR(1,14235054,1,1,2)
[2025-01-12 23:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235054', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235054', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:46:21] Production.INFO: ==2240== Releasing lock...
[2025-01-12 23:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:46:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:47:01] Production.INFO: ==2299== Lock acquired, processing the job...
[2025-01-13 04:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:47:01] Production.INFO: neon service started
[2025-01-13 04:47:01] Production.INFO: neon service started
[2025-01-13 04:47:01] Production.INFO: ==2299== Releasing lock...
[2025-01-13 04:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:47:02] Production.INFO: ==2301== Lock acquired, processing the job...
[2025-01-12 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:47:02] Production.INFO: ==2303== Lock acquired, processing the job...
[2025-01-13 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:47:02] Production.INFO: ==2303== Releasing lock...
[2025-01-13 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:47:02] Production.INFO: ==2301== Releasing lock...
[2025-01-12 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:47:03] Production.INFO: ==2312== Lock acquired, processing the job...
[2025-01-12 23:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:47:03] Production.INFO: ==2316== Lock acquired, processing the job...
[2025-01-12 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:47:03] Production.INFO: ==2306== Lock acquired, processing the job...
[2025-01-12 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:47:03] Production.INFO: Account Balance Start.
[2025-01-12 23:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:47:03] Production.INFO: 117
[2025-01-12 23:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:47:03] Production.INFO: ==2308== Lock acquired, processing the job...
[2025-01-12 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:47:03] Production.INFO: ==2310== Lock acquired, processing the job...
[2025-01-12 23:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:47:03] Production.INFO: count ==21
[2025-01-12 23:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:47:03] Production.INFO: count ==21
[2025-01-12 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235056') start
[2025-01-12 23:47:03] Production.INFO: ==2314== Lock acquired, processing the job...
[2025-01-12 23:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235056') end
[2025-01-12 23:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:47:03] Production.INFO: 1
[2025-01-12 23:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:47:04] Production.INFO: ==2316== Releasing lock...
[2025-01-12 23:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:47:04] Production.INFO: Total Charge 0
[2025-01-12 23:47:04] Production.INFO: CreateAllLog End
[2025-01-12 23:47:04] Production.INFO: ==2308== Releasing lock...
[2025-01-12 23:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:47:04] Production.ERROR: done
[2025-01-12 23:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:47:04] Production.INFO: Account Balance End.
[2025-01-12 23:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:47:04] Production.INFO: ==2312== Releasing lock...
[2025-01-12 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:47:04] Production.ERROR: done
[2025-01-12 23:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:47:05
[end_date_ymd] => 2025-01-12 23:47:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:47:05' and `end` < '2025-01-12 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-12 23:47:10] Production.ERROR: CronJobId end10
[2025-01-12 23:47:10] Production.INFO: ==2310== Releasing lock...
[2025-01-12 23:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:47:13] Production.INFO: call_cost start
[2025-01-12 23:47:13] Production.INFO: call_cost end
[2025-01-12 23:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:47:14] Production.INFO: ==2306== Releasing lock...
[2025-01-12 23:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:47:17] Production.INFO: count ==424
[2025-01-12 23:47:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:47:05 - End Time 2025-01-12 23:47:05
[2025-01-12 23:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235059', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235059', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235059', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235059', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:47:17] Production.INFO: ProcessCDR(1,14235059,1,1,2)
[2025-01-12 23:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235059', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235059', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:47:21] Production.INFO: ==2314== Releasing lock...
[2025-01-12 23:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:47:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:48:02] Production.INFO: ==2368== Lock acquired, processing the job...
[2025-01-13 04:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:48:02] Production.INFO: neon service started
[2025-01-13 04:48:02] Production.INFO: neon service started
[2025-01-13 04:48:02] Production.INFO: ==2368== Releasing lock...
[2025-01-13 04:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:48:02] Production.INFO: ==2371== Lock acquired, processing the job...
[2025-01-12 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:48:03] Production.INFO: ==2373== Lock acquired, processing the job...
[2025-01-13 04:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 23:48:03] Production.INFO: ==2371== Releasing lock...
[2025-01-12 23:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:48:03] Production.INFO: ==2373== Releasing lock...
[2025-01-13 04:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:48:03] Production.INFO: ==2375== Lock acquired, processing the job...
[2025-01-12 23:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:48:03] Production.INFO: ==2381== Lock acquired, processing the job...
[2025-01-12 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:48:03] Production.INFO: ==2383== Lock acquired, processing the job...
[2025-01-12 23:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:48:04] Production.INFO: ==2377== Lock acquired, processing the job...
[2025-01-12 23:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:48:04] Production.INFO: ==2379== Lock acquired, processing the job...
[2025-01-12 23:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:48:04] Production.INFO: Account Balance Start.
[2025-01-12 23:48:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:48:04] Production.INFO: 117
[2025-01-12 23:48:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:48:04] Production.INFO: ==2385== Lock acquired, processing the job...
[2025-01-12 23:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:48:04] Production.ERROR: done
[2025-01-12 23:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:48:04] Production.INFO: count ==21
[2025-01-12 23:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:48:04] Production.INFO: count ==21
[2025-01-12 23:48:04] Production.ERROR: done
[2025-01-12 23:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235062') start
[2025-01-12 23:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:48:04] Production.INFO: Total Charge 0
[2025-01-12 23:48:04] Production.INFO: CreateAllLog End
[2025-01-12 23:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235062') end
[2025-01-12 23:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:48:04] Production.INFO: 1
[2025-01-12 23:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:48:04] Production.INFO: ==2377== Releasing lock...
[2025-01-12 23:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:48:04] Production.INFO: ==2385== Releasing lock...
[2025-01-12 23:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:48:04] Production.INFO: Account Balance End.
[2025-01-12 23:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:48:04] Production.INFO: ==2381== Releasing lock...
[2025-01-12 23:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:48:05
[end_date_ymd] => 2025-01-12 23:48:05
[RateCDR] => 1
)
[2025-01-12 23:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:48:05' and `end` < '2025-01-12 23:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:48:12] Production.ERROR: CronJobId end10
[2025-01-12 23:48:12] Production.INFO: ==2379== Releasing lock...
[2025-01-12 23:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:48:14] Production.INFO: call_cost start
[2025-01-12 23:48:14] Production.INFO: call_cost end
[2025-01-12 23:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:48:14] Production.INFO: ==2375== Releasing lock...
[2025-01-12 23:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:48:17] Production.INFO: count ==424
[2025-01-12 23:48:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:48:05 - End Time 2025-01-12 23:48:05
[2025-01-12 23:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235064', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235064', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235064', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235064', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:48:17] Production.INFO: ProcessCDR(1,14235064,1,1,2)
[2025-01-12 23:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235064', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235064', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:48:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:48:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:48:20] Production.INFO: ==2383== Releasing lock...
[2025-01-12 23:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:48:20] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:49:01] Production.INFO: ==2439== Lock acquired, processing the job...
[2025-01-13 04:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:49:01] Production.INFO: neon service started
[2025-01-13 04:49:01] Production.INFO: neon service started
[2025-01-13 04:49:01] Production.INFO: ==2439== Releasing lock...
[2025-01-13 04:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:49:02] Production.INFO: ==2441== Lock acquired, processing the job...
[2025-01-12 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:49:02] Production.INFO: ==2443== Lock acquired, processing the job...
[2025-01-13 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:49:02] Production.INFO: ==2443== Releasing lock...
[2025-01-13 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:49:02] Production.INFO: ==2441== Releasing lock...
[2025-01-12 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:49:03] Production.INFO: ==2452== Lock acquired, processing the job...
[2025-01-12 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:49:03] Production.INFO: ==2454== Lock acquired, processing the job...
[2025-01-12 23:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:49:03] Production.INFO: ==2446== Lock acquired, processing the job...
[2025-01-12 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:49:03] Production.INFO: Account Balance Start.
[2025-01-12 23:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:49:03] Production.INFO: 117
[2025-01-12 23:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:49:03] Production.INFO: ==2448== Lock acquired, processing the job...
[2025-01-12 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:49:03] Production.INFO: ==2450== Lock acquired, processing the job...
[2025-01-12 23:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:49:03] Production.INFO: ==2456== Lock acquired, processing the job...
[2025-01-12 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:49:03] Production.ERROR: done
[2025-01-12 23:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:49:03] Production.ERROR: done
[2025-01-12 23:49:03] Production.INFO: Total Charge 0
[2025-01-12 23:49:04] Production.INFO: CreateAllLog End
[2025-01-12 23:49:04] Production.INFO: count ==21
[2025-01-12 23:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:49:04] Production.INFO: count ==21
[2025-01-12 23:49:04] Production.INFO: ==2448== Releasing lock...
[2025-01-12 23:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235068') start
[2025-01-12 23:49:04] Production.INFO: Account Balance End.
[2025-01-12 23:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:49:04] Production.INFO: ==2452== Releasing lock...
[2025-01-12 23:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235068') end
[2025-01-12 23:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:49:04] Production.INFO: 1
[2025-01-12 23:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:49:04] Production.INFO: ==2456== Releasing lock...
[2025-01-12 23:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:49:04
[end_date_ymd] => 2025-01-12 23:49:04
[RateCDR] => 1
)
[2025-01-12 23:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:49:04' and `end` < '2025-01-12 23:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:49:11] Production.ERROR: CronJobId end10
[2025-01-12 23:49:11] Production.INFO: ==2450== Releasing lock...
[2025-01-12 23:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:49:12] Production.INFO: call_cost start
[2025-01-12 23:49:12] Production.INFO: call_cost end
[2025-01-12 23:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:49:13] Production.INFO: ==2446== Releasing lock...
[2025-01-12 23:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:49:17] Production.INFO: count ==424
[2025-01-12 23:49:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:49:04 - End Time 2025-01-12 23:49:04
[2025-01-12 23:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235069', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235069', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235069', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235069', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:49:17] Production.INFO: ProcessCDR(1,14235069,1,1,2)
[2025-01-12 23:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235069', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235069', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:49:20] Production.INFO: ==2454== Releasing lock...
[2025-01-12 23:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:49:20] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:50:02] Production.INFO: ==2510== Lock acquired, processing the job...
[2025-01-13 04:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:50:02] Production.INFO: neon service started
[2025-01-13 04:50:02] Production.INFO: neon service started
[2025-01-13 04:50:02] Production.INFO: ==2510== Releasing lock...
[2025-01-13 04:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:50:02] Production.INFO: ==2512== Lock acquired, processing the job...
[2025-01-12 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:50:03] Production.INFO: ==2512== Releasing lock...
[2025-01-12 23:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:50:03] Production.INFO: ==2514== Lock acquired, processing the job...
[2025-01-13 04:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:50:03] Production.INFO: ==2514== Releasing lock...
[2025-01-13 04:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:50:04] Production.INFO: ==2516== Lock acquired, processing the job...
[2025-01-12 23:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 23:50:04] Production.INFO: ==2525== Lock acquired, processing the job...
[2025-01-12 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:50:04] Production.INFO: ==2518== Lock acquired, processing the job...
[2025-01-12 23:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 23:50:04] Production.INFO: ==2527== Lock acquired, processing the job...
[2025-01-12 23:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:50:04] Production.INFO: ==2521== Lock acquired, processing the job...
[2025-01-12 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 23:50:04] Production.INFO: ==2516== Releasing lock...
[2025-01-12 23:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 23:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 23:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:50:04] Production.INFO: ==2529== Lock acquired, processing the job...
[2025-01-12 23:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 23:50:04] Production.INFO: Account Balance Start.
[2025-01-12 23:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:50:04] Production.INFO: 117
[2025-01-12 23:50:04] Production.INFO: ==2523== Lock acquired, processing the job...
[2025-01-12 23:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:50:04] Production.INFO: ==2531== Lock acquired, processing the job...
[2025-01-12 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:50:04] Production.INFO: Total Charge 0
[2025-01-12 23:50:04] Production.INFO: CreateAllLog End
[2025-01-12 23:50:04] Production.ERROR: done
[2025-01-12 23:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:50:04] Production.ERROR: done
[2025-01-12 23:50:04] Production.INFO: ==2521== Releasing lock...
[2025-01-12 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 23:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235074', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 23:50:04] Production.INFO: count ==21
[2025-01-12 23:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:50:04] Production.INFO: count ==21
[2025-01-12 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235073') start
[2025-01-12 23:50:04] Production.ERROR: done
[2025-01-12 23:50:04] Production.INFO: Account Balance End.
[2025-01-12 23:50:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:50:04] Production.INFO: ==2525== Releasing lock...
[2025-01-12 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235073') end
[2025-01-12 23:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:50:04] Production.INFO: 1
[2025-01-12 23:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:50:05] Production.INFO: ==2531== Releasing lock...
[2025-01-12 23:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:50:05
[end_date_ymd] => 2025-01-12 23:50:05
[RateCDR] => 1
)
[2025-01-12 23:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:50:05' and `end` < '2025-01-12 23:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235074', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 23:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 23:50:08] Production.INFO: ProcessCDR(1,14235074,1,1,2)
[2025-01-12 23:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235074,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235074,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:50:08] Production.INFO: ==2529== Releasing lock...
[2025-01-12 23:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 23:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 23:50:14] Production.ERROR: CronJobId end10
[2025-01-12 23:50:14] Production.INFO: ==2523== Releasing lock...
[2025-01-12 23:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:50:16] Production.INFO: call_cost start
[2025-01-12 23:50:16] Production.INFO: call_cost end
[2025-01-12 23:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:50:16] Production.INFO: ==2518== Releasing lock...
[2025-01-12 23:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:50:18] Production.INFO: count ==429
[2025-01-12 23:50:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:50:05 - End Time 2025-01-12 23:50:05
[2025-01-12 23:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235075', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235075', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235075', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235075', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:50:18] Production.INFO: ProcessCDR(1,14235075,1,1,2)
[2025-01-12 23:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235075', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235075', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:50:21] Production.INFO: ==2527== Releasing lock...
[2025-01-12 23:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:50:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:51:01] Production.INFO: ==2585== Lock acquired, processing the job...
[2025-01-13 04:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:51:01] Production.INFO: neon service started
[2025-01-13 04:51:01] Production.INFO: neon service started
[2025-01-13 04:51:01] Production.INFO: ==2585== Releasing lock...
[2025-01-13 04:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:51:02] Production.INFO: ==2587== Lock acquired, processing the job...
[2025-01-12 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:51:02] Production.INFO: ==2587== Releasing lock...
[2025-01-12 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:51:02] Production.INFO: ==2589== Lock acquired, processing the job...
[2025-01-13 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:51:02] Production.INFO: ==2589== Releasing lock...
[2025-01-13 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:51:03] Production.INFO: ==2597== Lock acquired, processing the job...
[2025-01-12 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:51:03] Production.INFO: ==2591== Lock acquired, processing the job...
[2025-01-12 23:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:51:03] Production.INFO: ==2601== Lock acquired, processing the job...
[2025-01-12 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:51:03] Production.INFO: Account Balance Start.
[2025-01-12 23:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:51:03] Production.INFO: 117
[2025-01-12 23:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:51:03] Production.INFO: ==2593== Lock acquired, processing the job...
[2025-01-12 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:51:03] Production.INFO: ==2595== Lock acquired, processing the job...
[2025-01-12 23:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:51:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:51:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-12 23:51:03] Production.INFO: ==2599== Lock acquired, processing the job...
[2025-01-12 23:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:51:03] Production.INFO: Total Charge 0
[2025-01-12 23:51:03] Production.INFO: CreateAllLog End
[2025-01-12 23:51:03] Production.INFO: count ==21
[2025-01-12 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-12 23:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:51:03] Production.INFO: count ==21
[2025-01-12 23:51:03] Production.INFO: ==2593== Releasing lock...
[2025-01-12 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235078') start
[2025-01-12 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235078') end
[2025-01-12 23:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:51:03] Production.INFO: 1
[2025-01-12 23:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:51:04] Production.INFO: Account Balance End.
[2025-01-12 23:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:51:04] Production.INFO: ==2597== Releasing lock...
[2025-01-12 23:51:04] Production.INFO: ==2601== Releasing lock...
[2025-01-12 23:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:51:04] Production.ERROR: done
[2025-01-12 23:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:51:04] Production.ERROR: done
[2025-01-12 23:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:51:05
[end_date_ymd] => 2025-01-12 23:51:05
[RateCDR] => 1
)
[2025-01-12 23:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:51:05' and `end` < '2025-01-12 23:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:51:11] Production.ERROR: CronJobId end10
[2025-01-12 23:51:11] Production.INFO: ==2595== Releasing lock...
[2025-01-12 23:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:51:13] Production.INFO: call_cost start
[2025-01-12 23:51:13] Production.INFO: call_cost end
[2025-01-12 23:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:51:14] Production.INFO: ==2591== Releasing lock...
[2025-01-12 23:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:51:17] Production.INFO: count ==450
[2025-01-12 23:51:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:51:05 - End Time 2025-01-12 23:51:05
[2025-01-12 23:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235080', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235080', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235080', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235080', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:51:17] Production.INFO: ProcessCDR(1,14235080,1,1,2)
[2025-01-12 23:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235080', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235080', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:51:20] Production.INFO: ==2599== Releasing lock...
[2025-01-12 23:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:51:20] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:52:02] Production.INFO: ==2657== Lock acquired, processing the job...
[2025-01-13 04:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:52:02] Production.INFO: neon service started
[2025-01-13 04:52:02] Production.INFO: neon service started
[2025-01-13 04:52:02] Production.INFO: ==2657== Releasing lock...
[2025-01-13 04:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:52:02] Production.INFO: ==2659== Lock acquired, processing the job...
[2025-01-12 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:52:02] Production.INFO: ==2661== Lock acquired, processing the job...
[2025-01-13 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 23:52:02] Production.INFO: ==2659== Releasing lock...
[2025-01-12 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:52:02] Production.INFO: ==2661== Releasing lock...
[2025-01-13 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:52:03] Production.INFO: ==2664== Lock acquired, processing the job...
[2025-01-12 23:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:52:03] Production.INFO: ==2668== Lock acquired, processing the job...
[2025-01-12 23:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:52:03] Production.INFO: ==2666== Lock acquired, processing the job...
[2025-01-12 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:52:04] Production.INFO: ==2670== Lock acquired, processing the job...
[2025-01-12 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:52:04] Production.INFO: ==2672== Lock acquired, processing the job...
[2025-01-12 23:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:52:04] Production.INFO: Account Balance Start.
[2025-01-12 23:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:52:04] Production.INFO: 117
[2025-01-12 23:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 23:52:04] Production.INFO: ==2674== Lock acquired, processing the job...
[2025-01-12 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:52:04] Production.INFO: Total Charge 0
[2025-01-12 23:52:04] Production.INFO: CreateAllLog End
[2025-01-12 23:52:04] Production.INFO: ==2666== Releasing lock...
[2025-01-12 23:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:52:04] Production.INFO: count ==21
[2025-01-12 23:52:04] Production.ERROR: done
[2025-01-12 23:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-12 23:52:04] Production.INFO: count ==21
[2025-01-12 23:52:04] Production.INFO: Account Balance End.
[2025-01-12 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235084') start
[2025-01-12 23:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:52:04] Production.INFO: ==2670== Releasing lock...
[2025-01-12 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:52:04] Production.ERROR: done
[2025-01-12 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235084') end
[2025-01-12 23:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:52:04] Production.INFO: 1
[2025-01-12 23:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:52:05] Production.INFO: ==2674== Releasing lock...
[2025-01-12 23:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:52:05
[end_date_ymd] => 2025-01-12 23:52:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:52:05' and `end` < '2025-01-12 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-12 23:52:12] Production.ERROR: CronJobId end10
[2025-01-12 23:52:12] Production.INFO: ==2668== Releasing lock...
[2025-01-12 23:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:52:14] Production.INFO: call_cost start
[2025-01-12 23:52:14] Production.INFO: call_cost end
[2025-01-12 23:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:52:14] Production.INFO: ==2664== Releasing lock...
[2025-01-12 23:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:52:19] Production.INFO: count ==446
[2025-01-12 23:52:19] Production.ERROR: pbx CDR StartTime 2025-01-12 20:52:05 - End Time 2025-01-12 23:52:05
[2025-01-12 23:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235085', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235085', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235085', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235085', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:52:19] Production.INFO: ProcessCDR(1,14235085,1,1,2)
[2025-01-12 23:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235085', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235085', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:52:22] Production.INFO: ==2672== Releasing lock...
[2025-01-12 23:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:52:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:53:01] Production.INFO: ==2730== Lock acquired, processing the job...
[2025-01-13 04:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:53:01] Production.INFO: neon service started
[2025-01-13 04:53:01] Production.INFO: neon service started
[2025-01-13 04:53:01] Production.INFO: ==2730== Releasing lock...
[2025-01-13 04:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:53:02] Production.INFO: ==2732== Lock acquired, processing the job...
[2025-01-12 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:53:02] Production.INFO: ==2734== Lock acquired, processing the job...
[2025-01-13 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:53:02] Production.INFO: ==2734== Releasing lock...
[2025-01-13 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:53:02] Production.INFO: ==2732== Releasing lock...
[2025-01-12 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:53:03] Production.INFO: ==2741== Lock acquired, processing the job...
[2025-01-12 23:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:53:03] Production.INFO: ==2745== Lock acquired, processing the job...
[2025-01-12 23:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:53:03] Production.INFO: ==2737== Lock acquired, processing the job...
[2025-01-12 23:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:53:03] Production.INFO: ==2739== Lock acquired, processing the job...
[2025-01-12 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:53:03] Production.INFO: ==2743== Lock acquired, processing the job...
[2025-01-12 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:53:03] Production.INFO: ==2747== Lock acquired, processing the job...
[2025-01-12 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:53:03] Production.INFO: Account Balance Start.
[2025-01-12 23:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:53:03] Production.INFO: 117
[2025-01-12 23:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:53:03] Production.ERROR: done
[2025-01-12 23:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:53:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:53:04] Production.INFO: ==2739== Releasing lock...
[2025-01-12 23:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:53:04] Production.INFO: count ==21
[2025-01-12 23:53:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:53:04] Production.INFO: count ==21
[2025-01-12 23:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235089') start
[2025-01-12 23:53:04] Production.ERROR: done
[2025-01-12 23:53:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235089') end
[2025-01-12 23:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:53:04] Production.INFO: 1
[2025-01-12 23:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:53:04] Production.INFO: Total Charge 0
[2025-01-12 23:53:04] Production.INFO: ==2747== Releasing lock...
[2025-01-12 23:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:53:04] Production.INFO: CreateAllLog End
[2025-01-12 23:53:04] Production.INFO: Account Balance End.
[2025-01-12 23:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:53:04] Production.INFO: ==2743== Releasing lock...
[2025-01-12 23:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:53:05
[end_date_ymd] => 2025-01-12 23:53:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:53:05' and `end` < '2025-01-12 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-12 23:53:11] Production.ERROR: CronJobId end10
[2025-01-12 23:53:11] Production.INFO: ==2741== Releasing lock...
[2025-01-12 23:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:53:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:53:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:53:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:53:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:53:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:53:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:53:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:53:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:53:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:53:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:53:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:53:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:53:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:53:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:53:12] Production.INFO: call_cost start
[2025-01-12 23:53:12] Production.INFO: call_cost end
[2025-01-12 23:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:53:13] Production.INFO: ==2737== Releasing lock...
[2025-01-12 23:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:53:17] Production.INFO: count ==445
[2025-01-12 23:53:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:53:05 - End Time 2025-01-12 23:53:05
[2025-01-12 23:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235090', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235090', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235090', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235090', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:53:18] Production.INFO: ProcessCDR(1,14235090,1,1,2)
[2025-01-12 23:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235090', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235090', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:53:21] Production.INFO: ==2745== Releasing lock...
[2025-01-12 23:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:53:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:54:02] Production.INFO: ==2841== Lock acquired, processing the job...
[2025-01-13 04:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:54:02] Production.INFO: neon service started
[2025-01-13 04:54:02] Production.INFO: neon service started
[2025-01-13 04:54:02] Production.INFO: ==2841== Releasing lock...
[2025-01-13 04:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:54:02] Production.INFO: ==2846== Lock acquired, processing the job...
[2025-01-13 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:54:02] Production.INFO: ==2846== Releasing lock...
[2025-01-13 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:54:02] Production.INFO: ==2844== Lock acquired, processing the job...
[2025-01-12 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:54:02] Production.INFO: ==2844== Releasing lock...
[2025-01-12 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:54:03] Production.INFO: ==2854== Lock acquired, processing the job...
[2025-01-12 23:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:54:03] Production.INFO: ==2856== Lock acquired, processing the job...
[2025-01-12 23:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:54:03] Production.INFO: Account Balance Start.
[2025-01-12 23:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:54:03] Production.INFO: 117
[2025-01-12 23:54:03] Production.INFO: ==2848== Lock acquired, processing the job...
[2025-01-12 23:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:54:03] Production.INFO: ==2850== Lock acquired, processing the job...
[2025-01-12 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:54:03] Production.INFO: ==2852== Lock acquired, processing the job...
[2025-01-12 23:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:54:03] Production.INFO: ==2858== Lock acquired, processing the job...
[2025-01-12 23:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:54:04] Production.ERROR: done
[2025-01-12 23:54:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-12 23:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:54:04] Production.INFO: count ==21
[2025-01-12 23:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 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-12 23:54:04] Production.INFO: count ==21
[2025-01-12 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235094') start
[2025-01-12 23:54:04] Production.ERROR: done
[2025-01-12 23:54:04] Production.INFO: ==2850== Releasing lock...
[2025-01-12 23:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:54:04] Production.INFO: Total Charge 0
[2025-01-12 23:54:04] Production.INFO: CreateAllLog End
[2025-01-12 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235094') end
[2025-01-12 23:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:54:04] Production.INFO: 1
[2025-01-12 23:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:54:04] Production.INFO: Account Balance End.
[2025-01-12 23:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:54:04] Production.INFO: ==2854== Releasing lock...
[2025-01-12 23:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:54:04] Production.INFO: ==2858== Releasing lock...
[2025-01-12 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:54:05
[end_date_ymd] => 2025-01-12 23:54:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:54:05' and `end` < '2025-01-12 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-12 23:54:11] Production.ERROR: CronJobId end10
[2025-01-12 23:54:11] Production.INFO: ==2852== Releasing lock...
[2025-01-12 23:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:54:13] Production.INFO: call_cost start
[2025-01-12 23:54:13] Production.INFO: call_cost end
[2025-01-12 23:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:54:13] Production.INFO: ==2848== Releasing lock...
[2025-01-12 23:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:54:18] Production.INFO: count ==444
[2025-01-12 23:54:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:54:05 - End Time 2025-01-12 23:54:05
[2025-01-12 23:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235095', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235095', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235095', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235095', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:54:18] Production.INFO: ProcessCDR(1,14235095,1,1,2)
[2025-01-12 23:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235095', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235095', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:54:21] Production.INFO: ==2856== Releasing lock...
[2025-01-12 23:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:54:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 04:55:01] Production.INFO: ==2911== Lock acquired, processing the job...
[2025-01-13 04:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:55:01] Production.INFO: neon service started
[2025-01-13 04:55:01] Production.INFO: neon service started
[2025-01-13 04:55:01] Production.INFO: ==2911== Releasing lock...
[2025-01-13 04:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:55:01] Production.INFO: ==2913== Lock acquired, processing the job...
[2025-01-12 23:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:55:02] Production.INFO: ==2913== Releasing lock...
[2025-01-12 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:55:02] Production.INFO: ==2915== Lock acquired, processing the job...
[2025-01-13 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:55:02] Production.INFO: ==2915== Releasing lock...
[2025-01-13 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:55:02] Production.INFO: ==2922== Lock acquired, processing the job...
[2025-01-12 23:55:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:55:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:55:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:55:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:55:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:55:03] Production.INFO: ==2918== Lock acquired, processing the job...
[2025-01-12 23:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:55:03] Production.INFO: ==2920== Lock acquired, processing the job...
[2025-01-12 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:55:03] Production.INFO: ==2924== Lock acquired, processing the job...
[2025-01-12 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:55:03] Production.INFO: ==2928== Lock acquired, processing the job...
[2025-01-12 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:55:03] Production.INFO: ==2926== Lock acquired, processing the job...
[2025-01-12 23:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:55:03] Production.INFO: Account Balance Start.
[2025-01-12 23:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:55:03] Production.INFO: 117
[2025-01-12 23:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:55:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:55:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-12 23:55:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:55:03] Production.INFO: count ==21
[2025-01-12 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-12 23:55:03] Production.INFO: count ==21
[2025-01-12 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235099') start
[2025-01-12 23:55:03] Production.INFO: Total Charge 0
[2025-01-12 23:55:03] Production.INFO: CreateAllLog End
[2025-01-12 23:55:03] Production.INFO: ==2920== Releasing lock...
[2025-01-12 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235099') end
[2025-01-12 23:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:55:03] Production.INFO: 1
[2025-01-12 23:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:55:04] Production.INFO: ==2928== Releasing lock...
[2025-01-12 23:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:55:04] Production.ERROR: done
[2025-01-12 23:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:55:04] Production.INFO: Account Balance End.
[2025-01-12 23:55:04] Production.ERROR: done
[2025-01-12 23:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:55:04] Production.INFO: ==2924== Releasing lock...
[2025-01-12 23:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:55:05
[end_date_ymd] => 2025-01-12 23:55:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:55:05' and `end` < '2025-01-12 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-12 23:55:10] Production.ERROR: CronJobId end10
[2025-01-12 23:55:10] Production.INFO: ==2922== Releasing lock...
[2025-01-12 23:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:55:12] Production.INFO: call_cost start
[2025-01-12 23:55:12] Production.INFO: call_cost end
[2025-01-12 23:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:55:13] Production.INFO: ==2918== Releasing lock...
[2025-01-12 23:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:55:18] Production.INFO: count ==442
[2025-01-12 23:55:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:55:05 - End Time 2025-01-12 23:55:05
[2025-01-12 23:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235100', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235100', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235100', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235100', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:55:18] Production.INFO: ProcessCDR(1,14235100,1,1,2)
[2025-01-12 23:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235100', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235100', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:55:21] Production.INFO: ==2926== Releasing lock...
[2025-01-12 23:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:55:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:56:01] Production.INFO: ==2983== Lock acquired, processing the job...
[2025-01-13 04:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:56:01] Production.INFO: neon service started
[2025-01-13 04:56:02] Production.INFO: neon service started
[2025-01-13 04:56:02] Production.INFO: ==2983== Releasing lock...
[2025-01-13 04:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:56:02] Production.INFO: ==2985== Lock acquired, processing the job...
[2025-01-12 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:56:02] Production.INFO: ==2987== Lock acquired, processing the job...
[2025-01-13 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:56:02] Production.INFO: ==2987== Releasing lock...
[2025-01-13 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:56:02] Production.INFO: ==2985== Releasing lock...
[2025-01-12 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 23:56:03] Production.INFO: ==2990== Lock acquired, processing the job...
[2025-01-12 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:56:03] Production.INFO: ==2992== Lock acquired, processing the job...
[2025-01-12 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:56:03] Production.INFO: ==2996== Lock acquired, processing the job...
[2025-01-12 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:56:03] Production.INFO: Account Balance Start.
[2025-01-12 23:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:56:03] Production.INFO: ==2994== Lock acquired, processing the job...
[2025-01-12 23:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:56:03] Production.INFO: 117
[2025-01-12 23:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:56:03] Production.INFO: ==2998== Lock acquired, processing the job...
[2025-01-12 23:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:56:03] Production.INFO: ==2992== Releasing lock...
[2025-01-12 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:56:04] Production.INFO: ==3000== Lock acquired, processing the job...
[2025-01-12 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:56:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:56:04] Production.INFO: count ==21
[2025-01-12 23:56:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:56:04] Production.INFO: count ==21
[2025-01-12 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235104') start
[2025-01-12 23:56:04] Production.INFO: Total Charge 0
[2025-01-12 23:56:04] Production.INFO: CreateAllLog End
[2025-01-12 23:56:04] Production.ERROR: done
[2025-01-12 23:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235104') end
[2025-01-12 23:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:56:04] Production.INFO: 1
[2025-01-12 23:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:56:04] Production.ERROR: done
[2025-01-12 23:56:04] Production.INFO: ==3000== Releasing lock...
[2025-01-12 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:56:04] Production.INFO: Account Balance End.
[2025-01-12 23:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:56:04] Production.INFO: ==2996== Releasing lock...
[2025-01-12 23:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:56:05
[end_date_ymd] => 2025-01-12 23:56:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:56:05' and `end` < '2025-01-12 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-12 23:56:10] Production.ERROR: CronJobId end10
[2025-01-12 23:56:10] Production.INFO: ==2994== Releasing lock...
[2025-01-12 23:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:56:12] Production.INFO: call_cost start
[2025-01-12 23:56:12] Production.INFO: call_cost end
[2025-01-12 23:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:56:13] Production.INFO: ==2990== Releasing lock...
[2025-01-12 23:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:56:17] Production.INFO: count ==442
[2025-01-12 23:56:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:56:05 - End Time 2025-01-12 23:56:05
[2025-01-12 23:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235105', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235105', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235105', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235105', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:56:18] Production.INFO: ProcessCDR(1,14235105,1,1,2)
[2025-01-12 23:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235105', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235105', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:56:21] Production.INFO: ==2998== Releasing lock...
[2025-01-12 23:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:56:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:57:01] Production.INFO: ==3057== Lock acquired, processing the job...
[2025-01-13 04:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:57:01] Production.INFO: neon service started
[2025-01-13 04:57:01] Production.INFO: neon service started
[2025-01-13 04:57:01] Production.INFO: ==3057== Releasing lock...
[2025-01-13 04:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:57:01] Production.INFO: ==3059== Lock acquired, processing the job...
[2025-01-12 23:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:57:02] Production.INFO: ==3059== Releasing lock...
[2025-01-12 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:57:02] Production.INFO: ==3061== Lock acquired, processing the job...
[2025-01-13 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:57:02] Production.INFO: ==3061== Releasing lock...
[2025-01-13 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:57:03] Production.INFO: ==3063== Lock acquired, processing the job...
[2025-01-12 23:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:57:03] Production.INFO: ==3070== Lock acquired, processing the job...
[2025-01-12 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:57:03] Production.INFO: ==3074== Lock acquired, processing the job...
[2025-01-12 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:57:03] Production.INFO: Account Balance Start.
[2025-01-12 23:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:57:03] Production.INFO: 117
[2025-01-12 23:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:57:03] Production.INFO: ==3065== Lock acquired, processing the job...
[2025-01-12 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-12 23:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:57:03] Production.INFO: count ==21
[2025-01-12 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-12 23:57:03] Production.INFO: count ==21
[2025-01-12 23:57:03] Production.INFO: ==3067== Lock acquired, processing the job...
[2025-01-12 23:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:57:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235108') start
[2025-01-12 23:57:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:57:03] Production.INFO: ==3072== Lock acquired, processing the job...
[2025-01-12 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:57:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235108') end
[2025-01-12 23:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:57:03] Production.INFO: 1
[2025-01-12 23:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:57:03] Production.INFO: ==3074== Releasing lock...
[2025-01-12 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:57:03] Production.INFO: Total Charge 0
[2025-01-12 23:57:03] Production.INFO: CreateAllLog End
[2025-01-12 23:57:03] Production.INFO: ==3065== Releasing lock...
[2025-01-12 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:57:03] Production.ERROR: done
[2025-01-12 23:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:57:03] Production.ERROR: done
[2025-01-12 23:57:03] Production.INFO: Account Balance End.
[2025-01-12 23:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:57:04] Production.INFO: ==3070== Releasing lock...
[2025-01-12 23:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:57:04
[end_date_ymd] => 2025-01-12 23:57:04
[RateCDR] => 1
)
[2025-01-12 23:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:57:04' and `end` < '2025-01-12 23:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:57:11] Production.ERROR: CronJobId end10
[2025-01-12 23:57:11] Production.INFO: ==3067== Releasing lock...
[2025-01-12 23:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:57:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:57:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:57:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:57:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:57:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:57:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:57:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:57:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:57:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:57:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:57:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:57:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:57:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:57:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:57:12] Production.INFO: call_cost start
[2025-01-12 23:57:12] Production.INFO: call_cost end
[2025-01-12 23:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:57:13] Production.INFO: ==3063== Releasing lock...
[2025-01-12 23:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:57:17] Production.INFO: count ==442
[2025-01-12 23:57:17] Production.ERROR: pbx CDR StartTime 2025-01-12 20:57:04 - End Time 2025-01-12 23:57:04
[2025-01-12 23:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235110', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235110', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235110', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235110', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:57:17] Production.INFO: ProcessCDR(1,14235110,1,1,2)
[2025-01-12 23:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235110', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235110', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:57:20] Production.INFO: ==3072== Releasing lock...
[2025-01-12 23:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:57:20] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:58:01] Production.INFO: ==3129== Lock acquired, processing the job...
[2025-01-13 04:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:58:01] Production.INFO: neon service started
[2025-01-13 04:58:01] Production.INFO: neon service started
[2025-01-13 04:58:01] Production.INFO: ==3129== Releasing lock...
[2025-01-13 04:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:58:02] Production.INFO: ==3131== Lock acquired, processing the job...
[2025-01-12 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:58:02] Production.INFO: ==3131== Releasing lock...
[2025-01-12 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:58:02] Production.INFO: ==3133== Lock acquired, processing the job...
[2025-01-13 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:58:02] Production.INFO: ==3133== Releasing lock...
[2025-01-13 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:58:03] Production.INFO: ==3135== Lock acquired, processing the job...
[2025-01-12 23:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:58:03] Production.INFO: ==3143== Lock acquired, processing the job...
[2025-01-12 23:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:58:03] Production.INFO: ==3145== Lock acquired, processing the job...
[2025-01-12 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:58:03] Production.ERROR: done
[2025-01-12 23:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:58:03] Production.INFO: ==3137== Lock acquired, processing the job...
[2025-01-12 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:58:03] Production.INFO: count ==21
[2025-01-12 23:58:03] Production.INFO: ==3141== Lock acquired, processing the job...
[2025-01-12 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 23:58:03] Production.INFO: count ==21
[2025-01-12 23:58:03] Production.INFO: ==3139== Lock acquired, processing the job...
[2025-01-12 23:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235112') start
[2025-01-12 23:58:03] Production.ERROR: done
[2025-01-12 23:58:03] Production.INFO: Account Balance Start.
[2025-01-12 23:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235112') end
[2025-01-12 23:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:58:03] Production.INFO: 1
[2025-01-12 23:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:58:03] Production.INFO: 117
[2025-01-12 23:58:03] Production.INFO: ==3145== Releasing lock...
[2025-01-12 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 23:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 23:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 23:58:03] Production.INFO: ==3137== Releasing lock...
[2025-01-12 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:58:03] Production.INFO: Total Charge 0
[2025-01-12 23:58:03] Production.INFO: CreateAllLog End
[2025-01-12 23:58:04] Production.INFO: Account Balance End.
[2025-01-12 23:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:58:04] Production.INFO: ==3141== Releasing lock...
[2025-01-12 23:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:58:04
[end_date_ymd] => 2025-01-12 23:58:04
[RateCDR] => 1
)
[2025-01-12 23:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 20:58:04' and `end` < '2025-01-12 23:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 23:58:10] Production.ERROR: CronJobId end10
[2025-01-12 23:58:10] Production.INFO: ==3139== Releasing lock...
[2025-01-12 23:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:58:12] Production.INFO: call_cost start
[2025-01-12 23:58:12] Production.INFO: call_cost end
[2025-01-12 23:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:58:13] Production.INFO: ==3135== Releasing lock...
[2025-01-12 23:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:58:18] Production.INFO: count ==442
[2025-01-12 23:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:58:04 - End Time 2025-01-12 23:58:04
[2025-01-12 23:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235114', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235114', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235114', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235114', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:58:18] Production.INFO: ProcessCDR(1,14235114,1,1,2)
[2025-01-12 23:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235114', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235114', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:58:21] Production.INFO: ==3143== Releasing lock...
[2025-01-12 23:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:58:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 04:59:02] Production.INFO: ==3206== Lock acquired, processing the job...
[2025-01-13 04:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 04:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 04:59:02] Production.INFO: neon service started
[2025-01-13 04:59:02] Production.INFO: neon service started
[2025-01-13 04:59:02] Production.INFO: ==3206== Releasing lock...
[2025-01-13 04:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 04:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 23:59:02] Production.INFO: ==3208== Lock acquired, processing the job...
[2025-01-12 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 23:59:02] Production.INFO: ==3208== Releasing lock...
[2025-01-12 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 23:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:59:02] Production.INFO: ==3210== Lock acquired, processing the job...
[2025-01-13 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:59:03] Production.INFO: ==3210== Releasing lock...
[2025-01-13 04:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 04:59:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 23:59:03] Production.INFO: ==3216== Lock acquired, processing the job...
[2025-01-12 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 23:59:03] Production.INFO: ==3220== Lock acquired, processing the job...
[2025-01-12 23:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 23:59:03] Production.INFO: ==3212== Lock acquired, processing the job...
[2025-01-12 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 23:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 23:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 23:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 23:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 23:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 23:59:03] Production.INFO: ==3214== Lock acquired, processing the job...
[2025-01-12 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 23:59:04] Production.INFO: ==3218== Lock acquired, processing the job...
[2025-01-12 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 23:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 23:59:04] Production.INFO: ==3222== Lock acquired, processing the job...
[2025-01-12 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 23:59:04] Production.ERROR: done
[2025-01-12 23:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 23:59:04] Production.INFO: Account Balance Start.
[2025-01-12 23:59:04] Production.INFO: CreateAllLog Start
[2025-01-12 23:59:04] Production.INFO: 117
[2025-01-12 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-12 23:59:04] Production.INFO: count ==21
[2025-01-12 23:59:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-12 23:59:04] Production.INFO: count ==21
[2025-01-12 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:59:04] Production.ERROR: done
[2025-01-12 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235119') start
[2025-01-12 23:59:04] Production.INFO: Date 2025-01-09
[2025-01-12 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:59:04] Production.INFO: ==3214== Releasing lock...
[2025-01-12 23:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 23:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 23:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235119') end
[2025-01-12 23:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 23:59:04] Production.INFO: 1
[2025-01-12 23:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 23:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 23:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 23:59:04] Production.INFO: Total Charge 0
[2025-01-12 23:59:04] Production.INFO: ==3222== Releasing lock...
[2025-01-12 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 23:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 23:59:04] Production.INFO: CreateAllLog End
[2025-01-12 23:59:04] Production.INFO: Account Balance End.
[2025-01-12 23:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 23:59:04] Production.INFO: ==3218== Releasing lock...
[2025-01-12 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 23:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 23:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 20:59:05
[end_date_ymd] => 2025-01-12 23:59:05
[RateCDR] => 1
)
[2025-01-12 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-12 20:59:05' and `end` < '2025-01-12 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-12 23:59:11] Production.ERROR: CronJobId end10
[2025-01-12 23:59:11] Production.INFO: ==3216== Releasing lock...
[2025-01-12 23:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 23:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 23:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 23:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 23:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 23:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 23:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 23:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 23:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 23:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 23:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 23:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 23:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 23:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 23:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 23:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 23:59:13] Production.INFO: call_cost start
[2025-01-12 23:59:13] Production.INFO: call_cost end
[2025-01-12 23:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 23:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 23:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 23:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 23:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 23:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 23:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 23:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 23:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 23:59:14] Production.INFO: ==3212== Releasing lock...
[2025-01-12 23:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 23:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 23:59:18] Production.INFO: count ==445
[2025-01-12 23:59:18] Production.ERROR: pbx CDR StartTime 2025-01-12 20:59:05 - End Time 2025-01-12 23:59:05
[2025-01-12 23:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235120', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235120', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235120', 'tblTempVendorCDR_20' ) start
[2025-01-12 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235120', 'tblTempVendorCDR_20' ) end
[2025-01-12 23:59:18] Production.INFO: ProcessCDR(1,14235120,1,1,2)
[2025-01-12 23:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 23:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 23:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235120', 'tblTempUsageDetail_20' ) start
[2025-01-12 23:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235120', 'tblTempUsageDetail_20' ) end
[2025-01-12 23:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 23:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 23:59:21] Production.INFO: ==3220== Releasing lock...
[2025-01-12 23:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 23:59:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 05:00:01] Production.INFO: ==3284== Lock acquired, processing the job...
[2025-01-13 05:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:00:01] Production.INFO: neon service started
[2025-01-13 05:00:01] Production.INFO: neon service started
[2025-01-13 05:00:01] Production.INFO: ==3284== Releasing lock...
[2025-01-13 05:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:00:02] Production.INFO: ==3286== Lock acquired, processing the job...
[2025-01-13 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:00:02] Production.INFO: ==3288== Lock acquired, processing the job...
[2025-01-13 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:00:02] Production.INFO: ==3288== Releasing lock...
[2025-01-13 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:00:02] Production.INFO: ==3286== Releasing lock...
[2025-01-13 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:00:03] Production.INFO: ==3291== Lock acquired, processing the job...
[2025-01-13 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 00:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 00:00:03] Production.INFO: ==3293== Lock acquired, processing the job...
[2025-01-13 00:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:00:03] Production.INFO: ==3295== Lock acquired, processing the job...
[2025-01-13 00:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 00:00:03] Production.INFO: ==3291== Releasing lock...
[2025-01-13 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 00:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 00:00:04] Production.INFO: ==3297== Lock acquired, processing the job...
[2025-01-13 00:00:04] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts#
[2025-01-13 00:00:04] Production.INFO: ==3299== Lock acquired, processing the job...
[2025-01-13 00:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:00:04] Production.INFO: ==3305== Lock acquired, processing the job...
[2025-01-13 00:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 00:00:04] Production.INFO: ==3301== Lock acquired, processing the job...
[2025-01-13 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:00:04] Production.INFO: Account Balance Start.
[2025-01-13 00:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:00:04] Production.INFO: 117
[2025-01-13 00:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:00:04] Production.INFO: ==3307== Lock acquired, processing the job...
[2025-01-13 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:00:04] Production.INFO: ==3303== Lock acquired, processing the job...
[2025-01-13 00:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:00:04] Production.INFO: ==3295== Releasing lock...
[2025-01-13 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:00:04] Production.ERROR: done
[2025-01-13 00:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 00:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235125', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 00:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 00:00:04] Production.INFO: count ==21
[2025-01-13 00:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 00:00:04] Production.INFO: count ==21
[2025-01-13 00:00:05] Production.ERROR: done
[2025-01-13 00:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:00:05] Production.INFO: Total Charge 0
[2025-01-13 00:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235124') start
[2025-01-13 00:00:05] Production.INFO: CreateAllLog End
[2025-01-13 00:00:05] Production.ERROR: done
[2025-01-13 00:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235124') end
[2025-01-13 00:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:00:05] Production.INFO: 1
[2025-01-13 00:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:00:05] Production.INFO: ==3307== Releasing lock...
[2025-01-13 00:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:00:05] Production.INFO: Account Balance End.
[2025-01-13 00:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 00:00:05] Production.INFO: ==3301== Releasing lock...
[2025-01-13 00:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:00:06
[end_date_ymd] => 2025-01-13 00:00:06
[RateCDR] => 1
)
[2025-01-13 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-12 21:00:06' and `end` < '2025-01-13 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-13 00:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235125', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 00:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 00:00:10] Production.INFO: ProcessCDR(1,14235125,1,1,2)
[2025-01-13 00:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235125,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235125,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:00:10] Production.INFO: ==3305== Releasing lock...
[2025-01-13 00:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 00:00:10] Production.INFO: 26 MB #Memory Used#
[2025-01-13 00:00:11] Production.ERROR: tmp_tblUsageDetailsReport_120250109 done
[2025-01-13 00:00:11] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109 done
[2025-01-13 00:00:11] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250109
[2025-01-13 00:00:12] Production.INFO: call prc_generateSummary(1,'2025-01-09','2025-01-09','120250109')
[2025-01-13 00:00:17] Production.ERROR: CronJobId end10
[2025-01-13 00:00:17] Production.INFO: ==3299== Releasing lock...
[2025-01-13 00:00:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:00:17] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:00:18] Production.INFO: call prc_generateVendorSummary(1,'2025-01-09','2025-01-09','120250109')
[2025-01-13 00:00:19] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:00:19] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:00:19] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:00:19] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:00:19] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:00:19] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:00:19] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:00:19] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:00:19] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:00:19] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:00:19] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:00:19] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:00:19] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:00:19] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:00:19] Production.INFO: call_cost start
[2025-01-13 00:00:20] Production.INFO: call_cost end
[2025-01-13 00:00:20] Production.INFO: count ==454
[2025-01-13 00:00:20] Production.ERROR: pbx CDR StartTime 2025-01-12 21:00:06 - End Time 2025-01-13 00:00:06
[2025-01-13 00:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235126', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235126', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235126', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235126', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:00:20] Production.INFO: ProcessCDR(1,14235126,1,1,2)
[2025-01-13 00:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:00:20] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:00:20] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:00:20] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:00:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:00:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:00:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:00:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:00:20] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:00:20] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:00:20] Production.INFO: ==3293== Releasing lock...
[2025-01-13 00:00:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:00:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:00:21] Production.ERROR: tmp_tblUsageDetailsReport_120250110 done
[2025-01-13 00:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:00:21] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110 done
[2025-01-13 00:00:21] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250110
[2025-01-13 00:00:23] Production.INFO: call prc_generateSummary(1,'2025-01-10','2025-01-10','120250110')
[2025-01-13 00:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235126', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235126', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:00:26] Production.INFO: ==3303== Releasing lock...
[2025-01-13 00:00:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:00:26] Production.INFO: 32 MB #Memory Used#
[2025-01-13 00:00:26] Production.INFO: call prc_generateVendorSummary(1,'2025-01-10','2025-01-10','120250110')
[2025-01-13 00:00:29] Production.ERROR: tmp_tblUsageDetailsReport_120250111 done
[2025-01-13 00:00:29] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111 done
[2025-01-13 00:00:29] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250111
[2025-01-13 00:00:29] Production.INFO: call prc_generateSummary(1,'2025-01-11','2025-01-11','120250111')
[2025-01-13 00:00:32] Production.INFO: call prc_generateVendorSummary(1,'2025-01-11','2025-01-11','120250111')
[2025-01-13 00:00:34] Production.ERROR: tmp_tblUsageDetailsReport_120250112 done
[2025-01-13 00:00:34] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112 done
[2025-01-13 00:00:34] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250112
[2025-01-13 00:00:34] Production.INFO: call prc_generateSummary(1,'2025-01-12','2025-01-12','120250112')
[2025-01-13 00:00:37] Production.INFO: call prc_generateVendorSummary(1,'2025-01-12','2025-01-12','120250112')
[2025-01-13 00:00:40] Production.ERROR: CronJobId end9
[2025-01-13 00:00:40] Production.INFO: ==3297== Releasing lock...
[2025-01-13 00:00:40] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops#
[2025-01-13 00:00:40] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:01:02] Production.INFO: ==3380== Lock acquired, processing the job...
[2025-01-13 05:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:01:02] Production.INFO: neon service started
[2025-01-13 05:01:02] Production.INFO: neon service started
[2025-01-13 05:01:02] Production.INFO: ==3380== Releasing lock...
[2025-01-13 05:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:01:02] Production.INFO: ==3389== Lock acquired, processing the job...
[2025-01-13 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:01:02] Production.INFO: ==3391== Lock acquired, processing the job...
[2025-01-13 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:01:02] Production.INFO: ==3391== Releasing lock...
[2025-01-13 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:01:03] Production.INFO: ==3389== Releasing lock...
[2025-01-13 00:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:01:03] Production.INFO: ==3394== Lock acquired, processing the job...
[2025-01-13 00:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:01:03] Production.INFO: ==3396== Lock acquired, processing the job...
[2025-01-13 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:01:03] Production.INFO: ==3398== Lock acquired, processing the job...
[2025-01-13 00:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:01:04] Production.INFO: ==3396== Releasing lock...
[2025-01-13 00:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:01:04] Production.INFO: ==3404== Lock acquired, processing the job...
[2025-01-13 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:01:04] Production.INFO: ==3400== Lock acquired, processing the job...
[2025-01-13 00:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:01:04] Production.INFO: Account Balance Start.
[2025-01-13 00:01:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:01:04] Production.INFO: 117
[2025-01-13 00:01:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:01:04] Production.INFO: ==3402== Lock acquired, processing the job...
[2025-01-13 00:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:01:04] Production.INFO: count ==21
[2025-01-13 00:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:01:04] Production.INFO: count ==21
[2025-01-13 00:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235130') start
[2025-01-13 00:01:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235130') end
[2025-01-13 00:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:01:04] Production.INFO: 1
[2025-01-13 00:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:01:04] Production.INFO: ==3404== Releasing lock...
[2025-01-13 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:01:04] Production.INFO: Total Charge 0
[2025-01-13 00:01:04] Production.INFO: CreateAllLog End
[2025-01-13 00:01:04] Production.ERROR: done
[2025-01-13 00:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:01:05] Production.ERROR: done
[2025-01-13 00:01:05] Production.INFO: Account Balance End.
[2025-01-13 00:01:05] Production.ERROR: CronJobId end 12
[2025-01-13 00:01:05] Production.INFO: ==3400== Releasing lock...
[2025-01-13 00:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:01:06
[end_date_ymd] => 2025-01-13 00:01:06
[RateCDR] => 1
)
[2025-01-13 00:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:01:06' and `end` < '2025-01-13 00:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:01:11] Production.ERROR: CronJobId end10
[2025-01-13 00:01:11] Production.INFO: ==3398== Releasing lock...
[2025-01-13 00:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:01:14] Production.INFO: call_cost start
[2025-01-13 00:01:14] Production.INFO: call_cost end
[2025-01-13 00:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:01:15] Production.INFO: ==3394== Releasing lock...
[2025-01-13 00:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:01:19] Production.INFO: count ==460
[2025-01-13 00:01:19] Production.ERROR: pbx CDR StartTime 2025-01-12 21:01:06 - End Time 2025-01-13 00:01:06
[2025-01-13 00:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235131', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235131', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235131', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235131', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:01:19] Production.INFO: ProcessCDR(1,14235131,1,1,2)
[2025-01-13 00:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235131', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235131', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:01:22] Production.INFO: ==3402== Releasing lock...
[2025-01-13 00:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:01:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 05:02:01] Production.INFO: ==3457== Lock acquired, processing the job...
[2025-01-13 05:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:02:01] Production.INFO: neon service started
[2025-01-13 05:02:01] Production.INFO: neon service started
[2025-01-13 05:02:01] Production.INFO: ==3457== Releasing lock...
[2025-01-13 05:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:02:02] Production.INFO: ==3461== Lock acquired, processing the job...
[2025-01-13 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:02:02] Production.INFO: ==3461== Releasing lock...
[2025-01-13 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:02:02] Production.INFO: ==3459== Lock acquired, processing the job...
[2025-01-13 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:02:02] Production.INFO: ==3459== Releasing lock...
[2025-01-13 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:02:03] Production.INFO: ==3463== Lock acquired, processing the job...
[2025-01-13 00:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:02:03] Production.INFO: ==3469== Lock acquired, processing the job...
[2025-01-13 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:02:03] Production.INFO: ==3465== Lock acquired, processing the job...
[2025-01-13 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:02:03] Production.INFO: ==3474== Lock acquired, processing the job...
[2025-01-13 00:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:02:03] Production.INFO: Account Balance Start.
[2025-01-13 00:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:02:03] Production.INFO: 117
[2025-01-13 00:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:02:03] Production.INFO: count ==21
[2025-01-13 00:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:02:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:02:03] Production.INFO: count ==21
[2025-01-13 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235134') start
[2025-01-13 00:02:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:02:03] Production.INFO: ==3467== Lock acquired, processing the job...
[2025-01-13 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:02:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:02:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235134') end
[2025-01-13 00:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:02:03] Production.INFO: 1
[2025-01-13 00:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:02:03] Production.INFO: ==3474== Releasing lock...
[2025-01-13 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:02:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:02:03] Production.INFO: ==3472== Lock acquired, processing the job...
[2025-01-13 00:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:02:03] Production.INFO: Total Charge 0
[2025-01-13 00:02:03] Production.INFO: CreateAllLog End
[2025-01-13 00:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:02:03] Production.INFO: ==3465== Releasing lock...
[2025-01-13 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:02:04] Production.INFO: Account Balance End.
[2025-01-13 00:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:02:04] Production.INFO: ==3469== Releasing lock...
[2025-01-13 00:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:02:04] Production.ERROR: done
[2025-01-13 00:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:02:04] Production.ERROR: done
[2025-01-13 00:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:02:05
[end_date_ymd] => 2025-01-13 00:02:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:02:05' and `end` < '2025-01-13 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-13 00:02:10] Production.ERROR: CronJobId end10
[2025-01-13 00:02:10] Production.INFO: ==3467== Releasing lock...
[2025-01-13 00:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:02:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:02:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:02:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:02:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:02:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:02:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:02:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:02:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:02:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:02:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:02:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:02:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:02:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:02:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:02:12] Production.INFO: call_cost start
[2025-01-13 00:02:12] Production.INFO: call_cost end
[2025-01-13 00:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:02:13] Production.INFO: ==3463== Releasing lock...
[2025-01-13 00:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:02:24] Production.INFO: count ==123
[2025-01-13 00:02:24] Production.ERROR: pbx CDR StartTime 2025-01-12 21:02:05 - End Time 2025-01-13 00:02:05
[2025-01-13 00:02:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235136', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235136', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235136', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235136', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:02:24] Production.INFO: ProcessCDR(1,14235136,1,1,2)
[2025-01-13 00:02:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:02:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:02:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:02:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235136', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235136', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:02:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:02:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:02:27] Production.INFO: ==3472== Releasing lock...
[2025-01-13 00:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:02:27] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 05:03:02] Production.INFO: ==3529== Lock acquired, processing the job...
[2025-01-13 05:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:03:02] Production.INFO: neon service started
[2025-01-13 05:03:02] Production.INFO: neon service started
[2025-01-13 05:03:02] Production.INFO: ==3529== Releasing lock...
[2025-01-13 05:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:03:02] Production.INFO: ==3531== Lock acquired, processing the job...
[2025-01-13 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:03:02] Production.INFO: ==3533== Lock acquired, processing the job...
[2025-01-13 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:03:02] Production.INFO: ==3533== Releasing lock...
[2025-01-13 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:03:03] Production.INFO: ==3531== Releasing lock...
[2025-01-13 00:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:03:03] Production.INFO: ==3536== Lock acquired, processing the job...
[2025-01-13 00:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:03:03] Production.INFO: ==3538== Lock acquired, processing the job...
[2025-01-13 00:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:03:03] Production.INFO: ==3542== Lock acquired, processing the job...
[2025-01-13 00:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:03:04] Production.INFO: ==3546== Lock acquired, processing the job...
[2025-01-13 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:03:04] Production.INFO: Account Balance Start.
[2025-01-13 00:03:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:03:04] Production.INFO: 117
[2025-01-13 00:03:04] Production.INFO: ==3540== Lock acquired, processing the job...
[2025-01-13 00:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:03:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:03:04] Production.INFO: ==3538== Releasing lock...
[2025-01-13 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:03:04] Production.INFO: ==3544== Lock acquired, processing the job...
[2025-01-13 00:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:03:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:03:04] Production.INFO: count ==21
[2025-01-13 00:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:03:04] Production.INFO: count ==21
[2025-01-13 00:03:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:03:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235140') start
[2025-01-13 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:03:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:03:04] Production.INFO: Total Charge 0
[2025-01-13 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235140') end
[2025-01-13 00:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:03:04] Production.INFO: 1
[2025-01-13 00:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:03:04] Production.INFO: CreateAllLog End
[2025-01-13 00:03:04] Production.INFO: ==3546== Releasing lock...
[2025-01-13 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:03:04] Production.ERROR: done
[2025-01-13 00:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:03:04] Production.INFO: Account Balance End.
[2025-01-13 00:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:03:04] Production.INFO: ==3542== Releasing lock...
[2025-01-13 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:03:04] Production.ERROR: done
[2025-01-13 00:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:03:05
[end_date_ymd] => 2025-01-13 00:03:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:03:05' and `end` < '2025-01-13 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-13 00:03:10] Production.ERROR: CronJobId end10
[2025-01-13 00:03:10] Production.INFO: ==3540== Releasing lock...
[2025-01-13 00:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:03:12] Production.INFO: call_cost start
[2025-01-13 00:03:12] Production.INFO: call_cost end
[2025-01-13 00:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:03:13] Production.INFO: ==3536== Releasing lock...
[2025-01-13 00:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:03:18] Production.INFO: count ==122
[2025-01-13 00:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:03:05 - End Time 2025-01-13 00:03:05
[2025-01-13 00:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235141', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235141', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235141', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235141', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:03:18] Production.INFO: ProcessCDR(1,14235141,1,1,2)
[2025-01-13 00:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235141', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235141', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:03:22] Production.INFO: ==3544== Releasing lock...
[2025-01-13 00:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:03:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 05:04:01] Production.INFO: ==3600== Lock acquired, processing the job...
[2025-01-13 05:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:04:01] Production.INFO: neon service started
[2025-01-13 05:04:01] Production.INFO: neon service started
[2025-01-13 05:04:01] Production.INFO: ==3600== Releasing lock...
[2025-01-13 05:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:04:01] Production.INFO: ==3602== Lock acquired, processing the job...
[2025-01-13 00:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:04:02] Production.INFO: ==3602== Releasing lock...
[2025-01-13 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:04:02] Production.INFO: ==3604== Lock acquired, processing the job...
[2025-01-13 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:04:02] Production.INFO: ==3604== Releasing lock...
[2025-01-13 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:04:03] Production.INFO: ==3606== Lock acquired, processing the job...
[2025-01-13 00:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:04:03] Production.INFO: ==3616== Lock acquired, processing the job...
[2025-01-13 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:04:03] Production.INFO: ==3608== Lock acquired, processing the job...
[2025-01-13 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:04:03] Production.INFO: count ==21
[2025-01-13 00:04:03] Production.INFO: ==3610== Lock acquired, processing the job...
[2025-01-13 00:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:04:03] Production.INFO: count ==21
[2025-01-13 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235143') start
[2025-01-13 00:04:03] Production.INFO: ==3612== Lock acquired, processing the job...
[2025-01-13 00:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:04:03] Production.INFO: ==3614== Lock acquired, processing the job...
[2025-01-13 00:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:04:03] Production.INFO: Account Balance Start.
[2025-01-13 00:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:04:03] Production.INFO: 117
[2025-01-13 00:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235143') end
[2025-01-13 00:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:04:03] Production.INFO: 1
[2025-01-13 00:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:04:03] Production.INFO: ==3616== Releasing lock...
[2025-01-13 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:04:03] Production.INFO: ==3608== Releasing lock...
[2025-01-13 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:04:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:04:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:04:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:04:03] Production.INFO: Total Charge 0
[2025-01-13 00:04:03] Production.INFO: CreateAllLog End
[2025-01-13 00:04:03] Production.ERROR: done
[2025-01-13 00:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:04:04] Production.ERROR: done
[2025-01-13 00:04:04] Production.INFO: Account Balance End.
[2025-01-13 00:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:04:04] Production.INFO: ==3612== Releasing lock...
[2025-01-13 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:04:05
[end_date_ymd] => 2025-01-13 00:04:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:04:05' and `end` < '2025-01-13 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-13 00:04:10] Production.ERROR: CronJobId end10
[2025-01-13 00:04:10] Production.INFO: ==3610== Releasing lock...
[2025-01-13 00:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:04:12] Production.INFO: call_cost start
[2025-01-13 00:04:12] Production.INFO: call_cost end
[2025-01-13 00:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:04:13] Production.INFO: ==3606== Releasing lock...
[2025-01-13 00:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:04:18] Production.INFO: count ==122
[2025-01-13 00:04:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:04:05 - End Time 2025-01-13 00:04:05
[2025-01-13 00:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235146', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235146', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235146', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235146', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:04:18] Production.INFO: ProcessCDR(1,14235146,1,1,2)
[2025-01-13 00:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235146', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235146', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:04:21] Production.INFO: ==3614== Releasing lock...
[2025-01-13 00:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:04:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 05:05:01] Production.INFO: ==3674== Lock acquired, processing the job...
[2025-01-13 05:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:05:02] Production.INFO: neon service started
[2025-01-13 05:05:02] Production.INFO: neon service started
[2025-01-13 05:05:02] Production.INFO: ==3674== Releasing lock...
[2025-01-13 05:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:05:02] Production.INFO: ==3678== Lock acquired, processing the job...
[2025-01-13 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:05:02] Production.INFO: ==3678== Releasing lock...
[2025-01-13 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:05:02] Production.INFO: ==3676== Lock acquired, processing the job...
[2025-01-13 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:05:02] Production.INFO: ==3676== Releasing lock...
[2025-01-13 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:05:03] Production.INFO: ==3681== Lock acquired, processing the job...
[2025-01-13 00:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:05:03] Production.INFO: ==3683== Lock acquired, processing the job...
[2025-01-13 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:05:03] Production.INFO: ==3689== Lock acquired, processing the job...
[2025-01-13 00:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:05:03] Production.INFO: ==3683== Releasing lock...
[2025-01-13 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:05:03] Production.INFO: ==3685== Lock acquired, processing the job...
[2025-01-13 00:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:05:04] Production.INFO: ==3687== Lock acquired, processing the job...
[2025-01-13 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:05:04] Production.INFO: ==3691== Lock acquired, processing the job...
[2025-01-13 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:05:04] Production.ERROR: done
[2025-01-13 00:05:04] Production.INFO: Account Balance Start.
[2025-01-13 00:05:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:05:04] Production.INFO: 117
[2025-01-13 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-13 00:05:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:05:04] Production.INFO: count ==21
[2025-01-13 00:05:04] Production.ERROR: done
[2025-01-13 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-13 00:05:04] Production.INFO: count ==21
[2025-01-13 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235150') start
[2025-01-13 00:05:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:05:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:05:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:05:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235150') end
[2025-01-13 00:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:05:04] Production.INFO: 1
[2025-01-13 00:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:05:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:05:04] Production.INFO: Total Charge 0
[2025-01-13 00:05:04] Production.INFO: ==3691== Releasing lock...
[2025-01-13 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:05:04] Production.INFO: CreateAllLog End
[2025-01-13 00:05:04] Production.INFO: Account Balance End.
[2025-01-13 00:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:05:04] Production.INFO: ==3687== Releasing lock...
[2025-01-13 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:05:05
[end_date_ymd] => 2025-01-13 00:05:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:05:05' and `end` < '2025-01-13 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-13 00:05:10] Production.ERROR: CronJobId end10
[2025-01-13 00:05:10] Production.INFO: ==3685== Releasing lock...
[2025-01-13 00:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:05:13] Production.INFO: call_cost start
[2025-01-13 00:05:13] Production.INFO: call_cost end
[2025-01-13 00:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:05:14] Production.INFO: ==3681== Releasing lock...
[2025-01-13 00:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:05:19] Production.INFO: count ==122
[2025-01-13 00:05:19] Production.ERROR: pbx CDR StartTime 2025-01-12 21:05:05 - End Time 2025-01-13 00:05:05
[2025-01-13 00:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235151', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235151', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235151', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235151', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:05:19] Production.INFO: ProcessCDR(1,14235151,1,1,2)
[2025-01-13 00:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235151', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235151', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:05:24] Production.INFO: ==3689== Releasing lock...
[2025-01-13 00:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:05:24] Production.INFO: 29 MB #Memory Used#
[2025-01-13 05:06:01] Production.INFO: ==3746== Lock acquired, processing the job...
[2025-01-13 05:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:06:01] Production.INFO: neon service started
[2025-01-13 05:06:01] Production.INFO: neon service started
[2025-01-13 05:06:01] Production.INFO: ==3746== Releasing lock...
[2025-01-13 05:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:06:02] Production.INFO: ==3748== Lock acquired, processing the job...
[2025-01-13 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:06:02] Production.INFO: ==3750== Lock acquired, processing the job...
[2025-01-13 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:06:02] Production.INFO: ==3750== Releasing lock...
[2025-01-13 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:06:02] Production.INFO: ==3748== Releasing lock...
[2025-01-13 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:06:03] Production.INFO: ==3759== Lock acquired, processing the job...
[2025-01-13 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:06:03] Production.INFO: ==3763== Lock acquired, processing the job...
[2025-01-13 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:06:03] Production.INFO: Account Balance Start.
[2025-01-13 00:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:06:03] Production.INFO: 117
[2025-01-13 00:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:06:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:06:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:06:03] Production.INFO: count ==21
[2025-01-13 00:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:06:03] Production.INFO: count ==21
[2025-01-13 00:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235153') start
[2025-01-13 00:06:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:06:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:06:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:06:03] Production.INFO: ==3753== Lock acquired, processing the job...
[2025-01-13 00:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235153') end
[2025-01-13 00:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:06:03] Production.INFO: 1
[2025-01-13 00:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:06:03] Production.INFO: Total Charge 0
[2025-01-13 00:06:03] Production.INFO: CreateAllLog End
[2025-01-13 00:06:03] Production.INFO: ==3755== Lock acquired, processing the job...
[2025-01-13 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:06:03] Production.INFO: ==3763== Releasing lock...
[2025-01-13 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:06:03] Production.INFO: ==3757== Lock acquired, processing the job...
[2025-01-13 00:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:06:03] Production.INFO: ==3761== Lock acquired, processing the job...
[2025-01-13 00:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:06:03] Production.INFO: Account Balance End.
[2025-01-13 00:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:06:03] Production.ERROR: CronJobId end 12
[2025-01-13 00:06:03] Production.INFO: ==3759== Releasing lock...
[2025-01-13 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:06:04] Production.INFO: ==3755== Releasing lock...
[2025-01-13 00:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:06:04] Production.ERROR: done
[2025-01-13 00:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:06:04] Production.ERROR: done
[2025-01-13 00:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:06:05
[end_date_ymd] => 2025-01-13 00:06:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:06:05' and `end` < '2025-01-13 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-13 00:06:11] Production.ERROR: CronJobId end10
[2025-01-13 00:06:11] Production.INFO: ==3757== Releasing lock...
[2025-01-13 00:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:06:12] Production.INFO: call_cost start
[2025-01-13 00:06:12] Production.INFO: call_cost end
[2025-01-13 00:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:06:13] Production.INFO: ==3753== Releasing lock...
[2025-01-13 00:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:06:18] Production.INFO: count ==121
[2025-01-13 00:06:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:06:05 - End Time 2025-01-13 00:06:05
[2025-01-13 00:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235156', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235156', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235156', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235156', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:06:18] Production.INFO: ProcessCDR(1,14235156,1,1,2)
[2025-01-13 00:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235156', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235156', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:06:21] Production.INFO: ==3761== Releasing lock...
[2025-01-13 00:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:06:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:07:01] Production.INFO: ==3818== Lock acquired, processing the job...
[2025-01-13 05:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:07:01] Production.INFO: neon service started
[2025-01-13 05:07:01] Production.INFO: neon service started
[2025-01-13 05:07:01] Production.INFO: ==3818== Releasing lock...
[2025-01-13 05:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:07:02] Production.INFO: ==3822== Lock acquired, processing the job...
[2025-01-13 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:07:02] Production.INFO: ==3822== Releasing lock...
[2025-01-13 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:07:02] Production.INFO: ==3820== Lock acquired, processing the job...
[2025-01-13 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:07:02] Production.INFO: ==3820== Releasing lock...
[2025-01-13 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:07:03] Production.INFO: ==3825== Lock acquired, processing the job...
[2025-01-13 00:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:07:03] Production.INFO: ==3835== Lock acquired, processing the job...
[2025-01-13 00:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 00:07:03] Production.INFO: count ==21
[2025-01-13 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-13 00:07:03] Production.INFO: count ==21
[2025-01-13 00:07:03] Production.INFO: ==3827== Lock acquired, processing the job...
[2025-01-13 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235158') start
[2025-01-13 00:07:03] Production.INFO: ==3831== Lock acquired, processing the job...
[2025-01-13 00:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:07:03] Production.INFO: ==3829== Lock acquired, processing the job...
[2025-01-13 00:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235158') end
[2025-01-13 00:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:07:03] Production.INFO: 1
[2025-01-13 00:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:07:03] Production.INFO: ==3833== Lock acquired, processing the job...
[2025-01-13 00:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:07:03] Production.INFO: Account Balance Start.
[2025-01-13 00:07:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:07:03] Production.INFO: ==3835== Releasing lock...
[2025-01-13 00:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:07:03] Production.INFO: 117
[2025-01-13 00:07:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:07:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:07:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:07:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:07:04] Production.INFO: ==3827== Releasing lock...
[2025-01-13 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:07:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:07:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:07:04] Production.INFO: Total Charge 0
[2025-01-13 00:07:04] Production.INFO: CreateAllLog End
[2025-01-13 00:07:04] Production.ERROR: done
[2025-01-13 00:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:07:04] Production.ERROR: done
[2025-01-13 00:07:04] Production.INFO: Account Balance End.
[2025-01-13 00:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:07:04] Production.INFO: ==3831== Releasing lock...
[2025-01-13 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:07:05
[end_date_ymd] => 2025-01-13 00:07:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:07:05' and `end` < '2025-01-13 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-13 00:07:12] Production.ERROR: CronJobId end10
[2025-01-13 00:07:12] Production.INFO: ==3829== Releasing lock...
[2025-01-13 00:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:07:13] Production.INFO: call_cost start
[2025-01-13 00:07:13] Production.INFO: call_cost end
[2025-01-13 00:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:07:14] Production.INFO: ==3825== Releasing lock...
[2025-01-13 00:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:07:18] Production.INFO: count ==121
[2025-01-13 00:07:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:07:05 - End Time 2025-01-13 00:07:05
[2025-01-13 00:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235161', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235161', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235161', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235161', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:07:18] Production.INFO: ProcessCDR(1,14235161,1,1,2)
[2025-01-13 00:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235161', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235161', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:07:21] Production.INFO: ==3833== Releasing lock...
[2025-01-13 00:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:07:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:08:01] Production.INFO: ==3891== Lock acquired, processing the job...
[2025-01-13 05:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:08:01] Production.INFO: neon service started
[2025-01-13 05:08:01] Production.INFO: neon service started
[2025-01-13 05:08:01] Production.INFO: ==3891== Releasing lock...
[2025-01-13 05:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:08:01] Production.INFO: ==3893== Lock acquired, processing the job...
[2025-01-13 00:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:08:02] Production.INFO: ==3893== Releasing lock...
[2025-01-13 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:08:02] Production.INFO: ==3895== Lock acquired, processing the job...
[2025-01-13 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:08:02] Production.INFO: ==3895== Releasing lock...
[2025-01-13 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:08:02] Production.INFO: ==3901== Lock acquired, processing the job...
[2025-01-13 00:08:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:08:03] Production.INFO: ==3897== Lock acquired, processing the job...
[2025-01-13 00:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:08:03] Production.INFO: ==3905== Lock acquired, processing the job...
[2025-01-13 00:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:08:03] Production.INFO: ==3899== Lock acquired, processing the job...
[2025-01-13 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:08:03] Production.INFO: ==3903== Lock acquired, processing the job...
[2025-01-13 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:08:03] Production.INFO: ==3907== Lock acquired, processing the job...
[2025-01-13 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:08:03] Production.INFO: ==3899== Releasing lock...
[2025-01-13 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:08:03] Production.ERROR: done
[2025-01-13 00:08:03] Production.INFO: Account Balance Start.
[2025-01-13 00:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:08:03] Production.INFO: 117
[2025-01-13 00:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:08:03] Production.INFO: count ==21
[2025-01-13 00:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:08:03] Production.ERROR: done
[2025-01-13 00:08:03] Production.INFO: count ==21
[2025-01-13 00:08:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235165') start
[2025-01-13 00:08:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:08:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235165') end
[2025-01-13 00:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:08:03] Production.INFO: 1
[2025-01-13 00:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:08:03] Production.INFO: ==3907== Releasing lock...
[2025-01-13 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:08:03] Production.INFO: Total Charge 0
[2025-01-13 00:08:03] Production.INFO: CreateAllLog End
[2025-01-13 00:08:04] Production.INFO: Account Balance End.
[2025-01-13 00:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:08:04] Production.INFO: ==3903== Releasing lock...
[2025-01-13 00:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:08:04
[end_date_ymd] => 2025-01-13 00:08:04
[RateCDR] => 1
)
[2025-01-13 00:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:08:04' and `end` < '2025-01-13 00:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:08:11] Production.ERROR: CronJobId end10
[2025-01-13 00:08:11] Production.INFO: ==3901== Releasing lock...
[2025-01-13 00:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:08:13] Production.INFO: call_cost start
[2025-01-13 00:08:13] Production.INFO: call_cost end
[2025-01-13 00:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:08:14] Production.INFO: ==3897== Releasing lock...
[2025-01-13 00:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:08:22] Production.INFO: count ==121
[2025-01-13 00:08:22] Production.ERROR: pbx CDR StartTime 2025-01-12 21:08:04 - End Time 2025-01-13 00:08:04
[2025-01-13 00:08:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235166', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235166', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235166', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235166', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:08:22] Production.INFO: ProcessCDR(1,14235166,1,1,2)
[2025-01-13 00:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:08:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:08:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235166', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235166', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:08:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:08:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:08:25] Production.INFO: ==3905== Releasing lock...
[2025-01-13 00:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:08:25] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:09:01] Production.INFO: ==3960== Lock acquired, processing the job...
[2025-01-13 05:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:09:01] Production.INFO: neon service started
[2025-01-13 05:09:01] Production.INFO: neon service started
[2025-01-13 05:09:01] Production.INFO: ==3960== Releasing lock...
[2025-01-13 05:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:09:02] Production.INFO: ==3962== Lock acquired, processing the job...
[2025-01-13 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:09:02] Production.INFO: ==3962== Releasing lock...
[2025-01-13 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:09:02] Production.INFO: ==3964== Lock acquired, processing the job...
[2025-01-13 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:09:02] Production.INFO: ==3964== Releasing lock...
[2025-01-13 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:09:03] Production.INFO: ==3969== Lock acquired, processing the job...
[2025-01-13 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:09:03] Production.INFO: ==3977== Lock acquired, processing the job...
[2025-01-13 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:09:03] Production.INFO: ==3967== Lock acquired, processing the job...
[2025-01-13 00:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:09:03] Production.INFO: ==3971== Lock acquired, processing the job...
[2025-01-13 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:09:03] Production.INFO: ==3975== Lock acquired, processing the job...
[2025-01-13 00:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:09:03] Production.INFO: ==3969== Releasing lock...
[2025-01-13 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:09:03] Production.INFO: ==3973== Lock acquired, processing the job...
[2025-01-13 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 00:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:09:03] Production.INFO: count ==21
[2025-01-13 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-13 00:09:03] Production.INFO: count ==21
[2025-01-13 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235168') start
[2025-01-13 00:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:09:03] Production.INFO: Account Balance Start.
[2025-01-13 00:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:09:03] Production.INFO: 117
[2025-01-13 00:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:09:03] Production.ERROR: done
[2025-01-13 00:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235168') end
[2025-01-13 00:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:09:03] Production.INFO: 1
[2025-01-13 00:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:09:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:09:03] Production.INFO: ==3977== Releasing lock...
[2025-01-13 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:09:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:09:03] Production.ERROR: done
[2025-01-13 00:09:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:09:03] Production.INFO: Total Charge 0
[2025-01-13 00:09:03] Production.INFO: CreateAllLog End
[2025-01-13 00:09:04] Production.INFO: Account Balance End.
[2025-01-13 00:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:09:04] Production.INFO: ==3973== Releasing lock...
[2025-01-13 00:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:09:04
[end_date_ymd] => 2025-01-13 00:09:04
[RateCDR] => 1
)
[2025-01-13 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-12 21:09:04' and `end` < '2025-01-13 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-13 00:09:11] Production.ERROR: CronJobId end10
[2025-01-13 00:09:11] Production.INFO: ==3971== Releasing lock...
[2025-01-13 00:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:09:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:09:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:09:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:09:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:09:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:09:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:09:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:09:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:09:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:09:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:09:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:09:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:09:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:09:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:09:12] Production.INFO: call_cost start
[2025-01-13 00:09:12] Production.INFO: call_cost end
[2025-01-13 00:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:09:13] Production.INFO: ==3967== Releasing lock...
[2025-01-13 00:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:09:19] Production.INFO: count ==121
[2025-01-13 00:09:19] Production.ERROR: pbx CDR StartTime 2025-01-12 21:09:04 - End Time 2025-01-13 00:09:04
[2025-01-13 00:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235171', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235171', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235171', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235171', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:09:19] Production.INFO: ProcessCDR(1,14235171,1,1,2)
[2025-01-13 00:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235171', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235171', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:09:22] Production.INFO: ==3975== Releasing lock...
[2025-01-13 00:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:09:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:10:02] Production.INFO: ==4073== Lock acquired, processing the job...
[2025-01-13 05:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:10:02] Production.INFO: neon service started
[2025-01-13 05:10:02] Production.INFO: neon service started
[2025-01-13 05:10:02] Production.INFO: ==4073== Releasing lock...
[2025-01-13 05:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:10:02] Production.INFO: ==4075== Lock acquired, processing the job...
[2025-01-13 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:10:02] Production.INFO: ==4075== Releasing lock...
[2025-01-13 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:10:03] Production.INFO: ==4077== Lock acquired, processing the job...
[2025-01-13 05:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:10:03] Production.INFO: ==4077== Releasing lock...
[2025-01-13 05:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:10:03] Production.INFO: ==4080== Lock acquired, processing the job...
[2025-01-13 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 00:10:03] Production.INFO: ==4084== Lock acquired, processing the job...
[2025-01-13 00:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 00:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 00:10:03] Production.INFO: ==4080== Releasing lock...
[2025-01-13 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 00:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 00:10:03] Production.INFO: ==4086== Lock acquired, processing the job...
[2025-01-13 00:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:10:03] Production.INFO: ==4090== Lock acquired, processing the job...
[2025-01-13 00:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:10:04] Production.INFO: ==4082== Lock acquired, processing the job...
[2025-01-13 00:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:10:04] Production.INFO: ==4088== Lock acquired, processing the job...
[2025-01-13 00:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:10:04] Production.INFO: ==4092== Lock acquired, processing the job...
[2025-01-13 00:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 00:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:10:04] Production.INFO: ==4094== Lock acquired, processing the job...
[2025-01-13 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:10:04] Production.ERROR: done
[2025-01-13 00:10:04] Production.INFO: ==4084== Releasing lock...
[2025-01-13 00:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:10:04] Production.INFO: Account Balance Start.
[2025-01-13 00:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:10:04] Production.INFO: 117
[2025-01-13 00:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 00:10:04] Production.ERROR: done
[2025-01-13 00:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:10:04] Production.INFO: count ==21
[2025-01-13 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-13 00:10:04] Production.INFO: count ==21
[2025-01-13 00:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235175') start
[2025-01-13 00:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:10:04] Production.ERROR: done
[2025-01-13 00:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:10:04] Production.INFO: Total Charge 0
[2025-01-13 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235175') end
[2025-01-13 00:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:10:04] Production.INFO: 1
[2025-01-13 00:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:10:04] Production.INFO: CreateAllLog End
[2025-01-13 00:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 00:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235177', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 00:10:04] Production.INFO: ==4094== Releasing lock...
[2025-01-13 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:10:04] Production.INFO: Account Balance End.
[2025-01-13 00:10:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:10:04] Production.INFO: ==4088== Releasing lock...
[2025-01-13 00:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:10:05
[end_date_ymd] => 2025-01-13 00:10:05
[RateCDR] => 1
)
[2025-01-13 00:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:10:05' and `end` < '2025-01-13 00: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-13 00:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235177', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 00:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 00:10:08] Production.INFO: ProcessCDR(1,14235177,1,1,2)
[2025-01-13 00:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235177,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235177,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:10:09] Production.INFO: ==4092== Releasing lock...
[2025-01-13 00:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 00:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 00:10:12] Production.ERROR: CronJobId end10
[2025-01-13 00:10:12] Production.INFO: ==4086== Releasing lock...
[2025-01-13 00:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:10:15] Production.INFO: call_cost start
[2025-01-13 00:10:15] Production.INFO: call_cost end
[2025-01-13 00:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:10:16] Production.INFO: ==4082== Releasing lock...
[2025-01-13 00:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:10:18] Production.INFO: count ==127
[2025-01-13 00:10:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:10:05 - End Time 2025-01-13 00:10:05
[2025-01-13 00:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235176', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235176', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235176', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235176', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:10:18] Production.INFO: ProcessCDR(1,14235176,1,1,2)
[2025-01-13 00:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235176', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235176', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:10:21] Production.INFO: ==4090== Releasing lock...
[2025-01-13 00:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:10:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 05:11:01] Production.INFO: ==4147== Lock acquired, processing the job...
[2025-01-13 05:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:11:01] Production.INFO: neon service started
[2025-01-13 05:11:01] Production.INFO: neon service started
[2025-01-13 05:11:01] Production.INFO: ==4147== Releasing lock...
[2025-01-13 05:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:11:02] Production.INFO: ==4151== Lock acquired, processing the job...
[2025-01-13 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:11:02] Production.INFO: ==4151== Releasing lock...
[2025-01-13 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:11:02] Production.INFO: ==4149== Lock acquired, processing the job...
[2025-01-13 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:11:02] Production.INFO: ==4149== Releasing lock...
[2025-01-13 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:11:03] Production.INFO: ==4154== Lock acquired, processing the job...
[2025-01-13 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:11:03] Production.INFO: ==4158== Lock acquired, processing the job...
[2025-01-13 00:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:11:03] Production.INFO: ==4156== Lock acquired, processing the job...
[2025-01-13 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:11:03] Production.INFO: ==4160== Lock acquired, processing the job...
[2025-01-13 00:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:11:03] Production.INFO: ==4156== Releasing lock...
[2025-01-13 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:11:03] Production.INFO: ==4162== Lock acquired, processing the job...
[2025-01-13 00:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:11:03] Production.INFO: ==4164== Lock acquired, processing the job...
[2025-01-13 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:11:03] Production.INFO: Account Balance Start.
[2025-01-13 00:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:11:03] Production.INFO: 117
[2025-01-13 00:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:11:03] Production.INFO: count ==21
[2025-01-13 00:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:11:03] Production.INFO: count ==21
[2025-01-13 00:11:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:11:03] Production.ERROR: done
[2025-01-13 00:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235181') start
[2025-01-13 00:11:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:11:04] Production.ERROR: done
[2025-01-13 00:11:04] Production.INFO: Total Charge 0
[2025-01-13 00:11:04] Production.INFO: CreateAllLog End
[2025-01-13 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235181') end
[2025-01-13 00:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:11:04] Production.INFO: 1
[2025-01-13 00:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:11:04] Production.INFO: ==4164== Releasing lock...
[2025-01-13 00:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:11:04] Production.INFO: Account Balance End.
[2025-01-13 00:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:11:04] Production.INFO: ==4160== Releasing lock...
[2025-01-13 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:11:04
[end_date_ymd] => 2025-01-13 00:11:04
[RateCDR] => 1
)
[2025-01-13 00:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:11:04' and `end` < '2025-01-13 00: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-13 00:11:10] Production.ERROR: CronJobId end10
[2025-01-13 00:11:10] Production.INFO: ==4158== Releasing lock...
[2025-01-13 00:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:11:13] Production.INFO: call_cost start
[2025-01-13 00:11:13] Production.INFO: call_cost end
[2025-01-13 00:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:11:13] Production.INFO: ==4154== Releasing lock...
[2025-01-13 00:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:11:18] Production.INFO: count ==148
[2025-01-13 00:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:11:04 - End Time 2025-01-13 00:11:04
[2025-01-13 00:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235182', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235182', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235182', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235182', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:11:18] Production.INFO: ProcessCDR(1,14235182,1,1,2)
[2025-01-13 00:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235182', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235182', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:11:21] Production.INFO: ==4162== Releasing lock...
[2025-01-13 00:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:11:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:12:02] Production.INFO: ==4225== Lock acquired, processing the job...
[2025-01-13 05:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:12:02] Production.INFO: neon service started
[2025-01-13 05:12:02] Production.INFO: neon service started
[2025-01-13 05:12:02] Production.INFO: ==4225== Releasing lock...
[2025-01-13 05:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:12:02] Production.INFO: ==4229== Lock acquired, processing the job...
[2025-01-13 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:12:02] Production.INFO: ==4229== Releasing lock...
[2025-01-13 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:12:02] Production.INFO: ==4227== Lock acquired, processing the job...
[2025-01-13 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:12:02] Production.INFO: ==4227== Releasing lock...
[2025-01-13 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:12:03] Production.INFO: ==4234== Lock acquired, processing the job...
[2025-01-13 00:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:12:03] Production.INFO: ==4236== Lock acquired, processing the job...
[2025-01-13 00:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:12:03] Production.INFO: ==4232== Lock acquired, processing the job...
[2025-01-13 00:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:12:03] Production.INFO: ==4234== Releasing lock...
[2025-01-13 00:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:12:03] Production.INFO: ==4238== Lock acquired, processing the job...
[2025-01-13 00:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:12:04] Production.INFO: ==4242== Lock acquired, processing the job...
[2025-01-13 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:12:04] Production.INFO: ==4240== Lock acquired, processing the job...
[2025-01-13 00:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:12:04] Production.INFO: Account Balance Start.
[2025-01-13 00:12:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:12:04] Production.INFO: 117
[2025-01-13 00:12:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:12:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:12:04] Production.INFO: count ==21
[2025-01-13 00:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:12:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:12:04] Production.INFO: count ==21
[2025-01-13 00:12:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235186') start
[2025-01-13 00:12:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:12:04] Production.ERROR: done
[2025-01-13 00:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:12:04] Production.INFO: Total Charge 0
[2025-01-13 00:12:04] Production.INFO: CreateAllLog End
[2025-01-13 00:12:04] Production.ERROR: done
[2025-01-13 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235186') end
[2025-01-13 00:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:12:04] Production.INFO: 1
[2025-01-13 00:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:12:04] Production.INFO: ==4242== Releasing lock...
[2025-01-13 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:12:04] Production.INFO: Account Balance End.
[2025-01-13 00:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:12:04] Production.INFO: ==4238== Releasing lock...
[2025-01-13 00:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:12:05
[end_date_ymd] => 2025-01-13 00:12:05
[RateCDR] => 1
)
[2025-01-13 00:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:12:05' and `end` < '2025-01-13 00:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:12:12] Production.ERROR: CronJobId end10
[2025-01-13 00:12:12] Production.INFO: ==4236== Releasing lock...
[2025-01-13 00:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:12:13] Production.INFO: call_cost start
[2025-01-13 00:12:13] Production.INFO: call_cost end
[2025-01-13 00:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:12:14] Production.INFO: ==4232== Releasing lock...
[2025-01-13 00:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:12:17] Production.INFO: count ==148
[2025-01-13 00:12:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:12:05 - End Time 2025-01-13 00:12:05
[2025-01-13 00:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235187', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235187', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235187', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235187', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:12:17] Production.INFO: ProcessCDR(1,14235187,1,1,2)
[2025-01-13 00:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235187', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235187', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:12:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:12:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:12:20] Production.INFO: ==4240== Releasing lock...
[2025-01-13 00:12:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:12:20] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:13:01] Production.INFO: ==4298== Lock acquired, processing the job...
[2025-01-13 05:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:13:01] Production.INFO: neon service started
[2025-01-13 05:13:01] Production.INFO: neon service started
[2025-01-13 05:13:01] Production.INFO: ==4298== Releasing lock...
[2025-01-13 05:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:13:01] Production.INFO: ==4300== Lock acquired, processing the job...
[2025-01-13 00:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:13:02] Production.INFO: ==4300== Releasing lock...
[2025-01-13 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:13:02] Production.INFO: ==4302== Lock acquired, processing the job...
[2025-01-13 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:13:02] Production.INFO: ==4302== Releasing lock...
[2025-01-13 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:13:02] Production.INFO: ==4305== Lock acquired, processing the job...
[2025-01-13 00:13:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:13:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:13:02] Production.INFO: ==4307== Lock acquired, processing the job...
[2025-01-13 00:13:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:13:02] Production.INFO: ==4309== Lock acquired, processing the job...
[2025-01-13 00:13:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:13:02] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:13:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:13:02] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:13:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:13:03] Production.INFO: ==4311== Lock acquired, processing the job...
[2025-01-13 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:13:03] Production.INFO: ==4307== Releasing lock...
[2025-01-13 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:13:03] Production.INFO: ==4315== Lock acquired, processing the job...
[2025-01-13 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:13:03] Production.INFO: ==4313== Lock acquired, processing the job...
[2025-01-13 00:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:13:03] Production.INFO: Account Balance Start.
[2025-01-13 00:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:13:03] Production.INFO: 117
[2025-01-13 00:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:13:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:13:03] Production.INFO: count ==21
[2025-01-13 00:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:13:03] Production.INFO: count ==21
[2025-01-13 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235191') start
[2025-01-13 00:13:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:13:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:13:03] Production.ERROR: done
[2025-01-13 00:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235191') end
[2025-01-13 00:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:13:03] Production.INFO: 1
[2025-01-13 00:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:13:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:13:03] Production.INFO: Total Charge 0
[2025-01-13 00:13:03] Production.INFO: CreateAllLog End
[2025-01-13 00:13:03] Production.INFO: ==4315== Releasing lock...
[2025-01-13 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:13:03] Production.ERROR: done
[2025-01-13 00:13:04] Production.INFO: Account Balance End.
[2025-01-13 00:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:13:04] Production.INFO: ==4311== Releasing lock...
[2025-01-13 00:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:13:04
[end_date_ymd] => 2025-01-13 00:13:04
[RateCDR] => 1
)
[2025-01-13 00:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:13:04' and `end` < '2025-01-13 00:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:13:09] Production.ERROR: CronJobId end10
[2025-01-13 00:13:09] Production.INFO: ==4309== Releasing lock...
[2025-01-13 00:13:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:13:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:13:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:13:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:13:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:13:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:13:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:13:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:13:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:13:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:13:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:13:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:13:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:13:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:13:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:13:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:13:12] Production.INFO: call_cost start
[2025-01-13 00:13:12] Production.INFO: call_cost end
[2025-01-13 00:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:13:13] Production.INFO: ==4305== Releasing lock...
[2025-01-13 00:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:13:17] Production.INFO: count ==146
[2025-01-13 00:13:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:13:04 - End Time 2025-01-13 00:13:04
[2025-01-13 00:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235192', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235192', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235192', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235192', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:13:17] Production.INFO: ProcessCDR(1,14235192,1,1,2)
[2025-01-13 00:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235192', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235192', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:13:20] Production.INFO: ==4313== Releasing lock...
[2025-01-13 00:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:13:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 05:14:01] Production.INFO: ==4369== Lock acquired, processing the job...
[2025-01-13 05:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:14:01] Production.INFO: neon service started
[2025-01-13 05:14:01] Production.INFO: neon service started
[2025-01-13 05:14:01] Production.INFO: ==4369== Releasing lock...
[2025-01-13 05:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:14:02] Production.INFO: ==4371== Lock acquired, processing the job...
[2025-01-13 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:14:02] Production.INFO: ==4373== Lock acquired, processing the job...
[2025-01-13 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:14:02] Production.INFO: ==4373== Releasing lock...
[2025-01-13 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:14:02] Production.INFO: ==4371== Releasing lock...
[2025-01-13 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:14:03] Production.INFO: ==4376== Lock acquired, processing the job...
[2025-01-13 00:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:14:03] Production.INFO: ==4378== Lock acquired, processing the job...
[2025-01-13 00:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:14:03] Production.INFO: ==4380== Lock acquired, processing the job...
[2025-01-13 00:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:14:03] Production.INFO: ==4384== Lock acquired, processing the job...
[2025-01-13 00:14:03] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-13 00:14:03] Production.INFO: ==4382== Lock acquired, processing the job...
[2025-01-13 00:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:14:03] Production.INFO: ==4386== Lock acquired, processing the job...
[2025-01-13 00:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:14:03] Production.INFO: -- Xero Api Check --
[2025-01-13 00:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:14:03] Production.INFO: Account Balance Start.
[2025-01-13 00:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:14:03] Production.INFO: 117
[2025-01-13 00:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:14:04] Production.INFO: ==4388== Lock acquired, processing the job...
[2025-01-13 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:14:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:14:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:14:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:14:04] Production.INFO: ==4378== Releasing lock...
[2025-01-13 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:14:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:14:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:14:04] Production.INFO: count ==21
[2025-01-13 00:14:04] Production.ERROR: done
[2025-01-13 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-13 00:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:14:04] Production.INFO: Total Charge 0
[2025-01-13 00:14:04] Production.INFO: count ==21
[2025-01-13 00:14:04] Production.INFO: CreateAllLog End
[2025-01-13 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235196') start
[2025-01-13 00:14:04] Production.ERROR: done
[2025-01-13 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235196') end
[2025-01-13 00:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:14:04] Production.INFO: 1
[2025-01-13 00:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:14:04] Production.INFO: ==4388== Releasing lock...
[2025-01-13 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:14:04] Production.INFO: Account Balance End.
[2025-01-13 00:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:14:04] Production.INFO: ==4382== Releasing lock...
[2025-01-13 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 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] => 853
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.972286
[namelookup_time] => 0.293591
[connect_time] => 0.378474
[pretransfer_time] => 0.761496
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2833
[speed_upload] => 84
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.972218
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.21.67.50
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 58440
)
[2025-01-13 00:14:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3NDUyNDQsImV4cCI6MTczNjc0NTU0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NzQ1MjQ0LCJhdF9oYXNoIjoiMWFMMXd6d0pXRU53cFFrQWVXa3FJUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.aTFa7BGhaVniV8ZtgD9wYYtt3pVwMROwohiMaeeJncSMdadWA5oVk9vWzTCqdHPUFYue_Xw9ilO1y2DFYNBx0PwRtvHzRQcfS4xcqWDN8OP98ZQ2zTFkN98zZY_0svovms5OCZZfmTHFRULA4KQFHFy1bGDeiRbA7bgWyRUpoHNDCs-3TQHsm57hGJflX6J34IzXOH6PDmzt_wOmLL8kRvEbnl21XYVuF88vofvZms-Ubl0rF5oDpdv8cbPFwrg0mqGKImGciSwTovTAEqYCUxjSZBOF1luwQ5MKjQ9bN0CsAq7hwMHpTb_G7ftTJzC2q6QoHNR2y7YCaep-ua__Wg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3NDUyNDQsImV4cCI6MTczNjc0NzA0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ejD96ZX74BxMItk3MO_guf8cEwlG0k6gFNonrtfNn8sDB7j4HMBD1sgWm2AOHYngY8PN2IC3bGDWZn31fZzre72cR9JNjsG18W-YESoj-eW5QTDcfFgh9NJ60YCX72Y3pIXlxV_sM5Nu2VjIZe9JTUZd5BZO67TVgLKYiypn8T3dNhOCzhlWMnRRhmjK55mGBg6fAm2rzqYJMzCpgZDhROI0tkiYk8ljw1ty8Ey1McT9lpVv67AK5rtNQOcYL2x-8E7lqjJb2X8PKGAFx3ZNRKBERsT7Xc9NhMxsPXIUl-5ZhnKttkt3fVCb4dO74fx-_8RYmJ-JAxPOugtHU7RmrQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => h4fq70_TO47UWunXIaXZqa1aTos2pFfTSJ0guCR4V68
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-13 00:14:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3NDUyNDQsImV4cCI6MTczNjc0NTU0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NzQ1MjQ0LCJhdF9oYXNoIjoiMWFMMXd6d0pXRU53cFFrQWVXa3FJUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.aTFa7BGhaVniV8ZtgD9wYYtt3pVwMROwohiMaeeJncSMdadWA5oVk9vWzTCqdHPUFYue_Xw9ilO1y2DFYNBx0PwRtvHzRQcfS4xcqWDN8OP98ZQ2zTFkN98zZY_0svovms5OCZZfmTHFRULA4KQFHFy1bGDeiRbA7bgWyRUpoHNDCs-3TQHsm57hGJflX6J34IzXOH6PDmzt_wOmLL8kRvEbnl21XYVuF88vofvZms-Ubl0rF5oDpdv8cbPFwrg0mqGKImGciSwTovTAEqYCUxjSZBOF1luwQ5MKjQ9bN0CsAq7hwMHpTb_G7ftTJzC2q6QoHNR2y7YCaep-ua__Wg
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3NDUyNDQsImV4cCI6MTczNjc0NzA0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ejD96ZX74BxMItk3MO_guf8cEwlG0k6gFNonrtfNn8sDB7j4HMBD1sgWm2AOHYngY8PN2IC3bGDWZn31fZzre72cR9JNjsG18W-YESoj-eW5QTDcfFgh9NJ60YCX72Y3pIXlxV_sM5Nu2VjIZe9JTUZd5BZO67TVgLKYiypn8T3dNhOCzhlWMnRRhmjK55mGBg6fAm2rzqYJMzCpgZDhROI0tkiYk8ljw1ty8Ey1McT9lpVv67AK5rtNQOcYL2x-8E7lqjJb2X8PKGAFx3ZNRKBERsT7Xc9NhMxsPXIUl-5ZhnKttkt3fVCb4dO74fx-_8RYmJ-JAxPOugtHU7RmrQ
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => h4fq70_TO47UWunXIaXZqa1aTos2pFfTSJ0guCR4V68
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-13 00:14:04] Production.ERROR: Invoice Payment Date 2025-01-12 00:00:00
[2025-01-13 00:14:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,12)
[2025-01-13 00:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:14:05
[end_date_ymd] => 2025-01-13 00:14:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:14:05' and `end` < '2025-01-13 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-13 00:14:08] Production.INFO: Batch insert start
[2025-01-13 00:14:08] Production.INFO: global counter1
[2025-01-13 00:14:08] Production.INFO: insertion start
[2025-01-13 00:14:08] Production.INFO: last batch insert 1
[2025-01-13 00:14:08] Production.INFO: insertion end
[2025-01-13 00:14:08] Production.INFO: CALL prc_importPaymentAccounting ('35690030-d16d-11ef-ac52-8fae9ab89745') start
[2025-01-13 00:14:08] Production.INFO: CALL prc_importPaymentAccounting ('35690030-d16d-11ef-ac52-8fae9ab89745') end
[2025-01-13 00:14:08] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-13 00:14:08] Production.INFO: 2
[2025-01-13 00:14:08] Production.ERROR: CronJobId end14
[2025-01-13 00:14:08] Production.INFO: ==4384== Releasing lock...
[2025-01-13 00:14:08] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-13 00:14:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 00:14:10] Production.ERROR: CronJobId end10
[2025-01-13 00:14:10] Production.INFO: ==4380== Releasing lock...
[2025-01-13 00:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:14:13] Production.INFO: call_cost start
[2025-01-13 00:14:13] Production.INFO: call_cost end
[2025-01-13 00:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:14:14] Production.INFO: ==4376== Releasing lock...
[2025-01-13 00:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:14:17] Production.INFO: count ==145
[2025-01-13 00:14:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:14:05 - End Time 2025-01-13 00:14:05
[2025-01-13 00:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235197', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235197', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235197', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235197', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:14:18] Production.INFO: ProcessCDR(1,14235197,1,1,2)
[2025-01-13 00:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235197', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235197', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:14:21] Production.INFO: ==4386== Releasing lock...
[2025-01-13 00:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:14:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:15:02] Production.INFO: ==4444== Lock acquired, processing the job...
[2025-01-13 05:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:15:02] Production.INFO: neon service started
[2025-01-13 05:15:02] Production.INFO: neon service started
[2025-01-13 05:15:02] Production.INFO: ==4444== Releasing lock...
[2025-01-13 05:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:15:02] Production.INFO: ==4448== Lock acquired, processing the job...
[2025-01-13 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:15:02] Production.INFO: ==4448== Releasing lock...
[2025-01-13 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:15:02] Production.INFO: ==4446== Lock acquired, processing the job...
[2025-01-13 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:15:03] Production.INFO: ==4446== Releasing lock...
[2025-01-13 00:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:15:04] Production.INFO: ==4457== Lock acquired, processing the job...
[2025-01-13 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:15:04] Production.INFO: ==4455== Lock acquired, processing the job...
[2025-01-13 00:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:15:04] Production.INFO: Account Balance Start.
[2025-01-13 00:15:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:15:04] Production.INFO: 117
[2025-01-13 00:15:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:15:04] Production.INFO: ==4459== Lock acquired, processing the job...
[2025-01-13 00:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:15:04] Production.INFO: ==4451== Lock acquired, processing the job...
[2025-01-13 00:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:15:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:15:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:15:04] Production.INFO: ==4453== Lock acquired, processing the job...
[2025-01-13 00:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:15:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:15:04] Production.INFO: Total Charge 0
[2025-01-13 00:15:04] Production.INFO: ==4461== Lock acquired, processing the job...
[2025-01-13 00:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:15:04] Production.INFO: CreateAllLog End
[2025-01-13 00:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:15:04] Production.ERROR: done
[2025-01-13 00:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:15:04] Production.INFO: count ==21
[2025-01-13 00:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:15:04] Production.INFO: ==4453== Releasing lock...
[2025-01-13 00:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:15:04] Production.INFO: count ==21
[2025-01-13 00:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235201') start
[2025-01-13 00:15:04] Production.ERROR: done
[2025-01-13 00:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235201') end
[2025-01-13 00:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:15:04] Production.INFO: 1
[2025-01-13 00:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:15:04] Production.INFO: Account Balance End.
[2025-01-13 00:15:04] Production.INFO: ==4461== Releasing lock...
[2025-01-13 00:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:15:04] Production.INFO: ==4457== Releasing lock...
[2025-01-13 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:15:05
[end_date_ymd] => 2025-01-13 00:15:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:15:05' and `end` < '2025-01-13 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-13 00:15:11] Production.ERROR: CronJobId end10
[2025-01-13 00:15:11] Production.INFO: ==4455== Releasing lock...
[2025-01-13 00:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:15:13] Production.INFO: call_cost start
[2025-01-13 00:15:13] Production.INFO: call_cost end
[2025-01-13 00:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:15:14] Production.INFO: ==4451== Releasing lock...
[2025-01-13 00:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:15:18] Production.INFO: count ==144
[2025-01-13 00:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:15:05 - End Time 2025-01-13 00:15:05
[2025-01-13 00:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235202', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235202', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235202', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235202', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:15:18] Production.INFO: ProcessCDR(1,14235202,1,1,2)
[2025-01-13 00:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235202', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235202', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:15:22] Production.INFO: ==4459== Releasing lock...
[2025-01-13 00:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:15:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:16:01] Production.INFO: ==4513== Lock acquired, processing the job...
[2025-01-13 05:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:16:01] Production.INFO: neon service started
[2025-01-13 05:16:01] Production.INFO: neon service started
[2025-01-13 05:16:01] Production.INFO: ==4513== Releasing lock...
[2025-01-13 05:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:16:02] Production.INFO: ==4517== Lock acquired, processing the job...
[2025-01-13 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:16:02] Production.INFO: ==4517== Releasing lock...
[2025-01-13 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:16:02] Production.INFO: ==4515== Lock acquired, processing the job...
[2025-01-13 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:16:02] Production.INFO: ==4515== Releasing lock...
[2025-01-13 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:16:03] Production.INFO: ==4519== Lock acquired, processing the job...
[2025-01-13 00:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:16:03] Production.INFO: ==4521== Lock acquired, processing the job...
[2025-01-13 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:16:03] Production.INFO: ==4523== Lock acquired, processing the job...
[2025-01-13 00:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:16:03] Production.INFO: ==4521== Releasing lock...
[2025-01-13 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:16:03] Production.INFO: ==4525== Lock acquired, processing the job...
[2025-01-13 00:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:16:03] Production.INFO: ==4530== Lock acquired, processing the job...
[2025-01-13 00:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:16:03] Production.INFO: Account Balance Start.
[2025-01-13 00:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:16:03] Production.INFO: 117
[2025-01-13 00:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:16:03] Production.INFO: ==4528== Lock acquired, processing the job...
[2025-01-13 00:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 00: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-13 00:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:16:03] Production.INFO: count ==21
[2025-01-13 00: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-13 00:16:03] Production.INFO: count ==21
[2025-01-13 00:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235206') start
[2025-01-13 00:16:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235206') end
[2025-01-13 00:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:16:04] Production.INFO: 1
[2025-01-13 00:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:16:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:16:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:16:04] Production.INFO: ==4530== Releasing lock...
[2025-01-13 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:16:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:16:04] Production.ERROR: done
[2025-01-13 00:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:16:04] Production.INFO: Total Charge 0
[2025-01-13 00:16:04] Production.INFO: CreateAllLog End
[2025-01-13 00:16:04] Production.ERROR: done
[2025-01-13 00:16:04] Production.INFO: Account Balance End.
[2025-01-13 00:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:16:04] Production.INFO: ==4525== Releasing lock...
[2025-01-13 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:16:05
[end_date_ymd] => 2025-01-13 00:16:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:16:05' and `end` < '2025-01-13 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-13 00:16:10] Production.ERROR: CronJobId end10
[2025-01-13 00:16:10] Production.INFO: ==4523== Releasing lock...
[2025-01-13 00:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:16:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:16:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:16:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:16:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:16:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:16:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:16:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:16:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:16:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:16:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:16:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:16:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:16:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:16:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:16:11] Production.INFO: call_cost start
[2025-01-13 00:16:11] Production.INFO: call_cost end
[2025-01-13 00:16:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:16:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:16:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:16:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:16:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:16:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:16:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:16:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:16:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:16:12] Production.INFO: ==4519== Releasing lock...
[2025-01-13 00:16:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:16:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:16:17] Production.INFO: count ==144
[2025-01-13 00:16:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:16:05 - End Time 2025-01-13 00:16:05
[2025-01-13 00:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235207', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235207', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235207', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235207', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:16:17] Production.INFO: ProcessCDR(1,14235207,1,1,2)
[2025-01-13 00:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235207', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235207', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:16:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:16:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:16:20] Production.INFO: ==4528== Releasing lock...
[2025-01-13 00:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:16:20] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:17:02] Production.INFO: ==4594== Lock acquired, processing the job...
[2025-01-13 05:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:17:02] Production.INFO: neon service started
[2025-01-13 05:17:02] Production.INFO: neon service started
[2025-01-13 05:17:02] Production.INFO: ==4594== Releasing lock...
[2025-01-13 05:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:17:02] Production.INFO: ==4596== Lock acquired, processing the job...
[2025-01-13 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:17:02] Production.INFO: ==4596== Releasing lock...
[2025-01-13 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:17:03] Production.INFO: ==4598== Lock acquired, processing the job...
[2025-01-13 05:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:17:03] Production.INFO: ==4598== Releasing lock...
[2025-01-13 05:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:17:03] Production.INFO: ==4600== Lock acquired, processing the job...
[2025-01-13 00:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:17:03] Production.INFO: ==4602== Lock acquired, processing the job...
[2025-01-13 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:17:03] Production.INFO: ==4604== Lock acquired, processing the job...
[2025-01-13 00:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:17:03] Production.INFO: ==4608== Lock acquired, processing the job...
[2025-01-13 00:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:17:03] Production.INFO: ==4606== Lock acquired, processing the job...
[2025-01-13 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:17:03] Production.INFO: ==4610== Lock acquired, processing the job...
[2025-01-13 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:17:03] Production.INFO: Account Balance Start.
[2025-01-13 00:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:17:03] Production.INFO: 117
[2025-01-13 00:17:04] Production.INFO: ==4602== Releasing lock...
[2025-01-13 00:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:17:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:17:04] Production.INFO: count ==21
[2025-01-13 00:17:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:17:04] Production.INFO: count ==21
[2025-01-13 00:17:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:17:04] Production.ERROR: done
[2025-01-13 00:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235211') start
[2025-01-13 00:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:17:04] Production.ERROR: done
[2025-01-13 00:17:04] Production.INFO: Total Charge 0
[2025-01-13 00:17:04] Production.INFO: CreateAllLog End
[2025-01-13 00:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235211') end
[2025-01-13 00:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:17:04] Production.INFO: 1
[2025-01-13 00:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:17:04] Production.INFO: ==4610== Releasing lock...
[2025-01-13 00:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:17:04] Production.INFO: Account Balance End.
[2025-01-13 00:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:17:04] Production.INFO: ==4606== Releasing lock...
[2025-01-13 00:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:17:05
[end_date_ymd] => 2025-01-13 00:17:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:17:05' and `end` < '2025-01-13 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-13 00:17:12] Production.ERROR: CronJobId end10
[2025-01-13 00:17:12] Production.INFO: ==4604== Releasing lock...
[2025-01-13 00:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:17:14] Production.INFO: call_cost start
[2025-01-13 00:17:14] Production.INFO: call_cost end
[2025-01-13 00:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:17:15] Production.INFO: ==4600== Releasing lock...
[2025-01-13 00:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:17:17] Production.INFO: count ==144
[2025-01-13 00:17:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:17:05 - End Time 2025-01-13 00:17:05
[2025-01-13 00:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235212', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235212', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235212', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235212', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:17:17] Production.INFO: ProcessCDR(1,14235212,1,1,2)
[2025-01-13 00:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235212', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235212', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:17:20] Production.INFO: ==4608== Releasing lock...
[2025-01-13 00:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:17:20] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:18:01] Production.INFO: ==4684== Lock acquired, processing the job...
[2025-01-13 05:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:18:01] Production.INFO: neon service started
[2025-01-13 05:18:01] Production.INFO: neon service started
[2025-01-13 05:18:01] Production.INFO: ==4684== Releasing lock...
[2025-01-13 05:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:18:01] Production.INFO: ==4686== Lock acquired, processing the job...
[2025-01-13 00:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:18:02] Production.INFO: ==4686== Releasing lock...
[2025-01-13 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:18:02] Production.INFO: ==4689== Lock acquired, processing the job...
[2025-01-13 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:18:02] Production.INFO: ==4689== Releasing lock...
[2025-01-13 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:18:02] Production.INFO: ==4695== Lock acquired, processing the job...
[2025-01-13 00:18:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:18:03] Production.INFO: ==4701== Lock acquired, processing the job...
[2025-01-13 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:18:03] Production.INFO: ==4691== Lock acquired, processing the job...
[2025-01-13 00:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:18:03] Production.INFO: ==4693== Lock acquired, processing the job...
[2025-01-13 00:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:18:03] Production.INFO: count ==21
[2025-01-13 00:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:18:03] Production.INFO: count ==21
[2025-01-13 00:18:03] Production.INFO: ==4697== Lock acquired, processing the job...
[2025-01-13 00:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235213') start
[2025-01-13 00:18:03] Production.INFO: ==4699== Lock acquired, processing the job...
[2025-01-13 00:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235213') end
[2025-01-13 00:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:18:03] Production.INFO: 1
[2025-01-13 00:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:18:03] Production.INFO: Account Balance Start.
[2025-01-13 00:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:18:03] Production.INFO: 117
[2025-01-13 00:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:18:03] Production.INFO: ==4701== Releasing lock...
[2025-01-13 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:18:03] Production.INFO: ==4693== Releasing lock...
[2025-01-13 00:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:18:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:18:03] Production.ERROR: done
[2025-01-13 00:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:18:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:18:04] Production.ERROR: done
[2025-01-13 00:18:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:18:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:18:04] Production.INFO: Total Charge 0
[2025-01-13 00:18:04] Production.INFO: CreateAllLog End
[2025-01-13 00:18:04] Production.INFO: Account Balance End.
[2025-01-13 00:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:18:04] Production.INFO: ==4697== Releasing lock...
[2025-01-13 00:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:18:04
[end_date_ymd] => 2025-01-13 00:18:04
[RateCDR] => 1
)
[2025-01-13 00:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:18:04' and `end` < '2025-01-13 00: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-13 00:18:11] Production.ERROR: CronJobId end10
[2025-01-13 00:18:11] Production.INFO: ==4695== Releasing lock...
[2025-01-13 00:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:18:12] Production.INFO: call_cost start
[2025-01-13 00:18:12] Production.INFO: call_cost end
[2025-01-13 00:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:18:13] Production.INFO: ==4691== Releasing lock...
[2025-01-13 00:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:18:17] Production.INFO: count ==144
[2025-01-13 00:18:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:18:04 - End Time 2025-01-13 00:18:04
[2025-01-13 00:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235217', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235217', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235217', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235217', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:18:17] Production.INFO: ProcessCDR(1,14235217,1,1,2)
[2025-01-13 00:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235217', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235217', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:18:20] Production.INFO: ==4699== Releasing lock...
[2025-01-13 00:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:18:20] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:19:01] Production.INFO: ==4761== Lock acquired, processing the job...
[2025-01-13 05:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:19:01] Production.INFO: neon service started
[2025-01-13 05:19:01] Production.INFO: neon service started
[2025-01-13 05:19:01] Production.INFO: ==4761== Releasing lock...
[2025-01-13 05:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:19:02] Production.INFO: ==4763== Lock acquired, processing the job...
[2025-01-13 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:19:02] Production.INFO: ==4763== Releasing lock...
[2025-01-13 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:19:02] Production.INFO: ==4765== Lock acquired, processing the job...
[2025-01-13 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:19:02] Production.INFO: ==4765== Releasing lock...
[2025-01-13 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:19:03] Production.INFO: ==4776== Lock acquired, processing the job...
[2025-01-13 00:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:19:03] Production.INFO: ==4768== Lock acquired, processing the job...
[2025-01-13 00:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:19:03] Production.INFO: ==4770== Lock acquired, processing the job...
[2025-01-13 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:19:03] Production.INFO: ==4774== Lock acquired, processing the job...
[2025-01-13 00:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:19:03] Production.INFO: ==4778== Lock acquired, processing the job...
[2025-01-13 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:19:03] Production.INFO: ==4772== Lock acquired, processing the job...
[2025-01-13 00:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:19:03] Production.ERROR: done
[2025-01-13 00:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:19:03] Production.INFO: Account Balance Start.
[2025-01-13 00:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:19:03] Production.INFO: 117
[2025-01-13 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-13 00:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:19:03] Production.INFO: count ==21
[2025-01-13 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-13 00:19:03] Production.INFO: count ==21
[2025-01-13 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235219') start
[2025-01-13 00:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:19:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:19:03] Production.ERROR: done
[2025-01-13 00:19:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:19:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:19:04] Production.INFO: ==4770== Releasing lock...
[2025-01-13 00:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235219') end
[2025-01-13 00:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:19:04] Production.INFO: 1
[2025-01-13 00:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:19:04] Production.INFO: ==4778== Releasing lock...
[2025-01-13 00:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:19:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:19:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:19:04] Production.INFO: Total Charge 0
[2025-01-13 00:19:04] Production.INFO: CreateAllLog End
[2025-01-13 00:19:04] Production.INFO: Account Balance End.
[2025-01-13 00:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:19:04] Production.INFO: ==4774== Releasing lock...
[2025-01-13 00:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:19:05
[end_date_ymd] => 2025-01-13 00:19:05
[RateCDR] => 1
)
[2025-01-13 00:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:19:05' and `end` < '2025-01-13 00:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:19:10] Production.ERROR: CronJobId end10
[2025-01-13 00:19:10] Production.INFO: ==4772== Releasing lock...
[2025-01-13 00:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:19:13] Production.INFO: call_cost start
[2025-01-13 00:19:13] Production.INFO: call_cost end
[2025-01-13 00:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:19:14] Production.INFO: ==4768== Releasing lock...
[2025-01-13 00:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:19:17] Production.INFO: count ==144
[2025-01-13 00:19:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:19:05 - End Time 2025-01-13 00:19:05
[2025-01-13 00:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235222', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235222', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235222', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235222', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:19:17] Production.INFO: ProcessCDR(1,14235222,1,1,2)
[2025-01-13 00:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235222', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235222', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:19:20] Production.INFO: ==4776== Releasing lock...
[2025-01-13 00:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:19:20] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:20:01] Production.INFO: ==4837== Lock acquired, processing the job...
[2025-01-13 05:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:20:01] Production.INFO: neon service started
[2025-01-13 05:20:01] Production.INFO: neon service started
[2025-01-13 05:20:01] Production.INFO: ==4837== Releasing lock...
[2025-01-13 05:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:20:02] Production.INFO: ==4839== Lock acquired, processing the job...
[2025-01-13 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:20:02] Production.INFO: ==4841== Lock acquired, processing the job...
[2025-01-13 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:20:02] Production.INFO: ==4841== Releasing lock...
[2025-01-13 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:20:02] Production.INFO: ==4839== Releasing lock...
[2025-01-13 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:20:03] Production.INFO: ==4846== Lock acquired, processing the job...
[2025-01-13 00:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:20:03] Production.INFO: ==4852== Lock acquired, processing the job...
[2025-01-13 00:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:20:03] Production.INFO: ==4844== Lock acquired, processing the job...
[2025-01-13 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 00:20:03] Production.INFO: ==4854== Lock acquired, processing the job...
[2025-01-13 00:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:20:03] Production.INFO: Account Balance Start.
[2025-01-13 00:20:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:20:03] Production.INFO: 117
[2025-01-13 00:20:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 00:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 00:20:03] Production.ERROR: CronJob PID - 4846
[2025-01-13 00:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 00:20:03] Production.ERROR: CronJob ID - 5
[2025-01-13 00:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 00:20:00
[2025-01-13 00:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 00:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 00:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 00:20:03] Production.ERROR: CronJob PID - 4852
[2025-01-13 00:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 00:20:03] Production.ERROR: CronJob ID - 12
[2025-01-13 00:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 00:20:00
[2025-01-13 00:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 00:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 00:20:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:20:03] Production.INFO: ==4848== Lock acquired, processing the job...
[2025-01-13 00:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:20:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:20:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 00:20:03] Production.INFO: ==4844== Releasing lock...
[2025-01-13 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 00:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 00:20:03] Production.INFO: ==4850== Lock acquired, processing the job...
[2025-01-13 00:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:20:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:20:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:20:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:20:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:20:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:20:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:20:03] Production.INFO: ==4856== Lock acquired, processing the job...
[2025-01-13 00:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 00:20:03] Production.INFO: ==4858== Lock acquired, processing the job...
[2025-01-13 00:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:20:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:20:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:20:03] Production.INFO: Total Charge 0
[2025-01-13 00:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:20:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 00:20:04] Production.INFO: count ==21
[2025-01-13 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-13 00:20:04] Production.INFO: count ==21
[2025-01-13 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235226') start
[2025-01-13 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235226') end
[2025-01-13 00:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:20:04] Production.INFO: 1
[2025-01-13 00:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:20:04] Production.ERROR: done
[2025-01-13 00:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:20:04] Production.INFO: ==4848== Releasing lock...
[2025-01-13 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:20:04] Production.ERROR: done
[2025-01-13 00:20:04] Production.INFO: ==4858== Releasing lock...
[2025-01-13 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:20:04] Production.ERROR: done
[2025-01-13 00:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 00:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235227', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 00:20:04] Production.INFO: Account Balance End.
[2025-01-13 00:20:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:20:04] Production.INFO: ==4852== Releasing lock...
[2025-01-13 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:20:05
[end_date_ymd] => 2025-01-13 00:20:05
[RateCDR] => 1
)
[2025-01-13 00:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:20:05' and `end` < '2025-01-13 00:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235227', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 00:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 00:20:08] Production.INFO: ProcessCDR(1,14235227,1,1,2)
[2025-01-13 00:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235227,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235227,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:20:08] Production.INFO: ==4856== Releasing lock...
[2025-01-13 00:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 00:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 00:20:12] Production.ERROR: CronJobId end10
[2025-01-13 00:20:12] Production.INFO: ==4850== Releasing lock...
[2025-01-13 00:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:20:14] Production.INFO: call_cost start
[2025-01-13 00:20:14] Production.INFO: call_cost end
[2025-01-13 00:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:20:15] Production.INFO: ==4846== Releasing lock...
[2025-01-13 00:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:20:17] Production.INFO: count ==151
[2025-01-13 00:20:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:20:05 - End Time 2025-01-13 00:20:05
[2025-01-13 00:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235228', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235228', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235228', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235228', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:20:18] Production.INFO: ProcessCDR(1,14235228,1,1,2)
[2025-01-13 00:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235228', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235228', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:20:21] Production.INFO: ==4854== Releasing lock...
[2025-01-13 00:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:20:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:21:01] Production.INFO: ==4921== Lock acquired, processing the job...
[2025-01-13 05:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:21:01] Production.INFO: neon service started
[2025-01-13 05:21:01] Production.INFO: neon service started
[2025-01-13 05:21:01] Production.INFO: ==4921== Releasing lock...
[2025-01-13 05:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:21:02] Production.INFO: ==4925== Lock acquired, processing the job...
[2025-01-13 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:21:02] Production.INFO: ==4925== Releasing lock...
[2025-01-13 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:21:02] Production.INFO: ==4927== Lock acquired, processing the job...
[2025-01-13 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:21:02] Production.INFO: ==4927== Releasing lock...
[2025-01-13 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:21:03] Production.INFO: ==4929== Lock acquired, processing the job...
[2025-01-13 00:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:21:03] Production.INFO: ==4937== Lock acquired, processing the job...
[2025-01-13 00:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:21:03] Production.INFO: ==4931== Lock acquired, processing the job...
[2025-01-13 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:21:03] Production.INFO: ==4935== Lock acquired, processing the job...
[2025-01-13 00:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:21:03] Production.INFO: ==4933== Lock acquired, processing the job...
[2025-01-13 00:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:21:03] Production.INFO: ==4939== Lock acquired, processing the job...
[2025-01-13 00:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:21:03] Production.INFO: Account Balance Start.
[2025-01-13 00:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:21:03] Production.INFO: 117
[2025-01-13 00:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 00:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:21:03] Production.INFO: count ==21
[2025-01-13 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-13 00:21:03] Production.INFO: count ==21
[2025-01-13 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235232') start
[2025-01-13 00:21:03] Production.ERROR: done
[2025-01-13 00:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235232') end
[2025-01-13 00:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:21:03] Production.INFO: 1
[2025-01-13 00:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:21:03] Production.ERROR: done
[2025-01-13 00:21:03] Production.INFO: ==4931== Releasing lock...
[2025-01-13 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:21:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:21:04] Production.INFO: ==4939== Releasing lock...
[2025-01-13 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:21:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:21:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:21:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:21:04] Production.INFO: Total Charge 0
[2025-01-13 00:21:04] Production.INFO: CreateAllLog End
[2025-01-13 00:21:04] Production.INFO: Account Balance End.
[2025-01-13 00:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:21:04] Production.INFO: ==4935== Releasing lock...
[2025-01-13 00:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:21:04
[end_date_ymd] => 2025-01-13 00:21:04
[RateCDR] => 1
)
[2025-01-13 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-12 21:21:04' and `end` < '2025-01-13 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-13 00:21:11] Production.ERROR: CronJobId end10
[2025-01-13 00:21:11] Production.INFO: ==4933== Releasing lock...
[2025-01-13 00:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:21:13] Production.INFO: call_cost start
[2025-01-13 00:21:13] Production.INFO: call_cost end
[2025-01-13 00:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:21:14] Production.INFO: ==4929== Releasing lock...
[2025-01-13 00:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:21:18] Production.INFO: count ==157
[2025-01-13 00:21:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:21:04 - End Time 2025-01-13 00:21:04
[2025-01-13 00:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235233', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235233', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235233', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235233', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:21:18] Production.INFO: ProcessCDR(1,14235233,1,1,2)
[2025-01-13 00:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235233', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235233', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:21:21] Production.INFO: ==4937== Releasing lock...
[2025-01-13 00:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:21:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:22:02] Production.INFO: ==5009== Lock acquired, processing the job...
[2025-01-13 05:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:22:02] Production.INFO: neon service started
[2025-01-13 05:22:02] Production.INFO: neon service started
[2025-01-13 05:22:02] Production.INFO: ==5009== Releasing lock...
[2025-01-13 05:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:22:02] Production.INFO: ==5013== Lock acquired, processing the job...
[2025-01-13 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:22:02] Production.INFO: ==5013== Releasing lock...
[2025-01-13 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:22:02] Production.INFO: ==5011== Lock acquired, processing the job...
[2025-01-13 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:22:03] Production.INFO: ==5011== Releasing lock...
[2025-01-13 00:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:22:03] Production.INFO: ==5020== Lock acquired, processing the job...
[2025-01-13 00:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:22:04] Production.INFO: ==5016== Lock acquired, processing the job...
[2025-01-13 00:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:22:04] Production.INFO: ==5026== Lock acquired, processing the job...
[2025-01-13 00:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:22:04] Production.INFO: ==5018== Lock acquired, processing the job...
[2025-01-13 00:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:22:04] Production.INFO: ==5022== Lock acquired, processing the job...
[2025-01-13 00:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:22:04] Production.INFO: ==5024== Lock acquired, processing the job...
[2025-01-13 00:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:22:04] Production.INFO: Account Balance Start.
[2025-01-13 00:22:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:22:04] Production.INFO: 117
[2025-01-13 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-13 00:22:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:22:04] Production.INFO: count ==21
[2025-01-13 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-13 00:22:04] Production.INFO: count ==21
[2025-01-13 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235236') start
[2025-01-13 00:22:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:22:04] Production.INFO: ==5018== Releasing lock...
[2025-01-13 00:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:22:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:22:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235236') end
[2025-01-13 00:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:22:04] Production.INFO: 1
[2025-01-13 00:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:22:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:22:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:22:04] Production.INFO: ==5026== Releasing lock...
[2025-01-13 00:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:22:04] Production.INFO: Total Charge 0
[2025-01-13 00:22:04] Production.INFO: CreateAllLog End
[2025-01-13 00:22:04] Production.ERROR: done
[2025-01-13 00:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:22:05] Production.ERROR: done
[2025-01-13 00:22:05] Production.INFO: Account Balance End.
[2025-01-13 00:22:05] Production.ERROR: CronJobId end 12
[2025-01-13 00:22:05] Production.INFO: ==5022== Releasing lock...
[2025-01-13 00:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:22:06
[end_date_ymd] => 2025-01-13 00:22:06
[RateCDR] => 1
)
[2025-01-13 00:22:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:22:06' and `end` < '2025-01-13 00: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-13 00:22:11] Production.ERROR: CronJobId end10
[2025-01-13 00:22:11] Production.INFO: ==5020== Releasing lock...
[2025-01-13 00:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:22:14] Production.INFO: call_cost start
[2025-01-13 00:22:14] Production.INFO: call_cost end
[2025-01-13 00:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:22:14] Production.INFO: ==5016== Releasing lock...
[2025-01-13 00:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:22:18] Production.INFO: count ==157
[2025-01-13 00:22:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:22:06 - End Time 2025-01-13 00:22:06
[2025-01-13 00:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235238', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235238', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235238', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235238', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:22:18] Production.INFO: ProcessCDR(1,14235238,1,1,2)
[2025-01-13 00:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235238', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235238', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:22:21] Production.INFO: ==5024== Releasing lock...
[2025-01-13 00:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:22:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:23:01] Production.INFO: ==5099== Lock acquired, processing the job...
[2025-01-13 05:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:23:01] Production.INFO: neon service started
[2025-01-13 05:23:01] Production.INFO: neon service started
[2025-01-13 05:23:01] Production.INFO: ==5099== Releasing lock...
[2025-01-13 05:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:23:02] Production.INFO: ==5101== Lock acquired, processing the job...
[2025-01-13 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:23:02] Production.INFO: ==5101== Releasing lock...
[2025-01-13 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:23:02] Production.INFO: ==5103== Lock acquired, processing the job...
[2025-01-13 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:23:02] Production.INFO: ==5103== Releasing lock...
[2025-01-13 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:23:03] Production.INFO: ==5105== Lock acquired, processing the job...
[2025-01-13 00:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:23:03] Production.INFO: ==5108== Lock acquired, processing the job...
[2025-01-13 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:23:03] Production.INFO: ==5110== Lock acquired, processing the job...
[2025-01-13 00:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:23:03] Production.INFO: ==5113== Lock acquired, processing the job...
[2025-01-13 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:23:03] Production.INFO: ==5117== Lock acquired, processing the job...
[2025-01-13 00:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:23:03] Production.INFO: ==5115== Lock acquired, processing the job...
[2025-01-13 00:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:23:03] Production.INFO: Account Balance Start.
[2025-01-13 00:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:23:03] Production.INFO: 117
[2025-01-13 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-13 00:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:23:03] Production.INFO: count ==21
[2025-01-13 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 00:23:03] Production.INFO: count ==21
[2025-01-13 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235242') start
[2025-01-13 00:23:03] Production.INFO: ==5108== Releasing lock...
[2025-01-13 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:23:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235242') end
[2025-01-13 00:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:23:03] Production.INFO: 1
[2025-01-13 00:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:23:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:23:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:23:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:23:03] Production.INFO: ==5117== Releasing lock...
[2025-01-13 00:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:23:04] Production.ERROR: done
[2025-01-13 00:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:23:04] Production.INFO: Total Charge 0
[2025-01-13 00:23:04] Production.INFO: CreateAllLog End
[2025-01-13 00:23:04] Production.ERROR: done
[2025-01-13 00:23:04] Production.INFO: Account Balance End.
[2025-01-13 00:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:23:04] Production.INFO: ==5113== Releasing lock...
[2025-01-13 00:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:23:05
[end_date_ymd] => 2025-01-13 00:23:05
[RateCDR] => 1
)
[2025-01-13 00:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:23:05' and `end` < '2025-01-13 00:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:23:12] Production.ERROR: CronJobId end10
[2025-01-13 00:23:12] Production.INFO: ==5110== Releasing lock...
[2025-01-13 00:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:23:13] Production.INFO: call_cost start
[2025-01-13 00:23:13] Production.INFO: call_cost end
[2025-01-13 00:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:23:14] Production.INFO: ==5105== Releasing lock...
[2025-01-13 00:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:23:17] Production.INFO: count ==157
[2025-01-13 00:23:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:23:05 - End Time 2025-01-13 00:23:05
[2025-01-13 00:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235243', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235243', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235243', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235243', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:23:17] Production.INFO: ProcessCDR(1,14235243,1,1,2)
[2025-01-13 00:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235243', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235243', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:23:20] Production.INFO: ==5115== Releasing lock...
[2025-01-13 00:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:23:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:24:02] Production.INFO: ==5193== Lock acquired, processing the job...
[2025-01-13 05:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:24:02] Production.INFO: neon service started
[2025-01-13 05:24:02] Production.INFO: neon service started
[2025-01-13 05:24:02] Production.INFO: ==5193== Releasing lock...
[2025-01-13 05:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:24:02] Production.INFO: ==5195== Lock acquired, processing the job...
[2025-01-13 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:24:02] Production.INFO: ==5197== Lock acquired, processing the job...
[2025-01-13 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:24:02] Production.INFO: ==5195== Releasing lock...
[2025-01-13 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:24:03] Production.INFO: ==5197== Releasing lock...
[2025-01-13 05:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:24:03] Production.INFO: ==5207== Lock acquired, processing the job...
[2025-01-13 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:24:03] Production.INFO: ==5209== Lock acquired, processing the job...
[2025-01-13 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:24:04] Production.INFO: ==5199== Lock acquired, processing the job...
[2025-01-13 00:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:24:04] Production.INFO: count ==21
[2025-01-13 00:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:24:04] Production.INFO: count ==21
[2025-01-13 00:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235244') start
[2025-01-13 00:24:04] Production.INFO: ==5201== Lock acquired, processing the job...
[2025-01-13 00:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235244') end
[2025-01-13 00:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:24:04] Production.INFO: 1
[2025-01-13 00:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:24:04] Production.INFO: ==5203== Lock acquired, processing the job...
[2025-01-13 00:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:24:04] Production.INFO: ==5205== Lock acquired, processing the job...
[2025-01-13 00:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:24:04] Production.INFO: ==5209== Releasing lock...
[2025-01-13 00:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:24:04] Production.ERROR: done
[2025-01-13 00:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:24:04] Production.INFO: Account Balance Start.
[2025-01-13 00:24:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:24:04] Production.INFO: 117
[2025-01-13 00:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:24:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:24:04] Production.ERROR: done
[2025-01-13 00:24:04] Production.INFO: ==5201== Releasing lock...
[2025-01-13 00:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:24:04] Production.INFO: Total Charge 0
[2025-01-13 00:24:04] Production.INFO: CreateAllLog End
[2025-01-13 00:24:04] Production.INFO: Account Balance End.
[2025-01-13 00:24:05] Production.ERROR: CronJobId end 12
[2025-01-13 00:24:05] Production.INFO: ==5205== Releasing lock...
[2025-01-13 00:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:24:05
[end_date_ymd] => 2025-01-13 00:24:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:24:05' and `end` < '2025-01-13 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-13 00:24:11] Production.ERROR: CronJobId end10
[2025-01-13 00:24:11] Production.INFO: ==5203== Releasing lock...
[2025-01-13 00:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:24:13] Production.INFO: call_cost start
[2025-01-13 00:24:13] Production.INFO: call_cost end
[2025-01-13 00:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:24:14] Production.INFO: ==5199== Releasing lock...
[2025-01-13 00:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:24:17] Production.INFO: count ==157
[2025-01-13 00:24:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:24:05 - End Time 2025-01-13 00:24:05
[2025-01-13 00:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235248', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235248', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235248', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235248', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:24:18] Production.INFO: ProcessCDR(1,14235248,1,1,2)
[2025-01-13 00:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235248', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235248', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:24:21] Production.INFO: ==5207== Releasing lock...
[2025-01-13 00:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:24:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:25:01] Production.INFO: ==5324== Lock acquired, processing the job...
[2025-01-13 05:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:25:01] Production.INFO: neon service started
[2025-01-13 05:25:01] Production.INFO: neon service started
[2025-01-13 05:25:01] Production.INFO: ==5324== Releasing lock...
[2025-01-13 05:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:25:02] Production.INFO: ==5326== Lock acquired, processing the job...
[2025-01-13 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:25:02] Production.INFO: ==5326== Releasing lock...
[2025-01-13 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:25:02] Production.INFO: ==5328== Lock acquired, processing the job...
[2025-01-13 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:25:02] Production.INFO: ==5328== Releasing lock...
[2025-01-13 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:25:03] Production.INFO: ==5336== Lock acquired, processing the job...
[2025-01-13 00:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:25:03] Production.INFO: ==5341== Lock acquired, processing the job...
[2025-01-13 00:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:25:03] Production.INFO: Account Balance Start.
[2025-01-13 00:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:25:03] Production.INFO: ==5330== Lock acquired, processing the job...
[2025-01-13 00:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:25:03] Production.INFO: 117
[2025-01-13 00:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:25:03] Production.INFO: ==5332== Lock acquired, processing the job...
[2025-01-13 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:25:03] Production.INFO: count ==21
[2025-01-13 00: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-13 00:25:03] Production.INFO: count ==21
[2025-01-13 00:25:03] Production.INFO: ==5334== Lock acquired, processing the job...
[2025-01-13 00:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235250') start
[2025-01-13 00:25:03] Production.INFO: ==5339== Lock acquired, processing the job...
[2025-01-13 00:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:25:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235250') end
[2025-01-13 00:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:25:03] Production.INFO: 1
[2025-01-13 00:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:25:03] Production.INFO: ==5341== Releasing lock...
[2025-01-13 00:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:25:03] Production.INFO: ==5332== Releasing lock...
[2025-01-13 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:25:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:25:03] Production.ERROR: done
[2025-01-13 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:25:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:25:04] Production.ERROR: done
[2025-01-13 00:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:25:04] Production.INFO: Total Charge 0
[2025-01-13 00:25:04] Production.INFO: CreateAllLog End
[2025-01-13 00:25:04] Production.INFO: Account Balance End.
[2025-01-13 00:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:25:04] Production.INFO: ==5336== Releasing lock...
[2025-01-13 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:25:05
[end_date_ymd] => 2025-01-13 00:25:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:25:05' and `end` < '2025-01-13 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-13 00:25:11] Production.ERROR: CronJobId end10
[2025-01-13 00:25:11] Production.INFO: ==5334== Releasing lock...
[2025-01-13 00:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:25:13] Production.INFO: call_cost start
[2025-01-13 00:25:13] Production.INFO: call_cost end
[2025-01-13 00:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:25:14] Production.INFO: ==5330== Releasing lock...
[2025-01-13 00:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:25:17] Production.INFO: count ==152
[2025-01-13 00:25:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:25:05 - End Time 2025-01-13 00:25:05
[2025-01-13 00:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235253', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235253', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235253', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235253', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:25:17] Production.INFO: ProcessCDR(1,14235253,1,1,2)
[2025-01-13 00:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235253', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235253', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:25:21] Production.INFO: ==5339== Releasing lock...
[2025-01-13 00:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:25:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:26:02] Production.INFO: ==5416== Lock acquired, processing the job...
[2025-01-13 05:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:26:02] Production.INFO: neon service started
[2025-01-13 05:26:02] Production.INFO: neon service started
[2025-01-13 05:26:02] Production.INFO: ==5416== Releasing lock...
[2025-01-13 05:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:26:02] Production.INFO: ==5420== Lock acquired, processing the job...
[2025-01-13 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:26:02] Production.INFO: ==5420== Releasing lock...
[2025-01-13 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:26:02] Production.INFO: ==5418== Lock acquired, processing the job...
[2025-01-13 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:26:03] Production.INFO: ==5418== Releasing lock...
[2025-01-13 00:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:26:03] Production.INFO: ==5425== Lock acquired, processing the job...
[2025-01-13 00:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:26:03] Production.INFO: ==5427== Lock acquired, processing the job...
[2025-01-13 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:26:04] Production.INFO: ==5431== Lock acquired, processing the job...
[2025-01-13 00:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:26:04] Production.INFO: ==5429== Lock acquired, processing the job...
[2025-01-13 00:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:26:04] Production.INFO: Account Balance Start.
[2025-01-13 00:26:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:26:04] Production.INFO: 117
[2025-01-13 00:26:04] Production.INFO: ==5433== Lock acquired, processing the job...
[2025-01-13 00:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:26:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:26:04] Production.INFO: ==5435== Lock acquired, processing the job...
[2025-01-13 00:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:26:04] Production.INFO: ==5427== Releasing lock...
[2025-01-13 00:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:26:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 00: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-13 00:26:04] Production.INFO: count ==21
[2025-01-13 00:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:26:04] Production.INFO: count ==21
[2025-01-13 00:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235257') start
[2025-01-13 00:26:04] Production.ERROR: done
[2025-01-13 00:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:26:04] Production.INFO: Total Charge 0
[2025-01-13 00:26:04] Production.INFO: CreateAllLog End
[2025-01-13 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235257') end
[2025-01-13 00:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:26:04] Production.INFO: 1
[2025-01-13 00:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:26:04] Production.ERROR: done
[2025-01-13 00:26:04] Production.INFO: ==5435== Releasing lock...
[2025-01-13 00:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:26:05] Production.INFO: Account Balance End.
[2025-01-13 00:26:05] Production.ERROR: CronJobId end 12
[2025-01-13 00:26:05] Production.INFO: ==5431== Releasing lock...
[2025-01-13 00:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:26:06
[end_date_ymd] => 2025-01-13 00:26:06
[RateCDR] => 1
)
[2025-01-13 00: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-12 21:26:06' and `end` < '2025-01-13 00: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-13 00:26:12] Production.ERROR: CronJobId end10
[2025-01-13 00:26:12] Production.INFO: ==5429== Releasing lock...
[2025-01-13 00:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:26:13] Production.INFO: call_cost start
[2025-01-13 00:26:13] Production.INFO: call_cost end
[2025-01-13 00:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:26:14] Production.INFO: ==5425== Releasing lock...
[2025-01-13 00:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:26:18] Production.INFO: count ==152
[2025-01-13 00:26:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:26:06 - End Time 2025-01-13 00:26:06
[2025-01-13 00:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235258', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235258', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235258', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235258', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:26:18] Production.INFO: ProcessCDR(1,14235258,1,1,2)
[2025-01-13 00:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235258', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235258', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:26:21] Production.INFO: ==5433== Releasing lock...
[2025-01-13 00:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:26:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:27:01] Production.INFO: ==5509== Lock acquired, processing the job...
[2025-01-13 05:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:27:01] Production.INFO: neon service started
[2025-01-13 05:27:01] Production.INFO: neon service started
[2025-01-13 05:27:01] Production.INFO: ==5509== Releasing lock...
[2025-01-13 05:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:27:02] Production.INFO: ==5511== Lock acquired, processing the job...
[2025-01-13 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:27:02] Production.INFO: ==5513== Lock acquired, processing the job...
[2025-01-13 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:27:02] Production.INFO: ==5511== Releasing lock...
[2025-01-13 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:27:02] Production.INFO: ==5513== Releasing lock...
[2025-01-13 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:27:03] Production.INFO: ==5516== Lock acquired, processing the job...
[2025-01-13 00:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:27:03] Production.INFO: ==5518== Lock acquired, processing the job...
[2025-01-13 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:27:03] Production.INFO: ==5520== Lock acquired, processing the job...
[2025-01-13 00:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:27:03] Production.INFO: ==5522== Lock acquired, processing the job...
[2025-01-13 00:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:27:03] Production.INFO: ==5518== Releasing lock...
[2025-01-13 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:27:03] Production.INFO: ==5524== Lock acquired, processing the job...
[2025-01-13 00:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:27:03] Production.INFO: ==5526== Lock acquired, processing the job...
[2025-01-13 00:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:27:03] Production.INFO: Account Balance Start.
[2025-01-13 00:27:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:27:03] Production.INFO: 117
[2025-01-13 00:27:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:27:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:27:03] Production.INFO: count ==21
[2025-01-13 00:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:27:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:27:03] Production.INFO: count ==21
[2025-01-13 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235262') start
[2025-01-13 00:27:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:27:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235262') end
[2025-01-13 00:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:27:03] Production.INFO: 1
[2025-01-13 00:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:27:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:27:03] Production.INFO: Total Charge 0
[2025-01-13 00:27:03] Production.INFO: CreateAllLog End
[2025-01-13 00:27:03] Production.INFO: ==5526== Releasing lock...
[2025-01-13 00:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:27:03] Production.ERROR: done
[2025-01-13 00:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:27:04] Production.INFO: Account Balance End.
[2025-01-13 00:27:04] Production.ERROR: done
[2025-01-13 00:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:27:04] Production.INFO: ==5522== Releasing lock...
[2025-01-13 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:27:05
[end_date_ymd] => 2025-01-13 00:27:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:27:05' and `end` < '2025-01-13 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-13 00:27:11] Production.ERROR: CronJobId end10
[2025-01-13 00:27:11] Production.INFO: ==5520== Releasing lock...
[2025-01-13 00:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:27:13] Production.INFO: call_cost start
[2025-01-13 00:27:13] Production.INFO: call_cost end
[2025-01-13 00:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:27:14] Production.INFO: ==5516== Releasing lock...
[2025-01-13 00:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:27:17] Production.INFO: count ==151
[2025-01-13 00:27:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:27:05 - End Time 2025-01-13 00:27:05
[2025-01-13 00:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235263', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235263', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235263', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235263', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:27:17] Production.INFO: ProcessCDR(1,14235263,1,1,2)
[2025-01-13 00:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235263', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235263', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:27:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:27:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:27:20] Production.INFO: ==5524== Releasing lock...
[2025-01-13 00:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:27:20] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:28:02] Production.INFO: ==5601== Lock acquired, processing the job...
[2025-01-13 05:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:28:02] Production.INFO: neon service started
[2025-01-13 05:28:02] Production.INFO: neon service started
[2025-01-13 05:28:02] Production.INFO: ==5601== Releasing lock...
[2025-01-13 05:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:28:02] Production.INFO: ==5605== Lock acquired, processing the job...
[2025-01-13 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:28:02] Production.INFO: ==5605== Releasing lock...
[2025-01-13 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:28:03] Production.INFO: ==5607== Lock acquired, processing the job...
[2025-01-13 05:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:28:03] Production.INFO: ==5607== Releasing lock...
[2025-01-13 05:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:28:03] Production.INFO: ==5609== Lock acquired, processing the job...
[2025-01-13 00:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:28:03] Production.INFO: ==5611== Lock acquired, processing the job...
[2025-01-13 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:28:03] Production.INFO: ==5613== Lock acquired, processing the job...
[2025-01-13 00:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:28:03] Production.INFO: ==5615== Lock acquired, processing the job...
[2025-01-13 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:28:03] Production.INFO: ==5619== Lock acquired, processing the job...
[2025-01-13 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:28:03] Production.INFO: ==5617== Lock acquired, processing the job...
[2025-01-13 00:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:28:03] Production.INFO: Account Balance Start.
[2025-01-13 00:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:28:03] Production.INFO: 117
[2025-01-13 00:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:28:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:28:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:28:04] Production.INFO: ==5611== Releasing lock...
[2025-01-13 00:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:28:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:28:04] Production.INFO: count ==21
[2025-01-13 00:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:28:04] Production.INFO: count ==21
[2025-01-13 00:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235267') start
[2025-01-13 00:28:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:28:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:28:04] Production.INFO: Total Charge 0
[2025-01-13 00:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235267') end
[2025-01-13 00:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:28:04] Production.INFO: 1
[2025-01-13 00:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:28:04] Production.INFO: CreateAllLog End
[2025-01-13 00:28:04] Production.ERROR: done
[2025-01-13 00:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:28:04] Production.INFO: ==5619== Releasing lock...
[2025-01-13 00:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:28:04] Production.INFO: Account Balance End.
[2025-01-13 00:28:04] Production.ERROR: done
[2025-01-13 00:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:28:04] Production.INFO: ==5615== Releasing lock...
[2025-01-13 00:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:28:05
[end_date_ymd] => 2025-01-13 00:28:05
[RateCDR] => 1
)
[2025-01-13 00:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:28:05' and `end` < '2025-01-13 00:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:28:12] Production.ERROR: CronJobId end10
[2025-01-13 00:28:12] Production.INFO: ==5613== Releasing lock...
[2025-01-13 00:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:28:14] Production.INFO: call_cost start
[2025-01-13 00:28:14] Production.INFO: call_cost end
[2025-01-13 00:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:28:14] Production.INFO: ==5609== Releasing lock...
[2025-01-13 00:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:28:18] Production.INFO: count ==150
[2025-01-13 00:28:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:28:05 - End Time 2025-01-13 00:28:05
[2025-01-13 00:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235268', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235268', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235268', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235268', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:28:18] Production.INFO: ProcessCDR(1,14235268,1,1,2)
[2025-01-13 00:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235268', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235268', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:28:21] Production.INFO: ==5617== Releasing lock...
[2025-01-13 00:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:28:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:29:01] Production.INFO: ==5691== Lock acquired, processing the job...
[2025-01-13 05:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:29:01] Production.INFO: neon service started
[2025-01-13 05:29:01] Production.INFO: neon service started
[2025-01-13 05:29:01] Production.INFO: ==5691== Releasing lock...
[2025-01-13 05:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:29:01] Production.INFO: ==5693== Lock acquired, processing the job...
[2025-01-13 00:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:29:02] Production.INFO: ==5693== Releasing lock...
[2025-01-13 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:29:02] Production.INFO: ==5695== Lock acquired, processing the job...
[2025-01-13 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:29:02] Production.INFO: ==5695== Releasing lock...
[2025-01-13 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:29:02] Production.INFO: ==5698== Lock acquired, processing the job...
[2025-01-13 00:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:29:03] Production.INFO: ==5702== Lock acquired, processing the job...
[2025-01-13 00:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:29:03] Production.INFO: ==5700== Lock acquired, processing the job...
[2025-01-13 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:29:03] Production.INFO: ==5708== Lock acquired, processing the job...
[2025-01-13 00:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:29:03] Production.INFO: ==5704== Lock acquired, processing the job...
[2025-01-13 00:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:29:03] Production.INFO: ==5706== Lock acquired, processing the job...
[2025-01-13 00:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:29:03] Production.INFO: Account Balance Start.
[2025-01-13 00:29:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:29:03] Production.INFO: 117
[2025-01-13 00:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:29:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:29:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:29:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:29:03] Production.INFO: count ==21
[2025-01-13 00:29:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:29:03] Production.INFO: count ==21
[2025-01-13 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235271') start
[2025-01-13 00:29:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:29:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:29:03] Production.INFO: Total Charge 0
[2025-01-13 00:29:03] Production.INFO: CreateAllLog End
[2025-01-13 00:29:03] Production.INFO: ==5700== Releasing lock...
[2025-01-13 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235271') end
[2025-01-13 00:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:29:03] Production.INFO: 1
[2025-01-13 00:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:29:03] Production.ERROR: done
[2025-01-13 00:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:29:03] Production.INFO: ==5708== Releasing lock...
[2025-01-13 00:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:29:04] Production.ERROR: done
[2025-01-13 00:29:04] Production.INFO: Account Balance End.
[2025-01-13 00:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:29:04] Production.INFO: ==5704== Releasing lock...
[2025-01-13 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:29:04
[end_date_ymd] => 2025-01-13 00:29:04
[RateCDR] => 1
)
[2025-01-13 00:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:29:04' and `end` < '2025-01-13 00: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-13 00:29:11] Production.ERROR: CronJobId end10
[2025-01-13 00:29:11] Production.INFO: ==5702== Releasing lock...
[2025-01-13 00:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:29:12] Production.INFO: call_cost start
[2025-01-13 00:29:12] Production.INFO: call_cost end
[2025-01-13 00:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:29:13] Production.INFO: ==5698== Releasing lock...
[2025-01-13 00:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:29:17] Production.INFO: count ==151
[2025-01-13 00:29:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:29:04 - End Time 2025-01-13 00:29:04
[2025-01-13 00:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235273', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235273', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235273', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235273', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:29:17] Production.INFO: ProcessCDR(1,14235273,1,1,2)
[2025-01-13 00:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235273', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235273', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:29:22] Production.INFO: ==5706== Releasing lock...
[2025-01-13 00:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:29:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:30:02] Production.INFO: ==5786== Lock acquired, processing the job...
[2025-01-13 05:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:30:02] Production.INFO: neon service started
[2025-01-13 05:30:02] Production.INFO: neon service started
[2025-01-13 05:30:02] Production.INFO: ==5786== Releasing lock...
[2025-01-13 05:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:30:02] Production.INFO: ==5789== Lock acquired, processing the job...
[2025-01-13 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:30:02] Production.INFO: ==5791== Lock acquired, processing the job...
[2025-01-13 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:30:02] Production.INFO: ==5791== Releasing lock...
[2025-01-13 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:30:02] Production.INFO: ==5789== Releasing lock...
[2025-01-13 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:30:03] Production.INFO: ==5802== Lock acquired, processing the job...
[2025-01-13 00:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:30:03] Production.INFO: ==5794== Lock acquired, processing the job...
[2025-01-13 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 00:30:03] Production.INFO: Account Balance Start.
[2025-01-13 00:30:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:30:03] Production.INFO: 117
[2025-01-13 00:30:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:30:04] Production.INFO: ==5806== Lock acquired, processing the job...
[2025-01-13 00:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 00:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 00:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 00:30:04] Production.ERROR: CronJob PID - 5802
[2025-01-13 00:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 00:30:04] Production.ERROR: CronJob ID - 12
[2025-01-13 00:30:04] Production.ERROR: CronJob Last Run Time 2025-01-13 00:30:00
[2025-01-13 00:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 00:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:30:04] Production.INFO: ==5796== Lock acquired, processing the job...
[2025-01-13 00:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 00:30:04] Production.INFO: ==5794== Releasing lock...
[2025-01-13 00:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 00:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 00:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:30:04] Production.INFO: ==5808== Lock acquired, processing the job...
[2025-01-13 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:30:04] Production.INFO: ==5798== Lock acquired, processing the job...
[2025-01-13 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:30:04] Production.INFO: ==5800== Lock acquired, processing the job...
[2025-01-13 00:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:30:04] Production.INFO: ==5804== Lock acquired, processing the job...
[2025-01-13 00:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 00:30:04] Production.INFO: count ==21
[2025-01-13 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-13 00:30:04] Production.INFO: count ==21
[2025-01-13 00:30:04] Production.INFO: Total Charge 0
[2025-01-13 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235276') start
[2025-01-13 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:30:04] Production.ERROR: done
[2025-01-13 00:30:04] Production.INFO: CreateAllLog End
[2025-01-13 00:30:04] Production.INFO: ==5798== Releasing lock...
[2025-01-13 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 00:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235278', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235276') end
[2025-01-13 00:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:30:04] Production.INFO: 1
[2025-01-13 00:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:30:04] Production.INFO: Account Balance End.
[2025-01-13 00:30:04] Production.ERROR: done
[2025-01-13 00:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:30:04] Production.INFO: ==5808== Releasing lock...
[2025-01-13 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:30:05] Production.ERROR: CronJobId end 12
[2025-01-13 00:30:05] Production.INFO: ==5802== Releasing lock...
[2025-01-13 00:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:30:05] Production.ERROR: done
[2025-01-13 00:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:30:06
[end_date_ymd] => 2025-01-13 00:30:06
[RateCDR] => 1
)
[2025-01-13 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-12 21:30:06' and `end` < '2025-01-13 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-13 00:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235278', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 00:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 00:30:08] Production.INFO: ProcessCDR(1,14235278,1,1,2)
[2025-01-13 00:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235278,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235278,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:30:08] Production.INFO: ==5806== Releasing lock...
[2025-01-13 00:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 00:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 00:30:12] Production.ERROR: CronJobId end10
[2025-01-13 00:30:12] Production.INFO: ==5800== Releasing lock...
[2025-01-13 00:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:30:15] Production.INFO: call_cost start
[2025-01-13 00:30:15] Production.INFO: call_cost end
[2025-01-13 00:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:30:16] Production.INFO: ==5796== Releasing lock...
[2025-01-13 00:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:30:18] Production.INFO: count ==159
[2025-01-13 00:30:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:30:06 - End Time 2025-01-13 00:30:06
[2025-01-13 00:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235279', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235279', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235279', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235279', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:30:18] Production.INFO: ProcessCDR(1,14235279,1,1,2)
[2025-01-13 00:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235279', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235279', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:30:22] Production.INFO: ==5804== Releasing lock...
[2025-01-13 00:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:30:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:31:01] Production.INFO: ==5882== Lock acquired, processing the job...
[2025-01-13 05:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:31:01] Production.INFO: neon service started
[2025-01-13 05:31:01] Production.INFO: neon service started
[2025-01-13 05:31:01] Production.INFO: ==5882== Releasing lock...
[2025-01-13 05:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:31:02] Production.INFO: ==5886== Lock acquired, processing the job...
[2025-01-13 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:31:02] Production.INFO: ==5886== Releasing lock...
[2025-01-13 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:31:02] Production.INFO: ==5888== Lock acquired, processing the job...
[2025-01-13 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:31:02] Production.INFO: ==5888== Releasing lock...
[2025-01-13 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:31:03] Production.INFO: ==5892== Lock acquired, processing the job...
[2025-01-13 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:31:03] Production.INFO: ==5900== Lock acquired, processing the job...
[2025-01-13 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 00:31:03] Production.INFO: ==5890== Lock acquired, processing the job...
[2025-01-13 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:31:03] Production.INFO: count ==21
[2025-01-13 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-13 00:31:03] Production.INFO: count ==21
[2025-01-13 00:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235281') start
[2025-01-13 00:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235281') end
[2025-01-13 00:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:31:03] Production.INFO: 1
[2025-01-13 00:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:31:03] Production.INFO: ==5894== Lock acquired, processing the job...
[2025-01-13 00:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:31:03] Production.INFO: ==5900== Releasing lock...
[2025-01-13 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:31:03] Production.INFO: ==5896== Lock acquired, processing the job...
[2025-01-13 00:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:31:03] Production.INFO: ==5892== Releasing lock...
[2025-01-13 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:31:03] Production.INFO: ==5898== Lock acquired, processing the job...
[2025-01-13 00:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:31:03] Production.INFO: Account Balance Start.
[2025-01-13 00:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:31:03] Production.INFO: 117
[2025-01-13 00:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:31:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:31:04] Production.INFO: Total Charge 0
[2025-01-13 00:31:04] Production.INFO: CreateAllLog End
[2025-01-13 00:31:04] Production.ERROR: done
[2025-01-13 00:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:31:04] Production.INFO: Account Balance End.
[2025-01-13 00:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:31:04] Production.INFO: ==5896== Releasing lock...
[2025-01-13 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:31:04] Production.ERROR: done
[2025-01-13 00:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:31:05
[end_date_ymd] => 2025-01-13 00:31:05
[RateCDR] => 1
)
[2025-01-13 00:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:31:05' and `end` < '2025-01-13 00:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:31:12] Production.ERROR: CronJobId end10
[2025-01-13 00:31:12] Production.INFO: ==5894== Releasing lock...
[2025-01-13 00:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:31:13] Production.INFO: call_cost start
[2025-01-13 00:31:13] Production.INFO: call_cost end
[2025-01-13 00:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:31:14] Production.INFO: ==5890== Releasing lock...
[2025-01-13 00:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:31:18] Production.INFO: count ==158
[2025-01-13 00:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:31:05 - End Time 2025-01-13 00:31:05
[2025-01-13 00:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235284', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235284', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235284', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235284', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:31:18] Production.INFO: ProcessCDR(1,14235284,1,1,2)
[2025-01-13 00:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235284', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235284', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:31:21] Production.INFO: ==5898== Releasing lock...
[2025-01-13 00:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:31:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:32:02] Production.INFO: ==5972== Lock acquired, processing the job...
[2025-01-13 05:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:32:02] Production.INFO: neon service started
[2025-01-13 05:32:02] Production.INFO: neon service started
[2025-01-13 05:32:02] Production.INFO: ==5972== Releasing lock...
[2025-01-13 05:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:32:03] Production.INFO: ==5975== Lock acquired, processing the job...
[2025-01-13 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:32:03] Production.INFO: ==5977== Lock acquired, processing the job...
[2025-01-13 05:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:32:03] Production.INFO: ==5977== Releasing lock...
[2025-01-13 05:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:32:03] Production.INFO: ==5975== Releasing lock...
[2025-01-13 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:32:04] Production.INFO: ==5985== Lock acquired, processing the job...
[2025-01-13 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:32:04] Production.INFO: ==5989== Lock acquired, processing the job...
[2025-01-13 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:32:04] Production.INFO: Account Balance Start.
[2025-01-13 00:32:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:32:04] Production.INFO: 117
[2025-01-13 00:32:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:32:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:32:04] Production.INFO: ==5979== Lock acquired, processing the job...
[2025-01-13 00:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 00:32:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:32:04] Production.INFO: count ==21
[2025-01-13 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-13 00:32:04] Production.INFO: count ==21
[2025-01-13 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235286') start
[2025-01-13 00:32:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:32:04] Production.INFO: ==5981== Lock acquired, processing the job...
[2025-01-13 00:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:32:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:32:04] Production.INFO: ==5983== Lock acquired, processing the job...
[2025-01-13 00:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:32:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:32:04] Production.INFO: Total Charge 0
[2025-01-13 00:32:04] Production.INFO: CreateAllLog End
[2025-01-13 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235286') end
[2025-01-13 00:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:32:04] Production.INFO: 1
[2025-01-13 00:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:32:04] Production.INFO: ==5987== Lock acquired, processing the job...
[2025-01-13 00:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:32:04] Production.INFO: ==5989== Releasing lock...
[2025-01-13 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:32:04] Production.INFO: Account Balance End.
[2025-01-13 00:32:04] Production.INFO: ==5981== Releasing lock...
[2025-01-13 00:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:32:04] Production.INFO: ==5985== Releasing lock...
[2025-01-13 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:32:05] Production.ERROR: done
[2025-01-13 00:32:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:32:05] Production.ERROR: done
[2025-01-13 00:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:32:06
[end_date_ymd] => 2025-01-13 00:32:06
[RateCDR] => 1
)
[2025-01-13 00:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:32:06' and `end` < '2025-01-13 00:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:32:11] Production.ERROR: CronJobId end10
[2025-01-13 00:32:11] Production.INFO: ==5983== Releasing lock...
[2025-01-13 00:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:32:13] Production.INFO: call_cost start
[2025-01-13 00:32:13] Production.INFO: call_cost end
[2025-01-13 00:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:32:14] Production.INFO: ==5979== Releasing lock...
[2025-01-13 00:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:32:18] Production.INFO: count ==157
[2025-01-13 00:32:19] Production.ERROR: pbx CDR StartTime 2025-01-12 21:32:06 - End Time 2025-01-13 00:32:06
[2025-01-13 00:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235289', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235289', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235289', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235289', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:32:19] Production.INFO: ProcessCDR(1,14235289,1,1,2)
[2025-01-13 00:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235289', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235289', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:32:22] Production.INFO: ==5987== Releasing lock...
[2025-01-13 00:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:32:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:33:01] Production.INFO: ==6065== Lock acquired, processing the job...
[2025-01-13 05:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:33:01] Production.INFO: neon service started
[2025-01-13 05:33:01] Production.INFO: neon service started
[2025-01-13 05:33:01] Production.INFO: ==6065== Releasing lock...
[2025-01-13 05:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:33:02] Production.INFO: ==6069== Lock acquired, processing the job...
[2025-01-13 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:33:02] Production.INFO: ==6069== Releasing lock...
[2025-01-13 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:33:02] Production.INFO: ==6067== Lock acquired, processing the job...
[2025-01-13 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:33:02] Production.INFO: ==6067== Releasing lock...
[2025-01-13 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:33:03] Production.INFO: ==6072== Lock acquired, processing the job...
[2025-01-13 00:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:33:03] Production.INFO: ==6074== Lock acquired, processing the job...
[2025-01-13 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:33:03] Production.INFO: ==6080== Lock acquired, processing the job...
[2025-01-13 00:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:33:03] Production.INFO: ==6076== Lock acquired, processing the job...
[2025-01-13 00:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:33:03] Production.INFO: ==6078== Lock acquired, processing the job...
[2025-01-13 00:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:33:03] Production.INFO: ==6082== Lock acquired, processing the job...
[2025-01-13 00:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:33:03] Production.INFO: ==6074== Releasing lock...
[2025-01-13 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 00:33:03] Production.INFO: Account Balance Start.
[2025-01-13 00:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:33:03] Production.INFO: count ==21
[2025-01-13 00:33:04] Production.ERROR: done
[2025-01-13 00:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:33:04] Production.INFO: 117
[2025-01-13 00:33:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:33:04] Production.INFO: count ==21
[2025-01-13 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235292') start
[2025-01-13 00:33:04] Production.ERROR: done
[2025-01-13 00:33:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235292') end
[2025-01-13 00:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:33:04] Production.INFO: 1
[2025-01-13 00:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:33:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:33:04] Production.INFO: ==6082== Releasing lock...
[2025-01-13 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:33:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:33:04] Production.INFO: Total Charge 0
[2025-01-13 00:33:04] Production.INFO: CreateAllLog End
[2025-01-13 00:33:04] Production.INFO: Account Balance End.
[2025-01-13 00:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:33:04] Production.INFO: ==6078== Releasing lock...
[2025-01-13 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:33:05
[end_date_ymd] => 2025-01-13 00:33:05
[RateCDR] => 1
)
[2025-01-13 00:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:33:05' and `end` < '2025-01-13 00:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:33:11] Production.ERROR: CronJobId end10
[2025-01-13 00:33:11] Production.INFO: ==6076== Releasing lock...
[2025-01-13 00:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:33:13] Production.INFO: call_cost start
[2025-01-13 00:33:13] Production.INFO: call_cost end
[2025-01-13 00:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:33:14] Production.INFO: ==6072== Releasing lock...
[2025-01-13 00:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:33:18] Production.INFO: count ==157
[2025-01-13 00:33:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:33:05 - End Time 2025-01-13 00:33:05
[2025-01-13 00:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235294', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235294', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235294', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235294', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:33:18] Production.INFO: ProcessCDR(1,14235294,1,1,2)
[2025-01-13 00:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235294', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235294', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:33:21] Production.INFO: ==6080== Releasing lock...
[2025-01-13 00:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:33:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 05:34:02] Production.INFO: ==6153== Lock acquired, processing the job...
[2025-01-13 05:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:34:02] Production.INFO: neon service started
[2025-01-13 05:34:02] Production.INFO: neon service started
[2025-01-13 05:34:02] Production.INFO: ==6153== Releasing lock...
[2025-01-13 05:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:34:02] Production.INFO: ==6155== Lock acquired, processing the job...
[2025-01-13 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:34:02] Production.INFO: ==6155== Releasing lock...
[2025-01-13 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:34:02] Production.INFO: ==6157== Lock acquired, processing the job...
[2025-01-13 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:34:03] Production.INFO: ==6157== Releasing lock...
[2025-01-13 05:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:34:03] Production.INFO: ==6164== Lock acquired, processing the job...
[2025-01-13 00:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:34:03] Production.INFO: ==6170== Lock acquired, processing the job...
[2025-01-13 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:34:04] Production.INFO: ==6160== Lock acquired, processing the job...
[2025-01-13 00:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:34:04] Production.INFO: ==6162== Lock acquired, processing the job...
[2025-01-13 00:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:34:04] Production.INFO: count ==21
[2025-01-13 00:34:04] Production.INFO: ==6166== Lock acquired, processing the job...
[2025-01-13 00:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:34:04] Production.INFO: count ==21
[2025-01-13 00:34:04] Production.INFO: ==6168== Lock acquired, processing the job...
[2025-01-13 00:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235295') start
[2025-01-13 00:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:34:04] Production.INFO: Account Balance Start.
[2025-01-13 00:34:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:34:04] Production.INFO: 117
[2025-01-13 00:34:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:34:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235295') end
[2025-01-13 00:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:34:04] Production.INFO: 1
[2025-01-13 00:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:34:04] Production.INFO: ==6170== Releasing lock...
[2025-01-13 00:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:34:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:34:04] Production.INFO: ==6162== Releasing lock...
[2025-01-13 00:34:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:34:04] Production.ERROR: done
[2025-01-13 00:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:34:04] Production.INFO: Total Charge 0
[2025-01-13 00:34:04] Production.INFO: CreateAllLog End
[2025-01-13 00:34:04] Production.ERROR: done
[2025-01-13 00:34:04] Production.INFO: Account Balance End.
[2025-01-13 00:34:05] Production.ERROR: CronJobId end 12
[2025-01-13 00:34:05] Production.INFO: ==6166== Releasing lock...
[2025-01-13 00:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:34:05
[end_date_ymd] => 2025-01-13 00:34:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:34:05' and `end` < '2025-01-13 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-13 00:34:11] Production.ERROR: CronJobId end10
[2025-01-13 00:34:11] Production.INFO: ==6164== Releasing lock...
[2025-01-13 00:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:34:14] Production.INFO: call_cost start
[2025-01-13 00:34:14] Production.INFO: call_cost end
[2025-01-13 00:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:34:15] Production.INFO: ==6160== Releasing lock...
[2025-01-13 00:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:34:18] Production.INFO: count ==156
[2025-01-13 00:34:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:34:05 - End Time 2025-01-13 00:34:05
[2025-01-13 00:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235299', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235299', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235299', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235299', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:34:18] Production.INFO: ProcessCDR(1,14235299,1,1,2)
[2025-01-13 00:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235299', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235299', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:34:21] Production.INFO: ==6168== Releasing lock...
[2025-01-13 00:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:34:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:35:01] Production.INFO: ==6242== Lock acquired, processing the job...
[2025-01-13 05:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:35:01] Production.INFO: neon service started
[2025-01-13 05:35:01] Production.INFO: neon service started
[2025-01-13 05:35:01] Production.INFO: ==6242== Releasing lock...
[2025-01-13 05:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:35:02] Production.INFO: ==6244== Lock acquired, processing the job...
[2025-01-13 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:35:02] Production.INFO: ==6244== Releasing lock...
[2025-01-13 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:35:02] Production.INFO: ==6246== Lock acquired, processing the job...
[2025-01-13 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:35:02] Production.INFO: ==6246== Releasing lock...
[2025-01-13 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:35:03] Production.INFO: ==6254== Lock acquired, processing the job...
[2025-01-13 00:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:35:03] Production.INFO: ==6256== Lock acquired, processing the job...
[2025-01-13 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:35:03] Production.INFO: ==6259== Lock acquired, processing the job...
[2025-01-13 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:35:03] Production.INFO: Account Balance Start.
[2025-01-13 00:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:35:03] Production.INFO: 117
[2025-01-13 00:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:35:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:35:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:35:03] Production.INFO: ==6250== Lock acquired, processing the job...
[2025-01-13 00:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:35:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:35:03] Production.INFO: ==6252== Lock acquired, processing the job...
[2025-01-13 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:35:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:35:03] Production.INFO: Total Charge 0
[2025-01-13 00:35:03] Production.INFO: CreateAllLog End
[2025-01-13 00:35:03] Production.INFO: ==6261== Lock acquired, processing the job...
[2025-01-13 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:35:03] Production.ERROR: done
[2025-01-13 00:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 00:35:03] Production.INFO: count ==21
[2025-01-13 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-13 00:35:03] Production.INFO: count ==21
[2025-01-13 00:35:03] Production.ERROR: done
[2025-01-13 00:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235303') start
[2025-01-13 00:35:03] Production.INFO: Account Balance End.
[2025-01-13 00:35:03] Production.INFO: ==6252== Releasing lock...
[2025-01-13 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:35:03] Production.ERROR: CronJobId end 12
[2025-01-13 00:35:03] Production.INFO: ==6256== Releasing lock...
[2025-01-13 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235303') end
[2025-01-13 00:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:35:04] Production.INFO: 1
[2025-01-13 00:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:35:04] Production.INFO: ==6261== Releasing lock...
[2025-01-13 00:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:35:04
[end_date_ymd] => 2025-01-13 00:35:04
[RateCDR] => 1
)
[2025-01-13 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-12 21:35:04' and `end` < '2025-01-13 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-13 00:35:12] Production.ERROR: CronJobId end10
[2025-01-13 00:35:12] Production.INFO: ==6254== Releasing lock...
[2025-01-13 00:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:35:13] Production.INFO: call_cost start
[2025-01-13 00:35:13] Production.INFO: call_cost end
[2025-01-13 00:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:35:14] Production.INFO: ==6250== Releasing lock...
[2025-01-13 00:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:35:17] Production.INFO: count ==156
[2025-01-13 00:35:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:35:04 - End Time 2025-01-13 00:35:04
[2025-01-13 00:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235304', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235304', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235304', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235304', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:35:17] Production.INFO: ProcessCDR(1,14235304,1,1,2)
[2025-01-13 00:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235304', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235304', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:35:20] Production.INFO: ==6259== Releasing lock...
[2025-01-13 00:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:35:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:36:02] Production.INFO: ==6333== Lock acquired, processing the job...
[2025-01-13 05:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:36:02] Production.INFO: neon service started
[2025-01-13 05:36:02] Production.INFO: neon service started
[2025-01-13 05:36:02] Production.INFO: ==6333== Releasing lock...
[2025-01-13 05:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:36:02] Production.INFO: ==6337== Lock acquired, processing the job...
[2025-01-13 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:36:02] Production.INFO: ==6337== Releasing lock...
[2025-01-13 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:36:02] Production.INFO: ==6339== Lock acquired, processing the job...
[2025-01-13 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:36:02] Production.INFO: ==6339== Releasing lock...
[2025-01-13 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:36:03] Production.INFO: ==6346== Lock acquired, processing the job...
[2025-01-13 00:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:36:03] Production.INFO: ==6352== Lock acquired, processing the job...
[2025-01-13 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:36:03] Production.INFO: ==6342== Lock acquired, processing the job...
[2025-01-13 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 00:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:36:03] Production.INFO: ==6344== Lock acquired, processing the job...
[2025-01-13 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:36:03] Production.INFO: ==6348== Lock acquired, processing the job...
[2025-01-13 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:36:03] Production.INFO: ==6350== Lock acquired, processing the job...
[2025-01-13 00:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:36:03] Production.INFO: count ==21
[2025-01-13 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-13 00:36:03] Production.INFO: count ==21
[2025-01-13 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235305') start
[2025-01-13 00:36:04] Production.INFO: Account Balance Start.
[2025-01-13 00:36:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:36:04] Production.INFO: 117
[2025-01-13 00:36:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:36:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235305') end
[2025-01-13 00:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:36:04] Production.INFO: 1
[2025-01-13 00:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:36:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:36:04] Production.INFO: ==6352== Releasing lock...
[2025-01-13 00:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:36:04] Production.INFO: ==6344== Releasing lock...
[2025-01-13 00:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:36:04] Production.INFO: Total Charge 0
[2025-01-13 00:36:04] Production.INFO: CreateAllLog End
[2025-01-13 00:36:04] Production.ERROR: done
[2025-01-13 00:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:36:04] Production.ERROR: done
[2025-01-13 00:36:04] Production.INFO: Account Balance End.
[2025-01-13 00:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:36:04] Production.INFO: ==6348== Releasing lock...
[2025-01-13 00:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:36:05
[end_date_ymd] => 2025-01-13 00:36:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:36:05' and `end` < '2025-01-13 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-13 00:36:10] Production.ERROR: CronJobId end10
[2025-01-13 00:36:10] Production.INFO: ==6346== Releasing lock...
[2025-01-13 00:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:36:13] Production.INFO: call_cost start
[2025-01-13 00:36:13] Production.INFO: call_cost end
[2025-01-13 00:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:36:14] Production.INFO: ==6342== Releasing lock...
[2025-01-13 00:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:36:18] Production.INFO: count ==151
[2025-01-13 00:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:36:05 - End Time 2025-01-13 00:36:05
[2025-01-13 00:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235309', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235309', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235309', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235309', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:36:18] Production.INFO: ProcessCDR(1,14235309,1,1,2)
[2025-01-13 00:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235309', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235309', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:36:21] Production.INFO: ==6350== Releasing lock...
[2025-01-13 00:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:36:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:37:01] Production.INFO: ==6428== Lock acquired, processing the job...
[2025-01-13 05:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:37:01] Production.INFO: neon service started
[2025-01-13 05:37:01] Production.INFO: neon service started
[2025-01-13 05:37:01] Production.INFO: ==6428== Releasing lock...
[2025-01-13 05:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:37:01] Production.INFO: ==6432== Lock acquired, processing the job...
[2025-01-13 05:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:37:01] Production.INFO: ==6432== Releasing lock...
[2025-01-13 05:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:37:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:37:02] Production.INFO: ==6430== Lock acquired, processing the job...
[2025-01-13 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:37:02] Production.INFO: ==6430== Releasing lock...
[2025-01-13 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:37:03] Production.INFO: ==6435== Lock acquired, processing the job...
[2025-01-13 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:37:03] Production.INFO: ==6437== Lock acquired, processing the job...
[2025-01-13 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:37:03] Production.INFO: ==6439== Lock acquired, processing the job...
[2025-01-13 00:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:37:03] Production.INFO: ==6441== Lock acquired, processing the job...
[2025-01-13 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:37:03] Production.INFO: ==6437== Releasing lock...
[2025-01-13 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:37:03] Production.INFO: ==6443== Lock acquired, processing the job...
[2025-01-13 00:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:37:03] Production.INFO: ==6445== Lock acquired, processing the job...
[2025-01-13 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:37:03] Production.INFO: Account Balance Start.
[2025-01-13 00:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:37:03] Production.INFO: 117
[2025-01-13 00:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:37:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:37:03] Production.ERROR: done
[2025-01-13 00:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 00:37:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:37:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:37:04] Production.INFO: count ==21
[2025-01-13 00:37:04] Production.ERROR: done
[2025-01-13 00:37:04] Production.INFO: Total Charge 0
[2025-01-13 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-13 00:37:04] Production.INFO: CreateAllLog End
[2025-01-13 00:37:04] Production.INFO: count ==21
[2025-01-13 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235313') start
[2025-01-13 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235313') end
[2025-01-13 00:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:37:04] Production.INFO: 1
[2025-01-13 00:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:37:04] Production.INFO: Account Balance End.
[2025-01-13 00:37:04] Production.INFO: ==6445== Releasing lock...
[2025-01-13 00:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:37:04] Production.INFO: ==6441== Releasing lock...
[2025-01-13 00:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:37:05
[end_date_ymd] => 2025-01-13 00:37:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:37:05' and `end` < '2025-01-13 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-13 00:37:10] Production.ERROR: CronJobId end10
[2025-01-13 00:37:10] Production.INFO: ==6439== Releasing lock...
[2025-01-13 00:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:37:13] Production.INFO: call_cost start
[2025-01-13 00:37:13] Production.INFO: call_cost end
[2025-01-13 00:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:37:14] Production.INFO: ==6435== Releasing lock...
[2025-01-13 00:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:37:18] Production.INFO: count ==151
[2025-01-13 00:37:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:37:05 - End Time 2025-01-13 00:37:05
[2025-01-13 00:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235314', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235314', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235314', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235314', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:37:18] Production.INFO: ProcessCDR(1,14235314,1,1,2)
[2025-01-13 00:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235314', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235314', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:37:21] Production.INFO: ==6443== Releasing lock...
[2025-01-13 00:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:37:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:38:02] Production.INFO: ==6516== Lock acquired, processing the job...
[2025-01-13 05:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:38:02] Production.INFO: neon service started
[2025-01-13 05:38:02] Production.INFO: neon service started
[2025-01-13 05:38:02] Production.INFO: ==6516== Releasing lock...
[2025-01-13 05:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:38:02] Production.INFO: ==6519== Lock acquired, processing the job...
[2025-01-13 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:38:02] Production.INFO: ==6519== Releasing lock...
[2025-01-13 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:38:02] Production.INFO: ==6523== Lock acquired, processing the job...
[2025-01-13 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:38:02] Production.INFO: ==6523== Releasing lock...
[2025-01-13 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:38:03] Production.INFO: ==6529== Lock acquired, processing the job...
[2025-01-13 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:38:03] Production.INFO: ==6533== Lock acquired, processing the job...
[2025-01-13 00:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:38:03] Production.INFO: ==6527== Lock acquired, processing the job...
[2025-01-13 00:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:38:03] Production.INFO: ==6531== Lock acquired, processing the job...
[2025-01-13 00:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:38:03] Production.INFO: Account Balance Start.
[2025-01-13 00:38:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:38:03] Production.INFO: 117
[2025-01-13 00:38:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:38:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:38:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:38:03] Production.INFO: ==6535== Lock acquired, processing the job...
[2025-01-13 00:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:38:03] Production.INFO: ==6529== Releasing lock...
[2025-01-13 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:38:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:38:03] Production.INFO: ==6537== Lock acquired, processing the job...
[2025-01-13 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:38:04] Production.INFO: Total Charge 0
[2025-01-13 00:38:04] Production.INFO: count ==21
[2025-01-13 00:38:04] Production.INFO: CreateAllLog End
[2025-01-13 00:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:38:04] Production.INFO: count ==21
[2025-01-13 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235318') start
[2025-01-13 00:38:04] Production.ERROR: done
[2025-01-13 00:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235318') end
[2025-01-13 00:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:38:04] Production.INFO: 1
[2025-01-13 00:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:38:04] Production.ERROR: done
[2025-01-13 00:38:04] Production.INFO: Account Balance End.
[2025-01-13 00:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:38:04] Production.INFO: ==6533== Releasing lock...
[2025-01-13 00:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:38:04] Production.INFO: ==6537== Releasing lock...
[2025-01-13 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:38:05
[end_date_ymd] => 2025-01-13 00:38:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:38:05' and `end` < '2025-01-13 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-13 00:38:11] Production.ERROR: CronJobId end10
[2025-01-13 00:38:11] Production.INFO: ==6531== Releasing lock...
[2025-01-13 00:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:38:13] Production.INFO: call_cost start
[2025-01-13 00:38:13] Production.INFO: call_cost end
[2025-01-13 00:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:38:14] Production.INFO: ==6527== Releasing lock...
[2025-01-13 00:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:38:17] Production.INFO: count ==150
[2025-01-13 00:38:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:38:05 - End Time 2025-01-13 00:38:05
[2025-01-13 00:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235319', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235319', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235319', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235319', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:38:18] Production.INFO: ProcessCDR(1,14235319,1,1,2)
[2025-01-13 00:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235319', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235319', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:38:21] Production.INFO: ==6535== Releasing lock...
[2025-01-13 00:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:38:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 05:39:01] Production.INFO: ==6612== Lock acquired, processing the job...
[2025-01-13 05:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:39:01] Production.INFO: neon service started
[2025-01-13 05:39:01] Production.INFO: neon service started
[2025-01-13 05:39:01] Production.INFO: ==6612== Releasing lock...
[2025-01-13 05:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:39:01] Production.INFO: ==6614== Lock acquired, processing the job...
[2025-01-13 00:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:39:02] Production.INFO: ==6616== Lock acquired, processing the job...
[2025-01-13 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:39:02] Production.INFO: ==6616== Releasing lock...
[2025-01-13 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:39:02] Production.INFO: ==6614== Releasing lock...
[2025-01-13 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:39:02] Production.INFO: ==6619== Lock acquired, processing the job...
[2025-01-13 00:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:39:03] Production.INFO: ==6627== Lock acquired, processing the job...
[2025-01-13 00:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:39:03] Production.INFO: ==6629== Lock acquired, processing the job...
[2025-01-13 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:39:03] Production.INFO: ==6623== Lock acquired, processing the job...
[2025-01-13 00:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:39:03] Production.INFO: ==6621== Lock acquired, processing the job...
[2025-01-13 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:39:03] Production.INFO: count ==21
[2025-01-13 00:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:39:03] Production.INFO: count ==21
[2025-01-13 00:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235321') start
[2025-01-13 00:39:03] Production.INFO: ==6625== Lock acquired, processing the job...
[2025-01-13 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235321') end
[2025-01-13 00:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:39:03] Production.INFO: 1
[2025-01-13 00:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:39:03] Production.INFO: ==6629== Releasing lock...
[2025-01-13 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:39:03] Production.INFO: Account Balance Start.
[2025-01-13 00:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:39:03] Production.INFO: 117
[2025-01-13 00:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:39:03] Production.ERROR: done
[2025-01-13 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:39:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:39:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:39:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:39:03] Production.ERROR: done
[2025-01-13 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:39:03] Production.INFO: ==6621== Releasing lock...
[2025-01-13 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:39:03] Production.INFO: Total Charge 0
[2025-01-13 00:39:03] Production.INFO: CreateAllLog End
[2025-01-13 00:39:03] Production.INFO: Account Balance End.
[2025-01-13 00:39:03] Production.ERROR: CronJobId end 12
[2025-01-13 00:39:03] Production.INFO: ==6625== Releasing lock...
[2025-01-13 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:39:04
[end_date_ymd] => 2025-01-13 00:39:04
[RateCDR] => 1
)
[2025-01-13 00:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:39:04' and `end` < '2025-01-13 00:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:39:11] Production.ERROR: CronJobId end10
[2025-01-13 00:39:11] Production.INFO: ==6623== Releasing lock...
[2025-01-13 00:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:39:13] Production.INFO: call_cost start
[2025-01-13 00:39:13] Production.INFO: call_cost end
[2025-01-13 00:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:39:14] Production.INFO: ==6619== Releasing lock...
[2025-01-13 00:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:39:19] Production.INFO: count ==149
[2025-01-13 00:39:19] Production.ERROR: pbx CDR StartTime 2025-01-12 21:39:04 - End Time 2025-01-13 00:39:04
[2025-01-13 00:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235324', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235324', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235324', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235324', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:39:19] Production.INFO: ProcessCDR(1,14235324,1,1,2)
[2025-01-13 00:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235324', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235324', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:39:22] Production.INFO: ==6627== Releasing lock...
[2025-01-13 00:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:39:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:40:01] Production.INFO: ==6707== Lock acquired, processing the job...
[2025-01-13 05:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:40:01] Production.INFO: neon service started
[2025-01-13 05:40:01] Production.INFO: neon service started
[2025-01-13 05:40:01] Production.INFO: ==6707== Releasing lock...
[2025-01-13 05:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:40:02] Production.INFO: ==6711== Lock acquired, processing the job...
[2025-01-13 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:40:02] Production.INFO: ==6711== Releasing lock...
[2025-01-13 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:40:02] Production.INFO: ==6709== Lock acquired, processing the job...
[2025-01-13 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:40:02] Production.INFO: ==6709== Releasing lock...
[2025-01-13 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:40:03] Production.INFO: ==6720== Lock acquired, processing the job...
[2025-01-13 00:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:40:04] Production.INFO: ==6714== Lock acquired, processing the job...
[2025-01-13 00:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 00:40:04] Production.INFO: ==6724== Lock acquired, processing the job...
[2025-01-13 00:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 00:40:04] Production.ERROR: CronJob PID - 6720
[2025-01-13 00:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 00:40:04] Production.ERROR: CronJob ID - 10
[2025-01-13 00:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 00:40:00
[2025-01-13 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 00:40:04] Production.ERROR: CronJob PID - 6724
[2025-01-13 00:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 00:40:04] Production.ERROR: CronJob ID - 16
[2025-01-13 00:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 00:40:00
[2025-01-13 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 00:40:04] Production.INFO: ==6716== Lock acquired, processing the job...
[2025-01-13 00:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:40:04] Production.INFO: ==6718== Lock acquired, processing the job...
[2025-01-13 00:40:04] Production.INFO: ==6728== Lock acquired, processing the job...
[2025-01-13 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 00:40:04] Production.INFO: ==6714== Releasing lock...
[2025-01-13 00:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 00:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 00:40:04] Production.INFO: ==6722== Lock acquired, processing the job...
[2025-01-13 00:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:40:04] Production.INFO: ==6726== Lock acquired, processing the job...
[2025-01-13 00:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 00:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:40:04] Production.INFO: Account Balance Start.
[2025-01-13 00:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:40:04] Production.INFO: 117
[2025-01-13 00:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:40:04] Production.INFO: count ==21
[2025-01-13 00:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:40:04] Production.INFO: count ==21
[2025-01-13 00:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235325') start
[2025-01-13 00:40:04] Production.ERROR: done
[2025-01-13 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235325') end
[2025-01-13 00:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:40:04] Production.INFO: 1
[2025-01-13 00:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:40:04] Production.ERROR: done
[2025-01-13 00:40:04] Production.INFO: ==6728== Releasing lock...
[2025-01-13 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:40:04] Production.ERROR: done
[2025-01-13 00:40:04] Production.INFO: Total Charge 0
[2025-01-13 00:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 00:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235330', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 00:40:04] Production.INFO: CreateAllLog End
[2025-01-13 00:40:05] Production.INFO: ==6718== Releasing lock...
[2025-01-13 00:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:40:05] Production.INFO: Account Balance End.
[2025-01-13 00:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 00:40:05] Production.INFO: ==6722== Releasing lock...
[2025-01-13 00:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:40:06
[end_date_ymd] => 2025-01-13 00:40:06
[RateCDR] => 1
)
[2025-01-13 00:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:40:06' and `end` < '2025-01-13 00:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235330', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 00:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 00:40:08] Production.INFO: ProcessCDR(1,14235330,1,1,2)
[2025-01-13 00:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235330,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235330,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:40:09] Production.INFO: ==6726== Releasing lock...
[2025-01-13 00:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 00:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 00:40:13] Production.ERROR: CronJobId end10
[2025-01-13 00:40:13] Production.INFO: ==6720== Releasing lock...
[2025-01-13 00:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:40:15] Production.INFO: call_cost start
[2025-01-13 00:40:15] Production.INFO: call_cost end
[2025-01-13 00:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:40:16] Production.INFO: ==6716== Releasing lock...
[2025-01-13 00:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:40:18] Production.INFO: count ==157
[2025-01-13 00:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:40:06 - End Time 2025-01-13 00:40:06
[2025-01-13 00:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235329', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235329', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235329', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235329', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:40:18] Production.INFO: ProcessCDR(1,14235329,1,1,2)
[2025-01-13 00:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235329', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235329', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:40:21] Production.INFO: ==6724== Releasing lock...
[2025-01-13 00:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:40:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:41:02] Production.INFO: ==6838== Lock acquired, processing the job...
[2025-01-13 05:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:41:02] Production.INFO: neon service started
[2025-01-13 05:41:02] Production.INFO: neon service started
[2025-01-13 05:41:02] Production.INFO: ==6838== Releasing lock...
[2025-01-13 05:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:41:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 00:41:02] Production.INFO: ==6840== Lock acquired, processing the job...
[2025-01-13 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:41:02] Production.INFO: ==6842== Lock acquired, processing the job...
[2025-01-13 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:41:02] Production.INFO: ==6842== Releasing lock...
[2025-01-13 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:41:03] Production.INFO: ==6840== Releasing lock...
[2025-01-13 00:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:41:03] Production.INFO: ==6848== Lock acquired, processing the job...
[2025-01-13 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:41:03] Production.INFO: ==6850== Lock acquired, processing the job...
[2025-01-13 00:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:41:03] Production.INFO: ==6852== Lock acquired, processing the job...
[2025-01-13 00:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:41:04] Production.INFO: Account Balance Start.
[2025-01-13 00:41:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:41:04] Production.INFO: 117
[2025-01-13 00:41:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:41:04] Production.INFO: ==6846== Lock acquired, processing the job...
[2025-01-13 00:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:41:04] Production.INFO: ==6844== Lock acquired, processing the job...
[2025-01-13 00:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:41:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:41:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:41:04] Production.ERROR: done
[2025-01-13 00:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:41:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:41:04] Production.INFO: ==6854== Lock acquired, processing the job...
[2025-01-13 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:41:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:41:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:41:04] Production.INFO: Total Charge 0
[2025-01-13 00:41:04] Production.INFO: CreateAllLog End
[2025-01-13 00:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:41:04] Production.ERROR: done
[2025-01-13 00:41:04] Production.INFO: count ==21
[2025-01-13 00:41:04] Production.INFO: Account Balance End.
[2025-01-13 00:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:41:04] Production.INFO: count ==21
[2025-01-13 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235334') start
[2025-01-13 00:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:41:04] Production.INFO: ==6850== Releasing lock...
[2025-01-13 00:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235334') end
[2025-01-13 00:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:41:04] Production.INFO: 1
[2025-01-13 00:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:41:04] Production.INFO: ==6846== Releasing lock...
[2025-01-13 00:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:41:04] Production.INFO: ==6854== Releasing lock...
[2025-01-13 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:41:05
[end_date_ymd] => 2025-01-13 00:41:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:41:05' and `end` < '2025-01-13 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-13 00:41:12] Production.ERROR: CronJobId end10
[2025-01-13 00:41:12] Production.INFO: ==6848== Releasing lock...
[2025-01-13 00:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:41:14] Production.INFO: call_cost start
[2025-01-13 00:41:14] Production.INFO: call_cost end
[2025-01-13 00:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:41:15] Production.INFO: ==6844== Releasing lock...
[2025-01-13 00:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:41:19] Production.INFO: count ==158
[2025-01-13 00:41:19] Production.ERROR: pbx CDR StartTime 2025-01-12 21:41:05 - End Time 2025-01-13 00:41:05
[2025-01-13 00:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235335', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235335', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235335', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235335', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:41:19] Production.INFO: ProcessCDR(1,14235335,1,1,2)
[2025-01-13 00:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235335', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235335', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:41:22] Production.INFO: ==6852== Releasing lock...
[2025-01-13 00:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:41:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:42:02] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-01-13 05:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:42:02] Production.INFO: neon service started
[2025-01-13 05:42:02] Production.INFO: neon service started
[2025-01-13 05:42:02] Production.INFO: ==6915== Releasing lock...
[2025-01-13 05:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:42:02] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-01-13 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:42:02] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-01-13 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:42:02] Production.INFO: ==6919== Releasing lock...
[2025-01-13 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:42:02] Production.INFO: ==6917== Releasing lock...
[2025-01-13 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:42:03] Production.INFO: ==6922== Lock acquired, processing the job...
[2025-01-13 00:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:42:03] Production.INFO: ==6924== Lock acquired, processing the job...
[2025-01-13 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:42:03] Production.INFO: ==6928== Lock acquired, processing the job...
[2025-01-13 00:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:42:03] Production.INFO: Account Balance Start.
[2025-01-13 00:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:42:03] Production.INFO: 117
[2025-01-13 00:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:42:03] Production.INFO: ==6926== Lock acquired, processing the job...
[2025-01-13 00:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:42:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:42:03] Production.INFO: ==6924== Releasing lock...
[2025-01-13 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:42:03] Production.INFO: ==6932== Lock acquired, processing the job...
[2025-01-13 00:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:42:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:42:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:42:03] Production.INFO: ==6930== Lock acquired, processing the job...
[2025-01-13 00:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:42:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 00: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-13 00:42:03] Production.INFO: count ==21
[2025-01-13 00:42:04] Production.INFO: Total Charge 0
[2025-01-13 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-13 00:42:04] Production.INFO: count ==21
[2025-01-13 00:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235339') start
[2025-01-13 00:42:04] Production.INFO: CreateAllLog End
[2025-01-13 00:42:04] Production.INFO: Account Balance End.
[2025-01-13 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235339') end
[2025-01-13 00:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:42:04] Production.INFO: 1
[2025-01-13 00:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:42:04] Production.INFO: ==6932== Releasing lock...
[2025-01-13 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:42:04] Production.INFO: ==6928== Releasing lock...
[2025-01-13 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:42:04] Production.ERROR: done
[2025-01-13 00:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:42:04] Production.ERROR: done
[2025-01-13 00:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:42:05
[end_date_ymd] => 2025-01-13 00:42:05
[RateCDR] => 1
)
[2025-01-13 00:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:42:05' and `end` < '2025-01-13 00:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:42:10] Production.ERROR: CronJobId end10
[2025-01-13 00:42:10] Production.INFO: ==6926== Releasing lock...
[2025-01-13 00:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:42:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:42:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:42:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:42:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:42:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:42:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:42:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:42:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:42:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:42:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:42:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:42:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:42:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:42:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:42:12] Production.INFO: call_cost start
[2025-01-13 00:42:12] Production.INFO: call_cost end
[2025-01-13 00:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:42:13] Production.INFO: ==6922== Releasing lock...
[2025-01-13 00:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:42:18] Production.INFO: count ==158
[2025-01-13 00:42:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:42:05 - End Time 2025-01-13 00:42:05
[2025-01-13 00:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235340', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235340', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235340', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235340', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:42:18] Production.INFO: ProcessCDR(1,14235340,1,1,2)
[2025-01-13 00:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235340', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235340', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:42:21] Production.INFO: ==6930== Releasing lock...
[2025-01-13 00:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:42:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:43:01] Production.INFO: ==6996== Lock acquired, processing the job...
[2025-01-13 05:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:43:01] Production.INFO: neon service started
[2025-01-13 05:43:01] Production.INFO: neon service started
[2025-01-13 05:43:01] Production.INFO: ==6996== Releasing lock...
[2025-01-13 05:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:43:01] Production.INFO: ==6998== Lock acquired, processing the job...
[2025-01-13 00:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:43:02] Production.INFO: ==6998== Releasing lock...
[2025-01-13 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:43:02] Production.INFO: ==7000== Lock acquired, processing the job...
[2025-01-13 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:43:02] Production.INFO: ==7000== Releasing lock...
[2025-01-13 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:43:02] Production.INFO: ==7008== Lock acquired, processing the job...
[2025-01-13 00:43:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:43:02] Production.INFO: Account Balance Start.
[2025-01-13 00:43:02] Production.INFO: CreateAllLog Start
[2025-01-13 00:43:02] Production.INFO: 117
[2025-01-13 00:43:02] Production.INFO: Date 2025-01-08
[2025-01-13 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:43:03] Production.INFO: ==7002== Lock acquired, processing the job...
[2025-01-13 00:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:43:03] Production.INFO: ==7012== Lock acquired, processing the job...
[2025-01-13 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:43:03] Production.INFO: ==7004== Lock acquired, processing the job...
[2025-01-13 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:43:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:43:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:43:03] Production.INFO: ==7006== Lock acquired, processing the job...
[2025-01-13 00:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 00:43:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:43:03] Production.INFO: count ==21
[2025-01-13 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-13 00:43:03] Production.INFO: count ==21
[2025-01-13 00:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235343') start
[2025-01-13 00:43:03] Production.INFO: Total Charge 0
[2025-01-13 00:43:03] Production.INFO: ==7010== Lock acquired, processing the job...
[2025-01-13 00:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:43:03] Production.INFO: CreateAllLog End
[2025-01-13 00:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235343') end
[2025-01-13 00:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:43:03] Production.INFO: 1
[2025-01-13 00:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:43:03] Production.INFO: ==7012== Releasing lock...
[2025-01-13 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:43:03] Production.INFO: ==7004== Releasing lock...
[2025-01-13 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:43:03] Production.INFO: Account Balance End.
[2025-01-13 00:43:03] Production.ERROR: CronJobId end 12
[2025-01-13 00:43:03] Production.INFO: ==7008== Releasing lock...
[2025-01-13 00:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:43:03] Production.ERROR: done
[2025-01-13 00:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:43:03] Production.ERROR: done
[2025-01-13 00:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:43:04
[end_date_ymd] => 2025-01-13 00:43:04
[RateCDR] => 1
)
[2025-01-13 00:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:43:04' and `end` < '2025-01-13 00:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:43:10] Production.ERROR: CronJobId end10
[2025-01-13 00:43:10] Production.INFO: ==7006== Releasing lock...
[2025-01-13 00:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:43:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:43:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:43:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:43:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:43:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:43:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:43:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:43:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:43:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:43:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:43:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:43:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:43:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:43:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:43:11] Production.INFO: call_cost start
[2025-01-13 00:43:12] Production.INFO: call_cost end
[2025-01-13 00:43:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:43:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:43:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:43:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:43:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:43:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:43:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:43:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:43:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:43:12] Production.INFO: ==7002== Releasing lock...
[2025-01-13 00:43:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:43:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:43:18] Production.INFO: count ==154
[2025-01-13 00:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:43:04 - End Time 2025-01-13 00:43:04
[2025-01-13 00:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235345', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235345', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235345', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235345', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:43:18] Production.INFO: ProcessCDR(1,14235345,1,1,2)
[2025-01-13 00:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235345', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235345', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:43:21] Production.INFO: ==7010== Releasing lock...
[2025-01-13 00:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:43:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:44:01] Production.INFO: ==7075== Lock acquired, processing the job...
[2025-01-13 05:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:44:01] Production.INFO: neon service started
[2025-01-13 05:44:01] Production.INFO: neon service started
[2025-01-13 05:44:01] Production.INFO: ==7075== Releasing lock...
[2025-01-13 05:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:44:02] Production.INFO: ==7077== Lock acquired, processing the job...
[2025-01-13 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:44:02] Production.INFO: ==7077== Releasing lock...
[2025-01-13 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:44:02] Production.INFO: ==7079== Lock acquired, processing the job...
[2025-01-13 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:44:02] Production.INFO: ==7079== Releasing lock...
[2025-01-13 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:44:03] Production.INFO: ==7081== Lock acquired, processing the job...
[2025-01-13 00:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:44:03] Production.INFO: ==7087== Lock acquired, processing the job...
[2025-01-13 00:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:44:03] Production.INFO: ==7083== Lock acquired, processing the job...
[2025-01-13 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:44:03] Production.INFO: ==7089== Lock acquired, processing the job...
[2025-01-13 00:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:44:03] Production.INFO: Account Balance Start.
[2025-01-13 00:44:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:44:03] Production.INFO: 117
[2025-01-13 00:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:44:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:44:03] Production.INFO: ==7085== Lock acquired, processing the job...
[2025-01-13 00:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:44:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:44:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:44:03] Production.INFO: ==7091== Lock acquired, processing the job...
[2025-01-13 00:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:44:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:44:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:44:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:44:03] Production.INFO: Total Charge 0
[2025-01-13 00:44:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 00:44:04] Production.ERROR: done
[2025-01-13 00:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:44:04] Production.INFO: count ==21
[2025-01-13 00:44:04] Production.INFO: ==7083== Releasing lock...
[2025-01-13 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 00:44:04] Production.INFO: count ==21
[2025-01-13 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235349') start
[2025-01-13 00:44:04] Production.ERROR: done
[2025-01-13 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235349') end
[2025-01-13 00:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:44:04] Production.INFO: 1
[2025-01-13 00:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:44:04] Production.INFO: Account Balance End.
[2025-01-13 00:44:04] Production.INFO: ==7091== Releasing lock...
[2025-01-13 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:44:04] Production.INFO: ==7087== Releasing lock...
[2025-01-13 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:44:05
[end_date_ymd] => 2025-01-13 00:44:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:44:05' and `end` < '2025-01-13 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-13 00:44:11] Production.ERROR: CronJobId end10
[2025-01-13 00:44:11] Production.INFO: ==7085== Releasing lock...
[2025-01-13 00:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:44:12] Production.INFO: call_cost start
[2025-01-13 00:44:12] Production.INFO: call_cost end
[2025-01-13 00:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:44:13] Production.INFO: ==7081== Releasing lock...
[2025-01-13 00:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:44:17] Production.INFO: count ==153
[2025-01-13 00:44:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:44:05 - End Time 2025-01-13 00:44:05
[2025-01-13 00:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235350', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235350', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235350', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235350', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:44:17] Production.INFO: ProcessCDR(1,14235350,1,1,2)
[2025-01-13 00:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235350', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235350', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:44:21] Production.INFO: ==7089== Releasing lock...
[2025-01-13 00:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:44:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:45:01] Production.INFO: ==7147== Lock acquired, processing the job...
[2025-01-13 05:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:45:01] Production.INFO: neon service started
[2025-01-13 05:45:01] Production.INFO: neon service started
[2025-01-13 05:45:01] Production.INFO: ==7147== Releasing lock...
[2025-01-13 05:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:45:01] Production.INFO: ==7151== Lock acquired, processing the job...
[2025-01-13 05:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:45:01] Production.INFO: ==7151== Releasing lock...
[2025-01-13 05:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:45:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:45:01] Production.INFO: ==7149== Lock acquired, processing the job...
[2025-01-13 00:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:45:02] Production.INFO: ==7149== Releasing lock...
[2025-01-13 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:45:02] Production.INFO: ==7154== Lock acquired, processing the job...
[2025-01-13 00:45:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:45:03] Production.INFO: ==7156== Lock acquired, processing the job...
[2025-01-13 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:45:03] Production.INFO: ==7158== Lock acquired, processing the job...
[2025-01-13 00:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:45:03] Production.INFO: ==7162== Lock acquired, processing the job...
[2025-01-13 00:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:45:03] Production.INFO: ==7156== Releasing lock...
[2025-01-13 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:45:03] Production.INFO: ==7160== Lock acquired, processing the job...
[2025-01-13 00:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:45:03] Production.INFO: ==7164== Lock acquired, processing the job...
[2025-01-13 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:45:03] Production.INFO: Account Balance Start.
[2025-01-13 00:45:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:45:03] Production.INFO: 117
[2025-01-13 00:45:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 00:45:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:45:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:45:03] Production.INFO: count ==21
[2025-01-13 00:45:03] Production.INFO: Date 2025-01-11
[2025-01-13 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-13 00:45:03] Production.INFO: count ==21
[2025-01-13 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:45:03] Production.ERROR: done
[2025-01-13 00:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235354') start
[2025-01-13 00:45:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:45:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:45:03] Production.INFO: Total Charge 0
[2025-01-13 00:45:03] Production.INFO: CreateAllLog End
[2025-01-13 00:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235354') end
[2025-01-13 00:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:45:03] Production.INFO: 1
[2025-01-13 00:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:45:03] Production.INFO: ==7164== Releasing lock...
[2025-01-13 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:45:03] Production.ERROR: done
[2025-01-13 00:45:04] Production.INFO: Account Balance End.
[2025-01-13 00:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:45:04] Production.INFO: ==7160== Releasing lock...
[2025-01-13 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:45:04
[end_date_ymd] => 2025-01-13 00:45:04
[RateCDR] => 1
)
[2025-01-13 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-12 21:45:04' and `end` < '2025-01-13 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-13 00:45:10] Production.ERROR: CronJobId end10
[2025-01-13 00:45:10] Production.INFO: ==7158== Releasing lock...
[2025-01-13 00:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:45:13] Production.INFO: call_cost start
[2025-01-13 00:45:13] Production.INFO: call_cost end
[2025-01-13 00:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:45:14] Production.INFO: ==7154== Releasing lock...
[2025-01-13 00:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:45:17] Production.INFO: count ==152
[2025-01-13 00:45:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:45:04 - End Time 2025-01-13 00:45:04
[2025-01-13 00:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235355', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235355', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235355', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235355', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:45:17] Production.INFO: ProcessCDR(1,14235355,1,1,2)
[2025-01-13 00:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235355', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235355', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:45:20] Production.INFO: ==7162== Releasing lock...
[2025-01-13 00:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:45:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:46:01] Production.INFO: ==7221== Lock acquired, processing the job...
[2025-01-13 05:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:46:01] Production.INFO: neon service started
[2025-01-13 05:46:01] Production.INFO: neon service started
[2025-01-13 05:46:01] Production.INFO: ==7221== Releasing lock...
[2025-01-13 05:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:46:02] Production.INFO: ==7223== Lock acquired, processing the job...
[2025-01-13 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:46:02] Production.INFO: ==7225== Lock acquired, processing the job...
[2025-01-13 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:46:02] Production.INFO: ==7223== Releasing lock...
[2025-01-13 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:46:02] Production.INFO: ==7225== Releasing lock...
[2025-01-13 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:46:03] Production.INFO: ==7227== Lock acquired, processing the job...
[2025-01-13 00:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:46:03] Production.INFO: ==7231== Lock acquired, processing the job...
[2025-01-13 00:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:46:03] Production.INFO: ==7229== Lock acquired, processing the job...
[2025-01-13 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:46:03] Production.INFO: ==7237== Lock acquired, processing the job...
[2025-01-13 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:46:03] Production.INFO: ==7233== Lock acquired, processing the job...
[2025-01-13 00:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:46:03] Production.INFO: ==7235== Lock acquired, processing the job...
[2025-01-13 00:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 00:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:46:03] Production.INFO: count ==21
[2025-01-13 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-13 00:46:03] Production.INFO: count ==21
[2025-01-13 00:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235358') start
[2025-01-13 00:46:03] Production.INFO: Account Balance Start.
[2025-01-13 00:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:46:03] Production.INFO: 117
[2025-01-13 00:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:46:03] Production.INFO: ==7229== Releasing lock...
[2025-01-13 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235358') end
[2025-01-13 00:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:46:03] Production.INFO: 1
[2025-01-13 00:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:46:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:46:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:46:03] Production.INFO: ==7237== Releasing lock...
[2025-01-13 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:46:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:46:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:46:04] Production.ERROR: done
[2025-01-13 00:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:46:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:46:04] Production.INFO: Total Charge 0
[2025-01-13 00:46:04] Production.INFO: CreateAllLog End
[2025-01-13 00:46:04] Production.INFO: Account Balance End.
[2025-01-13 00:46:04] Production.ERROR: done
[2025-01-13 00:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:46:04] Production.INFO: ==7233== Releasing lock...
[2025-01-13 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:46:05
[end_date_ymd] => 2025-01-13 00:46:05
[RateCDR] => 1
)
[2025-01-13 00:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:46:05' and `end` < '2025-01-13 00:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:46:10] Production.ERROR: CronJobId end10
[2025-01-13 00:46:10] Production.INFO: ==7231== Releasing lock...
[2025-01-13 00:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:46:12] Production.INFO: call_cost start
[2025-01-13 00:46:12] Production.INFO: call_cost end
[2025-01-13 00:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:46:13] Production.INFO: ==7227== Releasing lock...
[2025-01-13 00:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:46:18] Production.INFO: count ==152
[2025-01-13 00:46:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:46:05 - End Time 2025-01-13 00:46:05
[2025-01-13 00:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235360', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235360', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235360', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235360', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:46:18] Production.INFO: ProcessCDR(1,14235360,1,1,2)
[2025-01-13 00:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235360', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235360', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:46:21] Production.INFO: ==7235== Releasing lock...
[2025-01-13 00:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:46:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:47:02] Production.INFO: ==7297== Lock acquired, processing the job...
[2025-01-13 05:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:47:02] Production.INFO: neon service started
[2025-01-13 05:47:02] Production.INFO: neon service started
[2025-01-13 05:47:02] Production.INFO: ==7297== Releasing lock...
[2025-01-13 05:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:47:02] Production.INFO: ==7299== Lock acquired, processing the job...
[2025-01-13 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:47:02] Production.INFO: ==7301== Lock acquired, processing the job...
[2025-01-13 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:47:02] Production.INFO: ==7301== Releasing lock...
[2025-01-13 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:47:03] Production.INFO: ==7299== Releasing lock...
[2025-01-13 00:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:47:03] Production.INFO: ==7304== Lock acquired, processing the job...
[2025-01-13 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:47:03] Production.INFO: ==7306== Lock acquired, processing the job...
[2025-01-13 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:47:03] Production.INFO: ==7310== Lock acquired, processing the job...
[2025-01-13 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:47:03] Production.INFO: Account Balance Start.
[2025-01-13 00:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:47:03] Production.INFO: 117
[2025-01-13 00:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:47:04] Production.INFO: ==7314== Lock acquired, processing the job...
[2025-01-13 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:47:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:47:04] Production.INFO: ==7308== Lock acquired, processing the job...
[2025-01-13 00:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:47:04] Production.INFO: ==7306== Releasing lock...
[2025-01-13 00:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:47:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 00:47:04] Production.INFO: ==7312== Lock acquired, processing the job...
[2025-01-13 00:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:47:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:47:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:47:04] Production.INFO: count ==21
[2025-01-13 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-13 00:47:04] Production.INFO: count ==21
[2025-01-13 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235364') start
[2025-01-13 00:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:47:04] Production.INFO: Total Charge 0
[2025-01-13 00:47:04] Production.INFO: CreateAllLog End
[2025-01-13 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235364') end
[2025-01-13 00:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:47:04] Production.INFO: 1
[2025-01-13 00:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:47:04] Production.ERROR: done
[2025-01-13 00:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:47:04] Production.INFO: ==7314== Releasing lock...
[2025-01-13 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:47:04] Production.INFO: Account Balance End.
[2025-01-13 00:47:04] Production.ERROR: done
[2025-01-13 00:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:47:04] Production.INFO: ==7310== Releasing lock...
[2025-01-13 00:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:47:05
[end_date_ymd] => 2025-01-13 00:47:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:47:05' and `end` < '2025-01-13 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-13 00:47:11] Production.ERROR: CronJobId end10
[2025-01-13 00:47:11] Production.INFO: ==7308== Releasing lock...
[2025-01-13 00:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:47:13] Production.INFO: call_cost start
[2025-01-13 00:47:13] Production.INFO: call_cost end
[2025-01-13 00:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:47:14] Production.INFO: ==7304== Releasing lock...
[2025-01-13 00:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:47:18] Production.INFO: count ==149
[2025-01-13 00:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:47:05 - End Time 2025-01-13 00:47:05
[2025-01-13 00:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235365', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235365', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235365', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235365', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:47:18] Production.INFO: ProcessCDR(1,14235365,1,1,2)
[2025-01-13 00:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235365', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235365', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:47:21] Production.INFO: ==7312== Releasing lock...
[2025-01-13 00:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:47:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:48:01] Production.INFO: ==7371== Lock acquired, processing the job...
[2025-01-13 05:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:48:01] Production.INFO: neon service started
[2025-01-13 05:48:01] Production.INFO: neon service started
[2025-01-13 05:48:01] Production.INFO: ==7371== Releasing lock...
[2025-01-13 05:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:48:02] Production.INFO: ==7375== Lock acquired, processing the job...
[2025-01-13 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:48:02] Production.INFO: ==7375== Releasing lock...
[2025-01-13 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:48:02] Production.INFO: ==7373== Lock acquired, processing the job...
[2025-01-13 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:48:02] Production.INFO: ==7373== Releasing lock...
[2025-01-13 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:48:03] Production.INFO: ==7378== Lock acquired, processing the job...
[2025-01-13 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:48:03] Production.INFO: ==7384== Lock acquired, processing the job...
[2025-01-13 00:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:48:03] Production.INFO: ==7386== Lock acquired, processing the job...
[2025-01-13 00:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:48:03] Production.INFO: Account Balance Start.
[2025-01-13 00:48:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:48:03] Production.INFO: 117
[2025-01-13 00:48:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:48:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:48:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:48:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:48:03] Production.INFO: ==7380== Lock acquired, processing the job...
[2025-01-13 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:48:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:48:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:48:03] Production.INFO: ==7382== Lock acquired, processing the job...
[2025-01-13 00:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:48:03] Production.INFO: ==7388== Lock acquired, processing the job...
[2025-01-13 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:48:03] Production.INFO: Total Charge 0
[2025-01-13 00:48:03] Production.INFO: CreateAllLog End
[2025-01-13 00:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:48:03] Production.ERROR: done
[2025-01-13 00:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 00:48:04] Production.INFO: count ==21
[2025-01-13 00:48:04] Production.ERROR: done
[2025-01-13 00:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:48:04] Production.INFO: count ==21
[2025-01-13 00:48:04] Production.INFO: Account Balance End.
[2025-01-13 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235369') start
[2025-01-13 00:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:48:04] Production.INFO: ==7384== Releasing lock...
[2025-01-13 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:48:04] Production.INFO: ==7380== Releasing lock...
[2025-01-13 00:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235369') end
[2025-01-13 00:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:48:04] Production.INFO: 1
[2025-01-13 00:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:48:04] Production.INFO: ==7388== Releasing lock...
[2025-01-13 00:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:48:04
[end_date_ymd] => 2025-01-13 00:48:04
[RateCDR] => 1
)
[2025-01-13 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-12 21:48:04' and `end` < '2025-01-13 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-13 00:48:11] Production.ERROR: CronJobId end10
[2025-01-13 00:48:11] Production.INFO: ==7382== Releasing lock...
[2025-01-13 00:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:48:14] Production.INFO: call_cost start
[2025-01-13 00:48:14] Production.INFO: call_cost end
[2025-01-13 00:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:48:14] Production.INFO: ==7378== Releasing lock...
[2025-01-13 00:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:48:17] Production.INFO: count ==149
[2025-01-13 00:48:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:48:04 - End Time 2025-01-13 00:48:04
[2025-01-13 00:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235370', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235370', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235370', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235370', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:48:17] Production.INFO: ProcessCDR(1,14235370,1,1,2)
[2025-01-13 00:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235370', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235370', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:48:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:48:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:48:21] Production.INFO: ==7386== Releasing lock...
[2025-01-13 00:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:48:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 05:49:02] Production.INFO: ==7443== Lock acquired, processing the job...
[2025-01-13 05:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:49:02] Production.INFO: neon service started
[2025-01-13 05:49:02] Production.INFO: neon service started
[2025-01-13 05:49:02] Production.INFO: ==7443== Releasing lock...
[2025-01-13 05:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:49:02] Production.INFO: ==7445== Lock acquired, processing the job...
[2025-01-13 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:49:02] Production.INFO: ==7445== Releasing lock...
[2025-01-13 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:49:02] Production.INFO: ==7447== Lock acquired, processing the job...
[2025-01-13 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:49:03] Production.INFO: ==7447== Releasing lock...
[2025-01-13 05:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:49:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:49:03] Production.INFO: ==7449== Lock acquired, processing the job...
[2025-01-13 00:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:49:03] Production.INFO: ==7451== Lock acquired, processing the job...
[2025-01-13 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:49:03] Production.INFO: ==7455== Lock acquired, processing the job...
[2025-01-13 00:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:49:03] Production.INFO: ==7453== Lock acquired, processing the job...
[2025-01-13 00:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:49:03] Production.INFO: Account Balance Start.
[2025-01-13 00:49:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:49:03] Production.INFO: 117
[2025-01-13 00:49:03] Production.INFO: ==7457== Lock acquired, processing the job...
[2025-01-13 00:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:49:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:49:03] Production.INFO: ==7459== Lock acquired, processing the job...
[2025-01-13 00:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:49:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 00:49:04] Production.INFO: count ==21
[2025-01-13 00:49:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:49:04] Production.INFO: ==7451== Releasing lock...
[2025-01-13 00:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:49:04] Production.INFO: count ==21
[2025-01-13 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235374') start
[2025-01-13 00:49:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:49:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:49:04] Production.ERROR: done
[2025-01-13 00:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:49:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235374') end
[2025-01-13 00:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:49:04] Production.INFO: 1
[2025-01-13 00:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:49:04] Production.INFO: Total Charge 0
[2025-01-13 00:49:04] Production.INFO: CreateAllLog End
[2025-01-13 00:49:04] Production.INFO: ==7459== Releasing lock...
[2025-01-13 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:49:04] Production.ERROR: done
[2025-01-13 00:49:04] Production.INFO: Account Balance End.
[2025-01-13 00:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:49:04] Production.INFO: ==7455== Releasing lock...
[2025-01-13 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:49:05
[end_date_ymd] => 2025-01-13 00:49:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:49:05' and `end` < '2025-01-13 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-13 00:49:10] Production.ERROR: CronJobId end10
[2025-01-13 00:49:10] Production.INFO: ==7453== Releasing lock...
[2025-01-13 00:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:49:12] Production.INFO: call_cost start
[2025-01-13 00:49:12] Production.INFO: call_cost end
[2025-01-13 00:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:49:13] Production.INFO: ==7449== Releasing lock...
[2025-01-13 00:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:49:19] Production.INFO: count ==147
[2025-01-13 00:49:19] Production.ERROR: pbx CDR StartTime 2025-01-12 21:49:05 - End Time 2025-01-13 00:49:05
[2025-01-13 00:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235375', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235375', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235375', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235375', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:49:19] Production.INFO: ProcessCDR(1,14235375,1,1,2)
[2025-01-13 00:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235375', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235375', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:49:22] Production.INFO: ==7457== Releasing lock...
[2025-01-13 00:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:49:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 05:50:01] Production.INFO: ==7516== Lock acquired, processing the job...
[2025-01-13 05:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:50:01] Production.INFO: neon service started
[2025-01-13 05:50:01] Production.INFO: neon service started
[2025-01-13 05:50:01] Production.INFO: ==7516== Releasing lock...
[2025-01-13 05:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:50:01] Production.INFO: ==7519== Lock acquired, processing the job...
[2025-01-13 00:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:50:02] Production.INFO: ==7521== Lock acquired, processing the job...
[2025-01-13 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:50:02] Production.INFO: ==7519== Releasing lock...
[2025-01-13 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:50:02] Production.INFO: ==7521== Releasing lock...
[2025-01-13 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:50:03] Production.INFO: ==7527== Lock acquired, processing the job...
[2025-01-13 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:50:03] Production.INFO: ==7525== Lock acquired, processing the job...
[2025-01-13 00:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:50:03] Production.INFO: ==7523== Lock acquired, processing the job...
[2025-01-13 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 00:50:03] Production.INFO: ==7535== Lock acquired, processing the job...
[2025-01-13 00:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 00:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 00:50:03] Production.ERROR: CronJob PID - 7525
[2025-01-13 00:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 00:50:03] Production.ERROR: CronJob ID - 5
[2025-01-13 00:50:03] Production.ERROR: CronJob Last Run Time 2025-01-13 00:50:00
[2025-01-13 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 00:50:03] Production.ERROR: CronJob PID - 7527
[2025-01-13 00:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 00:50:03] Production.ERROR: CronJob ID - 7
[2025-01-13 00:50:03] Production.ERROR: CronJob Last Run Time 2025-01-13 00:50:00
[2025-01-13 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 00:50:03] Production.ERROR: CronJob PID - 7535
[2025-01-13 00:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 00:50:03] Production.ERROR: CronJob ID - 17
[2025-01-13 00:50:03] Production.ERROR: CronJob Last Run Time 2025-01-13 00:50:00
[2025-01-13 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 00:50:03] Production.INFO: ==7537== Lock acquired, processing the job...
[2025-01-13 00:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:50:03] Production.INFO: ==7529== Lock acquired, processing the job...
[2025-01-13 00:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:50:03] Production.INFO: ==7533== Lock acquired, processing the job...
[2025-01-13 00:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:50:03] Production.INFO: ==7531== Lock acquired, processing the job...
[2025-01-13 00:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 00:50:03] Production.INFO: ==7523== Releasing lock...
[2025-01-13 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 00:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 00:50:03] Production.INFO: ==7527== Releasing lock...
[2025-01-13 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:50:03] Production.INFO: Account Balance Start.
[2025-01-13 00:50:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:50:03] Production.INFO: 117
[2025-01-13 00:50:03] Production.INFO: count ==21
[2025-01-13 00:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:50:04] Production.INFO: count ==21
[2025-01-13 00:50:04] Production.ERROR: done
[2025-01-13 00:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235378') start
[2025-01-13 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235380', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235378') end
[2025-01-13 00:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:50:04] Production.INFO: 1
[2025-01-13 00:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:50:04] Production.ERROR: done
[2025-01-13 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:50:04] Production.INFO: ==7537== Releasing lock...
[2025-01-13 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:50:04] Production.INFO: Total Charge 0
[2025-01-13 00:50:04] Production.INFO: CreateAllLog End
[2025-01-13 00:50:04] Production.ERROR: done
[2025-01-13 00:50:04] Production.INFO: Account Balance End.
[2025-01-13 00:50:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:50:04] Production.INFO: ==7531== Releasing lock...
[2025-01-13 00:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:50:05
[end_date_ymd] => 2025-01-13 00:50:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:50:05' and `end` < '2025-01-13 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-13 00:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235380', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 00:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 00:50:08] Production.INFO: ProcessCDR(1,14235380,1,1,2)
[2025-01-13 00:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235380,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235380,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:50:08] Production.INFO: ==7535== Releasing lock...
[2025-01-13 00:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 00:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 00:50:13] Production.ERROR: CronJobId end10
[2025-01-13 00:50:13] Production.INFO: ==7529== Releasing lock...
[2025-01-13 00:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:50:14] Production.INFO: call_cost start
[2025-01-13 00:50:14] Production.INFO: call_cost end
[2025-01-13 00:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:50:15] Production.INFO: ==7525== Releasing lock...
[2025-01-13 00:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:50:17] Production.INFO: count ==149
[2025-01-13 00:50:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:50:05 - End Time 2025-01-13 00:50:05
[2025-01-13 00:50:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235381', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235381', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235381', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235381', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:50:17] Production.INFO: ProcessCDR(1,14235381,1,1,2)
[2025-01-13 00:50:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:50:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:50:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:50:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:50:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235381', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:50:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235381', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:50:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:50:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:50:20] Production.INFO: ==7533== Releasing lock...
[2025-01-13 00:50:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:50:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 05:51:01] Production.INFO: ==7594== Lock acquired, processing the job...
[2025-01-13 05:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:51:02] Production.INFO: neon service started
[2025-01-13 05:51:02] Production.INFO: neon service started
[2025-01-13 05:51:02] Production.INFO: ==7594== Releasing lock...
[2025-01-13 05:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:51:02] Production.INFO: ==7596== Lock acquired, processing the job...
[2025-01-13 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:51:02] Production.INFO: ==7599== Lock acquired, processing the job...
[2025-01-13 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 00:51:02] Production.INFO: ==7596== Releasing lock...
[2025-01-13 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:51:02] Production.INFO: ==7599== Releasing lock...
[2025-01-13 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:51:03] Production.INFO: ==7601== Lock acquired, processing the job...
[2025-01-13 00:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:51:03] Production.INFO: ==7609== Lock acquired, processing the job...
[2025-01-13 00:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:51:03] Production.INFO: ==7611== Lock acquired, processing the job...
[2025-01-13 00:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:51:03] Production.INFO: ==7603== Lock acquired, processing the job...
[2025-01-13 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:51:03] Production.INFO: ==7605== Lock acquired, processing the job...
[2025-01-13 00:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:51:03] Production.INFO: count ==21
[2025-01-13 00:51:03] Production.INFO: ==7607== Lock acquired, processing the job...
[2025-01-13 00:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:51:03] Production.INFO: count ==21
[2025-01-13 00:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235383') start
[2025-01-13 00:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:51:03] Production.INFO: Account Balance Start.
[2025-01-13 00:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:51:03] Production.INFO: 117
[2025-01-13 00:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235383') end
[2025-01-13 00:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:51:03] Production.INFO: 1
[2025-01-13 00:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:51:03] Production.INFO: ==7611== Releasing lock...
[2025-01-13 00:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:51:03] Production.INFO: ==7603== Releasing lock...
[2025-01-13 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:51:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:51:04] Production.ERROR: done
[2025-01-13 00:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:51:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:51:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:51:04] Production.INFO: Total Charge 0
[2025-01-13 00:51:04] Production.INFO: CreateAllLog End
[2025-01-13 00:51:04] Production.ERROR: done
[2025-01-13 00:51:04] Production.INFO: Account Balance End.
[2025-01-13 00:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:51:04] Production.INFO: ==7607== Releasing lock...
[2025-01-13 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:51:05
[end_date_ymd] => 2025-01-13 00:51:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:51:05' and `end` < '2025-01-13 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-13 00:51:11] Production.ERROR: CronJobId end10
[2025-01-13 00:51:11] Production.INFO: ==7605== Releasing lock...
[2025-01-13 00:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:51:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:51:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:51:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:51:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:51:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:51:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:51:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:51:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:51:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:51:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:51:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:51:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:51:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:51:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:51:12] Production.INFO: call_cost start
[2025-01-13 00:51:12] Production.INFO: call_cost end
[2025-01-13 00:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:51:13] Production.INFO: ==7601== Releasing lock...
[2025-01-13 00:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:51:17] Production.INFO: count ==147
[2025-01-13 00:51:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:51:05 - End Time 2025-01-13 00:51:05
[2025-01-13 00:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235386', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235386', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235386', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235386', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:51:17] Production.INFO: ProcessCDR(1,14235386,1,1,2)
[2025-01-13 00:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235386', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235386', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:51:21] Production.INFO: ==7609== Releasing lock...
[2025-01-13 00:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:51:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 05:52:01] Production.INFO: ==7670== Lock acquired, processing the job...
[2025-01-13 05:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:52:01] Production.INFO: neon service started
[2025-01-13 05:52:01] Production.INFO: neon service started
[2025-01-13 05:52:01] Production.INFO: ==7670== Releasing lock...
[2025-01-13 05:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:52:01] Production.INFO: ==7672== Lock acquired, processing the job...
[2025-01-13 00:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:52:02] Production.INFO: ==7672== Releasing lock...
[2025-01-13 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:52:02] Production.INFO: ==7674== Lock acquired, processing the job...
[2025-01-13 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:52:02] Production.INFO: ==7674== Releasing lock...
[2025-01-13 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:52:02] Production.INFO: ==7683== Lock acquired, processing the job...
[2025-01-13 00:52:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:52:02] Production.INFO: Account Balance Start.
[2025-01-13 00:52:02] Production.INFO: CreateAllLog Start
[2025-01-13 00:52:02] Production.INFO: 117
[2025-01-13 00:52:02] Production.INFO: Date 2025-01-08
[2025-01-13 00:52:02] Production.INFO: Reseller ==> 0
[2025-01-13 00:52:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:52:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:52:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:52:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:52:03] Production.INFO: ==7687== Lock acquired, processing the job...
[2025-01-13 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:52:03] Production.INFO: ==7677== Lock acquired, processing the job...
[2025-01-13 00:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:52:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:52:03] Production.INFO: ==7679== Lock acquired, processing the job...
[2025-01-13 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:52:03] Production.INFO: Total Charge 0
[2025-01-13 00:52:03] Production.INFO: ==7681== Lock acquired, processing the job...
[2025-01-13 00:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:52:03] Production.INFO: CreateAllLog End
[2025-01-13 00:52:03] Production.INFO: ==7685== Lock acquired, processing the job...
[2025-01-13 00:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:52:03] Production.INFO: Account Balance End.
[2025-01-13 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-13 00:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:52:03] Production.INFO: count ==21
[2025-01-13 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-13 00:52:03] Production.ERROR: CronJobId end 12
[2025-01-13 00:52:03] Production.INFO: ==7683== Releasing lock...
[2025-01-13 00:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:52:03] Production.INFO: count ==21
[2025-01-13 00:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235388') start
[2025-01-13 00:52:03] Production.INFO: ==7679== Releasing lock...
[2025-01-13 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235388') end
[2025-01-13 00:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:52:03] Production.INFO: 1
[2025-01-13 00:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:52:03] Production.INFO: ==7687== Releasing lock...
[2025-01-13 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:52:03] Production.ERROR: done
[2025-01-13 00:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:52:03] Production.ERROR: done
[2025-01-13 00:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:52:04
[end_date_ymd] => 2025-01-13 00:52:04
[RateCDR] => 1
)
[2025-01-13 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-12 21:52:04' and `end` < '2025-01-13 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-13 00:52:11] Production.ERROR: CronJobId end10
[2025-01-13 00:52:11] Production.INFO: ==7681== Releasing lock...
[2025-01-13 00:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:52:12] Production.INFO: call_cost start
[2025-01-13 00:52:12] Production.INFO: call_cost end
[2025-01-13 00:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:52:13] Production.INFO: ==7677== Releasing lock...
[2025-01-13 00:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:52:17] Production.INFO: count ==146
[2025-01-13 00:52:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:52:04 - End Time 2025-01-13 00:52:04
[2025-01-13 00:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235391', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235391', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235391', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235391', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:52:17] Production.INFO: ProcessCDR(1,14235391,1,1,2)
[2025-01-13 00:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235391', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235391', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:52:20] Production.INFO: ==7685== Releasing lock...
[2025-01-13 00:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:52:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 05:53:01] Production.INFO: ==7750== Lock acquired, processing the job...
[2025-01-13 05:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:53:01] Production.INFO: neon service started
[2025-01-13 05:53:01] Production.INFO: neon service started
[2025-01-13 05:53:01] Production.INFO: ==7750== Releasing lock...
[2025-01-13 05:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:53:02] Production.INFO: ==7752== Lock acquired, processing the job...
[2025-01-13 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:53:02] Production.INFO: ==7752== Releasing lock...
[2025-01-13 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:53:02] Production.INFO: ==7754== Lock acquired, processing the job...
[2025-01-13 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:53:02] Production.INFO: ==7754== Releasing lock...
[2025-01-13 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:53:03] Production.INFO: ==7763== Lock acquired, processing the job...
[2025-01-13 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:53:03] Production.INFO: ==7765== Lock acquired, processing the job...
[2025-01-13 00:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:53:03] Production.INFO: Account Balance Start.
[2025-01-13 00:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:53:03] Production.INFO: 117
[2025-01-13 00:53:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:53:03] Production.INFO: ==7757== Lock acquired, processing the job...
[2025-01-13 00:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:53:03] Production.INFO: ==7761== Lock acquired, processing the job...
[2025-01-13 00:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:53:03] Production.INFO: ==7759== Lock acquired, processing the job...
[2025-01-13 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:53:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:53:03] Production.INFO: ==7767== Lock acquired, processing the job...
[2025-01-13 00:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:53:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 00:53:03] Production.INFO: count ==21
[2025-01-13 00: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-13 00:53:03] Production.INFO: count ==21
[2025-01-13 00:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235395') start
[2025-01-13 00:53:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:53:03] Production.INFO: ==7759== Releasing lock...
[2025-01-13 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:53:03] Production.ERROR: done
[2025-01-13 00:53:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235395') end
[2025-01-13 00:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:53:03] Production.INFO: 1
[2025-01-13 00:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:53:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:53:03] Production.INFO: Total Charge 0
[2025-01-13 00:53:03] Production.INFO: ==7767== Releasing lock...
[2025-01-13 00:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:53:03] Production.ERROR: done
[2025-01-13 00:53:03] Production.INFO: CreateAllLog End
[2025-01-13 00:53:04] Production.INFO: Account Balance End.
[2025-01-13 00:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:53:04] Production.INFO: ==7763== Releasing lock...
[2025-01-13 00:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:53:04
[end_date_ymd] => 2025-01-13 00:53:04
[RateCDR] => 1
)
[2025-01-13 00:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:53:04' and `end` < '2025-01-13 00: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-13 00:53:09] Production.ERROR: CronJobId end10
[2025-01-13 00:53:09] Production.INFO: ==7761== Releasing lock...
[2025-01-13 00:53:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:53:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:53:13] Production.INFO: call_cost start
[2025-01-13 00:53:13] Production.INFO: call_cost end
[2025-01-13 00:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:53:13] Production.INFO: ==7757== Releasing lock...
[2025-01-13 00:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:53:17] Production.INFO: count ==142
[2025-01-13 00:53:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:53:04 - End Time 2025-01-13 00:53:04
[2025-01-13 00:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235396', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235396', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235396', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235396', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:53:17] Production.INFO: ProcessCDR(1,14235396,1,1,2)
[2025-01-13 00:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235396', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235396', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:53:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:53:20] Production.INFO: ==7765== Releasing lock...
[2025-01-13 00:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:53:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 05:54:02] Production.INFO: ==7841== Lock acquired, processing the job...
[2025-01-13 05:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:54:02] Production.INFO: neon service started
[2025-01-13 05:54:02] Production.INFO: neon service started
[2025-01-13 05:54:02] Production.INFO: ==7841== Releasing lock...
[2025-01-13 05:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:54:02] Production.INFO: ==7843== Lock acquired, processing the job...
[2025-01-13 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:54:02] Production.INFO: ==7843== Releasing lock...
[2025-01-13 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:54:03] Production.INFO: ==7845== Lock acquired, processing the job...
[2025-01-13 05:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:54:03] Production.INFO: ==7845== Releasing lock...
[2025-01-13 05:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:54:03] Production.INFO: ==7851== Lock acquired, processing the job...
[2025-01-13 00:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:54:03] Production.INFO: ==7847== Lock acquired, processing the job...
[2025-01-13 00:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:54:04] Production.INFO: ==7855== Lock acquired, processing the job...
[2025-01-13 00:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:54:04] Production.INFO: ==7849== Lock acquired, processing the job...
[2025-01-13 00:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:54:04] Production.INFO: ==7853== Lock acquired, processing the job...
[2025-01-13 00:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:54:04] Production.INFO: ==7857== Lock acquired, processing the job...
[2025-01-13 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:54:04] Production.INFO: Account Balance Start.
[2025-01-13 00:54:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:54:04] Production.INFO: 117
[2025-01-13 00:54:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:54:04] Production.INFO: count ==21
[2025-01-13 00:54:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:54:04] Production.ERROR: done
[2025-01-13 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:54:04] Production.INFO: count ==21
[2025-01-13 00:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235400') start
[2025-01-13 00:54:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:54:04] Production.ERROR: done
[2025-01-13 00:54:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:54:04] Production.INFO: ==7849== Releasing lock...
[2025-01-13 00:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235400') end
[2025-01-13 00:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:54:04] Production.INFO: 1
[2025-01-13 00:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:54:04] Production.INFO: ==7857== Releasing lock...
[2025-01-13 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:54:04] Production.INFO: Total Charge 0
[2025-01-13 00:54:04] Production.INFO: CreateAllLog End
[2025-01-13 00:54:04] Production.INFO: Account Balance End.
[2025-01-13 00:54:05] Production.ERROR: CronJobId end 12
[2025-01-13 00:54:05] Production.INFO: ==7853== Releasing lock...
[2025-01-13 00:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:54:05
[end_date_ymd] => 2025-01-13 00:54:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:54:05' and `end` < '2025-01-13 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-13 00:54:10] Production.ERROR: CronJobId end10
[2025-01-13 00:54:10] Production.INFO: ==7851== Releasing lock...
[2025-01-13 00:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:54:13] Production.INFO: call_cost start
[2025-01-13 00:54:13] Production.INFO: call_cost end
[2025-01-13 00:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:54:14] Production.INFO: ==7847== Releasing lock...
[2025-01-13 00:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:54:19] Production.INFO: count ==141
[2025-01-13 00:54:19] Production.ERROR: pbx CDR StartTime 2025-01-12 21:54:05 - End Time 2025-01-13 00:54:05
[2025-01-13 00:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235401', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235401', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235401', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235401', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:54:19] Production.INFO: ProcessCDR(1,14235401,1,1,2)
[2025-01-13 00:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235401', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235401', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:54:22] Production.INFO: ==7855== Releasing lock...
[2025-01-13 00:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:54:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 05:55:01] Production.INFO: ==7929== Lock acquired, processing the job...
[2025-01-13 05:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:55:01] Production.INFO: neon service started
[2025-01-13 05:55:01] Production.INFO: neon service started
[2025-01-13 05:55:01] Production.INFO: ==7929== Releasing lock...
[2025-01-13 05:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:55:02] Production.INFO: ==7933== Lock acquired, processing the job...
[2025-01-13 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:55:02] Production.INFO: ==7933== Releasing lock...
[2025-01-13 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:55:02] Production.INFO: ==7931== Lock acquired, processing the job...
[2025-01-13 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:55:02] Production.INFO: ==7931== Releasing lock...
[2025-01-13 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 00:55:03] Production.INFO: ==7936== Lock acquired, processing the job...
[2025-01-13 00:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:55:03] Production.INFO: ==7942== Lock acquired, processing the job...
[2025-01-13 00:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:55:03] Production.INFO: ==7946== Lock acquired, processing the job...
[2025-01-13 00:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:55:03] Production.INFO: ==7938== Lock acquired, processing the job...
[2025-01-13 00:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:55:03] Production.INFO: ==7940== Lock acquired, processing the job...
[2025-01-13 00:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:55:03] Production.INFO: Account Balance Start.
[2025-01-13 00:55:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:55:03] Production.INFO: 117
[2025-01-13 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-13 00:55:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:55:03] Production.INFO: count ==21
[2025-01-13 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 00:55:03] Production.INFO: count ==21
[2025-01-13 00:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235404') start
[2025-01-13 00:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:55:03] Production.INFO: ==7944== Lock acquired, processing the job...
[2025-01-13 00:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:55:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:55:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235404') end
[2025-01-13 00:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:55:03] Production.INFO: 1
[2025-01-13 00:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:55:03] Production.INFO: ==7946== Releasing lock...
[2025-01-13 00:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:55:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:55:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:55:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:55:04] Production.INFO: Total Charge 0
[2025-01-13 00:55:04] Production.INFO: CreateAllLog End
[2025-01-13 00:55:04] Production.INFO: ==7938== Releasing lock...
[2025-01-13 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:55:04] Production.ERROR: done
[2025-01-13 00:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:55:04] Production.INFO: Account Balance End.
[2025-01-13 00:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:55:04] Production.INFO: ==7942== Releasing lock...
[2025-01-13 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:55:04] Production.ERROR: done
[2025-01-13 00:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:55:05
[end_date_ymd] => 2025-01-13 00:55:05
[RateCDR] => 1
)
[2025-01-13 00:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:55:05' and `end` < '2025-01-13 00:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 00:55:11] Production.ERROR: CronJobId end10
[2025-01-13 00:55:11] Production.INFO: ==7940== Releasing lock...
[2025-01-13 00:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:55:13] Production.INFO: call_cost start
[2025-01-13 00:55:13] Production.INFO: call_cost end
[2025-01-13 00:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:55:14] Production.INFO: ==7936== Releasing lock...
[2025-01-13 00:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:55:18] Production.INFO: count ==141
[2025-01-13 00:55:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:55:05 - End Time 2025-01-13 00:55:05
[2025-01-13 00:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235406', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235406', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235406', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235406', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:55:18] Production.INFO: ProcessCDR(1,14235406,1,1,2)
[2025-01-13 00:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235406', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235406', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:55:21] Production.INFO: ==7944== Releasing lock...
[2025-01-13 00:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 05:56:02] Production.INFO: ==8022== Lock acquired, processing the job...
[2025-01-13 05:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:56:02] Production.INFO: neon service started
[2025-01-13 05:56:02] Production.INFO: neon service started
[2025-01-13 05:56:02] Production.INFO: ==8022== Releasing lock...
[2025-01-13 05:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:56:02] Production.INFO: ==8024== Lock acquired, processing the job...
[2025-01-13 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:56:02] Production.INFO: ==8024== Releasing lock...
[2025-01-13 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:56:02] Production.INFO: ==8026== Lock acquired, processing the job...
[2025-01-13 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:56:02] Production.INFO: ==8026== Releasing lock...
[2025-01-13 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:56:03] Production.INFO: ==8036== Lock acquired, processing the job...
[2025-01-13 00:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:56:03] Production.INFO: ==8038== Lock acquired, processing the job...
[2025-01-13 00:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:56:03] Production.INFO: ==8028== Lock acquired, processing the job...
[2025-01-13 00:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:56:03] Production.INFO: ==8030== Lock acquired, processing the job...
[2025-01-13 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 00:56:03] Production.INFO: ==8032== Lock acquired, processing the job...
[2025-01-13 00:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:56:03] Production.INFO: count ==21
[2025-01-13 00:56:03] Production.INFO: ==8034== Lock acquired, processing the job...
[2025-01-13 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 00:56:03] Production.INFO: count ==21
[2025-01-13 00:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235407') start
[2025-01-13 00:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235407') end
[2025-01-13 00:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:56:03] Production.INFO: 1
[2025-01-13 00:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:56:04] Production.INFO: ==8038== Releasing lock...
[2025-01-13 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:56:04] Production.INFO: Account Balance Start.
[2025-01-13 00:56:04] Production.INFO: CreateAllLog Start
[2025-01-13 00:56:04] Production.ERROR: done
[2025-01-13 00:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:56:04] Production.INFO: 117
[2025-01-13 00:56:04] Production.INFO: ==8030== Releasing lock...
[2025-01-13 00:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:56:04] Production.INFO: Date 2025-01-08
[2025-01-13 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:56:04] Production.ERROR: done
[2025-01-13 00:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 00:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 00:56:04] Production.INFO: Total Charge 0
[2025-01-13 00:56:04] Production.INFO: CreateAllLog End
[2025-01-13 00:56:04] Production.INFO: Account Balance End.
[2025-01-13 00:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:56:04] Production.INFO: ==8034== Releasing lock...
[2025-01-13 00:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:56:05
[end_date_ymd] => 2025-01-13 00:56:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:56:05' and `end` < '2025-01-13 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-13 00:56:10] Production.ERROR: CronJobId end10
[2025-01-13 00:56:10] Production.INFO: ==8032== Releasing lock...
[2025-01-13 00:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:56:13] Production.INFO: call_cost start
[2025-01-13 00:56:13] Production.INFO: call_cost end
[2025-01-13 00:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:56:13] Production.INFO: ==8028== Releasing lock...
[2025-01-13 00:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:56:17] Production.INFO: count ==140
[2025-01-13 00:56:17] Production.ERROR: pbx CDR StartTime 2025-01-12 21:56:05 - End Time 2025-01-13 00:56:05
[2025-01-13 00:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235411', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235411', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235411', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235411', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:56:17] Production.INFO: ProcessCDR(1,14235411,1,1,2)
[2025-01-13 00:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235411', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235411', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:56:22] Production.INFO: ==8036== Releasing lock...
[2025-01-13 00:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:56:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 05:57:01] Production.INFO: ==8151== Lock acquired, processing the job...
[2025-01-13 05:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:57:01] Production.INFO: neon service started
[2025-01-13 05:57:01] Production.INFO: neon service started
[2025-01-13 05:57:01] Production.INFO: ==8151== Releasing lock...
[2025-01-13 05:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:57:01] Production.INFO: ==8154== Lock acquired, processing the job...
[2025-01-13 00:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:57:02] Production.INFO: ==8154== Releasing lock...
[2025-01-13 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:57:02] Production.INFO: ==8156== Lock acquired, processing the job...
[2025-01-13 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:57:02] Production.INFO: ==8156== Releasing lock...
[2025-01-13 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:57:02] Production.INFO: ==8158== Lock acquired, processing the job...
[2025-01-13 00:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:57:03] Production.INFO: ==8168== Lock acquired, processing the job...
[2025-01-13 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 00:57:03] Production.INFO: ==8160== Lock acquired, processing the job...
[2025-01-13 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:57:03] Production.INFO: ==8162== Lock acquired, processing the job...
[2025-01-13 00:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:57:03] Production.INFO: ==8164== Lock acquired, processing the job...
[2025-01-13 00:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:57:03] Production.INFO: count ==21
[2025-01-13 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-13 00:57:03] Production.INFO: count ==21
[2025-01-13 00:57:03] Production.INFO: ==8166== Lock acquired, processing the job...
[2025-01-13 00:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235413') start
[2025-01-13 00:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235413') end
[2025-01-13 00:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:57:03] Production.INFO: 1
[2025-01-13 00:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:57:03] Production.INFO: ==8168== Releasing lock...
[2025-01-13 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:57:03] Production.INFO: Account Balance Start.
[2025-01-13 00:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:57:03] Production.INFO: ==8160== Releasing lock...
[2025-01-13 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:57:03] Production.INFO: 117
[2025-01-13 00:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:57:03] Production.ERROR: done
[2025-01-13 00:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:57:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:57:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:57:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:57:03] Production.INFO: Total Charge 0
[2025-01-13 00:57:03] Production.INFO: CreateAllLog End
[2025-01-13 00:57:04] Production.ERROR: done
[2025-01-13 00:57:04] Production.INFO: Account Balance End.
[2025-01-13 00:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:57:04] Production.INFO: ==8164== Releasing lock...
[2025-01-13 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:57:04
[end_date_ymd] => 2025-01-13 00:57:04
[RateCDR] => 1
)
[2025-01-13 00:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 21:57:04' and `end` < '2025-01-13 00: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-13 00:57:10] Production.ERROR: CronJobId end10
[2025-01-13 00:57:10] Production.INFO: ==8162== Releasing lock...
[2025-01-13 00:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:57:12] Production.INFO: call_cost start
[2025-01-13 00:57:12] Production.INFO: call_cost end
[2025-01-13 00:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:57:13] Production.INFO: ==8158== Releasing lock...
[2025-01-13 00:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:57:19] Production.INFO: count ==142
[2025-01-13 00:57:19] Production.ERROR: pbx CDR StartTime 2025-01-12 21:57:04 - End Time 2025-01-13 00:57:04
[2025-01-13 00:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235416', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235416', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235416', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235416', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:57:19] Production.INFO: ProcessCDR(1,14235416,1,1,2)
[2025-01-13 00:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235416', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235416', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:57:22] Production.INFO: ==8166== Releasing lock...
[2025-01-13 00:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:57:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 05:58:01] Production.INFO: ==8240== Lock acquired, processing the job...
[2025-01-13 05:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:58:01] Production.INFO: neon service started
[2025-01-13 05:58:02] Production.INFO: neon service started
[2025-01-13 05:58:02] Production.INFO: ==8240== Releasing lock...
[2025-01-13 05:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:58:02] Production.INFO: ==8242== Lock acquired, processing the job...
[2025-01-13 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:58:02] Production.INFO: ==8242== Releasing lock...
[2025-01-13 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:58:02] Production.INFO: ==8244== Lock acquired, processing the job...
[2025-01-13 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:58:02] Production.INFO: ==8244== Releasing lock...
[2025-01-13 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:58:03] Production.INFO: ==8253== Lock acquired, processing the job...
[2025-01-13 00:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:58:03] Production.INFO: ==8257== Lock acquired, processing the job...
[2025-01-13 00:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:58:03] Production.INFO: Account Balance Start.
[2025-01-13 00:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:58:03] Production.INFO: 117
[2025-01-13 00:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:58:03] Production.INFO: ==8247== Lock acquired, processing the job...
[2025-01-13 00:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:58:03] Production.INFO: ==8249== Lock acquired, processing the job...
[2025-01-13 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 00:58:03] Production.INFO: ==8251== Lock acquired, processing the job...
[2025-01-13 00:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:58:03] Production.INFO: count ==21
[2025-01-13 00:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 00:58:03] Production.INFO: count ==21
[2025-01-13 00:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235418') start
[2025-01-13 00:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:58:03] Production.INFO: ==8255== Lock acquired, processing the job...
[2025-01-13 00:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:58:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:58:03] Production.INFO: Total Charge 0
[2025-01-13 00:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235418') end
[2025-01-13 00:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:58:03] Production.INFO: 1
[2025-01-13 00:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:58:03] Production.INFO: CreateAllLog End
[2025-01-13 00:58:03] Production.INFO: ==8257== Releasing lock...
[2025-01-13 00:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:58:04] Production.INFO: ==8249== Releasing lock...
[2025-01-13 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:58:04] Production.ERROR: done
[2025-01-13 00:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 00:58:04] Production.ERROR: done
[2025-01-13 00:58:04] Production.INFO: Account Balance End.
[2025-01-13 00:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 00:58:04] Production.INFO: ==8253== Releasing lock...
[2025-01-13 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:58:05
[end_date_ymd] => 2025-01-13 00:58:05
[RateCDR] => 1
)
[2025-01-13 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-12 21:58:05' and `end` < '2025-01-13 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-13 00:58:10] Production.ERROR: CronJobId end10
[2025-01-13 00:58:10] Production.INFO: ==8251== Releasing lock...
[2025-01-13 00:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:58:13] Production.INFO: call_cost start
[2025-01-13 00:58:13] Production.INFO: call_cost end
[2025-01-13 00:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:58:14] Production.INFO: ==8247== Releasing lock...
[2025-01-13 00:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:58:18] Production.INFO: count ==142
[2025-01-13 00:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 21:58:05 - End Time 2025-01-13 00:58:05
[2025-01-13 00:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235421', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235421', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235421', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235421', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:58:18] Production.INFO: ProcessCDR(1,14235421,1,1,2)
[2025-01-13 00:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235421', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235421', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:58:21] Production.INFO: ==8255== Releasing lock...
[2025-01-13 00:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:58:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 05:59:01] Production.INFO: ==8324== Lock acquired, processing the job...
[2025-01-13 05:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 05:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 05:59:01] Production.INFO: neon service started
[2025-01-13 05:59:01] Production.INFO: neon service started
[2025-01-13 05:59:01] Production.INFO: ==8324== Releasing lock...
[2025-01-13 05:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 05:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 00:59:01] Production.INFO: ==8326== Lock acquired, processing the job...
[2025-01-13 00:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 00:59:02] Production.INFO: ==8326== Releasing lock...
[2025-01-13 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 00:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:59:02] Production.INFO: ==8328== Lock acquired, processing the job...
[2025-01-13 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:59:02] Production.INFO: ==8328== Releasing lock...
[2025-01-13 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 05:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 00:59:02] Production.INFO: ==8339== Lock acquired, processing the job...
[2025-01-13 00:59:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 00:59:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 00:59:03] Production.INFO: ==8341== Lock acquired, processing the job...
[2025-01-13 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 00:59:03] Production.INFO: ==8331== Lock acquired, processing the job...
[2025-01-13 00:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 00:59:03] Production.INFO: ==8333== Lock acquired, processing the job...
[2025-01-13 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 00:59:03] Production.INFO: ==8335== Lock acquired, processing the job...
[2025-01-13 00:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 00:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 00:59:03] Production.INFO: ==8337== Lock acquired, processing the job...
[2025-01-13 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 00:59:03] Production.INFO: count ==21
[2025-01-13 00:59:03] Production.ERROR: done
[2025-01-13 00:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 00:59:03] Production.INFO: count ==21
[2025-01-13 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235422') start
[2025-01-13 00:59:03] Production.INFO: Account Balance Start.
[2025-01-13 00:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 00:59:03] Production.INFO: 117
[2025-01-13 00:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 00:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 00:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 00:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 00:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:59:03] Production.ERROR: done
[2025-01-13 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235422') end
[2025-01-13 00:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 00:59:03] Production.INFO: 1
[2025-01-13 00:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 00:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:59:03] Production.INFO: ==8341== Releasing lock...
[2025-01-13 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 00:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 00:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:59:03] Production.INFO: Date 2025-01-12
[2025-01-13 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:59:03] Production.INFO: ==8333== Releasing lock...
[2025-01-13 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 00:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 00:59:03] Production.INFO: Date 2025-01-13
[2025-01-13 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 00:59:03] Production.INFO: Total Charge 0
[2025-01-13 00:59:03] Production.INFO: CreateAllLog End
[2025-01-13 00:59:03] Production.INFO: Account Balance End.
[2025-01-13 00:59:03] Production.ERROR: CronJobId end 12
[2025-01-13 00:59:03] Production.INFO: ==8337== Releasing lock...
[2025-01-13 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 00:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 00:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 21:59:04
[end_date_ymd] => 2025-01-13 00:59:04
[RateCDR] => 1
)
[2025-01-13 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-12 21:59:04' and `end` < '2025-01-13 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-13 00:59:10] Production.ERROR: CronJobId end10
[2025-01-13 00:59:10] Production.INFO: ==8335== Releasing lock...
[2025-01-13 00:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 00:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 00:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 00:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 00:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 00:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 00:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 00:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 00:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 00:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 00:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 00:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 00:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 00:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 00:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 00:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 00:59:13] Production.INFO: call_cost start
[2025-01-13 00:59:13] Production.INFO: call_cost end
[2025-01-13 00:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 00:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 00:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 00:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 00:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 00:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 00:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 00:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 00:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 00:59:14] Production.INFO: ==8331== Releasing lock...
[2025-01-13 00:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 00:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 00:59:16] Production.INFO: count ==143
[2025-01-13 00:59:16] Production.ERROR: pbx CDR StartTime 2025-01-12 21:59:04 - End Time 2025-01-13 00:59:04
[2025-01-13 00:59:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 00:59:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235426', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:59:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235426', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:59:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235426', 'tblTempVendorCDR_20' ) start
[2025-01-13 00:59:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235426', 'tblTempVendorCDR_20' ) end
[2025-01-13 00:59:16] Production.INFO: ProcessCDR(1,14235426,1,1,2)
[2025-01-13 00:59:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 00:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 00:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235426', 'tblTempUsageDetail_20' ) start
[2025-01-13 00:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235426', 'tblTempUsageDetail_20' ) end
[2025-01-13 00:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 00:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 00:59:21] Production.INFO: ==8339== Releasing lock...
[2025-01-13 00:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 00:59:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:00:01] Production.INFO: ==8412== Lock acquired, processing the job...
[2025-01-13 06:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:00:01] Production.INFO: neon service started
[2025-01-13 06:00:01] Production.INFO: neon service started
[2025-01-13 06:00:01] Production.INFO: ==8412== Releasing lock...
[2025-01-13 06:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:00:02] Production.INFO: ==8415== Lock acquired, processing the job...
[2025-01-13 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:00:02] Production.INFO: ==8415== Releasing lock...
[2025-01-13 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:00:02] Production.INFO: ==8417== Lock acquired, processing the job...
[2025-01-13 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:00:02] Production.INFO: ==8417== Releasing lock...
[2025-01-13 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:00:03] Production.INFO: ==8419== Lock acquired, processing the job...
[2025-01-13 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 01:00:03] Production.INFO: ==8421== Lock acquired, processing the job...
[2025-01-13 01:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:00:03] Production.INFO: ==8423== Lock acquired, processing the job...
[2025-01-13 01:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 01:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 01:00:03] Production.INFO: ==8419== Releasing lock...
[2025-01-13 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 01:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 01:00:03] Production.INFO: ==8425== Lock acquired, processing the job...
[2025-01-13 01:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:00:03] Production.INFO: ==8427== Lock acquired, processing the job...
[2025-01-13 01:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:00:03] Production.INFO: ==8429== Lock acquired, processing the job...
[2025-01-13 01:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:00:03] Production.INFO: Account Balance Start.
[2025-01-13 01:00:03] Production.INFO: ==8433== Lock acquired, processing the job...
[2025-01-13 01:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:00:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:00:03] Production.INFO: 117
[2025-01-13 01:00:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:00:03] Production.INFO: ==8431== Lock acquired, processing the job...
[2025-01-13 01:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 01:00:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:00:04] Production.INFO: count ==21
[2025-01-13 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-13 01:00:04] Production.INFO: count ==21
[2025-01-13 01:00:04] Production.ERROR: done
[2025-01-13 01:00:04] Production.ERROR: done
[2025-01-13 01:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235430') start
[2025-01-13 01:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:00:04] Production.INFO: ==8423== Releasing lock...
[2025-01-13 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 01:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235431', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 01:00:04] Production.INFO: Total Charge 0
[2025-01-13 01:00:04] Production.ERROR: done
[2025-01-13 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235430') end
[2025-01-13 01:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:00:04] Production.INFO: 1
[2025-01-13 01:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:00:04] Production.INFO: CreateAllLog End
[2025-01-13 01:00:04] Production.INFO: ==8433== Releasing lock...
[2025-01-13 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:00:04] Production.INFO: Account Balance End.
[2025-01-13 01:00:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:00:04] Production.INFO: ==8427== Releasing lock...
[2025-01-13 01:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:00:05
[end_date_ymd] => 2025-01-13 01:00:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:00:05' and `end` < '2025-01-13 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-13 01:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235431', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 01:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 01:00:08] Production.INFO: ProcessCDR(1,14235431,1,1,2)
[2025-01-13 01:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235431,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235431,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:00:08] Production.INFO: ==8431== Releasing lock...
[2025-01-13 01:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 01:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 01:00:12] Production.ERROR: CronJobId end10
[2025-01-13 01:00:12] Production.INFO: ==8425== Releasing lock...
[2025-01-13 01:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:00:15] Production.INFO: call_cost start
[2025-01-13 01:00:15] Production.INFO: call_cost end
[2025-01-13 01:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:00:16] Production.INFO: ==8421== Releasing lock...
[2025-01-13 01:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:00:18] Production.INFO: count ==150
[2025-01-13 01:00:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:00:05 - End Time 2025-01-13 01:00:05
[2025-01-13 01:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235432', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235432', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235432', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235432', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:00:18] Production.INFO: ProcessCDR(1,14235432,1,1,2)
[2025-01-13 01:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235432', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235432', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:00:23] Production.INFO: ==8429== Releasing lock...
[2025-01-13 01:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:00:23] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:01:02] Production.INFO: ==8503== Lock acquired, processing the job...
[2025-01-13 06:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:01:02] Production.INFO: neon service started
[2025-01-13 06:01:02] Production.INFO: neon service started
[2025-01-13 06:01:02] Production.INFO: ==8503== Releasing lock...
[2025-01-13 06:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:01:02] Production.INFO: ==8517== Lock acquired, processing the job...
[2025-01-13 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:01:02] Production.INFO: ==8519== Lock acquired, processing the job...
[2025-01-13 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:01:02] Production.INFO: ==8519== Releasing lock...
[2025-01-13 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:01:03] Production.INFO: ==8517== Releasing lock...
[2025-01-13 01:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:01:04] Production.INFO: ==8528== Lock acquired, processing the job...
[2025-01-13 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:01:04] Production.INFO: ==8532== Lock acquired, processing the job...
[2025-01-13 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:01:04] Production.INFO: Account Balance Start.
[2025-01-13 01:01:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:01:04] Production.INFO: 117
[2025-01-13 01:01:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:01:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:01:04] Production.INFO: ==8522== Lock acquired, processing the job...
[2025-01-13 01:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:01:04] Production.INFO: count ==21
[2025-01-13 01:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:01:04] Production.INFO: count ==21
[2025-01-13 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235434') start
[2025-01-13 01:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:01:04] Production.INFO: ==8524== Lock acquired, processing the job...
[2025-01-13 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:01:04] Production.INFO: ==8526== Lock acquired, processing the job...
[2025-01-13 01:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235434') end
[2025-01-13 01:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:01:04] Production.INFO: 1
[2025-01-13 01:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:01:04] Production.INFO: ==8532== Releasing lock...
[2025-01-13 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:01:04] Production.INFO: ==8530== Lock acquired, processing the job...
[2025-01-13 01:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:01:04] Production.INFO: Total Charge 0
[2025-01-13 01:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:01:04] Production.INFO: CreateAllLog End
[2025-01-13 01:01:04] Production.INFO: ==8524== Releasing lock...
[2025-01-13 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:01:04] Production.INFO: Account Balance End.
[2025-01-13 01:01:04] Production.ERROR: done
[2025-01-13 01:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:01:04] Production.INFO: ==8528== Releasing lock...
[2025-01-13 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:01:05] Production.ERROR: done
[2025-01-13 01:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:01:05
[end_date_ymd] => 2025-01-13 01:01:05
[RateCDR] => 1
)
[2025-01-13 01:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:01:05' and `end` < '2025-01-13 01:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:01:11] Production.ERROR: CronJobId end10
[2025-01-13 01:01:11] Production.INFO: ==8526== Releasing lock...
[2025-01-13 01:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:01:14] Production.INFO: call_cost start
[2025-01-13 01:01:14] Production.INFO: call_cost end
[2025-01-13 01:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:01:15] Production.INFO: ==8522== Releasing lock...
[2025-01-13 01:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:01:18] Production.INFO: count ==155
[2025-01-13 01:01:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:01:05 - End Time 2025-01-13 01:01:05
[2025-01-13 01:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235437', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235437', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235437', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235437', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:01:18] Production.INFO: ProcessCDR(1,14235437,1,1,2)
[2025-01-13 01:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235437', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235437', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:01:23] Production.INFO: ==8530== Releasing lock...
[2025-01-13 01:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:01:23] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:02:01] Production.INFO: ==8603== Lock acquired, processing the job...
[2025-01-13 06:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:02:01] Production.INFO: neon service started
[2025-01-13 06:02:01] Production.INFO: neon service started
[2025-01-13 06:02:01] Production.INFO: ==8603== Releasing lock...
[2025-01-13 06:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:02:02] Production.INFO: ==8607== Lock acquired, processing the job...
[2025-01-13 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:02:02] Production.INFO: ==8607== Releasing lock...
[2025-01-13 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:02:02] Production.INFO: ==8605== Lock acquired, processing the job...
[2025-01-13 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:02:02] Production.INFO: ==8605== Releasing lock...
[2025-01-13 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:02:03] Production.INFO: ==8616== Lock acquired, processing the job...
[2025-01-13 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:02:03] Production.INFO: ==8612== Lock acquired, processing the job...
[2025-01-13 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:02:03] Production.INFO: Account Balance Start.
[2025-01-13 01:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:02:03] Production.INFO: 117
[2025-01-13 01:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:02:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:02:03] Production.INFO: ==8614== Lock acquired, processing the job...
[2025-01-13 01:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:02:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:02:03] Production.INFO: ==8610== Lock acquired, processing the job...
[2025-01-13 01:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:02:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:02:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:02:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:02:03] Production.INFO: Total Charge 0
[2025-01-13 01:02:03] Production.INFO: CreateAllLog End
[2025-01-13 01:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:02:03] Production.INFO: ==8618== Lock acquired, processing the job...
[2025-01-13 01:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:02:03] Production.INFO: ==8612== Releasing lock...
[2025-01-13 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:02:03] Production.INFO: Account Balance End.
[2025-01-13 01:02:03] Production.INFO: ==8620== Lock acquired, processing the job...
[2025-01-13 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:02:03] Production.ERROR: CronJobId end 12
[2025-01-13 01:02:03] Production.INFO: ==8616== Releasing lock...
[2025-01-13 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:02:04] Production.INFO: count ==21
[2025-01-13 01:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:02:04] Production.INFO: count ==21
[2025-01-13 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235441') start
[2025-01-13 01:02:04] Production.ERROR: done
[2025-01-13 01:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235441') end
[2025-01-13 01:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:02:04] Production.INFO: 1
[2025-01-13 01:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:02:04] Production.INFO: ==8620== Releasing lock...
[2025-01-13 01:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:02:04] Production.ERROR: done
[2025-01-13 01:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:02:05
[end_date_ymd] => 2025-01-13 01:02:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:02:05' and `end` < '2025-01-13 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-13 01:02:10] Production.ERROR: CronJobId end10
[2025-01-13 01:02:10] Production.INFO: ==8614== Releasing lock...
[2025-01-13 01:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:02:13] Production.INFO: call_cost start
[2025-01-13 01:02:13] Production.INFO: call_cost end
[2025-01-13 01:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:02:14] Production.INFO: ==8610== Releasing lock...
[2025-01-13 01:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:02:17] Production.INFO: count ==155
[2025-01-13 01:02:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:02:05 - End Time 2025-01-13 01:02:05
[2025-01-13 01:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235442', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235442', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235442', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235442', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:02:17] Production.INFO: ProcessCDR(1,14235442,1,1,2)
[2025-01-13 01:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:02:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235442', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235442', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:02:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:02:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:02:20] Production.INFO: ==8618== Releasing lock...
[2025-01-13 01:02:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:02:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:03:02] Production.INFO: ==8681== Lock acquired, processing the job...
[2025-01-13 06:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:03:02] Production.INFO: neon service started
[2025-01-13 06:03:02] Production.INFO: neon service started
[2025-01-13 06:03:02] Production.INFO: ==8681== Releasing lock...
[2025-01-13 06:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:03:02] Production.INFO: ==8683== Lock acquired, processing the job...
[2025-01-13 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:03:02] Production.INFO: ==8685== Lock acquired, processing the job...
[2025-01-13 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:03:02] Production.INFO: ==8685== Releasing lock...
[2025-01-13 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:03:03] Production.INFO: ==8683== Releasing lock...
[2025-01-13 01:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:03:03] Production.INFO: ==8696== Lock acquired, processing the job...
[2025-01-13 01:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:03:03] Production.INFO: ==8698== Lock acquired, processing the job...
[2025-01-13 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:03:04] Production.INFO: ==8688== Lock acquired, processing the job...
[2025-01-13 01:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 01:03:04] Production.INFO: ==8690== Lock acquired, processing the job...
[2025-01-13 01:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:03:04] Production.INFO: count ==21
[2025-01-13 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-13 01:03:04] Production.INFO: ==8692== Lock acquired, processing the job...
[2025-01-13 01:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:03:04] Production.INFO: ==8694== Lock acquired, processing the job...
[2025-01-13 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:03:04] Production.INFO: count ==21
[2025-01-13 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235443') start
[2025-01-13 01:03:04] Production.INFO: Account Balance Start.
[2025-01-13 01:03:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:03:04] Production.INFO: 117
[2025-01-13 01:03:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235443') end
[2025-01-13 01:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:03:04] Production.INFO: 1
[2025-01-13 01:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:03:04] Production.INFO: ==8698== Releasing lock...
[2025-01-13 01:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:03:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:03:04] Production.ERROR: done
[2025-01-13 01:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:03:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:03:04] Production.INFO: ==8690== Releasing lock...
[2025-01-13 01:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:03:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:03:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:03:04] Production.INFO: Total Charge 0
[2025-01-13 01:03:04] Production.ERROR: done
[2025-01-13 01:03:04] Production.INFO: CreateAllLog End
[2025-01-13 01:03:04] Production.INFO: Account Balance End.
[2025-01-13 01:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:03:04] Production.INFO: ==8694== Releasing lock...
[2025-01-13 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:03:05
[end_date_ymd] => 2025-01-13 01:03:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:03:05' and `end` < '2025-01-13 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-13 01:03:10] Production.ERROR: CronJobId end10
[2025-01-13 01:03:10] Production.INFO: ==8692== Releasing lock...
[2025-01-13 01:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:03:12] Production.INFO: call_cost start
[2025-01-13 01:03:12] Production.INFO: call_cost end
[2025-01-13 01:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:03:13] Production.INFO: ==8688== Releasing lock...
[2025-01-13 01:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:03:18] Production.INFO: count ==155
[2025-01-13 01:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:03:05 - End Time 2025-01-13 01:03:05
[2025-01-13 01:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235447', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235447', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235447', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235447', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:03:18] Production.INFO: ProcessCDR(1,14235447,1,1,2)
[2025-01-13 01:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235447', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235447', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:03:21] Production.INFO: ==8696== Releasing lock...
[2025-01-13 01:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:03:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:04:01] Production.INFO: ==8762== Lock acquired, processing the job...
[2025-01-13 06:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:04:01] Production.INFO: neon service started
[2025-01-13 06:04:01] Production.INFO: neon service started
[2025-01-13 06:04:01] Production.INFO: ==8762== Releasing lock...
[2025-01-13 06:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:04:02] Production.INFO: ==8764== Lock acquired, processing the job...
[2025-01-13 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:04:02] Production.INFO: ==8766== Lock acquired, processing the job...
[2025-01-13 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:04:02] Production.INFO: ==8766== Releasing lock...
[2025-01-13 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:04:02] Production.INFO: ==8764== Releasing lock...
[2025-01-13 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:04:03] Production.INFO: ==8769== Lock acquired, processing the job...
[2025-01-13 01:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:04:03] Production.INFO: ==8775== Lock acquired, processing the job...
[2025-01-13 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:04:03] Production.INFO: ==8771== Lock acquired, processing the job...
[2025-01-13 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:04:03] Production.INFO: ==8773== Lock acquired, processing the job...
[2025-01-13 01:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:04:03] Production.INFO: ==8777== Lock acquired, processing the job...
[2025-01-13 01:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:04:03] Production.INFO: Account Balance Start.
[2025-01-13 01:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:04:03] Production.INFO: ==8779== Lock acquired, processing the job...
[2025-01-13 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:04:03] Production.INFO: 117
[2025-01-13 01:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:04:03] Production.INFO: count ==21
[2025-01-13 01:04:03] Production.INFO: ==8771== Releasing lock...
[2025-01-13 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:04:03] Production.INFO: count ==21
[2025-01-13 01:04:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235451') start
[2025-01-13 01:04:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:04:04] Production.ERROR: done
[2025-01-13 01:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:04:04] Production.INFO: Total Charge 0
[2025-01-13 01:04:04] Production.INFO: CreateAllLog End
[2025-01-13 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235451') end
[2025-01-13 01:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:04:04] Production.INFO: 1
[2025-01-13 01:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:04:04] Production.ERROR: done
[2025-01-13 01:04:04] Production.INFO: ==8779== Releasing lock...
[2025-01-13 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:04:04] Production.INFO: Account Balance End.
[2025-01-13 01:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:04:04] Production.INFO: ==8775== Releasing lock...
[2025-01-13 01:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:04:05
[end_date_ymd] => 2025-01-13 01:04:05
[RateCDR] => 1
)
[2025-01-13 01:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:04:05' and `end` < '2025-01-13 01:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:04:10] Production.ERROR: CronJobId end10
[2025-01-13 01:04:10] Production.INFO: ==8773== Releasing lock...
[2025-01-13 01:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:04:13] Production.INFO: call_cost start
[2025-01-13 01:04:13] Production.INFO: call_cost end
[2025-01-13 01:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:04:14] Production.INFO: ==8769== Releasing lock...
[2025-01-13 01:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:04:17] Production.INFO: count ==155
[2025-01-13 01:04:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:04:05 - End Time 2025-01-13 01:04:05
[2025-01-13 01:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235452', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235452', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235452', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235452', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:04:17] Production.INFO: ProcessCDR(1,14235452,1,1,2)
[2025-01-13 01:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235452', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235452', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:04:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:04:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:04:20] Production.INFO: ==8777== Releasing lock...
[2025-01-13 01:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:04:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:05:01] Production.INFO: ==8852== Lock acquired, processing the job...
[2025-01-13 06:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:05:01] Production.INFO: neon service started
[2025-01-13 06:05:01] Production.INFO: neon service started
[2025-01-13 06:05:01] Production.INFO: ==8852== Releasing lock...
[2025-01-13 06:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:05:02] Production.INFO: ==8854== Lock acquired, processing the job...
[2025-01-13 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:05:02] Production.INFO: ==8854== Releasing lock...
[2025-01-13 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:05:02] Production.INFO: ==8856== Lock acquired, processing the job...
[2025-01-13 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:05:02] Production.INFO: ==8856== Releasing lock...
[2025-01-13 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:05:03] Production.INFO: ==8859== Lock acquired, processing the job...
[2025-01-13 01:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:05:03] Production.INFO: ==8861== Lock acquired, processing the job...
[2025-01-13 01:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:05:03] Production.INFO: ==8867== Lock acquired, processing the job...
[2025-01-13 01:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:05:03] Production.INFO: ==8861== Releasing lock...
[2025-01-13 01:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:05:03] Production.INFO: ==8863== Lock acquired, processing the job...
[2025-01-13 01:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:05:03] Production.INFO: ==8865== Lock acquired, processing the job...
[2025-01-13 01:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:05:03] Production.INFO: ==8869== Lock acquired, processing the job...
[2025-01-13 01:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:05:03] Production.ERROR: done
[2025-01-13 01:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:05:03] Production.INFO: Account Balance Start.
[2025-01-13 01:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:05:03] Production.INFO: 117
[2025-01-13 01:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:05:04] Production.INFO: count ==21
[2025-01-13 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:05:04] Production.INFO: count ==21
[2025-01-13 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235455') start
[2025-01-13 01:05:04] Production.ERROR: done
[2025-01-13 01:05:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:05:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:05:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235455') end
[2025-01-13 01:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:05:04] Production.INFO: 1
[2025-01-13 01:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:05:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:05:04] Production.INFO: ==8869== Releasing lock...
[2025-01-13 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:05:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:05:04] Production.INFO: Total Charge 0
[2025-01-13 01:05:04] Production.INFO: CreateAllLog End
[2025-01-13 01:05:04] Production.INFO: Account Balance End.
[2025-01-13 01:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:05:04] Production.INFO: ==8865== Releasing lock...
[2025-01-13 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:05:05
[end_date_ymd] => 2025-01-13 01:05:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:05:05' and `end` < '2025-01-13 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-13 01:05:11] Production.ERROR: CronJobId end10
[2025-01-13 01:05:11] Production.INFO: ==8863== Releasing lock...
[2025-01-13 01:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:05:13] Production.INFO: call_cost start
[2025-01-13 01:05:13] Production.INFO: call_cost end
[2025-01-13 01:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:05:14] Production.INFO: ==8859== Releasing lock...
[2025-01-13 01:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:05:17] Production.INFO: count ==154
[2025-01-13 01:05:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:05:05 - End Time 2025-01-13 01:05:05
[2025-01-13 01:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235457', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235457', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235457', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235457', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:05:17] Production.INFO: ProcessCDR(1,14235457,1,1,2)
[2025-01-13 01:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235457', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235457', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:05:20] Production.INFO: ==8867== Releasing lock...
[2025-01-13 01:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:05:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:06:01] Production.INFO: ==8942== Lock acquired, processing the job...
[2025-01-13 06:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:06:01] Production.INFO: neon service started
[2025-01-13 06:06:01] Production.INFO: neon service started
[2025-01-13 06:06:01] Production.INFO: ==8942== Releasing lock...
[2025-01-13 06:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:06:01] Production.INFO: ==8944== Lock acquired, processing the job...
[2025-01-13 01:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:06:02] Production.INFO: ==8944== Releasing lock...
[2025-01-13 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:06:02] Production.INFO: ==8946== Lock acquired, processing the job...
[2025-01-13 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:06:02] Production.INFO: ==8946== Releasing lock...
[2025-01-13 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:06:02] Production.INFO: ==8956== Lock acquired, processing the job...
[2025-01-13 01:06:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:06:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:06:02] Production.INFO: ==8948== Lock acquired, processing the job...
[2025-01-13 01:06:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:06:03] Production.INFO: ==8959== Lock acquired, processing the job...
[2025-01-13 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:06:03] Production.ERROR: done
[2025-01-13 01:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:06:03] Production.INFO: ==8950== Lock acquired, processing the job...
[2025-01-13 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:06:03] Production.INFO: ==8954== Lock acquired, processing the job...
[2025-01-13 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 01:06:03] Production.INFO: count ==21
[2025-01-13 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-13 01:06:03] Production.INFO: count ==21
[2025-01-13 01:06:03] Production.INFO: ==8952== Lock acquired, processing the job...
[2025-01-13 01:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235459') start
[2025-01-13 01:06:03] Production.INFO: Account Balance Start.
[2025-01-13 01:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:06:03] Production.INFO: 117
[2025-01-13 01:06:03] Production.ERROR: done
[2025-01-13 01:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235459') end
[2025-01-13 01:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:06:03] Production.INFO: 1
[2025-01-13 01:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:06:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:06:03] Production.INFO: ==8959== Releasing lock...
[2025-01-13 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:06:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:06:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:06:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:06:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:06:03] Production.INFO: Total Charge 0
[2025-01-13 01:06:03] Production.INFO: CreateAllLog End
[2025-01-13 01:06:03] Production.INFO: ==8950== Releasing lock...
[2025-01-13 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:06:03] Production.INFO: Account Balance End.
[2025-01-13 01:06:03] Production.ERROR: CronJobId end 12
[2025-01-13 01:06:03] Production.INFO: ==8954== Releasing lock...
[2025-01-13 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:06:04
[end_date_ymd] => 2025-01-13 01:06:04
[RateCDR] => 1
)
[2025-01-13 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-12 22:06:04' and `end` < '2025-01-13 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-13 01:06:09] Production.ERROR: CronJobId end10
[2025-01-13 01:06:09] Production.INFO: ==8952== Releasing lock...
[2025-01-13 01:06:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:06:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:06:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:06:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:06:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:06:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:06:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:06:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:06:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:06:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:06:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:06:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:06:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:06:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:06:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:06:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:06:12] Production.INFO: call_cost start
[2025-01-13 01:06:12] Production.INFO: call_cost end
[2025-01-13 01:06:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:06:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:06:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:06:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:06:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:06:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:06:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:06:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:06:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:06:12] Production.INFO: ==8948== Releasing lock...
[2025-01-13 01:06:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:06:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:06:16] Production.INFO: count ==153
[2025-01-13 01:06:16] Production.ERROR: pbx CDR StartTime 2025-01-12 22:06:04 - End Time 2025-01-13 01:06:04
[2025-01-13 01:06:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:06:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235461', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235461', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235461', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235461', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:06:17] Production.INFO: ProcessCDR(1,14235461,1,1,2)
[2025-01-13 01:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:06:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:06:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:06:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:06:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235461', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235461', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:06:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:06:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:06:20] Production.INFO: ==8956== Releasing lock...
[2025-01-13 01:06:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:06:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:07:01] Production.INFO: ==9030== Lock acquired, processing the job...
[2025-01-13 06:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:07:01] Production.INFO: neon service started
[2025-01-13 06:07:01] Production.INFO: neon service started
[2025-01-13 06:07:01] Production.INFO: ==9030== Releasing lock...
[2025-01-13 06:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:07:02] Production.INFO: ==9034== Lock acquired, processing the job...
[2025-01-13 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:07:02] Production.INFO: ==9034== Releasing lock...
[2025-01-13 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:07:02] Production.INFO: ==9032== Lock acquired, processing the job...
[2025-01-13 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:07:02] Production.INFO: ==9032== Releasing lock...
[2025-01-13 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:07:03] Production.INFO: ==9037== Lock acquired, processing the job...
[2025-01-13 01:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:07:03] Production.INFO: ==9041== Lock acquired, processing the job...
[2025-01-13 01:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:07:03] Production.INFO: ==9045== Lock acquired, processing the job...
[2025-01-13 01:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:07:03] Production.INFO: ==9039== Lock acquired, processing the job...
[2025-01-13 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:07:03] Production.INFO: ==9043== Lock acquired, processing the job...
[2025-01-13 01:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:07:03] Production.ERROR: done
[2025-01-13 01:07:03] Production.INFO: ==9047== Lock acquired, processing the job...
[2025-01-13 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:07:03] Production.INFO: Account Balance Start.
[2025-01-13 01:07:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:07:03] Production.INFO: 117
[2025-01-13 01:07:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:07:03] Production.ERROR: done
[2025-01-13 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-13 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:07:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:07:03] Production.INFO: count ==21
[2025-01-13 01:07:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:07:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:07:03] Production.INFO: count ==21
[2025-01-13 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235466') start
[2025-01-13 01:07:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:07:03] Production.INFO: ==9039== Releasing lock...
[2025-01-13 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:07:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:07:03] Production.INFO: Total Charge 0
[2025-01-13 01:07:03] Production.INFO: CreateAllLog End
[2025-01-13 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235466') end
[2025-01-13 01:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:07:03] Production.INFO: 1
[2025-01-13 01:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:07:04] Production.INFO: ==9047== Releasing lock...
[2025-01-13 01:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:07:04] Production.INFO: Account Balance End.
[2025-01-13 01:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:07:04] Production.INFO: ==9043== Releasing lock...
[2025-01-13 01:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:07:04
[end_date_ymd] => 2025-01-13 01:07:04
[RateCDR] => 1
)
[2025-01-13 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-12 22:07:04' and `end` < '2025-01-13 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-13 01:07:11] Production.ERROR: CronJobId end10
[2025-01-13 01:07:11] Production.INFO: ==9041== Releasing lock...
[2025-01-13 01:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:07:12] Production.INFO: call_cost start
[2025-01-13 01:07:12] Production.INFO: call_cost end
[2025-01-13 01:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:07:13] Production.INFO: ==9037== Releasing lock...
[2025-01-13 01:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:07:16] Production.INFO: count ==149
[2025-01-13 01:07:16] Production.ERROR: pbx CDR StartTime 2025-01-12 22:07:04 - End Time 2025-01-13 01:07:04
[2025-01-13 01:07:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235467', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235467', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235467', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235467', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:07:16] Production.INFO: ProcessCDR(1,14235467,1,1,2)
[2025-01-13 01:07:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:07:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:07:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:07:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:07:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235467', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:07:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235467', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:07:19] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:07:19] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:07:19] Production.INFO: ==9045== Releasing lock...
[2025-01-13 01:07:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:07:19] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:08:02] Production.INFO: ==9116== Lock acquired, processing the job...
[2025-01-13 06:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:08:02] Production.INFO: neon service started
[2025-01-13 06:08:02] Production.INFO: neon service started
[2025-01-13 06:08:02] Production.INFO: ==9116== Releasing lock...
[2025-01-13 06:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:08:02] Production.INFO: ==9118== Lock acquired, processing the job...
[2025-01-13 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:08:02] Production.INFO: ==9120== Lock acquired, processing the job...
[2025-01-13 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:08:02] Production.INFO: ==9120== Releasing lock...
[2025-01-13 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:08:02] Production.INFO: ==9118== Releasing lock...
[2025-01-13 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:08:03] Production.INFO: ==9122== Lock acquired, processing the job...
[2025-01-13 01:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:08:03] Production.INFO: ==9124== Lock acquired, processing the job...
[2025-01-13 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:08:03] Production.INFO: ==9128== Lock acquired, processing the job...
[2025-01-13 01:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:08:03] Production.INFO: Account Balance Start.
[2025-01-13 01:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:08:03] Production.INFO: 117
[2025-01-13 01:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:08:03] Production.INFO: ==9124== Releasing lock...
[2025-01-13 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:08:03] Production.INFO: ==9126== Lock acquired, processing the job...
[2025-01-13 01:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:08:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:08:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:08:03] Production.INFO: ==9130== Lock acquired, processing the job...
[2025-01-13 01:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:08:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:08:03] Production.INFO: Total Charge 0
[2025-01-13 01:08:04] Production.INFO: CreateAllLog End
[2025-01-13 01:08:04] Production.INFO: ==9133== Lock acquired, processing the job...
[2025-01-13 01:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01: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-13 01:08:04] Production.INFO: count ==21
[2025-01-13 01:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:08:04] Production.INFO: count ==21
[2025-01-13 01:08:04] Production.INFO: Account Balance End.
[2025-01-13 01:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235471') start
[2025-01-13 01:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:08:04] Production.INFO: ==9128== Releasing lock...
[2025-01-13 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:08:04] Production.ERROR: done
[2025-01-13 01:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235471') end
[2025-01-13 01:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:08:04] Production.INFO: 1
[2025-01-13 01:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:08:04] Production.INFO: ==9133== Releasing lock...
[2025-01-13 01:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:08:04] Production.ERROR: done
[2025-01-13 01:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:08:05
[end_date_ymd] => 2025-01-13 01:08:05
[RateCDR] => 1
)
[2025-01-13 01:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:08:05' and `end` < '2025-01-13 01:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:08:11] Production.ERROR: CronJobId end10
[2025-01-13 01:08:11] Production.INFO: ==9126== Releasing lock...
[2025-01-13 01:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:08:12] Production.INFO: call_cost start
[2025-01-13 01:08:12] Production.INFO: call_cost end
[2025-01-13 01:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:08:13] Production.INFO: ==9122== Releasing lock...
[2025-01-13 01:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:08:17] Production.INFO: count ==149
[2025-01-13 01:08:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:08:05 - End Time 2025-01-13 01:08:05
[2025-01-13 01:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235472', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235472', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235472', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235472', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:08:17] Production.INFO: ProcessCDR(1,14235472,1,1,2)
[2025-01-13 01:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235472', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235472', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:08:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:08:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:08:20] Production.INFO: ==9130== Releasing lock...
[2025-01-13 01:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:08:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:09:01] Production.INFO: ==9205== Lock acquired, processing the job...
[2025-01-13 06:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:09:01] Production.INFO: neon service started
[2025-01-13 06:09:01] Production.INFO: neon service started
[2025-01-13 06:09:01] Production.INFO: ==9205== Releasing lock...
[2025-01-13 06:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:09:01] Production.INFO: ==9207== Lock acquired, processing the job...
[2025-01-13 01:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:09:02] Production.INFO: ==9207== Releasing lock...
[2025-01-13 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:09:02] Production.INFO: ==9209== Lock acquired, processing the job...
[2025-01-13 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:09:02] Production.INFO: ==9209== Releasing lock...
[2025-01-13 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:09:03] Production.INFO: ==9215== Lock acquired, processing the job...
[2025-01-13 01:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:09:03] Production.INFO: ==9211== Lock acquired, processing the job...
[2025-01-13 01:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:09:03] Production.INFO: ==9221== Lock acquired, processing the job...
[2025-01-13 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:09:03] Production.INFO: ==9213== Lock acquired, processing the job...
[2025-01-13 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 01:09:03] Production.INFO: ==9217== Lock acquired, processing the job...
[2025-01-13 01:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:09:03] Production.INFO: count ==21
[2025-01-13 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-13 01:09:03] Production.INFO: count ==21
[2025-01-13 01:09:03] Production.INFO: ==9219== Lock acquired, processing the job...
[2025-01-13 01:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235473') start
[2025-01-13 01:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:09:03] Production.INFO: Account Balance Start.
[2025-01-13 01:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:09:03] Production.INFO: 117
[2025-01-13 01:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:09:03] Production.INFO: ==9213== Releasing lock...
[2025-01-13 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235473') end
[2025-01-13 01:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:09:03] Production.INFO: 1
[2025-01-13 01:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:09:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:09:03] Production.INFO: ==9221== Releasing lock...
[2025-01-13 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:09:03] Production.ERROR: done
[2025-01-13 01:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:09:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:09:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:09:03] Production.INFO: Total Charge 0
[2025-01-13 01:09:03] Production.INFO: CreateAllLog End
[2025-01-13 01:09:03] Production.ERROR: done
[2025-01-13 01:09:03] Production.INFO: Account Balance End.
[2025-01-13 01:09:03] Production.ERROR: CronJobId end 12
[2025-01-13 01:09:03] Production.INFO: ==9217== Releasing lock...
[2025-01-13 01:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:09:04
[end_date_ymd] => 2025-01-13 01:09:04
[RateCDR] => 1
)
[2025-01-13 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-12 22:09:04' and `end` < '2025-01-13 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-13 01:09:10] Production.ERROR: CronJobId end10
[2025-01-13 01:09:10] Production.INFO: ==9215== Releasing lock...
[2025-01-13 01:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:09:12] Production.INFO: call_cost start
[2025-01-13 01:09:12] Production.INFO: call_cost end
[2025-01-13 01:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:09:13] Production.INFO: ==9211== Releasing lock...
[2025-01-13 01:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:09:18] Production.INFO: count ==146
[2025-01-13 01:09:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:09:04 - End Time 2025-01-13 01:09:04
[2025-01-13 01:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235477', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235477', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235477', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235477', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:09:18] Production.INFO: ProcessCDR(1,14235477,1,1,2)
[2025-01-13 01:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235477', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235477', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:09:21] Production.INFO: ==9219== Releasing lock...
[2025-01-13 01:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:09:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:10:01] Production.INFO: ==9295== Lock acquired, processing the job...
[2025-01-13 06:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:10:01] Production.INFO: neon service started
[2025-01-13 06:10:01] Production.INFO: neon service started
[2025-01-13 06:10:01] Production.INFO: ==9295== Releasing lock...
[2025-01-13 06:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:10:02] Production.INFO: ==9299== Lock acquired, processing the job...
[2025-01-13 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:10:02] Production.INFO: ==9299== Releasing lock...
[2025-01-13 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:10:02] Production.INFO: ==9297== Lock acquired, processing the job...
[2025-01-13 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:10:02] Production.INFO: ==9297== Releasing lock...
[2025-01-13 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:10:03] Production.INFO: ==9306== Lock acquired, processing the job...
[2025-01-13 01:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:10:03] Production.INFO: ==9310== Lock acquired, processing the job...
[2025-01-13 01:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:10:03] Production.INFO: ==9304== Lock acquired, processing the job...
[2025-01-13 01:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:10:04] Production.INFO: ==9316== Lock acquired, processing the job...
[2025-01-13 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:10:04] Production.INFO: Account Balance Start.
[2025-01-13 01:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:10:04] Production.INFO: 117
[2025-01-13 01:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:10:04] Production.INFO: ==9302== Lock acquired, processing the job...
[2025-01-13 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 01:10:04] Production.ERROR: CronJob PID - 9304
[2025-01-13 01:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 01:10:04] Production.ERROR: CronJob ID - 5
[2025-01-13 01:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 01:10:00
[2025-01-13 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 01:10:04] Production.ERROR: CronJob PID - 9310
[2025-01-13 01:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 01:10:04] Production.ERROR: CronJob ID - 12
[2025-01-13 01:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 01:10:00
[2025-01-13 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 01:10:04] Production.ERROR: CronJob PID - 9316
[2025-01-13 01:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 01:10:04] Production.ERROR: CronJob ID - 19
[2025-01-13 01:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 01:10:00
[2025-01-13 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 01:10:04] Production.INFO: ==9306== Releasing lock...
[2025-01-13 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:10:04] Production.INFO: ==9308== Lock acquired, processing the job...
[2025-01-13 01:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 01:10:04] Production.INFO: ==9302== Releasing lock...
[2025-01-13 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 01:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 01:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:10:04] Production.INFO: count ==21
[2025-01-13 01:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:10:04] Production.INFO: count ==21
[2025-01-13 01:10:04] Production.INFO: ==9314== Lock acquired, processing the job...
[2025-01-13 01:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 01:10:04] Production.INFO: ==9312== Lock acquired, processing the job...
[2025-01-13 01:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235481') start
[2025-01-13 01:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:10:04] Production.INFO: Total Charge 0
[2025-01-13 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235481') end
[2025-01-13 01:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:10:04] Production.INFO: 1
[2025-01-13 01:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:10:04] Production.INFO: CreateAllLog End
[2025-01-13 01:10:04] Production.INFO: ==9316== Releasing lock...
[2025-01-13 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:10:04] Production.ERROR: done
[2025-01-13 01:10:04] Production.ERROR: done
[2025-01-13 01:10:04] Production.INFO: Account Balance End.
[2025-01-13 01:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 01:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235482', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 01:10:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:10:04] Production.INFO: ==9310== Releasing lock...
[2025-01-13 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:10:04] Production.ERROR: done
[2025-01-13 01:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:10:05
[end_date_ymd] => 2025-01-13 01:10:05
[RateCDR] => 1
)
[2025-01-13 01:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:10:05' and `end` < '2025-01-13 01:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235482', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 01:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 01:10:09] Production.INFO: ProcessCDR(1,14235482,1,1,2)
[2025-01-13 01:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235482,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235482,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:10:09] Production.INFO: ==9314== Releasing lock...
[2025-01-13 01:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 01:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 01:10:13] Production.ERROR: CronJobId end10
[2025-01-13 01:10:13] Production.INFO: ==9308== Releasing lock...
[2025-01-13 01:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:10:14] Production.INFO: call_cost start
[2025-01-13 01:10:14] Production.INFO: call_cost end
[2025-01-13 01:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:10:15] Production.INFO: ==9304== Releasing lock...
[2025-01-13 01:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:10:18] Production.INFO: count ==151
[2025-01-13 01:10:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:10:05 - End Time 2025-01-13 01:10:05
[2025-01-13 01:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235483', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235483', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235483', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235483', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:10:18] Production.INFO: ProcessCDR(1,14235483,1,1,2)
[2025-01-13 01:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235483', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235483', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:10:21] Production.INFO: ==9312== Releasing lock...
[2025-01-13 01:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:10:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:11:01] Production.INFO: ==9389== Lock acquired, processing the job...
[2025-01-13 06:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:11:01] Production.INFO: neon service started
[2025-01-13 06:11:01] Production.INFO: neon service started
[2025-01-13 06:11:01] Production.INFO: ==9389== Releasing lock...
[2025-01-13 06:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:11:01] Production.INFO: ==9393== Lock acquired, processing the job...
[2025-01-13 06:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:11:01] Production.INFO: ==9393== Releasing lock...
[2025-01-13 06:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:11:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:11:01] Production.INFO: ==9391== Lock acquired, processing the job...
[2025-01-13 01:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:11:02] Production.INFO: ==9391== Releasing lock...
[2025-01-13 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:11:02] Production.INFO: ==9397== Lock acquired, processing the job...
[2025-01-13 01:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:11:03] Production.INFO: ==9401== Lock acquired, processing the job...
[2025-01-13 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:11:03] Production.INFO: Account Balance Start.
[2025-01-13 01:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:11:03] Production.INFO: 117
[2025-01-13 01:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:11:03] Production.INFO: ==9397== Releasing lock...
[2025-01-13 01:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:11:03] Production.INFO: ==9395== Lock acquired, processing the job...
[2025-01-13 01:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:11:03] Production.INFO: ==9399== Lock acquired, processing the job...
[2025-01-13 01:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:11:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:11:03] Production.INFO: ==9404== Lock acquired, processing the job...
[2025-01-13 01:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:11:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:11:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:11:03] Production.INFO: ==9406== Lock acquired, processing the job...
[2025-01-13 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:11:03] Production.INFO: Total Charge 0
[2025-01-13 01:11:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 01:11:03] Production.INFO: count ==21
[2025-01-13 01:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:11:03] Production.INFO: count ==21
[2025-01-13 01:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235487') start
[2025-01-13 01:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235487') end
[2025-01-13 01:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:11:03] Production.INFO: 1
[2025-01-13 01:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:11:03] Production.ERROR: done
[2025-01-13 01:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:11:03] Production.INFO: ==9406== Releasing lock...
[2025-01-13 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:11:03] Production.INFO: Account Balance End.
[2025-01-13 01:11:03] Production.ERROR: CronJobId end 12
[2025-01-13 01:11:03] Production.INFO: ==9401== Releasing lock...
[2025-01-13 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:11:04] Production.ERROR: done
[2025-01-13 01:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:11:04
[end_date_ymd] => 2025-01-13 01:11:04
[RateCDR] => 1
)
[2025-01-13 01:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:11:04' and `end` < '2025-01-13 01: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-13 01:11:10] Production.ERROR: CronJobId end10
[2025-01-13 01:11:10] Production.INFO: ==9399== Releasing lock...
[2025-01-13 01:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:11:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:11:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:11:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:11:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:11:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:11:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:11:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:11:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:11:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:11:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:11:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:11:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:11:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:11:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:11:11] Production.INFO: call_cost start
[2025-01-13 01:11:11] Production.INFO: call_cost end
[2025-01-13 01:11:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:11:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:11:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:11:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:11:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:11:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:11:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:11:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:11:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:11:12] Production.INFO: ==9395== Releasing lock...
[2025-01-13 01:11:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:11:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:11:19] Production.INFO: count ==169
[2025-01-13 01:11:19] Production.ERROR: pbx CDR StartTime 2025-01-12 22:11:04 - End Time 2025-01-13 01:11:04
[2025-01-13 01:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235488', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235488', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235488', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235488', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:11:19] Production.INFO: ProcessCDR(1,14235488,1,1,2)
[2025-01-13 01:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235488', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235488', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:11:22] Production.INFO: ==9404== Releasing lock...
[2025-01-13 01:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:11:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:12:01] Production.INFO: ==9513== Lock acquired, processing the job...
[2025-01-13 06:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:12:01] Production.INFO: neon service started
[2025-01-13 06:12:01] Production.INFO: neon service started
[2025-01-13 06:12:01] Production.INFO: ==9513== Releasing lock...
[2025-01-13 06:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:12:02] Production.INFO: ==9515== Lock acquired, processing the job...
[2025-01-13 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:12:02] Production.INFO: ==9517== Lock acquired, processing the job...
[2025-01-13 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:12:02] Production.INFO: ==9517== Releasing lock...
[2025-01-13 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:12:02] Production.INFO: ==9515== Releasing lock...
[2025-01-13 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:12:03] Production.INFO: ==9522== Lock acquired, processing the job...
[2025-01-13 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:12:03] Production.INFO: ==9530== Lock acquired, processing the job...
[2025-01-13 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:12:04] Production.INFO: ==9520== Lock acquired, processing the job...
[2025-01-13 01:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 01:12:04] Production.INFO: ==9524== Lock acquired, processing the job...
[2025-01-13 01:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:12:04] Production.INFO: ==9526== Lock acquired, processing the job...
[2025-01-13 01:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:12:04] Production.INFO: count ==21
[2025-01-13 01:12:04] Production.INFO: ==9528== Lock acquired, processing the job...
[2025-01-13 01:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 01:12:04] Production.INFO: count ==21
[2025-01-13 01:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235490') start
[2025-01-13 01:12:04] Production.INFO: Account Balance Start.
[2025-01-13 01:12:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:12:04] Production.INFO: 117
[2025-01-13 01:12:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:12:04] Production.INFO: ==9522== Releasing lock...
[2025-01-13 01:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:12:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235490') end
[2025-01-13 01:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:12:04] Production.INFO: 1
[2025-01-13 01:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:12:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:12:04] Production.INFO: ==9530== Releasing lock...
[2025-01-13 01:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:12:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:12:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:12:04] Production.ERROR: done
[2025-01-13 01:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:12:04] Production.INFO: Total Charge 0
[2025-01-13 01:12:04] Production.INFO: CreateAllLog End
[2025-01-13 01:12:04] Production.ERROR: done
[2025-01-13 01:12:04] Production.INFO: Account Balance End.
[2025-01-13 01:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:12:04] Production.INFO: ==9526== Releasing lock...
[2025-01-13 01:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:12:05
[end_date_ymd] => 2025-01-13 01:12:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:12:05' and `end` < '2025-01-13 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-13 01:12:11] Production.ERROR: CronJobId end10
[2025-01-13 01:12:11] Production.INFO: ==9524== Releasing lock...
[2025-01-13 01:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:12:14] Production.INFO: call_cost start
[2025-01-13 01:12:14] Production.INFO: call_cost end
[2025-01-13 01:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:12:14] Production.INFO: ==9520== Releasing lock...
[2025-01-13 01:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:12:18] Production.INFO: count ==169
[2025-01-13 01:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:12:05 - End Time 2025-01-13 01:12:05
[2025-01-13 01:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235493', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235493', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235493', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235493', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:12:18] Production.INFO: ProcessCDR(1,14235493,1,1,2)
[2025-01-13 01:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235493', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235493', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:12:21] Production.INFO: ==9528== Releasing lock...
[2025-01-13 01:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:12:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:13:02] Production.INFO: ==9602== Lock acquired, processing the job...
[2025-01-13 06:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:13:02] Production.INFO: neon service started
[2025-01-13 06:13:02] Production.INFO: neon service started
[2025-01-13 06:13:02] Production.INFO: ==9602== Releasing lock...
[2025-01-13 06:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:13:02] Production.INFO: ==9606== Lock acquired, processing the job...
[2025-01-13 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:13:02] Production.INFO: ==9606== Releasing lock...
[2025-01-13 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:13:02] Production.INFO: ==9604== Lock acquired, processing the job...
[2025-01-13 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:13:03] Production.INFO: ==9604== Releasing lock...
[2025-01-13 01:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:13:03] Production.INFO: ==9608== Lock acquired, processing the job...
[2025-01-13 01:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:13:04] Production.INFO: ==9610== Lock acquired, processing the job...
[2025-01-13 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:13:04] Production.INFO: ==9617== Lock acquired, processing the job...
[2025-01-13 01:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:13:04] Production.INFO: ==9612== Lock acquired, processing the job...
[2025-01-13 01:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:13:04] Production.INFO: ==9614== Lock acquired, processing the job...
[2025-01-13 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:13:04] Production.INFO: ==9619== Lock acquired, processing the job...
[2025-01-13 01:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:13:04] Production.INFO: Account Balance Start.
[2025-01-13 01:13:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:13:04] Production.INFO: 117
[2025-01-13 01:13:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:13:04] Production.ERROR: done
[2025-01-13 01:13:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:13:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:13:04] Production.INFO: count ==21
[2025-01-13 01:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:13:04] Production.INFO: count ==21
[2025-01-13 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235497') start
[2025-01-13 01:13:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:13:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:13:04] Production.ERROR: done
[2025-01-13 01:13:04] Production.INFO: ==9610== Releasing lock...
[2025-01-13 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:13:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235497') end
[2025-01-13 01:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:13:04] Production.INFO: 1
[2025-01-13 01:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:13:04] Production.INFO: Total Charge 0
[2025-01-13 01:13:04] Production.INFO: CreateAllLog End
[2025-01-13 01:13:04] Production.INFO: ==9619== Releasing lock...
[2025-01-13 01:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:13:05] Production.INFO: Account Balance End.
[2025-01-13 01:13:05] Production.ERROR: CronJobId end 12
[2025-01-13 01:13:05] Production.INFO: ==9614== Releasing lock...
[2025-01-13 01:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:13:05
[end_date_ymd] => 2025-01-13 01:13:05
[RateCDR] => 1
)
[2025-01-13 01:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:13:05' and `end` < '2025-01-13 01:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:13:11] Production.ERROR: CronJobId end10
[2025-01-13 01:13:11] Production.INFO: ==9612== Releasing lock...
[2025-01-13 01:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:13:13] Production.INFO: call_cost start
[2025-01-13 01:13:13] Production.INFO: call_cost end
[2025-01-13 01:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:13:14] Production.INFO: ==9608== Releasing lock...
[2025-01-13 01:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:13:18] Production.INFO: count ==169
[2025-01-13 01:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:13:05 - End Time 2025-01-13 01:13:05
[2025-01-13 01:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235498', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235498', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235498', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235498', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:13:18] Production.INFO: ProcessCDR(1,14235498,1,1,2)
[2025-01-13 01:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235498', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235498', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:13:21] Production.INFO: ==9617== Releasing lock...
[2025-01-13 01:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:13:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:14:01] Production.INFO: ==9685== Lock acquired, processing the job...
[2025-01-13 06:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:14:01] Production.INFO: neon service started
[2025-01-13 06:14:01] Production.INFO: neon service started
[2025-01-13 06:14:01] Production.INFO: ==9685== Releasing lock...
[2025-01-13 06:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:14:02] Production.INFO: ==9689== Lock acquired, processing the job...
[2025-01-13 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:14:02] Production.INFO: ==9689== Releasing lock...
[2025-01-13 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:14:02] Production.INFO: ==9687== Lock acquired, processing the job...
[2025-01-13 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:14:02] Production.INFO: ==9687== Releasing lock...
[2025-01-13 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:14:03] Production.INFO: ==9696== Lock acquired, processing the job...
[2025-01-13 01:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:14:03] Production.INFO: ==9698== Lock acquired, processing the job...
[2025-01-13 01:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:14:03] Production.INFO: Account Balance Start.
[2025-01-13 01:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:14:03] Production.INFO: 117
[2025-01-13 01:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:14:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:14:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:14:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:14:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:14:03] Production.INFO: ==9694== Lock acquired, processing the job...
[2025-01-13 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:14:03] Production.INFO: ==9692== Lock acquired, processing the job...
[2025-01-13 01:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:14:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:14:03] Production.INFO: Total Charge 0
[2025-01-13 01:14:03] Production.INFO: CreateAllLog End
[2025-01-13 01:14:03] Production.INFO: ==9700== Lock acquired, processing the job...
[2025-01-13 01:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:14:03] Production.INFO: ==9702== Lock acquired, processing the job...
[2025-01-13 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:14:03] Production.INFO: Account Balance End.
[2025-01-13 01:14:03] Production.INFO: count ==21
[2025-01-13 01:14:03] Production.ERROR: done
[2025-01-13 01:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:14:03] Production.INFO: ==9694== Releasing lock...
[2025-01-13 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:14:03] Production.ERROR: CronJobId end 12
[2025-01-13 01:14:03] Production.INFO: ==9698== Releasing lock...
[2025-01-13 01:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:14:03] Production.INFO: count ==21
[2025-01-13 01:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235502') start
[2025-01-13 01:14:04] Production.ERROR: done
[2025-01-13 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235502') end
[2025-01-13 01:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:14:04] Production.INFO: 1
[2025-01-13 01:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:14:04] Production.INFO: ==9702== Releasing lock...
[2025-01-13 01:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:14:04
[end_date_ymd] => 2025-01-13 01:14:04
[RateCDR] => 1
)
[2025-01-13 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-12 22:14:04' and `end` < '2025-01-13 01:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:14:11] Production.ERROR: CronJobId end10
[2025-01-13 01:14:11] Production.INFO: ==9696== Releasing lock...
[2025-01-13 01:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:14:14] Production.INFO: call_cost start
[2025-01-13 01:14:14] Production.INFO: call_cost end
[2025-01-13 01:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:14:14] Production.INFO: ==9692== Releasing lock...
[2025-01-13 01:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:14:17] Production.INFO: count ==169
[2025-01-13 01:14:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:14:04 - End Time 2025-01-13 01:14:04
[2025-01-13 01:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235503', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235503', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235503', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235503', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:14:17] Production.INFO: ProcessCDR(1,14235503,1,1,2)
[2025-01-13 01:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235503', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235503', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:14:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:14:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:14:20] Production.INFO: ==9700== Releasing lock...
[2025-01-13 01:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:14:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:15:02] Production.INFO: ==9775== Lock acquired, processing the job...
[2025-01-13 06:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:15:02] Production.INFO: neon service started
[2025-01-13 06:15:02] Production.INFO: neon service started
[2025-01-13 06:15:02] Production.INFO: ==9775== Releasing lock...
[2025-01-13 06:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:15:02] Production.INFO: ==9777== Lock acquired, processing the job...
[2025-01-13 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:15:02] Production.INFO: ==9777== Releasing lock...
[2025-01-13 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:15:02] Production.INFO: ==9779== Lock acquired, processing the job...
[2025-01-13 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:15:02] Production.INFO: ==9779== Releasing lock...
[2025-01-13 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:15:03] Production.INFO: ==9782== Lock acquired, processing the job...
[2025-01-13 01:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:15:03] Production.INFO: ==9786== Lock acquired, processing the job...
[2025-01-13 01:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:15:03] Production.INFO: ==9788== Lock acquired, processing the job...
[2025-01-13 01:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:15:03] Production.INFO: ==9784== Lock acquired, processing the job...
[2025-01-13 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:15:03] Production.INFO: Account Balance Start.
[2025-01-13 01:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:15:03] Production.INFO: 117
[2025-01-13 01:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:15:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:15:03] Production.INFO: ==9790== Lock acquired, processing the job...
[2025-01-13 01:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:15:03] Production.INFO: ==9792== Lock acquired, processing the job...
[2025-01-13 01:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:15:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:15:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:15:04] Production.INFO: count ==21
[2025-01-13 01:15:04] Production.INFO: ==9784== Releasing lock...
[2025-01-13 01:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:15:04] Production.INFO: count ==21
[2025-01-13 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235507') start
[2025-01-13 01:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:15:04] Production.INFO: Total Charge 0
[2025-01-13 01:15:04] Production.INFO: CreateAllLog End
[2025-01-13 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235507') end
[2025-01-13 01:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:15:04] Production.INFO: 1
[2025-01-13 01:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:15:04] Production.ERROR: done
[2025-01-13 01:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:15:04] Production.INFO: ==9792== Releasing lock...
[2025-01-13 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:15:04] Production.INFO: Account Balance End.
[2025-01-13 01:15:04] Production.ERROR: done
[2025-01-13 01:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:15:04] Production.INFO: ==9788== Releasing lock...
[2025-01-13 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:15:05
[end_date_ymd] => 2025-01-13 01:15:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:15:05' and `end` < '2025-01-13 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-13 01:15:10] Production.ERROR: CronJobId end10
[2025-01-13 01:15:10] Production.INFO: ==9786== Releasing lock...
[2025-01-13 01:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:15:13] Production.INFO: call_cost start
[2025-01-13 01:15:13] Production.INFO: call_cost end
[2025-01-13 01:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:15:13] Production.INFO: ==9782== Releasing lock...
[2025-01-13 01:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:15:18] Production.INFO: count ==170
[2025-01-13 01:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:15:05 - End Time 2025-01-13 01:15:05
[2025-01-13 01:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235508', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235508', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235508', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235508', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:15:18] Production.INFO: ProcessCDR(1,14235508,1,1,2)
[2025-01-13 01:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235508', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235508', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:15:23] Production.INFO: ==9790== Releasing lock...
[2025-01-13 01:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:15:23] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:16:01] Production.INFO: ==9856== Lock acquired, processing the job...
[2025-01-13 06:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:16:01] Production.INFO: neon service started
[2025-01-13 06:16:01] Production.INFO: neon service started
[2025-01-13 06:16:01] Production.INFO: ==9856== Releasing lock...
[2025-01-13 06:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:16:01] Production.INFO: ==9860== Lock acquired, processing the job...
[2025-01-13 06:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:16:01] Production.INFO: ==9860== Releasing lock...
[2025-01-13 06:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:16:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:16:02] Production.INFO: ==9858== Lock acquired, processing the job...
[2025-01-13 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:16:02] Production.INFO: ==9858== Releasing lock...
[2025-01-13 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:16:03] Production.INFO: ==9865== Lock acquired, processing the job...
[2025-01-13 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:16:03] Production.INFO: ==9863== Lock acquired, processing the job...
[2025-01-13 01:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:16:03] Production.INFO: ==9869== Lock acquired, processing the job...
[2025-01-13 01:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:16:03] Production.INFO: Account Balance Start.
[2025-01-13 01:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:16:03] Production.INFO: 117
[2025-01-13 01:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:16:03] Production.INFO: ==9867== Lock acquired, processing the job...
[2025-01-13 01:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:16:03] Production.INFO: ==9865== Releasing lock...
[2025-01-13 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:16:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:16:03] Production.INFO: ==9871== Lock acquired, processing the job...
[2025-01-13 01:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:16:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:16:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:16:03] Production.INFO: ==9873== Lock acquired, processing the job...
[2025-01-13 01:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:16:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:16:03] Production.INFO: Total Charge 0
[2025-01-13 01:16:03] Production.INFO: CreateAllLog End
[2025-01-13 01:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:16:03] Production.INFO: count ==21
[2025-01-13 01:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:16:03] Production.INFO: count ==21
[2025-01-13 01:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235512') start
[2025-01-13 01:16:03] Production.INFO: Account Balance End.
[2025-01-13 01:16:03] Production.ERROR: CronJobId end 12
[2025-01-13 01:16:03] Production.INFO: ==9869== Releasing lock...
[2025-01-13 01:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:16:04] Production.ERROR: done
[2025-01-13 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235512') end
[2025-01-13 01:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:16:04] Production.INFO: 1
[2025-01-13 01:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:16:04] Production.INFO: ==9873== Releasing lock...
[2025-01-13 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:16:04] Production.ERROR: done
[2025-01-13 01:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:16:05
[end_date_ymd] => 2025-01-13 01:16:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:16:05' and `end` < '2025-01-13 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-13 01:16:10] Production.ERROR: CronJobId end10
[2025-01-13 01:16:10] Production.INFO: ==9867== Releasing lock...
[2025-01-13 01:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:16:12] Production.INFO: call_cost start
[2025-01-13 01:16:12] Production.INFO: call_cost end
[2025-01-13 01:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:16:13] Production.INFO: ==9863== Releasing lock...
[2025-01-13 01:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:16:18] Production.INFO: count ==170
[2025-01-13 01:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:16:05 - End Time 2025-01-13 01:16:05
[2025-01-13 01:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235513', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235513', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235513', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235513', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:16:18] Production.INFO: ProcessCDR(1,14235513,1,1,2)
[2025-01-13 01:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235513', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235513', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:16:21] Production.INFO: ==9871== Releasing lock...
[2025-01-13 01:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:16:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:17:01] Production.INFO: ==9934== Lock acquired, processing the job...
[2025-01-13 06:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:17:01] Production.INFO: neon service started
[2025-01-13 06:17:01] Production.INFO: neon service started
[2025-01-13 06:17:01] Production.INFO: ==9934== Releasing lock...
[2025-01-13 06:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:17:02] Production.INFO: ==9936== Lock acquired, processing the job...
[2025-01-13 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:17:02] Production.INFO: ==9938== Lock acquired, processing the job...
[2025-01-13 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:17:02] Production.INFO: ==9938== Releasing lock...
[2025-01-13 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:17:02] Production.INFO: ==9936== Releasing lock...
[2025-01-13 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:17:03] Production.INFO: ==9940== Lock acquired, processing the job...
[2025-01-13 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:17:03] Production.INFO: ==9949== Lock acquired, processing the job...
[2025-01-13 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:17:03] Production.INFO: ==9944== Lock acquired, processing the job...
[2025-01-13 01:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:17:03] Production.INFO: ==9942== Lock acquired, processing the job...
[2025-01-13 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:17:03] Production.INFO: ==9947== Lock acquired, processing the job...
[2025-01-13 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:17:03] Production.INFO: ==9951== Lock acquired, processing the job...
[2025-01-13 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:17:03] Production.INFO: Account Balance Start.
[2025-01-13 01:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:17:03] Production.INFO: 117
[2025-01-13 01:17:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:17:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:17:03] Production.INFO: count ==21
[2025-01-13 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-13 01:17:03] Production.INFO: count ==21
[2025-01-13 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235517') start
[2025-01-13 01:17:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:17:03] Production.ERROR: done
[2025-01-13 01:17:03] Production.INFO: ==9942== Releasing lock...
[2025-01-13 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235517') end
[2025-01-13 01:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:17:03] Production.INFO: 1
[2025-01-13 01:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:17:04] Production.INFO: ==9951== Releasing lock...
[2025-01-13 01:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:17:04] Production.ERROR: done
[2025-01-13 01:17:04] Production.INFO: Total Charge 0
[2025-01-13 01:17:04] Production.INFO: CreateAllLog End
[2025-01-13 01:17:04] Production.INFO: Account Balance End.
[2025-01-13 01:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:17:04] Production.INFO: ==9947== Releasing lock...
[2025-01-13 01:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:17:05
[end_date_ymd] => 2025-01-13 01:17:05
[RateCDR] => 1
)
[2025-01-13 01:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:17:05' and `end` < '2025-01-13 01:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:17:10] Production.ERROR: CronJobId end10
[2025-01-13 01:17:10] Production.INFO: ==9944== Releasing lock...
[2025-01-13 01:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:17:13] Production.INFO: call_cost start
[2025-01-13 01:17:13] Production.INFO: call_cost end
[2025-01-13 01:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:17:13] Production.INFO: ==9940== Releasing lock...
[2025-01-13 01:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:17:18] Production.INFO: count ==170
[2025-01-13 01:17:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:17:05 - End Time 2025-01-13 01:17:05
[2025-01-13 01:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235518', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235518', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235518', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235518', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:17:18] Production.INFO: ProcessCDR(1,14235518,1,1,2)
[2025-01-13 01:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235518', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235518', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:17:21] Production.INFO: ==9949== Releasing lock...
[2025-01-13 01:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:17:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:18:01] Production.INFO: ==10014== Lock acquired, processing the job...
[2025-01-13 06:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:18:01] Production.INFO: neon service started
[2025-01-13 06:18:01] Production.INFO: neon service started
[2025-01-13 06:18:01] Production.INFO: ==10014== Releasing lock...
[2025-01-13 06:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:18:01] Production.INFO: ==10017== Lock acquired, processing the job...
[2025-01-13 01:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:18:01] Production.INFO: ==10017== Releasing lock...
[2025-01-13 01:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:18:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:18:01] Production.INFO: ==10019== Lock acquired, processing the job...
[2025-01-13 06:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:18:02] Production.INFO: ==10019== Releasing lock...
[2025-01-13 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:18:02] Production.INFO: ==10029== Lock acquired, processing the job...
[2025-01-13 01:18:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:18:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:18:02] Production.INFO: ==10031== Lock acquired, processing the job...
[2025-01-13 01:18:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:18:03] Production.INFO: ==10021== Lock acquired, processing the job...
[2025-01-13 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:18:03] Production.INFO: ==10023== Lock acquired, processing the job...
[2025-01-13 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:18:03] Production.INFO: ==10025== Lock acquired, processing the job...
[2025-01-13 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:18:03] Production.INFO: ==10027== Lock acquired, processing the job...
[2025-01-13 01:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:18:03] Production.ERROR: done
[2025-01-13 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-13 01:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:18:03] Production.INFO: count ==21
[2025-01-13 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-13 01:18:03] Production.INFO: Account Balance Start.
[2025-01-13 01:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:18:03] Production.INFO: count ==21
[2025-01-13 01:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:18:03] Production.INFO: 117
[2025-01-13 01:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235519') start
[2025-01-13 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:18:03] Production.ERROR: done
[2025-01-13 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:18:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235519') end
[2025-01-13 01:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:18:03] Production.INFO: 1
[2025-01-13 01:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:18:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:18:03] Production.INFO: ==10031== Releasing lock...
[2025-01-13 01:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:18:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:18:03] Production.INFO: ==10023== Releasing lock...
[2025-01-13 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:18:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:18:03] Production.INFO: Total Charge 0
[2025-01-13 01:18:03] Production.INFO: CreateAllLog End
[2025-01-13 01:18:03] Production.INFO: Account Balance End.
[2025-01-13 01:18:03] Production.ERROR: CronJobId end 12
[2025-01-13 01:18:03] Production.INFO: ==10027== Releasing lock...
[2025-01-13 01:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:18:04
[end_date_ymd] => 2025-01-13 01:18:04
[RateCDR] => 1
)
[2025-01-13 01:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:18:04' and `end` < '2025-01-13 01: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-13 01:18:10] Production.ERROR: CronJobId end10
[2025-01-13 01:18:10] Production.INFO: ==10025== Releasing lock...
[2025-01-13 01:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:18:12] Production.INFO: call_cost start
[2025-01-13 01:18:12] Production.INFO: call_cost end
[2025-01-13 01:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:18:13] Production.INFO: ==10021== Releasing lock...
[2025-01-13 01:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:18:17] Production.INFO: count ==170
[2025-01-13 01:18:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:18:04 - End Time 2025-01-13 01:18:04
[2025-01-13 01:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235523', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235523', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235523', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235523', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:18:17] Production.INFO: ProcessCDR(1,14235523,1,1,2)
[2025-01-13 01:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235523', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235523', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:18:20] Production.INFO: ==10029== Releasing lock...
[2025-01-13 01:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:18:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:19:01] Production.INFO: ==10095== Lock acquired, processing the job...
[2025-01-13 06:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:19:01] Production.INFO: neon service started
[2025-01-13 06:19:01] Production.INFO: neon service started
[2025-01-13 06:19:01] Production.INFO: ==10095== Releasing lock...
[2025-01-13 06:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:19:02] Production.INFO: ==10097== Lock acquired, processing the job...
[2025-01-13 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:19:02] Production.INFO: ==10097== Releasing lock...
[2025-01-13 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:19:02] Production.INFO: ==10099== Lock acquired, processing the job...
[2025-01-13 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:19:02] Production.INFO: ==10099== Releasing lock...
[2025-01-13 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:19:03] Production.INFO: ==10104== Lock acquired, processing the job...
[2025-01-13 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:19:03] Production.INFO: ==10110== Lock acquired, processing the job...
[2025-01-13 01:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:19:03] Production.INFO: ==10102== Lock acquired, processing the job...
[2025-01-13 01:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:19:03] Production.INFO: ==10106== Lock acquired, processing the job...
[2025-01-13 01:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:19:03] Production.INFO: ==10108== Lock acquired, processing the job...
[2025-01-13 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:19:03] Production.INFO: ==10104== Releasing lock...
[2025-01-13 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:19:03] Production.INFO: ==10112== Lock acquired, processing the job...
[2025-01-13 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:19:03] Production.INFO: Account Balance Start.
[2025-01-13 01:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:19:03] Production.INFO: 117
[2025-01-13 01:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:19:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:19:03] Production.ERROR: done
[2025-01-13 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-13 01:19:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:19:03] Production.INFO: count ==21
[2025-01-13 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-13 01:19:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:19:03] Production.INFO: count ==21
[2025-01-13 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235527') start
[2025-01-13 01:19:03] Production.ERROR: done
[2025-01-13 01:19:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:19:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:19:03] Production.INFO: Total Charge 0
[2025-01-13 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235527') end
[2025-01-13 01:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:19:03] Production.INFO: 1
[2025-01-13 01:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:19:03] Production.INFO: CreateAllLog End
[2025-01-13 01:19:03] Production.INFO: ==10112== Releasing lock...
[2025-01-13 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:19:03] Production.INFO: Account Balance End.
[2025-01-13 01:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:19:04] Production.INFO: ==10108== Releasing lock...
[2025-01-13 01:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:19:04
[end_date_ymd] => 2025-01-13 01:19:04
[RateCDR] => 1
)
[2025-01-13 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-12 22:19:04' and `end` < '2025-01-13 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-13 01:19:10] Production.ERROR: CronJobId end10
[2025-01-13 01:19:10] Production.INFO: ==10106== Releasing lock...
[2025-01-13 01:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:19:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:19:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:19:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:19:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:19:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:19:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:19:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:19:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:19:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:19:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:19:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:19:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:19:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:19:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:19:12] Production.INFO: call_cost start
[2025-01-13 01:19:12] Production.INFO: call_cost end
[2025-01-13 01:19:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:19:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:19:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:19:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:19:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:19:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:19:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:19:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:19:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:19:12] Production.INFO: ==10102== Releasing lock...
[2025-01-13 01:19:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:19:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:19:17] Production.INFO: count ==170
[2025-01-13 01:19:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:19:04 - End Time 2025-01-13 01:19:04
[2025-01-13 01:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235528', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235528', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235528', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235528', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:19:17] Production.INFO: ProcessCDR(1,14235528,1,1,2)
[2025-01-13 01:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235528', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235528', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:19:20] Production.INFO: ==10110== Releasing lock...
[2025-01-13 01:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:19:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:20:02] Production.INFO: ==10183== Lock acquired, processing the job...
[2025-01-13 06:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:20:02] Production.INFO: neon service started
[2025-01-13 06:20:02] Production.INFO: neon service started
[2025-01-13 06:20:02] Production.INFO: ==10183== Releasing lock...
[2025-01-13 06:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:20:02] Production.INFO: ==10185== Lock acquired, processing the job...
[2025-01-13 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:20:02] Production.INFO: ==10187== Lock acquired, processing the job...
[2025-01-13 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:20:02] Production.INFO: ==10185== Releasing lock...
[2025-01-13 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:20:02] Production.INFO: ==10187== Releasing lock...
[2025-01-13 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:20:03] Production.INFO: ==10190== Lock acquired, processing the job...
[2025-01-13 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 01:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 01:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 01:20:03] Production.INFO: ==10190== Releasing lock...
[2025-01-13 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 01:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 01:20:03] Production.INFO: ==10194== Lock acquired, processing the job...
[2025-01-13 01:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:20:03] Production.INFO: ==10196== Lock acquired, processing the job...
[2025-01-13 01:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:20:03] Production.INFO: ==10192== Lock acquired, processing the job...
[2025-01-13 01:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:20:03] Production.INFO: ==10200== Lock acquired, processing the job...
[2025-01-13 01:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:20:04] Production.INFO: ==10198== Lock acquired, processing the job...
[2025-01-13 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:20:04] Production.INFO: ==10194== Releasing lock...
[2025-01-13 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:20:04] Production.INFO: ==10204== Lock acquired, processing the job...
[2025-01-13 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:20:04] Production.INFO: ==10202== Lock acquired, processing the job...
[2025-01-13 01:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 01:20:04] Production.INFO: Account Balance Start.
[2025-01-13 01:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:20:04] Production.INFO: 117
[2025-01-13 01:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:20:04] Production.ERROR: done
[2025-01-13 01:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 01:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:20:04] Production.INFO: count ==21
[2025-01-13 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-13 01:20:04] Production.INFO: count ==21
[2025-01-13 01:20:04] Production.ERROR: done
[2025-01-13 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235532') start
[2025-01-13 01:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235532') end
[2025-01-13 01:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:20:04] Production.INFO: 1
[2025-01-13 01:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:20:04] Production.INFO: ==10204== Releasing lock...
[2025-01-13 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:20:04] Production.INFO: Total Charge 0
[2025-01-13 01:20:04] Production.ERROR: done
[2025-01-13 01:20:04] Production.INFO: CreateAllLog End
[2025-01-13 01:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 01:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235534', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 01:20:04] Production.INFO: Account Balance End.
[2025-01-13 01:20:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:20:04] Production.INFO: ==10198== Releasing lock...
[2025-01-13 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:20:05
[end_date_ymd] => 2025-01-13 01:20:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:20:05' and `end` < '2025-01-13 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-13 01:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235534', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 01:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 01:20:08] Production.INFO: ProcessCDR(1,14235534,1,1,2)
[2025-01-13 01:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235534,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235534,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:20:08] Production.INFO: ==10202== Releasing lock...
[2025-01-13 01:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 01:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 01:20:12] Production.ERROR: CronJobId end10
[2025-01-13 01:20:12] Production.INFO: ==10196== Releasing lock...
[2025-01-13 01:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:20:14] Production.INFO: call_cost start
[2025-01-13 01:20:14] Production.INFO: call_cost end
[2025-01-13 01:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:20:15] Production.INFO: ==10192== Releasing lock...
[2025-01-13 01:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:20:18] Production.INFO: count ==176
[2025-01-13 01:20:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:20:05 - End Time 2025-01-13 01:20:05
[2025-01-13 01:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235533', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235533', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235533', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235533', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:20:18] Production.INFO: ProcessCDR(1,14235533,1,1,2)
[2025-01-13 01:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235533', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235533', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:20:21] Production.INFO: ==10200== Releasing lock...
[2025-01-13 01:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:20:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:21:01] Production.INFO: ==10274== Lock acquired, processing the job...
[2025-01-13 06:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:21:01] Production.INFO: neon service started
[2025-01-13 06:21:01] Production.INFO: neon service started
[2025-01-13 06:21:01] Production.INFO: ==10274== Releasing lock...
[2025-01-13 06:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:21:01] Production.INFO: ==10278== Lock acquired, processing the job...
[2025-01-13 06:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:21:01] Production.INFO: ==10278== Releasing lock...
[2025-01-13 06:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:21:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:21:02] Production.INFO: ==10276== Lock acquired, processing the job...
[2025-01-13 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:21:02] Production.INFO: ==10276== Releasing lock...
[2025-01-13 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:21:03] Production.INFO: ==10285== Lock acquired, processing the job...
[2025-01-13 01:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:21:03] Production.INFO: ==10287== Lock acquired, processing the job...
[2025-01-13 01:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:21:03] Production.INFO: ==10281== Lock acquired, processing the job...
[2025-01-13 01:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:21:03] Production.INFO: Account Balance Start.
[2025-01-13 01:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:21:03] Production.INFO: 117
[2025-01-13 01:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:21:03] Production.INFO: ==10283== Lock acquired, processing the job...
[2025-01-13 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:21:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:21:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:21:03] Production.INFO: ==10289== Lock acquired, processing the job...
[2025-01-13 01:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:21:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:21:03] Production.INFO: ==10291== Lock acquired, processing the job...
[2025-01-13 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:21:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:21:03] Production.INFO: ==10283== Releasing lock...
[2025-01-13 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:21:03] Production.INFO: count ==21
[2025-01-13 01:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:21:03] Production.INFO: count ==21
[2025-01-13 01:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235538') start
[2025-01-13 01:21:03] Production.INFO: Total Charge 0
[2025-01-13 01:21:03] Production.INFO: CreateAllLog End
[2025-01-13 01:21:03] Production.ERROR: done
[2025-01-13 01:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235538') end
[2025-01-13 01:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:21:03] Production.INFO: 1
[2025-01-13 01:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:21:03] Production.INFO: ==10291== Releasing lock...
[2025-01-13 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:21:03] Production.INFO: Account Balance End.
[2025-01-13 01:21:03] Production.ERROR: done
[2025-01-13 01:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:21:04] Production.INFO: ==10287== Releasing lock...
[2025-01-13 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:21:04
[end_date_ymd] => 2025-01-13 01:21:04
[RateCDR] => 1
)
[2025-01-13 01:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:21:04' and `end` < '2025-01-13 01:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:21:09] Production.ERROR: CronJobId end10
[2025-01-13 01:21:09] Production.INFO: ==10285== Releasing lock...
[2025-01-13 01:21:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:21:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:21:12] Production.INFO: call_cost start
[2025-01-13 01:21:12] Production.INFO: call_cost end
[2025-01-13 01:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:21:13] Production.INFO: ==10281== Releasing lock...
[2025-01-13 01:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:21:17] Production.INFO: count ==184
[2025-01-13 01:21:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:21:04 - End Time 2025-01-13 01:21:04
[2025-01-13 01:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235539', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235539', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235539', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235539', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:21:17] Production.INFO: ProcessCDR(1,14235539,1,1,2)
[2025-01-13 01:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235539', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235539', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:21:20] Production.INFO: ==10289== Releasing lock...
[2025-01-13 01:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:21:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:22:01] Production.INFO: ==10353== Lock acquired, processing the job...
[2025-01-13 06:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:22:01] Production.INFO: neon service started
[2025-01-13 06:22:01] Production.INFO: neon service started
[2025-01-13 06:22:01] Production.INFO: ==10353== Releasing lock...
[2025-01-13 06:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:22:02] Production.INFO: ==10355== Lock acquired, processing the job...
[2025-01-13 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:22:02] Production.INFO: ==10357== Lock acquired, processing the job...
[2025-01-13 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:22:02] Production.INFO: ==10357== Releasing lock...
[2025-01-13 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:22:02] Production.INFO: ==10355== Releasing lock...
[2025-01-13 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:22:03] Production.INFO: ==10359== Lock acquired, processing the job...
[2025-01-13 01:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:22:03] Production.INFO: ==10361== Lock acquired, processing the job...
[2025-01-13 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:22:03] Production.INFO: ==10363== Lock acquired, processing the job...
[2025-01-13 01:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:22:03] Production.INFO: ==10365== Lock acquired, processing the job...
[2025-01-13 01:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:22:03] Production.INFO: ==10361== Releasing lock...
[2025-01-13 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:22:03] Production.INFO: ==10367== Lock acquired, processing the job...
[2025-01-13 01:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:22:03] Production.INFO: Account Balance Start.
[2025-01-13 01:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:22:03] Production.INFO: 117
[2025-01-13 01:22:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:22:03] Production.INFO: ==10370== Lock acquired, processing the job...
[2025-01-13 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:22:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:22:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:22:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:22:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 01: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-13 01:22:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:22:04] Production.INFO: count ==21
[2025-01-13 01:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:22:04] Production.INFO: Total Charge 0
[2025-01-13 01:22:04] Production.INFO: CreateAllLog End
[2025-01-13 01:22:04] Production.INFO: count ==21
[2025-01-13 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235543') start
[2025-01-13 01:22:04] Production.ERROR: done
[2025-01-13 01:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235543') end
[2025-01-13 01:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:22:04] Production.INFO: 1
[2025-01-13 01:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:22:04] Production.INFO: Account Balance End.
[2025-01-13 01:22:04] Production.ERROR: done
[2025-01-13 01:22:04] Production.INFO: ==10370== Releasing lock...
[2025-01-13 01:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:22:04] Production.INFO: ==10365== Releasing lock...
[2025-01-13 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:22:05
[end_date_ymd] => 2025-01-13 01:22:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:22:05' and `end` < '2025-01-13 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-13 01:22:10] Production.ERROR: CronJobId end10
[2025-01-13 01:22:10] Production.INFO: ==10363== Releasing lock...
[2025-01-13 01:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:22:13] Production.INFO: call_cost start
[2025-01-13 01:22:13] Production.INFO: call_cost end
[2025-01-13 01:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:22:13] Production.INFO: ==10359== Releasing lock...
[2025-01-13 01:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:22:19] Production.INFO: count ==184
[2025-01-13 01:22:19] Production.ERROR: pbx CDR StartTime 2025-01-12 22:22:05 - End Time 2025-01-13 01:22:05
[2025-01-13 01:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235544', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235544', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235544', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235544', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:22:19] Production.INFO: ProcessCDR(1,14235544,1,1,2)
[2025-01-13 01:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235544', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235544', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:22:22] Production.INFO: ==10367== Releasing lock...
[2025-01-13 01:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:22:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:23:02] Production.INFO: ==10427== Lock acquired, processing the job...
[2025-01-13 06:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:23:02] Production.INFO: neon service started
[2025-01-13 06:23:02] Production.INFO: neon service started
[2025-01-13 06:23:02] Production.INFO: ==10427== Releasing lock...
[2025-01-13 06:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:23:02] Production.INFO: ==10429== Lock acquired, processing the job...
[2025-01-13 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:23:02] Production.INFO: ==10429== Releasing lock...
[2025-01-13 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:23:03] Production.INFO: ==10431== Lock acquired, processing the job...
[2025-01-13 06:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:23:03] Production.INFO: ==10431== Releasing lock...
[2025-01-13 06:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:23:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:23:03] Production.INFO: ==10435== Lock acquired, processing the job...
[2025-01-13 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:23:03] Production.INFO: ==10433== Lock acquired, processing the job...
[2025-01-13 01:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:23:03] Production.INFO: ==10443== Lock acquired, processing the job...
[2025-01-13 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:23:04] Production.INFO: ==10437== Lock acquired, processing the job...
[2025-01-13 01:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:23:04] Production.INFO: ==10439== Lock acquired, processing the job...
[2025-01-13 01:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:23:04] Production.INFO: count ==21
[2025-01-13 01:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:23:04] Production.INFO: count ==21
[2025-01-13 01:23:04] Production.INFO: ==10441== Lock acquired, processing the job...
[2025-01-13 01:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:23:04] Production.INFO: ==10435== Releasing lock...
[2025-01-13 01:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235546') start
[2025-01-13 01:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:23:04] Production.INFO: Account Balance Start.
[2025-01-13 01:23:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:23:04] Production.INFO: 117
[2025-01-13 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235546') end
[2025-01-13 01:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:23:04] Production.INFO: 1
[2025-01-13 01:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:23:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:23:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:23:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:23:04] Production.INFO: ==10443== Releasing lock...
[2025-01-13 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:23:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:23:04] Production.INFO: Total Charge 0
[2025-01-13 01:23:04] Production.INFO: CreateAllLog End
[2025-01-13 01:23:04] Production.ERROR: done
[2025-01-13 01:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:23:04] Production.ERROR: done
[2025-01-13 01:23:04] Production.INFO: Account Balance End.
[2025-01-13 01:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:23:04] Production.INFO: ==10439== Releasing lock...
[2025-01-13 01:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:23:05
[end_date_ymd] => 2025-01-13 01:23:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:23:05' and `end` < '2025-01-13 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-13 01:23:11] Production.ERROR: CronJobId end10
[2025-01-13 01:23:11] Production.INFO: ==10437== Releasing lock...
[2025-01-13 01:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:23:13] Production.INFO: call_cost start
[2025-01-13 01:23:13] Production.INFO: call_cost end
[2025-01-13 01:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:23:14] Production.INFO: ==10433== Releasing lock...
[2025-01-13 01:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:23:18] Production.INFO: count ==184
[2025-01-13 01:23:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:23:05 - End Time 2025-01-13 01:23:05
[2025-01-13 01:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235549', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235549', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235549', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235549', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:23:18] Production.INFO: ProcessCDR(1,14235549,1,1,2)
[2025-01-13 01:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235549', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235549', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:23:21] Production.INFO: ==10441== Releasing lock...
[2025-01-13 01:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:23:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:24:01] Production.INFO: ==10497== Lock acquired, processing the job...
[2025-01-13 06:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:24:01] Production.INFO: neon service started
[2025-01-13 06:24:01] Production.INFO: neon service started
[2025-01-13 06:24:01] Production.INFO: ==10497== Releasing lock...
[2025-01-13 06:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:24:02] Production.INFO: ==10499== Lock acquired, processing the job...
[2025-01-13 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:24:02] Production.INFO: ==10501== Lock acquired, processing the job...
[2025-01-13 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:24:02] Production.INFO: ==10501== Releasing lock...
[2025-01-13 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:24:02] Production.INFO: ==10499== Releasing lock...
[2025-01-13 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:24:03] Production.INFO: ==10504== Lock acquired, processing the job...
[2025-01-13 01:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:24:03] Production.INFO: ==10510== Lock acquired, processing the job...
[2025-01-13 01:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:24:03] Production.INFO: ==10512== Lock acquired, processing the job...
[2025-01-13 01:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:24:03] Production.INFO: Account Balance Start.
[2025-01-13 01:24:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:24:03] Production.INFO: 117
[2025-01-13 01:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:24:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:24:03] Production.INFO: ==10506== Lock acquired, processing the job...
[2025-01-13 01:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:24:03] Production.INFO: ==10508== Lock acquired, processing the job...
[2025-01-13 01:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:24:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:24:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:24:03] Production.INFO: ==10514== Lock acquired, processing the job...
[2025-01-13 01:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:24:03] Production.ERROR: done
[2025-01-13 01:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:24:04] Production.INFO: count ==21
[2025-01-13 01:24:04] Production.ERROR: done
[2025-01-13 01:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:24:04] Production.INFO: count ==21
[2025-01-13 01:24:04] Production.INFO: ==10506== Releasing lock...
[2025-01-13 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:24:04] Production.INFO: Total Charge 0
[2025-01-13 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235553') start
[2025-01-13 01:24:04] Production.INFO: CreateAllLog End
[2025-01-13 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235553') end
[2025-01-13 01:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:24:04] Production.INFO: 1
[2025-01-13 01:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:24:04] Production.INFO: ==10514== Releasing lock...
[2025-01-13 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:24:04] Production.INFO: Account Balance End.
[2025-01-13 01:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:24:04] Production.INFO: ==10510== Releasing lock...
[2025-01-13 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:24:04
[end_date_ymd] => 2025-01-13 01:24:04
[RateCDR] => 1
)
[2025-01-13 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-12 22:24:04' and `end` < '2025-01-13 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-13 01:24:11] Production.ERROR: CronJobId end10
[2025-01-13 01:24:11] Production.INFO: ==10508== Releasing lock...
[2025-01-13 01:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:24:13] Production.INFO: call_cost start
[2025-01-13 01:24:13] Production.INFO: call_cost end
[2025-01-13 01:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:24:13] Production.INFO: ==10504== Releasing lock...
[2025-01-13 01:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:24:17] Production.INFO: count ==183
[2025-01-13 01:24:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:24:04 - End Time 2025-01-13 01:24:04
[2025-01-13 01:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235554', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235554', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235554', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235554', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:24:17] Production.INFO: ProcessCDR(1,14235554,1,1,2)
[2025-01-13 01:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235554', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235554', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:24:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:24:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:24:20] Production.INFO: ==10512== Releasing lock...
[2025-01-13 01:24:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:24:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:25:02] Production.INFO: ==10568== Lock acquired, processing the job...
[2025-01-13 06:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:25:02] Production.INFO: neon service started
[2025-01-13 06:25:02] Production.INFO: neon service started
[2025-01-13 06:25:02] Production.INFO: ==10568== Releasing lock...
[2025-01-13 06:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:25:02] Production.INFO: ==10570== Lock acquired, processing the job...
[2025-01-13 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:25:02] Production.INFO: ==10570== Releasing lock...
[2025-01-13 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:25:02] Production.INFO: ==10572== Lock acquired, processing the job...
[2025-01-13 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:25:03] Production.INFO: ==10572== Releasing lock...
[2025-01-13 06:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:25:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:25:03] Production.INFO: ==10575== Lock acquired, processing the job...
[2025-01-13 01:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:25:03] Production.INFO: ==10577== Lock acquired, processing the job...
[2025-01-13 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:25:03] Production.INFO: ==10581== Lock acquired, processing the job...
[2025-01-13 01:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:25:03] Production.INFO: ==10577== Releasing lock...
[2025-01-13 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:25:03] Production.INFO: Account Balance Start.
[2025-01-13 01:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:25:03] Production.INFO: 117
[2025-01-13 01:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:25:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:25:04] Production.INFO: ==10579== Lock acquired, processing the job...
[2025-01-13 01:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:25:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:25:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:25:04] Production.INFO: ==10583== Lock acquired, processing the job...
[2025-01-13 01:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:25:04] Production.INFO: ==10585== Lock acquired, processing the job...
[2025-01-13 01:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:25:04] Production.INFO: Total Charge 0
[2025-01-13 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-13 01:25:04] Production.INFO: CreateAllLog End
[2025-01-13 01:25:04] Production.INFO: count ==21
[2025-01-13 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-13 01:25:04] Production.INFO: count ==21
[2025-01-13 01:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235558') start
[2025-01-13 01:25:04] Production.ERROR: done
[2025-01-13 01:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235558') end
[2025-01-13 01:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:25:04] Production.INFO: 1
[2025-01-13 01:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:25:04] Production.INFO: ==10585== Releasing lock...
[2025-01-13 01:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:25:04] Production.ERROR: done
[2025-01-13 01:25:04] Production.INFO: Account Balance End.
[2025-01-13 01:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:25:04] Production.INFO: ==10581== Releasing lock...
[2025-01-13 01:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:25:05
[end_date_ymd] => 2025-01-13 01:25:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:25:05' and `end` < '2025-01-13 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-13 01:25:12] Production.ERROR: CronJobId end10
[2025-01-13 01:25:12] Production.INFO: ==10579== Releasing lock...
[2025-01-13 01:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:25:14] Production.INFO: call_cost start
[2025-01-13 01:25:14] Production.INFO: call_cost end
[2025-01-13 01:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:25:14] Production.INFO: ==10575== Releasing lock...
[2025-01-13 01:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:25:18] Production.INFO: count ==182
[2025-01-13 01:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:25:05 - End Time 2025-01-13 01:25:05
[2025-01-13 01:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235559', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235559', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235559', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235559', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:25:18] Production.INFO: ProcessCDR(1,14235559,1,1,2)
[2025-01-13 01:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235559', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235559', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:25:22] Production.INFO: ==10583== Releasing lock...
[2025-01-13 01:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:25:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:26:01] Production.INFO: ==10642== Lock acquired, processing the job...
[2025-01-13 06:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:26:01] Production.INFO: neon service started
[2025-01-13 06:26:01] Production.INFO: neon service started
[2025-01-13 06:26:01] Production.INFO: ==10642== Releasing lock...
[2025-01-13 06:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:26:02] Production.INFO: ==10646== Lock acquired, processing the job...
[2025-01-13 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:26:02] Production.INFO: ==10646== Releasing lock...
[2025-01-13 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:26:02] Production.INFO: ==10644== Lock acquired, processing the job...
[2025-01-13 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:26:02] Production.INFO: ==10644== Releasing lock...
[2025-01-13 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:26:03] Production.INFO: ==10649== Lock acquired, processing the job...
[2025-01-13 01:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:26:03] Production.INFO: ==10653== Lock acquired, processing the job...
[2025-01-13 01:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:26:03] Production.INFO: ==10651== Lock acquired, processing the job...
[2025-01-13 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:26:03] Production.INFO: ==10655== Lock acquired, processing the job...
[2025-01-13 01:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:26:03] Production.INFO: ==10657== Lock acquired, processing the job...
[2025-01-13 01:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:26:03] Production.INFO: Account Balance Start.
[2025-01-13 01:26:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:26:03] Production.INFO: 117
[2025-01-13 01:26:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:26:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:26:03] Production.INFO: ==10659== Lock acquired, processing the job...
[2025-01-13 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:26:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:26:03] Production.INFO: ==10651== Releasing lock...
[2025-01-13 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:26:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:26:03] Production.ERROR: done
[2025-01-13 01:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:26:03] Production.INFO: count ==21
[2025-01-13 01:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:26:03] Production.INFO: count ==21
[2025-01-13 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235563') start
[2025-01-13 01:26:04] Production.ERROR: done
[2025-01-13 01:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:26:04] Production.INFO: Total Charge 0
[2025-01-13 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235563') end
[2025-01-13 01:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:26:04] Production.INFO: 1
[2025-01-13 01:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:26:04] Production.INFO: CreateAllLog End
[2025-01-13 01:26:04] Production.INFO: ==10659== Releasing lock...
[2025-01-13 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:26:04] Production.INFO: Account Balance End.
[2025-01-13 01:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:26:04] Production.INFO: ==10655== Releasing lock...
[2025-01-13 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:26:05
[end_date_ymd] => 2025-01-13 01:26:05
[RateCDR] => 1
)
[2025-01-13 01:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:26:05' and `end` < '2025-01-13 01:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:26:11] Production.ERROR: CronJobId end10
[2025-01-13 01:26:11] Production.INFO: ==10653== Releasing lock...
[2025-01-13 01:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:26:13] Production.INFO: call_cost start
[2025-01-13 01:26:13] Production.INFO: call_cost end
[2025-01-13 01:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:26:14] Production.INFO: ==10649== Releasing lock...
[2025-01-13 01:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:26:17] Production.INFO: count ==182
[2025-01-13 01:26:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:26:05 - End Time 2025-01-13 01:26:05
[2025-01-13 01:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235564', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235564', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235564', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235564', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:26:17] Production.INFO: ProcessCDR(1,14235564,1,1,2)
[2025-01-13 01:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235564', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235564', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:26:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:26:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:26:20] Production.INFO: ==10657== Releasing lock...
[2025-01-13 01:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:26:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:27:02] Production.INFO: ==10716== Lock acquired, processing the job...
[2025-01-13 06:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:27:02] Production.INFO: neon service started
[2025-01-13 06:27:02] Production.INFO: neon service started
[2025-01-13 06:27:02] Production.INFO: ==10716== Releasing lock...
[2025-01-13 06:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:27:02] Production.INFO: ==10718== Lock acquired, processing the job...
[2025-01-13 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:27:02] Production.INFO: ==10720== Lock acquired, processing the job...
[2025-01-13 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:27:02] Production.INFO: ==10718== Releasing lock...
[2025-01-13 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:27:02] Production.INFO: ==10720== Releasing lock...
[2025-01-13 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:27:03] Production.INFO: ==10724== Lock acquired, processing the job...
[2025-01-13 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:27:03] Production.INFO: ==10722== Lock acquired, processing the job...
[2025-01-13 01:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:27:03] Production.INFO: ==10726== Lock acquired, processing the job...
[2025-01-13 01:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:27:03] Production.INFO: ==10728== Lock acquired, processing the job...
[2025-01-13 01:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:27:03] Production.INFO: ==10730== Lock acquired, processing the job...
[2025-01-13 01:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:27:03] Production.INFO: ==10733== Lock acquired, processing the job...
[2025-01-13 01:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:27:03] Production.INFO: Account Balance Start.
[2025-01-13 01:27:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:27:03] Production.INFO: 117
[2025-01-13 01:27:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:27:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:27:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:27:04] Production.INFO: ==10724== Releasing lock...
[2025-01-13 01:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:27:04] Production.INFO: count ==21
[2025-01-13 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-13 01:27:04] Production.INFO: count ==21
[2025-01-13 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235568') start
[2025-01-13 01:27:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:27:04] Production.ERROR: done
[2025-01-13 01:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235568') end
[2025-01-13 01:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:27:04] Production.INFO: 1
[2025-01-13 01:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:27:04] Production.INFO: ==10733== Releasing lock...
[2025-01-13 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:27:04] Production.ERROR: done
[2025-01-13 01:27:04] Production.INFO: Total Charge 0
[2025-01-13 01:27:04] Production.INFO: CreateAllLog End
[2025-01-13 01:27:04] Production.INFO: Account Balance End.
[2025-01-13 01:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:27:04] Production.INFO: ==10728== Releasing lock...
[2025-01-13 01:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:27:05
[end_date_ymd] => 2025-01-13 01:27:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:27:05' and `end` < '2025-01-13 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-13 01:27:11] Production.ERROR: CronJobId end10
[2025-01-13 01:27:11] Production.INFO: ==10726== Releasing lock...
[2025-01-13 01:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:27:13] Production.INFO: call_cost start
[2025-01-13 01:27:13] Production.INFO: call_cost end
[2025-01-13 01:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:27:14] Production.INFO: ==10722== Releasing lock...
[2025-01-13 01:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:27:19] Production.INFO: count ==176
[2025-01-13 01:27:19] Production.ERROR: pbx CDR StartTime 2025-01-12 22:27:05 - End Time 2025-01-13 01:27:05
[2025-01-13 01:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235569', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235569', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235569', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235569', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:27:19] Production.INFO: ProcessCDR(1,14235569,1,1,2)
[2025-01-13 01:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235569', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235569', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:27:22] Production.INFO: ==10730== Releasing lock...
[2025-01-13 01:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:27:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:28:01] Production.INFO: ==10827== Lock acquired, processing the job...
[2025-01-13 06:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:28:01] Production.INFO: neon service started
[2025-01-13 06:28:01] Production.INFO: neon service started
[2025-01-13 06:28:01] Production.INFO: ==10827== Releasing lock...
[2025-01-13 06:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:28:01] Production.INFO: ==10829== Lock acquired, processing the job...
[2025-01-13 01:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:28:02] Production.INFO: ==10829== Releasing lock...
[2025-01-13 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:28:02] Production.INFO: ==10831== Lock acquired, processing the job...
[2025-01-13 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:28:02] Production.INFO: ==10831== Releasing lock...
[2025-01-13 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:28:03] Production.INFO: ==10833== Lock acquired, processing the job...
[2025-01-13 01:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:28:03] Production.INFO: ==10835== Lock acquired, processing the job...
[2025-01-13 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:28:03] Production.INFO: ==10837== Lock acquired, processing the job...
[2025-01-13 01:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:28:03] Production.INFO: ==10839== Lock acquired, processing the job...
[2025-01-13 01:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:28:03] Production.INFO: ==10841== Lock acquired, processing the job...
[2025-01-13 01:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:28:03] Production.INFO: ==10843== Lock acquired, processing the job...
[2025-01-13 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:28:03] Production.INFO: Account Balance Start.
[2025-01-13 01:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:28:03] Production.INFO: 117
[2025-01-13 01:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:28:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:28:03] Production.INFO: count ==21
[2025-01-13 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:28:03] Production.INFO: ==10835== Releasing lock...
[2025-01-13 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:28:03] Production.INFO: count ==21
[2025-01-13 01:28:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235573') start
[2025-01-13 01:28:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:28:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:28:03] Production.ERROR: done
[2025-01-13 01:28:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235573') end
[2025-01-13 01:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:28:03] Production.INFO: 1
[2025-01-13 01:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:28:03] Production.INFO: Total Charge 0
[2025-01-13 01:28:03] Production.INFO: CreateAllLog End
[2025-01-13 01:28:03] Production.INFO: ==10843== Releasing lock...
[2025-01-13 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:28:03] Production.ERROR: done
[2025-01-13 01:28:04] Production.INFO: Account Balance End.
[2025-01-13 01:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:28:04] Production.INFO: ==10839== Releasing lock...
[2025-01-13 01:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:28:04
[end_date_ymd] => 2025-01-13 01:28:04
[RateCDR] => 1
)
[2025-01-13 01:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:28:04' and `end` < '2025-01-13 01: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-13 01:28:11] Production.ERROR: CronJobId end10
[2025-01-13 01:28:11] Production.INFO: ==10837== Releasing lock...
[2025-01-13 01:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:28:14] Production.INFO: call_cost start
[2025-01-13 01:28:14] Production.INFO: call_cost end
[2025-01-13 01:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:28:15] Production.INFO: ==10833== Releasing lock...
[2025-01-13 01:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:28:17] Production.INFO: count ==175
[2025-01-13 01:28:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:28:04 - End Time 2025-01-13 01:28:04
[2025-01-13 01:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235574', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235574', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235574', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235574', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:28:17] Production.INFO: ProcessCDR(1,14235574,1,1,2)
[2025-01-13 01:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235574', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235574', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:28:21] Production.INFO: ==10841== Releasing lock...
[2025-01-13 01:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:28:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:29:02] Production.INFO: ==10897== Lock acquired, processing the job...
[2025-01-13 06:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:29:02] Production.INFO: neon service started
[2025-01-13 06:29:02] Production.INFO: neon service started
[2025-01-13 06:29:02] Production.INFO: ==10897== Releasing lock...
[2025-01-13 06:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:29:02] Production.INFO: ==10901== Lock acquired, processing the job...
[2025-01-13 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:29:02] Production.INFO: ==10901== Releasing lock...
[2025-01-13 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:29:02] Production.INFO: ==10899== Lock acquired, processing the job...
[2025-01-13 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:29:02] Production.INFO: ==10899== Releasing lock...
[2025-01-13 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:29:03] Production.INFO: ==10904== Lock acquired, processing the job...
[2025-01-13 01:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:29:03] Production.INFO: ==10912== Lock acquired, processing the job...
[2025-01-13 01:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:29:03] Production.INFO: ==10906== Lock acquired, processing the job...
[2025-01-13 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:29:04] Production.INFO: ==10908== Lock acquired, processing the job...
[2025-01-13 01:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:29:04] Production.INFO: ==10910== Lock acquired, processing the job...
[2025-01-13 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:29:04] Production.INFO: ==10914== Lock acquired, processing the job...
[2025-01-13 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:29:04] Production.ERROR: done
[2025-01-13 01:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:29:04] Production.INFO: Account Balance Start.
[2025-01-13 01:29:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:29:04] Production.INFO: 117
[2025-01-13 01:29:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:29:04] Production.INFO: ==10906== Releasing lock...
[2025-01-13 01:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:29:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:29:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:29:04] Production.INFO: count ==21
[2025-01-13 01:29:04] Production.ERROR: done
[2025-01-13 01:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:29:04] Production.INFO: count ==21
[2025-01-13 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235578') start
[2025-01-13 01:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:29:04] Production.INFO: Total Charge 0
[2025-01-13 01:29:04] Production.INFO: CreateAllLog End
[2025-01-13 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235578') end
[2025-01-13 01:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:29:04] Production.INFO: 1
[2025-01-13 01:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:29:04] Production.INFO: Account Balance End.
[2025-01-13 01:29:04] Production.INFO: ==10914== Releasing lock...
[2025-01-13 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:29:04] Production.INFO: ==10910== Releasing lock...
[2025-01-13 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:29:05
[end_date_ymd] => 2025-01-13 01:29:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:29:05' and `end` < '2025-01-13 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-13 01:29:11] Production.ERROR: CronJobId end10
[2025-01-13 01:29:11] Production.INFO: ==10908== Releasing lock...
[2025-01-13 01:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:29:13] Production.INFO: call_cost start
[2025-01-13 01:29:13] Production.INFO: call_cost end
[2025-01-13 01:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:29:14] Production.INFO: ==10904== Releasing lock...
[2025-01-13 01:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:29:18] Production.INFO: count ==175
[2025-01-13 01:29:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:29:05 - End Time 2025-01-13 01:29:05
[2025-01-13 01:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235579', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235579', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235579', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235579', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:29:18] Production.INFO: ProcessCDR(1,14235579,1,1,2)
[2025-01-13 01:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235579', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235579', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:29:22] Production.INFO: ==10912== Releasing lock...
[2025-01-13 01:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:29:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:30:01] Production.INFO: ==10967== Lock acquired, processing the job...
[2025-01-13 06:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:30:01] Production.INFO: neon service started
[2025-01-13 06:30:01] Production.INFO: neon service started
[2025-01-13 06:30:01] Production.INFO: ==10967== Releasing lock...
[2025-01-13 06:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:30:01] Production.INFO: ==10969== Lock acquired, processing the job...
[2025-01-13 01:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:30:02] Production.INFO: ==10971== Lock acquired, processing the job...
[2025-01-13 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:30:02] Production.INFO: ==10969== Releasing lock...
[2025-01-13 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:30:02] Production.INFO: ==10971== Releasing lock...
[2025-01-13 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:30:03] Production.INFO: ==10983== Lock acquired, processing the job...
[2025-01-13 01:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:30:03] Production.INFO: ==10988== Lock acquired, processing the job...
[2025-01-13 01:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:30:03] Production.INFO: ==10973== Lock acquired, processing the job...
[2025-01-13 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 01:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:30:03] Production.INFO: ==10985== Lock acquired, processing the job...
[2025-01-13 01:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 01:30:03] Production.INFO: ==10975== Lock acquired, processing the job...
[2025-01-13 01:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 01:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 01:30:03] Production.ERROR: CronJob PID - 10983
[2025-01-13 01:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 01:30:03] Production.ERROR: CronJob ID - 16
[2025-01-13 01:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 01:30:00
[2025-01-13 01:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 01:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 01:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 01:30:03] Production.ERROR: CronJob PID - 10985
[2025-01-13 01:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 01:30:03] Production.ERROR: CronJob ID - 17
[2025-01-13 01:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 01:30:00
[2025-01-13 01:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 01:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 01:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 01:30:03] Production.ERROR: CronJob PID - 10988
[2025-01-13 01:30:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 01:30:03] Production.ERROR: CronJob ID - 19
[2025-01-13 01:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 01:30:00
[2025-01-13 01:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 01:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 01:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01: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-13 01:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 01:30:03] Production.INFO: ==10973== Releasing lock...
[2025-01-13 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 01:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 01:30:03] Production.INFO: ==10977== Lock acquired, processing the job...
[2025-01-13 01:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:30:03] Production.INFO: ==10979== Lock acquired, processing the job...
[2025-01-13 01:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:30:03] Production.INFO: count ==21
[2025-01-13 01:30:03] Production.INFO: ==10981== Lock acquired, processing the job...
[2025-01-13 01:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01: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-13 01:30:03] Production.ERROR: done
[2025-01-13 01:30:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:30:03] Production.INFO: count ==21
[2025-01-13 01:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235580') start
[2025-01-13 01:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:30:04] Production.ERROR: done
[2025-01-13 01:30:04] Production.ERROR: done
[2025-01-13 01:30:04] Production.INFO: Account Balance Start.
[2025-01-13 01:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:30:04] Production.INFO: 117
[2025-01-13 01:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235580') end
[2025-01-13 01:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:30:04] Production.INFO: 1
[2025-01-13 01:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:30:04] Production.INFO: ==10988== Releasing lock...
[2025-01-13 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 01:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235584', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 01:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:30:04] Production.INFO: ==10977== Releasing lock...
[2025-01-13 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:30:04] Production.INFO: Total Charge 0
[2025-01-13 01:30:04] Production.INFO: CreateAllLog End
[2025-01-13 01:30:04] Production.INFO: Account Balance End.
[2025-01-13 01:30:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:30:04] Production.INFO: ==10981== Releasing lock...
[2025-01-13 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:30:05
[end_date_ymd] => 2025-01-13 01:30:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:30:05' and `end` < '2025-01-13 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-13 01:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235584', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 01:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 01:30:08] Production.INFO: ProcessCDR(1,14235584,1,1,2)
[2025-01-13 01:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235584,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235584,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:30:08] Production.INFO: ==10985== Releasing lock...
[2025-01-13 01:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 01:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 01:30:12] Production.ERROR: CronJobId end10
[2025-01-13 01:30:12] Production.INFO: ==10979== Releasing lock...
[2025-01-13 01:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:30:14] Production.INFO: call_cost start
[2025-01-13 01:30:14] Production.INFO: call_cost end
[2025-01-13 01:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:30:15] Production.INFO: ==10975== Releasing lock...
[2025-01-13 01:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:30:17] Production.INFO: count ==183
[2025-01-13 01:30:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:30:05 - End Time 2025-01-13 01:30:05
[2025-01-13 01:30:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235585', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235585', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235585', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235585', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:30:17] Production.INFO: ProcessCDR(1,14235585,1,1,2)
[2025-01-13 01:30:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:30:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:30:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235585', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235585', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:30:21] Production.INFO: ==10983== Releasing lock...
[2025-01-13 01:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:30:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:31:01] Production.INFO: ==11043== Lock acquired, processing the job...
[2025-01-13 06:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:31:01] Production.INFO: neon service started
[2025-01-13 06:31:01] Production.INFO: neon service started
[2025-01-13 06:31:01] Production.INFO: ==11043== Releasing lock...
[2025-01-13 06:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:31:02] Production.INFO: ==11047== Lock acquired, processing the job...
[2025-01-13 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:31:02] Production.INFO: ==11045== Lock acquired, processing the job...
[2025-01-13 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:31:02] Production.INFO: ==11047== Releasing lock...
[2025-01-13 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:31:02] Production.INFO: ==11045== Releasing lock...
[2025-01-13 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:31:03] Production.INFO: ==11050== Lock acquired, processing the job...
[2025-01-13 01:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:31:03] Production.INFO: ==11056== Lock acquired, processing the job...
[2025-01-13 01:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:31:03] Production.INFO: ==11060== Lock acquired, processing the job...
[2025-01-13 01:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:31:03] Production.INFO: Account Balance Start.
[2025-01-13 01:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:31:03] Production.INFO: 117
[2025-01-13 01:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:31:03] Production.INFO: ==11054== Lock acquired, processing the job...
[2025-01-13 01:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 01:31:03] Production.INFO: ==11052== Lock acquired, processing the job...
[2025-01-13 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:31:03] Production.INFO: count ==21
[2025-01-13 01:31:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:31:04] Production.INFO: count ==21
[2025-01-13 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235588') start
[2025-01-13 01:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:31:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:31:04] Production.INFO: ==11058== Lock acquired, processing the job...
[2025-01-13 01:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:31:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235588') end
[2025-01-13 01:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:31:04] Production.INFO: 1
[2025-01-13 01:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:31:04] Production.INFO: ==11060== Releasing lock...
[2025-01-13 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:31:04] Production.INFO: Total Charge 0
[2025-01-13 01:31:04] Production.INFO: CreateAllLog End
[2025-01-13 01:31:04] Production.INFO: ==11052== Releasing lock...
[2025-01-13 01:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:31:04] Production.ERROR: done
[2025-01-13 01:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:31:04] Production.INFO: Account Balance End.
[2025-01-13 01:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:31:04] Production.INFO: ==11056== Releasing lock...
[2025-01-13 01:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:31:04] Production.ERROR: done
[2025-01-13 01:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:31:05
[end_date_ymd] => 2025-01-13 01:31:05
[RateCDR] => 1
)
[2025-01-13 01:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:31:05' and `end` < '2025-01-13 01:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:31:11] Production.ERROR: CronJobId end10
[2025-01-13 01:31:11] Production.INFO: ==11054== Releasing lock...
[2025-01-13 01:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:31:13] Production.INFO: call_cost start
[2025-01-13 01:31:13] Production.INFO: call_cost end
[2025-01-13 01:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:31:13] Production.INFO: ==11050== Releasing lock...
[2025-01-13 01:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:31:19] Production.INFO: count ==196
[2025-01-13 01:31:19] Production.ERROR: pbx CDR StartTime 2025-01-12 22:31:05 - End Time 2025-01-13 01:31:05
[2025-01-13 01:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235590', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235590', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235590', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235590', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:31:19] Production.INFO: ProcessCDR(1,14235590,1,1,2)
[2025-01-13 01:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235590', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235590', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:31:23] Production.INFO: ==11058== Releasing lock...
[2025-01-13 01:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:31:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:32:01] Production.INFO: ==11116== Lock acquired, processing the job...
[2025-01-13 06:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:32:01] Production.INFO: neon service started
[2025-01-13 06:32:01] Production.INFO: neon service started
[2025-01-13 06:32:01] Production.INFO: ==11116== Releasing lock...
[2025-01-13 06:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:32:01] Production.INFO: ==11120== Lock acquired, processing the job...
[2025-01-13 06:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:32:01] Production.INFO: ==11120== Releasing lock...
[2025-01-13 06:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:32:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:32:01] Production.INFO: ==11118== Lock acquired, processing the job...
[2025-01-13 01:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:32:02] Production.INFO: ==11118== Releasing lock...
[2025-01-13 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:32:03] Production.INFO: ==11130== Lock acquired, processing the job...
[2025-01-13 01:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:32:03] Production.INFO: ==11122== Lock acquired, processing the job...
[2025-01-13 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:32:03] Production.INFO: ==11133== Lock acquired, processing the job...
[2025-01-13 01:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:32:03] Production.INFO: ==11124== Lock acquired, processing the job...
[2025-01-13 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:32:03] Production.INFO: ==11126== Lock acquired, processing the job...
[2025-01-13 01:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:32:03] Production.INFO: ==11128== Lock acquired, processing the job...
[2025-01-13 01:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:32:03] Production.INFO: count ==21
[2025-01-13 01:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:32:03] Production.INFO: count ==21
[2025-01-13 01:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235592') start
[2025-01-13 01:32:03] Production.INFO: Account Balance Start.
[2025-01-13 01:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:32:03] Production.INFO: 117
[2025-01-13 01:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:32:03] Production.ERROR: done
[2025-01-13 01:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:32:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:32:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235592') end
[2025-01-13 01:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:32:03] Production.INFO: 1
[2025-01-13 01:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:32:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:32:03] Production.INFO: ==11133== Releasing lock...
[2025-01-13 01:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:32:03] Production.INFO: ==11124== Releasing lock...
[2025-01-13 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:32:03] Production.ERROR: done
[2025-01-13 01:32:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:32:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:32:03] Production.INFO: Total Charge 0
[2025-01-13 01:32:03] Production.INFO: CreateAllLog End
[2025-01-13 01:32:04] Production.INFO: Account Balance End.
[2025-01-13 01:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:32:04] Production.INFO: ==11128== Releasing lock...
[2025-01-13 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:32:04
[end_date_ymd] => 2025-01-13 01:32:04
[RateCDR] => 1
)
[2025-01-13 01:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:32:04' and `end` < '2025-01-13 01: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-13 01:32:12] Production.ERROR: CronJobId end10
[2025-01-13 01:32:12] Production.INFO: ==11126== Releasing lock...
[2025-01-13 01:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:32:14] Production.INFO: call_cost start
[2025-01-13 01:32:14] Production.INFO: call_cost end
[2025-01-13 01:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:32:15] Production.INFO: ==11122== Releasing lock...
[2025-01-13 01:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:32:17] Production.INFO: count ==194
[2025-01-13 01:32:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:32:04 - End Time 2025-01-13 01:32:04
[2025-01-13 01:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235595', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235595', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235595', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235595', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:32:17] Production.INFO: ProcessCDR(1,14235595,1,1,2)
[2025-01-13 01:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235595', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235595', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:32:21] Production.INFO: ==11130== Releasing lock...
[2025-01-13 01:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:32:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:33:01] Production.INFO: ==11189== Lock acquired, processing the job...
[2025-01-13 06:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:33:01] Production.INFO: neon service started
[2025-01-13 06:33:01] Production.INFO: neon service started
[2025-01-13 06:33:01] Production.INFO: ==11189== Releasing lock...
[2025-01-13 06:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:33:02] Production.INFO: ==11191== Lock acquired, processing the job...
[2025-01-13 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:33:02] Production.INFO: ==11193== Lock acquired, processing the job...
[2025-01-13 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:33:02] Production.INFO: ==11193== Releasing lock...
[2025-01-13 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:33:02] Production.INFO: ==11191== Releasing lock...
[2025-01-13 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:33:03] Production.INFO: ==11198== Lock acquired, processing the job...
[2025-01-13 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:33:03] Production.INFO: ==11204== Lock acquired, processing the job...
[2025-01-13 01:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:33:03] Production.INFO: ==11206== Lock acquired, processing the job...
[2025-01-13 01:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 01:33:03] Production.INFO: count ==21
[2025-01-13 01:33:03] Production.INFO: ==11196== Lock acquired, processing the job...
[2025-01-13 01:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 01:33:03] Production.INFO: count ==21
[2025-01-13 01:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235597') start
[2025-01-13 01:33:03] Production.INFO: ==11202== Lock acquired, processing the job...
[2025-01-13 01:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:33:03] Production.INFO: ==11198== Releasing lock...
[2025-01-13 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:33:03] Production.INFO: Account Balance Start.
[2025-01-13 01:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:33:03] Production.INFO: 117
[2025-01-13 01:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:33:03] Production.INFO: ==11200== Lock acquired, processing the job...
[2025-01-13 01:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:33:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:33:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235597') end
[2025-01-13 01:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:33:03] Production.INFO: 1
[2025-01-13 01:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:33:03] Production.INFO: ==11206== Releasing lock...
[2025-01-13 01:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:33:03] Production.ERROR: done
[2025-01-13 01:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:33:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:33:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:33:03] Production.ERROR: done
[2025-01-13 01:33:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:33:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:33:03] Production.INFO: Total Charge 0
[2025-01-13 01:33:03] Production.INFO: CreateAllLog End
[2025-01-13 01:33:04] Production.INFO: Account Balance End.
[2025-01-13 01:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:33:04] Production.INFO: ==11202== Releasing lock...
[2025-01-13 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:33:04
[end_date_ymd] => 2025-01-13 01:33:04
[RateCDR] => 1
)
[2025-01-13 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-12 22:33:04' and `end` < '2025-01-13 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-13 01:33:10] Production.ERROR: CronJobId end10
[2025-01-13 01:33:10] Production.INFO: ==11200== Releasing lock...
[2025-01-13 01:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:33:13] Production.INFO: call_cost start
[2025-01-13 01:33:13] Production.INFO: call_cost end
[2025-01-13 01:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:33:13] Production.INFO: ==11196== Releasing lock...
[2025-01-13 01:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:33:17] Production.INFO: count ==197
[2025-01-13 01:33:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:33:04 - End Time 2025-01-13 01:33:04
[2025-01-13 01:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235600', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235600', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235600', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235600', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:33:17] Production.INFO: ProcessCDR(1,14235600,1,1,2)
[2025-01-13 01:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235600', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235600', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:33:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:33:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:33:20] Production.INFO: ==11204== Releasing lock...
[2025-01-13 01:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:33:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:34:02] Production.INFO: ==11259== Lock acquired, processing the job...
[2025-01-13 06:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:34:02] Production.INFO: neon service started
[2025-01-13 06:34:02] Production.INFO: neon service started
[2025-01-13 06:34:02] Production.INFO: ==11259== Releasing lock...
[2025-01-13 06:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:34:02] Production.INFO: ==11264== Lock acquired, processing the job...
[2025-01-13 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:34:02] Production.INFO: ==11264== Releasing lock...
[2025-01-13 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:34:03] Production.INFO: ==11262== Lock acquired, processing the job...
[2025-01-13 01:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:34:03] Production.INFO: ==11262== Releasing lock...
[2025-01-13 01:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:34:04] Production.INFO: ==11266== Lock acquired, processing the job...
[2025-01-13 01:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:34:04] Production.INFO: ==11270== Lock acquired, processing the job...
[2025-01-13 01:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:34:04] Production.INFO: ==11276== Lock acquired, processing the job...
[2025-01-13 01:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 01:34:04] Production.INFO: ==11268== Lock acquired, processing the job...
[2025-01-13 01:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:34:04] Production.INFO: count ==21
[2025-01-13 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-13 01:34:04] Production.INFO: count ==21
[2025-01-13 01:34:04] Production.INFO: ==11272== Lock acquired, processing the job...
[2025-01-13 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:34:04] Production.INFO: ==11274== Lock acquired, processing the job...
[2025-01-13 01:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235602') start
[2025-01-13 01:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235602') end
[2025-01-13 01:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:34:04] Production.INFO: 1
[2025-01-13 01:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:34:04] Production.INFO: Account Balance Start.
[2025-01-13 01:34:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:34:04] Production.INFO: 117
[2025-01-13 01:34:04] Production.INFO: ==11276== Releasing lock...
[2025-01-13 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:34:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:34:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:34:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:34:05] Production.INFO: Date 2025-01-11
[2025-01-13 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-13 01:34:05] Production.INFO: Date 2025-01-12
[2025-01-13 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-13 01:34:05] Production.ERROR: done
[2025-01-13 01:34:05] Production.INFO: ==11268== Releasing lock...
[2025-01-13 01:34:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:34:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:34:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:34:05] Production.INFO: Date 2025-01-13
[2025-01-13 01:34:05] Production.INFO: Reseller ==> 0
[2025-01-13 01:34:05] Production.INFO: Total Charge 0
[2025-01-13 01:34:05] Production.INFO: CreateAllLog End
[2025-01-13 01:34:05] Production.ERROR: done
[2025-01-13 01:34:05] Production.INFO: Account Balance End.
[2025-01-13 01:34:05] Production.ERROR: CronJobId end 12
[2025-01-13 01:34:05] Production.INFO: ==11272== Releasing lock...
[2025-01-13 01:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:34:06
[end_date_ymd] => 2025-01-13 01:34:06
[RateCDR] => 1
)
[2025-01-13 01:34:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:34:06' and `end` < '2025-01-13 01:34:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:34:12] Production.ERROR: CronJobId end10
[2025-01-13 01:34:12] Production.INFO: ==11270== Releasing lock...
[2025-01-13 01:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:34:14] Production.INFO: call_cost start
[2025-01-13 01:34:14] Production.INFO: call_cost end
[2025-01-13 01:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:34:15] Production.INFO: ==11266== Releasing lock...
[2025-01-13 01:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:34:18] Production.INFO: count ==197
[2025-01-13 01:34:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:34:06 - End Time 2025-01-13 01:34:06
[2025-01-13 01:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235605', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235605', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235605', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235605', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:34:18] Production.INFO: ProcessCDR(1,14235605,1,1,2)
[2025-01-13 01:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235605', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235605', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:34:21] Production.INFO: ==11274== Releasing lock...
[2025-01-13 01:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:34:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:35:01] Production.INFO: ==11330== Lock acquired, processing the job...
[2025-01-13 06:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:35:01] Production.INFO: neon service started
[2025-01-13 06:35:01] Production.INFO: neon service started
[2025-01-13 06:35:01] Production.INFO: ==11330== Releasing lock...
[2025-01-13 06:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:35:02] Production.INFO: ==11332== Lock acquired, processing the job...
[2025-01-13 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:35:02] Production.INFO: ==11334== Lock acquired, processing the job...
[2025-01-13 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:35:02] Production.INFO: ==11334== Releasing lock...
[2025-01-13 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:35:02] Production.INFO: ==11332== Releasing lock...
[2025-01-13 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:35:03] Production.INFO: ==11339== Lock acquired, processing the job...
[2025-01-13 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:35:03] Production.INFO: ==11341== Lock acquired, processing the job...
[2025-01-13 01:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:35:03] Production.INFO: ==11337== Lock acquired, processing the job...
[2025-01-13 01:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:35:03] Production.INFO: ==11347== Lock acquired, processing the job...
[2025-01-13 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:35:03] Production.INFO: ==11339== Releasing lock...
[2025-01-13 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 01:35:03] Production.INFO: count ==21
[2025-01-13 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-13 01:35:03] Production.INFO: count ==21
[2025-01-13 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235608') start
[2025-01-13 01:35:03] Production.INFO: ==11343== Lock acquired, processing the job...
[2025-01-13 01:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:35:03] Production.INFO: ==11345== Lock acquired, processing the job...
[2025-01-13 01:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235608') end
[2025-01-13 01:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:35:03] Production.INFO: 1
[2025-01-13 01:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:35:03] Production.INFO: ==11347== Releasing lock...
[2025-01-13 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:35:04] Production.INFO: Account Balance Start.
[2025-01-13 01:35:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:35:04] Production.INFO: 117
[2025-01-13 01:35:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:35:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:35:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:35:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:35:04] Production.ERROR: done
[2025-01-13 01:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:35:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:35:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:35:04] Production.INFO: Total Charge 0
[2025-01-13 01:35:04] Production.INFO: CreateAllLog End
[2025-01-13 01:35:04] Production.ERROR: done
[2025-01-13 01:35:04] Production.INFO: Account Balance End.
[2025-01-13 01:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:35:04] Production.INFO: ==11343== Releasing lock...
[2025-01-13 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:35:05
[end_date_ymd] => 2025-01-13 01:35:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:35:05' and `end` < '2025-01-13 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-13 01:35:12] Production.ERROR: CronJobId end10
[2025-01-13 01:35:12] Production.INFO: ==11341== Releasing lock...
[2025-01-13 01:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:35:14] Production.INFO: call_cost start
[2025-01-13 01:35:14] Production.INFO: call_cost end
[2025-01-13 01:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:35:14] Production.INFO: ==11337== Releasing lock...
[2025-01-13 01:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:35:18] Production.INFO: count ==195
[2025-01-13 01:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:35:05 - End Time 2025-01-13 01:35:05
[2025-01-13 01:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235610', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235610', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235610', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235610', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:35:18] Production.INFO: ProcessCDR(1,14235610,1,1,2)
[2025-01-13 01:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235610', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235610', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:35:21] Production.INFO: ==11345== Releasing lock...
[2025-01-13 01:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:35:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:36:02] Production.INFO: ==11403== Lock acquired, processing the job...
[2025-01-13 06:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:36:02] Production.INFO: neon service started
[2025-01-13 06:36:02] Production.INFO: neon service started
[2025-01-13 06:36:02] Production.INFO: ==11403== Releasing lock...
[2025-01-13 06:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:36:02] Production.INFO: ==11405== Lock acquired, processing the job...
[2025-01-13 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:36:02] Production.INFO: ==11405== Releasing lock...
[2025-01-13 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:36:03] Production.INFO: ==11407== Lock acquired, processing the job...
[2025-01-13 06:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:36:03] Production.INFO: ==11407== Releasing lock...
[2025-01-13 06:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:36:03] Production.INFO: ==11414== Lock acquired, processing the job...
[2025-01-13 01:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:36:03] Production.INFO: ==11418== Lock acquired, processing the job...
[2025-01-13 01:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:36:04] Production.INFO: ==11410== Lock acquired, processing the job...
[2025-01-13 01:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:36:04] Production.INFO: ==11412== Lock acquired, processing the job...
[2025-01-13 01:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:36:04] Production.INFO: ==11416== Lock acquired, processing the job...
[2025-01-13 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:36:04] Production.INFO: ==11420== Lock acquired, processing the job...
[2025-01-13 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:36:04] Production.INFO: Account Balance Start.
[2025-01-13 01:36:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:36:04] Production.INFO: 117
[2025-01-13 01:36:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:36:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:36:04] Production.ERROR: done
[2025-01-13 01:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:36:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:36:04] Production.INFO: count ==21
[2025-01-13 01:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:36:04] Production.INFO: count ==21
[2025-01-13 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235614') start
[2025-01-13 01:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:36:04] Production.INFO: ==11412== Releasing lock...
[2025-01-13 01:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:36:04] Production.ERROR: done
[2025-01-13 01:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235614') end
[2025-01-13 01:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:36:04] Production.INFO: 1
[2025-01-13 01:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:36:04] Production.INFO: Total Charge 0
[2025-01-13 01:36:04] Production.INFO: CreateAllLog End
[2025-01-13 01:36:04] Production.INFO: ==11420== Releasing lock...
[2025-01-13 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:36:04] Production.INFO: Account Balance End.
[2025-01-13 01:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:36:04] Production.INFO: ==11416== Releasing lock...
[2025-01-13 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:36:05
[end_date_ymd] => 2025-01-13 01:36:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:36:05' and `end` < '2025-01-13 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-13 01:36:11] Production.ERROR: CronJobId end10
[2025-01-13 01:36:11] Production.INFO: ==11414== Releasing lock...
[2025-01-13 01:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:36:14] Production.INFO: call_cost start
[2025-01-13 01:36:14] Production.INFO: call_cost end
[2025-01-13 01:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:36:15] Production.INFO: ==11410== Releasing lock...
[2025-01-13 01:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:36:18] Production.INFO: count ==194
[2025-01-13 01:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:36:05 - End Time 2025-01-13 01:36:05
[2025-01-13 01:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235615', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235615', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235615', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235615', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:36:18] Production.INFO: ProcessCDR(1,14235615,1,1,2)
[2025-01-13 01:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235615', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235615', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:36:21] Production.INFO: ==11418== Releasing lock...
[2025-01-13 01:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:36:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:37:01] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-01-13 06:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:37:01] Production.INFO: neon service started
[2025-01-13 06:37:01] Production.INFO: neon service started
[2025-01-13 06:37:01] Production.INFO: ==11475== Releasing lock...
[2025-01-13 06:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:37:02] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-01-13 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:37:02] Production.INFO: ==11477== Releasing lock...
[2025-01-13 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:37:02] Production.INFO: ==11479== Lock acquired, processing the job...
[2025-01-13 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:37:02] Production.INFO: ==11479== Releasing lock...
[2025-01-13 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:37:03] Production.INFO: ==11488== Lock acquired, processing the job...
[2025-01-13 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:37:03] Production.INFO: ==11492== Lock acquired, processing the job...
[2025-01-13 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:37:03] Production.INFO: Account Balance Start.
[2025-01-13 01:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:37:03] Production.INFO: 117
[2025-01-13 01:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:37:03] Production.INFO: count ==21
[2025-01-13 01:37:03] Production.INFO: ==11481== Lock acquired, processing the job...
[2025-01-13 01:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 01:37:03] Production.INFO: count ==21
[2025-01-13 01:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:37:03] Production.INFO: ==11483== Lock acquired, processing the job...
[2025-01-13 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235617') start
[2025-01-13 01:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:37:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:37:03] Production.INFO: ==11485== Lock acquired, processing the job...
[2025-01-13 01:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:37:03] Production.INFO: ==11490== Lock acquired, processing the job...
[2025-01-13 01:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:37:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235617') end
[2025-01-13 01:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:37:03] Production.INFO: 1
[2025-01-13 01:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:37:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:37:03] Production.INFO: ==11492== Releasing lock...
[2025-01-13 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:37:03] Production.INFO: Total Charge 0
[2025-01-13 01:37:03] Production.INFO: CreateAllLog End
[2025-01-13 01:37:03] Production.INFO: ==11483== Releasing lock...
[2025-01-13 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:37:03] Production.INFO: Account Balance End.
[2025-01-13 01:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:37:04] Production.INFO: ==11488== Releasing lock...
[2025-01-13 01:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:37:04] Production.ERROR: done
[2025-01-13 01:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:37:04] Production.ERROR: done
[2025-01-13 01:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:37:05
[end_date_ymd] => 2025-01-13 01:37:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:37:05' and `end` < '2025-01-13 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-13 01:37:10] Production.ERROR: CronJobId end10
[2025-01-13 01:37:10] Production.INFO: ==11485== Releasing lock...
[2025-01-13 01:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:37:12] Production.INFO: call_cost start
[2025-01-13 01:37:12] Production.INFO: call_cost end
[2025-01-13 01:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:37:13] Production.INFO: ==11481== Releasing lock...
[2025-01-13 01:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:37:17] Production.INFO: count ==194
[2025-01-13 01:37:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:37:05 - End Time 2025-01-13 01:37:05
[2025-01-13 01:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235620', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235620', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235620', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235620', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:37:17] Production.INFO: ProcessCDR(1,14235620,1,1,2)
[2025-01-13 01:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235620', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235620', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:37:20] Production.INFO: ==11490== Releasing lock...
[2025-01-13 01:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:37:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:38:02] Production.INFO: ==11546== Lock acquired, processing the job...
[2025-01-13 06:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:38:02] Production.INFO: neon service started
[2025-01-13 06:38:02] Production.INFO: neon service started
[2025-01-13 06:38:02] Production.INFO: ==11546== Releasing lock...
[2025-01-13 06:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:38:02] Production.INFO: ==11548== Lock acquired, processing the job...
[2025-01-13 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:38:02] Production.INFO: ==11548== Releasing lock...
[2025-01-13 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:38:02] Production.INFO: ==11550== Lock acquired, processing the job...
[2025-01-13 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:38:03] Production.INFO: ==11550== Releasing lock...
[2025-01-13 06:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:38:03] Production.INFO: ==11552== Lock acquired, processing the job...
[2025-01-13 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:38:03] Production.INFO: ==11560== Lock acquired, processing the job...
[2025-01-13 01:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:38:03] Production.INFO: ==11554== Lock acquired, processing the job...
[2025-01-13 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:38:03] Production.INFO: ==11562== Lock acquired, processing the job...
[2025-01-13 01:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:38:04] Production.INFO: ==11556== Lock acquired, processing the job...
[2025-01-13 01:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:38:04] Production.INFO: ==11558== Lock acquired, processing the job...
[2025-01-13 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 01:38:04] Production.INFO: Account Balance Start.
[2025-01-13 01:38:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:38:04] Production.INFO: 117
[2025-01-13 01:38:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:38:04] Production.INFO: count ==21
[2025-01-13 01:38:04] Production.ERROR: done
[2025-01-13 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 01:38:04] Production.INFO: count ==21
[2025-01-13 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235622') start
[2025-01-13 01:38:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:38:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:38:04] Production.ERROR: done
[2025-01-13 01:38:04] Production.INFO: ==11554== Releasing lock...
[2025-01-13 01:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235622') end
[2025-01-13 01:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:38:04] Production.INFO: 1
[2025-01-13 01:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:38:04] Production.INFO: ==11562== Releasing lock...
[2025-01-13 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:38:04] Production.INFO: Total Charge 0
[2025-01-13 01:38:04] Production.INFO: CreateAllLog End
[2025-01-13 01:38:04] Production.INFO: Account Balance End.
[2025-01-13 01:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:38:04] Production.INFO: ==11558== Releasing lock...
[2025-01-13 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:38:04
[end_date_ymd] => 2025-01-13 01:38:04
[RateCDR] => 1
)
[2025-01-13 01:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:38:04' and `end` < '2025-01-13 01: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-13 01:38:10] Production.ERROR: CronJobId end10
[2025-01-13 01:38:10] Production.INFO: ==11556== Releasing lock...
[2025-01-13 01:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:38:14] Production.INFO: call_cost start
[2025-01-13 01:38:14] Production.INFO: call_cost end
[2025-01-13 01:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:38:15] Production.INFO: ==11552== Releasing lock...
[2025-01-13 01:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:38:17] Production.INFO: count ==194
[2025-01-13 01:38:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:38:04 - End Time 2025-01-13 01:38:04
[2025-01-13 01:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235625', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235625', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235625', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235625', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:38:17] Production.INFO: ProcessCDR(1,14235625,1,1,2)
[2025-01-13 01:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235625', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235625', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:38:20] Production.INFO: ==11560== Releasing lock...
[2025-01-13 01:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:38:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:39:01] Production.INFO: ==11617== Lock acquired, processing the job...
[2025-01-13 06:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:39:01] Production.INFO: neon service started
[2025-01-13 06:39:01] Production.INFO: neon service started
[2025-01-13 06:39:01] Production.INFO: ==11617== Releasing lock...
[2025-01-13 06:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:39:02] Production.INFO: ==11621== Lock acquired, processing the job...
[2025-01-13 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:39:02] Production.INFO: ==11621== Releasing lock...
[2025-01-13 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:39:02] Production.INFO: ==11623== Lock acquired, processing the job...
[2025-01-13 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:39:02] Production.INFO: ==11623== Releasing lock...
[2025-01-13 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:39:03] Production.INFO: ==11625== Lock acquired, processing the job...
[2025-01-13 01:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:39:03] Production.INFO: ==11631== Lock acquired, processing the job...
[2025-01-13 01:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:39:03] Production.INFO: ==11629== Lock acquired, processing the job...
[2025-01-13 01:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:39:03] Production.INFO: Account Balance Start.
[2025-01-13 01:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:39:03] Production.INFO: 117
[2025-01-13 01:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:39:03] Production.INFO: ==11627== Lock acquired, processing the job...
[2025-01-13 01:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:39:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:39:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:39:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:39:03] Production.INFO: Total Charge 0
[2025-01-13 01:39:03] Production.INFO: ==11633== Lock acquired, processing the job...
[2025-01-13 01:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:39:03] Production.INFO: CreateAllLog End
[2025-01-13 01:39:03] Production.INFO: ==11635== Lock acquired, processing the job...
[2025-01-13 01:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:39:03] Production.INFO: Account Balance End.
[2025-01-13 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-13 01:39:03] Production.ERROR: CronJobId end 12
[2025-01-13 01:39:03] Production.INFO: ==11631== Releasing lock...
[2025-01-13 01:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:39:03] Production.INFO: ==11627== Releasing lock...
[2025-01-13 01:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:39:03] Production.INFO: count ==21
[2025-01-13 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-13 01:39:03] Production.INFO: count ==21
[2025-01-13 01:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235629') start
[2025-01-13 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235629') end
[2025-01-13 01:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:39:04] Production.ERROR: done
[2025-01-13 01:39:04] Production.INFO: 1
[2025-01-13 01:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:39:04] Production.INFO: ==11635== Releasing lock...
[2025-01-13 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:39:04] Production.ERROR: done
[2025-01-13 01:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:39:05
[end_date_ymd] => 2025-01-13 01:39:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:39:05' and `end` < '2025-01-13 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-13 01:39:11] Production.ERROR: CronJobId end10
[2025-01-13 01:39:11] Production.INFO: ==11629== Releasing lock...
[2025-01-13 01:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:39:13] Production.INFO: call_cost start
[2025-01-13 01:39:13] Production.INFO: call_cost end
[2025-01-13 01:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:39:14] Production.INFO: ==11625== Releasing lock...
[2025-01-13 01:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:39:17] Production.INFO: count ==194
[2025-01-13 01:39:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:39:05 - End Time 2025-01-13 01:39:05
[2025-01-13 01:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235630', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235630', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235630', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235630', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:39:17] Production.INFO: ProcessCDR(1,14235630,1,1,2)
[2025-01-13 01:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235630', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235630', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:39:20] Production.INFO: ==11633== Releasing lock...
[2025-01-13 01:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:39:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:40:02] Production.INFO: ==11690== Lock acquired, processing the job...
[2025-01-13 06:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:40:02] Production.INFO: neon service started
[2025-01-13 06:40:02] Production.INFO: neon service started
[2025-01-13 06:40:02] Production.INFO: ==11690== Releasing lock...
[2025-01-13 06:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:40:02] Production.INFO: ==11692== Lock acquired, processing the job...
[2025-01-13 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:40:02] Production.INFO: ==11694== Lock acquired, processing the job...
[2025-01-13 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:40:02] Production.INFO: ==11692== Releasing lock...
[2025-01-13 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:40:02] Production.INFO: ==11694== Releasing lock...
[2025-01-13 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:40:03] Production.INFO: ==11702== Lock acquired, processing the job...
[2025-01-13 01:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:40:04] Production.INFO: ==11708== Lock acquired, processing the job...
[2025-01-13 01:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 01:40:04] Production.INFO: ==11696== Lock acquired, processing the job...
[2025-01-13 01:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 01:40:04] Production.ERROR: CronJob PID - 11702
[2025-01-13 01:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 01:40:04] Production.ERROR: CronJob ID - 10
[2025-01-13 01:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 01:40:00
[2025-01-13 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 01:40:04] Production.ERROR: CronJob PID - 11708
[2025-01-13 01:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 01:40:04] Production.ERROR: CronJob ID - 17
[2025-01-13 01:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 01:40:00
[2025-01-13 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 01:40:04] Production.INFO: ==11698== Lock acquired, processing the job...
[2025-01-13 01:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 01:40:04] Production.INFO: ==11696== Releasing lock...
[2025-01-13 01:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 01:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 01:40:04] Production.INFO: ==11700== Lock acquired, processing the job...
[2025-01-13 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:40:04] Production.INFO: ==11704== Lock acquired, processing the job...
[2025-01-13 01:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:40:04] Production.INFO: ==11710== Lock acquired, processing the job...
[2025-01-13 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:40:04] Production.INFO: ==11706== Lock acquired, processing the job...
[2025-01-13 01:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:40:04] Production.ERROR: done
[2025-01-13 01:40:04] Production.INFO: Account Balance Start.
[2025-01-13 01:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:40:04] Production.INFO: 117
[2025-01-13 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 01:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235635', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 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-13 01:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:40:04] Production.INFO: count ==21
[2025-01-13 01:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:40:04] Production.INFO: count ==21
[2025-01-13 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235634') start
[2025-01-13 01:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:40:04] Production.INFO: ==11700== Releasing lock...
[2025-01-13 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:40:04] Production.ERROR: done
[2025-01-13 01:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:40:05] Production.INFO: Date 2025-01-13
[2025-01-13 01:40:05] Production.INFO: Reseller ==> 0
[2025-01-13 01:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235634') end
[2025-01-13 01:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:40:05] Production.INFO: 1
[2025-01-13 01:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:40:05] Production.INFO: Total Charge 0
[2025-01-13 01:40:05] Production.INFO: CreateAllLog End
[2025-01-13 01:40:05] Production.INFO: ==11710== Releasing lock...
[2025-01-13 01:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:40:05] Production.ERROR: done
[2025-01-13 01:40:05] Production.INFO: Account Balance End.
[2025-01-13 01:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 01:40:05] Production.INFO: ==11704== Releasing lock...
[2025-01-13 01:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:40:06
[end_date_ymd] => 2025-01-13 01:40:06
[RateCDR] => 1
)
[2025-01-13 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-12 22:40:06' and `end` < '2025-01-13 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-13 01:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235635', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 01:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 01:40:09] Production.INFO: ProcessCDR(1,14235635,1,1,2)
[2025-01-13 01:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235635,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235635,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:40:09] Production.INFO: ==11708== Releasing lock...
[2025-01-13 01:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 01:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 01:40:13] Production.ERROR: CronJobId end10
[2025-01-13 01:40:13] Production.INFO: ==11702== Releasing lock...
[2025-01-13 01:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:40:15] Production.INFO: call_cost start
[2025-01-13 01:40:15] Production.INFO: call_cost end
[2025-01-13 01:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:40:16] Production.INFO: ==11698== Releasing lock...
[2025-01-13 01:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:40:18] Production.INFO: count ==200
[2025-01-13 01:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:40:06 - End Time 2025-01-13 01:40:06
[2025-01-13 01:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235636', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235636', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235636', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235636', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:40:18] Production.INFO: ProcessCDR(1,14235636,1,1,2)
[2025-01-13 01:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235636', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235636', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:40:22] Production.INFO: ==11706== Releasing lock...
[2025-01-13 01:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:40:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:41:01] Production.INFO: ==11763== Lock acquired, processing the job...
[2025-01-13 06:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:41:01] Production.INFO: neon service started
[2025-01-13 06:41:01] Production.INFO: neon service started
[2025-01-13 06:41:01] Production.INFO: ==11763== Releasing lock...
[2025-01-13 06:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:41:01] Production.INFO: ==11765== Lock acquired, processing the job...
[2025-01-13 01:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:41:02] Production.INFO: ==11765== Releasing lock...
[2025-01-13 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:41:02] Production.INFO: ==11767== Lock acquired, processing the job...
[2025-01-13 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:41:02] Production.INFO: ==11767== Releasing lock...
[2025-01-13 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:41:02] Production.INFO: 26 MB #Memory Used#
[2025-01-13 01:41:03] Production.INFO: ==11775== Lock acquired, processing the job...
[2025-01-13 01:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:41:03] Production.INFO: ==11779== Lock acquired, processing the job...
[2025-01-13 01:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:41:03] Production.INFO: ==11769== Lock acquired, processing the job...
[2025-01-13 01:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:41:03] Production.INFO: Account Balance Start.
[2025-01-13 01:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:41:03] Production.INFO: 117
[2025-01-13 01: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-13 01:41:03] Production.INFO: ==11771== Lock acquired, processing the job...
[2025-01-13 01:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:41:03] Production.INFO: ==11773== Lock acquired, processing the job...
[2025-01-13 01:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:41:03] Production.INFO: count ==21
[2025-01-13 01: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-13 01:41:03] Production.INFO: count ==21
[2025-01-13 01:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235638') start
[2025-01-13 01:41:03] Production.INFO: ==11777== Lock acquired, processing the job...
[2025-01-13 01:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235638') end
[2025-01-13 01:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:41:03] Production.INFO: 1
[2025-01-13 01:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:41:03] Production.INFO: ==11779== Releasing lock...
[2025-01-13 01:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:41:03] Production.INFO: Total Charge 0
[2025-01-13 01:41:03] Production.INFO: CreateAllLog End
[2025-01-13 01:41:03] Production.INFO: ==11771== Releasing lock...
[2025-01-13 01:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:41:03] Production.ERROR: done
[2025-01-13 01:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:41:04] Production.ERROR: done
[2025-01-13 01:41:04] Production.INFO: Account Balance End.
[2025-01-13 01:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:41:04] Production.INFO: ==11775== Releasing lock...
[2025-01-13 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:41:05
[end_date_ymd] => 2025-01-13 01:41:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:41:05' and `end` < '2025-01-13 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-13 01:41:11] Production.ERROR: CronJobId end10
[2025-01-13 01:41:11] Production.INFO: ==11773== Releasing lock...
[2025-01-13 01:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:41:14] Production.INFO: call_cost start
[2025-01-13 01:41:14] Production.INFO: call_cost end
[2025-01-13 01:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:41:14] Production.INFO: ==11769== Releasing lock...
[2025-01-13 01:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:41:17] Production.INFO: count ==200
[2025-01-13 01:41:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:41:05 - End Time 2025-01-13 01:41:05
[2025-01-13 01:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235641', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235641', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235641', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235641', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:41:17] Production.INFO: ProcessCDR(1,14235641,1,1,2)
[2025-01-13 01:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235641', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235641', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:41:20] Production.INFO: ==11777== Releasing lock...
[2025-01-13 01:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:41:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 06:42:02] Production.INFO: ==11832== Lock acquired, processing the job...
[2025-01-13 06:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:42:02] Production.INFO: neon service started
[2025-01-13 06:42:02] Production.INFO: neon service started
[2025-01-13 06:42:02] Production.INFO: ==11832== Releasing lock...
[2025-01-13 06:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:42:02] Production.INFO: ==11837== Lock acquired, processing the job...
[2025-01-13 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:42:02] Production.INFO: ==11837== Releasing lock...
[2025-01-13 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:42:02] Production.INFO: ==11835== Lock acquired, processing the job...
[2025-01-13 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:42:02] Production.INFO: ==11835== Releasing lock...
[2025-01-13 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:42:03] Production.INFO: ==11843== Lock acquired, processing the job...
[2025-01-13 01:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:42:03] Production.INFO: ==11845== Lock acquired, processing the job...
[2025-01-13 01:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:42:03] Production.INFO: ==11847== Lock acquired, processing the job...
[2025-01-13 01:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:42:03] Production.INFO: Account Balance Start.
[2025-01-13 01:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:42:03] Production.INFO: 117
[2025-01-13 01:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:42:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:42:03] Production.INFO: ==11839== Lock acquired, processing the job...
[2025-01-13 01:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:42:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:42:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:42:03] Production.INFO: ==11841== Lock acquired, processing the job...
[2025-01-13 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:42:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:42:04] Production.ERROR: done
[2025-01-13 01:42:04] Production.INFO: Total Charge 0
[2025-01-13 01:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:42:04] Production.INFO: CreateAllLog End
[2025-01-13 01:42:04] Production.INFO: ==11849== Lock acquired, processing the job...
[2025-01-13 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:42:04] Production.ERROR: done
[2025-01-13 01:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:42:04] Production.INFO: Account Balance End.
[2025-01-13 01:42:04] Production.INFO: count ==21
[2025-01-13 01:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:42:04] Production.INFO: count ==21
[2025-01-13 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235645') start
[2025-01-13 01:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:42:04] Production.INFO: ==11845== Releasing lock...
[2025-01-13 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:42:04] Production.INFO: ==11841== Releasing lock...
[2025-01-13 01:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235645') end
[2025-01-13 01:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:42:04] Production.INFO: 1
[2025-01-13 01:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:42:04] Production.INFO: ==11849== Releasing lock...
[2025-01-13 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:42:05
[end_date_ymd] => 2025-01-13 01:42:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:42:05' and `end` < '2025-01-13 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-13 01:42:11] Production.ERROR: CronJobId end10
[2025-01-13 01:42:11] Production.INFO: ==11843== Releasing lock...
[2025-01-13 01:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:42:13] Production.INFO: call_cost start
[2025-01-13 01:42:13] Production.INFO: call_cost end
[2025-01-13 01:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:42:14] Production.INFO: ==11839== Releasing lock...
[2025-01-13 01:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:42:18] Production.INFO: count ==200
[2025-01-13 01:42:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:42:05 - End Time 2025-01-13 01:42:05
[2025-01-13 01:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235646', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235646', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235646', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235646', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:42:18] Production.INFO: ProcessCDR(1,14235646,1,1,2)
[2025-01-13 01:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235646', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235646', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:42:21] Production.INFO: ==11847== Releasing lock...
[2025-01-13 01:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:42:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:43:01] Production.INFO: ==11943== Lock acquired, processing the job...
[2025-01-13 06:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:43:01] Production.INFO: neon service started
[2025-01-13 06:43:01] Production.INFO: neon service started
[2025-01-13 06:43:01] Production.INFO: ==11943== Releasing lock...
[2025-01-13 06:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:43:01] Production.INFO: ==11945== Lock acquired, processing the job...
[2025-01-13 01:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:43:02] Production.INFO: ==11945== Releasing lock...
[2025-01-13 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:43:02] Production.INFO: ==11947== Lock acquired, processing the job...
[2025-01-13 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:43:02] Production.INFO: ==11947== Releasing lock...
[2025-01-13 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:43:02] Production.INFO: ==11949== Lock acquired, processing the job...
[2025-01-13 01:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:43:03] Production.INFO: ==11959== Lock acquired, processing the job...
[2025-01-13 01:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:43:03] Production.INFO: ==11953== Lock acquired, processing the job...
[2025-01-13 01:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:43:03] Production.INFO: ==11951== Lock acquired, processing the job...
[2025-01-13 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:43:03] Production.INFO: ==11955== Lock acquired, processing the job...
[2025-01-13 01:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01: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-13 01:43:03] Production.INFO: ==11957== Lock acquired, processing the job...
[2025-01-13 01:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:43:03] Production.INFO: count ==21
[2025-01-13 01: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-13 01:43:03] Production.INFO: count ==21
[2025-01-13 01:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:43:03] Production.INFO: Account Balance Start.
[2025-01-13 01:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235647') start
[2025-01-13 01:43:03] Production.INFO: 117
[2025-01-13 01:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235647') end
[2025-01-13 01:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:43:03] Production.INFO: 1
[2025-01-13 01:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:43:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:43:03] Production.INFO: ==11959== Releasing lock...
[2025-01-13 01:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:43:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:43:03] Production.ERROR: done
[2025-01-13 01:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:43:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:43:03] Production.ERROR: done
[2025-01-13 01:43:03] Production.INFO: ==11951== Releasing lock...
[2025-01-13 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:43:03] Production.INFO: Total Charge 0
[2025-01-13 01:43:03] Production.INFO: CreateAllLog End
[2025-01-13 01:43:03] Production.INFO: Account Balance End.
[2025-01-13 01:43:03] Production.ERROR: CronJobId end 12
[2025-01-13 01:43:03] Production.INFO: ==11955== Releasing lock...
[2025-01-13 01:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:43:04
[end_date_ymd] => 2025-01-13 01:43:04
[RateCDR] => 1
)
[2025-01-13 01:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:43:04' and `end` < '2025-01-13 01: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-13 01:43:10] Production.ERROR: CronJobId end10
[2025-01-13 01:43:10] Production.INFO: ==11953== Releasing lock...
[2025-01-13 01:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:43:12] Production.INFO: call_cost start
[2025-01-13 01:43:12] Production.INFO: call_cost end
[2025-01-13 01:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:43:13] Production.INFO: ==11949== Releasing lock...
[2025-01-13 01:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:43:17] Production.INFO: count ==200
[2025-01-13 01:43:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:43:04 - End Time 2025-01-13 01:43:04
[2025-01-13 01:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235651', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235651', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235651', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235651', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:43:17] Production.INFO: ProcessCDR(1,14235651,1,1,2)
[2025-01-13 01:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235651', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235651', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:43:20] Production.INFO: ==11957== Releasing lock...
[2025-01-13 01:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:43:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:44:02] Production.INFO: ==12016== Lock acquired, processing the job...
[2025-01-13 06:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:44:02] Production.INFO: neon service started
[2025-01-13 06:44:02] Production.INFO: neon service started
[2025-01-13 06:44:02] Production.INFO: ==12016== Releasing lock...
[2025-01-13 06:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:44:02] Production.INFO: ==12018== Lock acquired, processing the job...
[2025-01-13 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:44:02] Production.INFO: ==12018== Releasing lock...
[2025-01-13 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:44:02] Production.INFO: ==12020== Lock acquired, processing the job...
[2025-01-13 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:44:02] Production.INFO: ==12020== Releasing lock...
[2025-01-13 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:44:03] Production.INFO: ==12024== Lock acquired, processing the job...
[2025-01-13 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:44:03] Production.INFO: ==12022== Lock acquired, processing the job...
[2025-01-13 01:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:44:03] Production.INFO: ==12032== Lock acquired, processing the job...
[2025-01-13 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:44:03] Production.INFO: ==12026== Lock acquired, processing the job...
[2025-01-13 01:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:44:03] Production.INFO: ==12028== Lock acquired, processing the job...
[2025-01-13 01:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:44:03] Production.INFO: ==12030== Lock acquired, processing the job...
[2025-01-13 01:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 01:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:44:03] Production.INFO: count ==21
[2025-01-13 01:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:44:03] Production.INFO: Account Balance Start.
[2025-01-13 01:44:03] Production.INFO: CreateAllLog Start
[2025-01-13 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-13 01:44:04] Production.INFO: 117
[2025-01-13 01:44:04] Production.INFO: count ==21
[2025-01-13 01:44:04] Production.INFO: ==12024== Releasing lock...
[2025-01-13 01:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:44:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235653') start
[2025-01-13 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:44:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235653') end
[2025-01-13 01:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:44:04] Production.INFO: 1
[2025-01-13 01:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:44:04] Production.ERROR: done
[2025-01-13 01:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:44:04] Production.INFO: ==12032== Releasing lock...
[2025-01-13 01:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:44:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:44:04] Production.INFO: Total Charge 0
[2025-01-13 01:44:04] Production.INFO: CreateAllLog End
[2025-01-13 01:44:04] Production.ERROR: done
[2025-01-13 01:44:04] Production.INFO: Account Balance End.
[2025-01-13 01:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:44:04] Production.INFO: ==12028== Releasing lock...
[2025-01-13 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:44:05
[end_date_ymd] => 2025-01-13 01:44:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:44:05' and `end` < '2025-01-13 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-13 01:44:11] Production.ERROR: CronJobId end10
[2025-01-13 01:44:11] Production.INFO: ==12026== Releasing lock...
[2025-01-13 01:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:44:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:44:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:44:14] Production.INFO: call_cost start
[2025-01-13 01:44:14] Production.INFO: call_cost end
[2025-01-13 01:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:44:15] Production.INFO: ==12022== Releasing lock...
[2025-01-13 01:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:44:18] Production.INFO: count ==200
[2025-01-13 01:44:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:44:05 - End Time 2025-01-13 01:44:05
[2025-01-13 01:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235656', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235656', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235656', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235656', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:44:18] Production.INFO: ProcessCDR(1,14235656,1,1,2)
[2025-01-13 01:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235656', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235656', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:44:21] Production.INFO: ==12030== Releasing lock...
[2025-01-13 01:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:44:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:45:01] Production.INFO: ==12086== Lock acquired, processing the job...
[2025-01-13 06:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:45:01] Production.INFO: neon service started
[2025-01-13 06:45:01] Production.INFO: neon service started
[2025-01-13 06:45:01] Production.INFO: ==12086== Releasing lock...
[2025-01-13 06:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:45:01] Production.INFO: ==12088== Lock acquired, processing the job...
[2025-01-13 01:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:45:02] Production.INFO: ==12088== Releasing lock...
[2025-01-13 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:45:02] Production.INFO: ==12090== Lock acquired, processing the job...
[2025-01-13 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:45:02] Production.INFO: ==12090== Releasing lock...
[2025-01-13 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:45:02] Production.INFO: ==12100== Lock acquired, processing the job...
[2025-01-13 01:45:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:45:03] Production.INFO: ==12092== Lock acquired, processing the job...
[2025-01-13 01:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:45:03] Production.INFO: ==12094== Lock acquired, processing the job...
[2025-01-13 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:45:03] Production.INFO: ==12096== Lock acquired, processing the job...
[2025-01-13 01:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:45:03] Production.INFO: ==12098== Lock acquired, processing the job...
[2025-01-13 01:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:45:03] Production.INFO: ==12102== Lock acquired, processing the job...
[2025-01-13 01:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:45:03] Production.ERROR: done
[2025-01-13 01:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:45:03] Production.INFO: Account Balance Start.
[2025-01-13 01:45:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:45:03] Production.INFO: 117
[2025-01-13 01:45:03] Production.ERROR: done
[2025-01-13 01:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:45:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:45:03] Production.INFO: count ==21
[2025-01-13 01:45:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:45:03] Production.INFO: count ==21
[2025-01-13 01:45:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235660') start
[2025-01-13 01:45:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:45:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:45:03] Production.INFO: ==12094== Releasing lock...
[2025-01-13 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:45:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:45:03] Production.INFO: Total Charge 0
[2025-01-13 01:45:03] Production.INFO: CreateAllLog End
[2025-01-13 01:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235660') end
[2025-01-13 01:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:45:03] Production.INFO: 1
[2025-01-13 01:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:45:03] Production.INFO: ==12102== Releasing lock...
[2025-01-13 01:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:45:03] Production.INFO: Account Balance End.
[2025-01-13 01:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:45:04] Production.INFO: ==12098== Releasing lock...
[2025-01-13 01:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:45:04
[end_date_ymd] => 2025-01-13 01:45:04
[RateCDR] => 1
)
[2025-01-13 01:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:45:04' and `end` < '2025-01-13 01: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-13 01:45: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-13 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-13 01:45:10] Production.ERROR: CronJobId end10
[2025-01-13 01:45:10] Production.INFO: ==12096== Releasing lock...
[2025-01-13 01:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:45:13] Production.INFO: call_cost start
[2025-01-13 01:45:13] Production.INFO: call_cost end
[2025-01-13 01:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:45:13] Production.INFO: ==12092== Releasing lock...
[2025-01-13 01:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:45:18] Production.INFO: count ==200
[2025-01-13 01:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:45:04 - End Time 2025-01-13 01:45:04
[2025-01-13 01:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235661', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235661', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235661', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235661', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:45:18] Production.INFO: ProcessCDR(1,14235661,1,1,2)
[2025-01-13 01:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235661', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235661', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:45:21] Production.INFO: ==12100== Releasing lock...
[2025-01-13 01:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:45:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:46:02] Production.INFO: ==12163== Lock acquired, processing the job...
[2025-01-13 06:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:46:02] Production.INFO: neon service started
[2025-01-13 06:46:02] Production.INFO: neon service started
[2025-01-13 06:46:02] Production.INFO: ==12163== Releasing lock...
[2025-01-13 06:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:46:02] Production.INFO: ==12168== Lock acquired, processing the job...
[2025-01-13 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:46:02] Production.INFO: ==12168== Releasing lock...
[2025-01-13 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:46:02] Production.INFO: ==12166== Lock acquired, processing the job...
[2025-01-13 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:46:03] Production.INFO: ==12166== Releasing lock...
[2025-01-13 01:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:46:03] Production.INFO: ==12170== Lock acquired, processing the job...
[2025-01-13 01:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:46:03] Production.INFO: ==12174== Lock acquired, processing the job...
[2025-01-13 01:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:46:04] Production.INFO: ==12178== Lock acquired, processing the job...
[2025-01-13 01:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:46:04] Production.INFO: ==12172== Lock acquired, processing the job...
[2025-01-13 01:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:46:04] Production.INFO: ==12176== Lock acquired, processing the job...
[2025-01-13 01:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:46:04] Production.INFO: ==12180== Lock acquired, processing the job...
[2025-01-13 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01: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-13 01:46:04] Production.INFO: Account Balance Start.
[2025-01-13 01:46:04] Production.ERROR: done
[2025-01-13 01:46:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:46:04] Production.INFO: count ==21
[2025-01-13 01:46:04] Production.INFO: 117
[2025-01-13 01:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:46:04] Production.INFO: count ==21
[2025-01-13 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235665') start
[2025-01-13 01:46:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:46:04] Production.INFO: ==12172== Releasing lock...
[2025-01-13 01:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235665') end
[2025-01-13 01:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:46:04] Production.INFO: 1
[2025-01-13 01:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:46:04] Production.ERROR: done
[2025-01-13 01:46:04] Production.INFO: ==12180== Releasing lock...
[2025-01-13 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:46:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:46:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:46:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:46:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:46:05] Production.INFO: Date 2025-01-13
[2025-01-13 01:46:05] Production.INFO: Reseller ==> 0
[2025-01-13 01:46:05] Production.INFO: Total Charge 0
[2025-01-13 01:46:05] Production.INFO: CreateAllLog End
[2025-01-13 01:46:05] Production.INFO: Account Balance End.
[2025-01-13 01:46:05] Production.ERROR: CronJobId end 12
[2025-01-13 01:46:05] Production.INFO: ==12176== Releasing lock...
[2025-01-13 01:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:46:05
[end_date_ymd] => 2025-01-13 01:46:05
[RateCDR] => 1
)
[2025-01-13 01:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:46:05' and `end` < '2025-01-13 01:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:46:11] Production.ERROR: CronJobId end10
[2025-01-13 01:46:11] Production.INFO: ==12174== Releasing lock...
[2025-01-13 01:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:46:13] Production.INFO: call_cost start
[2025-01-13 01:46:13] Production.INFO: call_cost end
[2025-01-13 01:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:46:14] Production.INFO: ==12170== Releasing lock...
[2025-01-13 01:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:46:18] Production.INFO: count ==200
[2025-01-13 01:46:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:46:05 - End Time 2025-01-13 01:46:05
[2025-01-13 01:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235666', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235666', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235666', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235666', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:46:18] Production.INFO: ProcessCDR(1,14235666,1,1,2)
[2025-01-13 01:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235666', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235666', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:46:21] Production.INFO: ==12178== Releasing lock...
[2025-01-13 01:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:46:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:47:01] Production.INFO: ==12233== Lock acquired, processing the job...
[2025-01-13 06:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:47:01] Production.INFO: neon service started
[2025-01-13 06:47:01] Production.INFO: neon service started
[2025-01-13 06:47:01] Production.INFO: ==12233== Releasing lock...
[2025-01-13 06:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:47:01] Production.INFO: ==12236== Lock acquired, processing the job...
[2025-01-13 01:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:47:02] Production.INFO: ==12236== Releasing lock...
[2025-01-13 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:47:02] Production.INFO: ==12238== Lock acquired, processing the job...
[2025-01-13 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:47:02] Production.INFO: ==12238== Releasing lock...
[2025-01-13 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:47:03] Production.INFO: ==12250== Lock acquired, processing the job...
[2025-01-13 01:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:47:03] Production.INFO: ==12248== Lock acquired, processing the job...
[2025-01-13 01:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:47:03] Production.INFO: ==12240== Lock acquired, processing the job...
[2025-01-13 01:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:47:03] Production.INFO: ==12242== Lock acquired, processing the job...
[2025-01-13 01:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:47:03] Production.INFO: count ==21
[2025-01-13 01:47:03] Production.INFO: ==12244== Lock acquired, processing the job...
[2025-01-13 01:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:47:03] Production.INFO: ==12246== Lock acquired, processing the job...
[2025-01-13 01:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:47:03] Production.INFO: count ==21
[2025-01-13 01:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235667') start
[2025-01-13 01:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:47:03] Production.ERROR: done
[2025-01-13 01:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:47:03] Production.INFO: Account Balance Start.
[2025-01-13 01:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:47:03] Production.INFO: 117
[2025-01-13 01:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235667') end
[2025-01-13 01:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:47:03] Production.INFO: 1
[2025-01-13 01:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:47:03] Production.INFO: ==12250== Releasing lock...
[2025-01-13 01:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:47:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:47:03] Production.ERROR: done
[2025-01-13 01:47:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:47:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:47:03] Production.INFO: ==12242== Releasing lock...
[2025-01-13 01:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:47:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:47:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:47:03] Production.INFO: Total Charge 0
[2025-01-13 01:47:03] Production.INFO: CreateAllLog End
[2025-01-13 01:47:04] Production.INFO: Account Balance End.
[2025-01-13 01:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:47:04] Production.INFO: ==12246== Releasing lock...
[2025-01-13 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:47:04
[end_date_ymd] => 2025-01-13 01:47:04
[RateCDR] => 1
)
[2025-01-13 01:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:47:04' and `end` < '2025-01-13 01:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:47:10] Production.ERROR: CronJobId end10
[2025-01-13 01:47:10] Production.INFO: ==12244== Releasing lock...
[2025-01-13 01:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:47:12] Production.INFO: call_cost start
[2025-01-13 01:47:12] Production.INFO: call_cost end
[2025-01-13 01:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:47:13] Production.INFO: ==12240== Releasing lock...
[2025-01-13 01:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:47:17] Production.INFO: count ==198
[2025-01-13 01:47:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:47:04 - End Time 2025-01-13 01:47:04
[2025-01-13 01:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235671', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235671', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235671', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235671', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:47:17] Production.INFO: ProcessCDR(1,14235671,1,1,2)
[2025-01-13 01:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235671', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235671', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:47:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:47:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:47:20] Production.INFO: ==12248== Releasing lock...
[2025-01-13 01:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:47:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:48:02] Production.INFO: ==12304== Lock acquired, processing the job...
[2025-01-13 06:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:48:02] Production.INFO: neon service started
[2025-01-13 06:48:02] Production.INFO: neon service started
[2025-01-13 06:48:02] Production.INFO: ==12304== Releasing lock...
[2025-01-13 06:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:48:02] Production.INFO: ==12306== Lock acquired, processing the job...
[2025-01-13 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:48:02] Production.INFO: ==12308== Lock acquired, processing the job...
[2025-01-13 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:48:02] Production.INFO: ==12308== Releasing lock...
[2025-01-13 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:48:03] Production.INFO: ==12306== Releasing lock...
[2025-01-13 01:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:48:03] Production.INFO: ==12311== Lock acquired, processing the job...
[2025-01-13 01:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:48:03] Production.INFO: ==12313== Lock acquired, processing the job...
[2025-01-13 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:48:03] Production.INFO: ==12317== Lock acquired, processing the job...
[2025-01-13 01:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:48:04] Production.INFO: ==12315== Lock acquired, processing the job...
[2025-01-13 01:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:48:04] Production.INFO: Account Balance Start.
[2025-01-13 01:48:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:48:04] Production.INFO: 117
[2025-01-13 01:48:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:48:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:48:04] Production.INFO: ==12319== Lock acquired, processing the job...
[2025-01-13 01:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:48:04] Production.INFO: ==12313== Releasing lock...
[2025-01-13 01:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:48:04] Production.INFO: ==12321== Lock acquired, processing the job...
[2025-01-13 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:48:04] Production.INFO: Total Charge 0
[2025-01-13 01:48:04] Production.INFO: CreateAllLog End
[2025-01-13 01:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:48:04] Production.INFO: count ==21
[2025-01-13 01:48:04] Production.ERROR: done
[2025-01-13 01:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:48:04] Production.INFO: count ==21
[2025-01-13 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235675') start
[2025-01-13 01:48:04] Production.INFO: Account Balance End.
[2025-01-13 01:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:48:04] Production.INFO: ==12317== Releasing lock...
[2025-01-13 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:48:04] Production.ERROR: done
[2025-01-13 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235675') end
[2025-01-13 01:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:48:04] Production.INFO: 1
[2025-01-13 01:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:48:04] Production.INFO: ==12321== Releasing lock...
[2025-01-13 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:48:05
[end_date_ymd] => 2025-01-13 01:48:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:48:05' and `end` < '2025-01-13 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-13 01:48:11] Production.ERROR: CronJobId end10
[2025-01-13 01:48:11] Production.INFO: ==12315== Releasing lock...
[2025-01-13 01:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:48:12] Production.INFO: call_cost start
[2025-01-13 01:48:12] Production.INFO: call_cost end
[2025-01-13 01:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:48:13] Production.INFO: ==12311== Releasing lock...
[2025-01-13 01:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:48:18] Production.INFO: count ==198
[2025-01-13 01:48:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:48:05 - End Time 2025-01-13 01:48:05
[2025-01-13 01:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235676', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235676', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235676', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235676', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:48:18] Production.INFO: ProcessCDR(1,14235676,1,1,2)
[2025-01-13 01:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235676', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235676', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:48:21] Production.INFO: ==12319== Releasing lock...
[2025-01-13 01:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:48:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:49:01] Production.INFO: ==12377== Lock acquired, processing the job...
[2025-01-13 06:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:49:01] Production.INFO: neon service started
[2025-01-13 06:49:01] Production.INFO: neon service started
[2025-01-13 06:49:01] Production.INFO: ==12377== Releasing lock...
[2025-01-13 06:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:49:01] Production.INFO: ==12379== Lock acquired, processing the job...
[2025-01-13 01:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:49:02] Production.INFO: ==12381== Lock acquired, processing the job...
[2025-01-13 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 01:49:02] Production.INFO: ==12379== Releasing lock...
[2025-01-13 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:49:02] Production.INFO: ==12381== Releasing lock...
[2025-01-13 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:49:02] Production.INFO: ==12389== Lock acquired, processing the job...
[2025-01-13 01:49:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:49:03] Production.INFO: Account Balance Start.
[2025-01-13 01:49:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:49:03] Production.INFO: ==12383== Lock acquired, processing the job...
[2025-01-13 01:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:49:03] Production.INFO: 117
[2025-01-13 01:49:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:49:03] Production.INFO: ==12393== Lock acquired, processing the job...
[2025-01-13 01:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:49:03] Production.INFO: ==12385== Lock acquired, processing the job...
[2025-01-13 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:49:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:49:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:49:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:49:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:49:03] Production.INFO: ==12387== Lock acquired, processing the job...
[2025-01-13 01:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:49:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:49:03] Production.INFO: count ==21
[2025-01-13 01:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:49:03] Production.INFO: count ==21
[2025-01-13 01:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235679') start
[2025-01-13 01:49:03] Production.INFO: Total Charge 0
[2025-01-13 01:49:03] Production.INFO: CreateAllLog End
[2025-01-13 01:49:03] Production.INFO: ==12391== Lock acquired, processing the job...
[2025-01-13 01:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235679') end
[2025-01-13 01:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:49:03] Production.INFO: 1
[2025-01-13 01:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:49:03] Production.INFO: ==12393== Releasing lock...
[2025-01-13 01:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:49:03] Production.INFO: Account Balance End.
[2025-01-13 01:49:03] Production.INFO: ==12385== Releasing lock...
[2025-01-13 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:49:03] Production.ERROR: CronJobId end 12
[2025-01-13 01:49:03] Production.INFO: ==12389== Releasing lock...
[2025-01-13 01:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:49:03] Production.ERROR: done
[2025-01-13 01:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:49:04] Production.ERROR: done
[2025-01-13 01:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:49:04
[end_date_ymd] => 2025-01-13 01:49:04
[RateCDR] => 1
)
[2025-01-13 01:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:49:04' and `end` < '2025-01-13 01: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-13 01:49:10] Production.ERROR: CronJobId end10
[2025-01-13 01:49:10] Production.INFO: ==12387== Releasing lock...
[2025-01-13 01:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:49:12] Production.INFO: call_cost start
[2025-01-13 01:49:12] Production.INFO: call_cost end
[2025-01-13 01:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:49:13] Production.INFO: ==12383== Releasing lock...
[2025-01-13 01:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:49:18] Production.INFO: count ==198
[2025-01-13 01:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:49:04 - End Time 2025-01-13 01:49:04
[2025-01-13 01:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235681', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235681', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235681', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235681', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:49:18] Production.INFO: ProcessCDR(1,14235681,1,1,2)
[2025-01-13 01:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235681', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235681', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:49:21] Production.INFO: ==12391== Releasing lock...
[2025-01-13 01:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:49:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:50:02] Production.INFO: ==12449== Lock acquired, processing the job...
[2025-01-13 06:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:50:02] Production.INFO: neon service started
[2025-01-13 06:50:02] Production.INFO: neon service started
[2025-01-13 06:50:02] Production.INFO: ==12449== Releasing lock...
[2025-01-13 06:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:50:02] Production.INFO: ==12451== Lock acquired, processing the job...
[2025-01-13 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:50:02] Production.INFO: ==12454== Lock acquired, processing the job...
[2025-01-13 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:50:02] Production.INFO: ==12454== Releasing lock...
[2025-01-13 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:50:02] Production.INFO: ==12451== Releasing lock...
[2025-01-13 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:50:03] Production.INFO: ==12456== Lock acquired, processing the job...
[2025-01-13 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 01:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 01:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 01:50:03] Production.INFO: ==12456== Releasing lock...
[2025-01-13 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 01:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 01:50:03] Production.INFO: ==12458== Lock acquired, processing the job...
[2025-01-13 01:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:50:03] Production.INFO: ==12460== Lock acquired, processing the job...
[2025-01-13 01:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:50:03] Production.INFO: ==12470== Lock acquired, processing the job...
[2025-01-13 01:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01: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-13 01:50:04] Production.INFO: ==12460== Releasing lock...
[2025-01-13 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:50:04] Production.INFO: count ==21
[2025-01-13 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-13 01:50:04] Production.INFO: count ==21
[2025-01-13 01:50:04] Production.INFO: ==12462== Lock acquired, processing the job...
[2025-01-13 01:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235684') start
[2025-01-13 01:50:04] Production.INFO: ==12464== Lock acquired, processing the job...
[2025-01-13 01:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235684') end
[2025-01-13 01:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:50:04] Production.INFO: 1
[2025-01-13 01:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:50:04] Production.INFO: ==12466== Lock acquired, processing the job...
[2025-01-13 01:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:50:04] Production.INFO: ==12470== Releasing lock...
[2025-01-13 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:50:04] Production.INFO: ==12468== Lock acquired, processing the job...
[2025-01-13 01:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 01:50:04] Production.INFO: Account Balance Start.
[2025-01-13 01:50:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:50:04] Production.INFO: 117
[2025-01-13 01:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:50:04] Production.ERROR: done
[2025-01-13 01:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:50:04] Production.INFO: Total Charge 0
[2025-01-13 01:50:04] Production.ERROR: done
[2025-01-13 01:50:04] Production.INFO: CreateAllLog End
[2025-01-13 01:50:04] Production.ERROR: done
[2025-01-13 01:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 01:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235687', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 01:50:05] Production.INFO: Account Balance End.
[2025-01-13 01:50:05] Production.ERROR: CronJobId end 12
[2025-01-13 01:50:05] Production.INFO: ==12464== Releasing lock...
[2025-01-13 01:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:50:06
[end_date_ymd] => 2025-01-13 01:50:06
[RateCDR] => 1
)
[2025-01-13 01:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:50:06' and `end` < '2025-01-13 01:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235687', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 01:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 01:50:08] Production.INFO: ProcessCDR(1,14235687,1,1,2)
[2025-01-13 01:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235687,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235687,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:50:08] Production.INFO: ==12468== Releasing lock...
[2025-01-13 01:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 01:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 01:50:13] Production.ERROR: CronJobId end10
[2025-01-13 01:50:13] Production.INFO: ==12462== Releasing lock...
[2025-01-13 01:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:50:15] Production.INFO: call_cost start
[2025-01-13 01:50:15] Production.INFO: call_cost end
[2025-01-13 01:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:50:16] Production.INFO: ==12458== Releasing lock...
[2025-01-13 01:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:50:18] Production.INFO: count ==203
[2025-01-13 01:50:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:50:06 - End Time 2025-01-13 01:50:06
[2025-01-13 01:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235686', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235686', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235686', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235686', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:50:18] Production.INFO: ProcessCDR(1,14235686,1,1,2)
[2025-01-13 01:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235686', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235686', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:50:21] Production.INFO: ==12466== Releasing lock...
[2025-01-13 01:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:50:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:51:01] Production.INFO: ==12522== Lock acquired, processing the job...
[2025-01-13 06:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:51:01] Production.INFO: neon service started
[2025-01-13 06:51:01] Production.INFO: neon service started
[2025-01-13 06:51:01] Production.INFO: ==12522== Releasing lock...
[2025-01-13 06:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:51:02] Production.INFO: ==12524== Lock acquired, processing the job...
[2025-01-13 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:51:02] Production.INFO: ==12526== Lock acquired, processing the job...
[2025-01-13 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:51:02] Production.INFO: ==12526== Releasing lock...
[2025-01-13 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:51:02] Production.INFO: ==12524== Releasing lock...
[2025-01-13 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:51:03] Production.INFO: ==12529== Lock acquired, processing the job...
[2025-01-13 01:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:51:03] Production.INFO: ==12533== Lock acquired, processing the job...
[2025-01-13 01:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:51:03] Production.INFO: ==12535== Lock acquired, processing the job...
[2025-01-13 01:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:51:03] Production.INFO: ==12531== Lock acquired, processing the job...
[2025-01-13 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:51:03] Production.INFO: Account Balance Start.
[2025-01-13 01:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:51:03] Production.INFO: 117
[2025-01-13 01:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:51:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:51:03] Production.INFO: ==12539== Lock acquired, processing the job...
[2025-01-13 01:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:51:03] Production.INFO: Total Charge 0
[2025-01-13 01:51:03] Production.INFO: ==12537== Lock acquired, processing the job...
[2025-01-13 01:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:51:03] Production.INFO: CreateAllLog End
[2025-01-13 01:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:51:03] Production.INFO: ==12531== Releasing lock...
[2025-01-13 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 01:51:04] Production.INFO: count ==21
[2025-01-13 01:51:04] Production.INFO: Account Balance End.
[2025-01-13 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-13 01:51:04] Production.INFO: count ==21
[2025-01-13 01:51:04] Production.ERROR: done
[2025-01-13 01:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235691') start
[2025-01-13 01:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:51:04] Production.INFO: ==12535== Releasing lock...
[2025-01-13 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235691') end
[2025-01-13 01:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:51:04] Production.INFO: 1
[2025-01-13 01:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:51:04] Production.ERROR: done
[2025-01-13 01:51:04] Production.INFO: ==12539== Releasing lock...
[2025-01-13 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:51:05
[end_date_ymd] => 2025-01-13 01:51:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:51:05' and `end` < '2025-01-13 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-13 01:51:10] Production.ERROR: CronJobId end10
[2025-01-13 01:51:10] Production.INFO: ==12533== Releasing lock...
[2025-01-13 01:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:51:13] Production.INFO: call_cost start
[2025-01-13 01:51:13] Production.INFO: call_cost end
[2025-01-13 01:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:51:14] Production.INFO: ==12529== Releasing lock...
[2025-01-13 01:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:51:19] Production.INFO: count ==202
[2025-01-13 01:51:19] Production.ERROR: pbx CDR StartTime 2025-01-12 22:51:05 - End Time 2025-01-13 01:51:05
[2025-01-13 01:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235692', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235692', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235692', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235692', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:51:19] Production.INFO: ProcessCDR(1,14235692,1,1,2)
[2025-01-13 01:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235692', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235692', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:51:22] Production.INFO: ==12537== Releasing lock...
[2025-01-13 01:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:51:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 06:52:02] Production.INFO: ==12593== Lock acquired, processing the job...
[2025-01-13 06:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:52:02] Production.INFO: neon service started
[2025-01-13 06:52:02] Production.INFO: neon service started
[2025-01-13 06:52:02] Production.INFO: ==12593== Releasing lock...
[2025-01-13 06:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:52:02] Production.INFO: ==12597== Lock acquired, processing the job...
[2025-01-13 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:52:03] Production.INFO: ==12599== Lock acquired, processing the job...
[2025-01-13 06:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:52:03] Production.INFO: ==12599== Releasing lock...
[2025-01-13 06:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:52:03] Production.INFO: ==12597== Releasing lock...
[2025-01-13 01:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:52:04] Production.INFO: ==12602== Lock acquired, processing the job...
[2025-01-13 01:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:52:04] Production.INFO: ==12604== Lock acquired, processing the job...
[2025-01-13 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:52:04] Production.INFO: ==12608== Lock acquired, processing the job...
[2025-01-13 01:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:52:04] Production.INFO: Account Balance Start.
[2025-01-13 01:52:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:52:04] Production.INFO: 117
[2025-01-13 01:52:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:52:04] Production.INFO: ==12606== Lock acquired, processing the job...
[2025-01-13 01:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:52:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:52:04] Production.INFO: ==12610== Lock acquired, processing the job...
[2025-01-13 01:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:52:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:52:04] Production.INFO: ==12612== Lock acquired, processing the job...
[2025-01-13 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:52:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:52:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:52:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:52:04] Production.INFO: count ==21
[2025-01-13 01:52:04] Production.INFO: ==12604== Releasing lock...
[2025-01-13 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:52:04] Production.INFO: Total Charge 0
[2025-01-13 01:52:04] Production.INFO: count ==21
[2025-01-13 01:52:04] Production.INFO: CreateAllLog End
[2025-01-13 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235696') start
[2025-01-13 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235696') end
[2025-01-13 01:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:52:04] Production.INFO: 1
[2025-01-13 01:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:52:04] Production.INFO: Account Balance End.
[2025-01-13 01:52:04] Production.ERROR: done
[2025-01-13 01:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:52:04] Production.INFO: ==12608== Releasing lock...
[2025-01-13 01:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:52:04] Production.INFO: ==12612== Releasing lock...
[2025-01-13 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:52:05] Production.ERROR: done
[2025-01-13 01:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:52:06
[end_date_ymd] => 2025-01-13 01:52:06
[RateCDR] => 1
)
[2025-01-13 01:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:52:06' and `end` < '2025-01-13 01:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:52:12] Production.ERROR: CronJobId end10
[2025-01-13 01:52:12] Production.INFO: ==12606== Releasing lock...
[2025-01-13 01:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:52:14] Production.INFO: call_cost start
[2025-01-13 01:52:14] Production.INFO: call_cost end
[2025-01-13 01:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:52:15] Production.INFO: ==12602== Releasing lock...
[2025-01-13 01:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:52:19] Production.INFO: count ==196
[2025-01-13 01:52:19] Production.ERROR: pbx CDR StartTime 2025-01-12 22:52:06 - End Time 2025-01-13 01:52:06
[2025-01-13 01:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235697', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235697', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235697', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235697', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:52:19] Production.INFO: ProcessCDR(1,14235697,1,1,2)
[2025-01-13 01:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235697', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235697', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:52:23] Production.INFO: ==12610== Releasing lock...
[2025-01-13 01:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:52:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:53:01] Production.INFO: ==12665== Lock acquired, processing the job...
[2025-01-13 06:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:53:01] Production.INFO: neon service started
[2025-01-13 06:53:01] Production.INFO: neon service started
[2025-01-13 06:53:01] Production.INFO: ==12665== Releasing lock...
[2025-01-13 06:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:53:02] Production.INFO: ==12667== Lock acquired, processing the job...
[2025-01-13 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:53:02] Production.INFO: ==12667== Releasing lock...
[2025-01-13 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:53:02] Production.INFO: ==12669== Lock acquired, processing the job...
[2025-01-13 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:53:02] Production.INFO: ==12669== Releasing lock...
[2025-01-13 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:53:03] Production.INFO: ==12677== Lock acquired, processing the job...
[2025-01-13 01:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:53:03] Production.INFO: ==12679== Lock acquired, processing the job...
[2025-01-13 01:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:53:03] Production.INFO: Account Balance Start.
[2025-01-13 01:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:53:03] Production.INFO: 117
[2025-01-13 01:53:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:53:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:53:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:53:03] Production.INFO: ==12671== Lock acquired, processing the job...
[2025-01-13 01:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:53:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:53:03] Production.INFO: ==12673== Lock acquired, processing the job...
[2025-01-13 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:53:03] Production.INFO: ==12675== Lock acquired, processing the job...
[2025-01-13 01:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:53:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:53:03] Production.INFO: ==12681== Lock acquired, processing the job...
[2025-01-13 01:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:53:03] Production.INFO: Date 2025-01-13
[2025-01-13 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:53:03] Production.INFO: Total Charge 0
[2025-01-13 01:53:03] Production.INFO: CreateAllLog End
[2025-01-13 01:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:53:03] Production.INFO: count ==21
[2025-01-13 01:53:03] Production.ERROR: done
[2025-01-13 01:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:53:03] Production.INFO: count ==21
[2025-01-13 01:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235701') start
[2025-01-13 01:53:03] Production.INFO: ==12673== Releasing lock...
[2025-01-13 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235701') end
[2025-01-13 01:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:53:03] Production.INFO: 1
[2025-01-13 01:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:53:03] Production.INFO: ==12681== Releasing lock...
[2025-01-13 01:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:53:03] Production.ERROR: done
[2025-01-13 01:53:03] Production.INFO: Account Balance End.
[2025-01-13 01:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:53:04] Production.INFO: ==12677== Releasing lock...
[2025-01-13 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:53:04
[end_date_ymd] => 2025-01-13 01:53:04
[RateCDR] => 1
)
[2025-01-13 01:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:53:04' and `end` < '2025-01-13 01:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:53:11] Production.ERROR: CronJobId end10
[2025-01-13 01:53:11] Production.INFO: ==12675== Releasing lock...
[2025-01-13 01:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:53:13] Production.INFO: call_cost start
[2025-01-13 01:53:13] Production.INFO: call_cost end
[2025-01-13 01:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:53:14] Production.INFO: ==12671== Releasing lock...
[2025-01-13 01:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:53:18] Production.INFO: count ==195
[2025-01-13 01:53:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:53:04 - End Time 2025-01-13 01:53:04
[2025-01-13 01:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235702', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235702', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235702', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235702', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:53:18] Production.INFO: ProcessCDR(1,14235702,1,1,2)
[2025-01-13 01:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235702', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235702', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:53:21] Production.INFO: ==12679== Releasing lock...
[2025-01-13 01:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:53:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:54:02] Production.INFO: ==12734== Lock acquired, processing the job...
[2025-01-13 06:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:54:02] Production.INFO: neon service started
[2025-01-13 06:54:02] Production.INFO: neon service started
[2025-01-13 06:54:02] Production.INFO: ==12734== Releasing lock...
[2025-01-13 06:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:54:02] Production.INFO: ==12738== Lock acquired, processing the job...
[2025-01-13 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:54:02] Production.INFO: ==12738== Releasing lock...
[2025-01-13 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:54:02] Production.INFO: ==12736== Lock acquired, processing the job...
[2025-01-13 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:54:03] Production.INFO: ==12736== Releasing lock...
[2025-01-13 01:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:54:03] Production.INFO: ==12751== Lock acquired, processing the job...
[2025-01-13 01:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:54:03] Production.INFO: ==12747== Lock acquired, processing the job...
[2025-01-13 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:54:03] Production.INFO: Account Balance Start.
[2025-01-13 01:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:54:03] Production.INFO: 117
[2025-01-13 01:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 01:54:04] Production.INFO: ==12741== Lock acquired, processing the job...
[2025-01-13 01:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:54:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:54:04] Production.INFO: count ==21
[2025-01-13 01:54:04] Production.INFO: ==12743== Lock acquired, processing the job...
[2025-01-13 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-13 01:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:54:04] Production.INFO: count ==21
[2025-01-13 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235703') start
[2025-01-13 01:54:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:54:04] Production.INFO: ==12745== Lock acquired, processing the job...
[2025-01-13 01:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:54:04] Production.INFO: ==12749== Lock acquired, processing the job...
[2025-01-13 01:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:54:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235703') end
[2025-01-13 01:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:54:04] Production.INFO: 1
[2025-01-13 01:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:54:04] Production.INFO: ==12751== Releasing lock...
[2025-01-13 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:54:04] Production.INFO: Total Charge 0
[2025-01-13 01:54:04] Production.INFO: CreateAllLog End
[2025-01-13 01:54:04] Production.ERROR: done
[2025-01-13 01:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:54:04] Production.INFO: Account Balance End.
[2025-01-13 01:54:04] Production.INFO: ==12743== Releasing lock...
[2025-01-13 01:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:54:04] Production.INFO: ==12747== Releasing lock...
[2025-01-13 01:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:54:04] Production.ERROR: done
[2025-01-13 01:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:54:05
[end_date_ymd] => 2025-01-13 01:54:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:54:05' and `end` < '2025-01-13 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-13 01:54:11] Production.ERROR: CronJobId end10
[2025-01-13 01:54:11] Production.INFO: ==12745== Releasing lock...
[2025-01-13 01:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:54:14] Production.INFO: call_cost start
[2025-01-13 01:54:14] Production.INFO: call_cost end
[2025-01-13 01:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:54:15] Production.INFO: ==12741== Releasing lock...
[2025-01-13 01:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:54:18] Production.INFO: count ==193
[2025-01-13 01:54:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:54:05 - End Time 2025-01-13 01:54:05
[2025-01-13 01:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235707', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235707', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235707', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235707', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:54:18] Production.INFO: ProcessCDR(1,14235707,1,1,2)
[2025-01-13 01:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235707', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235707', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:54:21] Production.INFO: ==12749== Releasing lock...
[2025-01-13 01:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:54:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:55:01] Production.INFO: ==12803== Lock acquired, processing the job...
[2025-01-13 06:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:55:01] Production.INFO: neon service started
[2025-01-13 06:55:01] Production.INFO: neon service started
[2025-01-13 06:55:01] Production.INFO: ==12803== Releasing lock...
[2025-01-13 06:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:55:02] Production.INFO: ==12805== Lock acquired, processing the job...
[2025-01-13 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:55:02] Production.INFO: ==12807== Lock acquired, processing the job...
[2025-01-13 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:55:02] Production.INFO: ==12807== Releasing lock...
[2025-01-13 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:55:02] Production.INFO: ==12805== Releasing lock...
[2025-01-13 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:55:03] Production.INFO: ==12816== Lock acquired, processing the job...
[2025-01-13 01:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:55:03] Production.INFO: ==12820== Lock acquired, processing the job...
[2025-01-13 01:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:55:03] Production.INFO: Account Balance Start.
[2025-01-13 01:55:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:55:03] Production.INFO: 117
[2025-01-13 01:55:03] Production.INFO: ==12810== Lock acquired, processing the job...
[2025-01-13 01:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:55:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:55:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:55:03] Production.INFO: ==12812== Lock acquired, processing the job...
[2025-01-13 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 01:55:03] Production.INFO: count ==21
[2025-01-13 01:55:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:55:03] Production.INFO: count ==21
[2025-01-13 01:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235709') start
[2025-01-13 01:55:03] Production.INFO: ==12814== Lock acquired, processing the job...
[2025-01-13 01:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:55:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:55:03] Production.INFO: ==12818== Lock acquired, processing the job...
[2025-01-13 01:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:55:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235709') end
[2025-01-13 01:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:55:03] Production.INFO: 1
[2025-01-13 01:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:55:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:55:04] Production.INFO: ==12820== Releasing lock...
[2025-01-13 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:55:04] Production.INFO: Total Charge 0
[2025-01-13 01:55:04] Production.INFO: CreateAllLog End
[2025-01-13 01:55:04] Production.INFO: ==12812== Releasing lock...
[2025-01-13 01:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:55:04] Production.ERROR: done
[2025-01-13 01:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:55:04] Production.INFO: Account Balance End.
[2025-01-13 01:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:55:04] Production.INFO: ==12816== Releasing lock...
[2025-01-13 01:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:55:04] Production.ERROR: done
[2025-01-13 01:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:55:05
[end_date_ymd] => 2025-01-13 01:55:05
[RateCDR] => 1
)
[2025-01-13 01:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 22:55:05' and `end` < '2025-01-13 01:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 01:55:11] Production.ERROR: CronJobId end10
[2025-01-13 01:55:11] Production.INFO: ==12814== Releasing lock...
[2025-01-13 01:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:55:13] Production.INFO: call_cost start
[2025-01-13 01:55:13] Production.INFO: call_cost end
[2025-01-13 01:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:55:14] Production.INFO: ==12810== Releasing lock...
[2025-01-13 01:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:55:18] Production.INFO: count ==191
[2025-01-13 01:55:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:55:05 - End Time 2025-01-13 01:55:05
[2025-01-13 01:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235712', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235712', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235712', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235712', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:55:18] Production.INFO: ProcessCDR(1,14235712,1,1,2)
[2025-01-13 01:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235712', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235712', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:55:21] Production.INFO: ==12818== Releasing lock...
[2025-01-13 01:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:56:02] Production.INFO: ==12875== Lock acquired, processing the job...
[2025-01-13 06:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:56:02] Production.INFO: neon service started
[2025-01-13 06:56:02] Production.INFO: neon service started
[2025-01-13 06:56:02] Production.INFO: ==12875== Releasing lock...
[2025-01-13 06:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:56:02] Production.INFO: ==12877== Lock acquired, processing the job...
[2025-01-13 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:56:02] Production.INFO: ==12877== Releasing lock...
[2025-01-13 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:56:03] Production.INFO: ==12879== Lock acquired, processing the job...
[2025-01-13 06:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:56:03] Production.INFO: ==12879== Releasing lock...
[2025-01-13 06:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:56:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:56:03] Production.INFO: ==12886== Lock acquired, processing the job...
[2025-01-13 01:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:56:03] Production.INFO: ==12882== Lock acquired, processing the job...
[2025-01-13 01:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:56:03] Production.INFO: ==12884== Lock acquired, processing the job...
[2025-01-13 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:56:03] Production.INFO: ==12892== Lock acquired, processing the job...
[2025-01-13 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:56:04] Production.INFO: ==12888== Lock acquired, processing the job...
[2025-01-13 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:56:04] Production.INFO: ==12890== Lock acquired, processing the job...
[2025-01-13 01:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:56:04] Production.INFO: count ==21
[2025-01-13 01:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:56:04] Production.INFO: count ==21
[2025-01-13 01:56:04] Production.INFO: Account Balance Start.
[2025-01-13 01:56:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:56:04] Production.INFO: 117
[2025-01-13 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235714') start
[2025-01-13 01:56:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235714') end
[2025-01-13 01:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:56:04] Production.INFO: 1
[2025-01-13 01:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:56:04] Production.INFO: ==12884== Releasing lock...
[2025-01-13 01:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:56:04] Production.ERROR: done
[2025-01-13 01:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:56:04] Production.INFO: ==12892== Releasing lock...
[2025-01-13 01:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:56:04] Production.ERROR: done
[2025-01-13 01:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:56:04] Production.INFO: Total Charge 0
[2025-01-13 01:56:04] Production.INFO: CreateAllLog End
[2025-01-13 01:56:04] Production.INFO: Account Balance End.
[2025-01-13 01:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:56:04] Production.INFO: ==12888== Releasing lock...
[2025-01-13 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:56:05
[end_date_ymd] => 2025-01-13 01:56:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:56:05' and `end` < '2025-01-13 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-13 01:56:12] Production.ERROR: CronJobId end10
[2025-01-13 01:56:12] Production.INFO: ==12886== Releasing lock...
[2025-01-13 01:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:56:12] Production.INFO: call_cost start
[2025-01-13 01:56:12] Production.INFO: call_cost end
[2025-01-13 01:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:56:13] Production.INFO: ==12882== Releasing lock...
[2025-01-13 01:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:56:18] Production.INFO: count ==190
[2025-01-13 01:56:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:56:05 - End Time 2025-01-13 01:56:05
[2025-01-13 01:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235717', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235717', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235717', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235717', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:56:18] Production.INFO: ProcessCDR(1,14235717,1,1,2)
[2025-01-13 01:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235717', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235717', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:56:21] Production.INFO: ==12890== Releasing lock...
[2025-01-13 01:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:56:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:57:01] Production.INFO: ==12945== Lock acquired, processing the job...
[2025-01-13 06:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:57:01] Production.INFO: neon service started
[2025-01-13 06:57:01] Production.INFO: neon service started
[2025-01-13 06:57:01] Production.INFO: ==12945== Releasing lock...
[2025-01-13 06:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 01:57:02] Production.INFO: ==12947== Lock acquired, processing the job...
[2025-01-13 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:57:02] Production.INFO: ==12947== Releasing lock...
[2025-01-13 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:57:02] Production.INFO: ==12949== Lock acquired, processing the job...
[2025-01-13 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:57:02] Production.INFO: ==12949== Releasing lock...
[2025-01-13 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:57:03] Production.INFO: ==12956== Lock acquired, processing the job...
[2025-01-13 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:57:03] Production.INFO: ==12960== Lock acquired, processing the job...
[2025-01-13 01:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:57:03] Production.INFO: ==12954== Lock acquired, processing the job...
[2025-01-13 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:57:03] Production.INFO: ==12952== Lock acquired, processing the job...
[2025-01-13 01:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:57:03] Production.INFO: ==12958== Lock acquired, processing the job...
[2025-01-13 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:57:03] Production.INFO: ==12962== Lock acquired, processing the job...
[2025-01-13 01:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:57:03] Production.INFO: Account Balance Start.
[2025-01-13 01:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:57:03] Production.INFO: 117
[2025-01-13 01:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:57:03] Production.INFO: ==12954== Releasing lock...
[2025-01-13 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:57:04] Production.ERROR: done
[2025-01-13 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-13 01:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:57:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:57:04] Production.INFO: count ==21
[2025-01-13 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:57:04] Production.INFO: count ==21
[2025-01-13 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235721') start
[2025-01-13 01:57:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:57:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:57:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:57:04] Production.ERROR: done
[2025-01-13 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:57:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235721') end
[2025-01-13 01:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:57:04] Production.INFO: 1
[2025-01-13 01:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:57:04] Production.INFO: ==12962== Releasing lock...
[2025-01-13 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:57:04] Production.INFO: Total Charge 0
[2025-01-13 01:57:04] Production.INFO: CreateAllLog End
[2025-01-13 01:57:04] Production.INFO: Account Balance End.
[2025-01-13 01:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:57:04] Production.INFO: ==12958== Releasing lock...
[2025-01-13 01:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:57:05
[end_date_ymd] => 2025-01-13 01:57:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:57:05' and `end` < '2025-01-13 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-13 01:57:12] Production.ERROR: CronJobId end10
[2025-01-13 01:57:12] Production.INFO: ==12956== Releasing lock...
[2025-01-13 01:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:57:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:57:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:57:14] Production.INFO: call_cost start
[2025-01-13 01:57:14] Production.INFO: call_cost end
[2025-01-13 01:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:57:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:57:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:57:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:57:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:57:15] Production.INFO: ==12952== Releasing lock...
[2025-01-13 01:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:57:17] Production.INFO: count ==190
[2025-01-13 01:57:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:57:05 - End Time 2025-01-13 01:57:05
[2025-01-13 01:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235722', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235722', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235722', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235722', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:57:17] Production.INFO: ProcessCDR(1,14235722,1,1,2)
[2025-01-13 01:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235722', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235722', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:57:21] Production.INFO: ==12960== Releasing lock...
[2025-01-13 01:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:57:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:58:02] Production.INFO: ==13016== Lock acquired, processing the job...
[2025-01-13 06:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:58:02] Production.INFO: neon service started
[2025-01-13 06:58:02] Production.INFO: neon service started
[2025-01-13 06:58:02] Production.INFO: ==13016== Releasing lock...
[2025-01-13 06:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:58:02] Production.INFO: ==13020== Lock acquired, processing the job...
[2025-01-13 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:58:02] Production.INFO: ==13020== Releasing lock...
[2025-01-13 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:58:02] Production.INFO: ==13018== Lock acquired, processing the job...
[2025-01-13 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:58:03] Production.INFO: ==13018== Releasing lock...
[2025-01-13 01:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:58:03] Production.INFO: ==13025== Lock acquired, processing the job...
[2025-01-13 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:58:03] Production.INFO: ==13027== Lock acquired, processing the job...
[2025-01-13 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:58:03] Production.INFO: ==13031== Lock acquired, processing the job...
[2025-01-13 01:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:58:04] Production.INFO: Account Balance Start.
[2025-01-13 01:58:04] Production.INFO: CreateAllLog Start
[2025-01-13 01:58:04] Production.INFO: ==13033== Lock acquired, processing the job...
[2025-01-13 01:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:58:04] Production.INFO: 117
[2025-01-13 01:58:04] Production.INFO: Date 2025-01-08
[2025-01-13 01:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:58:04] Production.INFO: ==13027== Releasing lock...
[2025-01-13 01:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:58:04] Production.INFO: ==13029== Lock acquired, processing the job...
[2025-01-13 01:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:58:04] Production.INFO: Date 2025-01-09
[2025-01-13 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:58:04] Production.INFO: ==13035== Lock acquired, processing the job...
[2025-01-13 01:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:58:04] Production.INFO: Date 2025-01-10
[2025-01-13 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:58:04] Production.INFO: Date 2025-01-11
[2025-01-13 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:58:04] Production.INFO: Date 2025-01-12
[2025-01-13 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:58:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:58:04] Production.ERROR: done
[2025-01-13 01: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-13 01:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:58:04] Production.INFO: Total Charge 0
[2025-01-13 01:58:04] Production.INFO: CreateAllLog End
[2025-01-13 01:58:04] Production.INFO: count ==21
[2025-01-13 01:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 01:58:04] Production.INFO: count ==21
[2025-01-13 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235726') start
[2025-01-13 01:58:04] Production.ERROR: done
[2025-01-13 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235726') end
[2025-01-13 01:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:58:04] Production.INFO: 1
[2025-01-13 01:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:58:04] Production.INFO: ==13035== Releasing lock...
[2025-01-13 01:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:58:04] Production.INFO: Account Balance End.
[2025-01-13 01:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:58:04] Production.INFO: ==13031== Releasing lock...
[2025-01-13 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:58:05
[end_date_ymd] => 2025-01-13 01:58:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:58:05' and `end` < '2025-01-13 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-13 01:58:12] Production.ERROR: CronJobId end10
[2025-01-13 01:58:12] Production.INFO: ==13029== Releasing lock...
[2025-01-13 01:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:58:13] Production.INFO: call_cost start
[2025-01-13 01:58:13] Production.INFO: call_cost end
[2025-01-13 01:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:58:14] Production.INFO: ==13025== Releasing lock...
[2025-01-13 01:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:58:18] Production.INFO: count ==190
[2025-01-13 01:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 22:58:05 - End Time 2025-01-13 01:58:05
[2025-01-13 01:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235727', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235727', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235727', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235727', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:58:18] Production.INFO: ProcessCDR(1,14235727,1,1,2)
[2025-01-13 01:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235727', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235727', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:58:21] Production.INFO: ==13033== Releasing lock...
[2025-01-13 01:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:58:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 06:59:01] Production.INFO: ==13129== Lock acquired, processing the job...
[2025-01-13 06:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 06:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 06:59:01] Production.INFO: neon service started
[2025-01-13 06:59:01] Production.INFO: neon service started
[2025-01-13 06:59:01] Production.INFO: ==13129== Releasing lock...
[2025-01-13 06:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 06:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:59:02] Production.INFO: ==13133== Lock acquired, processing the job...
[2025-01-13 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:59:02] Production.INFO: ==13133== Releasing lock...
[2025-01-13 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 06:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 01:59:02] Production.INFO: ==13131== Lock acquired, processing the job...
[2025-01-13 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 01:59:02] Production.INFO: ==13131== Releasing lock...
[2025-01-13 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 01:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 01:59:03] Production.INFO: ==13140== Lock acquired, processing the job...
[2025-01-13 01:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 01:59:03] Production.INFO: ==13136== Lock acquired, processing the job...
[2025-01-13 01:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 01:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 01:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 01:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 01:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 01:59:03] Production.INFO: ==13138== Lock acquired, processing the job...
[2025-01-13 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 01:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 01:59:03] Production.INFO: ==13142== Lock acquired, processing the job...
[2025-01-13 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 01:59:03] Production.INFO: ==13146== Lock acquired, processing the job...
[2025-01-13 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 01:59:03] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-01-13 01:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 01:59:03] Production.INFO: ==13138== Releasing lock...
[2025-01-13 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 01:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 01:59:03] Production.INFO: Account Balance Start.
[2025-01-13 01:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 01:59:03] Production.INFO: 117
[2025-01-13 01:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 01:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 01:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:59:03] Production.INFO: count ==21
[2025-01-13 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-13 01:59:03] Production.INFO: count ==21
[2025-01-13 01:59:03] Production.INFO: Date 2025-01-12
[2025-01-13 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235731') start
[2025-01-13 01:59:04] Production.INFO: Date 2025-01-13
[2025-01-13 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 01:59:04] Production.INFO: Total Charge 0
[2025-01-13 01:59:04] Production.ERROR: done
[2025-01-13 01:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 01:59:04] Production.INFO: CreateAllLog End
[2025-01-13 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235731') end
[2025-01-13 01:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 01:59:04] Production.INFO: 1
[2025-01-13 01:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 01:59:04] Production.ERROR: done
[2025-01-13 01:59:04] Production.INFO: ==13146== Releasing lock...
[2025-01-13 01:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 01:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 01:59:04] Production.INFO: Account Balance End.
[2025-01-13 01:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 01:59:04] Production.INFO: ==13142== Releasing lock...
[2025-01-13 01:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 01:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 01:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 22:59:05
[end_date_ymd] => 2025-01-13 01:59:05
[RateCDR] => 1
)
[2025-01-13 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-12 22:59:05' and `end` < '2025-01-13 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-13 01:59:11] Production.ERROR: CronJobId end10
[2025-01-13 01:59:11] Production.INFO: ==13140== Releasing lock...
[2025-01-13 01:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 01:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 01:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 01:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 01:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 01:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 01:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 01:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 01:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 01:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 01:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 01:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 01:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 01:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 01:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 01:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 01:59:13] Production.INFO: call_cost start
[2025-01-13 01:59:13] Production.INFO: call_cost end
[2025-01-13 01:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 01:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 01:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 01:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 01:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 01:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 01:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 01:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 01:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 01:59:14] Production.INFO: ==13136== Releasing lock...
[2025-01-13 01:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 01:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 01:59:17] Production.INFO: count ==190
[2025-01-13 01:59:17] Production.ERROR: pbx CDR StartTime 2025-01-12 22:59:05 - End Time 2025-01-13 01:59:05
[2025-01-13 01:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 01:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235732', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235732', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235732', 'tblTempVendorCDR_20' ) start
[2025-01-13 01:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235732', 'tblTempVendorCDR_20' ) end
[2025-01-13 01:59:17] Production.INFO: ProcessCDR(1,14235732,1,1,2)
[2025-01-13 01:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 01:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235732', 'tblTempUsageDetail_20' ) start
[2025-01-13 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235732', 'tblTempUsageDetail_20' ) end
[2025-01-13 01:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 01:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 01:59:21] Production.INFO: ==13144== Releasing lock...
[2025-01-13 01:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 01:59:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:00:02] Production.INFO: ==13201== Lock acquired, processing the job...
[2025-01-13 07:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:00:02] Production.INFO: neon service started
[2025-01-13 07:00:02] Production.INFO: neon service started
[2025-01-13 07:00:02] Production.INFO: ==13201== Releasing lock...
[2025-01-13 07:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:00:02] Production.INFO: ==13203== Lock acquired, processing the job...
[2025-01-13 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:00:02] Production.INFO: ==13205== Lock acquired, processing the job...
[2025-01-13 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:00:02] Production.INFO: ==13205== Releasing lock...
[2025-01-13 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:00:02] Production.INFO: ==13203== Releasing lock...
[2025-01-13 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:00:04] Production.INFO: ==13213== Lock acquired, processing the job...
[2025-01-13 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:00:04] Production.INFO: ==13220== Lock acquired, processing the job...
[2025-01-13 02:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:00:04] Production.INFO: ==13222== Lock acquired, processing the job...
[2025-01-13 02:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 02:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:00:04] Production.INFO: ==13213== Releasing lock...
[2025-01-13 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:00:04] Production.INFO: ==13207== Lock acquired, processing the job...
[2025-01-13 02:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 02:00:04] Production.INFO: ==13209== Lock acquired, processing the job...
[2025-01-13 02:00:04] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts#
[2025-01-13 02:00:04] Production.INFO: ==13211== Lock acquired, processing the job...
[2025-01-13 02:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:00:04] Production.INFO: ==13215== Lock acquired, processing the job...
[2025-01-13 02:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:00:04] Production.INFO: ==13217== Lock acquired, processing the job...
[2025-01-13 02:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:00:04] Production.ERROR: done
[2025-01-13 02:00:04] Production.ERROR: done
[2025-01-13 02:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:00:04] Production.INFO: ==13224== Lock acquired, processing the job...
[2025-01-13 02:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:00:04] Production.ERROR: CronJob PID - 13209
[2025-01-13 02:00:04] Production.ERROR: CronJob Title - Server CleanUP
[2025-01-13 02:00:04] Production.ERROR: CronJob ID - 4
[2025-01-13 02:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:00:00
[2025-01-13 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:00:04] Production.ERROR: CronJob PID - 13211
[2025-01-13 02:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 02:00:04] Production.ERROR: CronJob ID - 5
[2025-01-13 02:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:00:00
[2025-01-13 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:00:04] Production.ERROR: CronJob PID - 13215
[2025-01-13 02:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 02:00:04] Production.ERROR: CronJob ID - 10
[2025-01-13 02:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:00:00
[2025-01-13 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:00:04] Production.ERROR: CronJob PID - 13217
[2025-01-13 02:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 02:00:04] Production.ERROR: CronJob ID - 12
[2025-01-13 02:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:00:00
[2025-01-13 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:00:04] Production.ERROR: CronJob PID - 13220
[2025-01-13 02:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 02:00:04] Production.ERROR: CronJob ID - 16
[2025-01-13 02:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:00:00
[2025-01-13 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:00:04] Production.ERROR: CronJob PID - 13222
[2025-01-13 02:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 02:00:04] Production.ERROR: CronJob ID - 17
[2025-01-13 02:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:00:00
[2025-01-13 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 02:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235735', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 02:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 02:00:04] Production.INFO: ==13207== Releasing lock...
[2025-01-13 02:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 02:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 02:00:04] Production.INFO: Account Balance Start.
[2025-01-13 02:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:00:04] Production.INFO: 117
[2025-01-13 02:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:00:04] Production.INFO: count ==21
[2025-01-13 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-13 02:00:04] Production.INFO: count ==21
[2025-01-13 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235737') start
[2025-01-13 02:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:00:04] Production.ERROR: done
[2025-01-13 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:00:05] Production.INFO: Date 2025-01-10
[2025-01-13 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 02:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235737') end
[2025-01-13 02:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:00:05] Production.INFO: 1
[2025-01-13 02:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:00:05] Production.INFO: ==13224== Releasing lock...
[2025-01-13 02:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:00:05] Production.INFO: Date 2025-01-11
[2025-01-13 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 02:00:05] Production.INFO: Date 2025-01-12
[2025-01-13 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 02:00:05] Production.INFO: Date 2025-01-13
[2025-01-13 02:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 02:00:05] Production.INFO: Total Charge 0
[2025-01-13 02:00:05] Production.INFO: CreateAllLog End
[2025-01-13 02:00:05] Production.INFO: Account Balance End.
[2025-01-13 02:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 02:00:05] Production.INFO: ==13217== Releasing lock...
[2025-01-13 02:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:00:06] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-01-13 02:00:06] 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-13 02:00:06] Production.INFO: Delete Storage Log Start
[2025-01-13 02:00:06] Production.INFO: Front End Delete Storage Log Start
[2025-01-13 02:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:00:06
[end_date_ymd] => 2025-01-13 02:00:06
[RateCDR] => 1
)
[2025-01-13 02:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:00:06' and `end` < '2025-01-13 02:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:00:07] Production.INFO: find /var/www/html/onswitch.neon/app/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-01-13 02:00:07] Production.INFO: Front End Delete Storage Log End
[2025-01-13 02:00:07] Production.INFO: Back End(Service) Delete Storage Log Start
[2025-01-13 02:00:08] Production.INFO: find /var/www/html/onswitch.neon.service/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-01-13 02:00:08] Production.INFO: Back End(Service) Delete Storage Log End
[2025-01-13 02:00:08] Production.INFO: Delete Storage Log End
[2025-01-13 02:00:08] Production.INFO: Delete Temp Files Start
[2025-01-13 02:00:09] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \;
[2025-01-13 02:00:09] Production.INFO: Delete Temp Files End
[2025-01-13 02:00:09] Production.INFO: Delete CDR File Start
[2025-01-13 02:00:09] Production.INFO: Delete CDR File End
[2025-01-13 02:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235735', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 02:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 02:00:09] Production.INFO: ProcessCDR(1,14235735,1,1,2)
[2025-01-13 02:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235735,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235735,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:00:09] Production.INFO: ==13222== Releasing lock...
[2025-01-13 02:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 02:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 02:00:09] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-01-13 02:00:09] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.5G 13G 11% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 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-13 02:00:09] Production.ERROR: CronJobId end 4
[2025-01-13 02:00:09] Production.INFO: ==13209== Releasing lock...
[2025-01-13 02:00:09] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops#
[2025-01-13 02:00:09] Production.INFO: 29.5 MB #Memory Used#
[2025-01-13 02:00:16] Production.ERROR: CronJobId end10
[2025-01-13 02:00:16] Production.INFO: ==13215== Releasing lock...
[2025-01-13 02:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:00:17] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:00:17] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:00:17] Production.INFO: call_cost start
[2025-01-13 02:00:17] Production.INFO: call_cost end
[2025-01-13 02:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:00:18] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:00:18] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:00:18] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:00:18] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:00:18] Production.INFO: ==13211== Releasing lock...
[2025-01-13 02:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:00:19] Production.INFO: count ==195
[2025-01-13 02:00:19] Production.ERROR: pbx CDR StartTime 2025-01-12 23:00:06 - End Time 2025-01-13 02:00:06
[2025-01-13 02:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235738', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235738', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235738', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235738', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:00:19] Production.INFO: ProcessCDR(1,14235738,1,1,2)
[2025-01-13 02:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235738', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235738', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:00:22] Production.INFO: ==13220== Releasing lock...
[2025-01-13 02:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:00:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:01:01] Production.INFO: ==13364== Lock acquired, processing the job...
[2025-01-13 07:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:01:01] Production.INFO: neon service started
[2025-01-13 07:01:01] Production.INFO: neon service started
[2025-01-13 07:01:01] Production.INFO: ==13364== Releasing lock...
[2025-01-13 07:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:01:02] Production.INFO: ==13381== Lock acquired, processing the job...
[2025-01-13 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:01:02] Production.INFO: ==13379== Lock acquired, processing the job...
[2025-01-13 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:01:02] Production.INFO: ==13381== Releasing lock...
[2025-01-13 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:01:02] Production.INFO: ==13379== Releasing lock...
[2025-01-13 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:01:03] Production.INFO: ==13384== Lock acquired, processing the job...
[2025-01-13 02:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:01:03] Production.INFO: ==13392== Lock acquired, processing the job...
[2025-01-13 02:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:01:03] Production.INFO: ==13386== Lock acquired, processing the job...
[2025-01-13 02:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:01:03] Production.INFO: ==13388== Lock acquired, processing the job...
[2025-01-13 02:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:01:03] Production.INFO: ==13390== Lock acquired, processing the job...
[2025-01-13 02:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:01:03] Production.INFO: ==13394== Lock acquired, processing the job...
[2025-01-13 02:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:01:03] Production.ERROR: done
[2025-01-13 02:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:01:03] Production.INFO: Account Balance Start.
[2025-01-13 02:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:01:03] Production.INFO: 117
[2025-01-13 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-13 02:01:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:01:03] Production.INFO: count ==21
[2025-01-13 02:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:01:03] Production.INFO: count ==21
[2025-01-13 02:01:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235742') start
[2025-01-13 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:01:03] Production.ERROR: done
[2025-01-13 02:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235742') end
[2025-01-13 02:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:01:04] Production.INFO: 1
[2025-01-13 02:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:01:04] Production.INFO: ==13394== Releasing lock...
[2025-01-13 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:01:04] Production.INFO: Total Charge 0
[2025-01-13 02:01:04] Production.INFO: CreateAllLog End
[2025-01-13 02:01:04] Production.INFO: ==13386== Releasing lock...
[2025-01-13 02:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:01:04] Production.INFO: Account Balance End.
[2025-01-13 02:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:01:04] Production.INFO: ==13390== Releasing lock...
[2025-01-13 02:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:01:05
[end_date_ymd] => 2025-01-13 02:01:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:01:05' and `end` < '2025-01-13 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-13 02:01:12] Production.ERROR: CronJobId end10
[2025-01-13 02:01:12] Production.INFO: ==13388== Releasing lock...
[2025-01-13 02:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:01:14] Production.INFO: call_cost start
[2025-01-13 02:01:14] Production.INFO: call_cost end
[2025-01-13 02:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:01:14] Production.INFO: ==13384== Releasing lock...
[2025-01-13 02:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:01:18] Production.INFO: count ==195
[2025-01-13 02:01:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:01:05 - End Time 2025-01-13 02:01:05
[2025-01-13 02:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235743', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235743', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235743', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235743', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:01:18] Production.INFO: ProcessCDR(1,14235743,1,1,2)
[2025-01-13 02:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235743', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235743', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:01:21] Production.INFO: ==13392== Releasing lock...
[2025-01-13 02:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:01:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:02:02] Production.INFO: ==13448== Lock acquired, processing the job...
[2025-01-13 07:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:02:02] Production.INFO: neon service started
[2025-01-13 07:02:02] Production.INFO: neon service started
[2025-01-13 07:02:02] Production.INFO: ==13448== Releasing lock...
[2025-01-13 07:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:02:02] Production.INFO: ==13450== Lock acquired, processing the job...
[2025-01-13 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:02:02] Production.INFO: ==13450== Releasing lock...
[2025-01-13 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:02:03] Production.INFO: ==13452== Lock acquired, processing the job...
[2025-01-13 07:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:02:03] Production.INFO: ==13452== Releasing lock...
[2025-01-13 07:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:02:03] Production.INFO: ==13455== Lock acquired, processing the job...
[2025-01-13 02:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:02:03] Production.INFO: ==13457== Lock acquired, processing the job...
[2025-01-13 02:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:02:03] Production.INFO: ==13459== Lock acquired, processing the job...
[2025-01-13 02:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:02:03] Production.INFO: ==13461== Lock acquired, processing the job...
[2025-01-13 02:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:02:04] Production.INFO: ==13457== Releasing lock...
[2025-01-13 02:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:02:04] Production.INFO: Account Balance Start.
[2025-01-13 02:02:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:02:04] Production.INFO: 117
[2025-01-13 02:02:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:02:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:02:04] Production.INFO: ==13463== Lock acquired, processing the job...
[2025-01-13 02:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:02:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:02:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:02:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:02:04] Production.INFO: ==13465== Lock acquired, processing the job...
[2025-01-13 02:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:02:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:02:04] Production.INFO: Total Charge 0
[2025-01-13 02:02:04] Production.INFO: CreateAllLog End
[2025-01-13 02:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:02:04] Production.INFO: count ==21
[2025-01-13 02:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:02:04] Production.ERROR: done
[2025-01-13 02:02:04] Production.INFO: count ==21
[2025-01-13 02:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235747') start
[2025-01-13 02:02:04] Production.INFO: Account Balance End.
[2025-01-13 02:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:02:04] Production.INFO: ==13461== Releasing lock...
[2025-01-13 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:02:04] Production.ERROR: done
[2025-01-13 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235747') end
[2025-01-13 02:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:02:04] Production.INFO: 1
[2025-01-13 02:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:02:04] Production.INFO: ==13465== Releasing lock...
[2025-01-13 02:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:02:05
[end_date_ymd] => 2025-01-13 02:02:05
[RateCDR] => 1
)
[2025-01-13 02:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:02:05' and `end` < '2025-01-13 02:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:02:12] Production.ERROR: CronJobId end10
[2025-01-13 02:02:12] Production.INFO: ==13459== Releasing lock...
[2025-01-13 02:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:02:13] Production.INFO: call_cost start
[2025-01-13 02:02:13] Production.INFO: call_cost end
[2025-01-13 02:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:02:14] Production.INFO: ==13455== Releasing lock...
[2025-01-13 02:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:02:18] Production.INFO: count ==195
[2025-01-13 02:02:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:02:05 - End Time 2025-01-13 02:02:05
[2025-01-13 02:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235748', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235748', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235748', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235748', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:02:18] Production.INFO: ProcessCDR(1,14235748,1,1,2)
[2025-01-13 02:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235748', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235748', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:02:21] Production.INFO: ==13463== Releasing lock...
[2025-01-13 02:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:02:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:03:01] Production.INFO: ==13523== Lock acquired, processing the job...
[2025-01-13 07:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:03:01] Production.INFO: neon service started
[2025-01-13 07:03:01] Production.INFO: neon service started
[2025-01-13 07:03:01] Production.INFO: ==13523== Releasing lock...
[2025-01-13 07:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:03:02] Production.INFO: ==13525== Lock acquired, processing the job...
[2025-01-13 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:03:02] Production.INFO: ==13525== Releasing lock...
[2025-01-13 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:03:02] Production.INFO: ==13527== Lock acquired, processing the job...
[2025-01-13 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:03:02] Production.INFO: ==13527== Releasing lock...
[2025-01-13 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:03:03] Production.INFO: ==13538== Lock acquired, processing the job...
[2025-01-13 02:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:03:03] Production.INFO: ==13532== Lock acquired, processing the job...
[2025-01-13 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:03:03] Production.ERROR: done
[2025-01-13 02:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:03:03] Production.INFO: ==13530== Lock acquired, processing the job...
[2025-01-13 02:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:03:03] Production.INFO: ==13534== Lock acquired, processing the job...
[2025-01-13 02:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:03:03] Production.INFO: ==13536== Lock acquired, processing the job...
[2025-01-13 02:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:03:03] Production.ERROR: done
[2025-01-13 02:03:03] Production.INFO: ==13540== Lock acquired, processing the job...
[2025-01-13 02:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:03:03] Production.INFO: Account Balance Start.
[2025-01-13 02:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:03:03] Production.INFO: 117
[2025-01-13 02:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:03:03] Production.INFO: ==13532== Releasing lock...
[2025-01-13 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:03:03] Production.INFO: count ==21
[2025-01-13 02:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:03:03] Production.INFO: count ==21
[2025-01-13 02:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235753') start
[2025-01-13 02:03:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:03:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:03:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:03:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:03:03] Production.INFO: Total Charge 0
[2025-01-13 02:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235753') end
[2025-01-13 02:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:03:03] Production.INFO: 1
[2025-01-13 02:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:03:03] Production.INFO: CreateAllLog End
[2025-01-13 02:03:04] Production.INFO: ==13540== Releasing lock...
[2025-01-13 02:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:03:04] Production.INFO: Account Balance End.
[2025-01-13 02:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:03:04] Production.INFO: ==13536== Releasing lock...
[2025-01-13 02:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:03:04
[end_date_ymd] => 2025-01-13 02:03:04
[RateCDR] => 1
)
[2025-01-13 02:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:03:04' and `end` < '2025-01-13 02:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:03:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,13))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-13 02:03:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:03:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:03:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:03:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:03:11] Production.ERROR: CronJobId end10
[2025-01-13 02:03:11] Production.INFO: ==13534== Releasing lock...
[2025-01-13 02:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:03:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:03:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:03:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:03:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:03:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:03:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:03:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:03:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:03:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:03:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:03:12] Production.INFO: call_cost start
[2025-01-13 02:03:12] Production.INFO: call_cost end
[2025-01-13 02:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:03:13] Production.INFO: ==13530== Releasing lock...
[2025-01-13 02:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:03:18] Production.INFO: count ==193
[2025-01-13 02:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:03:04 - End Time 2025-01-13 02:03:04
[2025-01-13 02:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235750', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235750', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235750', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235750', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:03:18] Production.INFO: ProcessCDR(1,14235750,1,1,2)
[2025-01-13 02:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235750', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235750', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:03:21] Production.INFO: ==13538== Releasing lock...
[2025-01-13 02:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:03:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:04:02] Production.INFO: ==13597== Lock acquired, processing the job...
[2025-01-13 07:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:04:02] Production.INFO: neon service started
[2025-01-13 07:04:02] Production.INFO: neon service started
[2025-01-13 07:04:02] Production.INFO: ==13597== Releasing lock...
[2025-01-13 07:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:04:02] Production.INFO: ==13599== Lock acquired, processing the job...
[2025-01-13 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:04:02] Production.INFO: ==13599== Releasing lock...
[2025-01-13 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:04:03] Production.INFO: ==13601== Lock acquired, processing the job...
[2025-01-13 07:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:04:03] Production.INFO: ==13601== Releasing lock...
[2025-01-13 07:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:04:03] Production.INFO: ==13603== Lock acquired, processing the job...
[2025-01-13 02:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:04:03] Production.INFO: ==13605== Lock acquired, processing the job...
[2025-01-13 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:04:03] Production.INFO: ==13609== Lock acquired, processing the job...
[2025-01-13 02:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:04:03] Production.INFO: ==13605== Releasing lock...
[2025-01-13 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:04:03] Production.INFO: Account Balance Start.
[2025-01-13 02:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:04:03] Production.INFO: 117
[2025-01-13 02:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:04:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:04:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:04:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:04:03] Production.INFO: Total Charge 0
[2025-01-13 02:04:03] Production.INFO: ==13607== Lock acquired, processing the job...
[2025-01-13 02:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:04:03] Production.INFO: CreateAllLog End
[2025-01-13 02:04:04] Production.INFO: ==13611== Lock acquired, processing the job...
[2025-01-13 02:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:04:04] Production.INFO: ==13613== Lock acquired, processing the job...
[2025-01-13 02:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:04:04] Production.INFO: Account Balance End.
[2025-01-13 02:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:04:04] Production.INFO: ==13609== Releasing lock...
[2025-01-13 02:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:04:04] Production.INFO: count ==21
[2025-01-13 02:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:04:04] Production.INFO: count ==21
[2025-01-13 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235757') start
[2025-01-13 02:04:04] Production.ERROR: done
[2025-01-13 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235757') end
[2025-01-13 02:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:04:04] Production.INFO: 1
[2025-01-13 02:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:04:04] Production.INFO: ==13613== Releasing lock...
[2025-01-13 02:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:04:04] Production.ERROR: done
[2025-01-13 02:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:04:05
[end_date_ymd] => 2025-01-13 02:04:05
[RateCDR] => 1
)
[2025-01-13 02:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:04:05' and `end` < '2025-01-13 02:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:04:11] Production.ERROR: CronJobId end10
[2025-01-13 02:04:11] Production.INFO: ==13607== Releasing lock...
[2025-01-13 02:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:04:13] Production.INFO: call_cost start
[2025-01-13 02:04:13] Production.INFO: call_cost end
[2025-01-13 02:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:04:14] Production.INFO: ==13603== Releasing lock...
[2025-01-13 02:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:04:18] Production.INFO: count ==192
[2025-01-13 02:04:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:04:05 - End Time 2025-01-13 02:04:05
[2025-01-13 02:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235758', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235758', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235758', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235758', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:04:18] Production.INFO: ProcessCDR(1,14235758,1,1,2)
[2025-01-13 02:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235758', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235758', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:04:21] Production.INFO: ==13611== Releasing lock...
[2025-01-13 02:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:04:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:05:01] Production.INFO: ==13669== Lock acquired, processing the job...
[2025-01-13 07:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:05:01] Production.INFO: neon service started
[2025-01-13 07:05:01] Production.INFO: neon service started
[2025-01-13 07:05:01] Production.INFO: ==13669== Releasing lock...
[2025-01-13 07:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:05:01] Production.INFO: ==13673== Lock acquired, processing the job...
[2025-01-13 07:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:05:01] Production.INFO: ==13673== Releasing lock...
[2025-01-13 07:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:05:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:05:01] Production.INFO: ==13671== Lock acquired, processing the job...
[2025-01-13 02:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:05:02] Production.INFO: ==13671== Releasing lock...
[2025-01-13 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:05:02] Production.INFO: ==13679== Lock acquired, processing the job...
[2025-01-13 02:05:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:05:03] Production.INFO: ==13675== Lock acquired, processing the job...
[2025-01-13 02:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:05:03] Production.INFO: ==13685== Lock acquired, processing the job...
[2025-01-13 02:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:05:03] Production.INFO: ==13677== Lock acquired, processing the job...
[2025-01-13 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:05:03] Production.INFO: ==13681== Lock acquired, processing the job...
[2025-01-13 02:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:05:03] Production.INFO: ==13683== Lock acquired, processing the job...
[2025-01-13 02:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:05:03] Production.INFO: count ==21
[2025-01-13 02:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:05:03] Production.INFO: count ==21
[2025-01-13 02:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235760') start
[2025-01-13 02:05:03] Production.INFO: Account Balance Start.
[2025-01-13 02:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:05:03] Production.INFO: 117
[2025-01-13 02:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235760') end
[2025-01-13 02:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:05:03] Production.INFO: 1
[2025-01-13 02:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:05:03] Production.INFO: ==13677== Releasing lock...
[2025-01-13 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:05:03] Production.INFO: ==13685== Releasing lock...
[2025-01-13 02:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:05:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:05:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:05:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:05:03] Production.INFO: Total Charge 0
[2025-01-13 02:05:03] Production.INFO: CreateAllLog End
[2025-01-13 02:05:03] Production.ERROR: done
[2025-01-13 02:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:05:04] Production.INFO: Account Balance End.
[2025-01-13 02:05:04] Production.ERROR: done
[2025-01-13 02:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:05:04] Production.INFO: ==13681== Releasing lock...
[2025-01-13 02:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:05:04
[end_date_ymd] => 2025-01-13 02:05:04
[RateCDR] => 1
)
[2025-01-13 02:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:05:04' and `end` < '2025-01-13 02:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:05:10] Production.ERROR: CronJobId end10
[2025-01-13 02:05:10] Production.INFO: ==13679== Releasing lock...
[2025-01-13 02:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:05:12] Production.INFO: call_cost start
[2025-01-13 02:05:12] Production.INFO: call_cost end
[2025-01-13 02:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:05:13] Production.INFO: ==13675== Releasing lock...
[2025-01-13 02:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:05:17] Production.INFO: count ==191
[2025-01-13 02:05:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:05:04 - End Time 2025-01-13 02:05:04
[2025-01-13 02:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235763', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235763', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235763', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235763', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:05:17] Production.INFO: ProcessCDR(1,14235763,1,1,2)
[2025-01-13 02:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235763', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235763', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:05:20] Production.INFO: ==13683== Releasing lock...
[2025-01-13 02:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:05:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:06:01] Production.INFO: ==13745== Lock acquired, processing the job...
[2025-01-13 07:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:06:01] Production.INFO: neon service started
[2025-01-13 07:06:01] Production.INFO: neon service started
[2025-01-13 07:06:01] Production.INFO: ==13745== Releasing lock...
[2025-01-13 07:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:06:02] Production.INFO: ==13749== Lock acquired, processing the job...
[2025-01-13 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:06:02] Production.INFO: ==13749== Releasing lock...
[2025-01-13 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:06:02] Production.INFO: ==13747== Lock acquired, processing the job...
[2025-01-13 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:06:02] Production.INFO: ==13747== Releasing lock...
[2025-01-13 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:06:03] Production.INFO: ==13753== Lock acquired, processing the job...
[2025-01-13 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:06:03] Production.INFO: ==13757== Lock acquired, processing the job...
[2025-01-13 02:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:06:03] Production.INFO: ==13759== Lock acquired, processing the job...
[2025-01-13 02:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:06:03] Production.INFO: Account Balance Start.
[2025-01-13 02:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:06:03] Production.INFO: 117
[2025-01-13 02:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:06:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:06:03] Production.INFO: ==13751== Lock acquired, processing the job...
[2025-01-13 02:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:06:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:06:03] Production.INFO: ==13753== Releasing lock...
[2025-01-13 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:06:03] Production.INFO: ==13755== Lock acquired, processing the job...
[2025-01-13 02:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:06:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:06:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:06:03] Production.INFO: ==13761== Lock acquired, processing the job...
[2025-01-13 02:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:06:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:06:04] Production.INFO: Total Charge 0
[2025-01-13 02:06:04] Production.INFO: CreateAllLog End
[2025-01-13 02:06:04] Production.ERROR: done
[2025-01-13 02:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 02:06:04] Production.INFO: count ==21
[2025-01-13 02:06:04] Production.ERROR: done
[2025-01-13 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-13 02:06:04] Production.INFO: Account Balance End.
[2025-01-13 02:06:04] Production.INFO: count ==21
[2025-01-13 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235767') start
[2025-01-13 02:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:06:04] Production.INFO: ==13757== Releasing lock...
[2025-01-13 02:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235767') end
[2025-01-13 02:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:06:04] Production.INFO: 1
[2025-01-13 02:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:06:04] Production.INFO: ==13761== Releasing lock...
[2025-01-13 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:06:05
[end_date_ymd] => 2025-01-13 02:06:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:06:05' and `end` < '2025-01-13 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-13 02:06:11] Production.ERROR: CronJobId end10
[2025-01-13 02:06:11] Production.INFO: ==13755== Releasing lock...
[2025-01-13 02:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:06:13] Production.INFO: call_cost start
[2025-01-13 02:06:13] Production.INFO: call_cost end
[2025-01-13 02:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:06:14] Production.INFO: ==13751== Releasing lock...
[2025-01-13 02:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:06:18] Production.INFO: count ==191
[2025-01-13 02:06:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:06:05 - End Time 2025-01-13 02:06:05
[2025-01-13 02:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235768', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235768', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235768', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235768', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:06:18] Production.INFO: ProcessCDR(1,14235768,1,1,2)
[2025-01-13 02:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235768', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235768', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:06:21] Production.INFO: ==13759== Releasing lock...
[2025-01-13 02:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:06:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:07:02] Production.INFO: ==13816== Lock acquired, processing the job...
[2025-01-13 07:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:07:02] Production.INFO: neon service started
[2025-01-13 07:07:02] Production.INFO: neon service started
[2025-01-13 07:07:02] Production.INFO: ==13816== Releasing lock...
[2025-01-13 07:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:07:02] Production.INFO: ==13820== Lock acquired, processing the job...
[2025-01-13 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:07:02] Production.INFO: ==13820== Releasing lock...
[2025-01-13 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:07:02] Production.INFO: ==13818== Lock acquired, processing the job...
[2025-01-13 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:07:03] Production.INFO: ==13818== Releasing lock...
[2025-01-13 02:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:07:03] Production.INFO: ==13826== Lock acquired, processing the job...
[2025-01-13 02:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:07:03] Production.INFO: ==13828== Lock acquired, processing the job...
[2025-01-13 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:07:04] Production.INFO: ==13822== Lock acquired, processing the job...
[2025-01-13 02:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:07:04] Production.INFO: Account Balance Start.
[2025-01-13 02:07:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:07:04] Production.INFO: 117
[2025-01-13 02:07:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:07:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:07:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:07:04] Production.INFO: ==13824== Lock acquired, processing the job...
[2025-01-13 02:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:07:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:07:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:07:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:07:04] Production.INFO: Total Charge 0
[2025-01-13 02:07:04] Production.INFO: CreateAllLog End
[2025-01-13 02:07:04] Production.INFO: ==13833== Lock acquired, processing the job...
[2025-01-13 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:07:04] Production.INFO: ==13831== Lock acquired, processing the job...
[2025-01-13 02:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:07:04] Production.INFO: Account Balance End.
[2025-01-13 02:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:07:04] Production.INFO: ==13828== Releasing lock...
[2025-01-13 02:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:07:04] Production.INFO: ==13824== Releasing lock...
[2025-01-13 02:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:07:04] Production.INFO: count ==21
[2025-01-13 02:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:07:04] Production.INFO: count ==21
[2025-01-13 02:07:04] Production.ERROR: done
[2025-01-13 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235772') start
[2025-01-13 02:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235772') end
[2025-01-13 02:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:07:04] Production.INFO: 1
[2025-01-13 02:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:07:04] Production.INFO: ==13833== Releasing lock...
[2025-01-13 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:07:04] Production.ERROR: done
[2025-01-13 02:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:07:05
[end_date_ymd] => 2025-01-13 02:07:05
[RateCDR] => 1
)
[2025-01-13 02:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:07:05' and `end` < '2025-01-13 02:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:07:11] Production.ERROR: CronJobId end10
[2025-01-13 02:07:11] Production.INFO: ==13826== Releasing lock...
[2025-01-13 02:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:07:13] Production.INFO: call_cost start
[2025-01-13 02:07:13] Production.INFO: call_cost end
[2025-01-13 02:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:07:14] Production.INFO: ==13822== Releasing lock...
[2025-01-13 02:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:07:18] Production.INFO: count ==191
[2025-01-13 02:07:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:07:05 - End Time 2025-01-13 02:07:05
[2025-01-13 02:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235773', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235773', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235773', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235773', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:07:18] Production.INFO: ProcessCDR(1,14235773,1,1,2)
[2025-01-13 02:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235773', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235773', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:07:21] Production.INFO: ==13831== Releasing lock...
[2025-01-13 02:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:07:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:08:01] Production.INFO: ==13886== Lock acquired, processing the job...
[2025-01-13 07:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:08:01] Production.INFO: neon service started
[2025-01-13 07:08:01] Production.INFO: neon service started
[2025-01-13 07:08:01] Production.INFO: ==13886== Releasing lock...
[2025-01-13 07:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:08:02] Production.INFO: ==13890== Lock acquired, processing the job...
[2025-01-13 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:08:02] Production.INFO: ==13890== Releasing lock...
[2025-01-13 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:08:02] Production.INFO: ==13888== Lock acquired, processing the job...
[2025-01-13 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:08:02] Production.INFO: ==13888== Releasing lock...
[2025-01-13 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:08:03] Production.INFO: ==13893== Lock acquired, processing the job...
[2025-01-13 02:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:08:03] Production.INFO: ==13897== Lock acquired, processing the job...
[2025-01-13 02:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:08:03] Production.INFO: ==13901== Lock acquired, processing the job...
[2025-01-13 02:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:08:03] Production.INFO: ==13895== Lock acquired, processing the job...
[2025-01-13 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:08:03] Production.INFO: ==13899== Lock acquired, processing the job...
[2025-01-13 02:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:08:03] Production.INFO: ==13903== Lock acquired, processing the job...
[2025-01-13 02:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:08:04] Production.INFO: Account Balance Start.
[2025-01-13 02:08:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:08:04] Production.INFO: 117
[2025-01-13 02:08:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:08:04] Production.INFO: count ==21
[2025-01-13 02:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:08:04] Production.INFO: count ==21
[2025-01-13 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235776') start
[2025-01-13 02:08:04] Production.INFO: ==13895== Releasing lock...
[2025-01-13 02:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:08:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:08:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235776') end
[2025-01-13 02:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:08:04] Production.INFO: 1
[2025-01-13 02:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:08:04] Production.ERROR: done
[2025-01-13 02:08:04] Production.INFO: ==13903== Releasing lock...
[2025-01-13 02:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:08:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:08:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:08:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:08:04] Production.INFO: Total Charge 0
[2025-01-13 02:08:04] Production.ERROR: done
[2025-01-13 02:08:04] Production.INFO: CreateAllLog End
[2025-01-13 02:08:04] Production.INFO: Account Balance End.
[2025-01-13 02:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:08:04] Production.INFO: ==13899== Releasing lock...
[2025-01-13 02:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:08:05
[end_date_ymd] => 2025-01-13 02:08:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:08:05' and `end` < '2025-01-13 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-13 02:08:10] Production.ERROR: CronJobId end10
[2025-01-13 02:08:10] Production.INFO: ==13897== Releasing lock...
[2025-01-13 02:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:08:13] Production.INFO: call_cost start
[2025-01-13 02:08:13] Production.INFO: call_cost end
[2025-01-13 02:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:08:13] Production.INFO: ==13893== Releasing lock...
[2025-01-13 02:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:08:18] Production.INFO: count ==191
[2025-01-13 02:08:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:08:05 - End Time 2025-01-13 02:08:05
[2025-01-13 02:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235778', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235778', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235778', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235778', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:08:18] Production.INFO: ProcessCDR(1,14235778,1,1,2)
[2025-01-13 02:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235778', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235778', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:08:21] Production.INFO: ==13901== Releasing lock...
[2025-01-13 02:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:08:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:09:02] Production.INFO: ==13956== Lock acquired, processing the job...
[2025-01-13 07:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:09:02] Production.INFO: neon service started
[2025-01-13 07:09:02] Production.INFO: neon service started
[2025-01-13 07:09:02] Production.INFO: ==13956== Releasing lock...
[2025-01-13 07:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:09:02] Production.INFO: ==13958== Lock acquired, processing the job...
[2025-01-13 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:09:02] Production.INFO: ==13960== Lock acquired, processing the job...
[2025-01-13 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:09:02] Production.INFO: ==13958== Releasing lock...
[2025-01-13 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:09:03] Production.INFO: ==13960== Releasing lock...
[2025-01-13 07:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:09:03] Production.INFO: ==13962== Lock acquired, processing the job...
[2025-01-13 02:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:09:03] Production.INFO: ==13964== Lock acquired, processing the job...
[2025-01-13 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:09:03] Production.INFO: ==13966== Lock acquired, processing the job...
[2025-01-13 02:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:09:04] Production.INFO: ==13968== Lock acquired, processing the job...
[2025-01-13 02:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:09:04] Production.INFO: ==13964== Releasing lock...
[2025-01-13 02:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:09:04] Production.INFO: ==13970== Lock acquired, processing the job...
[2025-01-13 02:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:09:04] Production.INFO: ==13972== Lock acquired, processing the job...
[2025-01-13 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:09:04] Production.INFO: Account Balance Start.
[2025-01-13 02:09:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:09:04] Production.INFO: 117
[2025-01-13 02:09:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:09:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:09:04] Production.INFO: count ==21
[2025-01-13 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-13 02:09:04] Production.INFO: count ==21
[2025-01-13 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235782') start
[2025-01-13 02:09:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235782') end
[2025-01-13 02:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:09:04] Production.INFO: 1
[2025-01-13 02:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:09:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:09:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:09:04] Production.INFO: ==13972== Releasing lock...
[2025-01-13 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:09:04] Production.ERROR: done
[2025-01-13 02:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:09:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:09:04] Production.INFO: Total Charge 0
[2025-01-13 02:09:04] Production.INFO: CreateAllLog End
[2025-01-13 02:09:04] Production.ERROR: done
[2025-01-13 02:09:04] Production.INFO: Account Balance End.
[2025-01-13 02:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:09:04] Production.INFO: ==13968== Releasing lock...
[2025-01-13 02:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:09:05
[end_date_ymd] => 2025-01-13 02:09:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:09:05' and `end` < '2025-01-13 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-13 02:09:11] Production.ERROR: CronJobId end10
[2025-01-13 02:09:11] Production.INFO: ==13966== Releasing lock...
[2025-01-13 02:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:09:14] Production.INFO: call_cost start
[2025-01-13 02:09:14] Production.INFO: call_cost end
[2025-01-13 02:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:09:14] Production.INFO: ==13962== Releasing lock...
[2025-01-13 02:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:09:19] Production.INFO: count ==191
[2025-01-13 02:09:19] Production.ERROR: pbx CDR StartTime 2025-01-12 23:09:05 - End Time 2025-01-13 02:09:05
[2025-01-13 02:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235783', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235783', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235783', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235783', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:09:19] Production.INFO: ProcessCDR(1,14235783,1,1,2)
[2025-01-13 02:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235783', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235783', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:09:22] Production.INFO: ==13970== Releasing lock...
[2025-01-13 02:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:09:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:10:01] Production.INFO: ==14027== Lock acquired, processing the job...
[2025-01-13 07:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:10:01] Production.INFO: neon service started
[2025-01-13 07:10:01] Production.INFO: neon service started
[2025-01-13 07:10:01] Production.INFO: ==14027== Releasing lock...
[2025-01-13 07:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:10:02] Production.INFO: ==14029== Lock acquired, processing the job...
[2025-01-13 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:10:02] Production.INFO: ==14029== Releasing lock...
[2025-01-13 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:10:02] Production.INFO: ==14031== Lock acquired, processing the job...
[2025-01-13 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:10:02] Production.INFO: ==14031== Releasing lock...
[2025-01-13 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:10:03] Production.INFO: ==14037== Lock acquired, processing the job...
[2025-01-13 02:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:10:03] Production.INFO: ==14033== Lock acquired, processing the job...
[2025-01-13 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 02:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 02:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:10:03] Production.ERROR: CronJob PID - 14037
[2025-01-13 02:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 02:10:03] Production.ERROR: CronJob ID - 7
[2025-01-13 02:10:03] Production.ERROR: CronJob Last Run Time 2025-01-13 02:10:00
[2025-01-13 02:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:10:03] Production.INFO: ==14035== Lock acquired, processing the job...
[2025-01-13 02:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:10:03] Production.INFO: ==14039== Lock acquired, processing the job...
[2025-01-13 02:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:10:03] Production.INFO: ==14041== Lock acquired, processing the job...
[2025-01-13 02:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:10:03] Production.INFO: ==14043== Lock acquired, processing the job...
[2025-01-13 02:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 02:10:03] Production.INFO: ==14033== Releasing lock...
[2025-01-13 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 02:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 02:10:03] Production.INFO: ==14046== Lock acquired, processing the job...
[2025-01-13 02:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 02:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:10:03] Production.INFO: ==14048== Lock acquired, processing the job...
[2025-01-13 02:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:10:04] Production.INFO: ==14037== Releasing lock...
[2025-01-13 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:10:04] Production.INFO: Account Balance Start.
[2025-01-13 02:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:10:04] Production.INFO: 117
[2025-01-13 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-13 02:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:10:04] Production.INFO: count ==21
[2025-01-13 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-13 02:10:04] Production.INFO: count ==21
[2025-01-13 02:10:04] Production.ERROR: done
[2025-01-13 02:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235786') start
[2025-01-13 02:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:10:04] Production.ERROR: done
[2025-01-13 02:10:04] Production.ERROR: done
[2025-01-13 02:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235786') end
[2025-01-13 02:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:10:04] Production.INFO: 1
[2025-01-13 02:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 02:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235788', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 02:10:04] Production.INFO: ==14048== Releasing lock...
[2025-01-13 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:10:04] Production.INFO: Total Charge 0
[2025-01-13 02:10:04] Production.INFO: CreateAllLog End
[2025-01-13 02:10:04] Production.INFO: Account Balance End.
[2025-01-13 02:10:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:10:04] Production.INFO: ==14041== Releasing lock...
[2025-01-13 02:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:10:05
[end_date_ymd] => 2025-01-13 02:10:05
[RateCDR] => 1
)
[2025-01-13 02:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:10:05' and `end` < '2025-01-13 02:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235788', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 02:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 02:10:08] Production.INFO: ProcessCDR(1,14235788,1,1,2)
[2025-01-13 02:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235788,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235788,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:10:08] Production.INFO: ==14046== Releasing lock...
[2025-01-13 02:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 02:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 02:10:13] Production.ERROR: CronJobId end10
[2025-01-13 02:10:13] Production.INFO: ==14039== Releasing lock...
[2025-01-13 02:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:10:15] Production.INFO: call_cost start
[2025-01-13 02:10:15] Production.INFO: call_cost end
[2025-01-13 02:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:10:16] Production.INFO: ==14035== Releasing lock...
[2025-01-13 02:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:10:17] Production.INFO: count ==197
[2025-01-13 02:10:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:10:05 - End Time 2025-01-13 02:10:05
[2025-01-13 02:10:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:10:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235789', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:10:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235789', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:10:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235789', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:10:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235789', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:10:17] Production.INFO: ProcessCDR(1,14235789,1,1,2)
[2025-01-13 02:10:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235789', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235789', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:10:21] Production.INFO: ==14043== Releasing lock...
[2025-01-13 02:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:10:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:11:02] Production.INFO: ==14102== Lock acquired, processing the job...
[2025-01-13 07:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:11:02] Production.INFO: neon service started
[2025-01-13 07:11:02] Production.INFO: neon service started
[2025-01-13 07:11:02] Production.INFO: ==14102== Releasing lock...
[2025-01-13 07:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:11:02] Production.INFO: ==14104== Lock acquired, processing the job...
[2025-01-13 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:11:02] Production.INFO: ==14104== Releasing lock...
[2025-01-13 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:11:02] Production.INFO: ==14106== Lock acquired, processing the job...
[2025-01-13 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:11:03] Production.INFO: ==14106== Releasing lock...
[2025-01-13 07:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:11:03] Production.INFO: ==14110== Lock acquired, processing the job...
[2025-01-13 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:11:03] Production.INFO: ==14112== Lock acquired, processing the job...
[2025-01-13 02:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:11:03] Production.INFO: ==14114== Lock acquired, processing the job...
[2025-01-13 02:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:11:03] Production.INFO: ==14108== Lock acquired, processing the job...
[2025-01-13 02:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:11:03] Production.INFO: Account Balance Start.
[2025-01-13 02:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:11:03] Production.INFO: 117
[2025-01-13 02:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:11:03] Production.INFO: ==14116== Lock acquired, processing the job...
[2025-01-13 02:11:03] Production.INFO: ==14118== Lock acquired, processing the job...
[2025-01-13 02:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:11:03] Production.INFO: ==14110== Releasing lock...
[2025-01-13 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:11:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:11:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:11:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:11:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:11:04] Production.INFO: count ==21
[2025-01-13 02:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:11:04] Production.INFO: count ==21
[2025-01-13 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235793') start
[2025-01-13 02:11:04] Production.INFO: Total Charge 0
[2025-01-13 02:11:04] Production.INFO: CreateAllLog End
[2025-01-13 02:11:04] Production.ERROR: done
[2025-01-13 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235793') end
[2025-01-13 02:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:11:04] Production.INFO: 1
[2025-01-13 02:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:11:04] Production.INFO: ==14118== Releasing lock...
[2025-01-13 02:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:11:04] Production.ERROR: done
[2025-01-13 02:11:04] Production.INFO: Account Balance End.
[2025-01-13 02:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:11:04] Production.INFO: ==14114== Releasing lock...
[2025-01-13 02:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:11:05
[end_date_ymd] => 2025-01-13 02:11:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:11:05' and `end` < '2025-01-13 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-13 02:11:11] Production.ERROR: CronJobId end10
[2025-01-13 02:11:11] Production.INFO: ==14112== Releasing lock...
[2025-01-13 02:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:11:13] Production.INFO: call_cost start
[2025-01-13 02:11:14] Production.INFO: call_cost end
[2025-01-13 02:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:11:14] Production.INFO: ==14108== Releasing lock...
[2025-01-13 02:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:11:18] Production.INFO: count ==197
[2025-01-13 02:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:11:05 - End Time 2025-01-13 02:11:05
[2025-01-13 02:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235794', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235794', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235794', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235794', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:11:18] Production.INFO: ProcessCDR(1,14235794,1,1,2)
[2025-01-13 02:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235794', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235794', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:11:21] Production.INFO: ==14116== Releasing lock...
[2025-01-13 02:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:11:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:12:01] Production.INFO: ==14175== Lock acquired, processing the job...
[2025-01-13 07:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:12:01] Production.INFO: neon service started
[2025-01-13 07:12:01] Production.INFO: neon service started
[2025-01-13 07:12:01] Production.INFO: ==14175== Releasing lock...
[2025-01-13 07:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:12:02] Production.INFO: ==14177== Lock acquired, processing the job...
[2025-01-13 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:12:02] Production.INFO: ==14177== Releasing lock...
[2025-01-13 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:12:02] Production.INFO: ==14179== Lock acquired, processing the job...
[2025-01-13 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:12:02] Production.INFO: ==14179== Releasing lock...
[2025-01-13 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:12:03] Production.INFO: ==14181== Lock acquired, processing the job...
[2025-01-13 02:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:12:03] Production.INFO: ==14185== Lock acquired, processing the job...
[2025-01-13 02:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:12:03] Production.INFO: ==14187== Lock acquired, processing the job...
[2025-01-13 02:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:12:03] Production.INFO: Account Balance Start.
[2025-01-13 02:12:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:12:03] Production.INFO: 117
[2025-01-13 02:12:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:12:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:12:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:12:03] Production.INFO: ==14183== Lock acquired, processing the job...
[2025-01-13 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:12:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:12:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:12:03] Production.INFO: ==14192== Lock acquired, processing the job...
[2025-01-13 02:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:12:03] Production.INFO: ==14190== Lock acquired, processing the job...
[2025-01-13 02:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:12:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:12:03] Production.INFO: Total Charge 0
[2025-01-13 02:12:03] Production.INFO: CreateAllLog End
[2025-01-13 02:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:12:03] Production.INFO: count ==21
[2025-01-13 02:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:12:03] Production.INFO: count ==21
[2025-01-13 02:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235798') start
[2025-01-13 02:12:03] Production.INFO: ==14183== Releasing lock...
[2025-01-13 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235798') end
[2025-01-13 02:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:12:03] Production.INFO: 1
[2025-01-13 02:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:12:03] Production.ERROR: done
[2025-01-13 02:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:12:04] Production.INFO: ==14192== Releasing lock...
[2025-01-13 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:12:04] Production.INFO: Account Balance End.
[2025-01-13 02:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:12:04] Production.INFO: ==14187== Releasing lock...
[2025-01-13 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:12:04] Production.ERROR: done
[2025-01-13 02:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:12:05
[end_date_ymd] => 2025-01-13 02:12:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:12:05' and `end` < '2025-01-13 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-13 02:12:11] Production.ERROR: CronJobId end10
[2025-01-13 02:12:11] Production.INFO: ==14185== Releasing lock...
[2025-01-13 02:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:12:13] Production.INFO: call_cost start
[2025-01-13 02:12:13] Production.INFO: call_cost end
[2025-01-13 02:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:12:14] Production.INFO: ==14181== Releasing lock...
[2025-01-13 02:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:12:17] Production.INFO: count ==197
[2025-01-13 02:12:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:12:05 - End Time 2025-01-13 02:12:05
[2025-01-13 02:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235799', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235799', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235799', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235799', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:12:17] Production.INFO: ProcessCDR(1,14235799,1,1,2)
[2025-01-13 02:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235799', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235799', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:12:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:12:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:12:20] Production.INFO: ==14190== Releasing lock...
[2025-01-13 02:12:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:12:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:13:02] Production.INFO: ==14246== Lock acquired, processing the job...
[2025-01-13 07:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:13:02] Production.INFO: neon service started
[2025-01-13 07:13:02] Production.INFO: neon service started
[2025-01-13 07:13:02] Production.INFO: ==14246== Releasing lock...
[2025-01-13 07:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:13:02] Production.INFO: ==14248== Lock acquired, processing the job...
[2025-01-13 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:13:02] Production.INFO: ==14248== Releasing lock...
[2025-01-13 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:13:02] Production.INFO: ==14250== Lock acquired, processing the job...
[2025-01-13 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:13:02] Production.INFO: ==14250== Releasing lock...
[2025-01-13 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:13:03] Production.INFO: ==14258== Lock acquired, processing the job...
[2025-01-13 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:13:03] Production.INFO: ==14252== Lock acquired, processing the job...
[2025-01-13 02:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:13:03] Production.INFO: Account Balance Start.
[2025-01-13 02:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:13:03] Production.INFO: 117
[2025-01-13 02:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:13:03] Production.INFO: ==14254== Lock acquired, processing the job...
[2025-01-13 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:13:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:13:03] Production.INFO: ==14256== Lock acquired, processing the job...
[2025-01-13 02:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:13:03] Production.INFO: ==14262== Lock acquired, processing the job...
[2025-01-13 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:13:03] Production.INFO: ==14260== Lock acquired, processing the job...
[2025-01-13 02:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:13:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:13:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 02:13:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:13:04] Production.INFO: count ==21
[2025-01-13 02:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:13:04] Production.INFO: count ==21
[2025-01-13 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235803') start
[2025-01-13 02:13:04] Production.INFO: Total Charge 0
[2025-01-13 02:13:04] Production.INFO: CreateAllLog End
[2025-01-13 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235803') end
[2025-01-13 02:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:13:04] Production.INFO: 1
[2025-01-13 02:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:13:04] Production.INFO: ==14254== Releasing lock...
[2025-01-13 02:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:13:04] Production.ERROR: done
[2025-01-13 02:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:13:04] Production.INFO: ==14262== Releasing lock...
[2025-01-13 02:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:13:04] Production.INFO: Account Balance End.
[2025-01-13 02:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:13:04] Production.INFO: ==14258== Releasing lock...
[2025-01-13 02:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:13:04] Production.ERROR: done
[2025-01-13 02:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:13:05
[end_date_ymd] => 2025-01-13 02:13:05
[RateCDR] => 1
)
[2025-01-13 02:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:13:05' and `end` < '2025-01-13 02:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:13:11] Production.ERROR: CronJobId end10
[2025-01-13 02:13:11] Production.INFO: ==14256== Releasing lock...
[2025-01-13 02:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:13:13] Production.INFO: call_cost start
[2025-01-13 02:13:13] Production.INFO: call_cost end
[2025-01-13 02:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:13:14] Production.INFO: ==14252== Releasing lock...
[2025-01-13 02:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:13:18] Production.INFO: count ==197
[2025-01-13 02:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:13:05 - End Time 2025-01-13 02:13:05
[2025-01-13 02:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235804', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235804', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235804', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235804', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:13:18] Production.INFO: ProcessCDR(1,14235804,1,1,2)
[2025-01-13 02:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235804', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235804', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:13:21] Production.INFO: ==14260== Releasing lock...
[2025-01-13 02:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:13:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:14:01] Production.INFO: ==14316== Lock acquired, processing the job...
[2025-01-13 07:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:14:01] Production.INFO: neon service started
[2025-01-13 07:14:01] Production.INFO: neon service started
[2025-01-13 07:14:01] Production.INFO: ==14316== Releasing lock...
[2025-01-13 07:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:14:02] Production.INFO: ==14318== Lock acquired, processing the job...
[2025-01-13 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:14:02] Production.INFO: ==14320== Lock acquired, processing the job...
[2025-01-13 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:14:02] Production.INFO: ==14320== Releasing lock...
[2025-01-13 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:14:02] Production.INFO: ==14318== Releasing lock...
[2025-01-13 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:14:03] Production.INFO: ==14325== Lock acquired, processing the job...
[2025-01-13 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:14:03] Production.INFO: ==14329== Lock acquired, processing the job...
[2025-01-13 02:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:14:03] Production.INFO: ==14333== Lock acquired, processing the job...
[2025-01-13 02:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:14:03] Production.INFO: Account Balance Start.
[2025-01-13 02:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:14:03] Production.INFO: 117
[2025-01-13 02:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:14:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:14:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:14:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:14:03] Production.INFO: ==14323== Lock acquired, processing the job...
[2025-01-13 02:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:14:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:14:03] Production.INFO: count ==21
[2025-01-13 02:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:14:03] Production.INFO: count ==21
[2025-01-13 02:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:14:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235807') start
[2025-01-13 02:14:03] Production.INFO: ==14327== Lock acquired, processing the job...
[2025-01-13 02:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:14:03] Production.INFO: ==14325== Releasing lock...
[2025-01-13 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:14:03] Production.INFO: Total Charge 0
[2025-01-13 02:14:03] Production.INFO: CreateAllLog End
[2025-01-13 02:14:03] Production.INFO: ==14331== Lock acquired, processing the job...
[2025-01-13 02:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235807') end
[2025-01-13 02:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:14:03] Production.INFO: 1
[2025-01-13 02:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:14:03] Production.INFO: Account Balance End.
[2025-01-13 02:14:03] Production.INFO: ==14333== Releasing lock...
[2025-01-13 02:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:14:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:14:03] Production.INFO: ==14329== Releasing lock...
[2025-01-13 02:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:14:04] Production.ERROR: done
[2025-01-13 02:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:14:04] Production.ERROR: done
[2025-01-13 02:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:14:05
[end_date_ymd] => 2025-01-13 02:14:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:14:05' and `end` < '2025-01-13 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-13 02:14: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-13 02:14:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:14:10] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:14:10] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:14:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:14:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:14:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:14:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:14:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:14:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:14:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:14:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:14:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:14:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:14:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:14:10] Production.INFO: call_cost start
[2025-01-13 02:14:10] Production.INFO: call_cost end
[2025-01-13 02:14:11] Production.ERROR: CronJobId end10
[2025-01-13 02:14:11] Production.INFO: ==14327== Releasing lock...
[2025-01-13 02:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:14:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:14:11] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:14:11] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:14:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:14:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:14:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:14:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:14:11] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:14:11] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:14:11] Production.INFO: ==14323== Releasing lock...
[2025-01-13 02:14:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:14:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:14:17] Production.INFO: count ==197
[2025-01-13 02:14:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:14:05 - End Time 2025-01-13 02:14:05
[2025-01-13 02:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235809', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235809', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235809', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235809', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:14:17] Production.INFO: ProcessCDR(1,14235809,1,1,2)
[2025-01-13 02:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235809', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235809', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:14:21] Production.INFO: ==14331== Releasing lock...
[2025-01-13 02:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:14:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:15:02] Production.INFO: ==14426== Lock acquired, processing the job...
[2025-01-13 07:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:15:02] Production.INFO: neon service started
[2025-01-13 07:15:02] Production.INFO: neon service started
[2025-01-13 07:15:02] Production.INFO: ==14426== Releasing lock...
[2025-01-13 07:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:15:02] Production.INFO: ==14430== Lock acquired, processing the job...
[2025-01-13 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:15:02] Production.INFO: ==14430== Releasing lock...
[2025-01-13 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:15:02] Production.INFO: ==14428== Lock acquired, processing the job...
[2025-01-13 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:15:02] Production.INFO: ==14428== Releasing lock...
[2025-01-13 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:15:03] Production.INFO: ==14433== Lock acquired, processing the job...
[2025-01-13 02:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:15:03] Production.INFO: ==14437== Lock acquired, processing the job...
[2025-01-13 02:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:15:03] Production.INFO: ==14435== Lock acquired, processing the job...
[2025-01-13 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:15:03] Production.INFO: ==14441== Lock acquired, processing the job...
[2025-01-13 02:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:15:03] Production.INFO: ==14439== Lock acquired, processing the job...
[2025-01-13 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:15:04] Production.INFO: ==14443== Lock acquired, processing the job...
[2025-01-13 02:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:15:04] Production.INFO: Account Balance Start.
[2025-01-13 02:15:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:15:04] Production.INFO: 117
[2025-01-13 02:15:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:15:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:15:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:15:04] Production.INFO: ==14435== Releasing lock...
[2025-01-13 02:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:15:04] Production.ERROR: done
[2025-01-13 02:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:15:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:15:04] Production.INFO: count ==21
[2025-01-13 02:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:15:04] Production.ERROR: done
[2025-01-13 02:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:15:04] Production.INFO: count ==21
[2025-01-13 02:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:15:04] Production.INFO: Total Charge 0
[2025-01-13 02:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235813') start
[2025-01-13 02:15:04] Production.INFO: CreateAllLog End
[2025-01-13 02:15:04] Production.INFO: Account Balance End.
[2025-01-13 02:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235813') end
[2025-01-13 02:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:15:04] Production.INFO: 1
[2025-01-13 02:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:15:04] Production.INFO: ==14439== Releasing lock...
[2025-01-13 02:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:15:04] Production.INFO: ==14443== Releasing lock...
[2025-01-13 02:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:15:05
[end_date_ymd] => 2025-01-13 02:15:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:15:05' and `end` < '2025-01-13 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-13 02:15:11] Production.ERROR: CronJobId end10
[2025-01-13 02:15:11] Production.INFO: ==14437== Releasing lock...
[2025-01-13 02:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:15:13] Production.INFO: call_cost start
[2025-01-13 02:15:13] Production.INFO: call_cost end
[2025-01-13 02:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:15:14] Production.INFO: ==14433== Releasing lock...
[2025-01-13 02:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:15:18] Production.INFO: count ==197
[2025-01-13 02:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:15:05 - End Time 2025-01-13 02:15:05
[2025-01-13 02:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235814', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235814', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235814', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235814', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:15:18] Production.INFO: ProcessCDR(1,14235814,1,1,2)
[2025-01-13 02:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235814', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235814', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:15:21] Production.INFO: ==14441== Releasing lock...
[2025-01-13 02:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:16:01] Production.INFO: ==14499== Lock acquired, processing the job...
[2025-01-13 07:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:16:01] Production.INFO: neon service started
[2025-01-13 07:16:01] Production.INFO: neon service started
[2025-01-13 07:16:01] Production.INFO: ==14499== Releasing lock...
[2025-01-13 07:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:16:01] Production.INFO: ==14501== Lock acquired, processing the job...
[2025-01-13 02:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:16:02] Production.INFO: ==14501== Releasing lock...
[2025-01-13 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:16:02] Production.INFO: ==14503== Lock acquired, processing the job...
[2025-01-13 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:16:02] Production.INFO: ==14503== Releasing lock...
[2025-01-13 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:16:03] Production.INFO: ==14511== Lock acquired, processing the job...
[2025-01-13 02:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:16:03] Production.INFO: ==14505== Lock acquired, processing the job...
[2025-01-13 02:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:16:03] Production.INFO: ==14507== Lock acquired, processing the job...
[2025-01-13 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:16:03] Production.INFO: ==14509== Lock acquired, processing the job...
[2025-01-13 02:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:16:03] Production.INFO: Account Balance Start.
[2025-01-13 02:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:16:03] Production.INFO: 117
[2025-01-13 02:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:16:03] Production.INFO: ==14515== Lock acquired, processing the job...
[2025-01-13 02:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:16:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:16:03] Production.INFO: ==14513== Lock acquired, processing the job...
[2025-01-13 02:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:16:03] Production.INFO: ==14507== Releasing lock...
[2025-01-13 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:16:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:16:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 02: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-13 02:16:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:16:03] Production.INFO: count ==21
[2025-01-13 02: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-13 02:16:03] Production.INFO: count ==21
[2025-01-13 02:16:03] Production.INFO: Total Charge 0
[2025-01-13 02:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235818') start
[2025-01-13 02:16:03] Production.INFO: CreateAllLog End
[2025-01-13 02:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235818') end
[2025-01-13 02:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:16:03] Production.INFO: 1
[2025-01-13 02:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:16:03] Production.ERROR: done
[2025-01-13 02:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:16:03] Production.INFO: Account Balance End.
[2025-01-13 02:16:03] Production.INFO: ==14515== Releasing lock...
[2025-01-13 02:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:16:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:16:03] Production.INFO: ==14511== Releasing lock...
[2025-01-13 02:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:16:04] Production.ERROR: done
[2025-01-13 02:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:16:05
[end_date_ymd] => 2025-01-13 02:16:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:16:05' and `end` < '2025-01-13 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-13 02:16:10] Production.ERROR: CronJobId end10
[2025-01-13 02:16:10] Production.INFO: ==14509== Releasing lock...
[2025-01-13 02:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:16:12] Production.INFO: call_cost start
[2025-01-13 02:16:12] Production.INFO: call_cost end
[2025-01-13 02:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:16:13] Production.INFO: ==14505== Releasing lock...
[2025-01-13 02:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:16:18] Production.INFO: count ==197
[2025-01-13 02:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:16:05 - End Time 2025-01-13 02:16:05
[2025-01-13 02:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235819', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235819', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235819', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235819', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:16:18] Production.INFO: ProcessCDR(1,14235819,1,1,2)
[2025-01-13 02:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235819', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235819', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:16:21] Production.INFO: ==14513== Releasing lock...
[2025-01-13 02:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:16:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:17:01] Production.INFO: ==14570== Lock acquired, processing the job...
[2025-01-13 07:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:17:01] Production.INFO: neon service started
[2025-01-13 07:17:01] Production.INFO: neon service started
[2025-01-13 07:17:01] Production.INFO: ==14570== Releasing lock...
[2025-01-13 07:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:17:02] Production.INFO: ==14572== Lock acquired, processing the job...
[2025-01-13 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:17:02] Production.INFO: ==14572== Releasing lock...
[2025-01-13 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:17:02] Production.INFO: ==14574== Lock acquired, processing the job...
[2025-01-13 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:17:02] Production.INFO: ==14574== Releasing lock...
[2025-01-13 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:17:03] Production.INFO: ==14582== Lock acquired, processing the job...
[2025-01-13 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:17:03] Production.INFO: Account Balance Start.
[2025-01-13 02:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:17:03] Production.INFO: 117
[2025-01-13 02:17:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:17:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:17:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:17:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:17:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:17:03] Production.INFO: ==14576== Lock acquired, processing the job...
[2025-01-13 02:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:17:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:17:03] Production.INFO: Total Charge 0
[2025-01-13 02:17:03] Production.INFO: CreateAllLog End
[2025-01-13 02:17:03] Production.INFO: ==14580== Lock acquired, processing the job...
[2025-01-13 02:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:17:03] Production.INFO: ==14578== Lock acquired, processing the job...
[2025-01-13 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:17:03] Production.INFO: Account Balance End.
[2025-01-13 02:17:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:17:03] Production.INFO: ==14582== Releasing lock...
[2025-01-13 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:17:03] Production.INFO: ==14584== Lock acquired, processing the job...
[2025-01-13 02:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:17:03] Production.INFO: ==14586== Lock acquired, processing the job...
[2025-01-13 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 02:17:03] Production.INFO: count ==21
[2025-01-13 02:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:17:04] Production.INFO: ==14578== Releasing lock...
[2025-01-13 02:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:17:04] Production.INFO: count ==21
[2025-01-13 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235823') start
[2025-01-13 02:17:04] Production.ERROR: done
[2025-01-13 02:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235823') end
[2025-01-13 02:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:17:04] Production.INFO: 1
[2025-01-13 02:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:17:04] Production.INFO: ==14586== Releasing lock...
[2025-01-13 02:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:17:04] Production.ERROR: done
[2025-01-13 02:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:17:05
[end_date_ymd] => 2025-01-13 02:17:05
[RateCDR] => 1
)
[2025-01-13 02:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:17:05' and `end` < '2025-01-13 02:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:17:10] Production.ERROR: CronJobId end10
[2025-01-13 02:17:10] Production.INFO: ==14580== Releasing lock...
[2025-01-13 02:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:17:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:17:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:17:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:17:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:17:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:17:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:17:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:17:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:17:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:17:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:17:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:17:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:17:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:17:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:17:12] Production.INFO: call_cost start
[2025-01-13 02:17:12] Production.INFO: call_cost end
[2025-01-13 02:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:17:13] Production.INFO: ==14576== Releasing lock...
[2025-01-13 02:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:17:17] Production.INFO: count ==197
[2025-01-13 02:17:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:17:05 - End Time 2025-01-13 02:17:05
[2025-01-13 02:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235824', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235824', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235824', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235824', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:17:17] Production.INFO: ProcessCDR(1,14235824,1,1,2)
[2025-01-13 02:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235824', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235824', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:17:21] Production.INFO: ==14584== Releasing lock...
[2025-01-13 02:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:17:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:18:02] Production.INFO: ==14642== Lock acquired, processing the job...
[2025-01-13 07:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:18:02] Production.INFO: neon service started
[2025-01-13 07:18:02] Production.INFO: neon service started
[2025-01-13 07:18:02] Production.INFO: ==14642== Releasing lock...
[2025-01-13 07:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:18:02] Production.INFO: ==14644== Lock acquired, processing the job...
[2025-01-13 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:18:02] Production.INFO: ==14644== Releasing lock...
[2025-01-13 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:18:03] Production.INFO: ==14646== Lock acquired, processing the job...
[2025-01-13 07:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:18:03] Production.INFO: ==14646== Releasing lock...
[2025-01-13 07:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:18:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:18:03] Production.INFO: ==14655== Lock acquired, processing the job...
[2025-01-13 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:18:03] Production.INFO: ==14659== Lock acquired, processing the job...
[2025-01-13 02:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:18:03] Production.INFO: Account Balance Start.
[2025-01-13 02:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:18:03] Production.INFO: 117
[2025-01-13 02:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 02:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:18:03] Production.INFO: count ==21
[2025-01-13 02:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:18:04] Production.INFO: count ==21
[2025-01-13 02:18:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235825') start
[2025-01-13 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:18:04] Production.INFO: ==14651== Lock acquired, processing the job...
[2025-01-13 02:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:18:04] Production.INFO: ==14649== Lock acquired, processing the job...
[2025-01-13 02:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:18:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:18:04] Production.INFO: ==14653== Lock acquired, processing the job...
[2025-01-13 02:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:18:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:18:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:18:04] Production.INFO: ==14657== Lock acquired, processing the job...
[2025-01-13 02:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:18:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235825') end
[2025-01-13 02:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:18:04] Production.INFO: 1
[2025-01-13 02:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:18:04] Production.INFO: Total Charge 0
[2025-01-13 02:18:04] Production.INFO: ==14659== Releasing lock...
[2025-01-13 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:18:04] Production.INFO: CreateAllLog End
[2025-01-13 02:18:04] Production.INFO: ==14651== Releasing lock...
[2025-01-13 02:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:18:04] Production.ERROR: done
[2025-01-13 02:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:18:04] Production.ERROR: done
[2025-01-13 02:18:04] Production.INFO: Account Balance End.
[2025-01-13 02:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:18:04] Production.INFO: ==14655== Releasing lock...
[2025-01-13 02:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:18:05
[end_date_ymd] => 2025-01-13 02:18:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:18:05' and `end` < '2025-01-13 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-13 02:18:11] Production.ERROR: CronJobId end10
[2025-01-13 02:18:11] Production.INFO: ==14653== Releasing lock...
[2025-01-13 02:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:18:13] Production.INFO: call_cost start
[2025-01-13 02:18:13] Production.INFO: call_cost end
[2025-01-13 02:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:18:13] Production.INFO: ==14649== Releasing lock...
[2025-01-13 02:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:18:18] Production.INFO: count ==197
[2025-01-13 02:18:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:18:05 - End Time 2025-01-13 02:18:05
[2025-01-13 02:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235829', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235829', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235829', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235829', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:18:18] Production.INFO: ProcessCDR(1,14235829,1,1,2)
[2025-01-13 02:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235829', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235829', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:18:21] Production.INFO: ==14657== Releasing lock...
[2025-01-13 02:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:18:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:19:01] Production.INFO: ==14714== Lock acquired, processing the job...
[2025-01-13 07:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:19:01] Production.INFO: neon service started
[2025-01-13 07:19:01] Production.INFO: neon service started
[2025-01-13 07:19:01] Production.INFO: ==14714== Releasing lock...
[2025-01-13 07:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:19:02] Production.INFO: ==14716== Lock acquired, processing the job...
[2025-01-13 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:19:02] Production.INFO: ==14718== Lock acquired, processing the job...
[2025-01-13 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:19:02] Production.INFO: ==14716== Releasing lock...
[2025-01-13 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:19:02] Production.INFO: ==14718== Releasing lock...
[2025-01-13 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:19:03] Production.INFO: ==14729== Lock acquired, processing the job...
[2025-01-13 02:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:19:03] Production.INFO: ==14721== Lock acquired, processing the job...
[2025-01-13 02:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:19:03] Production.INFO: ==14731== Lock acquired, processing the job...
[2025-01-13 02:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:19:03] Production.INFO: ==14725== Lock acquired, processing the job...
[2025-01-13 02:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:19:03] Production.INFO: ==14723== Lock acquired, processing the job...
[2025-01-13 02:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:19:03] Production.INFO: ==14727== Lock acquired, processing the job...
[2025-01-13 02:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:19:03] Production.INFO: count ==21
[2025-01-13 02:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:19:03] Production.INFO: Account Balance Start.
[2025-01-13 02:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:19:03] Production.INFO: count ==21
[2025-01-13 02:19:03] Production.INFO: 117
[2025-01-13 02:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235830') start
[2025-01-13 02:19:03] Production.ERROR: done
[2025-01-13 02:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235830') end
[2025-01-13 02:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:19:03] Production.INFO: 1
[2025-01-13 02:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:19:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:19:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:19:03] Production.INFO: ==14731== Releasing lock...
[2025-01-13 02:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:19:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:19:03] Production.ERROR: done
[2025-01-13 02:19:03] Production.INFO: ==14723== Releasing lock...
[2025-01-13 02:19:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:19:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:19:03] Production.INFO: Total Charge 0
[2025-01-13 02:19:03] Production.INFO: CreateAllLog End
[2025-01-13 02:19:04] Production.INFO: Account Balance End.
[2025-01-13 02:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:19:04] Production.INFO: ==14727== Releasing lock...
[2025-01-13 02:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:19:04
[end_date_ymd] => 2025-01-13 02:19:04
[RateCDR] => 1
)
[2025-01-13 02:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:19:04' and `end` < '2025-01-13 02:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:19:10] Production.ERROR: CronJobId end10
[2025-01-13 02:19:10] Production.INFO: ==14725== Releasing lock...
[2025-01-13 02:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:19:12] Production.INFO: call_cost start
[2025-01-13 02:19:12] Production.INFO: call_cost end
[2025-01-13 02:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:19:13] Production.INFO: ==14721== Releasing lock...
[2025-01-13 02:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:19:17] Production.INFO: count ==197
[2025-01-13 02:19:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:19:04 - End Time 2025-01-13 02:19:04
[2025-01-13 02:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235834', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235834', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235834', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235834', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:19:17] Production.INFO: ProcessCDR(1,14235834,1,1,2)
[2025-01-13 02:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235834', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235834', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:19:21] Production.INFO: ==14729== Releasing lock...
[2025-01-13 02:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:19:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:20:02] Production.INFO: ==14785== Lock acquired, processing the job...
[2025-01-13 07:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:20:02] Production.INFO: neon service started
[2025-01-13 07:20:02] Production.INFO: neon service started
[2025-01-13 07:20:02] Production.INFO: ==14785== Releasing lock...
[2025-01-13 07:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:20:02] Production.INFO: ==14788== Lock acquired, processing the job...
[2025-01-13 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:20:02] Production.INFO: ==14790== Lock acquired, processing the job...
[2025-01-13 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:20:02] Production.INFO: ==14790== Releasing lock...
[2025-01-13 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:20:03] Production.INFO: ==14788== Releasing lock...
[2025-01-13 02:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:20:04] Production.INFO: ==14796== Lock acquired, processing the job...
[2025-01-13 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:20:04] Production.INFO: ==14798== Lock acquired, processing the job...
[2025-01-13 02:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:20:04] Production.INFO: ==14800== Lock acquired, processing the job...
[2025-01-13 02:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:20:04] Production.INFO: ==14804== Lock acquired, processing the job...
[2025-01-13 02:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 02:20:04] Production.INFO: Account Balance Start.
[2025-01-13 02:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:20:04] Production.INFO: 117
[2025-01-13 02:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:20:04] Production.INFO: ==14792== Lock acquired, processing the job...
[2025-01-13 02:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 02:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:20:04] Production.INFO: ==14794== Lock acquired, processing the job...
[2025-01-13 02:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:20:04] Production.INFO: ==14802== Lock acquired, processing the job...
[2025-01-13 02:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:20:04] Production.INFO: ==14796== Releasing lock...
[2025-01-13 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:20:04] Production.INFO: ==14806== Lock acquired, processing the job...
[2025-01-13 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:20:04] Production.ERROR: CronJob PID - 14794
[2025-01-13 02:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 02:20:04] Production.ERROR: CronJob ID - 5
[2025-01-13 02:20:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:20:00
[2025-01-13 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:20:04] Production.ERROR: CronJob PID - 14798
[2025-01-13 02:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 02:20:04] Production.ERROR: CronJob ID - 10
[2025-01-13 02:20:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:20:00
[2025-01-13 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:20:04] Production.ERROR: CronJob PID - 14800
[2025-01-13 02:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 02:20:04] Production.ERROR: CronJob ID - 12
[2025-01-13 02:20:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:20:00
[2025-01-13 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:20:04] Production.ERROR: CronJob PID - 14804
[2025-01-13 02:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 02:20:04] Production.ERROR: CronJob ID - 17
[2025-01-13 02:20:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:20:00
[2025-01-13 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:20:04] Production.INFO: Total Charge 0
[2025-01-13 02:20:04] Production.INFO: CreateAllLog End
[2025-01-13 02:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 02:20:04] Production.INFO: ==14792== Releasing lock...
[2025-01-13 02:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 02:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:20:04] Production.ERROR: done
[2025-01-13 02:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 02:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235839', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 02:20:04] Production.INFO: Account Balance End.
[2025-01-13 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-13 02:20:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:20:04] Production.INFO: ==14800== Releasing lock...
[2025-01-13 02:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:20:04] Production.INFO: count ==21
[2025-01-13 02: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-13 02:20:05] Production.INFO: count ==21
[2025-01-13 02:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235838') start
[2025-01-13 02:20:05] Production.ERROR: done
[2025-01-13 02:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:20:05] Production.ERROR: done
[2025-01-13 02:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235838') end
[2025-01-13 02:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:20:05] Production.INFO: 1
[2025-01-13 02:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:20:05] Production.INFO: ==14806== Releasing lock...
[2025-01-13 02:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:20:06
[end_date_ymd] => 2025-01-13 02:20:06
[RateCDR] => 1
)
[2025-01-13 02:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:20:06' and `end` < '2025-01-13 02:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235839', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 02:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 02:20:08] Production.INFO: ProcessCDR(1,14235839,1,1,2)
[2025-01-13 02:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235839,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235839,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:20:08] Production.INFO: ==14804== Releasing lock...
[2025-01-13 02:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 02:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 02:20:12] Production.ERROR: CronJobId end10
[2025-01-13 02:20:12] Production.INFO: ==14798== Releasing lock...
[2025-01-13 02:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:20:14] Production.INFO: call_cost start
[2025-01-13 02:20:14] Production.INFO: call_cost end
[2025-01-13 02:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:20:15] Production.INFO: ==14794== Releasing lock...
[2025-01-13 02:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:20:19] Production.INFO: count ==201
[2025-01-13 02:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 23:20:06 - End Time 2025-01-13 02:20:06
[2025-01-13 02:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235840', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235840', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235840', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235840', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:20:19] Production.INFO: ProcessCDR(1,14235840,1,1,2)
[2025-01-13 02:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235840', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235840', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:20:22] Production.INFO: ==14802== Releasing lock...
[2025-01-13 02:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:20:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:21:01] Production.INFO: ==14859== Lock acquired, processing the job...
[2025-01-13 07:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:21:01] Production.INFO: neon service started
[2025-01-13 07:21:01] Production.INFO: neon service started
[2025-01-13 07:21:01] Production.INFO: ==14859== Releasing lock...
[2025-01-13 07:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:21:02] Production.INFO: ==14861== Lock acquired, processing the job...
[2025-01-13 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:21:02] Production.INFO: ==14863== Lock acquired, processing the job...
[2025-01-13 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:21:02] Production.INFO: ==14863== Releasing lock...
[2025-01-13 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:21:02] Production.INFO: ==14861== Releasing lock...
[2025-01-13 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:21:03] Production.INFO: ==14870== Lock acquired, processing the job...
[2025-01-13 02:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:21:03] Production.INFO: ==14876== Lock acquired, processing the job...
[2025-01-13 02:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:21:03] Production.INFO: ==14866== Lock acquired, processing the job...
[2025-01-13 02:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 02:21:03] Production.INFO: ==14868== Lock acquired, processing the job...
[2025-01-13 02:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:21:03] Production.INFO: count ==21
[2025-01-13 02:21:03] Production.INFO: ==14872== Lock acquired, processing the job...
[2025-01-13 02:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:21:03] Production.INFO: count ==21
[2025-01-13 02:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235841') start
[2025-01-13 02:21:03] Production.INFO: ==14874== Lock acquired, processing the job...
[2025-01-13 02:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235841') end
[2025-01-13 02:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:21:04] Production.INFO: 1
[2025-01-13 02:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:21:04] Production.INFO: Account Balance Start.
[2025-01-13 02:21:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:21:04] Production.INFO: 117
[2025-01-13 02:21:04] Production.INFO: ==14876== Releasing lock...
[2025-01-13 02:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:21:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:21:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:21:04] Production.ERROR: done
[2025-01-13 02:21:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:21:04] Production.INFO: ==14868== Releasing lock...
[2025-01-13 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:21:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:21:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:21:04] Production.ERROR: done
[2025-01-13 02:21:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:21:04] Production.INFO: Total Charge 0
[2025-01-13 02:21:04] Production.INFO: CreateAllLog End
[2025-01-13 02:21:04] Production.INFO: Account Balance End.
[2025-01-13 02:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:21:04] Production.INFO: ==14872== Releasing lock...
[2025-01-13 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:21:05
[end_date_ymd] => 2025-01-13 02:21:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:21:05' and `end` < '2025-01-13 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-13 02:21:10] Production.ERROR: CronJobId end10
[2025-01-13 02:21:10] Production.INFO: ==14870== Releasing lock...
[2025-01-13 02:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:21:13] Production.INFO: call_cost start
[2025-01-13 02:21:13] Production.INFO: call_cost end
[2025-01-13 02:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:21:13] Production.INFO: ==14866== Releasing lock...
[2025-01-13 02:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:21:17] Production.INFO: count ==201
[2025-01-13 02:21:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:21:05 - End Time 2025-01-13 02:21:05
[2025-01-13 02:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235845', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235845', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235845', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235845', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:21:17] Production.INFO: ProcessCDR(1,14235845,1,1,2)
[2025-01-13 02:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235845', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235845', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:21:20] Production.INFO: ==14874== Releasing lock...
[2025-01-13 02:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:21:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:22:01] Production.INFO: ==14933== Lock acquired, processing the job...
[2025-01-13 07:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:22:01] Production.INFO: neon service started
[2025-01-13 07:22:01] Production.INFO: neon service started
[2025-01-13 07:22:01] Production.INFO: ==14933== Releasing lock...
[2025-01-13 07:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:22:01] Production.INFO: ==14935== Lock acquired, processing the job...
[2025-01-13 02:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:22:02] Production.INFO: ==14935== Releasing lock...
[2025-01-13 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:22:02] Production.INFO: ==14937== Lock acquired, processing the job...
[2025-01-13 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:22:02] Production.INFO: ==14937== Releasing lock...
[2025-01-13 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:22:02] Production.INFO: ==14939== Lock acquired, processing the job...
[2025-01-13 02:22:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:22:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:22:02] Production.INFO: ==14941== Lock acquired, processing the job...
[2025-01-13 02:22:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:22:03] Production.INFO: ==14948== Lock acquired, processing the job...
[2025-01-13 02:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:22:03] Production.INFO: ==14941== Releasing lock...
[2025-01-13 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:22:03] Production.INFO: ==14943== Lock acquired, processing the job...
[2025-01-13 02:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:22:03] Production.INFO: ==14945== Lock acquired, processing the job...
[2025-01-13 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:22:03] Production.INFO: ==14950== Lock acquired, processing the job...
[2025-01-13 02:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:22:03] Production.ERROR: done
[2025-01-13 02:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:22:03] Production.INFO: Account Balance Start.
[2025-01-13 02:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:22:03] Production.INFO: 117
[2025-01-13 02:22:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:22:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:22:03] Production.ERROR: done
[2025-01-13 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-13 02:22:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:22:03] Production.INFO: count ==21
[2025-01-13 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:22:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:22:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:22:03] Production.INFO: count ==21
[2025-01-13 02:22:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235849') start
[2025-01-13 02:22:03] Production.INFO: Total Charge 0
[2025-01-13 02:22:03] Production.INFO: CreateAllLog End
[2025-01-13 02:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235849') end
[2025-01-13 02:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:22:03] Production.INFO: 1
[2025-01-13 02:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:22:03] Production.INFO: Account Balance End.
[2025-01-13 02:22:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:22:03] Production.INFO: ==14945== Releasing lock...
[2025-01-13 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:22:04] Production.INFO: ==14950== Releasing lock...
[2025-01-13 02:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:22:04
[end_date_ymd] => 2025-01-13 02:22:04
[RateCDR] => 1
)
[2025-01-13 02:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:22:04' and `end` < '2025-01-13 02: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-13 02:22:10] Production.ERROR: CronJobId end10
[2025-01-13 02:22:10] Production.INFO: ==14943== Releasing lock...
[2025-01-13 02:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:22:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:22:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:22:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:22:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:22:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:22:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:22:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:22:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:22:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:22:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:22:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:22:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:22:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:22:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:22:12] Production.INFO: call_cost start
[2025-01-13 02:22:12] Production.INFO: call_cost end
[2025-01-13 02:22:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:22:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:22:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:22:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:22:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:22:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:22:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:22:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:22:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:22:12] Production.INFO: ==14939== Releasing lock...
[2025-01-13 02:22:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:22:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:22:18] Production.INFO: count ==201
[2025-01-13 02:22:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:22:04 - End Time 2025-01-13 02:22:04
[2025-01-13 02:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235850', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235850', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235850', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235850', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:22:18] Production.INFO: ProcessCDR(1,14235850,1,1,2)
[2025-01-13 02:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235850', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235850', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:22:21] Production.INFO: ==14948== Releasing lock...
[2025-01-13 02:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:22:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:23:01] Production.INFO: ==15006== Lock acquired, processing the job...
[2025-01-13 07:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:23:01] Production.INFO: neon service started
[2025-01-13 07:23:01] Production.INFO: neon service started
[2025-01-13 07:23:01] Production.INFO: ==15006== Releasing lock...
[2025-01-13 07:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:23:02] Production.INFO: ==15008== Lock acquired, processing the job...
[2025-01-13 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:23:02] Production.INFO: ==15010== Lock acquired, processing the job...
[2025-01-13 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:23:02] Production.INFO: ==15008== Releasing lock...
[2025-01-13 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:23:02] Production.INFO: ==15010== Releasing lock...
[2025-01-13 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:23:03] Production.INFO: ==15017== Lock acquired, processing the job...
[2025-01-13 02:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:23:03] Production.INFO: ==15013== Lock acquired, processing the job...
[2025-01-13 02:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:23:03] Production.INFO: ==15021== Lock acquired, processing the job...
[2025-01-13 02:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:23:03] Production.INFO: ==15015== Lock acquired, processing the job...
[2025-01-13 02:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:23:03] Production.INFO: ==15019== Lock acquired, processing the job...
[2025-01-13 02:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:23:03] Production.INFO: ==15023== Lock acquired, processing the job...
[2025-01-13 02:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:23:03] Production.INFO: Account Balance Start.
[2025-01-13 02:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:23:03] Production.INFO: 117
[2025-01-13 02:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:23:03] Production.ERROR: done
[2025-01-13 02:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:23:03] Production.INFO: count ==21
[2025-01-13 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-13 02:23:04] Production.INFO: count ==21
[2025-01-13 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235854') start
[2025-01-13 02:23:04] Production.ERROR: done
[2025-01-13 02:23:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:23:04] Production.INFO: ==15015== Releasing lock...
[2025-01-13 02:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:23:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:23:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235854') end
[2025-01-13 02:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:23:04] Production.INFO: 1
[2025-01-13 02:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:23:04] Production.INFO: Total Charge 0
[2025-01-13 02:23:04] Production.INFO: CreateAllLog End
[2025-01-13 02:23:04] Production.INFO: ==15023== Releasing lock...
[2025-01-13 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:23:04] Production.INFO: Account Balance End.
[2025-01-13 02:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:23:04] Production.INFO: ==15019== Releasing lock...
[2025-01-13 02:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:23:05
[end_date_ymd] => 2025-01-13 02:23:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:23:05' and `end` < '2025-01-13 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-13 02:23:11] Production.ERROR: CronJobId end10
[2025-01-13 02:23:11] Production.INFO: ==15017== Releasing lock...
[2025-01-13 02:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:23:13] Production.INFO: call_cost start
[2025-01-13 02:23:13] Production.INFO: call_cost end
[2025-01-13 02:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:23:13] Production.INFO: ==15013== Releasing lock...
[2025-01-13 02:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:23:18] Production.INFO: count ==201
[2025-01-13 02:23:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:23:05 - End Time 2025-01-13 02:23:05
[2025-01-13 02:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235855', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235855', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235855', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235855', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:23:18] Production.INFO: ProcessCDR(1,14235855,1,1,2)
[2025-01-13 02:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235855', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235855', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:23:21] Production.INFO: ==15021== Releasing lock...
[2025-01-13 02:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:23:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:24:02] Production.INFO: ==15077== Lock acquired, processing the job...
[2025-01-13 07:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:24:02] Production.INFO: neon service started
[2025-01-13 07:24:02] Production.INFO: neon service started
[2025-01-13 07:24:02] Production.INFO: ==15077== Releasing lock...
[2025-01-13 07:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:24:02] Production.INFO: ==15080== Lock acquired, processing the job...
[2025-01-13 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:24:02] Production.INFO: ==15080== Releasing lock...
[2025-01-13 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:24:03] Production.INFO: ==15082== Lock acquired, processing the job...
[2025-01-13 07:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:24:03] Production.INFO: ==15082== Releasing lock...
[2025-01-13 07:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:24:03] Production.INFO: ==15084== Lock acquired, processing the job...
[2025-01-13 02:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:24:03] Production.INFO: ==15094== Lock acquired, processing the job...
[2025-01-13 02:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:24:04] Production.INFO: ==15086== Lock acquired, processing the job...
[2025-01-13 02:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:24:04] Production.INFO: count ==21
[2025-01-13 02:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:24:04] Production.INFO: count ==21
[2025-01-13 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235857') start
[2025-01-13 02:24:04] Production.INFO: ==15088== Lock acquired, processing the job...
[2025-01-13 02:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:24:04] Production.INFO: ==15090== Lock acquired, processing the job...
[2025-01-13 02:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:24:04] Production.INFO: ==15092== Lock acquired, processing the job...
[2025-01-13 02:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235857') end
[2025-01-13 02:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:24:04] Production.INFO: 1
[2025-01-13 02:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:24:04] Production.INFO: Account Balance Start.
[2025-01-13 02:24:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:24:04] Production.INFO: 117
[2025-01-13 02:24:04] Production.INFO: ==15094== Releasing lock...
[2025-01-13 02:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:24:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:24:04] Production.INFO: ==15086== Releasing lock...
[2025-01-13 02:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:24:04] Production.ERROR: done
[2025-01-13 02:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:24:04] Production.ERROR: done
[2025-01-13 02:24:04] Production.INFO: Total Charge 0
[2025-01-13 02:24:04] Production.INFO: CreateAllLog End
[2025-01-13 02:24:04] Production.INFO: Account Balance End.
[2025-01-13 02:24:05] Production.ERROR: CronJobId end 12
[2025-01-13 02:24:05] Production.INFO: ==15090== Releasing lock...
[2025-01-13 02:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:24:05
[end_date_ymd] => 2025-01-13 02:24:05
[RateCDR] => 1
)
[2025-01-13 02:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:24:05' and `end` < '2025-01-13 02:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:24:12] Production.ERROR: CronJobId end10
[2025-01-13 02:24:12] Production.INFO: ==15088== Releasing lock...
[2025-01-13 02:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:24:13] Production.INFO: call_cost start
[2025-01-13 02:24:13] Production.INFO: call_cost end
[2025-01-13 02:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:24:14] Production.INFO: ==15084== Releasing lock...
[2025-01-13 02:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:24:18] Production.INFO: count ==201
[2025-01-13 02:24:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:24:05 - End Time 2025-01-13 02:24:05
[2025-01-13 02:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235860', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235860', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235860', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235860', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:24:18] Production.INFO: ProcessCDR(1,14235860,1,1,2)
[2025-01-13 02:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235860', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235860', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:24:21] Production.INFO: ==15092== Releasing lock...
[2025-01-13 02:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:24:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:25:01] Production.INFO: ==15150== Lock acquired, processing the job...
[2025-01-13 07:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:25:01] Production.INFO: neon service started
[2025-01-13 07:25:01] Production.INFO: neon service started
[2025-01-13 07:25:01] Production.INFO: ==15150== Releasing lock...
[2025-01-13 07:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:25:02] Production.INFO: ==15154== Lock acquired, processing the job...
[2025-01-13 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:25:02] Production.INFO: ==15154== Releasing lock...
[2025-01-13 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:25:02] Production.INFO: ==15152== Lock acquired, processing the job...
[2025-01-13 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:25:02] Production.INFO: ==15152== Releasing lock...
[2025-01-13 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:25:03] Production.INFO: ==15157== Lock acquired, processing the job...
[2025-01-13 02:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:25:03] Production.INFO: ==15159== Lock acquired, processing the job...
[2025-01-13 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:25:03] Production.INFO: ==15163== Lock acquired, processing the job...
[2025-01-13 02:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:25:03] Production.INFO: Account Balance Start.
[2025-01-13 02:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:25:03] Production.INFO: 117
[2025-01-13 02:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:25:03] Production.INFO: ==15161== Lock acquired, processing the job...
[2025-01-13 02:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:25:03] Production.INFO: ==15159== Releasing lock...
[2025-01-13 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:25:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:25:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:25:03] Production.INFO: ==15165== Lock acquired, processing the job...
[2025-01-13 02:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:25:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:25:03] Production.INFO: ==15167== Lock acquired, processing the job...
[2025-01-13 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:25:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:25:03] Production.INFO: Total Charge 0
[2025-01-13 02:25:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 02:25:04] Production.INFO: count ==21
[2025-01-13 02:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:25:04] Production.INFO: count ==21
[2025-01-13 02:25:04] Production.ERROR: done
[2025-01-13 02:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235864') start
[2025-01-13 02:25:04] Production.INFO: Account Balance End.
[2025-01-13 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235864') end
[2025-01-13 02:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:25:04] Production.INFO: 1
[2025-01-13 02:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:25:04] Production.INFO: ==15163== Releasing lock...
[2025-01-13 02:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:25:04] Production.INFO: ==15167== Releasing lock...
[2025-01-13 02:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:25:04] Production.ERROR: done
[2025-01-13 02:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:25:05
[end_date_ymd] => 2025-01-13 02:25:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:25:05' and `end` < '2025-01-13 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-13 02:25:10] Production.ERROR: CronJobId end10
[2025-01-13 02:25:10] Production.INFO: ==15161== Releasing lock...
[2025-01-13 02:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:25:12] Production.INFO: call_cost start
[2025-01-13 02:25:12] Production.INFO: call_cost end
[2025-01-13 02:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:25:13] Production.INFO: ==15157== Releasing lock...
[2025-01-13 02:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:25:17] Production.INFO: count ==201
[2025-01-13 02:25:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:25:05 - End Time 2025-01-13 02:25:05
[2025-01-13 02:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235865', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235865', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235865', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235865', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:25:17] Production.INFO: ProcessCDR(1,14235865,1,1,2)
[2025-01-13 02:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235865', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235865', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:25:21] Production.INFO: ==15165== Releasing lock...
[2025-01-13 02:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:25:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:26:02] Production.INFO: ==15221== Lock acquired, processing the job...
[2025-01-13 07:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:26:02] Production.INFO: neon service started
[2025-01-13 07:26:02] Production.INFO: neon service started
[2025-01-13 07:26:02] Production.INFO: ==15221== Releasing lock...
[2025-01-13 07:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:26:02] Production.INFO: ==15225== Lock acquired, processing the job...
[2025-01-13 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:26:02] Production.INFO: ==15225== Releasing lock...
[2025-01-13 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:26:02] Production.INFO: ==15223== Lock acquired, processing the job...
[2025-01-13 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:26:03] Production.INFO: ==15223== Releasing lock...
[2025-01-13 02:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:26:03] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-01-13 02:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:26:03] Production.INFO: ==15230== Lock acquired, processing the job...
[2025-01-13 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:26:04] Production.INFO: ==15234== Lock acquired, processing the job...
[2025-01-13 02:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:26:04] Production.INFO: ==15232== Lock acquired, processing the job...
[2025-01-13 02:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:26:04] Production.INFO: Account Balance Start.
[2025-01-13 02:26:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:26:04] Production.INFO: 117
[2025-01-13 02:26:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:26:04] Production.INFO: ==15230== Releasing lock...
[2025-01-13 02:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:26:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:26:04] Production.INFO: ==15238== Lock acquired, processing the job...
[2025-01-13 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:26:04] Production.INFO: count ==21
[2025-01-13 02:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:26:04] Production.INFO: count ==21
[2025-01-13 02:26:04] Production.INFO: ==15236== Lock acquired, processing the job...
[2025-01-13 02:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:26:04] Production.INFO: Total Charge 0
[2025-01-13 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235869') start
[2025-01-13 02:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:26:04] Production.INFO: CreateAllLog End
[2025-01-13 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235869') end
[2025-01-13 02:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:26:04] Production.INFO: 1
[2025-01-13 02:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:26:04] Production.INFO: ==15238== Releasing lock...
[2025-01-13 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:26:04] Production.ERROR: done
[2025-01-13 02:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:26:04] Production.INFO: Account Balance End.
[2025-01-13 02:26:05] Production.ERROR: CronJobId end 12
[2025-01-13 02:26:05] Production.INFO: ==15234== Releasing lock...
[2025-01-13 02:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:26:05] Production.ERROR: done
[2025-01-13 02:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:26:06
[end_date_ymd] => 2025-01-13 02:26:06
[RateCDR] => 1
)
[2025-01-13 02:26:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:26:06' and `end` < '2025-01-13 02:26:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:26:12] Production.ERROR: CronJobId end10
[2025-01-13 02:26:12] Production.INFO: ==15232== Releasing lock...
[2025-01-13 02:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:26:13] Production.INFO: call_cost start
[2025-01-13 02:26:13] Production.INFO: call_cost end
[2025-01-13 02:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:26:14] Production.INFO: ==15228== Releasing lock...
[2025-01-13 02:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:26:18] Production.INFO: count ==202
[2025-01-13 02:26:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:26:06 - End Time 2025-01-13 02:26:06
[2025-01-13 02:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235870', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235870', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235870', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235870', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:26:18] Production.INFO: ProcessCDR(1,14235870,1,1,2)
[2025-01-13 02:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235870', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235870', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:26:23] Production.INFO: ==15236== Releasing lock...
[2025-01-13 02:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:26:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:27:01] Production.INFO: ==15292== Lock acquired, processing the job...
[2025-01-13 07:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:27:01] Production.INFO: neon service started
[2025-01-13 07:27:02] Production.INFO: neon service started
[2025-01-13 07:27:02] Production.INFO: ==15292== Releasing lock...
[2025-01-13 07:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:27:02] Production.INFO: ==15294== Lock acquired, processing the job...
[2025-01-13 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:27:02] Production.INFO: ==15294== Releasing lock...
[2025-01-13 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:27:02] Production.INFO: ==15296== Lock acquired, processing the job...
[2025-01-13 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:27:02] Production.INFO: ==15296== Releasing lock...
[2025-01-13 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:27:03] Production.INFO: ==15298== Lock acquired, processing the job...
[2025-01-13 02:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:27:03] Production.INFO: ==15305== Lock acquired, processing the job...
[2025-01-13 02:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:27:03] Production.INFO: ==15300== Lock acquired, processing the job...
[2025-01-13 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:27:03] Production.INFO: ==15309== Lock acquired, processing the job...
[2025-01-13 02:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:27:03] Production.INFO: ==15302== Lock acquired, processing the job...
[2025-01-13 02:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:27:03] Production.INFO: Account Balance Start.
[2025-01-13 02:27:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:27:03] Production.INFO: 117
[2025-01-13 02:27:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:27:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:27:03] Production.INFO: ==15307== Lock acquired, processing the job...
[2025-01-13 02:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:27:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:27:03] Production.INFO: count ==21
[2025-01-13 02:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:27:03] Production.INFO: count ==21
[2025-01-13 02:27:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235873') start
[2025-01-13 02:27:03] Production.INFO: ==15300== Releasing lock...
[2025-01-13 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235873') end
[2025-01-13 02:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:27:04] Production.INFO: 1
[2025-01-13 02:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:27:04] Production.INFO: Total Charge 0
[2025-01-13 02:27:04] Production.INFO: ==15309== Releasing lock...
[2025-01-13 02:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:27:04] Production.INFO: CreateAllLog End
[2025-01-13 02:27:04] Production.ERROR: done
[2025-01-13 02:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:27:04] Production.ERROR: done
[2025-01-13 02:27:04] Production.INFO: Account Balance End.
[2025-01-13 02:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:27:04] Production.INFO: ==15305== Releasing lock...
[2025-01-13 02:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:27:05
[end_date_ymd] => 2025-01-13 02:27:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:27:05' and `end` < '2025-01-13 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-13 02:27:11] Production.ERROR: CronJobId end10
[2025-01-13 02:27:11] Production.INFO: ==15302== Releasing lock...
[2025-01-13 02:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:27:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:27:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:27:14] Production.INFO: call_cost start
[2025-01-13 02:27:14] Production.INFO: call_cost end
[2025-01-13 02:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:27:15] Production.INFO: ==15298== Releasing lock...
[2025-01-13 02:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:27:17] Production.INFO: count ==202
[2025-01-13 02:27:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:27:05 - End Time 2025-01-13 02:27:05
[2025-01-13 02:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235875', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235875', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235875', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235875', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:27:17] Production.INFO: ProcessCDR(1,14235875,1,1,2)
[2025-01-13 02:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235875', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235875', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:27:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:27:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:27:21] Production.INFO: ==15307== Releasing lock...
[2025-01-13 02:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:28:01] Production.INFO: ==15362== Lock acquired, processing the job...
[2025-01-13 07:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:28:01] Production.INFO: neon service started
[2025-01-13 07:28:01] Production.INFO: neon service started
[2025-01-13 07:28:01] Production.INFO: ==15362== Releasing lock...
[2025-01-13 07:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:28:01] Production.INFO: ==15366== Lock acquired, processing the job...
[2025-01-13 07:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:28:01] Production.INFO: ==15366== Releasing lock...
[2025-01-13 07:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:28:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:28:01] Production.INFO: ==15364== Lock acquired, processing the job...
[2025-01-13 02:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:28:02] Production.INFO: ==15364== Releasing lock...
[2025-01-13 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:28:03] Production.INFO: ==15374== Lock acquired, processing the job...
[2025-01-13 02:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:28:03] Production.INFO: Account Balance Start.
[2025-01-13 02:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:28:03] Production.INFO: 117
[2025-01-13 02:28:03] Production.INFO: ==15368== Lock acquired, processing the job...
[2025-01-13 02:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:28:03] Production.INFO: ==15378== Lock acquired, processing the job...
[2025-01-13 02:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:28:03] Production.INFO: ==15370== Lock acquired, processing the job...
[2025-01-13 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:28:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:28:03] Production.INFO: ==15372== Lock acquired, processing the job...
[2025-01-13 02:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:28:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:28:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:28:03] Production.INFO: count ==21
[2025-01-13 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-13 02:28:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:28:03] Production.INFO: count ==21
[2025-01-13 02:28:03] Production.INFO: ==15376== Lock acquired, processing the job...
[2025-01-13 02:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235877') start
[2025-01-13 02:28:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:28:03] Production.INFO: Total Charge 0
[2025-01-13 02:28:03] Production.INFO: CreateAllLog End
[2025-01-13 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235877') end
[2025-01-13 02:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:28:03] Production.INFO: 1
[2025-01-13 02:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:28:03] Production.INFO: ==15370== Releasing lock...
[2025-01-13 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:28:03] Production.INFO: Account Balance End.
[2025-01-13 02:28:03] Production.INFO: ==15378== Releasing lock...
[2025-01-13 02:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:28:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:28:03] Production.INFO: ==15374== Releasing lock...
[2025-01-13 02:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:28:03] Production.ERROR: done
[2025-01-13 02:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:28:03] Production.ERROR: done
[2025-01-13 02:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:28:04
[end_date_ymd] => 2025-01-13 02:28:04
[RateCDR] => 1
)
[2025-01-13 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-12 23:28:04' and `end` < '2025-01-13 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-13 02:28:10] Production.ERROR: CronJobId end10
[2025-01-13 02:28:10] Production.INFO: ==15372== Releasing lock...
[2025-01-13 02:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:28:13] Production.INFO: call_cost start
[2025-01-13 02:28:13] Production.INFO: call_cost end
[2025-01-13 02:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:28:14] Production.INFO: ==15368== Releasing lock...
[2025-01-13 02:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:28:17] Production.INFO: count ==202
[2025-01-13 02:28:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:28:04 - End Time 2025-01-13 02:28:04
[2025-01-13 02:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235880', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235880', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235880', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235880', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:28:17] Production.INFO: ProcessCDR(1,14235880,1,1,2)
[2025-01-13 02:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235880', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235880', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:28:20] Production.INFO: ==15376== Releasing lock...
[2025-01-13 02:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:28:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:29:01] Production.INFO: ==15433== Lock acquired, processing the job...
[2025-01-13 07:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:29:01] Production.INFO: neon service started
[2025-01-13 07:29:01] Production.INFO: neon service started
[2025-01-13 07:29:01] Production.INFO: ==15433== Releasing lock...
[2025-01-13 07:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:29:02] Production.INFO: ==15435== Lock acquired, processing the job...
[2025-01-13 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:29:02] Production.INFO: ==15435== Releasing lock...
[2025-01-13 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:29:02] Production.INFO: ==15437== Lock acquired, processing the job...
[2025-01-13 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:29:02] Production.INFO: ==15437== Releasing lock...
[2025-01-13 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:29:03] Production.INFO: ==15446== Lock acquired, processing the job...
[2025-01-13 02:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:29:03] Production.INFO: ==15448== Lock acquired, processing the job...
[2025-01-13 02:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:29:03] Production.INFO: ==15440== Lock acquired, processing the job...
[2025-01-13 02:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:29:03] Production.INFO: Account Balance Start.
[2025-01-13 02:29:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:29:03] Production.INFO: 117
[2025-01-13 02:29:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:29:03] Production.INFO: ==15442== Lock acquired, processing the job...
[2025-01-13 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:29:03] Production.INFO: ==15444== Lock acquired, processing the job...
[2025-01-13 02:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:29:03] Production.INFO: ==15450== Lock acquired, processing the job...
[2025-01-13 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:29:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:29:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:29:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:29:03] Production.ERROR: done
[2025-01-13 02:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:29:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:29:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:29:03] Production.INFO: Total Charge 0
[2025-01-13 02:29:03] Production.INFO: count ==21
[2025-01-13 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-13 02:29:03] Production.INFO: count ==21
[2025-01-13 02:29:03] Production.INFO: CreateAllLog End
[2025-01-13 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235884') start
[2025-01-13 02:29:03] Production.ERROR: done
[2025-01-13 02:29:03] Production.INFO: ==15442== Releasing lock...
[2025-01-13 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:29:03] Production.INFO: Account Balance End.
[2025-01-13 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235884') end
[2025-01-13 02:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:29:03] Production.INFO: 1
[2025-01-13 02:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:29:03] Production.INFO: ==15450== Releasing lock...
[2025-01-13 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:29:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:29:03] Production.INFO: ==15446== Releasing lock...
[2025-01-13 02:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:29:04
[end_date_ymd] => 2025-01-13 02:29:04
[RateCDR] => 1
)
[2025-01-13 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-12 23:29:04' and `end` < '2025-01-13 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-13 02:29:10] Production.ERROR: CronJobId end10
[2025-01-13 02:29:10] Production.INFO: ==15444== Releasing lock...
[2025-01-13 02:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:29:13] Production.INFO: call_cost start
[2025-01-13 02:29:13] Production.INFO: call_cost end
[2025-01-13 02:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:29:13] Production.INFO: ==15440== Releasing lock...
[2025-01-13 02:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:29:17] Production.INFO: count ==202
[2025-01-13 02:29:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:29:04 - End Time 2025-01-13 02:29:04
[2025-01-13 02:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235885', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235885', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235885', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235885', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:29:17] Production.INFO: ProcessCDR(1,14235885,1,1,2)
[2025-01-13 02:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235885', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235885', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:29:20] Production.INFO: ==15448== Releasing lock...
[2025-01-13 02:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:29:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:30:02] Production.INFO: ==15545== Lock acquired, processing the job...
[2025-01-13 07:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:30:02] Production.INFO: neon service started
[2025-01-13 07:30:02] Production.INFO: neon service started
[2025-01-13 07:30:02] Production.INFO: ==15545== Releasing lock...
[2025-01-13 07:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:30:02] Production.INFO: ==15547== Lock acquired, processing the job...
[2025-01-13 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:30:02] Production.INFO: ==15549== Lock acquired, processing the job...
[2025-01-13 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:30:03] Production.INFO: ==15547== Releasing lock...
[2025-01-13 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:30:03] Production.INFO: ==15549== Releasing lock...
[2025-01-13 07:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:30:03] Production.INFO: ==15558== Lock acquired, processing the job...
[2025-01-13 02:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:30:04] Production.INFO: ==15551== Lock acquired, processing the job...
[2025-01-13 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 02:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:30:04] Production.INFO: ==15562== Lock acquired, processing the job...
[2025-01-13 02:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:30:04] Production.INFO: ==15553== Lock acquired, processing the job...
[2025-01-13 02:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:30:04] Production.INFO: ==15564== Lock acquired, processing the job...
[2025-01-13 02:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 02:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:30:04] Production.ERROR: CronJob PID - 15558
[2025-01-13 02:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 02:30:04] Production.ERROR: CronJob ID - 10
[2025-01-13 02:30:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:30:00
[2025-01-13 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 02:30:04] Production.INFO: ==15551== Releasing lock...
[2025-01-13 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 02:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:30:04] Production.INFO: ==15555== Lock acquired, processing the job...
[2025-01-13 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:30:04] Production.INFO: ==15560== Lock acquired, processing the job...
[2025-01-13 02:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:30:04] Production.INFO: ==15566== Lock acquired, processing the job...
[2025-01-13 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:30:04] Production.INFO: Account Balance Start.
[2025-01-13 02:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:30:04] Production.INFO: 117
[2025-01-13 02:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:30:04] Production.ERROR: done
[2025-01-13 02:30:04] Production.ERROR: done
[2025-01-13 02:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 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-13 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:30:04] Production.INFO: count ==21
[2025-01-13 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:30:04] Production.INFO: count ==21
[2025-01-13 02:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235889') start
[2025-01-13 02:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 02:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235890', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 02:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:30:04] Production.ERROR: done
[2025-01-13 02:30:04] Production.INFO: ==15555== Releasing lock...
[2025-01-13 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:30:05] Production.INFO: Date 2025-01-13
[2025-01-13 02:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 02:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235889') end
[2025-01-13 02:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:30:05] Production.INFO: 1
[2025-01-13 02:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:30:05] Production.INFO: ==15566== Releasing lock...
[2025-01-13 02:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:30:05] Production.INFO: Total Charge 0
[2025-01-13 02:30:05] Production.INFO: CreateAllLog End
[2025-01-13 02:30:05] Production.INFO: Account Balance End.
[2025-01-13 02:30:05] Production.ERROR: CronJobId end 12
[2025-01-13 02:30:05] Production.INFO: ==15560== Releasing lock...
[2025-01-13 02:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:30:06
[end_date_ymd] => 2025-01-13 02:30:06
[RateCDR] => 1
)
[2025-01-13 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-12 23:30:06' and `end` < '2025-01-13 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-13 02:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235890', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 02:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 02:30:09] Production.INFO: ProcessCDR(1,14235890,1,1,2)
[2025-01-13 02:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235890,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235890,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:30:09] Production.INFO: ==15564== Releasing lock...
[2025-01-13 02:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 02:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 02:30:13] Production.ERROR: CronJobId end10
[2025-01-13 02:30:13] Production.INFO: ==15558== Releasing lock...
[2025-01-13 02:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:30:15] Production.INFO: call_cost start
[2025-01-13 02:30:15] Production.INFO: call_cost end
[2025-01-13 02:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:30:16] Production.INFO: ==15553== Releasing lock...
[2025-01-13 02:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:30:18] Production.INFO: count ==210
[2025-01-13 02:30:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:30:06 - End Time 2025-01-13 02:30:06
[2025-01-13 02:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235891', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235891', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235891', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235891', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:30:18] Production.INFO: ProcessCDR(1,14235891,1,1,2)
[2025-01-13 02:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235891', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235891', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:30:21] Production.INFO: ==15562== Releasing lock...
[2025-01-13 02:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:30:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:31:01] Production.INFO: ==15621== Lock acquired, processing the job...
[2025-01-13 07:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:31:01] Production.INFO: neon service started
[2025-01-13 07:31:01] Production.INFO: neon service started
[2025-01-13 07:31:01] Production.INFO: ==15621== Releasing lock...
[2025-01-13 07:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:31:02] Production.INFO: ==15623== Lock acquired, processing the job...
[2025-01-13 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:31:02] Production.INFO: ==15625== Lock acquired, processing the job...
[2025-01-13 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:31:02] Production.INFO: ==15625== Releasing lock...
[2025-01-13 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:31:02] Production.INFO: ==15623== Releasing lock...
[2025-01-13 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:31:03] Production.INFO: ==15634== Lock acquired, processing the job...
[2025-01-13 02:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:31:03] Production.INFO: ==15638== Lock acquired, processing the job...
[2025-01-13 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:31:03] Production.INFO: Account Balance Start.
[2025-01-13 02:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 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-13 02:31:03] Production.INFO: ==15628== Lock acquired, processing the job...
[2025-01-13 02:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:31:03] Production.INFO: 117
[2025-01-13 02:31:03] Production.INFO: ==15630== Lock acquired, processing the job...
[2025-01-13 02:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:31:03] Production.INFO: count ==21
[2025-01-13 02:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:31:03] Production.INFO: count ==21
[2025-01-13 02:31:03] Production.INFO: ==15632== Lock acquired, processing the job...
[2025-01-13 02:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235893') start
[2025-01-13 02:31:03] Production.INFO: ==15636== Lock acquired, processing the job...
[2025-01-13 02:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235893') end
[2025-01-13 02:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:31:03] Production.INFO: 1
[2025-01-13 02:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:31:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:31:04] Production.INFO: ==15638== Releasing lock...
[2025-01-13 02:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:31:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:31:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:31:04] Production.ERROR: done
[2025-01-13 02:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:31:04] Production.INFO: Total Charge 0
[2025-01-13 02:31:04] Production.INFO: CreateAllLog End
[2025-01-13 02:31:04] Production.INFO: ==15630== Releasing lock...
[2025-01-13 02:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:31:04] Production.ERROR: done
[2025-01-13 02:31:04] Production.INFO: Account Balance End.
[2025-01-13 02:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:31:04] Production.INFO: ==15634== Releasing lock...
[2025-01-13 02:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:31:05
[end_date_ymd] => 2025-01-13 02:31:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:31:05' and `end` < '2025-01-13 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-13 02:31:11] Production.ERROR: CronJobId end10
[2025-01-13 02:31:11] Production.INFO: ==15632== Releasing lock...
[2025-01-13 02:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:31:13] Production.INFO: call_cost start
[2025-01-13 02:31:13] Production.INFO: call_cost end
[2025-01-13 02:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:31:13] Production.INFO: ==15628== Releasing lock...
[2025-01-13 02:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:31:18] Production.INFO: count ==215
[2025-01-13 02:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:31:05 - End Time 2025-01-13 02:31:05
[2025-01-13 02:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235896', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235896', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235896', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235896', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:31:18] Production.INFO: ProcessCDR(1,14235896,1,1,2)
[2025-01-13 02:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235896', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235896', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:31:21] Production.INFO: ==15636== Releasing lock...
[2025-01-13 02:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:31:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:32:02] Production.INFO: ==15702== Lock acquired, processing the job...
[2025-01-13 07:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:32:02] Production.INFO: neon service started
[2025-01-13 07:32:02] Production.INFO: neon service started
[2025-01-13 07:32:02] Production.INFO: ==15702== Releasing lock...
[2025-01-13 07:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:32:02] Production.INFO: ==15705== Lock acquired, processing the job...
[2025-01-13 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:32:02] Production.INFO: ==15707== Lock acquired, processing the job...
[2025-01-13 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:32:02] Production.INFO: ==15707== Releasing lock...
[2025-01-13 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:32:03] Production.INFO: ==15705== Releasing lock...
[2025-01-13 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:32:03] Production.INFO: ==15716== Lock acquired, processing the job...
[2025-01-13 02:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:32:04] Production.INFO: ==15718== Lock acquired, processing the job...
[2025-01-13 02:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:32:04] Production.INFO: Account Balance Start.
[2025-01-13 02:32:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:32:04] Production.INFO: 117
[2025-01-13 02:32:04] Production.INFO: ==15710== Lock acquired, processing the job...
[2025-01-13 02:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:32:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:32:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:32:04] Production.INFO: ==15712== Lock acquired, processing the job...
[2025-01-13 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:32:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:32:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:32:04] Production.INFO: ==15714== Lock acquired, processing the job...
[2025-01-13 02:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:32:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:32:04] Production.ERROR: done
[2025-01-13 02:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:32:04] Production.INFO: ==15720== Lock acquired, processing the job...
[2025-01-13 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:32:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:32:04] Production.INFO: Total Charge 0
[2025-01-13 02:32:04] Production.INFO: CreateAllLog End
[2025-01-13 02:32:04] Production.ERROR: done
[2025-01-13 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-13 02:32:04] Production.INFO: ==15712== Releasing lock...
[2025-01-13 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:32:04] Production.INFO: count ==21
[2025-01-13 02:32:04] Production.INFO: Account Balance End.
[2025-01-13 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-13 02:32:04] Production.INFO: count ==21
[2025-01-13 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235900') start
[2025-01-13 02:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:32:04] Production.INFO: ==15716== Releasing lock...
[2025-01-13 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235900') end
[2025-01-13 02:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:32:05] Production.INFO: 1
[2025-01-13 02:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:32:05] Production.INFO: ==15720== Releasing lock...
[2025-01-13 02:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:32:05
[end_date_ymd] => 2025-01-13 02:32:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:32:05' and `end` < '2025-01-13 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-13 02:32:11] Production.ERROR: CronJobId end10
[2025-01-13 02:32:11] Production.INFO: ==15714== Releasing lock...
[2025-01-13 02:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:32:13] Production.INFO: call_cost start
[2025-01-13 02:32:13] Production.INFO: call_cost end
[2025-01-13 02:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:32:14] Production.INFO: ==15710== Releasing lock...
[2025-01-13 02:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:32:19] Production.INFO: count ==215
[2025-01-13 02:32:19] Production.ERROR: pbx CDR StartTime 2025-01-12 23:32:05 - End Time 2025-01-13 02:32:05
[2025-01-13 02:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235901', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235901', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235901', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235901', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:32:19] Production.INFO: ProcessCDR(1,14235901,1,1,2)
[2025-01-13 02:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235901', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235901', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:32:22] Production.INFO: ==15718== Releasing lock...
[2025-01-13 02:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:32:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:33:01] Production.INFO: ==15794== Lock acquired, processing the job...
[2025-01-13 07:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:33:01] Production.INFO: neon service started
[2025-01-13 07:33:01] Production.INFO: neon service started
[2025-01-13 07:33:01] Production.INFO: ==15794== Releasing lock...
[2025-01-13 07:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:33:01] Production.INFO: ==15796== Lock acquired, processing the job...
[2025-01-13 02:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:33:02] Production.INFO: ==15796== Releasing lock...
[2025-01-13 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:33:02] Production.INFO: ==15798== Lock acquired, processing the job...
[2025-01-13 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:33:02] Production.INFO: ==15798== Releasing lock...
[2025-01-13 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:33:02] Production.INFO: ==15800== Lock acquired, processing the job...
[2025-01-13 02:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:33:03] Production.INFO: ==15802== Lock acquired, processing the job...
[2025-01-13 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:33:03] Production.INFO: ==15806== Lock acquired, processing the job...
[2025-01-13 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:33:03] Production.INFO: Account Balance Start.
[2025-01-13 02:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:33:03] Production.INFO: 117
[2025-01-13 02:33:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:33:03] Production.INFO: ==15802== Releasing lock...
[2025-01-13 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:33:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:33:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:33:03] Production.INFO: ==15804== Lock acquired, processing the job...
[2025-01-13 02:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:33:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:33:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:33:03] Production.INFO: ==15808== Lock acquired, processing the job...
[2025-01-13 02:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:33:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:33:03] Production.INFO: ==15810== Lock acquired, processing the job...
[2025-01-13 02:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:33:03] Production.INFO: Total Charge 0
[2025-01-13 02:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:33:03] Production.INFO: CreateAllLog End
[2025-01-13 02:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:33:03] Production.INFO: count ==21
[2025-01-13 02:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:33:03] Production.INFO: count ==21
[2025-01-13 02:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235905') start
[2025-01-13 02:33:03] Production.INFO: Account Balance End.
[2025-01-13 02:33:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:33:03] Production.INFO: ==15806== Releasing lock...
[2025-01-13 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235905') end
[2025-01-13 02:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:33:03] Production.INFO: 1
[2025-01-13 02:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:33:03] Production.ERROR: done
[2025-01-13 02:33:03] Production.INFO: ==15810== Releasing lock...
[2025-01-13 02:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:33:03] Production.ERROR: done
[2025-01-13 02:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:33:04
[end_date_ymd] => 2025-01-13 02:33:04
[RateCDR] => 1
)
[2025-01-13 02:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:33:04' and `end` < '2025-01-13 02:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:33:10] Production.ERROR: CronJobId end10
[2025-01-13 02:33:10] Production.INFO: ==15804== Releasing lock...
[2025-01-13 02:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:33:14] Production.INFO: call_cost start
[2025-01-13 02:33:14] Production.INFO: call_cost end
[2025-01-13 02:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:33:14] Production.INFO: ==15800== Releasing lock...
[2025-01-13 02:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:33:18] Production.INFO: count ==215
[2025-01-13 02:33:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:33:04 - End Time 2025-01-13 02:33:04
[2025-01-13 02:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235906', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235906', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235906', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235906', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:33:18] Production.INFO: ProcessCDR(1,14235906,1,1,2)
[2025-01-13 02:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235906', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235906', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:33:21] Production.INFO: ==15808== Releasing lock...
[2025-01-13 02:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:33:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:34:02] Production.INFO: ==15869== Lock acquired, processing the job...
[2025-01-13 07:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:34:02] Production.INFO: neon service started
[2025-01-13 07:34:02] Production.INFO: neon service started
[2025-01-13 07:34:02] Production.INFO: ==15869== Releasing lock...
[2025-01-13 07:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:34:02] Production.INFO: ==15871== Lock acquired, processing the job...
[2025-01-13 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:34:02] Production.INFO: ==15871== Releasing lock...
[2025-01-13 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:34:02] Production.INFO: ==15873== Lock acquired, processing the job...
[2025-01-13 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:34:02] Production.INFO: ==15873== Releasing lock...
[2025-01-13 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:34:03] Production.INFO: ==15877== Lock acquired, processing the job...
[2025-01-13 02:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:34:03] Production.INFO: ==15875== Lock acquired, processing the job...
[2025-01-13 02:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:34:03] Production.INFO: ==15877== Releasing lock...
[2025-01-13 02:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:34:03] Production.INFO: ==15885== Lock acquired, processing the job...
[2025-01-13 02:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:34:03] Production.INFO: ==15879== Lock acquired, processing the job...
[2025-01-13 02:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:34:03] Production.INFO: ==15881== Lock acquired, processing the job...
[2025-01-13 02:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:34:03] Production.INFO: ==15883== Lock acquired, processing the job...
[2025-01-13 02:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02: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-13 02:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:34:03] Production.INFO: Account Balance Start.
[2025-01-13 02:34:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:34:03] Production.INFO: 117
[2025-01-13 02:34:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:34:04] Production.INFO: count ==21
[2025-01-13 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-13 02:34:04] Production.INFO: count ==21
[2025-01-13 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235909') start
[2025-01-13 02:34:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:34:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:34:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:34:04] Production.ERROR: done
[2025-01-13 02:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235909') end
[2025-01-13 02:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:34:04] Production.INFO: 1
[2025-01-13 02:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:34:04] Production.ERROR: done
[2025-01-13 02:34:04] Production.INFO: ==15885== Releasing lock...
[2025-01-13 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:34:04] Production.INFO: Total Charge 0
[2025-01-13 02:34:04] Production.INFO: CreateAllLog End
[2025-01-13 02:34:04] Production.INFO: Account Balance End.
[2025-01-13 02:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:34:04] Production.INFO: ==15881== Releasing lock...
[2025-01-13 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:34:05
[end_date_ymd] => 2025-01-13 02:34:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:34:05' and `end` < '2025-01-13 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-13 02:34:11] Production.ERROR: CronJobId end10
[2025-01-13 02:34:11] Production.INFO: ==15879== Releasing lock...
[2025-01-13 02:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:34:14] Production.INFO: call_cost start
[2025-01-13 02:34:14] Production.INFO: call_cost end
[2025-01-13 02:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:34:15] Production.INFO: ==15875== Releasing lock...
[2025-01-13 02:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:34:17] Production.INFO: count ==215
[2025-01-13 02:34:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:34:05 - End Time 2025-01-13 02:34:05
[2025-01-13 02:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235911', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235911', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235911', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235911', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:34:18] Production.INFO: ProcessCDR(1,14235911,1,1,2)
[2025-01-13 02:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235911', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235911', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:34:21] Production.INFO: ==15883== Releasing lock...
[2025-01-13 02:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:34:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:35:01] Production.INFO: ==15967== Lock acquired, processing the job...
[2025-01-13 07:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:35:01] Production.INFO: neon service started
[2025-01-13 07:35:01] Production.INFO: neon service started
[2025-01-13 07:35:01] Production.INFO: ==15967== Releasing lock...
[2025-01-13 07:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:35:01] Production.INFO: ==15969== Lock acquired, processing the job...
[2025-01-13 02:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:35:02] Production.INFO: ==15969== Releasing lock...
[2025-01-13 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:35:02] Production.INFO: ==15971== Lock acquired, processing the job...
[2025-01-13 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:35:02] Production.INFO: ==15971== Releasing lock...
[2025-01-13 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:35:03] Production.INFO: ==15974== Lock acquired, processing the job...
[2025-01-13 02:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:35:03] Production.INFO: ==15982== Lock acquired, processing the job...
[2025-01-13 02:35:03] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-01-13 02:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:35:03] Production.INFO: ==15976== Lock acquired, processing the job...
[2025-01-13 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:35:03] Production.INFO: ==15978== Lock acquired, processing the job...
[2025-01-13 02:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 02:35:03] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-01-13 02:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:35:03] Production.INFO: count ==21
[2025-01-13 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-13 02:35:03] Production.INFO: count ==21
[2025-01-13 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235912') start
[2025-01-13 02:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:35:03] Production.INFO: Account Balance Start.
[2025-01-13 02:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:35:03] Production.INFO: 117
[2025-01-13 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235912') end
[2025-01-13 02:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:35:03] Production.INFO: 1
[2025-01-13 02:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:35:03] Production.ERROR: done
[2025-01-13 02:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:35:03] Production.INFO: ==15984== Releasing lock...
[2025-01-13 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:35:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:35:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:35:03] Production.INFO: ==15976== Releasing lock...
[2025-01-13 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:35:03] Production.ERROR: done
[2025-01-13 02:35:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:35:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:35:03] Production.INFO: Total Charge 0
[2025-01-13 02:35:03] Production.INFO: CreateAllLog End
[2025-01-13 02:35:03] Production.INFO: Account Balance End.
[2025-01-13 02:35:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:35:03] Production.INFO: ==15980== Releasing lock...
[2025-01-13 02:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:35:04
[end_date_ymd] => 2025-01-13 02:35:04
[RateCDR] => 1
)
[2025-01-13 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-12 23:35:04' and `end` < '2025-01-13 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-13 02:35:10] Production.ERROR: CronJobId end10
[2025-01-13 02:35:10] Production.INFO: ==15978== Releasing lock...
[2025-01-13 02:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:35:13] Production.INFO: call_cost start
[2025-01-13 02:35:13] Production.INFO: call_cost end
[2025-01-13 02:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:35:14] Production.INFO: ==15974== Releasing lock...
[2025-01-13 02:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:35:17] Production.INFO: count ==213
[2025-01-13 02:35:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:35:04 - End Time 2025-01-13 02:35:04
[2025-01-13 02:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235916', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235916', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235916', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235916', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:35:17] Production.INFO: ProcessCDR(1,14235916,1,1,2)
[2025-01-13 02:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235916', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235916', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:35:20] Production.INFO: ==15982== Releasing lock...
[2025-01-13 02:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:35:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:36:01] Production.INFO: ==16045== Lock acquired, processing the job...
[2025-01-13 07:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:36:01] Production.INFO: neon service started
[2025-01-13 07:36:01] Production.INFO: neon service started
[2025-01-13 07:36:01] Production.INFO: ==16045== Releasing lock...
[2025-01-13 07:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:36:02] Production.INFO: ==16047== Lock acquired, processing the job...
[2025-01-13 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:36:02] Production.INFO: ==16047== Releasing lock...
[2025-01-13 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:36:02] Production.INFO: ==16049== Lock acquired, processing the job...
[2025-01-13 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:36:02] Production.INFO: ==16049== Releasing lock...
[2025-01-13 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:36:03] Production.INFO: ==16060== Lock acquired, processing the job...
[2025-01-13 02:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:36:03] Production.INFO: ==16051== Lock acquired, processing the job...
[2025-01-13 02:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:36:03] Production.INFO: ==16062== Lock acquired, processing the job...
[2025-01-13 02:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:36:03] Production.INFO: ==16053== Lock acquired, processing the job...
[2025-01-13 02:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:36:03] Production.INFO: ==16055== Lock acquired, processing the job...
[2025-01-13 02:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:36:03] Production.INFO: ==16057== Lock acquired, processing the job...
[2025-01-13 02:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:36:03] Production.INFO: count ==21
[2025-01-13 02:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:36:03] Production.INFO: count ==21
[2025-01-13 02:36:03] Production.INFO: Account Balance Start.
[2025-01-13 02:36:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235918') start
[2025-01-13 02:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:36:03] Production.INFO: 117
[2025-01-13 02:36:03] Production.ERROR: done
[2025-01-13 02:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:36:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:36:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235918') end
[2025-01-13 02:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:36:04] Production.INFO: 1
[2025-01-13 02:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:36:04] Production.ERROR: done
[2025-01-13 02:36:04] Production.INFO: ==16062== Releasing lock...
[2025-01-13 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:36:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:36:04] Production.INFO: ==16053== Releasing lock...
[2025-01-13 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:36:04] Production.INFO: Total Charge 0
[2025-01-13 02:36:04] Production.INFO: CreateAllLog End
[2025-01-13 02:36:04] Production.INFO: Account Balance End.
[2025-01-13 02:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:36:04] Production.INFO: ==16057== Releasing lock...
[2025-01-13 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:36:04
[end_date_ymd] => 2025-01-13 02:36:04
[RateCDR] => 1
)
[2025-01-13 02:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:36:04' and `end` < '2025-01-13 02: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-13 02:36:10] Production.ERROR: CronJobId end10
[2025-01-13 02:36:10] Production.INFO: ==16055== Releasing lock...
[2025-01-13 02:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:36:13] Production.INFO: call_cost start
[2025-01-13 02:36:13] Production.INFO: call_cost end
[2025-01-13 02:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:36:13] Production.INFO: ==16051== Releasing lock...
[2025-01-13 02:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:36:17] Production.INFO: count ==211
[2025-01-13 02:36:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:36:04 - End Time 2025-01-13 02:36:04
[2025-01-13 02:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235921', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235921', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235921', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235921', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:36:17] Production.INFO: ProcessCDR(1,14235921,1,1,2)
[2025-01-13 02:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235921', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235921', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:36:20] Production.INFO: ==16060== Releasing lock...
[2025-01-13 02:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:36:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:37:01] Production.INFO: ==16135== Lock acquired, processing the job...
[2025-01-13 07:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:37:01] Production.INFO: neon service started
[2025-01-13 07:37:01] Production.INFO: neon service started
[2025-01-13 07:37:01] Production.INFO: ==16135== Releasing lock...
[2025-01-13 07:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:37:01] Production.INFO: ==16139== Lock acquired, processing the job...
[2025-01-13 07:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:37:01] Production.INFO: ==16139== Releasing lock...
[2025-01-13 07:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:37:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:37:01] Production.INFO: ==16137== Lock acquired, processing the job...
[2025-01-13 02:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:37:02] Production.INFO: ==16137== Releasing lock...
[2025-01-13 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:37:03] Production.INFO: ==16151== Lock acquired, processing the job...
[2025-01-13 02:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:37:03] Production.INFO: ==16147== Lock acquired, processing the job...
[2025-01-13 02:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:37:03] Production.INFO: ==16141== Lock acquired, processing the job...
[2025-01-13 02:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:37:03] Production.INFO: ==16143== Lock acquired, processing the job...
[2025-01-13 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:37:03] Production.INFO: ==16149== Lock acquired, processing the job...
[2025-01-13 02:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:37:03] Production.INFO: ==16153== Lock acquired, processing the job...
[2025-01-13 02:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:37:03] Production.ERROR: done
[2025-01-13 02:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:37:03] Production.INFO: Account Balance Start.
[2025-01-13 02:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:37:03] Production.INFO: 117
[2025-01-13 02:37:03] Production.ERROR: done
[2025-01-13 02:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:37:03] Production.INFO: count ==21
[2025-01-13 02:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:37:03] Production.INFO: count ==21
[2025-01-13 02:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235924') start
[2025-01-13 02:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:37:03] Production.INFO: ==16143== Releasing lock...
[2025-01-13 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:37:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:37:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:37:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235924') end
[2025-01-13 02:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:37:03] Production.INFO: 1
[2025-01-13 02:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:37:03] Production.INFO: Total Charge 0
[2025-01-13 02:37:03] Production.INFO: CreateAllLog End
[2025-01-13 02:37:03] Production.INFO: ==16153== Releasing lock...
[2025-01-13 02:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:37:03] Production.INFO: Account Balance End.
[2025-01-13 02:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:37:04] Production.INFO: ==16149== Releasing lock...
[2025-01-13 02:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:37:04
[end_date_ymd] => 2025-01-13 02:37:04
[RateCDR] => 1
)
[2025-01-13 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-12 23:37:04' and `end` < '2025-01-13 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-13 02:37:10] Production.ERROR: CronJobId end10
[2025-01-13 02:37:10] Production.INFO: ==16147== Releasing lock...
[2025-01-13 02:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:37:13] Production.INFO: call_cost start
[2025-01-13 02:37:13] Production.INFO: call_cost end
[2025-01-13 02:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:37:14] Production.INFO: ==16141== Releasing lock...
[2025-01-13 02:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:37:17] Production.INFO: count ==208
[2025-01-13 02:37:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:37:04 - End Time 2025-01-13 02:37:04
[2025-01-13 02:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235926', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235926', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235926', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235926', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:37:17] Production.INFO: ProcessCDR(1,14235926,1,1,2)
[2025-01-13 02:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235926', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235926', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:37:20] Production.INFO: ==16151== Releasing lock...
[2025-01-13 02:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:37:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:38:02] Production.INFO: ==16216== Lock acquired, processing the job...
[2025-01-13 07:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:38:02] Production.INFO: neon service started
[2025-01-13 07:38:02] Production.INFO: neon service started
[2025-01-13 07:38:02] Production.INFO: ==16216== Releasing lock...
[2025-01-13 07:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:38:02] Production.INFO: ==16218== Lock acquired, processing the job...
[2025-01-13 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:38:02] Production.INFO: ==16218== Releasing lock...
[2025-01-13 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:38:02] Production.INFO: ==16220== Lock acquired, processing the job...
[2025-01-13 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:38:02] Production.INFO: ==16220== Releasing lock...
[2025-01-13 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:38:03] Production.INFO: ==16228== Lock acquired, processing the job...
[2025-01-13 02:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:38:03] Production.INFO: Account Balance Start.
[2025-01-13 02:38:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:38:03] Production.INFO: 117
[2025-01-13 02:38:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:38:03] Production.INFO: ==16232== Lock acquired, processing the job...
[2025-01-13 02:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:38:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:38:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:38:03] Production.INFO: ==16222== Lock acquired, processing the job...
[2025-01-13 02:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:38:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:38:03] Production.INFO: count ==21
[2025-01-13 02:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:38:03] Production.INFO: count ==21
[2025-01-13 02:38:03] Production.INFO: ==16224== Lock acquired, processing the job...
[2025-01-13 02:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:38:03] Production.INFO: ==16226== Lock acquired, processing the job...
[2025-01-13 02:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:38:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235928') start
[2025-01-13 02:38:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:38:03] Production.INFO: ==16230== Lock acquired, processing the job...
[2025-01-13 02:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:38:03] Production.INFO: Total Charge 0
[2025-01-13 02:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:38:03] Production.INFO: CreateAllLog End
[2025-01-13 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235928') end
[2025-01-13 02:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:38:04] Production.INFO: 1
[2025-01-13 02:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:38:04] Production.INFO: ==16232== Releasing lock...
[2025-01-13 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:38:04] Production.INFO: Account Balance End.
[2025-01-13 02:38:04] Production.INFO: ==16224== Releasing lock...
[2025-01-13 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:38:04] Production.INFO: ==16228== Releasing lock...
[2025-01-13 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:38:04] Production.ERROR: done
[2025-01-13 02:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:38:04] Production.ERROR: done
[2025-01-13 02:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:38:05
[end_date_ymd] => 2025-01-13 02:38:05
[RateCDR] => 1
)
[2025-01-13 02:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:38:05' and `end` < '2025-01-13 02:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:38:12] Production.ERROR: CronJobId end10
[2025-01-13 02:38:12] Production.INFO: ==16226== Releasing lock...
[2025-01-13 02:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:38:14] Production.INFO: call_cost start
[2025-01-13 02:38:14] Production.INFO: call_cost end
[2025-01-13 02:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:38:15] Production.INFO: ==16222== Releasing lock...
[2025-01-13 02:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:38:17] Production.INFO: count ==204
[2025-01-13 02:38:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:38:05 - End Time 2025-01-13 02:38:05
[2025-01-13 02:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235931', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235931', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235931', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235931', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:38:17] Production.INFO: ProcessCDR(1,14235931,1,1,2)
[2025-01-13 02:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235931', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235931', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:38:21] Production.INFO: ==16230== Releasing lock...
[2025-01-13 02:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:38:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:39:01] Production.INFO: ==16316== Lock acquired, processing the job...
[2025-01-13 07:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:39:01] Production.INFO: neon service started
[2025-01-13 07:39:01] Production.INFO: neon service started
[2025-01-13 07:39:01] Production.INFO: ==16316== Releasing lock...
[2025-01-13 07:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:39:01] Production.INFO: ==16318== Lock acquired, processing the job...
[2025-01-13 02:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:39:02] Production.INFO: ==16318== Releasing lock...
[2025-01-13 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:39:02] Production.INFO: ==16320== Lock acquired, processing the job...
[2025-01-13 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:39:02] Production.INFO: ==16320== Releasing lock...
[2025-01-13 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:39:03] Production.INFO: ==16333== Lock acquired, processing the job...
[2025-01-13 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:39:03] Production.INFO: ==16331== Lock acquired, processing the job...
[2025-01-13 02:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:39:03] Production.INFO: ==16323== Lock acquired, processing the job...
[2025-01-13 02:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 02:39:03] Production.INFO: ==16325== Lock acquired, processing the job...
[2025-01-13 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:39:03] Production.INFO: ==16327== Lock acquired, processing the job...
[2025-01-13 02:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:39:03] Production.INFO: count ==21
[2025-01-13 02:39:03] Production.INFO: ==16329== Lock acquired, processing the job...
[2025-01-13 02:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 02:39:03] Production.INFO: count ==21
[2025-01-13 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235932') start
[2025-01-13 02:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235932') end
[2025-01-13 02:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:39:03] Production.INFO: 1
[2025-01-13 02:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:39:03] Production.ERROR: done
[2025-01-13 02:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:39:03] Production.INFO: ==16333== Releasing lock...
[2025-01-13 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:39:03] Production.INFO: Account Balance Start.
[2025-01-13 02:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:39:03] Production.INFO: 117
[2025-01-13 02:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:39:03] Production.ERROR: done
[2025-01-13 02:39:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:39:03] Production.INFO: ==16325== Releasing lock...
[2025-01-13 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:39:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:39:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:39:03] Production.INFO: Total Charge 0
[2025-01-13 02:39:03] Production.INFO: CreateAllLog End
[2025-01-13 02:39:03] Production.INFO: Account Balance End.
[2025-01-13 02:39:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:39:03] Production.INFO: ==16329== Releasing lock...
[2025-01-13 02:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:39:04
[end_date_ymd] => 2025-01-13 02:39:04
[RateCDR] => 1
)
[2025-01-13 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-12 23:39:04' and `end` < '2025-01-13 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-13 02:39:11] Production.ERROR: CronJobId end10
[2025-01-13 02:39:11] Production.INFO: ==16327== Releasing lock...
[2025-01-13 02:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:39:12] Production.INFO: call_cost start
[2025-01-13 02:39:12] Production.INFO: call_cost end
[2025-01-13 02:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:39:13] Production.INFO: ==16323== Releasing lock...
[2025-01-13 02:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:39:18] Production.INFO: count ==203
[2025-01-13 02:39:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:39:04 - End Time 2025-01-13 02:39:04
[2025-01-13 02:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235936', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235936', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235936', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235936', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:39:18] Production.INFO: ProcessCDR(1,14235936,1,1,2)
[2025-01-13 02:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235936', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235936', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:39:21] Production.INFO: ==16331== Releasing lock...
[2025-01-13 02:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:39:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 07:40:02] Production.INFO: ==16399== Lock acquired, processing the job...
[2025-01-13 07:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:40:02] Production.INFO: neon service started
[2025-01-13 07:40:02] Production.INFO: neon service started
[2025-01-13 07:40:02] Production.INFO: ==16399== Releasing lock...
[2025-01-13 07:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:40:02] Production.INFO: ==16402== Lock acquired, processing the job...
[2025-01-13 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:40:02] Production.INFO: ==16404== Lock acquired, processing the job...
[2025-01-13 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:40:02] Production.INFO: ==16404== Releasing lock...
[2025-01-13 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:40:03] Production.INFO: ==16402== Releasing lock...
[2025-01-13 02:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:40:04] Production.INFO: ==16406== Lock acquired, processing the job...
[2025-01-13 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 02:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 02:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 02:40:04] Production.INFO: ==16406== Releasing lock...
[2025-01-13 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 02:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 02:40:04] Production.INFO: ==16408== Lock acquired, processing the job...
[2025-01-13 02:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:40:04] Production.INFO: ==16410== Lock acquired, processing the job...
[2025-01-13 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:40:04] Production.INFO: ==16412== Lock acquired, processing the job...
[2025-01-13 02:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:40:04] Production.INFO: ==16414== Lock acquired, processing the job...
[2025-01-13 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:40:04] Production.INFO: ==16416== Lock acquired, processing the job...
[2025-01-13 02:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:40:04] Production.INFO: Account Balance Start.
[2025-01-13 02:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:40:04] Production.INFO: 117
[2025-01-13 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:40:04] Production.INFO: ==16419== Lock acquired, processing the job...
[2025-01-13 02:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 02:40:04] Production.INFO: ==16421== Lock acquired, processing the job...
[2025-01-13 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:40:04] Production.INFO: ==16410== Releasing lock...
[2025-01-13 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:40:04] Production.INFO: count ==21
[2025-01-13 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-13 02:40:05] Production.INFO: count ==21
[2025-01-13 02:40:05] Production.ERROR: done
[2025-01-13 02:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235940') start
[2025-01-13 02:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:40:05] Production.INFO: Date 2025-01-12
[2025-01-13 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-13 02:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235940') end
[2025-01-13 02:40:05] Production.ERROR: done
[2025-01-13 02:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:40:05] Production.INFO: 1
[2025-01-13 02:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:40:05] Production.INFO: Date 2025-01-13
[2025-01-13 02:40:05] Production.INFO: Reseller ==> 0
[2025-01-13 02:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 02:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235941', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 02:40:05] Production.INFO: ==16421== Releasing lock...
[2025-01-13 02:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:40:05] Production.ERROR: done
[2025-01-13 02:40:05] Production.INFO: Total Charge 0
[2025-01-13 02:40:05] Production.INFO: CreateAllLog End
[2025-01-13 02:40:05] Production.INFO: Account Balance End.
[2025-01-13 02:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 02:40:05] Production.INFO: ==16414== Releasing lock...
[2025-01-13 02:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:40:06
[end_date_ymd] => 2025-01-13 02:40:06
[RateCDR] => 1
)
[2025-01-13 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-12 23:40:06' and `end` < '2025-01-13 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-13 02:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235941', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 02:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 02:40:09] Production.INFO: ProcessCDR(1,14235941,1,1,2)
[2025-01-13 02:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235941,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235941,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:40:09] Production.INFO: ==16419== Releasing lock...
[2025-01-13 02:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 02:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 02:40:13] Production.ERROR: CronJobId end10
[2025-01-13 02:40:13] Production.INFO: ==16412== Releasing lock...
[2025-01-13 02:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:40:15] Production.INFO: call_cost start
[2025-01-13 02:40:15] Production.INFO: call_cost end
[2025-01-13 02:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:40:16] Production.INFO: ==16408== Releasing lock...
[2025-01-13 02:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:40:19] Production.INFO: count ==209
[2025-01-13 02:40:19] Production.ERROR: pbx CDR StartTime 2025-01-12 23:40:06 - End Time 2025-01-13 02:40:06
[2025-01-13 02:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235942', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235942', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235942', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235942', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:40:19] Production.INFO: ProcessCDR(1,14235942,1,1,2)
[2025-01-13 02:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235942', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235942', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:40:23] Production.INFO: ==16416== Releasing lock...
[2025-01-13 02:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:40:23] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:41:01] Production.INFO: ==16494== Lock acquired, processing the job...
[2025-01-13 07:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:41:01] Production.INFO: neon service started
[2025-01-13 07:41:01] Production.INFO: neon service started
[2025-01-13 07:41:01] Production.INFO: ==16494== Releasing lock...
[2025-01-13 07:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:41:02] Production.INFO: ==16498== Lock acquired, processing the job...
[2025-01-13 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:41:02] Production.INFO: ==16496== Lock acquired, processing the job...
[2025-01-13 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:41:02] Production.INFO: ==16498== Releasing lock...
[2025-01-13 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:41:02] Production.INFO: 26 MB #Memory Used#
[2025-01-13 02:41:02] Production.INFO: ==16496== Releasing lock...
[2025-01-13 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:41:03] Production.INFO: ==16501== Lock acquired, processing the job...
[2025-01-13 02:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:41:03] Production.INFO: ==16505== Lock acquired, processing the job...
[2025-01-13 02:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:41:03] Production.INFO: ==16503== Lock acquired, processing the job...
[2025-01-13 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:41:03] Production.INFO: ==16507== Lock acquired, processing the job...
[2025-01-13 02:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:41:03] Production.INFO: Account Balance Start.
[2025-01-13 02:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:41:03] Production.INFO: 117
[2025-01-13 02:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:41:03] Production.INFO: ==16509== Lock acquired, processing the job...
[2025-01-13 02:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:41:03] Production.INFO: ==16511== Lock acquired, processing the job...
[2025-01-13 02:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:41:03] Production.INFO: Total Charge 0
[2025-01-13 02:41:03] Production.INFO: count ==21
[2025-01-13 02:41:03] Production.INFO: CreateAllLog End
[2025-01-13 02:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:41:03] Production.INFO: count ==21
[2025-01-13 02:41:03] Production.INFO: ==16503== Releasing lock...
[2025-01-13 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235946') start
[2025-01-13 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235946') end
[2025-01-13 02:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:41:04] Production.INFO: 1
[2025-01-13 02:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:41:04] Production.INFO: Account Balance End.
[2025-01-13 02:41:04] Production.INFO: ==16511== Releasing lock...
[2025-01-13 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:41:04] Production.ERROR: done
[2025-01-13 02:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:41:04] Production.INFO: ==16507== Releasing lock...
[2025-01-13 02:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:41:04] Production.ERROR: done
[2025-01-13 02:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:41:05
[end_date_ymd] => 2025-01-13 02:41:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:41:05' and `end` < '2025-01-13 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-13 02:41:11] Production.ERROR: CronJobId end10
[2025-01-13 02:41:11] Production.INFO: ==16505== Releasing lock...
[2025-01-13 02:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:41:13] Production.INFO: call_cost start
[2025-01-13 02:41:13] Production.INFO: call_cost end
[2025-01-13 02:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:41:14] Production.INFO: ==16501== Releasing lock...
[2025-01-13 02:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:41:18] Production.INFO: count ==210
[2025-01-13 02:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:41:05 - End Time 2025-01-13 02:41:05
[2025-01-13 02:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235947', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235947', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235947', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235947', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:41:18] Production.INFO: ProcessCDR(1,14235947,1,1,2)
[2025-01-13 02:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235947', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235947', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:41:22] Production.INFO: ==16509== Releasing lock...
[2025-01-13 02:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:41:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 07:42:02] Production.INFO: ==16576== Lock acquired, processing the job...
[2025-01-13 07:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:42:02] Production.INFO: neon service started
[2025-01-13 07:42:02] Production.INFO: neon service started
[2025-01-13 07:42:02] Production.INFO: ==16576== Releasing lock...
[2025-01-13 07:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:42:02] Production.INFO: ==16578== Lock acquired, processing the job...
[2025-01-13 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:42:02] Production.INFO: ==16580== Lock acquired, processing the job...
[2025-01-13 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:42:02] Production.INFO: ==16580== Releasing lock...
[2025-01-13 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:42:03] Production.INFO: ==16578== Releasing lock...
[2025-01-13 02:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:42:03] Production.INFO: ==16585== Lock acquired, processing the job...
[2025-01-13 02:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:42:03] Production.INFO: ==16589== Lock acquired, processing the job...
[2025-01-13 02:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:42:04] Production.INFO: ==16583== Lock acquired, processing the job...
[2025-01-13 02:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:42:04] Production.INFO: Account Balance Start.
[2025-01-13 02:42:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:42:04] Production.INFO: 117
[2025-01-13 02:42:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:42:04] Production.INFO: ==16587== Lock acquired, processing the job...
[2025-01-13 02:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:42:04] Production.INFO: ==16585== Releasing lock...
[2025-01-13 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:42:04] Production.INFO: ==16591== Lock acquired, processing the job...
[2025-01-13 02:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:42:04] Production.INFO: ==16593== Lock acquired, processing the job...
[2025-01-13 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:42:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:42:04] Production.INFO: count ==21
[2025-01-13 02:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:42:04] Production.INFO: count ==21
[2025-01-13 02:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235951') start
[2025-01-13 02:42:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:42:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:42:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235951') end
[2025-01-13 02:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:42:04] Production.INFO: 1
[2025-01-13 02:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:42:04] Production.ERROR: done
[2025-01-13 02:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:42:04] Production.INFO: ==16593== Releasing lock...
[2025-01-13 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:42:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:42:04] Production.INFO: Total Charge 0
[2025-01-13 02:42:04] Production.INFO: CreateAllLog End
[2025-01-13 02:42:04] Production.ERROR: done
[2025-01-13 02:42:04] Production.INFO: Account Balance End.
[2025-01-13 02:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:42:04] Production.INFO: ==16589== Releasing lock...
[2025-01-13 02:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:42:05
[end_date_ymd] => 2025-01-13 02:42:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:42:05' and `end` < '2025-01-13 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-13 02:42:12] Production.ERROR: CronJobId end10
[2025-01-13 02:42:12] Production.INFO: ==16587== Releasing lock...
[2025-01-13 02:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:42:13] Production.INFO: call_cost start
[2025-01-13 02:42:13] Production.INFO: call_cost end
[2025-01-13 02:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:42:14] Production.INFO: ==16583== Releasing lock...
[2025-01-13 02:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:42:19] Production.INFO: count ==210
[2025-01-13 02:42:19] Production.ERROR: pbx CDR StartTime 2025-01-12 23:42:05 - End Time 2025-01-13 02:42:05
[2025-01-13 02:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235952', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235952', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235952', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235952', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:42:19] Production.INFO: ProcessCDR(1,14235952,1,1,2)
[2025-01-13 02:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235952', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235952', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:42:22] Production.INFO: ==16591== Releasing lock...
[2025-01-13 02:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:42:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:43:01] Production.INFO: ==16665== Lock acquired, processing the job...
[2025-01-13 07:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:43:01] Production.INFO: neon service started
[2025-01-13 07:43:01] Production.INFO: neon service started
[2025-01-13 07:43:01] Production.INFO: ==16665== Releasing lock...
[2025-01-13 07:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:43:01] Production.INFO: ==16669== Lock acquired, processing the job...
[2025-01-13 07:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:43:01] Production.INFO: ==16669== Releasing lock...
[2025-01-13 07:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:43:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:43:02] Production.INFO: ==16667== Lock acquired, processing the job...
[2025-01-13 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:43:02] Production.INFO: ==16667== Releasing lock...
[2025-01-13 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:43:03] Production.INFO: ==16674== Lock acquired, processing the job...
[2025-01-13 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:43:03] Production.INFO: ==16680== Lock acquired, processing the job...
[2025-01-13 02:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:43:03] Production.INFO: ==16678== Lock acquired, processing the job...
[2025-01-13 02:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:43:03] Production.INFO: Account Balance Start.
[2025-01-13 02:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:43:03] Production.INFO: 117
[2025-01-13 02:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:43:03] Production.INFO: ==16676== Lock acquired, processing the job...
[2025-01-13 02:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:43:03] Production.INFO: ==16672== Lock acquired, processing the job...
[2025-01-13 02:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:43:03] Production.INFO: ==16674== Releasing lock...
[2025-01-13 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:43:03] Production.INFO: ==16682== Lock acquired, processing the job...
[2025-01-13 02:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:43:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:43:03] Production.ERROR: done
[2025-01-13 02:43:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:43:03] Production.INFO: count ==21
[2025-01-13 02:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:43:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:43:03] Production.INFO: count ==21
[2025-01-13 02:43:03] Production.ERROR: done
[2025-01-13 02:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235955') start
[2025-01-13 02:43:03] Production.INFO: Total Charge 0
[2025-01-13 02:43:03] Production.INFO: CreateAllLog End
[2025-01-13 02:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235955') end
[2025-01-13 02:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:43:03] Production.INFO: 1
[2025-01-13 02:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:43:03] Production.INFO: Account Balance End.
[2025-01-13 02:43:03] Production.INFO: ==16682== Releasing lock...
[2025-01-13 02:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:43:04] Production.INFO: ==16678== Releasing lock...
[2025-01-13 02:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:43:04
[end_date_ymd] => 2025-01-13 02:43:04
[RateCDR] => 1
)
[2025-01-13 02:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:43:04' and `end` < '2025-01-13 02: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-13 02:43:11] Production.ERROR: CronJobId end10
[2025-01-13 02:43:11] Production.INFO: ==16676== Releasing lock...
[2025-01-13 02:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:43:14] Production.INFO: call_cost start
[2025-01-13 02:43:14] Production.INFO: call_cost end
[2025-01-13 02:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:43:14] Production.INFO: ==16672== Releasing lock...
[2025-01-13 02:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:43:18] Production.INFO: count ==214
[2025-01-13 02:43:19] Production.ERROR: pbx CDR StartTime 2025-01-12 23:43:04 - End Time 2025-01-13 02:43:04
[2025-01-13 02:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235957', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235957', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235957', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235957', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:43:19] Production.INFO: ProcessCDR(1,14235957,1,1,2)
[2025-01-13 02:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235957', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235957', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:43:22] Production.INFO: ==16680== Releasing lock...
[2025-01-13 02:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:43:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:44:01] Production.INFO: ==16786== Lock acquired, processing the job...
[2025-01-13 07:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:44:02] Production.INFO: neon service started
[2025-01-13 07:44:02] Production.INFO: neon service started
[2025-01-13 07:44:02] Production.INFO: ==16786== Releasing lock...
[2025-01-13 07:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:44:02] Production.INFO: ==16788== Lock acquired, processing the job...
[2025-01-13 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:44:02] Production.INFO: ==16790== Lock acquired, processing the job...
[2025-01-13 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:44:02] Production.INFO: ==16790== Releasing lock...
[2025-01-13 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:44:02] Production.INFO: ==16788== Releasing lock...
[2025-01-13 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:44:03] Production.INFO: ==16793== Lock acquired, processing the job...
[2025-01-13 02:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:44:03] Production.INFO: ==16797== Lock acquired, processing the job...
[2025-01-13 02:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:44:03] Production.INFO: ==16801== Lock acquired, processing the job...
[2025-01-13 02:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:44:03] Production.INFO: ==16803== Lock acquired, processing the job...
[2025-01-13 02:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:44:03] Production.INFO: ==16795== Lock acquired, processing the job...
[2025-01-13 02:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:44:04] Production.INFO: ==16799== Lock acquired, processing the job...
[2025-01-13 02:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:44:04] Production.ERROR: done
[2025-01-13 02:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:44:04] Production.INFO: count ==21
[2025-01-13 02:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:44:04] Production.INFO: Account Balance Start.
[2025-01-13 02:44:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:44:04] Production.INFO: count ==21
[2025-01-13 02:44:04] Production.INFO: 117
[2025-01-13 02:44:04] Production.ERROR: done
[2025-01-13 02:44:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235959') start
[2025-01-13 02:44:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:44:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:44:04] Production.INFO: ==16795== Releasing lock...
[2025-01-13 02:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235959') end
[2025-01-13 02:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:44:04] Production.INFO: 1
[2025-01-13 02:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:44:04] Production.INFO: ==16803== Releasing lock...
[2025-01-13 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:44:04] Production.INFO: Total Charge 0
[2025-01-13 02:44:04] Production.INFO: CreateAllLog End
[2025-01-13 02:44:04] Production.INFO: Account Balance End.
[2025-01-13 02:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:44:04] Production.INFO: ==16799== Releasing lock...
[2025-01-13 02:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:44:05
[end_date_ymd] => 2025-01-13 02:44:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:44:05' and `end` < '2025-01-13 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-13 02:44:10] Production.ERROR: CronJobId end10
[2025-01-13 02:44:10] Production.INFO: ==16797== Releasing lock...
[2025-01-13 02:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:44:13] Production.INFO: call_cost start
[2025-01-13 02:44:13] Production.INFO: call_cost end
[2025-01-13 02:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:44:14] Production.INFO: ==16793== Releasing lock...
[2025-01-13 02:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:44:17] Production.INFO: count ==214
[2025-01-13 02:44:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:44:05 - End Time 2025-01-13 02:44:05
[2025-01-13 02:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235962', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235962', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235962', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235962', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:44:17] Production.INFO: ProcessCDR(1,14235962,1,1,2)
[2025-01-13 02:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235962', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235962', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:44:21] Production.INFO: ==16801== Releasing lock...
[2025-01-13 02:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:44:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:45:01] Production.INFO: ==16893== Lock acquired, processing the job...
[2025-01-13 07:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:45:01] Production.INFO: neon service started
[2025-01-13 07:45:01] Production.INFO: neon service started
[2025-01-13 07:45:01] Production.INFO: ==16893== Releasing lock...
[2025-01-13 07:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:45:01] Production.INFO: ==16895== Lock acquired, processing the job...
[2025-01-13 02:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:45:02] Production.INFO: ==16895== Releasing lock...
[2025-01-13 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:45:02] Production.INFO: ==16897== Lock acquired, processing the job...
[2025-01-13 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:45:02] Production.INFO: ==16897== Releasing lock...
[2025-01-13 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:45:02] Production.INFO: ==16899== Lock acquired, processing the job...
[2025-01-13 02:45:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:45:03] Production.INFO: ==16901== Lock acquired, processing the job...
[2025-01-13 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:45:03] Production.INFO: ==16903== Lock acquired, processing the job...
[2025-01-13 02:45:03] Production.INFO: ==16905== Lock acquired, processing the job...
[2025-01-13 02:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:45:03] Production.INFO: Account Balance Start.
[2025-01-13 02:45:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:45:03] Production.INFO: 117
[2025-01-13 02:45:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:45:03] Production.INFO: ==16910== Lock acquired, processing the job...
[2025-01-13 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:45:03] Production.INFO: ==16908== Lock acquired, processing the job...
[2025-01-13 02:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:45:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:45:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:45:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:45:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:45:03] Production.INFO: count ==21
[2025-01-13 02:45:03] Production.INFO: ==16901== Releasing lock...
[2025-01-13 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:45:03] Production.INFO: count ==21
[2025-01-13 02:45:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235966') start
[2025-01-13 02:45:03] Production.INFO: Total Charge 0
[2025-01-13 02:45:03] Production.INFO: CreateAllLog End
[2025-01-13 02:45:03] Production.ERROR: done
[2025-01-13 02:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14235966') end
[2025-01-13 02:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:45:03] Production.INFO: 1
[2025-01-13 02:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:45:03] Production.INFO: Account Balance End.
[2025-01-13 02:45:03] Production.INFO: ==16910== Releasing lock...
[2025-01-13 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:45:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:45:03] Production.INFO: ==16905== Releasing lock...
[2025-01-13 02:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:45:03] Production.ERROR: done
[2025-01-13 02:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:45:04
[end_date_ymd] => 2025-01-13 02:45:04
[RateCDR] => 1
)
[2025-01-13 02:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:45:04' and `end` < '2025-01-13 02:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:45:11] Production.ERROR: CronJobId end10
[2025-01-13 02:45:11] Production.INFO: ==16903== Releasing lock...
[2025-01-13 02:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:45:13] Production.INFO: call_cost start
[2025-01-13 02:45:13] Production.INFO: call_cost end
[2025-01-13 02:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:45:14] Production.INFO: ==16899== Releasing lock...
[2025-01-13 02:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:45:16] Production.INFO: count ==214
[2025-01-13 02:45:16] Production.ERROR: pbx CDR StartTime 2025-01-12 23:45:04 - End Time 2025-01-13 02:45:04
[2025-01-13 02:45:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235967', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235967', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235967', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235967', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:45:16] Production.INFO: ProcessCDR(1,14235967,1,1,2)
[2025-01-13 02:45:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:45:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:45:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235967', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235967', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:45:20] Production.INFO: ==16908== Releasing lock...
[2025-01-13 02:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:45:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:46:01] Production.INFO: ==17032== Lock acquired, processing the job...
[2025-01-13 07:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:46:01] Production.INFO: neon service started
[2025-01-13 07:46:01] Production.INFO: neon service started
[2025-01-13 07:46:01] Production.INFO: ==17032== Releasing lock...
[2025-01-13 07:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:46:02] Production.INFO: ==17036== Lock acquired, processing the job...
[2025-01-13 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:46:02] Production.INFO: ==17036== Releasing lock...
[2025-01-13 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:46:02] Production.INFO: ==17038== Lock acquired, processing the job...
[2025-01-13 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:46:02] Production.INFO: ==17038== Releasing lock...
[2025-01-13 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:46:03] Production.INFO: ==17041== Lock acquired, processing the job...
[2025-01-13 02:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:46:03] Production.INFO: ==17045== Lock acquired, processing the job...
[2025-01-13 02:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:46:03] Production.INFO: ==17049== Lock acquired, processing the job...
[2025-01-13 02:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:46:03] Production.INFO: ==17043== Lock acquired, processing the job...
[2025-01-13 02:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:46:03] Production.INFO: ==17047== Lock acquired, processing the job...
[2025-01-13 02:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:46:03] Production.ERROR: done
[2025-01-13 02:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:46:03] Production.INFO: ==17051== Lock acquired, processing the job...
[2025-01-13 02:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:46:03] Production.INFO: Account Balance Start.
[2025-01-13 02:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:46:03] Production.INFO: 117
[2025-01-13 02:46:04] Production.ERROR: done
[2025-01-13 02:46:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:46:04] Production.INFO: count ==21
[2025-01-13 02:46:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:46:04] Production.INFO: count ==21
[2025-01-13 02:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235971') start
[2025-01-13 02:46:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:46:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235971') end
[2025-01-13 02:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:46:04] Production.INFO: 1
[2025-01-13 02:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:46:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:46:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:46:04] Production.INFO: ==17043== Releasing lock...
[2025-01-13 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:46:04] Production.INFO: Total Charge 0
[2025-01-13 02:46:04] Production.INFO: ==17051== Releasing lock...
[2025-01-13 02:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:46:04] Production.INFO: CreateAllLog End
[2025-01-13 02:46:04] Production.INFO: Account Balance End.
[2025-01-13 02:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:46:04] Production.INFO: ==17047== Releasing lock...
[2025-01-13 02:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:46:05
[end_date_ymd] => 2025-01-13 02:46:05
[RateCDR] => 1
)
[2025-01-13 02:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:46:05' and `end` < '2025-01-13 02:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:46:10] Production.ERROR: CronJobId end10
[2025-01-13 02:46:10] Production.INFO: ==17045== Releasing lock...
[2025-01-13 02:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:46:13] Production.INFO: call_cost start
[2025-01-13 02:46:14] Production.INFO: call_cost end
[2025-01-13 02:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:46:14] Production.INFO: ==17041== Releasing lock...
[2025-01-13 02:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:46:18] Production.INFO: count ==214
[2025-01-13 02:46:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:46:05 - End Time 2025-01-13 02:46:05
[2025-01-13 02:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235972', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235972', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235972', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235972', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:46:18] Production.INFO: ProcessCDR(1,14235972,1,1,2)
[2025-01-13 02:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235972', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235972', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:46:21] Production.INFO: ==17049== Releasing lock...
[2025-01-13 02:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:46:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:47:02] Production.INFO: ==17126== Lock acquired, processing the job...
[2025-01-13 07:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:47:02] Production.INFO: neon service started
[2025-01-13 07:47:02] Production.INFO: neon service started
[2025-01-13 07:47:02] Production.INFO: ==17126== Releasing lock...
[2025-01-13 07:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:47:02] Production.INFO: ==17130== Lock acquired, processing the job...
[2025-01-13 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:47:02] Production.INFO: ==17130== Releasing lock...
[2025-01-13 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:47:02] Production.INFO: ==17128== Lock acquired, processing the job...
[2025-01-13 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:47:03] Production.INFO: ==17128== Releasing lock...
[2025-01-13 02:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:47:03] Production.INFO: ==17137== Lock acquired, processing the job...
[2025-01-13 02:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:47:04] Production.INFO: ==17139== Lock acquired, processing the job...
[2025-01-13 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:47:04] Production.INFO: ==17133== Lock acquired, processing the job...
[2025-01-13 02:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:47:04] Production.INFO: ==17135== Lock acquired, processing the job...
[2025-01-13 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:47:04] Production.INFO: Account Balance Start.
[2025-01-13 02:47:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:47:04] Production.INFO: 117
[2025-01-13 02:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:47:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:47:04] Production.INFO: ==17141== Lock acquired, processing the job...
[2025-01-13 02:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:47:04] Production.INFO: ==17143== Lock acquired, processing the job...
[2025-01-13 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:47:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:47:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:47:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:47:04] Production.INFO: count ==21
[2025-01-13 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-13 02:47:04] Production.INFO: count ==21
[2025-01-13 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235976') start
[2025-01-13 02:47:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:47:04] Production.INFO: ==17135== Releasing lock...
[2025-01-13 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:47:04] Production.INFO: Total Charge 0
[2025-01-13 02:47:04] Production.INFO: CreateAllLog End
[2025-01-13 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235976') end
[2025-01-13 02:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:47:04] Production.INFO: 1
[2025-01-13 02:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:47:04] Production.ERROR: done
[2025-01-13 02:47:04] Production.INFO: ==17143== Releasing lock...
[2025-01-13 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:47:04] Production.INFO: Account Balance End.
[2025-01-13 02:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:47:04] Production.INFO: ==17139== Releasing lock...
[2025-01-13 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:47:04] Production.ERROR: done
[2025-01-13 02:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:47:05
[end_date_ymd] => 2025-01-13 02:47:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:47:05' and `end` < '2025-01-13 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-13 02:47:12] Production.ERROR: CronJobId end10
[2025-01-13 02:47:12] Production.INFO: ==17137== Releasing lock...
[2025-01-13 02:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:47:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:47:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:47:14] Production.INFO: call_cost start
[2025-01-13 02:47:14] Production.INFO: call_cost end
[2025-01-13 02:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:47:15] Production.INFO: ==17133== Releasing lock...
[2025-01-13 02:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:47:18] Production.INFO: count ==214
[2025-01-13 02:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:47:05 - End Time 2025-01-13 02:47:05
[2025-01-13 02:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235977', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235977', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235977', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235977', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:47:18] Production.INFO: ProcessCDR(1,14235977,1,1,2)
[2025-01-13 02:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235977', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235977', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:47:21] Production.INFO: ==17141== Releasing lock...
[2025-01-13 02:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:47:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:48:01] Production.INFO: ==17226== Lock acquired, processing the job...
[2025-01-13 07:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:48:01] Production.INFO: neon service started
[2025-01-13 07:48:01] Production.INFO: neon service started
[2025-01-13 07:48:01] Production.INFO: ==17226== Releasing lock...
[2025-01-13 07:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:48:02] Production.INFO: ==17230== Lock acquired, processing the job...
[2025-01-13 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:48:02] Production.INFO: ==17230== Releasing lock...
[2025-01-13 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:48:02] Production.INFO: ==17228== Lock acquired, processing the job...
[2025-01-13 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:48:02] Production.INFO: ==17228== Releasing lock...
[2025-01-13 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:48:03] Production.INFO: ==17235== Lock acquired, processing the job...
[2025-01-13 02:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:48:03] Production.INFO: ==17245== Lock acquired, processing the job...
[2025-01-13 02:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:48:03] Production.INFO: ==17237== Lock acquired, processing the job...
[2025-01-13 02:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:48:03] Production.INFO: ==17239== Lock acquired, processing the job...
[2025-01-13 02:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:48:03] Production.INFO: ==17241== Lock acquired, processing the job...
[2025-01-13 02:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:48:04] Production.INFO: count ==21
[2025-01-13 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-13 02:48:04] Production.INFO: count ==21
[2025-01-13 02:48:04] Production.INFO: ==17243== Lock acquired, processing the job...
[2025-01-13 02:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235979') start
[2025-01-13 02:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235979') end
[2025-01-13 02:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:48:04] Production.INFO: 1
[2025-01-13 02:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:48:04] Production.INFO: Account Balance Start.
[2025-01-13 02:48:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:48:04] Production.INFO: ==17237== Releasing lock...
[2025-01-13 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:48:04] Production.INFO: 117
[2025-01-13 02:48:04] Production.INFO: ==17245== Releasing lock...
[2025-01-13 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:48:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:48:04] Production.ERROR: done
[2025-01-13 02:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:48:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:48:04] Production.ERROR: done
[2025-01-13 02:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:48:04] Production.INFO: Total Charge 0
[2025-01-13 02:48:04] Production.INFO: CreateAllLog End
[2025-01-13 02:48:04] Production.INFO: Account Balance End.
[2025-01-13 02:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:48:04] Production.INFO: ==17241== Releasing lock...
[2025-01-13 02:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:48:05
[end_date_ymd] => 2025-01-13 02:48:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:48:05' and `end` < '2025-01-13 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-13 02:48:11] Production.ERROR: CronJobId end10
[2025-01-13 02:48:11] Production.INFO: ==17239== Releasing lock...
[2025-01-13 02:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:48:13] Production.INFO: call_cost start
[2025-01-13 02:48:13] Production.INFO: call_cost end
[2025-01-13 02:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:48:14] Production.INFO: ==17235== Releasing lock...
[2025-01-13 02:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:48:18] Production.INFO: count ==214
[2025-01-13 02:48:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:48:05 - End Time 2025-01-13 02:48:05
[2025-01-13 02:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235982', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235982', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235982', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235982', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:48:18] Production.INFO: ProcessCDR(1,14235982,1,1,2)
[2025-01-13 02:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235982', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235982', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:48:21] Production.INFO: ==17243== Releasing lock...
[2025-01-13 02:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:48:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:49:02] Production.INFO: ==17313== Lock acquired, processing the job...
[2025-01-13 07:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:49:02] Production.INFO: neon service started
[2025-01-13 07:49:02] Production.INFO: neon service started
[2025-01-13 07:49:02] Production.INFO: ==17313== Releasing lock...
[2025-01-13 07:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:49:02] Production.INFO: ==17315== Lock acquired, processing the job...
[2025-01-13 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:49:02] Production.INFO: ==17317== Lock acquired, processing the job...
[2025-01-13 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:49:02] Production.INFO: ==17317== Releasing lock...
[2025-01-13 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:49:03] Production.INFO: ==17315== Releasing lock...
[2025-01-13 02:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:49:04] Production.INFO: ==17326== Lock acquired, processing the job...
[2025-01-13 02:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:49:04] Production.INFO: ==17328== Lock acquired, processing the job...
[2025-01-13 02:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:49:04] Production.INFO: ==17330== Lock acquired, processing the job...
[2025-01-13 02:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:49:04] Production.INFO: ==17332== Lock acquired, processing the job...
[2025-01-13 02:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:49:04] Production.INFO: ==17334== Lock acquired, processing the job...
[2025-01-13 02:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:49:04] Production.INFO: ==17336== Lock acquired, processing the job...
[2025-01-13 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:49:04] Production.INFO: Account Balance Start.
[2025-01-13 02:49:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:49:04] Production.INFO: 117
[2025-01-13 02:49:04] Production.INFO: ==17328== Releasing lock...
[2025-01-13 02:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:49:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:49:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:49:04] Production.INFO: count ==21
[2025-01-13 02:49:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:49:04] Production.ERROR: done
[2025-01-13 02:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:49:04] Production.INFO: count ==21
[2025-01-13 02:49:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235986') start
[2025-01-13 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:49:04] Production.ERROR: done
[2025-01-13 02:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14235986') end
[2025-01-13 02:49:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:49:05] Production.INFO: 1
[2025-01-13 02:49:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:49:05] Production.INFO: ==17336== Releasing lock...
[2025-01-13 02:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:49:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:49:05] Production.INFO: Date 2025-01-12
[2025-01-13 02:49:05] Production.INFO: Reseller ==> 0
[2025-01-13 02:49:05] Production.INFO: Date 2025-01-13
[2025-01-13 02:49:05] Production.INFO: Reseller ==> 0
[2025-01-13 02:49:05] Production.INFO: Total Charge 0
[2025-01-13 02:49:05] Production.INFO: CreateAllLog End
[2025-01-13 02:49:05] Production.INFO: Account Balance End.
[2025-01-13 02:49:05] Production.ERROR: CronJobId end 12
[2025-01-13 02:49:05] Production.INFO: ==17332== Releasing lock...
[2025-01-13 02:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:49:06
[end_date_ymd] => 2025-01-13 02:49:06
[RateCDR] => 1
)
[2025-01-13 02:49:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:49:06' and `end` < '2025-01-13 02:49:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:49:11] Production.ERROR: CronJobId end10
[2025-01-13 02:49:11] Production.INFO: ==17330== Releasing lock...
[2025-01-13 02:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:49:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:49:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:49:14] Production.INFO: call_cost start
[2025-01-13 02:49:14] Production.INFO: call_cost end
[2025-01-13 02:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:49:15] Production.INFO: ==17326== Releasing lock...
[2025-01-13 02:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:49:19] Production.INFO: count ==212
[2025-01-13 02:49:19] Production.ERROR: pbx CDR StartTime 2025-01-12 23:49:06 - End Time 2025-01-13 02:49:06
[2025-01-13 02:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235987', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235987', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235987', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235987', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:49:19] Production.INFO: ProcessCDR(1,14235987,1,1,2)
[2025-01-13 02:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235987', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235987', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:49:22] Production.INFO: ==17334== Releasing lock...
[2025-01-13 02:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:49:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:50:01] Production.INFO: ==17419== Lock acquired, processing the job...
[2025-01-13 07:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:50:01] Production.INFO: neon service started
[2025-01-13 07:50:01] Production.INFO: neon service started
[2025-01-13 07:50:01] Production.INFO: ==17419== Releasing lock...
[2025-01-13 07:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:50:02] Production.INFO: ==17423== Lock acquired, processing the job...
[2025-01-13 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:50:02] Production.INFO: ==17423== Releasing lock...
[2025-01-13 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:50:02] Production.INFO: ==17421== Lock acquired, processing the job...
[2025-01-13 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:50:02] Production.INFO: ==17421== Releasing lock...
[2025-01-13 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:50:03] Production.INFO: ==17430== Lock acquired, processing the job...
[2025-01-13 02:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:50:03] Production.INFO: ==17428== Lock acquired, processing the job...
[2025-01-13 02:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:50:03] Production.INFO: ==17434== Lock acquired, processing the job...
[2025-01-13 02:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:50:03] Production.INFO: ==17426== Lock acquired, processing the job...
[2025-01-13 02:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 02:50:04] Production.INFO: ==17432== Lock acquired, processing the job...
[2025-01-13 02:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:50:04] Production.INFO: ==17440== Lock acquired, processing the job...
[2025-01-13 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:50:04] Production.INFO: Account Balance Start.
[2025-01-13 02:50:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:50:04] Production.INFO: 117
[2025-01-13 02:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:50:04] Production.ERROR: CronJob PID - 17428
[2025-01-13 02:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 02:50:04] Production.ERROR: CronJob ID - 5
[2025-01-13 02:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:50:00
[2025-01-13 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:50:04] Production.ERROR: CronJob PID - 17430
[2025-01-13 02:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 02:50:04] Production.ERROR: CronJob ID - 7
[2025-01-13 02:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:50:00
[2025-01-13 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 02:50:04] Production.ERROR: CronJob PID - 17434
[2025-01-13 02:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 02:50:04] Production.ERROR: CronJob ID - 12
[2025-01-13 02:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 02:50:00
[2025-01-13 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 02:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:50:04] Production.INFO: ==17430== Releasing lock...
[2025-01-13 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 02:50:04] Production.INFO: ==17426== Releasing lock...
[2025-01-13 02:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 02:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 02:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:50:04] Production.INFO: ==17436== Lock acquired, processing the job...
[2025-01-13 02:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:50:04] Production.INFO: ==17438== Lock acquired, processing the job...
[2025-01-13 02:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:50:04] Production.ERROR: done
[2025-01-13 02:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:50:04] Production.INFO: count ==21
[2025-01-13 02:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:50:04] Production.INFO: count ==21
[2025-01-13 02:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235991') start
[2025-01-13 02:50:04] Production.ERROR: done
[2025-01-13 02:50:04] Production.ERROR: done
[2025-01-13 02:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 02:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235992', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235991') end
[2025-01-13 02:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:50:04] Production.INFO: 1
[2025-01-13 02:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:50:04] Production.INFO: ==17440== Releasing lock...
[2025-01-13 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:50:04] Production.INFO: Total Charge 0
[2025-01-13 02:50:04] Production.INFO: CreateAllLog End
[2025-01-13 02:50:05] Production.INFO: Account Balance End.
[2025-01-13 02:50:05] Production.ERROR: CronJobId end 12
[2025-01-13 02:50:05] Production.INFO: ==17434== Releasing lock...
[2025-01-13 02:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:50:06
[end_date_ymd] => 2025-01-13 02:50:06
[RateCDR] => 1
)
[2025-01-13 02:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:50:06' and `end` < '2025-01-13 02:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14235992', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 02:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 02:50:09] Production.INFO: ProcessCDR(1,14235992,1,1,2)
[2025-01-13 02:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14235992,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14235992,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:50:09] Production.INFO: ==17438== Releasing lock...
[2025-01-13 02:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 02:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 02:50:13] Production.ERROR: CronJobId end10
[2025-01-13 02:50:13] Production.INFO: ==17432== Releasing lock...
[2025-01-13 02:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:50:15] Production.INFO: call_cost start
[2025-01-13 02:50:15] Production.INFO: call_cost end
[2025-01-13 02:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:50:16] Production.INFO: ==17428== Releasing lock...
[2025-01-13 02:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:50:18] Production.INFO: count ==220
[2025-01-13 02:50:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:50:06 - End Time 2025-01-13 02:50:06
[2025-01-13 02:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235993', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235993', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235993', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235993', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:50:18] Production.INFO: ProcessCDR(1,14235993,1,1,2)
[2025-01-13 02:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235993', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235993', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:50:21] Production.INFO: ==17436== Releasing lock...
[2025-01-13 02:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:50:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:51:02] Production.INFO: ==17521== Lock acquired, processing the job...
[2025-01-13 07:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:51:02] Production.INFO: neon service started
[2025-01-13 07:51:02] Production.INFO: neon service started
[2025-01-13 07:51:02] Production.INFO: ==17521== Releasing lock...
[2025-01-13 07:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:51:02] Production.INFO: ==17523== Lock acquired, processing the job...
[2025-01-13 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:51:02] Production.INFO: ==17525== Lock acquired, processing the job...
[2025-01-13 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:51:02] Production.INFO: ==17525== Releasing lock...
[2025-01-13 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:51:03] Production.INFO: ==17523== Releasing lock...
[2025-01-13 02:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:51:03] Production.INFO: ==17528== Lock acquired, processing the job...
[2025-01-13 02:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:51:03] Production.INFO: ==17534== Lock acquired, processing the job...
[2025-01-13 02:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:51:04] Production.INFO: Account Balance Start.
[2025-01-13 02:51:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:51:04] Production.INFO: 117
[2025-01-13 02:51:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:51:04] Production.INFO: ==17532== Lock acquired, processing the job...
[2025-01-13 02:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:51:04] Production.INFO: ==17530== Lock acquired, processing the job...
[2025-01-13 02:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:51:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:51:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:51:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:51:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:51:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:51:04] Production.INFO: ==17536== Lock acquired, processing the job...
[2025-01-13 02:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:51:04] Production.INFO: Total Charge 0
[2025-01-13 02:51:04] Production.INFO: ==17538== Lock acquired, processing the job...
[2025-01-13 02:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:51:04] Production.INFO: CreateAllLog End
[2025-01-13 02:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 02:51:04] Production.INFO: count ==21
[2025-01-13 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-13 02:51:04] Production.INFO: count ==21
[2025-01-13 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235997') start
[2025-01-13 02:51:04] Production.INFO: ==17530== Releasing lock...
[2025-01-13 02:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:51:04] Production.ERROR: done
[2025-01-13 02:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14235997') end
[2025-01-13 02:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:51:04] Production.INFO: 1
[2025-01-13 02:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:51:05] Production.INFO: Account Balance End.
[2025-01-13 02:51:05] Production.ERROR: done
[2025-01-13 02:51:05] Production.ERROR: CronJobId end 12
[2025-01-13 02:51:05] Production.INFO: ==17534== Releasing lock...
[2025-01-13 02:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:51:05] Production.INFO: ==17538== Releasing lock...
[2025-01-13 02:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:51:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:51:06
[end_date_ymd] => 2025-01-13 02:51:06
[RateCDR] => 1
)
[2025-01-13 02:51:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:51:06' and `end` < '2025-01-13 02:51:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:51:11] Production.ERROR: CronJobId end10
[2025-01-13 02:51:11] Production.INFO: ==17532== Releasing lock...
[2025-01-13 02:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:51:13] Production.INFO: call_cost start
[2025-01-13 02:51:13] Production.INFO: call_cost end
[2025-01-13 02:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:51:14] Production.INFO: ==17528== Releasing lock...
[2025-01-13 02:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:51:20] Production.INFO: count ==225
[2025-01-13 02:51:20] Production.ERROR: pbx CDR StartTime 2025-01-12 23:51:06 - End Time 2025-01-13 02:51:06
[2025-01-13 02:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235998', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14235998', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235998', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14235998', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:51:20] Production.INFO: ProcessCDR(1,14235998,1,1,2)
[2025-01-13 02:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14235998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14235998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14235998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14235998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235998', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14235998', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:51:23] Production.INFO: ==17536== Releasing lock...
[2025-01-13 02:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:51:23] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:52:01] Production.INFO: ==17608== Lock acquired, processing the job...
[2025-01-13 07:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:52:01] Production.INFO: neon service started
[2025-01-13 07:52:01] Production.INFO: neon service started
[2025-01-13 07:52:01] Production.INFO: ==17608== Releasing lock...
[2025-01-13 07:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:52:01] Production.INFO: ==17610== Lock acquired, processing the job...
[2025-01-13 02:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:52:02] Production.INFO: ==17610== Releasing lock...
[2025-01-13 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:52:02] Production.INFO: ==17613== Lock acquired, processing the job...
[2025-01-13 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:52:02] Production.INFO: ==17613== Releasing lock...
[2025-01-13 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:52:03] Production.INFO: ==17615== Lock acquired, processing the job...
[2025-01-13 02:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:52:03] Production.INFO: ==17617== Lock acquired, processing the job...
[2025-01-13 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:52:03] Production.INFO: ==17619== Lock acquired, processing the job...
[2025-01-13 02:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:52:03] Production.INFO: ==17617== Releasing lock...
[2025-01-13 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:52:03] Production.INFO: ==17621== Lock acquired, processing the job...
[2025-01-13 02:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:52:03] Production.INFO: ==17623== Lock acquired, processing the job...
[2025-01-13 02:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:52:03] Production.INFO: ==17625== Lock acquired, processing the job...
[2025-01-13 02:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:52:03] Production.INFO: Account Balance Start.
[2025-01-13 02:52:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:52:03] Production.INFO: 117
[2025-01-13 02:52:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:52:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:52:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:52:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:52:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:52:03] Production.INFO: count ==21
[2025-01-13 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-13 02:52:03] Production.INFO: count ==21
[2025-01-13 02:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236002') start
[2025-01-13 02:52:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:52:03] Production.ERROR: done
[2025-01-13 02:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:52:03] Production.INFO: Total Charge 0
[2025-01-13 02:52:03] Production.INFO: CreateAllLog End
[2025-01-13 02:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236002') end
[2025-01-13 02:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:52:03] Production.INFO: 1
[2025-01-13 02:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:52:04] Production.ERROR: done
[2025-01-13 02:52:04] Production.INFO: ==17625== Releasing lock...
[2025-01-13 02:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:52:04] Production.INFO: Account Balance End.
[2025-01-13 02:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:52:04] Production.INFO: ==17621== Releasing lock...
[2025-01-13 02:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:52:04
[end_date_ymd] => 2025-01-13 02:52:04
[RateCDR] => 1
)
[2025-01-13 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-12 23:52:04' and `end` < '2025-01-13 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-13 02:52:11] Production.ERROR: CronJobId end10
[2025-01-13 02:52:11] Production.INFO: ==17619== Releasing lock...
[2025-01-13 02:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:52:13] Production.INFO: call_cost start
[2025-01-13 02:52:13] Production.INFO: call_cost end
[2025-01-13 02:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:52:14] Production.INFO: ==17615== Releasing lock...
[2025-01-13 02:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:52:18] Production.INFO: count ==225
[2025-01-13 02:52:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:52:04 - End Time 2025-01-13 02:52:04
[2025-01-13 02:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236003', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236003', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236003', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236003', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:52:18] Production.INFO: ProcessCDR(1,14236003,1,1,2)
[2025-01-13 02:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236003', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236003', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:52:21] Production.INFO: ==17623== Releasing lock...
[2025-01-13 02:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:52:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:53:01] Production.INFO: ==17690== Lock acquired, processing the job...
[2025-01-13 07:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:53:01] Production.INFO: neon service started
[2025-01-13 07:53:01] Production.INFO: neon service started
[2025-01-13 07:53:01] Production.INFO: ==17690== Releasing lock...
[2025-01-13 07:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:53:02] Production.INFO: ==17692== Lock acquired, processing the job...
[2025-01-13 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:53:02] Production.INFO: ==17692== Releasing lock...
[2025-01-13 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:53:02] Production.INFO: ==17694== Lock acquired, processing the job...
[2025-01-13 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:53:02] Production.INFO: ==17694== Releasing lock...
[2025-01-13 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:53:03] Production.INFO: ==17697== Lock acquired, processing the job...
[2025-01-13 02:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:53:03] Production.INFO: ==17699== Lock acquired, processing the job...
[2025-01-13 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:53:03] Production.INFO: ==17701== Lock acquired, processing the job...
[2025-01-13 02:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:53:03] Production.INFO: ==17699== Releasing lock...
[2025-01-13 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:53:03] Production.INFO: ==17707== Lock acquired, processing the job...
[2025-01-13 02:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:53:03] Production.INFO: ==17703== Lock acquired, processing the job...
[2025-01-13 02:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:53:03] Production.INFO: Account Balance Start.
[2025-01-13 02:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:53:03] Production.INFO: 117
[2025-01-13 02:53:03] Production.INFO: ==17705== Lock acquired, processing the job...
[2025-01-13 02:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:53:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:53:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:53:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:53:04] Production.INFO: count ==21
[2025-01-13 02:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:53:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:53:04] Production.INFO: count ==21
[2025-01-13 02:53:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236007') start
[2025-01-13 02:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:53:04] Production.INFO: Total Charge 0
[2025-01-13 02:53:04] Production.INFO: CreateAllLog End
[2025-01-13 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236007') end
[2025-01-13 02:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:53:04] Production.INFO: 1
[2025-01-13 02:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:53:04] Production.ERROR: done
[2025-01-13 02:53:04] Production.INFO: ==17707== Releasing lock...
[2025-01-13 02:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:53:04] Production.INFO: Account Balance End.
[2025-01-13 02:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:53:04] Production.INFO: ==17703== Releasing lock...
[2025-01-13 02:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:53:04] Production.ERROR: done
[2025-01-13 02:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:53:05
[end_date_ymd] => 2025-01-13 02:53:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:53:05' and `end` < '2025-01-13 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-13 02:53:11] Production.ERROR: CronJobId end10
[2025-01-13 02:53:11] Production.INFO: ==17701== Releasing lock...
[2025-01-13 02:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:53:13] Production.INFO: call_cost start
[2025-01-13 02:53:13] Production.INFO: call_cost end
[2025-01-13 02:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:53:14] Production.INFO: ==17697== Releasing lock...
[2025-01-13 02:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:53:18] Production.INFO: count ==225
[2025-01-13 02:53:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:53:05 - End Time 2025-01-13 02:53:05
[2025-01-13 02:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236008', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236008', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236008', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236008', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:53:18] Production.INFO: ProcessCDR(1,14236008,1,1,2)
[2025-01-13 02:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236008', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236008', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:53:22] Production.INFO: ==17705== Releasing lock...
[2025-01-13 02:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:53:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:54:01] Production.INFO: ==17767== Lock acquired, processing the job...
[2025-01-13 07:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:54:01] Production.INFO: neon service started
[2025-01-13 07:54:01] Production.INFO: neon service started
[2025-01-13 07:54:01] Production.INFO: ==17767== Releasing lock...
[2025-01-13 07:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:54:01] Production.INFO: ==17769== Lock acquired, processing the job...
[2025-01-13 02:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:54:02] Production.INFO: ==17769== Releasing lock...
[2025-01-13 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:54:02] Production.INFO: ==17771== Lock acquired, processing the job...
[2025-01-13 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:54:02] Production.INFO: ==17771== Releasing lock...
[2025-01-13 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:54:02] Production.INFO: ==17773== Lock acquired, processing the job...
[2025-01-13 02:54:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:54:02] Production.INFO: ==17775== Lock acquired, processing the job...
[2025-01-13 02:54:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:54:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:54:02] Production.INFO: ==17779== Lock acquired, processing the job...
[2025-01-13 02:54:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:54:03] Production.INFO: ==17775== Releasing lock...
[2025-01-13 02:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:54:03] Production.INFO: Account Balance Start.
[2025-01-13 02:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:54:03] Production.INFO: 117
[2025-01-13 02:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:54:03] Production.INFO: ==17777== Lock acquired, processing the job...
[2025-01-13 02:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:54:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:54:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:54:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:54:03] Production.INFO: ==17781== Lock acquired, processing the job...
[2025-01-13 02:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:54:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:54:03] Production.INFO: ==17783== Lock acquired, processing the job...
[2025-01-13 02:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:54:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:54:03] Production.INFO: Total Charge 0
[2025-01-13 02:54:03] Production.INFO: CreateAllLog End
[2025-01-13 02:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:54:03] Production.INFO: count ==21
[2025-01-13 02:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:54:03] Production.INFO: count ==21
[2025-01-13 02:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236012') start
[2025-01-13 02:54:03] Production.INFO: Account Balance End.
[2025-01-13 02:54:03] Production.ERROR: done
[2025-01-13 02:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:54:03] Production.ERROR: CronJobId end 12
[2025-01-13 02:54:03] Production.INFO: ==17779== Releasing lock...
[2025-01-13 02:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236012') end
[2025-01-13 02:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:54:03] Production.INFO: 1
[2025-01-13 02:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:54:03] Production.INFO: ==17783== Releasing lock...
[2025-01-13 02:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:54:03] Production.ERROR: done
[2025-01-13 02:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:54:04
[end_date_ymd] => 2025-01-13 02:54:04
[RateCDR] => 1
)
[2025-01-13 02:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:54:04' and `end` < '2025-01-13 02: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-13 02:54:10] Production.ERROR: CronJobId end10
[2025-01-13 02:54:10] Production.INFO: ==17777== Releasing lock...
[2025-01-13 02:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:54:12] Production.INFO: call_cost start
[2025-01-13 02:54:12] Production.INFO: call_cost end
[2025-01-13 02:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:54:13] Production.INFO: ==17773== Releasing lock...
[2025-01-13 02:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:54:17] Production.INFO: count ==225
[2025-01-13 02:54:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:54:04 - End Time 2025-01-13 02:54:04
[2025-01-13 02:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236013', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236013', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236013', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236013', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:54:17] Production.INFO: ProcessCDR(1,14236013,1,1,2)
[2025-01-13 02:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236013', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236013', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:54:20] Production.INFO: ==17781== Releasing lock...
[2025-01-13 02:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:54:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:55:01] Production.INFO: ==17849== Lock acquired, processing the job...
[2025-01-13 07:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:55:01] Production.INFO: neon service started
[2025-01-13 07:55:01] Production.INFO: neon service started
[2025-01-13 07:55:01] Production.INFO: ==17849== Releasing lock...
[2025-01-13 07:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:55:02] Production.INFO: ==17851== Lock acquired, processing the job...
[2025-01-13 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:55:02] Production.INFO: ==17853== Lock acquired, processing the job...
[2025-01-13 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 02:55:02] Production.INFO: ==17851== Releasing lock...
[2025-01-13 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:55:02] Production.INFO: ==17853== Releasing lock...
[2025-01-13 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:55:03] Production.INFO: ==17859== Lock acquired, processing the job...
[2025-01-13 02:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:55:03] Production.INFO: ==17866== Lock acquired, processing the job...
[2025-01-13 02:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:55:03] Production.INFO: ==17855== Lock acquired, processing the job...
[2025-01-13 02:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:55:03] Production.INFO: ==17857== Lock acquired, processing the job...
[2025-01-13 02:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 02:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:55:03] Production.INFO: count ==21
[2025-01-13 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-13 02:55:03] Production.INFO: count ==21
[2025-01-13 02:55:03] Production.INFO: ==17861== Lock acquired, processing the job...
[2025-01-13 02:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:55:03] Production.INFO: ==17864== Lock acquired, processing the job...
[2025-01-13 02:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236014') start
[2025-01-13 02:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:55:03] Production.INFO: Account Balance Start.
[2025-01-13 02:55:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:55:03] Production.INFO: 117
[2025-01-13 02:55:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:55:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:55:04] Production.INFO: ==17857== Releasing lock...
[2025-01-13 02:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236014') end
[2025-01-13 02:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:55:04] Production.INFO: 1
[2025-01-13 02:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:55:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:55:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:55:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:55:04] Production.INFO: ==17866== Releasing lock...
[2025-01-13 02:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:55:04] Production.ERROR: done
[2025-01-13 02:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:55:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:55:04] Production.INFO: Total Charge 0
[2025-01-13 02:55:04] Production.INFO: CreateAllLog End
[2025-01-13 02:55:04] Production.ERROR: done
[2025-01-13 02:55:04] Production.INFO: Account Balance End.
[2025-01-13 02:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:55:04] Production.INFO: ==17861== Releasing lock...
[2025-01-13 02:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:55:05
[end_date_ymd] => 2025-01-13 02:55:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:55:05' and `end` < '2025-01-13 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-13 02:55:10] Production.ERROR: CronJobId end10
[2025-01-13 02:55:10] Production.INFO: ==17859== Releasing lock...
[2025-01-13 02:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:55:13] Production.INFO: call_cost start
[2025-01-13 02:55:13] Production.INFO: call_cost end
[2025-01-13 02:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:55:14] Production.INFO: ==17855== Releasing lock...
[2025-01-13 02:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:55:18] Production.INFO: count ==225
[2025-01-13 02:55:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:55:05 - End Time 2025-01-13 02:55:05
[2025-01-13 02:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236018', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236018', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236018', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236018', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:55:18] Production.INFO: ProcessCDR(1,14236018,1,1,2)
[2025-01-13 02:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236018', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236018', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:55:21] Production.INFO: ==17864== Releasing lock...
[2025-01-13 02:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:55:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:56:02] Production.INFO: ==17925== Lock acquired, processing the job...
[2025-01-13 07:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:56:02] Production.INFO: neon service started
[2025-01-13 07:56:02] Production.INFO: neon service started
[2025-01-13 07:56:02] Production.INFO: ==17925== Releasing lock...
[2025-01-13 07:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:56:02] Production.INFO: ==17930== Lock acquired, processing the job...
[2025-01-13 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:56:02] Production.INFO: ==17930== Releasing lock...
[2025-01-13 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:56:02] Production.INFO: ==17928== Lock acquired, processing the job...
[2025-01-13 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:56:03] Production.INFO: ==17928== Releasing lock...
[2025-01-13 02:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:56:03] Production.INFO: ==17936== Lock acquired, processing the job...
[2025-01-13 02:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:56:04] Production.INFO: ==17938== Lock acquired, processing the job...
[2025-01-13 02:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:56:04] Production.INFO: ==17934== Lock acquired, processing the job...
[2025-01-13 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:56:04] Production.INFO: ==17932== Lock acquired, processing the job...
[2025-01-13 02:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:56:04] Production.INFO: Account Balance Start.
[2025-01-13 02:56:04] Production.INFO: CreateAllLog Start
[2025-01-13 02:56:04] Production.INFO: 117
[2025-01-13 02:56:04] Production.INFO: Date 2025-01-08
[2025-01-13 02:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:56:04] Production.INFO: ==17940== Lock acquired, processing the job...
[2025-01-13 02:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:56:04] Production.INFO: ==17942== Lock acquired, processing the job...
[2025-01-13 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 02:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:56:04] Production.INFO: count ==21
[2025-01-13 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-13 02:56:04] Production.INFO: count ==21
[2025-01-13 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236022') start
[2025-01-13 02:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 02:56:04] Production.INFO: Total Charge 0
[2025-01-13 02:56:04] Production.INFO: CreateAllLog End
[2025-01-13 02:56:04] Production.INFO: ==17934== Releasing lock...
[2025-01-13 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236022') end
[2025-01-13 02:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:56:04] Production.INFO: 1
[2025-01-13 02:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:56:04] Production.ERROR: done
[2025-01-13 02:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:56:04] Production.INFO: ==17942== Releasing lock...
[2025-01-13 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:56:05] Production.ERROR: done
[2025-01-13 02:56:05] Production.INFO: Account Balance End.
[2025-01-13 02:56:05] Production.ERROR: CronJobId end 12
[2025-01-13 02:56:05] Production.INFO: ==17938== Releasing lock...
[2025-01-13 02:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:56:06
[end_date_ymd] => 2025-01-13 02:56:06
[RateCDR] => 1
)
[2025-01-13 02:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 23:56:06' and `end` < '2025-01-13 02:56:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 02:56:12] Production.ERROR: CronJobId end10
[2025-01-13 02:56:12] Production.INFO: ==17936== Releasing lock...
[2025-01-13 02:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:56:13] Production.INFO: call_cost start
[2025-01-13 02:56:13] Production.INFO: call_cost end
[2025-01-13 02:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:56:14] Production.INFO: ==17932== Releasing lock...
[2025-01-13 02:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:56:18] Production.INFO: count ==225
[2025-01-13 02:56:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:56:06 - End Time 2025-01-13 02:56:06
[2025-01-13 02:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236023', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236023', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236023', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236023', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:56:18] Production.INFO: ProcessCDR(1,14236023,1,1,2)
[2025-01-13 02:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236023', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236023', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:56:22] Production.INFO: ==17940== Releasing lock...
[2025-01-13 02:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:56:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:57:01] Production.INFO: ==18005== Lock acquired, processing the job...
[2025-01-13 07:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:57:01] Production.INFO: neon service started
[2025-01-13 07:57:01] Production.INFO: neon service started
[2025-01-13 07:57:01] Production.INFO: ==18005== Releasing lock...
[2025-01-13 07:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:57:02] Production.INFO: ==18007== Lock acquired, processing the job...
[2025-01-13 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:57:02] Production.INFO: ==18007== Releasing lock...
[2025-01-13 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:57:02] Production.INFO: ==18009== Lock acquired, processing the job...
[2025-01-13 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:57:02] Production.INFO: ==18009== Releasing lock...
[2025-01-13 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:57:03] Production.INFO: ==18021== Lock acquired, processing the job...
[2025-01-13 02:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:57:03] Production.INFO: ==18019== Lock acquired, processing the job...
[2025-01-13 02:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:57:03] Production.INFO: ==18011== Lock acquired, processing the job...
[2025-01-13 02:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:57:03] Production.INFO: count ==21
[2025-01-13 02:57:03] Production.INFO: ==18013== Lock acquired, processing the job...
[2025-01-13 02:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:57:03] Production.INFO: count ==21
[2025-01-13 02:57:03] Production.INFO: ==18017== Lock acquired, processing the job...
[2025-01-13 02:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236024') start
[2025-01-13 02:57:03] Production.INFO: ==18015== Lock acquired, processing the job...
[2025-01-13 02:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:57:03] Production.INFO: Account Balance Start.
[2025-01-13 02:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:57:03] Production.INFO: 117
[2025-01-13 02:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236024') end
[2025-01-13 02:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:57:03] Production.INFO: 1
[2025-01-13 02:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:57:03] Production.INFO: ==18021== Releasing lock...
[2025-01-13 02:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:57:03] Production.ERROR: done
[2025-01-13 02:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:57:03] Production.INFO: ==18013== Releasing lock...
[2025-01-13 02:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:57:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:57:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:57:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:57:03] Production.ERROR: done
[2025-01-13 02:57:03] Production.INFO: Total Charge 0
[2025-01-13 02:57:03] Production.INFO: CreateAllLog End
[2025-01-13 02:57:04] Production.INFO: Account Balance End.
[2025-01-13 02:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:57:04] Production.INFO: ==18017== Releasing lock...
[2025-01-13 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:57:05
[end_date_ymd] => 2025-01-13 02:57:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:57:05' and `end` < '2025-01-13 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-13 02:57:10] Production.ERROR: CronJobId end10
[2025-01-13 02:57:10] Production.INFO: ==18015== Releasing lock...
[2025-01-13 02:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:57:13] Production.INFO: call_cost start
[2025-01-13 02:57:13] Production.INFO: call_cost end
[2025-01-13 02:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:57:14] Production.INFO: ==18011== Releasing lock...
[2025-01-13 02:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:57:17] Production.INFO: count ==223
[2025-01-13 02:57:17] Production.ERROR: pbx CDR StartTime 2025-01-12 23:57:05 - End Time 2025-01-13 02:57:05
[2025-01-13 02:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236028', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236028', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236028', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236028', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:57:17] Production.INFO: ProcessCDR(1,14236028,1,1,2)
[2025-01-13 02:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236028', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236028', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:57:20] Production.INFO: ==18019== Releasing lock...
[2025-01-13 02:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:57:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:58:02] Production.INFO: ==18084== Lock acquired, processing the job...
[2025-01-13 07:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:58:02] Production.INFO: neon service started
[2025-01-13 07:58:02] Production.INFO: neon service started
[2025-01-13 07:58:02] Production.INFO: ==18084== Releasing lock...
[2025-01-13 07:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:58:02] Production.INFO: ==18086== Lock acquired, processing the job...
[2025-01-13 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 02:58:02] Production.INFO: ==18086== Releasing lock...
[2025-01-13 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:58:02] Production.INFO: ==18088== Lock acquired, processing the job...
[2025-01-13 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:58:03] Production.INFO: ==18088== Releasing lock...
[2025-01-13 07:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:58:03] Production.INFO: ==18096== Lock acquired, processing the job...
[2025-01-13 02:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:58:03] Production.INFO: ==18100== Lock acquired, processing the job...
[2025-01-13 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:58:03] Production.INFO: Account Balance Start.
[2025-01-13 02:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:58:03] Production.INFO: 117
[2025-01-13 02:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:58:03] Production.INFO: count ==21
[2025-01-13 02:58:03] Production.INFO: ==18090== Lock acquired, processing the job...
[2025-01-13 02:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 02:58:03] Production.INFO: count ==21
[2025-01-13 02:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236030') start
[2025-01-13 02:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:58:03] Production.INFO: ==18092== Lock acquired, processing the job...
[2025-01-13 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:58:03] Production.INFO: ==18094== Lock acquired, processing the job...
[2025-01-13 02:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:58:03] Production.INFO: Date 2025-01-13
[2025-01-13 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236030') end
[2025-01-13 02:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:58:03] Production.INFO: 1
[2025-01-13 02:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:58:03] Production.INFO: ==18100== Releasing lock...
[2025-01-13 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:58:04] Production.INFO: Total Charge 0
[2025-01-13 02:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:58:04] Production.INFO: CreateAllLog End
[2025-01-13 02:58:04] Production.INFO: ==18098== Lock acquired, processing the job...
[2025-01-13 02:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:58:04] Production.INFO: Account Balance End.
[2025-01-13 02:58:04] Production.INFO: ==18092== Releasing lock...
[2025-01-13 02:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:58:04] Production.INFO: ==18096== Releasing lock...
[2025-01-13 02:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:58:04] Production.ERROR: done
[2025-01-13 02:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 02:58:04] Production.ERROR: done
[2025-01-13 02:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:58:05
[end_date_ymd] => 2025-01-13 02:58:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:58:05' and `end` < '2025-01-13 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-13 02:58:12] Production.ERROR: CronJobId end10
[2025-01-13 02:58:12] Production.INFO: ==18094== Releasing lock...
[2025-01-13 02:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:58:14] Production.INFO: call_cost start
[2025-01-13 02:58:14] Production.INFO: call_cost end
[2025-01-13 02:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:58:15] Production.INFO: ==18090== Releasing lock...
[2025-01-13 02:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:58:18] Production.INFO: count ==223
[2025-01-13 02:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 23:58:05 - End Time 2025-01-13 02:58:05
[2025-01-13 02:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236033', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236033', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236033', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236033', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:58:18] Production.INFO: ProcessCDR(1,14236033,1,1,2)
[2025-01-13 02:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236033', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236033', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:58:22] Production.INFO: ==18098== Releasing lock...
[2025-01-13 02:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:58:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 07:59:01] Production.INFO: ==18159== Lock acquired, processing the job...
[2025-01-13 07:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 07:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 07:59:01] Production.INFO: neon service started
[2025-01-13 07:59:01] Production.INFO: neon service started
[2025-01-13 07:59:01] Production.INFO: ==18159== Releasing lock...
[2025-01-13 07:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 07:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 02:59:02] Production.INFO: ==18161== Lock acquired, processing the job...
[2025-01-13 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:59:02] Production.INFO: ==18163== Lock acquired, processing the job...
[2025-01-13 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:59:02] Production.INFO: ==18163== Releasing lock...
[2025-01-13 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 07:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 02:59:02] Production.INFO: ==18161== Releasing lock...
[2025-01-13 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 02:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 02:59:03] Production.INFO: ==18168== Lock acquired, processing the job...
[2025-01-13 02:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 02:59:03] Production.INFO: ==18176== Lock acquired, processing the job...
[2025-01-13 02:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 02:59:03] Production.INFO: ==18174== Lock acquired, processing the job...
[2025-01-13 02:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 02:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 02:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 02:59:03] Production.INFO: Account Balance Start.
[2025-01-13 02:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 02:59:03] Production.INFO: 117
[2025-01-13 02:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 02:59:03] Production.INFO: ==18170== Lock acquired, processing the job...
[2025-01-13 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:59:03] Production.INFO: ==18172== Lock acquired, processing the job...
[2025-01-13 02:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 02:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:59:03] Production.INFO: ==18178== Lock acquired, processing the job...
[2025-01-13 02:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 02:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:59:03] Production.ERROR: done
[2025-01-13 02:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 02:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 02:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 02:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 02:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 02:59:03] Production.INFO: Date 2025-01-12
[2025-01-13 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:59:03] Production.INFO: count ==21
[2025-01-13 02:59:03] Production.INFO: Date 2025-01-13
[2025-01-13 02: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-13 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 02:59:03] Production.INFO: count ==21
[2025-01-13 02:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236036') start
[2025-01-13 02:59:03] Production.ERROR: done
[2025-01-13 02:59:03] Production.INFO: Total Charge 0
[2025-01-13 02:59:03] Production.INFO: CreateAllLog End
[2025-01-13 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236036') end
[2025-01-13 02:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 02:59:04] Production.INFO: 1
[2025-01-13 02:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 02:59:04] Production.INFO: Account Balance End.
[2025-01-13 02:59:04] Production.INFO: ==18170== Releasing lock...
[2025-01-13 02:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 02:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 02:59:04] Production.INFO: ==18178== Releasing lock...
[2025-01-13 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 02:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 02:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 02:59:04] Production.INFO: ==18174== Releasing lock...
[2025-01-13 02:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 02:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 02:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 23:59:05
[end_date_ymd] => 2025-01-13 02:59:05
[RateCDR] => 1
)
[2025-01-13 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-12 23:59:05' and `end` < '2025-01-13 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-13 02:59:10] Production.ERROR: CronJobId end10
[2025-01-13 02:59:10] Production.INFO: ==18172== Releasing lock...
[2025-01-13 02:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 02:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 02:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 02:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 02:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 02:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 02:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 02:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 02:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 02:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 02:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 02:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 02:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 02:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 02:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 02:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 02:59:12] Production.INFO: call_cost start
[2025-01-13 02:59:12] Production.INFO: call_cost end
[2025-01-13 02:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 02:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 02:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 02:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 02:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 02:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 02:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 02:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 02:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 02:59:13] Production.INFO: ==18168== Releasing lock...
[2025-01-13 02:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 02:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 02:59:19] Production.INFO: count ==222
[2025-01-13 02:59:19] Production.ERROR: pbx CDR StartTime 2025-01-12 23:59:05 - End Time 2025-01-13 02:59:05
[2025-01-13 02:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 02:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236038', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236038', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236038', 'tblTempVendorCDR_20' ) start
[2025-01-13 02:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236038', 'tblTempVendorCDR_20' ) end
[2025-01-13 02:59:19] Production.INFO: ProcessCDR(1,14236038,1,1,2)
[2025-01-13 02:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 02:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 02:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236038', 'tblTempUsageDetail_20' ) start
[2025-01-13 02:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236038', 'tblTempUsageDetail_20' ) end
[2025-01-13 02:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 02:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 02:59:22] Production.INFO: ==18176== Releasing lock...
[2025-01-13 02:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 02:59:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:00:02] Production.INFO: ==18235== Lock acquired, processing the job...
[2025-01-13 08:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:00:02] Production.INFO: neon service started
[2025-01-13 08:00:02] Production.INFO: neon service started
[2025-01-13 08:00:02] Production.INFO: ==18235== Releasing lock...
[2025-01-13 08:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:00:02] Production.INFO: ==18237== Lock acquired, processing the job...
[2025-01-13 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:00:02] Production.INFO: ==18239== Lock acquired, processing the job...
[2025-01-13 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:00:02] Production.INFO: ==18239== Releasing lock...
[2025-01-13 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:00:02] Production.INFO: ==18237== Releasing lock...
[2025-01-13 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:00:03] Production.INFO: ==18241== Lock acquired, processing the job...
[2025-01-13 03:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 03:00:03] Production.INFO: ==18243== Lock acquired, processing the job...
[2025-01-13 03:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 03:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:00:03] Production.ERROR: CronJob PID - 18243
[2025-01-13 03:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 03:00:03] Production.ERROR: CronJob ID - 5
[2025-01-13 03:00:03] Production.ERROR: CronJob Last Run Time 2025-01-13 03:00:00
[2025-01-13 03:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:00:03] Production.INFO: ==18245== Lock acquired, processing the job...
[2025-01-13 03:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 03:00:03] Production.INFO: ==18241== Releasing lock...
[2025-01-13 03:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 03:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 03:00:03] Production.INFO: ==18249== Lock acquired, processing the job...
[2025-01-13 03:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:00:03] Production.INFO: Account Balance Start.
[2025-01-13 03:00:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:00:03] Production.INFO: 117
[2025-01-13 03:00:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:00:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:00:04] Production.INFO: ==18247== Lock acquired, processing the job...
[2025-01-13 03:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:00:04] Production.INFO: ==18251== Lock acquired, processing the job...
[2025-01-13 03:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:00:04] Production.INFO: ==18254== Lock acquired, processing the job...
[2025-01-13 03:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:00:04] Production.INFO: ==18245== Releasing lock...
[2025-01-13 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:00:04] Production.INFO: ==18256== Lock acquired, processing the job...
[2025-01-13 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:00:04] Production.INFO: Total Charge 0
[2025-01-13 03:00:04] Production.INFO: CreateAllLog End
[2025-01-13 03:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:00:04] Production.INFO: count ==21
[2025-01-13 03:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:00:04] Production.INFO: count ==21
[2025-01-13 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236042') start
[2025-01-13 03:00:04] Production.ERROR: done
[2025-01-13 03:00:04] Production.ERROR: done
[2025-01-13 03:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:00:04] Production.INFO: Account Balance End.
[2025-01-13 03:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 03:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236043', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 03:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 03:00:05] Production.INFO: ==18249== Releasing lock...
[2025-01-13 03:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:00:05] Production.ERROR: done
[2025-01-13 03:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236042') end
[2025-01-13 03:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:00:05] Production.INFO: 1
[2025-01-13 03:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:00:05] Production.INFO: ==18256== Releasing lock...
[2025-01-13 03:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:00:06
[end_date_ymd] => 2025-01-13 03:00:06
[RateCDR] => 1
)
[2025-01-13 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-13 00:00:06' and `end` < '2025-01-13 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-13 03:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236043', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 03:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 03:00:09] Production.INFO: ProcessCDR(1,14236043,1,1,2)
[2025-01-13 03:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236043,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236043,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:00:09] Production.INFO: ==18254== Releasing lock...
[2025-01-13 03:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 03:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 03:00:13] Production.ERROR: CronJobId end10
[2025-01-13 03:00:13] Production.INFO: ==18247== Releasing lock...
[2025-01-13 03:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:00:14] Production.INFO: call_cost start
[2025-01-13 03:00:14] Production.INFO: call_cost end
[2025-01-13 03:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:00:15] Production.INFO: ==18243== Releasing lock...
[2025-01-13 03:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:00:19] Production.INFO: count ==226
[2025-01-13 03:00:19] Production.ERROR: pbx CDR StartTime 2025-01-13 00:00:06 - End Time 2025-01-13 03:00:06
[2025-01-13 03:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236044', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236044', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236044', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236044', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:00:19] Production.INFO: ProcessCDR(1,14236044,1,1,2)
[2025-01-13 03:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236044', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236044', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:00:22] Production.INFO: ==18251== Releasing lock...
[2025-01-13 03:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:00:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:01:01] Production.INFO: ==18315== Lock acquired, processing the job...
[2025-01-13 08:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:01:01] Production.INFO: neon service started
[2025-01-13 08:01:01] Production.INFO: neon service started
[2025-01-13 08:01:01] Production.INFO: ==18315== Releasing lock...
[2025-01-13 08:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:01:01] Production.INFO: ==18329== Lock acquired, processing the job...
[2025-01-13 03:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:01:02] Production.INFO: ==18329== Releasing lock...
[2025-01-13 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:01:02] Production.INFO: ==18331== Lock acquired, processing the job...
[2025-01-13 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:01:02] Production.INFO: ==18331== Releasing lock...
[2025-01-13 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:01:02] Production.INFO: ==18334== Lock acquired, processing the job...
[2025-01-13 03:01:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:01:02] Production.INFO: ==18336== Lock acquired, processing the job...
[2025-01-13 03:01:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:01:03] Production.INFO: ==18338== Lock acquired, processing the job...
[2025-01-13 03:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:01:03] Production.INFO: ==18336== Releasing lock...
[2025-01-13 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:01:03] Production.INFO: ==18340== Lock acquired, processing the job...
[2025-01-13 03:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:01:03] Production.INFO: ==18344== Lock acquired, processing the job...
[2025-01-13 03:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:01:03] Production.INFO: ==18342== Lock acquired, processing the job...
[2025-01-13 03:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:01:03] Production.INFO: Account Balance Start.
[2025-01-13 03:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:01:03] Production.INFO: 117
[2025-01-13 03:01:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:01:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:01:03] Production.INFO: count ==21
[2025-01-13 03:01:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:01:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:01:03] Production.INFO: count ==21
[2025-01-13 03:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236048') start
[2025-01-13 03:01:03] Production.ERROR: done
[2025-01-13 03:01:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:01:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:01:03] Production.INFO: Total Charge 0
[2025-01-13 03:01:03] Production.INFO: CreateAllLog End
[2025-01-13 03:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236048') end
[2025-01-13 03:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:01:03] Production.INFO: 1
[2025-01-13 03:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:01:04] Production.ERROR: done
[2025-01-13 03:01:04] Production.INFO: ==18344== Releasing lock...
[2025-01-13 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:01:04] Production.INFO: Account Balance End.
[2025-01-13 03:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:01:04] Production.INFO: ==18340== Releasing lock...
[2025-01-13 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:01:04
[end_date_ymd] => 2025-01-13 03:01:04
[RateCDR] => 1
)
[2025-01-13 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-13 00:01:04' and `end` < '2025-01-13 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-13 03:01:11] Production.ERROR: CronJobId end10
[2025-01-13 03:01:11] Production.INFO: ==18338== Releasing lock...
[2025-01-13 03:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:01:13] Production.INFO: call_cost start
[2025-01-13 03:01:13] Production.INFO: call_cost end
[2025-01-13 03:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:01:14] Production.INFO: ==18334== Releasing lock...
[2025-01-13 03:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:01:18] Production.INFO: count ==226
[2025-01-13 03:01:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:01:04 - End Time 2025-01-13 03:01:04
[2025-01-13 03:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236049', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236049', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236049', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236049', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:01:18] Production.INFO: ProcessCDR(1,14236049,1,1,2)
[2025-01-13 03:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236049', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236049', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:01:22] Production.INFO: ==18342== Releasing lock...
[2025-01-13 03:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:01:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:02:01] Production.INFO: ==18519== Lock acquired, processing the job...
[2025-01-13 08:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:02:01] Production.INFO: neon service started
[2025-01-13 08:02:01] Production.INFO: neon service started
[2025-01-13 08:02:01] Production.INFO: ==18519== Releasing lock...
[2025-01-13 08:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:02:02] Production.INFO: ==18521== Lock acquired, processing the job...
[2025-01-13 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:02:02] Production.INFO: ==18523== Lock acquired, processing the job...
[2025-01-13 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:02:02] Production.INFO: ==18523== Releasing lock...
[2025-01-13 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:02:02] Production.INFO: ==18521== Releasing lock...
[2025-01-13 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:02:03] Production.INFO: ==18530== Lock acquired, processing the job...
[2025-01-13 03:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:02:03] Production.INFO: ==18532== Lock acquired, processing the job...
[2025-01-13 03:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:02:03] Production.INFO: ==18526== Lock acquired, processing the job...
[2025-01-13 03:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:02:03] Production.INFO: Account Balance Start.
[2025-01-13 03:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:02:03] Production.INFO: 117
[2025-01-13 03:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:02:03] Production.INFO: ==18528== Lock acquired, processing the job...
[2025-01-13 03:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:02:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:02:04] Production.INFO: ==18536== Lock acquired, processing the job...
[2025-01-13 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:02:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:02:04] Production.INFO: ==18534== Lock acquired, processing the job...
[2025-01-13 03:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 03:02:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:02:04] Production.INFO: count ==21
[2025-01-13 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-13 03:02:04] Production.INFO: count ==21
[2025-01-13 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236053') start
[2025-01-13 03:02:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236053') end
[2025-01-13 03:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:02:04] Production.INFO: 1
[2025-01-13 03:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:02:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:02:04] Production.INFO: Total Charge 0
[2025-01-13 03:02:04] Production.INFO: CreateAllLog End
[2025-01-13 03:02:04] Production.INFO: ==18536== Releasing lock...
[2025-01-13 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:02:04] Production.INFO: ==18528== Releasing lock...
[2025-01-13 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:02:04] Production.ERROR: done
[2025-01-13 03:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:02:04] Production.INFO: Account Balance End.
[2025-01-13 03:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:02:04] Production.INFO: ==18532== Releasing lock...
[2025-01-13 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:02:04] Production.ERROR: done
[2025-01-13 03:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:02:05
[end_date_ymd] => 2025-01-13 03:02:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:02:05' and `end` < '2025-01-13 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-13 03:02:11] Production.ERROR: CronJobId end10
[2025-01-13 03:02:11] Production.INFO: ==18530== Releasing lock...
[2025-01-13 03:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:02:14] Production.INFO: call_cost start
[2025-01-13 03:02:14] Production.INFO: call_cost end
[2025-01-13 03:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:02:15] Production.INFO: ==18526== Releasing lock...
[2025-01-13 03:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:02:18] Production.INFO: count ==226
[2025-01-13 03:02:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:02:05 - End Time 2025-01-13 03:02:05
[2025-01-13 03:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236054', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236054', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236054', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236054', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:02:18] Production.INFO: ProcessCDR(1,14236054,1,1,2)
[2025-01-13 03:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236054', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236054', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:02:21] Production.INFO: ==18534== Releasing lock...
[2025-01-13 03:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:02:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:03:01] Production.INFO: ==18594== Lock acquired, processing the job...
[2025-01-13 08:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:03:01] Production.INFO: neon service started
[2025-01-13 08:03:01] Production.INFO: neon service started
[2025-01-13 08:03:01] Production.INFO: ==18594== Releasing lock...
[2025-01-13 08:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:03:01] Production.INFO: ==18596== Lock acquired, processing the job...
[2025-01-13 03:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:03:01] Production.INFO: ==18596== Releasing lock...
[2025-01-13 03:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:03:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:03:02] Production.INFO: ==18598== Lock acquired, processing the job...
[2025-01-13 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:03:02] Production.INFO: ==18598== Releasing lock...
[2025-01-13 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:03:02] Production.INFO: ==18604== Lock acquired, processing the job...
[2025-01-13 03:03:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:03:02] Production.INFO: ==18606== Lock acquired, processing the job...
[2025-01-13 03:03:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:03:02] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:03:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:03:02] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:03:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:03:02] Production.INFO: ==18608== Lock acquired, processing the job...
[2025-01-13 03:03:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:03:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:03:02] Production.INFO: Account Balance Start.
[2025-01-13 03:03:02] Production.INFO: CreateAllLog Start
[2025-01-13 03:03:02] Production.INFO: 117
[2025-01-13 03:03:02] Production.INFO: Date 2025-01-08
[2025-01-13 03:03:02] Production.INFO: Reseller ==> 0
[2025-01-13 03:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:03:03] Production.INFO: ==18602== Lock acquired, processing the job...
[2025-01-13 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:03:03] Production.INFO: ==18600== Lock acquired, processing the job...
[2025-01-13 03:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:03:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:03:03] Production.INFO: ==18610== Lock acquired, processing the job...
[2025-01-13 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:03:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:03:03] Production.ERROR: done
[2025-01-13 03:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:03:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:03:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:03:03] Production.ERROR: done
[2025-01-13 03:03:03] Production.INFO: Total Charge 0
[2025-01-13 03:03:03] Production.INFO: CreateAllLog End
[2025-01-13 03:03:03] Production.INFO: count ==21
[2025-01-13 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-13 03:03:03] Production.INFO: count ==21
[2025-01-13 03:03:03] Production.INFO: ==18602== Releasing lock...
[2025-01-13 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236058') start
[2025-01-13 03:03:03] Production.INFO: Account Balance End.
[2025-01-13 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236058') end
[2025-01-13 03:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:03:03] Production.INFO: 1
[2025-01-13 03:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:03:03] Production.ERROR: CronJobId end 12
[2025-01-13 03:03:03] Production.INFO: ==18606== Releasing lock...
[2025-01-13 03:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:03:03] Production.INFO: ==18610== Releasing lock...
[2025-01-13 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:03:04
[end_date_ymd] => 2025-01-13 03:03:04
[RateCDR] => 1
)
[2025-01-13 03: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-13 00:03:04' and `end` < '2025-01-13 03: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-13 03:03:10] Production.ERROR: CronJobId end10
[2025-01-13 03:03:10] Production.INFO: ==18604== Releasing lock...
[2025-01-13 03:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:03:13] Production.INFO: call_cost start
[2025-01-13 03:03:13] Production.INFO: call_cost end
[2025-01-13 03:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:03:13] Production.INFO: ==18600== Releasing lock...
[2025-01-13 03:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:03:16] Production.INFO: count ==226
[2025-01-13 03:03:16] Production.ERROR: pbx CDR StartTime 2025-01-13 00:03:04 - End Time 2025-01-13 03:03:04
[2025-01-13 03:03:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:03:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236059', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:03:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236059', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:03:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236059', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:03:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236059', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:03:16] Production.INFO: ProcessCDR(1,14236059,1,1,2)
[2025-01-13 03:03:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:03:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:03:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:03:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:03:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236059', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:03:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236059', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:03:19] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:03:19] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:03:19] Production.INFO: ==18608== Releasing lock...
[2025-01-13 03:03:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:03:19] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:04:01] Production.INFO: ==18667== Lock acquired, processing the job...
[2025-01-13 08:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:04:01] Production.INFO: neon service started
[2025-01-13 08:04:01] Production.INFO: neon service started
[2025-01-13 08:04:01] Production.INFO: ==18667== Releasing lock...
[2025-01-13 08:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:04:02] Production.INFO: ==18670== Lock acquired, processing the job...
[2025-01-13 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:04:02] Production.INFO: ==18670== Releasing lock...
[2025-01-13 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:04:02] Production.INFO: ==18672== Lock acquired, processing the job...
[2025-01-13 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:04:02] Production.INFO: ==18672== Releasing lock...
[2025-01-13 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:04:03] Production.INFO: ==18680== Lock acquired, processing the job...
[2025-01-13 03:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:04:03] Production.INFO: ==18684== Lock acquired, processing the job...
[2025-01-13 03:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:04:03] Production.INFO: Account Balance Start.
[2025-01-13 03:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:04:03] Production.INFO: 117
[2025-01-13 03:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:04:03] Production.INFO: ==18674== Lock acquired, processing the job...
[2025-01-13 03:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:04:03] Production.INFO: ==18676== Lock acquired, processing the job...
[2025-01-13 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:04:03] Production.INFO: count ==21
[2025-01-13 03:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:04:03] Production.INFO: ==18678== Lock acquired, processing the job...
[2025-01-13 03:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:04:03] Production.INFO: count ==21
[2025-01-13 03:04:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:04:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236061') start
[2025-01-13 03:04:03] Production.INFO: ==18682== Lock acquired, processing the job...
[2025-01-13 03:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:04:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:04:03] Production.INFO: Total Charge 0
[2025-01-13 03:04:03] Production.INFO: CreateAllLog End
[2025-01-13 03:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236061') end
[2025-01-13 03:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:04:03] Production.INFO: 1
[2025-01-13 03:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:04:04] Production.INFO: ==18684== Releasing lock...
[2025-01-13 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:04:04] Production.INFO: ==18676== Releasing lock...
[2025-01-13 03:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:04:04] Production.INFO: Account Balance End.
[2025-01-13 03:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:04:04] Production.INFO: ==18680== Releasing lock...
[2025-01-13 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:04:04] Production.ERROR: done
[2025-01-13 03:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:04:04] Production.ERROR: done
[2025-01-13 03:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:04:05
[end_date_ymd] => 2025-01-13 03:04:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:04:05' and `end` < '2025-01-13 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-13 03:04:11] Production.ERROR: CronJobId end10
[2025-01-13 03:04:11] Production.INFO: ==18678== Releasing lock...
[2025-01-13 03:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:04:13] Production.INFO: call_cost start
[2025-01-13 03:04:13] Production.INFO: call_cost end
[2025-01-13 03:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:04:14] Production.INFO: ==18674== Releasing lock...
[2025-01-13 03:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:04:18] Production.INFO: count ==226
[2025-01-13 03:04:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:04:05 - End Time 2025-01-13 03:04:05
[2025-01-13 03:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236064', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236064', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236064', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236064', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:04:18] Production.INFO: ProcessCDR(1,14236064,1,1,2)
[2025-01-13 03:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236064', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236064', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:04:21] Production.INFO: ==18682== Releasing lock...
[2025-01-13 03:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:04:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:05:01] Production.INFO: ==18748== Lock acquired, processing the job...
[2025-01-13 08:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:05:01] Production.INFO: neon service started
[2025-01-13 08:05:01] Production.INFO: neon service started
[2025-01-13 08:05:01] Production.INFO: ==18748== Releasing lock...
[2025-01-13 08:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:05:01] Production.INFO: ==18750== Lock acquired, processing the job...
[2025-01-13 03:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:05:02] Production.INFO: ==18750== Releasing lock...
[2025-01-13 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:05:02] Production.INFO: ==18752== Lock acquired, processing the job...
[2025-01-13 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:05:02] Production.INFO: ==18752== Releasing lock...
[2025-01-13 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:05:02] Production.INFO: ==18758== Lock acquired, processing the job...
[2025-01-13 03:05:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:05:02] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:05:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:05:02] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:05:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:05:03] Production.INFO: ==18764== Lock acquired, processing the job...
[2025-01-13 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:05:03] Production.INFO: ==18754== Lock acquired, processing the job...
[2025-01-13 03:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:05:03] Production.INFO: ==18760== Lock acquired, processing the job...
[2025-01-13 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:05:03] Production.INFO: ==18756== Lock acquired, processing the job...
[2025-01-13 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 03:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:05:03] Production.INFO: ==18762== Lock acquired, processing the job...
[2025-01-13 03:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:05:03] Production.INFO: count ==21
[2025-01-13 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-13 03:05:03] Production.INFO: count ==21
[2025-01-13 03:05:03] Production.INFO: Account Balance Start.
[2025-01-13 03:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236065') start
[2025-01-13 03:05:03] Production.INFO: 117
[2025-01-13 03:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236065') end
[2025-01-13 03:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:05:03] Production.INFO: 1
[2025-01-13 03:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:05:03] Production.INFO: ==18764== Releasing lock...
[2025-01-13 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:05:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:05:03] Production.ERROR: done
[2025-01-13 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:05:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:05:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:05:03] Production.INFO: ==18756== Releasing lock...
[2025-01-13 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:05:03] Production.INFO: Total Charge 0
[2025-01-13 03:05:03] Production.ERROR: done
[2025-01-13 03:05:03] Production.INFO: CreateAllLog End
[2025-01-13 03:05:03] Production.INFO: Account Balance End.
[2025-01-13 03:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:05:04] Production.INFO: ==18760== Releasing lock...
[2025-01-13 03:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:05:04
[end_date_ymd] => 2025-01-13 03:05:04
[RateCDR] => 1
)
[2025-01-13 03:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:05:04' and `end` < '2025-01-13 03:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:05:10] Production.ERROR: CronJobId end10
[2025-01-13 03:05:10] Production.INFO: ==18758== Releasing lock...
[2025-01-13 03:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:05:12] Production.INFO: call_cost start
[2025-01-13 03:05:12] Production.INFO: call_cost end
[2025-01-13 03:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:05:13] Production.INFO: ==18754== Releasing lock...
[2025-01-13 03:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:05:17] Production.INFO: count ==225
[2025-01-13 03:05:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:05:04 - End Time 2025-01-13 03:05:04
[2025-01-13 03:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236069', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236069', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236069', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236069', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:05:17] Production.INFO: ProcessCDR(1,14236069,1,1,2)
[2025-01-13 03:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236069', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236069', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:05:20] Production.INFO: ==18762== Releasing lock...
[2025-01-13 03:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:05:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:06:01] Production.INFO: ==18904== Lock acquired, processing the job...
[2025-01-13 08:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:06:01] Production.INFO: neon service started
[2025-01-13 08:06:01] Production.INFO: neon service started
[2025-01-13 08:06:01] Production.INFO: ==18904== Releasing lock...
[2025-01-13 08:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:06:02] Production.INFO: ==18908== Lock acquired, processing the job...
[2025-01-13 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:06:02] Production.INFO: ==18908== Releasing lock...
[2025-01-13 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:06:02] Production.INFO: ==18906== Lock acquired, processing the job...
[2025-01-13 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:06:02] Production.INFO: ==18906== Releasing lock...
[2025-01-13 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:06:03] Production.INFO: ==18913== Lock acquired, processing the job...
[2025-01-13 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:06:03] Production.INFO: ==18911== Lock acquired, processing the job...
[2025-01-13 03:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:06:03] Production.INFO: ==18917== Lock acquired, processing the job...
[2025-01-13 03:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:06:03] Production.INFO: Account Balance Start.
[2025-01-13 03:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:06:03] Production.INFO: 117
[2025-01-13 03:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:06:03] Production.INFO: ==18913== Releasing lock...
[2025-01-13 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:06:03] Production.INFO: ==18915== Lock acquired, processing the job...
[2025-01-13 03:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:06:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:06:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:06:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:06:03] Production.INFO: ==18919== Lock acquired, processing the job...
[2025-01-13 03:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:06:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:06:03] Production.INFO: ==18921== Lock acquired, processing the job...
[2025-01-13 03:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:06:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:06:03] Production.INFO: Total Charge 0
[2025-01-13 03:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:06:04] Production.INFO: CreateAllLog End
[2025-01-13 03:06:04] Production.INFO: count ==21
[2025-01-13 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-13 03:06:04] Production.INFO: count ==21
[2025-01-13 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236073') start
[2025-01-13 03:06:04] Production.INFO: Account Balance End.
[2025-01-13 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236073') end
[2025-01-13 03:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:06:04] Production.INFO: 1
[2025-01-13 03:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:06:04] Production.ERROR: done
[2025-01-13 03:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:06:04] Production.INFO: ==18917== Releasing lock...
[2025-01-13 03:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:06:04] Production.INFO: ==18921== Releasing lock...
[2025-01-13 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:06:04] Production.ERROR: done
[2025-01-13 03:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:06:05
[end_date_ymd] => 2025-01-13 03:06:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:06:05' and `end` < '2025-01-13 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-13 03:06:11] Production.ERROR: CronJobId end10
[2025-01-13 03:06:11] Production.INFO: ==18915== Releasing lock...
[2025-01-13 03:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:06:13] Production.INFO: call_cost start
[2025-01-13 03:06:13] Production.INFO: call_cost end
[2025-01-13 03:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:06:13] Production.INFO: ==18911== Releasing lock...
[2025-01-13 03:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:06:18] Production.INFO: count ==225
[2025-01-13 03:06:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:06:05 - End Time 2025-01-13 03:06:05
[2025-01-13 03:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236074', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236074', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236074', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236074', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:06:18] Production.INFO: ProcessCDR(1,14236074,1,1,2)
[2025-01-13 03:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236074', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236074', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:06:21] Production.INFO: ==18919== Releasing lock...
[2025-01-13 03:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:06:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:07:02] Production.INFO: ==18986== Lock acquired, processing the job...
[2025-01-13 08:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:07:02] Production.INFO: neon service started
[2025-01-13 08:07:02] Production.INFO: neon service started
[2025-01-13 08:07:02] Production.INFO: ==18986== Releasing lock...
[2025-01-13 08:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:07:03] Production.INFO: ==18988== Lock acquired, processing the job...
[2025-01-13 03:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:07:03] Production.INFO: ==18990== Lock acquired, processing the job...
[2025-01-13 08:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:07:03] Production.INFO: ==18990== Releasing lock...
[2025-01-13 08:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:07:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:07:03] Production.INFO: ==18988== Releasing lock...
[2025-01-13 03:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:07:04] Production.INFO: ==18997== Lock acquired, processing the job...
[2025-01-13 03:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:07:04] Production.INFO: ==19001== Lock acquired, processing the job...
[2025-01-13 03:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:07:04] Production.INFO: ==18993== Lock acquired, processing the job...
[2025-01-13 03:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:07:04] Production.INFO: ==18995== Lock acquired, processing the job...
[2025-01-13 03:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:07:04] Production.INFO: ==18999== Lock acquired, processing the job...
[2025-01-13 03:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:07:04] Production.INFO: ==19003== Lock acquired, processing the job...
[2025-01-13 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:07:04] Production.INFO: Account Balance Start.
[2025-01-13 03:07:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:07:04] Production.INFO: 117
[2025-01-13 03:07:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:07:04] Production.ERROR: done
[2025-01-13 03:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:07:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:07:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:07:04] Production.INFO: count ==21
[2025-01-13 03:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:07:04] Production.INFO: count ==21
[2025-01-13 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236078') start
[2025-01-13 03:07:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:07:04] Production.INFO: ==18995== Releasing lock...
[2025-01-13 03:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:07:04] Production.ERROR: done
[2025-01-13 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:07:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236078') end
[2025-01-13 03:07:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:07:05] Production.INFO: 1
[2025-01-13 03:07:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:07:05] Production.INFO: Date 2025-01-12
[2025-01-13 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-13 03:07:05] Production.INFO: ==19003== Releasing lock...
[2025-01-13 03:07:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:07:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:07:05] Production.INFO: Date 2025-01-13
[2025-01-13 03:07:05] Production.INFO: Reseller ==> 0
[2025-01-13 03:07:05] Production.INFO: Total Charge 0
[2025-01-13 03:07:05] Production.INFO: CreateAllLog End
[2025-01-13 03:07:05] Production.INFO: Account Balance End.
[2025-01-13 03:07:05] Production.ERROR: CronJobId end 12
[2025-01-13 03:07:05] Production.INFO: ==18999== Releasing lock...
[2025-01-13 03:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:07:05
[end_date_ymd] => 2025-01-13 03:07:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:07:05' and `end` < '2025-01-13 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-13 03:07:10] Production.ERROR: CronJobId end10
[2025-01-13 03:07:10] Production.INFO: ==18997== Releasing lock...
[2025-01-13 03:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:07:14] Production.INFO: call_cost start
[2025-01-13 03:07:14] Production.INFO: call_cost end
[2025-01-13 03:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:07:15] Production.INFO: ==18993== Releasing lock...
[2025-01-13 03:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:07:19] Production.INFO: count ==225
[2025-01-13 03:07:19] Production.ERROR: pbx CDR StartTime 2025-01-13 00:07:05 - End Time 2025-01-13 03:07:05
[2025-01-13 03:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236079', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236079', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236079', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236079', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:07:19] Production.INFO: ProcessCDR(1,14236079,1,1,2)
[2025-01-13 03:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236079', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236079', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:07:22] Production.INFO: ==19001== Releasing lock...
[2025-01-13 03:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:07:22] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:08:01] Production.INFO: ==19063== Lock acquired, processing the job...
[2025-01-13 08:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:08:01] Production.INFO: neon service started
[2025-01-13 08:08:01] Production.INFO: neon service started
[2025-01-13 08:08:01] Production.INFO: ==19063== Releasing lock...
[2025-01-13 08:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:08:02] Production.INFO: ==19066== Lock acquired, processing the job...
[2025-01-13 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:08:02] Production.INFO: ==19068== Lock acquired, processing the job...
[2025-01-13 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:08:02] Production.INFO: ==19066== Releasing lock...
[2025-01-13 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:08:02] Production.INFO: ==19068== Releasing lock...
[2025-01-13 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:08:03] Production.INFO: ==19076== Lock acquired, processing the job...
[2025-01-13 03:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:08:03] Production.INFO: ==19080== Lock acquired, processing the job...
[2025-01-13 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:08:03] Production.INFO: Account Balance Start.
[2025-01-13 03:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:08:03] Production.INFO: 117
[2025-01-13 03:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:08:03] Production.INFO: ==19070== Lock acquired, processing the job...
[2025-01-13 03:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:08:03] Production.INFO: count ==21
[2025-01-13 03:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:08:03] Production.INFO: ==19072== Lock acquired, processing the job...
[2025-01-13 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03: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-13 03:08:03] Production.INFO: count ==21
[2025-01-13 03:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:08:03] Production.INFO: ==19074== Lock acquired, processing the job...
[2025-01-13 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236081') start
[2025-01-13 03:08:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:08:03] Production.INFO: ==19078== Lock acquired, processing the job...
[2025-01-13 03:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:08:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236081') end
[2025-01-13 03:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:08:03] Production.INFO: 1
[2025-01-13 03:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:08:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:08:03] Production.INFO: Total Charge 0
[2025-01-13 03:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:08:03] Production.INFO: CreateAllLog End
[2025-01-13 03:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:08:04] Production.INFO: ==19080== Releasing lock...
[2025-01-13 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:08:04] Production.INFO: ==19072== Releasing lock...
[2025-01-13 03:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:08:04] Production.ERROR: done
[2025-01-13 03:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:08:04] Production.INFO: Account Balance End.
[2025-01-13 03:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:08:04] Production.INFO: ==19076== Releasing lock...
[2025-01-13 03:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:08:04] Production.ERROR: done
[2025-01-13 03:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:08:05
[end_date_ymd] => 2025-01-13 03:08:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:08:05' and `end` < '2025-01-13 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-13 03:08:12] Production.ERROR: CronJobId end10
[2025-01-13 03:08:12] Production.INFO: ==19074== Releasing lock...
[2025-01-13 03:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:08:13] Production.INFO: call_cost start
[2025-01-13 03:08:13] Production.INFO: call_cost end
[2025-01-13 03:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:08:14] Production.INFO: ==19070== Releasing lock...
[2025-01-13 03:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:08:17] Production.INFO: count ==225
[2025-01-13 03:08:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:08:05 - End Time 2025-01-13 03:08:05
[2025-01-13 03:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236084', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236084', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236084', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236084', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:08:17] Production.INFO: ProcessCDR(1,14236084,1,1,2)
[2025-01-13 03:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236084', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236084', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:08:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:08:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:08:20] Production.INFO: ==19078== Releasing lock...
[2025-01-13 03:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:08:20] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:09:02] Production.INFO: ==19234== Lock acquired, processing the job...
[2025-01-13 08:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:09:02] Production.INFO: neon service started
[2025-01-13 08:09:02] Production.INFO: neon service started
[2025-01-13 08:09:02] Production.INFO: ==19234== Releasing lock...
[2025-01-13 08:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:09:02] Production.INFO: ==19238== Lock acquired, processing the job...
[2025-01-13 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:09:02] Production.INFO: ==19240== Lock acquired, processing the job...
[2025-01-13 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:09:02] Production.INFO: ==19240== Releasing lock...
[2025-01-13 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:09:02] Production.INFO: ==19238== Releasing lock...
[2025-01-13 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:09:03] Production.INFO: ==19243== Lock acquired, processing the job...
[2025-01-13 03:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:09:03] Production.INFO: ==19247== Lock acquired, processing the job...
[2025-01-13 03:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:09:03] Production.INFO: ==19251== Lock acquired, processing the job...
[2025-01-13 03:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:09:03] Production.INFO: ==19245== Lock acquired, processing the job...
[2025-01-13 03:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:09:04] Production.INFO: ==19249== Lock acquired, processing the job...
[2025-01-13 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:09:04] Production.INFO: Account Balance Start.
[2025-01-13 03:09:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:09:04] Production.INFO: ==19253== Lock acquired, processing the job...
[2025-01-13 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:09:04] Production.INFO: 117
[2025-01-13 03:09:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:09:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:09:04] Production.INFO: ==19245== Releasing lock...
[2025-01-13 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:09:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:09:04] Production.ERROR: done
[2025-01-13 03:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 03:09:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:09:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:09:04] Production.INFO: count ==21
[2025-01-13 03:09:04] Production.INFO: Date 2025-01-13
[2025-01-13 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-13 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:09:04] Production.INFO: count ==21
[2025-01-13 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236088') start
[2025-01-13 03:09:04] Production.ERROR: done
[2025-01-13 03:09:04] Production.INFO: Total Charge 0
[2025-01-13 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236088') end
[2025-01-13 03:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:09:04] Production.INFO: 1
[2025-01-13 03:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:09:04] Production.INFO: CreateAllLog End
[2025-01-13 03:09:04] Production.INFO: ==19253== Releasing lock...
[2025-01-13 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:09:04] Production.INFO: Account Balance End.
[2025-01-13 03:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:09:04] Production.INFO: ==19249== Releasing lock...
[2025-01-13 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:09:05
[end_date_ymd] => 2025-01-13 03:09:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:09:05' and `end` < '2025-01-13 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-13 03:09:12] Production.ERROR: CronJobId end10
[2025-01-13 03:09:12] Production.INFO: ==19247== Releasing lock...
[2025-01-13 03:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:09:14] Production.INFO: call_cost start
[2025-01-13 03:09:14] Production.INFO: call_cost end
[2025-01-13 03:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:09:15] Production.INFO: ==19243== Releasing lock...
[2025-01-13 03:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:09:18] Production.INFO: count ==225
[2025-01-13 03:09:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:09:05 - End Time 2025-01-13 03:09:05
[2025-01-13 03:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236089', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236089', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236089', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236089', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:09:18] Production.INFO: ProcessCDR(1,14236089,1,1,2)
[2025-01-13 03:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236089', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236089', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:09:21] Production.INFO: ==19251== Releasing lock...
[2025-01-13 03:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:09:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:10:01] Production.INFO: ==19329== Lock acquired, processing the job...
[2025-01-13 08:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:10:01] Production.INFO: neon service started
[2025-01-13 08:10:01] Production.INFO: neon service started
[2025-01-13 08:10:01] Production.INFO: ==19329== Releasing lock...
[2025-01-13 08:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:10:01] Production.INFO: ==19331== Lock acquired, processing the job...
[2025-01-13 03:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:10:02] Production.INFO: ==19331== Releasing lock...
[2025-01-13 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:10:02] Production.INFO: ==19333== Lock acquired, processing the job...
[2025-01-13 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:10:02] Production.INFO: ==19333== Releasing lock...
[2025-01-13 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:10:03] Production.INFO: ==19339== Lock acquired, processing the job...
[2025-01-13 03:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:10:03] Production.INFO: ==19341== Lock acquired, processing the job...
[2025-01-13 03:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:10:03] Production.INFO: ==19347== Lock acquired, processing the job...
[2025-01-13 03:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 03:10:03] Production.INFO: ==19335== Lock acquired, processing the job...
[2025-01-13 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 03:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:10:03] Production.ERROR: CronJob PID - 19339
[2025-01-13 03:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 03:10:03] Production.ERROR: CronJob ID - 7
[2025-01-13 03:10:03] Production.ERROR: CronJob Last Run Time 2025-01-13 03:10:00
[2025-01-13 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:10:03] Production.ERROR: CronJob PID - 19341
[2025-01-13 03:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 03:10:03] Production.ERROR: CronJob ID - 10
[2025-01-13 03:10:03] Production.ERROR: CronJob Last Run Time 2025-01-13 03:10:00
[2025-01-13 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:10:03] Production.ERROR: CronJob PID - 19347
[2025-01-13 03:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 03:10:03] Production.ERROR: CronJob ID - 17
[2025-01-13 03:10:03] Production.ERROR: CronJob Last Run Time 2025-01-13 03:10:00
[2025-01-13 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:10:03] Production.INFO: ==19337== Lock acquired, processing the job...
[2025-01-13 03:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:10:03] Production.INFO: ==19343== Lock acquired, processing the job...
[2025-01-13 03:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 03:10:03] Production.INFO: ==19335== Releasing lock...
[2025-01-13 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 03:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 03:10:03] Production.INFO: ==19345== Lock acquired, processing the job...
[2025-01-13 03:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:10:03] Production.INFO: ==19339== Releasing lock...
[2025-01-13 03:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:10:04] Production.INFO: ==19349== Lock acquired, processing the job...
[2025-01-13 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:10:04] Production.INFO: Account Balance Start.
[2025-01-13 03:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:10:04] Production.INFO: 117
[2025-01-13 03:10:04] Production.ERROR: done
[2025-01-13 03:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 03:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236093', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 03:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:10:04] Production.INFO: count ==21
[2025-01-13 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-13 03:10:04] Production.INFO: count ==21
[2025-01-13 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236094') start
[2025-01-13 03:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:10:04] Production.INFO: Total Charge 0
[2025-01-13 03:10:04] Production.INFO: CreateAllLog End
[2025-01-13 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236094') end
[2025-01-13 03:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:10:04] Production.INFO: 1
[2025-01-13 03:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:10:04] Production.ERROR: done
[2025-01-13 03:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:10:04] Production.INFO: ==19349== Releasing lock...
[2025-01-13 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:10:04] Production.ERROR: done
[2025-01-13 03:10:04] Production.INFO: Account Balance End.
[2025-01-13 03:10:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:10:04] Production.INFO: ==19343== Releasing lock...
[2025-01-13 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:10:06
[end_date_ymd] => 2025-01-13 03:10:06
[RateCDR] => 1
)
[2025-01-13 03:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:10:06' and `end` < '2025-01-13 03:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:10:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236093', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 03:10:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 03:10:07] Production.INFO: ProcessCDR(1,14236093,1,1,2)
[2025-01-13 03:10:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236093,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236093,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:10:08] Production.INFO: ==19347== Releasing lock...
[2025-01-13 03:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 03:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 03:10:12] Production.ERROR: CronJobId end10
[2025-01-13 03:10:12] Production.INFO: ==19341== Releasing lock...
[2025-01-13 03:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:10:14] Production.INFO: call_cost start
[2025-01-13 03:10:14] Production.INFO: call_cost end
[2025-01-13 03:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:10:15] Production.INFO: ==19337== Releasing lock...
[2025-01-13 03:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:10:18] Production.INFO: count ==219
[2025-01-13 03:10:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:10:06 - End Time 2025-01-13 03:10:06
[2025-01-13 03:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236095', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236095', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236095', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236095', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:10:18] Production.INFO: ProcessCDR(1,14236095,1,1,2)
[2025-01-13 03:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236095', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236095', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:10:21] Production.INFO: ==19345== Releasing lock...
[2025-01-13 03:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:10:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 08:11:02] Production.INFO: ==19432== Lock acquired, processing the job...
[2025-01-13 08:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:11:02] Production.INFO: neon service started
[2025-01-13 08:11:02] Production.INFO: neon service started
[2025-01-13 08:11:02] Production.INFO: ==19432== Releasing lock...
[2025-01-13 08:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:11:02] Production.INFO: ==19436== Lock acquired, processing the job...
[2025-01-13 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:11:02] Production.INFO: ==19436== Releasing lock...
[2025-01-13 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:11:02] Production.INFO: ==19434== Lock acquired, processing the job...
[2025-01-13 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:11:03] Production.INFO: ==19434== Releasing lock...
[2025-01-13 03:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:11:03] Production.INFO: ==19445== Lock acquired, processing the job...
[2025-01-13 03:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:11:03] Production.INFO: ==19443== Lock acquired, processing the job...
[2025-01-13 03:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:11:04] Production.INFO: Account Balance Start.
[2025-01-13 03:11:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:11:04] Production.INFO: 117
[2025-01-13 03:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:11:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:11:04] Production.INFO: ==19439== Lock acquired, processing the job...
[2025-01-13 03:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:11:04] Production.INFO: ==19441== Lock acquired, processing the job...
[2025-01-13 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:11:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:11:04] Production.INFO: ==19447== Lock acquired, processing the job...
[2025-01-13 03:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:11:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:11:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:11:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:11:04] Production.INFO: ==19449== Lock acquired, processing the job...
[2025-01-13 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:11:04] Production.INFO: Total Charge 0
[2025-01-13 03:11:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 03:11:04] Production.INFO: count ==21
[2025-01-13 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-13 03:11:04] Production.INFO: count ==21
[2025-01-13 03:11:04] Production.INFO: Account Balance End.
[2025-01-13 03:11:04] Production.INFO: ==19441== Releasing lock...
[2025-01-13 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236099') start
[2025-01-13 03:11:04] Production.ERROR: done
[2025-01-13 03:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:11:04] Production.INFO: ==19445== Releasing lock...
[2025-01-13 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:11:05] Production.ERROR: done
[2025-01-13 03:11:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236099') end
[2025-01-13 03:11:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:11:05] Production.INFO: 1
[2025-01-13 03:11:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:11:05] Production.INFO: ==19449== Releasing lock...
[2025-01-13 03:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:11:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:11:05
[end_date_ymd] => 2025-01-13 03:11:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:11:05' and `end` < '2025-01-13 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-13 03:11:10] Production.ERROR: CronJobId end10
[2025-01-13 03:11:11] Production.INFO: ==19443== Releasing lock...
[2025-01-13 03:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:11:13] Production.INFO: call_cost start
[2025-01-13 03:11:13] Production.INFO: call_cost end
[2025-01-13 03:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:11:14] Production.INFO: ==19439== Releasing lock...
[2025-01-13 03:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:11:19] Production.INFO: count ==197
[2025-01-13 03:11:19] Production.ERROR: pbx CDR StartTime 2025-01-13 00:11:05 - End Time 2025-01-13 03:11:05
[2025-01-13 03:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236100', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236100', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236100', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236100', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:11:19] Production.INFO: ProcessCDR(1,14236100,1,1,2)
[2025-01-13 03:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236100', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236100', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:11:22] Production.INFO: ==19447== Releasing lock...
[2025-01-13 03:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:11:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:12:01] Production.INFO: ==19536== Lock acquired, processing the job...
[2025-01-13 08:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:12:01] Production.INFO: neon service started
[2025-01-13 08:12:01] Production.INFO: neon service started
[2025-01-13 08:12:01] Production.INFO: ==19536== Releasing lock...
[2025-01-13 08:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:12:02] Production.INFO: ==19540== Lock acquired, processing the job...
[2025-01-13 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:12:02] Production.INFO: ==19540== Releasing lock...
[2025-01-13 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:12:02] Production.INFO: ==19542== Lock acquired, processing the job...
[2025-01-13 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:12:02] Production.INFO: ==19542== Releasing lock...
[2025-01-13 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:12:03] Production.INFO: ==19551== Lock acquired, processing the job...
[2025-01-13 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:12:03] Production.INFO: Account Balance Start.
[2025-01-13 03:12:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:12:03] Production.INFO: 117
[2025-01-13 03:12:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:12:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:12:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:12:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:12:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:12:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:12:03] Production.INFO: Total Charge 0
[2025-01-13 03:12:03] Production.INFO: CreateAllLog End
[2025-01-13 03:12:03] Production.INFO: Account Balance End.
[2025-01-13 03:12:03] Production.ERROR: CronJobId end 12
[2025-01-13 03:12:03] Production.INFO: ==19551== Releasing lock...
[2025-01-13 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:12:03] Production.INFO: ==19547== Lock acquired, processing the job...
[2025-01-13 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:12:03] Production.INFO: ==19545== Lock acquired, processing the job...
[2025-01-13 03:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:12:03] Production.INFO: ==19549== Lock acquired, processing the job...
[2025-01-13 03:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:12:03] Production.INFO: ==19555== Lock acquired, processing the job...
[2025-01-13 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:12:03] Production.INFO: ==19553== Lock acquired, processing the job...
[2025-01-13 03:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 03:12:03] Production.INFO: count ==21
[2025-01-13 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-13 03:12:03] Production.INFO: count ==21
[2025-01-13 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236104') start
[2025-01-13 03:12:03] Production.INFO: ==19547== Releasing lock...
[2025-01-13 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:12:04] Production.ERROR: done
[2025-01-13 03:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236104') end
[2025-01-13 03:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:12:04] Production.INFO: 1
[2025-01-13 03:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:12:04] Production.ERROR: done
[2025-01-13 03:12:04] Production.INFO: ==19555== Releasing lock...
[2025-01-13 03:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:12:05
[end_date_ymd] => 2025-01-13 03:12:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:12:05' and `end` < '2025-01-13 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-13 03:12:10] Production.ERROR: CronJobId end10
[2025-01-13 03:12:10] Production.INFO: ==19549== Releasing lock...
[2025-01-13 03:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:12:13] Production.INFO: call_cost start
[2025-01-13 03:12:13] Production.INFO: call_cost end
[2025-01-13 03:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:12:14] Production.INFO: ==19545== Releasing lock...
[2025-01-13 03:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:12:18] Production.INFO: count ==197
[2025-01-13 03:12:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:12:05 - End Time 2025-01-13 03:12:05
[2025-01-13 03:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236105', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236105', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236105', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236105', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:12:18] Production.INFO: ProcessCDR(1,14236105,1,1,2)
[2025-01-13 03:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236105', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236105', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:12:21] Production.INFO: ==19553== Releasing lock...
[2025-01-13 03:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:12:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:13:02] Production.INFO: ==19718== Lock acquired, processing the job...
[2025-01-13 08:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:13:02] Production.INFO: neon service started
[2025-01-13 08:13:02] Production.INFO: neon service started
[2025-01-13 08:13:02] Production.INFO: ==19718== Releasing lock...
[2025-01-13 08:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:13:02] Production.INFO: ==19720== Lock acquired, processing the job...
[2025-01-13 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:13:02] Production.INFO: ==19722== Lock acquired, processing the job...
[2025-01-13 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:13:02] Production.INFO: ==19722== Releasing lock...
[2025-01-13 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:13:03] Production.INFO: ==19720== Releasing lock...
[2025-01-13 03:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:13:03] Production.INFO: ==19725== Lock acquired, processing the job...
[2025-01-13 03:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:13:03] Production.INFO: ==19727== Lock acquired, processing the job...
[2025-01-13 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:13:04] Production.INFO: ==19735== Lock acquired, processing the job...
[2025-01-13 03:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:13:04] Production.INFO: ==19729== Lock acquired, processing the job...
[2025-01-13 03:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:13:04] Production.INFO: ==19727== Releasing lock...
[2025-01-13 03:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:13:04] Production.INFO: ==19733== Lock acquired, processing the job...
[2025-01-13 03:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:13:04] Production.INFO: count ==21
[2025-01-13 03:13:04] Production.INFO: ==19731== Lock acquired, processing the job...
[2025-01-13 03:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:13:04] Production.INFO: count ==21
[2025-01-13 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236108') start
[2025-01-13 03:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:13:04] Production.INFO: Account Balance Start.
[2025-01-13 03:13:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:13:04] Production.INFO: 117
[2025-01-13 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236108') end
[2025-01-13 03:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:13:04] Production.INFO: 1
[2025-01-13 03:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:13:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:13:04] Production.INFO: ==19735== Releasing lock...
[2025-01-13 03:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:13:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:13:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:13:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:13:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:13:04] Production.ERROR: done
[2025-01-13 03:13:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:13:04] Production.INFO: Total Charge 0
[2025-01-13 03:13:04] Production.INFO: CreateAllLog End
[2025-01-13 03:13:04] Production.ERROR: done
[2025-01-13 03:13:04] Production.INFO: Account Balance End.
[2025-01-13 03:13:05] Production.ERROR: CronJobId end 12
[2025-01-13 03:13:05] Production.INFO: ==19731== Releasing lock...
[2025-01-13 03:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:13:05
[end_date_ymd] => 2025-01-13 03:13:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:13:05' and `end` < '2025-01-13 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-13 03:13:11] Production.ERROR: CronJobId end10
[2025-01-13 03:13:11] Production.INFO: ==19729== Releasing lock...
[2025-01-13 03:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:13:13] Production.INFO: call_cost start
[2025-01-13 03:13:13] Production.INFO: call_cost end
[2025-01-13 03:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:13:14] Production.INFO: ==19725== Releasing lock...
[2025-01-13 03:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:13:18] Production.INFO: count ==197
[2025-01-13 03:13:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:13:05 - End Time 2025-01-13 03:13:05
[2025-01-13 03:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236110', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236110', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236110', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236110', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:13:18] Production.INFO: ProcessCDR(1,14236110,1,1,2)
[2025-01-13 03:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236110', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236110', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:13:22] Production.INFO: ==19733== Releasing lock...
[2025-01-13 03:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:13:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:14:01] Production.INFO: ==19818== Lock acquired, processing the job...
[2025-01-13 08:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:14:01] Production.INFO: neon service started
[2025-01-13 08:14:01] Production.INFO: neon service started
[2025-01-13 08:14:01] Production.INFO: ==19818== Releasing lock...
[2025-01-13 08:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:14:01] Production.INFO: ==19822== Lock acquired, processing the job...
[2025-01-13 08:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:14:02] Production.INFO: ==19822== Releasing lock...
[2025-01-13 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:14:02] Production.INFO: ==19820== Lock acquired, processing the job...
[2025-01-13 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:14:02] Production.INFO: ==19820== Releasing lock...
[2025-01-13 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:14:03] Production.INFO: ==19827== Lock acquired, processing the job...
[2025-01-13 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:14:03] Production.INFO: ==19829== Lock acquired, processing the job...
[2025-01-13 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:14:03] Production.INFO: ==19833== Lock acquired, processing the job...
[2025-01-13 03:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:14:03] Production.INFO: Account Balance Start.
[2025-01-13 03:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:14:03] Production.INFO: ==19831== Lock acquired, processing the job...
[2025-01-13 03:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:14:03] Production.INFO: 117
[2025-01-13 03:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:14:03] Production.INFO: ==19829== Releasing lock...
[2025-01-13 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:14:03] Production.INFO: ==19837== Lock acquired, processing the job...
[2025-01-13 03:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:14:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:14:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:14:03] Production.INFO: ==19835== Lock acquired, processing the job...
[2025-01-13 03:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:14:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:14:03] Production.INFO: count ==21
[2025-01-13 03:14:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:14:03] Production.INFO: count ==21
[2025-01-13 03:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236114') start
[2025-01-13 03:14:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:14:03] Production.INFO: Total Charge 0
[2025-01-13 03:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236114') end
[2025-01-13 03:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:14:03] Production.INFO: 1
[2025-01-13 03:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:14:03] Production.INFO: CreateAllLog End
[2025-01-13 03:14:03] Production.INFO: ==19837== Releasing lock...
[2025-01-13 03:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:14:04] Production.ERROR: done
[2025-01-13 03:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:14:04] Production.INFO: Account Balance End.
[2025-01-13 03:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:14:04] Production.INFO: ==19833== Releasing lock...
[2025-01-13 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:14:04] Production.ERROR: done
[2025-01-13 03:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:14:05
[end_date_ymd] => 2025-01-13 03:14:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:14:05' and `end` < '2025-01-13 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-13 03:14:12] Production.ERROR: CronJobId end10
[2025-01-13 03:14:12] Production.INFO: ==19831== Releasing lock...
[2025-01-13 03:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:14:13] Production.INFO: call_cost start
[2025-01-13 03:14:13] Production.INFO: call_cost end
[2025-01-13 03:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:14:14] Production.INFO: ==19827== Releasing lock...
[2025-01-13 03:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:14:17] Production.INFO: count ==197
[2025-01-13 03:14:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:14:05 - End Time 2025-01-13 03:14:05
[2025-01-13 03:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236115', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236115', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236115', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236115', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:14:17] Production.INFO: ProcessCDR(1,14236115,1,1,2)
[2025-01-13 03:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236115', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236115', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:14:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:14:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:14:20] Production.INFO: ==19835== Releasing lock...
[2025-01-13 03:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:14:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:15:01] Production.INFO: ==19915== Lock acquired, processing the job...
[2025-01-13 08:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:15:01] Production.INFO: neon service started
[2025-01-13 08:15:01] Production.INFO: neon service started
[2025-01-13 08:15:02] Production.INFO: ==19915== Releasing lock...
[2025-01-13 08:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:15:02] Production.INFO: ==19919== Lock acquired, processing the job...
[2025-01-13 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:15:02] Production.INFO: ==19919== Releasing lock...
[2025-01-13 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:15:02] Production.INFO: ==19917== Lock acquired, processing the job...
[2025-01-13 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:15:02] Production.INFO: ==19917== Releasing lock...
[2025-01-13 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:15:03] Production.INFO: ==19925== Lock acquired, processing the job...
[2025-01-13 03:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:15:03] Production.INFO: ==19932== Lock acquired, processing the job...
[2025-01-13 03:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:15:03] Production.INFO: ==19921== Lock acquired, processing the job...
[2025-01-13 03:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 03:15:03] Production.INFO: count ==21
[2025-01-13 03: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-13 03:15:03] Production.INFO: count ==21
[2025-01-13 03:15:03] Production.INFO: ==19923== Lock acquired, processing the job...
[2025-01-13 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:15:03] Production.INFO: ==19930== Lock acquired, processing the job...
[2025-01-13 03:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236116') start
[2025-01-13 03:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:15:04] Production.INFO: ==19927== Lock acquired, processing the job...
[2025-01-13 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236116') end
[2025-01-13 03:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:15:04] Production.INFO: 1
[2025-01-13 03:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:15:04] Production.INFO: Account Balance Start.
[2025-01-13 03:15:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:15:04] Production.INFO: 117
[2025-01-13 03:15:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:15:04] Production.INFO: ==19932== Releasing lock...
[2025-01-13 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:15:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:15:04] Production.ERROR: done
[2025-01-13 03:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:15:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:15:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:15:04] Production.INFO: Total Charge 0
[2025-01-13 03:15:04] Production.INFO: CreateAllLog End
[2025-01-13 03:15:04] Production.INFO: ==19923== Releasing lock...
[2025-01-13 03:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:15:04] Production.ERROR: done
[2025-01-13 03:15:04] Production.INFO: Account Balance End.
[2025-01-13 03:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:15:04] Production.INFO: ==19927== Releasing lock...
[2025-01-13 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:15:05
[end_date_ymd] => 2025-01-13 03:15:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:15:05' and `end` < '2025-01-13 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-13 03:15:12] Production.ERROR: CronJobId end10
[2025-01-13 03:15:12] Production.INFO: ==19925== Releasing lock...
[2025-01-13 03:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:15:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:15:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:15:15] Production.INFO: call_cost start
[2025-01-13 03:15:15] Production.INFO: call_cost end
[2025-01-13 03:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:15:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:15:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:15:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:15:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:15:16] Production.INFO: ==19921== Releasing lock...
[2025-01-13 03:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:15:17] Production.INFO: count ==197
[2025-01-13 03:15:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:15:05 - End Time 2025-01-13 03:15:05
[2025-01-13 03:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236120', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236120', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236120', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236120', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:15:17] Production.INFO: ProcessCDR(1,14236120,1,1,2)
[2025-01-13 03:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236120', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236120', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:15:21] Production.INFO: ==19930== Releasing lock...
[2025-01-13 03:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:16:01] Production.INFO: ==20017== Lock acquired, processing the job...
[2025-01-13 08:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:16:01] Production.INFO: neon service started
[2025-01-13 08:16:01] Production.INFO: neon service started
[2025-01-13 08:16:01] Production.INFO: ==20017== Releasing lock...
[2025-01-13 08:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:16:02] Production.INFO: ==20019== Lock acquired, processing the job...
[2025-01-13 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:16:02] Production.INFO: ==20021== Lock acquired, processing the job...
[2025-01-13 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:16:02] Production.INFO: ==20021== Releasing lock...
[2025-01-13 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:16:02] Production.INFO: ==20019== Releasing lock...
[2025-01-13 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:16:03] Production.INFO: ==20024== Lock acquired, processing the job...
[2025-01-13 03:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:16:03] Production.INFO: ==20026== Lock acquired, processing the job...
[2025-01-13 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:16:03] Production.INFO: ==20028== Lock acquired, processing the job...
[2025-01-13 03:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:16:03] Production.INFO: ==20030== Lock acquired, processing the job...
[2025-01-13 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:16:03] Production.INFO: ==20032== Lock acquired, processing the job...
[2025-01-13 03:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:16:03] Production.INFO: ==20026== Releasing lock...
[2025-01-13 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:16:03] Production.INFO: Account Balance Start.
[2025-01-13 03:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:16:03] Production.INFO: 117
[2025-01-13 03:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:16:03] Production.INFO: ==20034== Lock acquired, processing the job...
[2025-01-13 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:16:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:16:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:16:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:16:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:16:03] Production.INFO: Total Charge 0
[2025-01-13 03:16:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 03:16:03] Production.ERROR: done
[2025-01-13 03:16:03] Production.INFO: count ==21
[2025-01-13 03:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 03:16:04] Production.INFO: count ==21
[2025-01-13 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236124') start
[2025-01-13 03:16:04] Production.INFO: Account Balance End.
[2025-01-13 03:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:16:04] Production.INFO: ==20030== Releasing lock...
[2025-01-13 03:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:16:04] Production.ERROR: done
[2025-01-13 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236124') end
[2025-01-13 03:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:16:04] Production.INFO: 1
[2025-01-13 03:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:16:04] Production.INFO: ==20034== Releasing lock...
[2025-01-13 03:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:16:04
[end_date_ymd] => 2025-01-13 03:16:04
[RateCDR] => 1
)
[2025-01-13 03:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:16:04' and `end` < '2025-01-13 03:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:16:11] Production.ERROR: CronJobId end10
[2025-01-13 03:16:11] Production.INFO: ==20028== Releasing lock...
[2025-01-13 03:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:16:13] Production.INFO: call_cost start
[2025-01-13 03:16:13] Production.INFO: call_cost end
[2025-01-13 03:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:16:14] Production.INFO: ==20024== Releasing lock...
[2025-01-13 03:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:16:17] Production.INFO: count ==197
[2025-01-13 03:16:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:16:04 - End Time 2025-01-13 03:16:04
[2025-01-13 03:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236125', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236125', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236125', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236125', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:16:17] Production.INFO: ProcessCDR(1,14236125,1,1,2)
[2025-01-13 03:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236125', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236125', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:16:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:16:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:16:20] Production.INFO: ==20032== Releasing lock...
[2025-01-13 03:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:16:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:17:01] Production.INFO: ==20205== Lock acquired, processing the job...
[2025-01-13 08:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:17:01] Production.INFO: neon service started
[2025-01-13 08:17:01] Production.INFO: neon service started
[2025-01-13 08:17:01] Production.INFO: ==20205== Releasing lock...
[2025-01-13 08:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:17:02] Production.INFO: ==20209== Lock acquired, processing the job...
[2025-01-13 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:17:02] Production.INFO: ==20209== Releasing lock...
[2025-01-13 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:17:02] Production.INFO: ==20207== Lock acquired, processing the job...
[2025-01-13 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:17:02] Production.INFO: ==20207== Releasing lock...
[2025-01-13 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:17:03] Production.INFO: ==20214== Lock acquired, processing the job...
[2025-01-13 03:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:17:03] Production.INFO: ==20218== Lock acquired, processing the job...
[2025-01-13 03:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:17:03] Production.INFO: ==20222== Lock acquired, processing the job...
[2025-01-13 03:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:17:03] Production.INFO: ==20216== Lock acquired, processing the job...
[2025-01-13 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:17:03] Production.INFO: ==20220== Lock acquired, processing the job...
[2025-01-13 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:17:03] Production.INFO: ==20224== Lock acquired, processing the job...
[2025-01-13 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:17:03] Production.ERROR: done
[2025-01-13 03:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:17:03] Production.INFO: Account Balance Start.
[2025-01-13 03:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:17:03] Production.INFO: 117
[2025-01-13 03:17:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:17:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:17:04] Production.ERROR: done
[2025-01-13 03:17:04] Production.INFO: count ==21
[2025-01-13 03:17:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:17:04] Production.INFO: count ==21
[2025-01-13 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236129') start
[2025-01-13 03:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:17:04] Production.INFO: ==20216== Releasing lock...
[2025-01-13 03:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236129') end
[2025-01-13 03:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:17:04] Production.INFO: 1
[2025-01-13 03:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:17:04] Production.INFO: Total Charge 0
[2025-01-13 03:17:04] Production.INFO: CreateAllLog End
[2025-01-13 03:17:04] Production.INFO: ==20224== Releasing lock...
[2025-01-13 03:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:17:04] Production.INFO: Account Balance End.
[2025-01-13 03:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:17:04] Production.INFO: ==20220== Releasing lock...
[2025-01-13 03:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:17:05
[end_date_ymd] => 2025-01-13 03:17:05
[RateCDR] => 1
)
[2025-01-13 03:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:17:05' and `end` < '2025-01-13 03:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:17:11] Production.ERROR: CronJobId end10
[2025-01-13 03:17:11] Production.INFO: ==20218== Releasing lock...
[2025-01-13 03:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:17:14] Production.INFO: call_cost start
[2025-01-13 03:17:14] Production.INFO: call_cost end
[2025-01-13 03:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:17:15] Production.INFO: ==20214== Releasing lock...
[2025-01-13 03:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:17:17] Production.INFO: count ==197
[2025-01-13 03:17:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:17:05 - End Time 2025-01-13 03:17:05
[2025-01-13 03:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236130', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236130', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236130', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236130', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:17:17] Production.INFO: ProcessCDR(1,14236130,1,1,2)
[2025-01-13 03:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236130', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236130', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:17:20] Production.INFO: ==20222== Releasing lock...
[2025-01-13 03:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:17:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:18:02] Production.INFO: ==20316== Lock acquired, processing the job...
[2025-01-13 08:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:18:02] Production.INFO: neon service started
[2025-01-13 08:18:02] Production.INFO: neon service started
[2025-01-13 08:18:02] Production.INFO: ==20316== Releasing lock...
[2025-01-13 08:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:18:02] Production.INFO: ==20320== Lock acquired, processing the job...
[2025-01-13 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:18:02] Production.INFO: ==20318== Lock acquired, processing the job...
[2025-01-13 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:18:02] Production.INFO: ==20320== Releasing lock...
[2025-01-13 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:18:03] Production.INFO: ==20318== Releasing lock...
[2025-01-13 03:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:18:03] Production.INFO: ==20325== Lock acquired, processing the job...
[2025-01-13 03:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:18:04] Production.INFO: ==20329== Lock acquired, processing the job...
[2025-01-13 03:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:18:04] Production.INFO: ==20331== Lock acquired, processing the job...
[2025-01-13 03:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:18:04] Production.INFO: Account Balance Start.
[2025-01-13 03:18:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:18:04] Production.INFO: 117
[2025-01-13 03:18:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:18:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:18:04] Production.INFO: ==20327== Lock acquired, processing the job...
[2025-01-13 03:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:18:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:18:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:18:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:18:04] Production.INFO: ==20333== Lock acquired, processing the job...
[2025-01-13 03:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:18:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:18:04] Production.INFO: Total Charge 0
[2025-01-13 03:18:04] Production.INFO: ==20335== Lock acquired, processing the job...
[2025-01-13 03:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:18:04] Production.INFO: CreateAllLog End
[2025-01-13 03:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:18:04] Production.INFO: count ==21
[2025-01-13 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-13 03:18:04] Production.INFO: count ==21
[2025-01-13 03:18:04] Production.ERROR: done
[2025-01-13 03:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:18:04] Production.INFO: ==20327== Releasing lock...
[2025-01-13 03:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236134') start
[2025-01-13 03:18:04] Production.INFO: Account Balance End.
[2025-01-13 03:18:04] Production.ERROR: done
[2025-01-13 03:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:18:04] Production.INFO: ==20331== Releasing lock...
[2025-01-13 03:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236134') end
[2025-01-13 03:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:18:04] Production.INFO: 1
[2025-01-13 03:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:18:04] Production.INFO: ==20335== Releasing lock...
[2025-01-13 03:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:18:05
[end_date_ymd] => 2025-01-13 03:18:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:18:05' and `end` < '2025-01-13 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-13 03:18:13] Production.ERROR: CronJobId end10
[2025-01-13 03:18:13] Production.INFO: ==20329== Releasing lock...
[2025-01-13 03:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:18:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:18:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:18:15] Production.INFO: call_cost start
[2025-01-13 03:18:15] Production.INFO: call_cost end
[2025-01-13 03:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:18:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:18:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:18:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:18:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:18:16] Production.INFO: ==20325== Releasing lock...
[2025-01-13 03:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:18:18] Production.INFO: count ==197
[2025-01-13 03:18:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:18:05 - End Time 2025-01-13 03:18:05
[2025-01-13 03:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236135', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236135', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236135', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236135', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:18:18] Production.INFO: ProcessCDR(1,14236135,1,1,2)
[2025-01-13 03:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236135', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236135', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:18:21] Production.INFO: ==20333== Releasing lock...
[2025-01-13 03:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:18:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:19:01] Production.INFO: ==20473== Lock acquired, processing the job...
[2025-01-13 08:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:19:01] Production.INFO: neon service started
[2025-01-13 08:19:01] Production.INFO: neon service started
[2025-01-13 08:19:01] Production.INFO: ==20473== Releasing lock...
[2025-01-13 08:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:19:01] Production.INFO: ==20477== Lock acquired, processing the job...
[2025-01-13 03:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:19:02] Production.INFO: ==20477== Releasing lock...
[2025-01-13 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:19:02] Production.INFO: ==20479== Lock acquired, processing the job...
[2025-01-13 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:19:02] Production.INFO: ==20479== Releasing lock...
[2025-01-13 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:19:03] Production.INFO: ==20481== Lock acquired, processing the job...
[2025-01-13 03:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:19:03] Production.INFO: ==20489== Lock acquired, processing the job...
[2025-01-13 03:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:19:03] Production.INFO: ==20483== Lock acquired, processing the job...
[2025-01-13 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:19:03] Production.INFO: ==20485== Lock acquired, processing the job...
[2025-01-13 03:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:19:03] Production.INFO: ==20487== Lock acquired, processing the job...
[2025-01-13 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:19:03] Production.INFO: ==20491== Lock acquired, processing the job...
[2025-01-13 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:19:03] Production.INFO: Account Balance Start.
[2025-01-13 03:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:19:03] Production.INFO: 117
[2025-01-13 03:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:19:03] Production.ERROR: done
[2025-01-13 03:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:19:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:19:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:19:03] Production.INFO: ==20483== Releasing lock...
[2025-01-13 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:19:03] Production.INFO: count ==21
[2025-01-13 03:19:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:19:03] Production.INFO: count ==21
[2025-01-13 03:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236139') start
[2025-01-13 03:19:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:19:03] Production.ERROR: done
[2025-01-13 03:19:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:19:03] Production.INFO: Total Charge 0
[2025-01-13 03:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236139') end
[2025-01-13 03:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:19:03] Production.INFO: 1
[2025-01-13 03:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:19:03] Production.INFO: CreateAllLog End
[2025-01-13 03:19:03] Production.INFO: ==20491== Releasing lock...
[2025-01-13 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:19:03] Production.INFO: Account Balance End.
[2025-01-13 03:19:03] Production.ERROR: CronJobId end 12
[2025-01-13 03:19:03] Production.INFO: ==20487== Releasing lock...
[2025-01-13 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:19:04
[end_date_ymd] => 2025-01-13 03:19:04
[RateCDR] => 1
)
[2025-01-13 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-13 00:19:04' and `end` < '2025-01-13 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-13 03:19:10] Production.ERROR: CronJobId end10
[2025-01-13 03:19:10] Production.INFO: ==20485== Releasing lock...
[2025-01-13 03:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:19:13] Production.INFO: call_cost start
[2025-01-13 03:19:13] Production.INFO: call_cost end
[2025-01-13 03:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:19:13] Production.INFO: ==20481== Releasing lock...
[2025-01-13 03:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:19:17] Production.INFO: count ==197
[2025-01-13 03:19:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:19:04 - End Time 2025-01-13 03:19:04
[2025-01-13 03:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236140', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236140', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236140', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236140', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:19:17] Production.INFO: ProcessCDR(1,14236140,1,1,2)
[2025-01-13 03:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236140', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236140', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:19:20] Production.INFO: ==20489== Releasing lock...
[2025-01-13 03:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:19:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:20:02] Production.INFO: ==20582== Lock acquired, processing the job...
[2025-01-13 08:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:20:02] Production.INFO: neon service started
[2025-01-13 08:20:02] Production.INFO: neon service started
[2025-01-13 08:20:02] Production.INFO: ==20582== Releasing lock...
[2025-01-13 08:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:20:02] Production.INFO: ==20584== Lock acquired, processing the job...
[2025-01-13 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:20:02] Production.INFO: ==20586== Lock acquired, processing the job...
[2025-01-13 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:20:02] Production.INFO: ==20584== Releasing lock...
[2025-01-13 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:20:02] Production.INFO: ==20586== Releasing lock...
[2025-01-13 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:20:03] Production.INFO: ==20591== Lock acquired, processing the job...
[2025-01-13 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 03:20:04] Production.INFO: ==20599== Lock acquired, processing the job...
[2025-01-13 03:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 03:20:04] Production.INFO: ==20601== Lock acquired, processing the job...
[2025-01-13 03:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 03:20:04] Production.INFO: ==20591== Releasing lock...
[2025-01-13 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 03:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 03:20:04] Production.INFO: ==20593== Lock acquired, processing the job...
[2025-01-13 03:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:20:04] Production.INFO: ==20605== Lock acquired, processing the job...
[2025-01-13 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:20:04] Production.INFO: ==20595== Lock acquired, processing the job...
[2025-01-13 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:20:04] Production.INFO: Account Balance Start.
[2025-01-13 03:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:20:04] Production.INFO: 117
[2025-01-13 03:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:20:04] Production.INFO: ==20597== Lock acquired, processing the job...
[2025-01-13 03:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:20:04] Production.INFO: ==20603== Lock acquired, processing the job...
[2025-01-13 03:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 03:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:20:04] Production.INFO: count ==21
[2025-01-13 03:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 03:20:04] Production.INFO: count ==21
[2025-01-13 03:20:04] Production.ERROR: done
[2025-01-13 03:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236143') start
[2025-01-13 03:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236143') end
[2025-01-13 03:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:20:04] Production.INFO: 1
[2025-01-13 03:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:20:04] Production.INFO: Total Charge 0
[2025-01-13 03:20:04] Production.ERROR: done
[2025-01-13 03:20:04] Production.INFO: ==20605== Releasing lock...
[2025-01-13 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:20:04] Production.INFO: CreateAllLog End
[2025-01-13 03:20:04] Production.INFO: ==20595== Releasing lock...
[2025-01-13 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:20:04] Production.ERROR: done
[2025-01-13 03:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 03:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236146', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 03:20:04] Production.INFO: Account Balance End.
[2025-01-13 03:20:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:20:04] Production.INFO: ==20599== Releasing lock...
[2025-01-13 03:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:20:05
[end_date_ymd] => 2025-01-13 03:20:05
[RateCDR] => 1
)
[2025-01-13 03:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:20:05' and `end` < '2025-01-13 03:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236146', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 03:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 03:20:08] Production.INFO: ProcessCDR(1,14236146,1,1,2)
[2025-01-13 03:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236146,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236146,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:20:08] Production.INFO: ==20603== Releasing lock...
[2025-01-13 03:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 03:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 03:20:14] Production.ERROR: CronJobId end10
[2025-01-13 03:20:14] Production.INFO: ==20597== Releasing lock...
[2025-01-13 03:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:20:15] Production.INFO: call_cost start
[2025-01-13 03:20:15] Production.INFO: call_cost end
[2025-01-13 03:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:20:16] Production.INFO: ==20593== Releasing lock...
[2025-01-13 03:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:20:17] Production.INFO: count ==191
[2025-01-13 03:20:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:20:05 - End Time 2025-01-13 03:20:05
[2025-01-13 03:20:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236145', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236145', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236145', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236145', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:20:17] Production.INFO: ProcessCDR(1,14236145,1,1,2)
[2025-01-13 03:20:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:20:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:20:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236145', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236145', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:20:21] Production.INFO: ==20601== Releasing lock...
[2025-01-13 03:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:20:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:21:01] Production.INFO: ==20693== Lock acquired, processing the job...
[2025-01-13 08:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:21:01] Production.INFO: neon service started
[2025-01-13 08:21:01] Production.INFO: neon service started
[2025-01-13 08:21:01] Production.INFO: ==20693== Releasing lock...
[2025-01-13 08:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:21:02] Production.INFO: ==20695== Lock acquired, processing the job...
[2025-01-13 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:21:02] Production.INFO: ==20697== Lock acquired, processing the job...
[2025-01-13 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:21:02] Production.INFO: ==20697== Releasing lock...
[2025-01-13 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:21:02] Production.INFO: ==20695== Releasing lock...
[2025-01-13 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:21:03] Production.INFO: ==20700== Lock acquired, processing the job...
[2025-01-13 03:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:21:03] Production.INFO: ==20702== Lock acquired, processing the job...
[2025-01-13 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:21:03] Production.INFO: ==20704== Lock acquired, processing the job...
[2025-01-13 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:21:03] Production.INFO: ==20702== Releasing lock...
[2025-01-13 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:21:03] Production.INFO: ==20706== Lock acquired, processing the job...
[2025-01-13 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:21:03] Production.INFO: Account Balance Start.
[2025-01-13 03:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:21:03] Production.INFO: 117
[2025-01-13 03:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:21:03] Production.INFO: ==20708== Lock acquired, processing the job...
[2025-01-13 03:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:21:03] Production.INFO: ==20710== Lock acquired, processing the job...
[2025-01-13 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:21:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:21:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 03:21:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:21:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:21:04] Production.INFO: Total Charge 0
[2025-01-13 03:21:04] Production.INFO: count ==21
[2025-01-13 03:21:04] Production.INFO: CreateAllLog End
[2025-01-13 03:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:21:04] Production.INFO: count ==21
[2025-01-13 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236150') start
[2025-01-13 03:21:04] Production.ERROR: done
[2025-01-13 03:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236150') end
[2025-01-13 03:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:21:04] Production.INFO: 1
[2025-01-13 03:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:21:04] Production.INFO: ==20710== Releasing lock...
[2025-01-13 03:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:21:04] Production.ERROR: done
[2025-01-13 03:21:04] Production.INFO: Account Balance End.
[2025-01-13 03:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:21:04] Production.INFO: ==20706== Releasing lock...
[2025-01-13 03:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:21:05
[end_date_ymd] => 2025-01-13 03:21:05
[RateCDR] => 1
)
[2025-01-13 03:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:21:05' and `end` < '2025-01-13 03:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:21:12] Production.ERROR: CronJobId end10
[2025-01-13 03:21:12] Production.INFO: ==20704== Releasing lock...
[2025-01-13 03:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:21:14] Production.INFO: call_cost start
[2025-01-13 03:21:14] Production.INFO: call_cost end
[2025-01-13 03:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:21:15] Production.INFO: ==20700== Releasing lock...
[2025-01-13 03:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:21:17] Production.INFO: count ==185
[2025-01-13 03:21:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:21:05 - End Time 2025-01-13 03:21:05
[2025-01-13 03:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236151', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236151', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236151', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236151', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:21:17] Production.INFO: ProcessCDR(1,14236151,1,1,2)
[2025-01-13 03:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236151', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236151', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:21:21] Production.INFO: ==20708== Releasing lock...
[2025-01-13 03:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:21:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:22:02] Production.INFO: ==20799== Lock acquired, processing the job...
[2025-01-13 08:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:22:02] Production.INFO: neon service started
[2025-01-13 08:22:02] Production.INFO: neon service started
[2025-01-13 08:22:02] Production.INFO: ==20799== Releasing lock...
[2025-01-13 08:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:22:02] Production.INFO: ==20804== Lock acquired, processing the job...
[2025-01-13 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:22:02] Production.INFO: ==20804== Releasing lock...
[2025-01-13 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:22:02] Production.INFO: ==20801== Lock acquired, processing the job...
[2025-01-13 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:22:02] Production.INFO: ==20801== Releasing lock...
[2025-01-13 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:22:03] Production.INFO: ==20812== Lock acquired, processing the job...
[2025-01-13 03:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:22:03] Production.INFO: ==20816== Lock acquired, processing the job...
[2025-01-13 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 03:22:03] Production.INFO: ==20806== Lock acquired, processing the job...
[2025-01-13 03:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:22:03] Production.INFO: Account Balance Start.
[2025-01-13 03:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:22:04] Production.INFO: 117
[2025-01-13 03:22:04] Production.INFO: count ==21
[2025-01-13 03:22:04] Production.INFO: ==20808== Lock acquired, processing the job...
[2025-01-13 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 03:22:04] Production.INFO: count ==21
[2025-01-13 03:22:04] Production.INFO: ==20810== Lock acquired, processing the job...
[2025-01-13 03:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236153') start
[2025-01-13 03:22:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:22:04] Production.INFO: ==20814== Lock acquired, processing the job...
[2025-01-13 03:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:22:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:22:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236153') end
[2025-01-13 03:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:22:04] Production.INFO: 1
[2025-01-13 03:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:22:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:22:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:22:04] Production.INFO: ==20816== Releasing lock...
[2025-01-13 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:22:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:22:04] Production.ERROR: done
[2025-01-13 03:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:22:04] Production.INFO: ==20808== Releasing lock...
[2025-01-13 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:22:04] Production.INFO: Total Charge 0
[2025-01-13 03:22:04] Production.INFO: CreateAllLog End
[2025-01-13 03:22:04] Production.ERROR: done
[2025-01-13 03:22:04] Production.INFO: Account Balance End.
[2025-01-13 03:22:05] Production.ERROR: CronJobId end 12
[2025-01-13 03:22:05] Production.INFO: ==20812== Releasing lock...
[2025-01-13 03:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:22:05
[end_date_ymd] => 2025-01-13 03:22:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:22:05' and `end` < '2025-01-13 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-13 03:22:11] Production.ERROR: CronJobId end10
[2025-01-13 03:22:11] Production.INFO: ==20810== Releasing lock...
[2025-01-13 03:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:22:13] Production.INFO: call_cost start
[2025-01-13 03:22:13] Production.INFO: call_cost end
[2025-01-13 03:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:22:14] Production.INFO: ==20806== Releasing lock...
[2025-01-13 03:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:22:19] Production.INFO: count ==185
[2025-01-13 03:22:19] Production.ERROR: pbx CDR StartTime 2025-01-13 00:22:05 - End Time 2025-01-13 03:22:05
[2025-01-13 03:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236156', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236156', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236156', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236156', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:22:19] Production.INFO: ProcessCDR(1,14236156,1,1,2)
[2025-01-13 03:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236156', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236156', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:22:22] Production.INFO: ==20814== Releasing lock...
[2025-01-13 03:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:22:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:23:01] Production.INFO: ==20905== Lock acquired, processing the job...
[2025-01-13 08:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:23:01] Production.INFO: neon service started
[2025-01-13 08:23:01] Production.INFO: neon service started
[2025-01-13 08:23:01] Production.INFO: ==20905== Releasing lock...
[2025-01-13 08:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:23:01] Production.INFO: ==20909== Lock acquired, processing the job...
[2025-01-13 08:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:23:01] Production.INFO: ==20909== Releasing lock...
[2025-01-13 08:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:23:02] Production.INFO: ==20907== Lock acquired, processing the job...
[2025-01-13 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:23:02] Production.INFO: ==20907== Releasing lock...
[2025-01-13 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:23:03] Production.INFO: ==20916== Lock acquired, processing the job...
[2025-01-13 03:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:23:03] Production.INFO: ==20920== Lock acquired, processing the job...
[2025-01-13 03:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:23:03] Production.INFO: ==20912== Lock acquired, processing the job...
[2025-01-13 03:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:23:03] Production.INFO: ==20914== Lock acquired, processing the job...
[2025-01-13 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:23:03] Production.ERROR: done
[2025-01-13 03:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:23:03] Production.INFO: ==20918== Lock acquired, processing the job...
[2025-01-13 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:23:03] Production.INFO: ==20922== Lock acquired, processing the job...
[2025-01-13 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:23:03] Production.ERROR: done
[2025-01-13 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-13 03:23:03] Production.INFO: Account Balance Start.
[2025-01-13 03:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:23:03] Production.INFO: 117
[2025-01-13 03:23:03] Production.INFO: ==20914== Releasing lock...
[2025-01-13 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:23:03] Production.INFO: count ==21
[2025-01-13 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-13 03:23:03] Production.INFO: count ==21
[2025-01-13 03:23:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236161') start
[2025-01-13 03:23:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:23:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236161') end
[2025-01-13 03:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:23:03] Production.INFO: 1
[2025-01-13 03:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:23:04] Production.INFO: ==20922== Releasing lock...
[2025-01-13 03:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:23:04] Production.INFO: Total Charge 0
[2025-01-13 03:23:04] Production.INFO: CreateAllLog End
[2025-01-13 03:23:04] Production.INFO: Account Balance End.
[2025-01-13 03:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:23:04] Production.INFO: ==20918== Releasing lock...
[2025-01-13 03:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:23:04
[end_date_ymd] => 2025-01-13 03:23:04
[RateCDR] => 1
)
[2025-01-13 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-13 00:23:04' and `end` < '2025-01-13 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-13 03:23:10] Production.ERROR: CronJobId end10
[2025-01-13 03:23:10] Production.INFO: ==20916== Releasing lock...
[2025-01-13 03:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:23:12] Production.INFO: call_cost start
[2025-01-13 03:23:12] Production.INFO: call_cost end
[2025-01-13 03:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:23:13] Production.INFO: ==20912== Releasing lock...
[2025-01-13 03:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:23:17] Production.INFO: count ==185
[2025-01-13 03:23:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:23:04 - End Time 2025-01-13 03:23:04
[2025-01-13 03:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236160', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236160', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236160', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236160', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:23:17] Production.INFO: ProcessCDR(1,14236160,1,1,2)
[2025-01-13 03:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:23:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:23:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236160', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236160', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:23:20] Production.INFO: ==20920== Releasing lock...
[2025-01-13 03:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:23:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:24:02] Production.INFO: ==21019== Lock acquired, processing the job...
[2025-01-13 08:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:24:02] Production.INFO: neon service started
[2025-01-13 08:24:02] Production.INFO: neon service started
[2025-01-13 08:24:02] Production.INFO: ==21019== Releasing lock...
[2025-01-13 08:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:24:02] Production.INFO: ==21021== Lock acquired, processing the job...
[2025-01-13 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:24:02] Production.INFO: ==21021== Releasing lock...
[2025-01-13 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:24:02] Production.INFO: ==21023== Lock acquired, processing the job...
[2025-01-13 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:24:02] Production.INFO: ==21023== Releasing lock...
[2025-01-13 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:24:03] Production.INFO: ==21028== Lock acquired, processing the job...
[2025-01-13 03:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:24:03] Production.INFO: ==21037== Lock acquired, processing the job...
[2025-01-13 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:24:03] Production.INFO: ==21026== Lock acquired, processing the job...
[2025-01-13 03:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:24:03] Production.INFO: ==21030== Lock acquired, processing the job...
[2025-01-13 03:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:24:03] Production.INFO: count ==21
[2025-01-13 03:24:03] Production.INFO: ==21032== Lock acquired, processing the job...
[2025-01-13 03:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:24:03] Production.INFO: count ==21
[2025-01-13 03:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236163') start
[2025-01-13 03:24:03] Production.INFO: ==21035== Lock acquired, processing the job...
[2025-01-13 03:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:24:03] Production.INFO: ==21028== Releasing lock...
[2025-01-13 03:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:24:03] Production.INFO: Account Balance Start.
[2025-01-13 03:24:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:24:03] Production.INFO: 117
[2025-01-13 03:24:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236163') end
[2025-01-13 03:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:24:04] Production.INFO: 1
[2025-01-13 03:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:24:04] Production.INFO: ==21037== Releasing lock...
[2025-01-13 03:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:24:04] Production.ERROR: done
[2025-01-13 03:24:04] Production.INFO: Total Charge 0
[2025-01-13 03:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:24:04] Production.INFO: CreateAllLog End
[2025-01-13 03:24:04] Production.ERROR: done
[2025-01-13 03:24:04] Production.INFO: Account Balance End.
[2025-01-13 03:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:24:04] Production.INFO: ==21032== Releasing lock...
[2025-01-13 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:24:05
[end_date_ymd] => 2025-01-13 03:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:24:05' and `end` < '2025-01-13 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-13 03:24:11] Production.ERROR: CronJobId end10
[2025-01-13 03:24:11] Production.INFO: ==21030== Releasing lock...
[2025-01-13 03:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:24:14] Production.INFO: call_cost start
[2025-01-13 03:24:14] Production.INFO: call_cost end
[2025-01-13 03:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:24:15] Production.INFO: ==21026== Releasing lock...
[2025-01-13 03:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:24:17] Production.INFO: count ==185
[2025-01-13 03:24:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:24:05 - End Time 2025-01-13 03:24:05
[2025-01-13 03:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236166', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236166', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236166', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236166', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:24:17] Production.INFO: ProcessCDR(1,14236166,1,1,2)
[2025-01-13 03:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236166', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236166', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:24:21] Production.INFO: ==21035== Releasing lock...
[2025-01-13 03:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:24:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:25:01] Production.INFO: ==21124== Lock acquired, processing the job...
[2025-01-13 08:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:25:01] Production.INFO: neon service started
[2025-01-13 08:25:01] Production.INFO: neon service started
[2025-01-13 08:25:01] Production.INFO: ==21124== Releasing lock...
[2025-01-13 08:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:25:01] Production.INFO: ==21126== Lock acquired, processing the job...
[2025-01-13 03:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:25:02] Production.INFO: ==21126== Releasing lock...
[2025-01-13 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:25:02] Production.INFO: ==21128== Lock acquired, processing the job...
[2025-01-13 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:25:02] Production.INFO: ==21128== Releasing lock...
[2025-01-13 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:25:02] Production.INFO: ==21131== Lock acquired, processing the job...
[2025-01-13 03:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:25:02] Production.INFO: ==21133== Lock acquired, processing the job...
[2025-01-13 03:25:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:25:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:25:02] Production.INFO: ==21137== Lock acquired, processing the job...
[2025-01-13 03:25:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:25:03] Production.INFO: ==21133== Releasing lock...
[2025-01-13 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:25:03] Production.INFO: Account Balance Start.
[2025-01-13 03:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:25:03] Production.INFO: 117
[2025-01-13 03:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:25:03] Production.INFO: ==21135== Lock acquired, processing the job...
[2025-01-13 03:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:25:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:25:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:25:03] Production.INFO: ==21139== Lock acquired, processing the job...
[2025-01-13 03:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:25:03] Production.INFO: ==21141== Lock acquired, processing the job...
[2025-01-13 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:25:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:25:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:25:03] Production.INFO: Total Charge 0
[2025-01-13 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-13 03:25:03] Production.INFO: CreateAllLog End
[2025-01-13 03:25:03] Production.INFO: count ==21
[2025-01-13 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-13 03:25:03] Production.INFO: count ==21
[2025-01-13 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236170') start
[2025-01-13 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236170') end
[2025-01-13 03:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:25:03] Production.INFO: 1
[2025-01-13 03:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:25:03] Production.INFO: ==21141== Releasing lock...
[2025-01-13 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:25:03] Production.INFO: Account Balance End.
[2025-01-13 03:25:03] Production.ERROR: done
[2025-01-13 03:25:03] Production.ERROR: CronJobId end 12
[2025-01-13 03:25:03] Production.INFO: ==21137== Releasing lock...
[2025-01-13 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:25:04] Production.ERROR: done
[2025-01-13 03:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:25:05
[end_date_ymd] => 2025-01-13 03:25:05
[RateCDR] => 1
)
[2025-01-13 03:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:25:05' and `end` < '2025-01-13 03:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:25:11] Production.ERROR: CronJobId end10
[2025-01-13 03:25:11] Production.INFO: ==21135== Releasing lock...
[2025-01-13 03:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:25:13] Production.INFO: call_cost start
[2025-01-13 03:25:13] Production.INFO: call_cost end
[2025-01-13 03:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:25:13] Production.INFO: ==21131== Releasing lock...
[2025-01-13 03:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:25:17] Production.INFO: count ==185
[2025-01-13 03:25:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:25:05 - End Time 2025-01-13 03:25:05
[2025-01-13 03:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236171', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236171', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236171', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236171', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:25:17] Production.INFO: ProcessCDR(1,14236171,1,1,2)
[2025-01-13 03:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236171', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236171', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:25:20] Production.INFO: ==21139== Releasing lock...
[2025-01-13 03:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:25:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:26:01] Production.INFO: ==21229== Lock acquired, processing the job...
[2025-01-13 08:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:26:01] Production.INFO: neon service started
[2025-01-13 08:26:01] Production.INFO: neon service started
[2025-01-13 08:26:01] Production.INFO: ==21229== Releasing lock...
[2025-01-13 08:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:26:02] Production.INFO: ==21233== Lock acquired, processing the job...
[2025-01-13 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:26:02] Production.INFO: ==21233== Releasing lock...
[2025-01-13 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:26:02] Production.INFO: ==21231== Lock acquired, processing the job...
[2025-01-13 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:26:02] Production.INFO: ==21231== Releasing lock...
[2025-01-13 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:26:03] Production.INFO: ==21240== Lock acquired, processing the job...
[2025-01-13 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:26:03] Production.INFO: ==21246== Lock acquired, processing the job...
[2025-01-13 03:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:26:03] Production.INFO: ==21236== Lock acquired, processing the job...
[2025-01-13 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:26:03] Production.INFO: ==21238== Lock acquired, processing the job...
[2025-01-13 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:26:03] Production.INFO: count ==21
[2025-01-13 03:26:03] Production.INFO: ==21242== Lock acquired, processing the job...
[2025-01-13 03:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 03:26:04] Production.INFO: count ==21
[2025-01-13 03:26:04] Production.INFO: ==21244== Lock acquired, processing the job...
[2025-01-13 03:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236172') start
[2025-01-13 03:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:26:04] Production.INFO: Account Balance Start.
[2025-01-13 03:26:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:26:04] Production.INFO: 117
[2025-01-13 03:26:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236172') end
[2025-01-13 03:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:26:04] Production.INFO: 1
[2025-01-13 03:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:26:04] Production.INFO: ==21246== Releasing lock...
[2025-01-13 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:26:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:26:04] Production.ERROR: done
[2025-01-13 03:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:26:04] Production.INFO: ==21238== Releasing lock...
[2025-01-13 03:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:26:04] Production.ERROR: done
[2025-01-13 03:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:26:04] Production.INFO: Total Charge 0
[2025-01-13 03:26:04] Production.INFO: CreateAllLog End
[2025-01-13 03:26:04] Production.INFO: Account Balance End.
[2025-01-13 03:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:26:04] Production.INFO: ==21242== Releasing lock...
[2025-01-13 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:26:05
[end_date_ymd] => 2025-01-13 03:26:05
[RateCDR] => 1
)
[2025-01-13 03:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:26:05' and `end` < '2025-01-13 03:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:26:11] Production.ERROR: CronJobId end10
[2025-01-13 03:26:11] Production.INFO: ==21240== Releasing lock...
[2025-01-13 03:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:26:13] Production.INFO: call_cost start
[2025-01-13 03:26:13] Production.INFO: call_cost end
[2025-01-13 03:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:26:14] Production.INFO: ==21236== Releasing lock...
[2025-01-13 03:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:26:18] Production.INFO: count ==185
[2025-01-13 03:26:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:26:05 - End Time 2025-01-13 03:26:05
[2025-01-13 03:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236176', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236176', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236176', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236176', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:26:18] Production.INFO: ProcessCDR(1,14236176,1,1,2)
[2025-01-13 03:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236176', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236176', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:26:21] Production.INFO: ==21244== Releasing lock...
[2025-01-13 03:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:26:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:27:02] Production.INFO: ==21335== Lock acquired, processing the job...
[2025-01-13 08:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:27:02] Production.INFO: neon service started
[2025-01-13 08:27:02] Production.INFO: neon service started
[2025-01-13 08:27:02] Production.INFO: ==21335== Releasing lock...
[2025-01-13 08:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:27:02] Production.INFO: ==21340== Lock acquired, processing the job...
[2025-01-13 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:27:02] Production.INFO: ==21340== Releasing lock...
[2025-01-13 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:27:02] Production.INFO: ==21338== Lock acquired, processing the job...
[2025-01-13 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:27:03] Production.INFO: ==21338== Releasing lock...
[2025-01-13 03:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:27:03] Production.INFO: ==21342== Lock acquired, processing the job...
[2025-01-13 03:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:27:03] Production.INFO: ==21344== Lock acquired, processing the job...
[2025-01-13 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:27:03] Production.INFO: ==21346== Lock acquired, processing the job...
[2025-01-13 03:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:27:04] Production.INFO: ==21352== Lock acquired, processing the job...
[2025-01-13 03:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:27:04] Production.INFO: ==21348== Lock acquired, processing the job...
[2025-01-13 03:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:27:04] Production.INFO: count ==21
[2025-01-13 03:27:04] Production.INFO: ==21350== Lock acquired, processing the job...
[2025-01-13 03:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:27:04] Production.INFO: ==21344== Releasing lock...
[2025-01-13 03:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:27:04] Production.INFO: count ==21
[2025-01-13 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236179') start
[2025-01-13 03:27:04] Production.INFO: Account Balance Start.
[2025-01-13 03:27:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:27:04] Production.INFO: 117
[2025-01-13 03:27:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:27:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:27:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236179') end
[2025-01-13 03:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:27:04] Production.INFO: 1
[2025-01-13 03:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:27:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:27:04] Production.INFO: Total Charge 0
[2025-01-13 03:27:04] Production.INFO: CreateAllLog End
[2025-01-13 03:27:04] Production.INFO: ==21352== Releasing lock...
[2025-01-13 03:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:27:04] Production.ERROR: done
[2025-01-13 03:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:27:04] Production.ERROR: done
[2025-01-13 03:27:04] Production.INFO: Account Balance End.
[2025-01-13 03:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:27:04] Production.INFO: ==21348== Releasing lock...
[2025-01-13 03:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:27:05
[end_date_ymd] => 2025-01-13 03:27:05
[RateCDR] => 1
)
[2025-01-13 03:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:27:05' and `end` < '2025-01-13 03:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:27:11] Production.ERROR: CronJobId end10
[2025-01-13 03:27:11] Production.INFO: ==21346== Releasing lock...
[2025-01-13 03:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:27:13] Production.INFO: call_cost start
[2025-01-13 03:27:13] Production.INFO: call_cost end
[2025-01-13 03:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:27:14] Production.INFO: ==21342== Releasing lock...
[2025-01-13 03:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:27:18] Production.INFO: count ==185
[2025-01-13 03:27:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:27:05 - End Time 2025-01-13 03:27:05
[2025-01-13 03:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236181', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236181', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236181', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236181', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:27:18] Production.INFO: ProcessCDR(1,14236181,1,1,2)
[2025-01-13 03:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236181', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236181', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:27:21] Production.INFO: ==21350== Releasing lock...
[2025-01-13 03:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:28:01] Production.INFO: ==21437== Lock acquired, processing the job...
[2025-01-13 08:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:28:01] Production.INFO: neon service started
[2025-01-13 08:28:01] Production.INFO: neon service started
[2025-01-13 08:28:01] Production.INFO: ==21437== Releasing lock...
[2025-01-13 08:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:28:02] Production.INFO: ==21439== Lock acquired, processing the job...
[2025-01-13 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:28:02] Production.INFO: ==21439== Releasing lock...
[2025-01-13 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:28:02] Production.INFO: ==21441== Lock acquired, processing the job...
[2025-01-13 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:28:02] Production.INFO: ==21441== Releasing lock...
[2025-01-13 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:28:03] Production.INFO: ==21451== Lock acquired, processing the job...
[2025-01-13 03:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:28:03] Production.INFO: ==21453== Lock acquired, processing the job...
[2025-01-13 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 03:28:03] Production.INFO: ==21443== Lock acquired, processing the job...
[2025-01-13 03:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:28:03] Production.ERROR: done
[2025-01-13 03:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:28:03] Production.INFO: count ==21
[2025-01-13 03:28:03] Production.INFO: ==21447== Lock acquired, processing the job...
[2025-01-13 03:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 03:28:03] Production.INFO: ==21449== Lock acquired, processing the job...
[2025-01-13 03:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:28:03] Production.INFO: count ==21
[2025-01-13 03:28:03] Production.INFO: ==21445== Lock acquired, processing the job...
[2025-01-13 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236182') start
[2025-01-13 03:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:28:03] Production.ERROR: done
[2025-01-13 03:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:28:03] Production.INFO: Account Balance Start.
[2025-01-13 03:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:28:03] Production.INFO: 117
[2025-01-13 03:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236182') end
[2025-01-13 03:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:28:03] Production.INFO: 1
[2025-01-13 03:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:28:03] Production.INFO: ==21453== Releasing lock...
[2025-01-13 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:28:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:28:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:28:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:28:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:28:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:28:04] Production.INFO: Total Charge 0
[2025-01-13 03:28:04] Production.INFO: CreateAllLog End
[2025-01-13 03:28:04] Production.INFO: ==21445== Releasing lock...
[2025-01-13 03:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:28:04] Production.INFO: Account Balance End.
[2025-01-13 03:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:28:04] Production.INFO: ==21449== Releasing lock...
[2025-01-13 03:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:28:04
[end_date_ymd] => 2025-01-13 03:28:04
[RateCDR] => 1
)
[2025-01-13 03: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-13 00:28:04' and `end` < '2025-01-13 03: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-13 03:28:10] Production.ERROR: CronJobId end10
[2025-01-13 03:28:10] Production.INFO: ==21447== Releasing lock...
[2025-01-13 03:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:28:12] Production.INFO: call_cost start
[2025-01-13 03:28:12] Production.INFO: call_cost end
[2025-01-13 03:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:28:13] Production.INFO: ==21443== Releasing lock...
[2025-01-13 03:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:28:18] Production.INFO: count ==185
[2025-01-13 03:28:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:28:04 - End Time 2025-01-13 03:28:04
[2025-01-13 03:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236186', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236186', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236186', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236186', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:28:18] Production.INFO: ProcessCDR(1,14236186,1,1,2)
[2025-01-13 03:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236186', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236186', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:28:21] Production.INFO: ==21451== Releasing lock...
[2025-01-13 03:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:28:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:29:02] Production.INFO: ==21533== Lock acquired, processing the job...
[2025-01-13 08:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:29:02] Production.INFO: neon service started
[2025-01-13 08:29:02] Production.INFO: neon service started
[2025-01-13 08:29:02] Production.INFO: ==21533== Releasing lock...
[2025-01-13 08:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:29:02] Production.INFO: ==21537== Lock acquired, processing the job...
[2025-01-13 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:29:02] Production.INFO: ==21537== Releasing lock...
[2025-01-13 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:29:02] Production.INFO: ==21535== Lock acquired, processing the job...
[2025-01-13 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:29:02] Production.INFO: ==21535== Releasing lock...
[2025-01-13 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:29:03] Production.INFO: ==21539== Lock acquired, processing the job...
[2025-01-13 03:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:29:03] Production.INFO: ==21541== Lock acquired, processing the job...
[2025-01-13 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:29:03] Production.INFO: ==21547== Lock acquired, processing the job...
[2025-01-13 03:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:29:03] Production.INFO: ==21545== Lock acquired, processing the job...
[2025-01-13 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:29:03] Production.INFO: ==21543== Lock acquired, processing the job...
[2025-01-13 03:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:29:03] Production.INFO: ==21549== Lock acquired, processing the job...
[2025-01-13 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:29:04] Production.ERROR: done
[2025-01-13 03:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:29:04] Production.INFO: ==21541== Releasing lock...
[2025-01-13 03:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 03:29:04] Production.INFO: Account Balance Start.
[2025-01-13 03:29:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:29:04] Production.INFO: 117
[2025-01-13 03:29:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:29:04] Production.INFO: count ==21
[2025-01-13 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:29:04] Production.INFO: count ==21
[2025-01-13 03:29:04] Production.ERROR: done
[2025-01-13 03:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236189') start
[2025-01-13 03:29:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:29:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236189') end
[2025-01-13 03:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:29:04] Production.INFO: 1
[2025-01-13 03:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:29:04] Production.INFO: Total Charge 0
[2025-01-13 03:29:04] Production.INFO: CreateAllLog End
[2025-01-13 03:29:04] Production.INFO: ==21549== Releasing lock...
[2025-01-13 03:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:29:04] Production.INFO: Account Balance End.
[2025-01-13 03:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:29:04] Production.INFO: ==21545== Releasing lock...
[2025-01-13 03:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:29:05
[end_date_ymd] => 2025-01-13 03:29:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:29:05' and `end` < '2025-01-13 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-13 03:29:11] Production.ERROR: CronJobId end10
[2025-01-13 03:29:11] Production.INFO: ==21543== Releasing lock...
[2025-01-13 03:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:29:13] Production.INFO: call_cost start
[2025-01-13 03:29:13] Production.INFO: call_cost end
[2025-01-13 03:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:29:14] Production.INFO: ==21539== Releasing lock...
[2025-01-13 03:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:29:18] Production.INFO: count ==184
[2025-01-13 03:29:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:29:05 - End Time 2025-01-13 03:29:05
[2025-01-13 03:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236191', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236191', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236191', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236191', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:29:18] Production.INFO: ProcessCDR(1,14236191,1,1,2)
[2025-01-13 03:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236191', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236191', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:29:22] Production.INFO: ==21547== Releasing lock...
[2025-01-13 03:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:29:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:30:01] Production.INFO: ==21630== Lock acquired, processing the job...
[2025-01-13 08:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:30:01] Production.INFO: neon service started
[2025-01-13 08:30:01] Production.INFO: neon service started
[2025-01-13 08:30:01] Production.INFO: ==21630== Releasing lock...
[2025-01-13 08:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:30:02] Production.INFO: ==21633== Lock acquired, processing the job...
[2025-01-13 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:30:02] Production.INFO: ==21635== Lock acquired, processing the job...
[2025-01-13 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:30:02] Production.INFO: ==21635== Releasing lock...
[2025-01-13 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:30:02] Production.INFO: ==21633== Releasing lock...
[2025-01-13 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:30:03] Production.INFO: ==21639== Lock acquired, processing the job...
[2025-01-13 03:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:30:03] Production.INFO: ==21637== Lock acquired, processing the job...
[2025-01-13 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 03:30:03] Production.INFO: ==21641== Lock acquired, processing the job...
[2025-01-13 03:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 03:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:30:03] Production.ERROR: CronJob PID - 21639
[2025-01-13 03:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 03:30:03] Production.ERROR: CronJob ID - 5
[2025-01-13 03:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 03:30:00
[2025-01-13 03:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 03:30:03] Production.INFO: ==21637== Releasing lock...
[2025-01-13 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 03:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 03:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:30:03] Production.INFO: ==21643== Lock acquired, processing the job...
[2025-01-13 03:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:30:03] Production.INFO: ==21649== Lock acquired, processing the job...
[2025-01-13 03:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 03:30:03] Production.INFO: ==21645== Lock acquired, processing the job...
[2025-01-13 03:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:30:04] Production.INFO: ==21647== Lock acquired, processing the job...
[2025-01-13 03:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:30:04] Production.INFO: Account Balance Start.
[2025-01-13 03:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:30:04] Production.INFO: 117
[2025-01-13 03:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:30:04] Production.INFO: ==21651== Lock acquired, processing the job...
[2025-01-13 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:30:04] Production.INFO: ==21641== Releasing lock...
[2025-01-13 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:30:04] Production.INFO: Total Charge 0
[2025-01-13 03:30:04] Production.INFO: count ==21
[2025-01-13 03:30:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 03:30:04] Production.INFO: count ==21
[2025-01-13 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236195') start
[2025-01-13 03:30:04] Production.ERROR: done
[2025-01-13 03:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 03:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236196', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 03:30:04] Production.ERROR: done
[2025-01-13 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236195') end
[2025-01-13 03:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:30:04] Production.INFO: 1
[2025-01-13 03:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:30:04] Production.INFO: Account Balance End.
[2025-01-13 03:30:04] Production.INFO: ==21651== Releasing lock...
[2025-01-13 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:30:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:30:04] Production.INFO: ==21645== Releasing lock...
[2025-01-13 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:30:04] Production.ERROR: done
[2025-01-13 03:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:30:05
[end_date_ymd] => 2025-01-13 03:30:05
[RateCDR] => 1
)
[2025-01-13 03:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:30:05' and `end` < '2025-01-13 03:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236196', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 03:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 03:30:08] Production.INFO: ProcessCDR(1,14236196,1,1,2)
[2025-01-13 03:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236196,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236196,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:30:09] Production.INFO: ==21649== Releasing lock...
[2025-01-13 03:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 03:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 03:30:13] Production.ERROR: CronJobId end10
[2025-01-13 03:30:13] Production.INFO: ==21643== Releasing lock...
[2025-01-13 03:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:30:15] Production.INFO: call_cost start
[2025-01-13 03:30:15] Production.INFO: call_cost end
[2025-01-13 03:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:30:16] Production.INFO: ==21639== Releasing lock...
[2025-01-13 03:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:30:18] Production.INFO: count ==186
[2025-01-13 03:30:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:30:05 - End Time 2025-01-13 03:30:05
[2025-01-13 03:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236197', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236197', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236197', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236197', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:30:18] Production.INFO: ProcessCDR(1,14236197,1,1,2)
[2025-01-13 03:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236197', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236197', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:30:22] Production.INFO: ==21647== Releasing lock...
[2025-01-13 03:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:30:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:31:01] Production.INFO: ==21731== Lock acquired, processing the job...
[2025-01-13 08:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:31:02] Production.INFO: neon service started
[2025-01-13 08:31:02] Production.INFO: neon service started
[2025-01-13 08:31:02] Production.INFO: ==21731== Releasing lock...
[2025-01-13 08:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:31:02] Production.INFO: ==21735== Lock acquired, processing the job...
[2025-01-13 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:31:02] Production.INFO: ==21735== Releasing lock...
[2025-01-13 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:31:02] Production.INFO: ==21733== Lock acquired, processing the job...
[2025-01-13 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:31:02] Production.INFO: ==21733== Releasing lock...
[2025-01-13 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:31:03] Production.INFO: ==21738== Lock acquired, processing the job...
[2025-01-13 03:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:31:03] Production.INFO: ==21746== Lock acquired, processing the job...
[2025-01-13 03:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:31:03] Production.INFO: ==21748== Lock acquired, processing the job...
[2025-01-13 03:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:31:03] Production.INFO: ==21742== Lock acquired, processing the job...
[2025-01-13 03:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:31:03] Production.INFO: ==21740== Lock acquired, processing the job...
[2025-01-13 03:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:31:03] Production.INFO: ==21744== Lock acquired, processing the job...
[2025-01-13 03:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:31:03] Production.INFO: count ==21
[2025-01-13 03:31:03] Production.ERROR: done
[2025-01-13 03: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-13 03:31:03] Production.INFO: count ==21
[2025-01-13 03:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236199') start
[2025-01-13 03:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:31:04] Production.INFO: Account Balance Start.
[2025-01-13 03:31:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:31:04] Production.INFO: 117
[2025-01-13 03:31:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:31:04] Production.ERROR: done
[2025-01-13 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236199') end
[2025-01-13 03:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:31:04] Production.INFO: 1
[2025-01-13 03:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:31:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:31:04] Production.INFO: ==21748== Releasing lock...
[2025-01-13 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:31:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:31:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:31:04] Production.INFO: ==21740== Releasing lock...
[2025-01-13 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:31:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:31:04] Production.INFO: Total Charge 0
[2025-01-13 03:31:04] Production.INFO: CreateAllLog End
[2025-01-13 03:31:04] Production.INFO: Account Balance End.
[2025-01-13 03:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:31:04] Production.INFO: ==21744== Releasing lock...
[2025-01-13 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:31:05
[end_date_ymd] => 2025-01-13 03:31:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:31:05' and `end` < '2025-01-13 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-13 03:31:11] Production.ERROR: CronJobId end10
[2025-01-13 03:31:11] Production.INFO: ==21742== Releasing lock...
[2025-01-13 03:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:31:13] Production.INFO: call_cost start
[2025-01-13 03:31:13] Production.INFO: call_cost end
[2025-01-13 03:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:31:14] Production.INFO: ==21738== Releasing lock...
[2025-01-13 03:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:31:19] Production.INFO: count ==188
[2025-01-13 03:31:19] Production.ERROR: pbx CDR StartTime 2025-01-13 00:31:05 - End Time 2025-01-13 03:31:05
[2025-01-13 03:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236202', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236202', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236202', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236202', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:31:19] Production.INFO: ProcessCDR(1,14236202,1,1,2)
[2025-01-13 03:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236202', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236202', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:31:22] Production.INFO: ==21746== Releasing lock...
[2025-01-13 03:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:31:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:32:01] Production.INFO: ==21825== Lock acquired, processing the job...
[2025-01-13 08:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:32:01] Production.INFO: neon service started
[2025-01-13 08:32:01] Production.INFO: neon service started
[2025-01-13 08:32:01] Production.INFO: ==21825== Releasing lock...
[2025-01-13 08:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:32:01] Production.INFO: ==21827== Lock acquired, processing the job...
[2025-01-13 03:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:32:02] Production.INFO: ==21829== Lock acquired, processing the job...
[2025-01-13 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:32:02] Production.INFO: ==21827== Releasing lock...
[2025-01-13 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:32:02] Production.INFO: ==21829== Releasing lock...
[2025-01-13 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:32:02] Production.INFO: ==21831== Lock acquired, processing the job...
[2025-01-13 03:32:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:32:02] Production.INFO: ==21833== Lock acquired, processing the job...
[2025-01-13 03:32:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:32:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:32:02] Production.INFO: ==21837== Lock acquired, processing the job...
[2025-01-13 03:32:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:32:03] Production.INFO: Account Balance Start.
[2025-01-13 03:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:32:03] Production.INFO: 117
[2025-01-13 03:32:03] Production.INFO: ==21833== Releasing lock...
[2025-01-13 03:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:32:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:32:03] Production.INFO: ==21835== Lock acquired, processing the job...
[2025-01-13 03:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:32:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:32:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:32:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:32:03] Production.INFO: ==21839== Lock acquired, processing the job...
[2025-01-13 03:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:32:03] Production.INFO: ==21841== Lock acquired, processing the job...
[2025-01-13 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:32:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:32:03] Production.INFO: Total Charge 0
[2025-01-13 03:32:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 03:32:03] Production.INFO: count ==21
[2025-01-13 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-13 03:32:03] Production.INFO: count ==21
[2025-01-13 03:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236206') start
[2025-01-13 03:32:03] Production.ERROR: done
[2025-01-13 03:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236206') end
[2025-01-13 03:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:32:03] Production.INFO: 1
[2025-01-13 03:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:32:03] Production.INFO: Account Balance End.
[2025-01-13 03:32:03] Production.INFO: ==21841== Releasing lock...
[2025-01-13 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:32:03] Production.ERROR: CronJobId end 12
[2025-01-13 03:32:03] Production.INFO: ==21837== Releasing lock...
[2025-01-13 03:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:32:03] Production.ERROR: done
[2025-01-13 03:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:32:04
[end_date_ymd] => 2025-01-13 03:32:04
[RateCDR] => 1
)
[2025-01-13 03: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-13 00:32:04' and `end` < '2025-01-13 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-13 03:32:11] Production.ERROR: CronJobId end10
[2025-01-13 03:32:11] Production.INFO: ==21835== Releasing lock...
[2025-01-13 03:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:32:13] Production.INFO: call_cost start
[2025-01-13 03:32:13] Production.INFO: call_cost end
[2025-01-13 03:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:32:13] Production.INFO: ==21831== Releasing lock...
[2025-01-13 03:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:32:17] Production.INFO: count ==188
[2025-01-13 03:32:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:32:04 - End Time 2025-01-13 03:32:04
[2025-01-13 03:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236207', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236207', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236207', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236207', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:32:17] Production.INFO: ProcessCDR(1,14236207,1,1,2)
[2025-01-13 03:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236207', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236207', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:32:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:32:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:32:20] Production.INFO: ==21839== Releasing lock...
[2025-01-13 03:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:32:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:33:01] Production.INFO: ==21914== Lock acquired, processing the job...
[2025-01-13 08:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:33:01] Production.INFO: neon service started
[2025-01-13 08:33:01] Production.INFO: neon service started
[2025-01-13 08:33:01] Production.INFO: ==21914== Releasing lock...
[2025-01-13 08:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:33:02] Production.INFO: ==21920== Lock acquired, processing the job...
[2025-01-13 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:33:02] Production.INFO: ==21922== Lock acquired, processing the job...
[2025-01-13 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:33:02] Production.INFO: ==21922== Releasing lock...
[2025-01-13 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:33:02] Production.INFO: ==21920== Releasing lock...
[2025-01-13 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:33:03] Production.INFO: ==21925== Lock acquired, processing the job...
[2025-01-13 03:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:33:03] Production.INFO: ==21927== Lock acquired, processing the job...
[2025-01-13 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:33:03] Production.INFO: ==21929== Lock acquired, processing the job...
[2025-01-13 03:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:33:03] Production.INFO: ==21931== Lock acquired, processing the job...
[2025-01-13 03:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:33:03] Production.INFO: ==21927== Releasing lock...
[2025-01-13 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:33:04] Production.INFO: ==21933== Lock acquired, processing the job...
[2025-01-13 03:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:33:04] Production.INFO: Account Balance Start.
[2025-01-13 03:33:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:33:04] Production.INFO: 117
[2025-01-13 03:33:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:33:04] Production.INFO: ==21935== Lock acquired, processing the job...
[2025-01-13 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:33:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:33:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:33:04] Production.INFO: count ==21
[2025-01-13 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:33:04] Production.INFO: count ==21
[2025-01-13 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236211') start
[2025-01-13 03:33:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236211') end
[2025-01-13 03:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:33:04] Production.INFO: 1
[2025-01-13 03:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:33:04] Production.ERROR: done
[2025-01-13 03:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:33:04] Production.INFO: ==21935== Releasing lock...
[2025-01-13 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:33:04] Production.INFO: Total Charge 0
[2025-01-13 03:33:04] Production.INFO: CreateAllLog End
[2025-01-13 03:33:04] Production.ERROR: done
[2025-01-13 03:33:04] Production.INFO: Account Balance End.
[2025-01-13 03:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:33:04] Production.INFO: ==21931== Releasing lock...
[2025-01-13 03:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:33:05
[end_date_ymd] => 2025-01-13 03:33:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:33:05' and `end` < '2025-01-13 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-13 03:33:11] Production.ERROR: CronJobId end10
[2025-01-13 03:33:11] Production.INFO: ==21929== Releasing lock...
[2025-01-13 03:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:33:12] Production.INFO: call_cost start
[2025-01-13 03:33:12] Production.INFO: call_cost end
[2025-01-13 03:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:33:13] Production.INFO: ==21925== Releasing lock...
[2025-01-13 03:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:33:19] Production.INFO: count ==188
[2025-01-13 03:33:19] Production.ERROR: pbx CDR StartTime 2025-01-13 00:33:05 - End Time 2025-01-13 03:33:05
[2025-01-13 03:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236212', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236212', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236212', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236212', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:33:19] Production.INFO: ProcessCDR(1,14236212,1,1,2)
[2025-01-13 03:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236212', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236212', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:33:22] Production.INFO: ==21933== Releasing lock...
[2025-01-13 03:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:33:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:34:01] Production.INFO: ==22038== Lock acquired, processing the job...
[2025-01-13 08:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:34:01] Production.INFO: neon service started
[2025-01-13 08:34:01] Production.INFO: neon service started
[2025-01-13 08:34:01] Production.INFO: ==22038== Releasing lock...
[2025-01-13 08:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:34:01] Production.INFO: ==22042== Lock acquired, processing the job...
[2025-01-13 08:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:34:01] Production.INFO: ==22042== Releasing lock...
[2025-01-13 08:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:34:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:34:01] Production.INFO: ==22040== Lock acquired, processing the job...
[2025-01-13 03:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:34:02] Production.INFO: ==22040== Releasing lock...
[2025-01-13 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:34:02] Production.INFO: ==22045== Lock acquired, processing the job...
[2025-01-13 03:34:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:34:03] Production.INFO: ==22049== Lock acquired, processing the job...
[2025-01-13 03:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:34:03] Production.INFO: ==22053== Lock acquired, processing the job...
[2025-01-13 03:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:34:03] Production.INFO: ==22047== Lock acquired, processing the job...
[2025-01-13 03:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:34:03] Production.INFO: ==22051== Lock acquired, processing the job...
[2025-01-13 03:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:34:03] Production.INFO: ==22055== Lock acquired, processing the job...
[2025-01-13 03:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:34:03] Production.INFO: Account Balance Start.
[2025-01-13 03:34:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:34:03] Production.INFO: 117
[2025-01-13 03:34:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 03:34:03] Production.INFO: count ==21
[2025-01-13 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-13 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:34:03] Production.INFO: count ==21
[2025-01-13 03:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236215') start
[2025-01-13 03:34:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:34:03] Production.ERROR: done
[2025-01-13 03:34:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236215') end
[2025-01-13 03:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:34:03] Production.INFO: 1
[2025-01-13 03:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:34:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:34:03] Production.INFO: ==22047== Releasing lock...
[2025-01-13 03:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:34:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:34:03] Production.INFO: ==22055== Releasing lock...
[2025-01-13 03:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:34:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:34:03] Production.ERROR: done
[2025-01-13 03:34:03] Production.INFO: Total Charge 0
[2025-01-13 03:34:03] Production.INFO: CreateAllLog End
[2025-01-13 03:34:04] Production.INFO: Account Balance End.
[2025-01-13 03:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:34:04] Production.INFO: ==22051== Releasing lock...
[2025-01-13 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:34:04
[end_date_ymd] => 2025-01-13 03:34:04
[RateCDR] => 1
)
[2025-01-13 03:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:34:04' and `end` < '2025-01-13 03:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:34:09] Production.ERROR: CronJobId end10
[2025-01-13 03:34:09] Production.INFO: ==22049== Releasing lock...
[2025-01-13 03:34:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:34:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:34:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:34:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:34:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:34:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:34:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:34:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:34:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:34:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:34:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:34:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:34:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:34:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:34:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:34:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:34:12] Production.INFO: call_cost start
[2025-01-13 03:34:12] Production.INFO: call_cost end
[2025-01-13 03:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:34:13] Production.INFO: ==22045== Releasing lock...
[2025-01-13 03:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:34:17] Production.INFO: count ==188
[2025-01-13 03:34:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:34:04 - End Time 2025-01-13 03:34:04
[2025-01-13 03:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236217', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236217', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236217', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236217', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:34:17] Production.INFO: ProcessCDR(1,14236217,1,1,2)
[2025-01-13 03:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236217', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236217', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:34:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:34:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:34:20] Production.INFO: ==22053== Releasing lock...
[2025-01-13 03:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:34:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:35:01] Production.INFO: ==22119== Lock acquired, processing the job...
[2025-01-13 08:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:35:01] Production.INFO: neon service started
[2025-01-13 08:35:01] Production.INFO: neon service started
[2025-01-13 08:35:01] Production.INFO: ==22119== Releasing lock...
[2025-01-13 08:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:35:02] Production.INFO: ==22123== Lock acquired, processing the job...
[2025-01-13 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:35:02] Production.INFO: ==22123== Releasing lock...
[2025-01-13 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:35:02] Production.INFO: ==22121== Lock acquired, processing the job...
[2025-01-13 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:35:02] Production.INFO: ==22121== Releasing lock...
[2025-01-13 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:35:03] Production.INFO: ==22132== Lock acquired, processing the job...
[2025-01-13 03:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:35:03] Production.INFO: ==22134== Lock acquired, processing the job...
[2025-01-13 03:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:35:03] Production.INFO: Account Balance Start.
[2025-01-13 03:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:35:03] Production.INFO: 117
[2025-01-13 03:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:35:03] Production.INFO: ==22126== Lock acquired, processing the job...
[2025-01-13 03:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:35:03] Production.INFO: ==22128== Lock acquired, processing the job...
[2025-01-13 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:35:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:35:03] Production.INFO: ==22130== Lock acquired, processing the job...
[2025-01-13 03:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:35:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:35:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:35:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:35:03] Production.INFO: Total Charge 0
[2025-01-13 03:35:04] Production.INFO: ==22136== Lock acquired, processing the job...
[2025-01-13 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:35:04] Production.INFO: CreateAllLog End
[2025-01-13 03:35:04] Production.ERROR: done
[2025-01-13 03:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:35:04] Production.ERROR: done
[2025-01-13 03:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:35:04] Production.INFO: ==22128== Releasing lock...
[2025-01-13 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:35:04] Production.INFO: Account Balance End.
[2025-01-13 03:35:04] Production.INFO: count ==21
[2025-01-13 03:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:35:04] Production.INFO: ==22132== Releasing lock...
[2025-01-13 03:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:35:04] Production.INFO: count ==21
[2025-01-13 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236221') start
[2025-01-13 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236221') end
[2025-01-13 03:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:35:04] Production.INFO: 1
[2025-01-13 03:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:35:04] Production.INFO: ==22136== Releasing lock...
[2025-01-13 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:35:05
[end_date_ymd] => 2025-01-13 03:35:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:35:05' and `end` < '2025-01-13 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-13 03:35:10] Production.ERROR: CronJobId end10
[2025-01-13 03:35:10] Production.INFO: ==22130== Releasing lock...
[2025-01-13 03:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:35:13] Production.INFO: call_cost start
[2025-01-13 03:35:13] Production.INFO: call_cost end
[2025-01-13 03:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:35:14] Production.INFO: ==22126== Releasing lock...
[2025-01-13 03:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:35:17] Production.INFO: count ==188
[2025-01-13 03:35:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:35:05 - End Time 2025-01-13 03:35:05
[2025-01-13 03:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236222', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236222', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236222', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236222', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:35:17] Production.INFO: ProcessCDR(1,14236222,1,1,2)
[2025-01-13 03:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236222', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236222', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:35:20] Production.INFO: ==22134== Releasing lock...
[2025-01-13 03:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:35:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:36:02] Production.INFO: ==22196== Lock acquired, processing the job...
[2025-01-13 08:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:36:02] Production.INFO: neon service started
[2025-01-13 08:36:02] Production.INFO: neon service started
[2025-01-13 08:36:02] Production.INFO: ==22196== Releasing lock...
[2025-01-13 08:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:36:02] Production.INFO: ==22198== Lock acquired, processing the job...
[2025-01-13 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:36:02] Production.INFO: ==22198== Releasing lock...
[2025-01-13 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:36:03] Production.INFO: ==22200== Lock acquired, processing the job...
[2025-01-13 08:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:36:03] Production.INFO: ==22200== Releasing lock...
[2025-01-13 08:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:36:03] Production.INFO: ==22207== Lock acquired, processing the job...
[2025-01-13 03:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:36:03] Production.INFO: ==22203== Lock acquired, processing the job...
[2025-01-13 03:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:36:03] Production.INFO: ==22205== Lock acquired, processing the job...
[2025-01-13 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:36:03] Production.INFO: ==22213== Lock acquired, processing the job...
[2025-01-13 03:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:36:04] Production.INFO: ==22209== Lock acquired, processing the job...
[2025-01-13 03:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:36:04] Production.INFO: ==22211== Lock acquired, processing the job...
[2025-01-13 03:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 03:36:04] Production.INFO: count ==21
[2025-01-13 03:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 03:36:04] Production.INFO: count ==21
[2025-01-13 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236224') start
[2025-01-13 03:36:04] Production.INFO: Account Balance Start.
[2025-01-13 03:36:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:36:04] Production.INFO: 117
[2025-01-13 03:36:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236224') end
[2025-01-13 03:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:36:04] Production.INFO: 1
[2025-01-13 03:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:36:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:36:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:36:04] Production.INFO: ==22205== Releasing lock...
[2025-01-13 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:36:04] Production.INFO: ==22213== Releasing lock...
[2025-01-13 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:36:04] Production.ERROR: done
[2025-01-13 03:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:36:04] Production.ERROR: done
[2025-01-13 03:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:36:04] Production.INFO: Total Charge 0
[2025-01-13 03:36:05] Production.INFO: CreateAllLog End
[2025-01-13 03:36:05] Production.INFO: Account Balance End.
[2025-01-13 03:36:05] Production.ERROR: CronJobId end 12
[2025-01-13 03:36:05] Production.INFO: ==22209== Releasing lock...
[2025-01-13 03:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:36:05
[end_date_ymd] => 2025-01-13 03:36:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:36:05' and `end` < '2025-01-13 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-13 03:36:11] Production.ERROR: CronJobId end10
[2025-01-13 03:36:11] Production.INFO: ==22207== Releasing lock...
[2025-01-13 03:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:36:14] Production.INFO: call_cost start
[2025-01-13 03:36:14] Production.INFO: call_cost end
[2025-01-13 03:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:36:14] Production.INFO: ==22203== Releasing lock...
[2025-01-13 03:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:36:18] Production.INFO: count ==188
[2025-01-13 03:36:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:36:05 - End Time 2025-01-13 03:36:05
[2025-01-13 03:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236227', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236227', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236227', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236227', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:36:18] Production.INFO: ProcessCDR(1,14236227,1,1,2)
[2025-01-13 03:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236227', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236227', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:36:21] Production.INFO: ==22211== Releasing lock...
[2025-01-13 03:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:36:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:37:01] Production.INFO: ==22272== Lock acquired, processing the job...
[2025-01-13 08:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:37:01] Production.INFO: neon service started
[2025-01-13 08:37:01] Production.INFO: neon service started
[2025-01-13 08:37:01] Production.INFO: ==22272== Releasing lock...
[2025-01-13 08:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:37:02] Production.INFO: ==22276== Lock acquired, processing the job...
[2025-01-13 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:37:02] Production.INFO: ==22276== Releasing lock...
[2025-01-13 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:37:02] Production.INFO: ==22274== Lock acquired, processing the job...
[2025-01-13 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:37:02] Production.INFO: ==22274== Releasing lock...
[2025-01-13 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:37:03] Production.INFO: ==22283== Lock acquired, processing the job...
[2025-01-13 03:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:37:03] Production.INFO: ==22287== Lock acquired, processing the job...
[2025-01-13 03:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:37:03] Production.INFO: ==22279== Lock acquired, processing the job...
[2025-01-13 03:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:37:03] Production.INFO: ==22281== Lock acquired, processing the job...
[2025-01-13 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:37:03] Production.INFO: ==22285== Lock acquired, processing the job...
[2025-01-13 03:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:37:03] Production.INFO: ==22289== Lock acquired, processing the job...
[2025-01-13 03:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:37:03] Production.INFO: Account Balance Start.
[2025-01-13 03:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:37:03] Production.INFO: 117
[2025-01-13 03:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:37:03] Production.ERROR: done
[2025-01-13 03:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:37:03] Production.INFO: count ==21
[2025-01-13 03: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-13 03:37:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:37:03] Production.INFO: count ==21
[2025-01-13 03:37:03] Production.INFO: ==22281== Releasing lock...
[2025-01-13 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:37:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236231') start
[2025-01-13 03:37:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:37:04] Production.ERROR: done
[2025-01-13 03:37:04] Production.INFO: Total Charge 0
[2025-01-13 03:37:04] Production.INFO: CreateAllLog End
[2025-01-13 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236231') end
[2025-01-13 03:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:37:04] Production.INFO: 1
[2025-01-13 03:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:37:04] Production.INFO: ==22289== Releasing lock...
[2025-01-13 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:37:04] Production.INFO: Account Balance End.
[2025-01-13 03:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:37:04] Production.INFO: ==22285== Releasing lock...
[2025-01-13 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:37:05
[end_date_ymd] => 2025-01-13 03:37:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:37:05' and `end` < '2025-01-13 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-13 03:37:11] Production.ERROR: CronJobId end10
[2025-01-13 03:37:11] Production.INFO: ==22283== Releasing lock...
[2025-01-13 03:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:37:13] Production.INFO: call_cost start
[2025-01-13 03:37:13] Production.INFO: call_cost end
[2025-01-13 03:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:37:13] Production.INFO: ==22279== Releasing lock...
[2025-01-13 03:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:37:17] Production.INFO: count ==188
[2025-01-13 03:37:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:37:05 - End Time 2025-01-13 03:37:05
[2025-01-13 03:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236232', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236232', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236232', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236232', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:37:17] Production.INFO: ProcessCDR(1,14236232,1,1,2)
[2025-01-13 03:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236232', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236232', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:37:21] Production.INFO: ==22287== Releasing lock...
[2025-01-13 03:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:37:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:38:02] Production.INFO: ==22349== Lock acquired, processing the job...
[2025-01-13 08:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:38:02] Production.INFO: neon service started
[2025-01-13 08:38:02] Production.INFO: neon service started
[2025-01-13 08:38:02] Production.INFO: ==22349== Releasing lock...
[2025-01-13 08:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:38:02] Production.INFO: ==22351== Lock acquired, processing the job...
[2025-01-13 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:38:02] Production.INFO: ==22351== Releasing lock...
[2025-01-13 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:38:02] Production.INFO: ==22353== Lock acquired, processing the job...
[2025-01-13 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:38:02] Production.INFO: ==22353== Releasing lock...
[2025-01-13 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:38:03] Production.INFO: ==22363== Lock acquired, processing the job...
[2025-01-13 03:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:38:03] Production.INFO: ==22355== Lock acquired, processing the job...
[2025-01-13 03:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:38:03] Production.INFO: ==22361== Lock acquired, processing the job...
[2025-01-13 03:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:38:03] Production.INFO: ==22359== Lock acquired, processing the job...
[2025-01-13 03:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:38:03] Production.INFO: ==22357== Lock acquired, processing the job...
[2025-01-13 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:38:03] Production.INFO: ==22365== Lock acquired, processing the job...
[2025-01-13 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:38:03] Production.INFO: Account Balance Start.
[2025-01-13 03:38:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:38:03] Production.INFO: 117
[2025-01-13 03:38:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:38:03] Production.ERROR: done
[2025-01-13 03:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:38:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:38:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:38:04] Production.INFO: count ==21
[2025-01-13 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-13 03:38:04] Production.INFO: count ==21
[2025-01-13 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236236') start
[2025-01-13 03:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:38:04] Production.ERROR: done
[2025-01-13 03:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:38:04] Production.INFO: ==22357== Releasing lock...
[2025-01-13 03:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236236') end
[2025-01-13 03:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:38:04] Production.INFO: 1
[2025-01-13 03:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:38:04] Production.INFO: Total Charge 0
[2025-01-13 03:38:04] Production.INFO: CreateAllLog End
[2025-01-13 03:38:04] Production.INFO: ==22365== Releasing lock...
[2025-01-13 03:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:38:04] Production.INFO: Account Balance End.
[2025-01-13 03:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:38:04] Production.INFO: ==22361== Releasing lock...
[2025-01-13 03:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:38:04
[end_date_ymd] => 2025-01-13 03:38:04
[RateCDR] => 1
)
[2025-01-13 03:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:38:04' and `end` < '2025-01-13 03:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:38:11] Production.ERROR: CronJobId end10
[2025-01-13 03:38:11] Production.INFO: ==22359== Releasing lock...
[2025-01-13 03:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:38:12] Production.INFO: call_cost start
[2025-01-13 03:38:12] Production.INFO: call_cost end
[2025-01-13 03:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:38:13] Production.INFO: ==22355== Releasing lock...
[2025-01-13 03:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:38:17] Production.INFO: count ==188
[2025-01-13 03:38:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:38:04 - End Time 2025-01-13 03:38:04
[2025-01-13 03:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236237', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236237', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236237', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236237', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:38:17] Production.INFO: ProcessCDR(1,14236237,1,1,2)
[2025-01-13 03:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236237', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236237', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:38:20] Production.INFO: ==22363== Releasing lock...
[2025-01-13 03:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:38:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:39:01] Production.INFO: ==22424== Lock acquired, processing the job...
[2025-01-13 08:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:39:01] Production.INFO: neon service started
[2025-01-13 08:39:01] Production.INFO: neon service started
[2025-01-13 08:39:01] Production.INFO: ==22424== Releasing lock...
[2025-01-13 08:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:39:01] Production.INFO: ==22429== Lock acquired, processing the job...
[2025-01-13 08:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:39:01] Production.INFO: ==22429== Releasing lock...
[2025-01-13 08:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:39:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:39:02] Production.INFO: ==22427== Lock acquired, processing the job...
[2025-01-13 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:39:02] Production.INFO: ==22427== Releasing lock...
[2025-01-13 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:39:03] Production.INFO: ==22431== Lock acquired, processing the job...
[2025-01-13 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:39:03] Production.INFO: ==22435== Lock acquired, processing the job...
[2025-01-13 03:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:39:03] Production.INFO: ==22437== Lock acquired, processing the job...
[2025-01-13 03:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:39:03] Production.INFO: Account Balance Start.
[2025-01-13 03:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:39:03] Production.INFO: 117
[2025-01-13 03:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:39:03] Production.INFO: ==22433== Lock acquired, processing the job...
[2025-01-13 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:39:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:39:03] Production.INFO: ==22439== Lock acquired, processing the job...
[2025-01-13 03:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:39:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:39:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:39:03] Production.INFO: Total Charge 0
[2025-01-13 03:39:03] Production.INFO: ==22441== Lock acquired, processing the job...
[2025-01-13 03:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:39:03] Production.INFO: CreateAllLog End
[2025-01-13 03:39:03] Production.INFO: ==22433== Releasing lock...
[2025-01-13 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:39:03] Production.INFO: Account Balance End.
[2025-01-13 03:39:03] Production.ERROR: CronJobId end 12
[2025-01-13 03:39:03] Production.INFO: ==22437== Releasing lock...
[2025-01-13 03:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 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-13 03:39:03] Production.ERROR: done
[2025-01-13 03:39:03] Production.INFO: count ==21
[2025-01-13 03:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 03:39:03] Production.INFO: count ==21
[2025-01-13 03:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236241') start
[2025-01-13 03:39:04] Production.ERROR: done
[2025-01-13 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236241') end
[2025-01-13 03:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:39:04] Production.INFO: 1
[2025-01-13 03:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:39:04] Production.INFO: ==22441== Releasing lock...
[2025-01-13 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:39:04
[end_date_ymd] => 2025-01-13 03:39:04
[RateCDR] => 1
)
[2025-01-13 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-13 00:39:04' and `end` < '2025-01-13 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-13 03:39:10] Production.ERROR: CronJobId end10
[2025-01-13 03:39:10] Production.INFO: ==22435== Releasing lock...
[2025-01-13 03:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:39:13] Production.INFO: call_cost start
[2025-01-13 03:39:13] Production.INFO: call_cost end
[2025-01-13 03:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:39:13] Production.INFO: ==22431== Releasing lock...
[2025-01-13 03:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:39:18] Production.INFO: count ==188
[2025-01-13 03:39:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:39:04 - End Time 2025-01-13 03:39:04
[2025-01-13 03:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236242', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236242', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236242', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236242', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:39:18] Production.INFO: ProcessCDR(1,14236242,1,1,2)
[2025-01-13 03:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236242', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236242', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:39:21] Production.INFO: ==22439== Releasing lock...
[2025-01-13 03:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:39:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:40:02] Production.INFO: ==22503== Lock acquired, processing the job...
[2025-01-13 08:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:40:02] Production.INFO: neon service started
[2025-01-13 08:40:02] Production.INFO: neon service started
[2025-01-13 08:40:02] Production.INFO: ==22503== Releasing lock...
[2025-01-13 08:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:40:02] Production.INFO: ==22505== Lock acquired, processing the job...
[2025-01-13 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:40:02] Production.INFO: ==22505== Releasing lock...
[2025-01-13 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:40:02] Production.INFO: ==22507== Lock acquired, processing the job...
[2025-01-13 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:40:02] Production.INFO: ==22507== Releasing lock...
[2025-01-13 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:40:03] Production.INFO: ==22511== Lock acquired, processing the job...
[2025-01-13 03:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:40:04] Production.INFO: ==22519== Lock acquired, processing the job...
[2025-01-13 03:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:40:04] Production.INFO: ==22509== Lock acquired, processing the job...
[2025-01-13 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 03:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:40:04] Production.INFO: ==22513== Lock acquired, processing the job...
[2025-01-13 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:40:04] Production.INFO: ==22524== Lock acquired, processing the job...
[2025-01-13 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:40:04] Production.ERROR: CronJob PID - 22511
[2025-01-13 03:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 03:40:04] Production.ERROR: CronJob ID - 5
[2025-01-13 03:40:04] Production.INFO: ==22515== Lock acquired, processing the job...
[2025-01-13 03:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 03:40:00
[2025-01-13 03:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:40:04] Production.ERROR: CronJob PID - 22519
[2025-01-13 03:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 03:40:04] Production.ERROR: CronJob ID - 16
[2025-01-13 03:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 03:40:00
[2025-01-13 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:40:04] Production.INFO: ==22517== Lock acquired, processing the job...
[2025-01-13 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:40:04] Production.INFO: ==22522== Lock acquired, processing the job...
[2025-01-13 03:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 03:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 03:40:04] Production.INFO: ==22509== Releasing lock...
[2025-01-13 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 03:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 03:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:40:04] Production.INFO: count ==21
[2025-01-13 03:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:40:04] Production.INFO: count ==21
[2025-01-13 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236244') start
[2025-01-13 03:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:40:04] Production.INFO: Account Balance Start.
[2025-01-13 03:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:40:04] Production.INFO: 117
[2025-01-13 03:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:40:04] Production.ERROR: done
[2025-01-13 03:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236244') end
[2025-01-13 03:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:40:04] Production.INFO: 1
[2025-01-13 03:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:40:04] Production.INFO: ==22524== Releasing lock...
[2025-01-13 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:40:04] Production.INFO: ==22513== Releasing lock...
[2025-01-13 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:40:04] Production.ERROR: done
[2025-01-13 03:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:40:04] Production.ERROR: done
[2025-01-13 03:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 03:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236248', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 03:40:04] Production.INFO: Total Charge 0
[2025-01-13 03:40:04] Production.INFO: CreateAllLog End
[2025-01-13 03:40:04] Production.INFO: Account Balance End.
[2025-01-13 03:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 03:40:05] Production.INFO: ==22517== Releasing lock...
[2025-01-13 03:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:40:05
[end_date_ymd] => 2025-01-13 03:40:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:40:05' and `end` < '2025-01-13 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-13 03:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236248', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 03:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 03:40:09] Production.INFO: ProcessCDR(1,14236248,1,1,2)
[2025-01-13 03:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236248,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236248,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:40:09] Production.INFO: ==22522== Releasing lock...
[2025-01-13 03:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 03:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 03:40:13] Production.ERROR: CronJobId end10
[2025-01-13 03:40:13] Production.INFO: ==22515== Releasing lock...
[2025-01-13 03:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:40:15] Production.INFO: call_cost start
[2025-01-13 03:40:15] Production.INFO: call_cost end
[2025-01-13 03:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:40:16] Production.INFO: ==22511== Releasing lock...
[2025-01-13 03:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:40:18] Production.INFO: count ==184
[2025-01-13 03:40:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:40:05 - End Time 2025-01-13 03:40:05
[2025-01-13 03:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236247', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236247', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236247', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236247', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:40:18] Production.INFO: ProcessCDR(1,14236247,1,1,2)
[2025-01-13 03:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236247', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236247', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:40:21] Production.INFO: ==22519== Releasing lock...
[2025-01-13 03:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:40:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:41:01] Production.INFO: ==22584== Lock acquired, processing the job...
[2025-01-13 08:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:41:01] Production.INFO: neon service started
[2025-01-13 08:41:01] Production.INFO: neon service started
[2025-01-13 08:41:01] Production.INFO: ==22584== Releasing lock...
[2025-01-13 08:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:41:01] Production.INFO: ==22588== Lock acquired, processing the job...
[2025-01-13 08:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:41:01] Production.INFO: ==22588== Releasing lock...
[2025-01-13 08:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:41:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:41:02] Production.INFO: ==22586== Lock acquired, processing the job...
[2025-01-13 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:41:02] Production.INFO: ==22586== Releasing lock...
[2025-01-13 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:41:03] Production.INFO: ==22596== Lock acquired, processing the job...
[2025-01-13 03:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:41:03] Production.INFO: ==22598== Lock acquired, processing the job...
[2025-01-13 03:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:41:03] Production.INFO: Account Balance Start.
[2025-01-13 03:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:41:03] Production.INFO: 117
[2025-01-13 03:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:41:03] Production.INFO: ==22590== Lock acquired, processing the job...
[2025-01-13 03:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:41:03] Production.INFO: ==22594== Lock acquired, processing the job...
[2025-01-13 03:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:41:03] Production.INFO: ==22592== Lock acquired, processing the job...
[2025-01-13 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:41:03] Production.INFO: ==22600== Lock acquired, processing the job...
[2025-01-13 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:41:03] Production.ERROR: done
[2025-01-13 03:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:41:03] Production.INFO: Total Charge 0
[2025-01-13 03:41:03] Production.INFO: CreateAllLog End
[2025-01-13 03:41:03] Production.ERROR: done
[2025-01-13 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-13 03:41:03] Production.INFO: count ==21
[2025-01-13 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-13 03:41:03] Production.INFO: count ==21
[2025-01-13 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236252') start
[2025-01-13 03:41:03] Production.INFO: ==22592== Releasing lock...
[2025-01-13 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:41:03] Production.INFO: Account Balance End.
[2025-01-13 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236252') end
[2025-01-13 03:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:41:03] Production.INFO: 1
[2025-01-13 03:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:41:04] Production.INFO: ==22600== Releasing lock...
[2025-01-13 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:41:04] Production.INFO: ==22596== Releasing lock...
[2025-01-13 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:41:04
[end_date_ymd] => 2025-01-13 03:41:04
[RateCDR] => 1
)
[2025-01-13 03:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:41:04' and `end` < '2025-01-13 03:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:41:10] Production.ERROR: CronJobId end10
[2025-01-13 03:41:10] Production.INFO: ==22594== Releasing lock...
[2025-01-13 03:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:41:12] Production.INFO: call_cost start
[2025-01-13 03:41:12] Production.INFO: call_cost end
[2025-01-13 03:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:41:13] Production.INFO: ==22590== Releasing lock...
[2025-01-13 03:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:41:17] Production.INFO: count ==178
[2025-01-13 03:41:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:41:04 - End Time 2025-01-13 03:41:04
[2025-01-13 03:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236253', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236253', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236253', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236253', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:41:17] Production.INFO: ProcessCDR(1,14236253,1,1,2)
[2025-01-13 03:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236253', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236253', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:41:20] Production.INFO: ==22598== Releasing lock...
[2025-01-13 03:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:41:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:42:01] Production.INFO: ==22661== Lock acquired, processing the job...
[2025-01-13 08:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:42:01] Production.INFO: neon service started
[2025-01-13 08:42:01] Production.INFO: neon service started
[2025-01-13 08:42:01] Production.INFO: ==22661== Releasing lock...
[2025-01-13 08:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:42:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 03:42:02] Production.INFO: ==22663== Lock acquired, processing the job...
[2025-01-13 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:42:02] Production.INFO: ==22663== Releasing lock...
[2025-01-13 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:42:02] Production.INFO: ==22665== Lock acquired, processing the job...
[2025-01-13 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:42:02] Production.INFO: ==22665== Releasing lock...
[2025-01-13 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:42:03] Production.INFO: ==22669== Lock acquired, processing the job...
[2025-01-13 03:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:42:03] Production.INFO: ==22674== Lock acquired, processing the job...
[2025-01-13 03:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:42:03] Production.INFO: ==22676== Lock acquired, processing the job...
[2025-01-13 03:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:42:03] Production.INFO: Account Balance Start.
[2025-01-13 03:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:42:03] Production.INFO: 117
[2025-01-13 03:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:42:03] Production.INFO: ==22667== Lock acquired, processing the job...
[2025-01-13 03:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:42:03] Production.INFO: ==22671== Lock acquired, processing the job...
[2025-01-13 03:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:42:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:42:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:42:03] Production.INFO: ==22678== Lock acquired, processing the job...
[2025-01-13 03:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:42:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:42:03] Production.INFO: ==22669== Releasing lock...
[2025-01-13 03:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:42:03] Production.ERROR: done
[2025-01-13 03:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:42:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 03: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-13 03:42:04] Production.INFO: count ==21
[2025-01-13 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-13 03:42:04] Production.INFO: Total Charge 0
[2025-01-13 03:42:04] Production.INFO: count ==21
[2025-01-13 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236257') start
[2025-01-13 03:42:04] Production.INFO: CreateAllLog End
[2025-01-13 03:42:04] Production.ERROR: done
[2025-01-13 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236257') end
[2025-01-13 03:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:42:04] Production.INFO: 1
[2025-01-13 03:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:42:04] Production.INFO: Account Balance End.
[2025-01-13 03:42:04] Production.INFO: ==22678== Releasing lock...
[2025-01-13 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:42:04] Production.INFO: ==22674== Releasing lock...
[2025-01-13 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:42:05
[end_date_ymd] => 2025-01-13 03:42:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:42:05' and `end` < '2025-01-13 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-13 03:42:11] Production.ERROR: CronJobId end10
[2025-01-13 03:42:11] Production.INFO: ==22671== Releasing lock...
[2025-01-13 03:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:42:14] Production.INFO: call_cost start
[2025-01-13 03:42:14] Production.INFO: call_cost end
[2025-01-13 03:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:42:15] Production.INFO: ==22667== Releasing lock...
[2025-01-13 03:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:42:17] Production.INFO: count ==178
[2025-01-13 03:42:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:42:05 - End Time 2025-01-13 03:42:05
[2025-01-13 03:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236258', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236258', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236258', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236258', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:42:17] Production.INFO: ProcessCDR(1,14236258,1,1,2)
[2025-01-13 03:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236258', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236258', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:42:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:42:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:42:20] Production.INFO: ==22676== Releasing lock...
[2025-01-13 03:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:42:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:43:01] Production.INFO: ==22736== Lock acquired, processing the job...
[2025-01-13 08:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:43:01] Production.INFO: neon service started
[2025-01-13 08:43:01] Production.INFO: neon service started
[2025-01-13 08:43:01] Production.INFO: ==22736== Releasing lock...
[2025-01-13 08:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:43:02] Production.INFO: ==22738== Lock acquired, processing the job...
[2025-01-13 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:43:02] Production.INFO: ==22740== Lock acquired, processing the job...
[2025-01-13 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:43:02] Production.INFO: ==22740== Releasing lock...
[2025-01-13 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:43:02] Production.INFO: ==22738== Releasing lock...
[2025-01-13 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:43:03] Production.INFO: ==22745== Lock acquired, processing the job...
[2025-01-13 03:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:43:03] Production.INFO: ==22749== Lock acquired, processing the job...
[2025-01-13 03:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:43:03] Production.INFO: ==22753== Lock acquired, processing the job...
[2025-01-13 03:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:43:03] Production.INFO: ==22747== Lock acquired, processing the job...
[2025-01-13 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:43:03] Production.INFO: ==22751== Lock acquired, processing the job...
[2025-01-13 03:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:43:03] Production.INFO: ==22755== Lock acquired, processing the job...
[2025-01-13 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:43:03] Production.ERROR: done
[2025-01-13 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-13 03:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:43:03] Production.INFO: count ==21
[2025-01-13 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-13 03:43:03] Production.INFO: count ==21
[2025-01-13 03:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236261') start
[2025-01-13 03:43:03] Production.INFO: Account Balance Start.
[2025-01-13 03:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:43:03] Production.INFO: 117
[2025-01-13 03:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:43:03] Production.ERROR: done
[2025-01-13 03:43:03] Production.INFO: ==22747== Releasing lock...
[2025-01-13 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236261') end
[2025-01-13 03:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:43:03] Production.INFO: 1
[2025-01-13 03:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:43:03] Production.INFO: ==22755== Releasing lock...
[2025-01-13 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:43:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:43:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:43:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:43:04] Production.INFO: Total Charge 0
[2025-01-13 03:43:04] Production.INFO: CreateAllLog End
[2025-01-13 03:43:04] Production.INFO: Account Balance End.
[2025-01-13 03:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:43:04] Production.INFO: ==22751== Releasing lock...
[2025-01-13 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:43:05
[end_date_ymd] => 2025-01-13 03:43:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:43:05' and `end` < '2025-01-13 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-13 03:43:11] Production.ERROR: CronJobId end10
[2025-01-13 03:43:11] Production.INFO: ==22749== Releasing lock...
[2025-01-13 03:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:43:13] Production.INFO: call_cost start
[2025-01-13 03:43:13] Production.INFO: call_cost end
[2025-01-13 03:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:43:13] Production.INFO: ==22745== Releasing lock...
[2025-01-13 03:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:43:18] Production.INFO: count ==178
[2025-01-13 03:43:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:43:05 - End Time 2025-01-13 03:43:05
[2025-01-13 03:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236263', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236263', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236263', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236263', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:43:18] Production.INFO: ProcessCDR(1,14236263,1,1,2)
[2025-01-13 03:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236263', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236263', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:43:21] Production.INFO: ==22753== Releasing lock...
[2025-01-13 03:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:43:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:44:01] Production.INFO: ==22823== Lock acquired, processing the job...
[2025-01-13 08:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:44:01] Production.INFO: neon service started
[2025-01-13 08:44:01] Production.INFO: neon service started
[2025-01-13 08:44:01] Production.INFO: ==22823== Releasing lock...
[2025-01-13 08:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:44:02] Production.INFO: ==22827== Lock acquired, processing the job...
[2025-01-13 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:44:02] Production.INFO: ==22827== Releasing lock...
[2025-01-13 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:44:02] Production.INFO: ==22825== Lock acquired, processing the job...
[2025-01-13 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:44:02] Production.INFO: ==22825== Releasing lock...
[2025-01-13 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:44:03] Production.INFO: ==22830== Lock acquired, processing the job...
[2025-01-13 03:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:44:03] Production.INFO: ==22832== Lock acquired, processing the job...
[2025-01-13 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:44:03] Production.INFO: ==22836== Lock acquired, processing the job...
[2025-01-13 03:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:44:03] Production.INFO: ==22838== Lock acquired, processing the job...
[2025-01-13 03:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:44:03] Production.INFO: ==22834== Lock acquired, processing the job...
[2025-01-13 03:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:44:03] Production.INFO: Account Balance Start.
[2025-01-13 03:44:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:44:03] Production.INFO: 117
[2025-01-13 03:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:44:03] Production.INFO: ==22840== Lock acquired, processing the job...
[2025-01-13 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:44:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:44:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:44:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:44:03] Production.INFO: count ==21
[2025-01-13 03:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:44:04] Production.INFO: count ==21
[2025-01-13 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236267') start
[2025-01-13 03:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:44:04] Production.ERROR: done
[2025-01-13 03:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:44:04] Production.INFO: ==22832== Releasing lock...
[2025-01-13 03:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:44:04] Production.INFO: Total Charge 0
[2025-01-13 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236267') end
[2025-01-13 03:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:44:04] Production.INFO: 1
[2025-01-13 03:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:44:04] Production.INFO: CreateAllLog End
[2025-01-13 03:44:04] Production.INFO: ==22840== Releasing lock...
[2025-01-13 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:44:04] Production.ERROR: done
[2025-01-13 03:44:04] Production.INFO: Account Balance End.
[2025-01-13 03:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:44:04] Production.INFO: ==22836== Releasing lock...
[2025-01-13 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:44:05
[end_date_ymd] => 2025-01-13 03:44:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:44:05' and `end` < '2025-01-13 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-13 03:44:11] Production.ERROR: CronJobId end10
[2025-01-13 03:44:11] Production.INFO: ==22834== Releasing lock...
[2025-01-13 03:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:44:12] Production.INFO: call_cost start
[2025-01-13 03:44:12] Production.INFO: call_cost end
[2025-01-13 03:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:44:13] Production.INFO: ==22830== Releasing lock...
[2025-01-13 03:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:44:18] Production.INFO: count ==178
[2025-01-13 03:44:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:44:05 - End Time 2025-01-13 03:44:05
[2025-01-13 03:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236268', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236268', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236268', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236268', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:44:18] Production.INFO: ProcessCDR(1,14236268,1,1,2)
[2025-01-13 03:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236268', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236268', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:44:21] Production.INFO: ==22838== Releasing lock...
[2025-01-13 03:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:44:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:45:02] Production.INFO: ==22908== Lock acquired, processing the job...
[2025-01-13 08:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:45:02] Production.INFO: neon service started
[2025-01-13 08:45:02] Production.INFO: neon service started
[2025-01-13 08:45:02] Production.INFO: ==22908== Releasing lock...
[2025-01-13 08:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:45:02] Production.INFO: ==22912== Lock acquired, processing the job...
[2025-01-13 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:45:02] Production.INFO: ==22912== Releasing lock...
[2025-01-13 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:45:02] Production.INFO: ==22910== Lock acquired, processing the job...
[2025-01-13 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:45:03] Production.INFO: ==22910== Releasing lock...
[2025-01-13 03:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:45:03] Production.INFO: ==22920== Lock acquired, processing the job...
[2025-01-13 03:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:45:03] Production.INFO: ==22922== Lock acquired, processing the job...
[2025-01-13 03:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:45:04] Production.INFO: ==22914== Lock acquired, processing the job...
[2025-01-13 03:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:45:04] Production.INFO: Account Balance Start.
[2025-01-13 03:45:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:45:04] Production.INFO: 117
[2025-01-13 03:45:04] Production.INFO: ==22916== Lock acquired, processing the job...
[2025-01-13 03:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:45:04] Production.INFO: ==22918== Lock acquired, processing the job...
[2025-01-13 03:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:45:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:45:04] Production.INFO: ==22924== Lock acquired, processing the job...
[2025-01-13 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:45:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:45:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:45:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:45:04] Production.ERROR: done
[2025-01-13 03:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:45:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:45:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:45:04] Production.INFO: count ==21
[2025-01-13 03:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:45:04] Production.INFO: count ==21
[2025-01-13 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236272') start
[2025-01-13 03:45:04] Production.INFO: Total Charge 0
[2025-01-13 03:45:04] Production.INFO: CreateAllLog End
[2025-01-13 03:45:04] Production.INFO: ==22916== Releasing lock...
[2025-01-13 03:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:45:04] Production.ERROR: done
[2025-01-13 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236272') end
[2025-01-13 03:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:45:04] Production.INFO: 1
[2025-01-13 03:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:45:04] Production.INFO: ==22924== Releasing lock...
[2025-01-13 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:45:04] Production.INFO: Account Balance End.
[2025-01-13 03:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:45:04] Production.INFO: ==22920== Releasing lock...
[2025-01-13 03:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:45:05
[end_date_ymd] => 2025-01-13 03:45:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:45:05' and `end` < '2025-01-13 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-13 03:45:12] Production.ERROR: CronJobId end10
[2025-01-13 03:45:12] Production.INFO: ==22918== Releasing lock...
[2025-01-13 03:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:45:13] Production.INFO: call_cost start
[2025-01-13 03:45:13] Production.INFO: call_cost end
[2025-01-13 03:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:45:14] Production.INFO: ==22914== Releasing lock...
[2025-01-13 03:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:45:18] Production.INFO: count ==178
[2025-01-13 03:45:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:45:05 - End Time 2025-01-13 03:45:05
[2025-01-13 03:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236273', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236273', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236273', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236273', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:45:18] Production.INFO: ProcessCDR(1,14236273,1,1,2)
[2025-01-13 03:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236273', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236273', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:45:21] Production.INFO: ==22922== Releasing lock...
[2025-01-13 03:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:45:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:46:01] Production.INFO: ==22991== Lock acquired, processing the job...
[2025-01-13 08:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:46:01] Production.INFO: neon service started
[2025-01-13 08:46:01] Production.INFO: neon service started
[2025-01-13 08:46:01] Production.INFO: ==22991== Releasing lock...
[2025-01-13 08:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:46:02] Production.INFO: ==22996== Lock acquired, processing the job...
[2025-01-13 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:46:02] Production.INFO: ==22996== Releasing lock...
[2025-01-13 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:46:02] Production.INFO: ==22994== Lock acquired, processing the job...
[2025-01-13 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:46:02] Production.INFO: ==22994== Releasing lock...
[2025-01-13 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:46:03] Production.INFO: ==23002== Lock acquired, processing the job...
[2025-01-13 03:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:46:03] Production.INFO: ==23004== Lock acquired, processing the job...
[2025-01-13 03:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:46:03] Production.INFO: Account Balance Start.
[2025-01-13 03:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:46:03] Production.INFO: 117
[2025-01-13 03:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:46:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:46:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:46:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:46:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:46:03] Production.INFO: ==22998== Lock acquired, processing the job...
[2025-01-13 03:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:46:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:46:03] Production.INFO: Total Charge 0
[2025-01-13 03:46:03] Production.INFO: ==23000== Lock acquired, processing the job...
[2025-01-13 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:46:03] Production.INFO: CreateAllLog End
[2025-01-13 03:46:03] Production.INFO: ==23006== Lock acquired, processing the job...
[2025-01-13 03:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:46:03] Production.INFO: Account Balance End.
[2025-01-13 03:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:46:03] Production.INFO: ==23008== Lock acquired, processing the job...
[2025-01-13 03:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:46:03] Production.ERROR: CronJobId end 12
[2025-01-13 03:46:03] Production.INFO: ==23004== Releasing lock...
[2025-01-13 03:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:46:03] Production.INFO: count ==21
[2025-01-13 03:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:46:03] Production.INFO: count ==21
[2025-01-13 03:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236277') start
[2025-01-13 03:46:04] Production.INFO: ==23000== Releasing lock...
[2025-01-13 03:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:46:04] Production.ERROR: done
[2025-01-13 03:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236277') end
[2025-01-13 03:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:46:04] Production.INFO: 1
[2025-01-13 03:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:46:04] Production.INFO: ==23008== Releasing lock...
[2025-01-13 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:46:04] Production.ERROR: done
[2025-01-13 03:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:46:05
[end_date_ymd] => 2025-01-13 03:46:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:46:05' and `end` < '2025-01-13 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-13 03:46:10] Production.ERROR: CronJobId end10
[2025-01-13 03:46:10] Production.INFO: ==23002== Releasing lock...
[2025-01-13 03:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:46:13] Production.INFO: call_cost start
[2025-01-13 03:46:13] Production.INFO: call_cost end
[2025-01-13 03:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:46:14] Production.INFO: ==22998== Releasing lock...
[2025-01-13 03:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:46:18] Production.INFO: count ==178
[2025-01-13 03:46:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:46:05 - End Time 2025-01-13 03:46:05
[2025-01-13 03:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236278', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236278', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236278', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236278', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:46:18] Production.INFO: ProcessCDR(1,14236278,1,1,2)
[2025-01-13 03:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236278', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236278', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:46:21] Production.INFO: ==23006== Releasing lock...
[2025-01-13 03:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:46:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:47:01] Production.INFO: ==23115== Lock acquired, processing the job...
[2025-01-13 08:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:47:02] Production.INFO: neon service started
[2025-01-13 08:47:02] Production.INFO: neon service started
[2025-01-13 08:47:02] Production.INFO: ==23115== Releasing lock...
[2025-01-13 08:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:47:02] Production.INFO: ==23117== Lock acquired, processing the job...
[2025-01-13 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:47:02] Production.INFO: ==23120== Lock acquired, processing the job...
[2025-01-13 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:47:02] Production.INFO: ==23120== Releasing lock...
[2025-01-13 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:47:02] Production.INFO: ==23117== Releasing lock...
[2025-01-13 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:47:03] Production.INFO: ==23128== Lock acquired, processing the job...
[2025-01-13 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:47:03] Production.INFO: ==23132== Lock acquired, processing the job...
[2025-01-13 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:47:03] Production.INFO: Account Balance Start.
[2025-01-13 03:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:47:03] Production.INFO: 117
[2025-01-13 03:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:47:04] Production.INFO: ==23122== Lock acquired, processing the job...
[2025-01-13 03:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:47:04] Production.INFO: count ==21
[2025-01-13 03:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:47:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:47:04] Production.INFO: count ==21
[2025-01-13 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236280') start
[2025-01-13 03:47:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:47:04] Production.INFO: ==23124== Lock acquired, processing the job...
[2025-01-13 03:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:47:04] Production.INFO: ==23126== Lock acquired, processing the job...
[2025-01-13 03:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:47:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:47:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236280') end
[2025-01-13 03:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:47:04] Production.INFO: 1
[2025-01-13 03:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:47:04] Production.INFO: ==23132== Releasing lock...
[2025-01-13 03:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:47:04] Production.INFO: ==23130== Lock acquired, processing the job...
[2025-01-13 03:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:47:04] Production.INFO: Total Charge 0
[2025-01-13 03:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:47:04] Production.INFO: CreateAllLog End
[2025-01-13 03:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:47:04] Production.INFO: Account Balance End.
[2025-01-13 03:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:47:04] Production.INFO: ==23128== Releasing lock...
[2025-01-13 03:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:47:04] Production.INFO: ==23124== Releasing lock...
[2025-01-13 03:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:47:04] Production.ERROR: done
[2025-01-13 03:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:47:04] Production.ERROR: done
[2025-01-13 03:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:47:05
[end_date_ymd] => 2025-01-13 03:47:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:47:05' and `end` < '2025-01-13 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-13 03:47:12] Production.ERROR: CronJobId end10
[2025-01-13 03:47:12] Production.INFO: ==23126== Releasing lock...
[2025-01-13 03:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:47:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:47:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:47:14] Production.INFO: call_cost start
[2025-01-13 03:47:14] Production.INFO: call_cost end
[2025-01-13 03:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:47:15] Production.INFO: ==23122== Releasing lock...
[2025-01-13 03:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:47:18] Production.INFO: count ==178
[2025-01-13 03:47:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:47:05 - End Time 2025-01-13 03:47:05
[2025-01-13 03:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236283', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236283', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236283', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236283', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:47:18] Production.INFO: ProcessCDR(1,14236283,1,1,2)
[2025-01-13 03:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236283', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236283', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:47:21] Production.INFO: ==23130== Releasing lock...
[2025-01-13 03:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:47:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:48:01] Production.INFO: ==23204== Lock acquired, processing the job...
[2025-01-13 08:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:48:01] Production.INFO: neon service started
[2025-01-13 08:48:01] Production.INFO: neon service started
[2025-01-13 08:48:01] Production.INFO: ==23204== Releasing lock...
[2025-01-13 08:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:48:02] Production.INFO: ==23206== Lock acquired, processing the job...
[2025-01-13 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:48:02] Production.INFO: ==23208== Lock acquired, processing the job...
[2025-01-13 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:48:02] Production.INFO: ==23208== Releasing lock...
[2025-01-13 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:48:02] Production.INFO: ==23206== Releasing lock...
[2025-01-13 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:48:03] Production.INFO: ==23211== Lock acquired, processing the job...
[2025-01-13 03:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:48:03] Production.INFO: ==23215== Lock acquired, processing the job...
[2025-01-13 03:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:48:03] Production.INFO: ==23221== Lock acquired, processing the job...
[2025-01-13 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:48:03] Production.INFO: ==23213== Lock acquired, processing the job...
[2025-01-13 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:48:03] Production.INFO: count ==21
[2025-01-13 03:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:48:03] Production.INFO: count ==21
[2025-01-13 03:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236285') start
[2025-01-13 03:48:03] Production.INFO: ==23217== Lock acquired, processing the job...
[2025-01-13 03:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:48:03] Production.INFO: ==23219== Lock acquired, processing the job...
[2025-01-13 03:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236285') end
[2025-01-13 03:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:48:03] Production.INFO: 1
[2025-01-13 03:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:48:03] Production.INFO: Account Balance Start.
[2025-01-13 03:48:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:48:03] Production.INFO: 117
[2025-01-13 03:48:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:48:03] Production.INFO: ==23221== Releasing lock...
[2025-01-13 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:48:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:48:03] Production.INFO: ==23213== Releasing lock...
[2025-01-13 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:48:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:48:04] Production.ERROR: done
[2025-01-13 03:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:48:04] Production.INFO: Total Charge 0
[2025-01-13 03:48:04] Production.INFO: CreateAllLog End
[2025-01-13 03:48:04] Production.ERROR: done
[2025-01-13 03:48:04] Production.INFO: Account Balance End.
[2025-01-13 03:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:48:04] Production.INFO: ==23217== Releasing lock...
[2025-01-13 03:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:48:05
[end_date_ymd] => 2025-01-13 03:48:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:48:05' and `end` < '2025-01-13 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-13 03:48:10] Production.ERROR: CronJobId end10
[2025-01-13 03:48:10] Production.INFO: ==23215== Releasing lock...
[2025-01-13 03:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:48:12] Production.INFO: call_cost start
[2025-01-13 03:48:12] Production.INFO: call_cost end
[2025-01-13 03:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:48:13] Production.INFO: ==23211== Releasing lock...
[2025-01-13 03:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:48:18] Production.INFO: count ==178
[2025-01-13 03:48:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:48:05 - End Time 2025-01-13 03:48:05
[2025-01-13 03:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236288', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236288', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236288', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236288', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:48:18] Production.INFO: ProcessCDR(1,14236288,1,1,2)
[2025-01-13 03:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236288', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236288', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:48:21] Production.INFO: ==23219== Releasing lock...
[2025-01-13 03:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:48:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:49:01] Production.INFO: ==23279== Lock acquired, processing the job...
[2025-01-13 08:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:49:01] Production.INFO: neon service started
[2025-01-13 08:49:01] Production.INFO: neon service started
[2025-01-13 08:49:01] Production.INFO: ==23279== Releasing lock...
[2025-01-13 08:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:49:02] Production.INFO: ==23281== Lock acquired, processing the job...
[2025-01-13 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:49:02] Production.INFO: ==23283== Lock acquired, processing the job...
[2025-01-13 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:49:02] Production.INFO: ==23283== Releasing lock...
[2025-01-13 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:49:02] Production.INFO: ==23281== Releasing lock...
[2025-01-13 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:49:03] Production.INFO: ==23286== Lock acquired, processing the job...
[2025-01-13 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:49:03] Production.INFO: ==23292== Lock acquired, processing the job...
[2025-01-13 03:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:49:03] Production.INFO: ==23296== Lock acquired, processing the job...
[2025-01-13 03:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:49:03] Production.INFO: Account Balance Start.
[2025-01-13 03:49:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:49:03] Production.INFO: 117
[2025-01-13 03:49:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:49:03] Production.INFO: ==23288== Lock acquired, processing the job...
[2025-01-13 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:49:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 03:49:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:49:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:49:03] Production.INFO: count ==21
[2025-01-13 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-13 03:49:03] Production.INFO: count ==21
[2025-01-13 03:49:03] Production.INFO: ==23290== Lock acquired, processing the job...
[2025-01-13 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236291') start
[2025-01-13 03:49:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:49:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:49:03] Production.INFO: ==23294== Lock acquired, processing the job...
[2025-01-13 03:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236291') end
[2025-01-13 03:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:49:04] Production.INFO: 1
[2025-01-13 03:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:49:04] Production.INFO: ==23296== Releasing lock...
[2025-01-13 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:49:04] Production.INFO: Total Charge 0
[2025-01-13 03:49:04] Production.INFO: CreateAllLog End
[2025-01-13 03:49:04] Production.INFO: ==23288== Releasing lock...
[2025-01-13 03:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:49:04] Production.ERROR: done
[2025-01-13 03:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:49:04] Production.INFO: Account Balance End.
[2025-01-13 03:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:49:04] Production.INFO: ==23292== Releasing lock...
[2025-01-13 03:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:49:04] Production.ERROR: done
[2025-01-13 03:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:49:05
[end_date_ymd] => 2025-01-13 03:49:05
[RateCDR] => 1
)
[2025-01-13 03:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:49:05' and `end` < '2025-01-13 03:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:49:11] Production.ERROR: CronJobId end10
[2025-01-13 03:49:11] Production.INFO: ==23290== Releasing lock...
[2025-01-13 03:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:49:13] Production.INFO: call_cost start
[2025-01-13 03:49:13] Production.INFO: call_cost end
[2025-01-13 03:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:49:14] Production.INFO: ==23286== Releasing lock...
[2025-01-13 03:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:49:19] Production.INFO: count ==178
[2025-01-13 03:49:20] Production.ERROR: pbx CDR StartTime 2025-01-13 00:49:05 - End Time 2025-01-13 03:49:05
[2025-01-13 03:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236293', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236293', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236293', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236293', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:49:20] Production.INFO: ProcessCDR(1,14236293,1,1,2)
[2025-01-13 03:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236293', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236293', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:49:23] Production.INFO: ==23294== Releasing lock...
[2025-01-13 03:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:49:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:50:02] Production.INFO: ==23389== Lock acquired, processing the job...
[2025-01-13 08:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:50:02] Production.INFO: neon service started
[2025-01-13 08:50:02] Production.INFO: neon service started
[2025-01-13 08:50:02] Production.INFO: ==23389== Releasing lock...
[2025-01-13 08:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:50:02] Production.INFO: ==23392== Lock acquired, processing the job...
[2025-01-13 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:50:02] Production.INFO: ==23394== Lock acquired, processing the job...
[2025-01-13 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:50:03] Production.INFO: ==23394== Releasing lock...
[2025-01-13 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:50:03] Production.INFO: ==23392== Releasing lock...
[2025-01-13 03:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:50:04] Production.INFO: ==23402== Lock acquired, processing the job...
[2025-01-13 03:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:50:04] Production.INFO: ==23410== Lock acquired, processing the job...
[2025-01-13 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:50:04] Production.INFO: ==23408== Lock acquired, processing the job...
[2025-01-13 03:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 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-13 03:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:50:04] Production.INFO: count ==21
[2025-01-13 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-13 03:50:04] Production.INFO: count ==21
[2025-01-13 03:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236294') start
[2025-01-13 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236294') end
[2025-01-13 03:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:50:04] Production.INFO: 1
[2025-01-13 03:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:50:04] Production.INFO: ==23410== Releasing lock...
[2025-01-13 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:50:04] Production.INFO: ==23396== Lock acquired, processing the job...
[2025-01-13 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 03:50:04] Production.INFO: ==23398== Lock acquired, processing the job...
[2025-01-13 03:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:50:04] Production.ERROR: done
[2025-01-13 03:50:04] Production.INFO: ==23400== Lock acquired, processing the job...
[2025-01-13 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:50:04] Production.INFO: ==23404== Lock acquired, processing the job...
[2025-01-13 03:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 03:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236295', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 03:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:50:04] Production.ERROR: CronJob PID - 23398
[2025-01-13 03:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 03:50:04] Production.ERROR: CronJob ID - 5
[2025-01-13 03:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 03:50:00
[2025-01-13 03:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:50:04] Production.ERROR: CronJob PID - 23400
[2025-01-13 03:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 03:50:04] Production.ERROR: CronJob ID - 7
[2025-01-13 03:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 03:50:00
[2025-01-13 03:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:50:04] Production.ERROR: CronJob PID - 23402
[2025-01-13 03:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 03:50:04] Production.ERROR: CronJob ID - 10
[2025-01-13 03:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 03:50:00
[2025-01-13 03:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:50:04] Production.ERROR: CronJob PID - 23404
[2025-01-13 03:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 03:50:04] Production.ERROR: CronJob ID - 12
[2025-01-13 03:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 03:50:00
[2025-01-13 03:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 03:50:04] Production.ERROR: CronJob PID - 23408
[2025-01-13 03:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 03:50:04] Production.ERROR: CronJob ID - 17
[2025-01-13 03:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 03:50:00
[2025-01-13 03:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 03:50:04] Production.INFO: ==23406== Lock acquired, processing the job...
[2025-01-13 03:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:50:04] Production.INFO: Account Balance Start.
[2025-01-13 03:50:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 03:50:04] Production.INFO: ==23396== Releasing lock...
[2025-01-13 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 03:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 03:50:04] Production.INFO: 117
[2025-01-13 03:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:50:04] Production.INFO: ==23400== Releasing lock...
[2025-01-13 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:50:05] Production.INFO: Date 2025-01-12
[2025-01-13 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-13 03:50:05] Production.INFO: Date 2025-01-13
[2025-01-13 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-13 03:50:05] Production.ERROR: done
[2025-01-13 03:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:50:05] Production.INFO: Total Charge 0
[2025-01-13 03:50:05] Production.INFO: CreateAllLog End
[2025-01-13 03:50:05] Production.ERROR: done
[2025-01-13 03:50:05] Production.INFO: Account Balance End.
[2025-01-13 03:50:05] Production.ERROR: CronJobId end 12
[2025-01-13 03:50:05] Production.INFO: ==23404== Releasing lock...
[2025-01-13 03:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:50:06
[end_date_ymd] => 2025-01-13 03:50:06
[RateCDR] => 1
)
[2025-01-13 03:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:50:06' and `end` < '2025-01-13 03:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236295', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 03:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 03:50:08] Production.INFO: ProcessCDR(1,14236295,1,1,2)
[2025-01-13 03:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236295,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236295,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:50:08] Production.INFO: ==23408== Releasing lock...
[2025-01-13 03:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 03:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 03:50:12] Production.ERROR: CronJobId end10
[2025-01-13 03:50:12] Production.INFO: ==23402== Releasing lock...
[2025-01-13 03:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:50:15] Production.INFO: call_cost start
[2025-01-13 03:50:15] Production.INFO: call_cost end
[2025-01-13 03:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:50:16] Production.INFO: ==23398== Releasing lock...
[2025-01-13 03:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:50:19] Production.INFO: count ==182
[2025-01-13 03:50:19] Production.ERROR: pbx CDR StartTime 2025-01-13 00:50:06 - End Time 2025-01-13 03:50:06
[2025-01-13 03:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236299', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236299', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236299', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236299', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:50:19] Production.INFO: ProcessCDR(1,14236299,1,1,2)
[2025-01-13 03:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236299', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236299', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:50:22] Production.INFO: ==23406== Releasing lock...
[2025-01-13 03:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:50:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:51:01] Production.INFO: ==23462== Lock acquired, processing the job...
[2025-01-13 08:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:51:01] Production.INFO: neon service started
[2025-01-13 08:51:01] Production.INFO: neon service started
[2025-01-13 08:51:01] Production.INFO: ==23462== Releasing lock...
[2025-01-13 08:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:51:02] Production.INFO: ==23464== Lock acquired, processing the job...
[2025-01-13 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:51:02] Production.INFO: ==23464== Releasing lock...
[2025-01-13 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:51:02] Production.INFO: ==23466== Lock acquired, processing the job...
[2025-01-13 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:51:02] Production.INFO: ==23466== Releasing lock...
[2025-01-13 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:51:03] Production.INFO: ==23471== Lock acquired, processing the job...
[2025-01-13 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:51:03] Production.INFO: ==23479== Lock acquired, processing the job...
[2025-01-13 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:51:03] Production.INFO: ==23469== Lock acquired, processing the job...
[2025-01-13 03:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:51:03] Production.INFO: ==23473== Lock acquired, processing the job...
[2025-01-13 03:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:51:03] Production.INFO: ==23475== Lock acquired, processing the job...
[2025-01-13 03:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:51:03] Production.INFO: ==23477== Lock acquired, processing the job...
[2025-01-13 03:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:51:03] Production.INFO: Account Balance Start.
[2025-01-13 03:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:51:03] Production.INFO: 117
[2025-01-13 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-13 03:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:51:03] Production.INFO: count ==21
[2025-01-13 03:51:03] Production.INFO: ==23471== Releasing lock...
[2025-01-13 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 03:51:03] Production.INFO: count ==21
[2025-01-13 03:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236301') start
[2025-01-13 03:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:51:03] Production.ERROR: done
[2025-01-13 03:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236301') end
[2025-01-13 03:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:51:03] Production.INFO: 1
[2025-01-13 03:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:51:03] Production.INFO: ==23479== Releasing lock...
[2025-01-13 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:51:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:51:04] Production.ERROR: done
[2025-01-13 03:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:51:04] Production.INFO: Total Charge 0
[2025-01-13 03:51:04] Production.INFO: CreateAllLog End
[2025-01-13 03:51:04] Production.INFO: Account Balance End.
[2025-01-13 03:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:51:04] Production.INFO: ==23475== Releasing lock...
[2025-01-13 03:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:51:04
[end_date_ymd] => 2025-01-13 03:51:04
[RateCDR] => 1
)
[2025-01-13 03:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:51:04' and `end` < '2025-01-13 03:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:51:10] Production.ERROR: CronJobId end10
[2025-01-13 03:51:10] Production.INFO: ==23473== Releasing lock...
[2025-01-13 03:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:51:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:51:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:51:12] Production.INFO: call_cost start
[2025-01-13 03:51:12] Production.INFO: call_cost end
[2025-01-13 03:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:51:13] Production.INFO: ==23469== Releasing lock...
[2025-01-13 03:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:51:18] Production.INFO: count ==182
[2025-01-13 03:51:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:51:04 - End Time 2025-01-13 03:51:04
[2025-01-13 03:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236304', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236304', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236304', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236304', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:51:18] Production.INFO: ProcessCDR(1,14236304,1,1,2)
[2025-01-13 03:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236304', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236304', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:51:22] Production.INFO: ==23477== Releasing lock...
[2025-01-13 03:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:51:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:52:02] Production.INFO: ==23539== Lock acquired, processing the job...
[2025-01-13 08:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:52:02] Production.INFO: neon service started
[2025-01-13 08:52:02] Production.INFO: neon service started
[2025-01-13 08:52:02] Production.INFO: ==23539== Releasing lock...
[2025-01-13 08:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:52:02] Production.INFO: ==23543== Lock acquired, processing the job...
[2025-01-13 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:52:02] Production.INFO: ==23543== Releasing lock...
[2025-01-13 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:52:02] Production.INFO: ==23541== Lock acquired, processing the job...
[2025-01-13 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:52:03] Production.INFO: ==23541== Releasing lock...
[2025-01-13 03:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:52:03] Production.INFO: ==23549== Lock acquired, processing the job...
[2025-01-13 03:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:52:04] Production.INFO: ==23545== Lock acquired, processing the job...
[2025-01-13 03:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:52:04] Production.INFO: ==23547== Lock acquired, processing the job...
[2025-01-13 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:52:04] Production.INFO: ==23552== Lock acquired, processing the job...
[2025-01-13 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:52:04] Production.INFO: ==23554== Lock acquired, processing the job...
[2025-01-13 03:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:52:04] Production.INFO: ==23556== Lock acquired, processing the job...
[2025-01-13 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:52:04] Production.INFO: Account Balance Start.
[2025-01-13 03:52:04] Production.INFO: CreateAllLog Start
[2025-01-13 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-13 03:52:04] Production.INFO: 117
[2025-01-13 03:52:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:52:04] Production.INFO: count ==21
[2025-01-13 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-13 03:52:04] Production.INFO: count ==21
[2025-01-13 03:52:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236308') start
[2025-01-13 03:52:04] Production.INFO: ==23547== Releasing lock...
[2025-01-13 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:52:04] Production.ERROR: done
[2025-01-13 03:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:52:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:52:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236308') end
[2025-01-13 03:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:52:04] Production.INFO: 1
[2025-01-13 03:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:52:04] Production.INFO: ==23556== Releasing lock...
[2025-01-13 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:52:04] Production.ERROR: done
[2025-01-13 03:52:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:52:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:52:04] Production.INFO: Total Charge 0
[2025-01-13 03:52:04] Production.INFO: CreateAllLog End
[2025-01-13 03:52:05] Production.INFO: Account Balance End.
[2025-01-13 03:52:05] Production.ERROR: CronJobId end 12
[2025-01-13 03:52:05] Production.INFO: ==23552== Releasing lock...
[2025-01-13 03:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:52:05
[end_date_ymd] => 2025-01-13 03:52:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:52:05' and `end` < '2025-01-13 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-13 03:52:11] Production.ERROR: CronJobId end10
[2025-01-13 03:52:11] Production.INFO: ==23549== Releasing lock...
[2025-01-13 03:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:52:14] Production.INFO: call_cost start
[2025-01-13 03:52:14] Production.INFO: call_cost end
[2025-01-13 03:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:52:14] Production.INFO: ==23545== Releasing lock...
[2025-01-13 03:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:52:18] Production.INFO: count ==182
[2025-01-13 03:52:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:52:05 - End Time 2025-01-13 03:52:05
[2025-01-13 03:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236309', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236309', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236309', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236309', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:52:18] Production.INFO: ProcessCDR(1,14236309,1,1,2)
[2025-01-13 03:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236309', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236309', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:52:22] Production.INFO: ==23554== Releasing lock...
[2025-01-13 03:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:52:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:53:01] Production.INFO: ==23609== Lock acquired, processing the job...
[2025-01-13 08:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:53:01] Production.INFO: neon service started
[2025-01-13 08:53:01] Production.INFO: neon service started
[2025-01-13 08:53:01] Production.INFO: ==23609== Releasing lock...
[2025-01-13 08:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:53:02] Production.INFO: ==23611== Lock acquired, processing the job...
[2025-01-13 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:53:02] Production.INFO: ==23613== Lock acquired, processing the job...
[2025-01-13 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:53:02] Production.INFO: ==23613== Releasing lock...
[2025-01-13 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:53:02] Production.INFO: ==23611== Releasing lock...
[2025-01-13 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:53:03] Production.INFO: ==23616== Lock acquired, processing the job...
[2025-01-13 03:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:53:03] Production.INFO: ==23620== Lock acquired, processing the job...
[2025-01-13 03:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:53:03] Production.INFO: ==23618== Lock acquired, processing the job...
[2025-01-13 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:53:03] Production.INFO: ==23622== Lock acquired, processing the job...
[2025-01-13 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:53:04] Production.INFO: ==23624== Lock acquired, processing the job...
[2025-01-13 03:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:53:04] Production.INFO: ==23618== Releasing lock...
[2025-01-13 03:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:53:04] Production.INFO: Account Balance Start.
[2025-01-13 03:53:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:53:04] Production.INFO: 117
[2025-01-13 03:53:04] Production.INFO: ==23626== Lock acquired, processing the job...
[2025-01-13 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:53:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:53:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:53:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:53:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:53:04] Production.INFO: count ==21
[2025-01-13 03:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:53:04] Production.INFO: count ==21
[2025-01-13 03:53:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236313') start
[2025-01-13 03:53:04] Production.ERROR: done
[2025-01-13 03:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:53:04] Production.ERROR: done
[2025-01-13 03:53:04] Production.INFO: Total Charge 0
[2025-01-13 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236313') end
[2025-01-13 03:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:53:04] Production.INFO: 1
[2025-01-13 03:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:53:04] Production.INFO: CreateAllLog End
[2025-01-13 03:53:04] Production.INFO: ==23626== Releasing lock...
[2025-01-13 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:53:04] Production.INFO: Account Balance End.
[2025-01-13 03:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:53:04] Production.INFO: ==23622== Releasing lock...
[2025-01-13 03:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:53:05
[end_date_ymd] => 2025-01-13 03:53:05
[RateCDR] => 1
)
[2025-01-13 03:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:53:05' and `end` < '2025-01-13 03:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:53:10] Production.ERROR: CronJobId end10
[2025-01-13 03:53:10] Production.INFO: ==23620== Releasing lock...
[2025-01-13 03:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:53:12] Production.INFO: call_cost start
[2025-01-13 03:53:12] Production.INFO: call_cost end
[2025-01-13 03:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:53:13] Production.INFO: ==23616== Releasing lock...
[2025-01-13 03:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:53:18] Production.INFO: count ==182
[2025-01-13 03:53:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:53:05 - End Time 2025-01-13 03:53:05
[2025-01-13 03:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236314', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236314', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236314', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236314', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:53:18] Production.INFO: ProcessCDR(1,14236314,1,1,2)
[2025-01-13 03:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236314', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236314', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:53:21] Production.INFO: ==23624== Releasing lock...
[2025-01-13 03:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:53:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:54:02] Production.INFO: ==23682== Lock acquired, processing the job...
[2025-01-13 08:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:54:02] Production.INFO: neon service started
[2025-01-13 08:54:02] Production.INFO: neon service started
[2025-01-13 08:54:02] Production.INFO: ==23682== Releasing lock...
[2025-01-13 08:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:54:02] Production.INFO: ==23686== Lock acquired, processing the job...
[2025-01-13 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:54:02] Production.INFO: ==23686== Releasing lock...
[2025-01-13 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:54:02] Production.INFO: ==23684== Lock acquired, processing the job...
[2025-01-13 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:54:03] Production.INFO: ==23684== Releasing lock...
[2025-01-13 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:54:03] Production.INFO: ==23692== Lock acquired, processing the job...
[2025-01-13 03:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:54:03] Production.INFO: ==23696== Lock acquired, processing the job...
[2025-01-13 03:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:54:04] Production.INFO: ==23688== Lock acquired, processing the job...
[2025-01-13 03:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:54:04] Production.INFO: ==23690== Lock acquired, processing the job...
[2025-01-13 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:54:04] Production.INFO: ==23694== Lock acquired, processing the job...
[2025-01-13 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:54:04] Production.INFO: ==23699== Lock acquired, processing the job...
[2025-01-13 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:54:04] Production.ERROR: done
[2025-01-13 03:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:54:04] Production.INFO: Account Balance Start.
[2025-01-13 03:54:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:54:04] Production.INFO: 117
[2025-01-13 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-13 03:54:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:54:04] Production.INFO: count ==21
[2025-01-13 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-13 03:54:04] Production.INFO: count ==21
[2025-01-13 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236317') start
[2025-01-13 03:54:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:54:04] Production.ERROR: done
[2025-01-13 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236317') end
[2025-01-13 03:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:54:04] Production.INFO: 1
[2025-01-13 03:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:54:04] Production.INFO: ==23699== Releasing lock...
[2025-01-13 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:54:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:54:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:54:04] Production.INFO: Total Charge 0
[2025-01-13 03:54:04] Production.INFO: CreateAllLog End
[2025-01-13 03:54:04] Production.INFO: ==23690== Releasing lock...
[2025-01-13 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:54:04] Production.INFO: Account Balance End.
[2025-01-13 03:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:54:04] Production.INFO: ==23694== Releasing lock...
[2025-01-13 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:54:05
[end_date_ymd] => 2025-01-13 03:54:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:54:05' and `end` < '2025-01-13 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-13 03:54:10] Production.ERROR: CronJobId end10
[2025-01-13 03:54:10] Production.INFO: ==23692== Releasing lock...
[2025-01-13 03:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:54:13] Production.INFO: call_cost start
[2025-01-13 03:54:13] Production.INFO: call_cost end
[2025-01-13 03:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:54:14] Production.INFO: ==23688== Releasing lock...
[2025-01-13 03:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:54:17] Production.INFO: count ==182
[2025-01-13 03:54:17] Production.ERROR: pbx CDR StartTime 2025-01-13 00:54:05 - End Time 2025-01-13 03:54:05
[2025-01-13 03:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236319', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236319', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236319', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236319', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:54:17] Production.INFO: ProcessCDR(1,14236319,1,1,2)
[2025-01-13 03:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236319', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236319', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:54:20] Production.INFO: ==23696== Releasing lock...
[2025-01-13 03:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:54:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:55:01] Production.INFO: ==23750== Lock acquired, processing the job...
[2025-01-13 08:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:55:01] Production.INFO: neon service started
[2025-01-13 08:55:01] Production.INFO: neon service started
[2025-01-13 08:55:01] Production.INFO: ==23750== Releasing lock...
[2025-01-13 08:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:55:01] Production.INFO: ==23752== Lock acquired, processing the job...
[2025-01-13 03:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:55:02] Production.INFO: ==23752== Releasing lock...
[2025-01-13 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:55:02] Production.INFO: ==23754== Lock acquired, processing the job...
[2025-01-13 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:55:02] Production.INFO: ==23754== Releasing lock...
[2025-01-13 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:55:02] Production.INFO: ==23757== Lock acquired, processing the job...
[2025-01-13 03:55:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:55:03] Production.INFO: ==23759== Lock acquired, processing the job...
[2025-01-13 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:55:03] Production.INFO: ==23763== Lock acquired, processing the job...
[2025-01-13 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:55:03] Production.INFO: Account Balance Start.
[2025-01-13 03:55:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:55:03] Production.INFO: 117
[2025-01-13 03:55:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:55:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:55:03] Production.INFO: ==23759== Releasing lock...
[2025-01-13 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:55:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:55:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:55:03] Production.INFO: ==23761== Lock acquired, processing the job...
[2025-01-13 03:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:55:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:55:03] Production.INFO: ==23767== Lock acquired, processing the job...
[2025-01-13 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:55:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:55:03] Production.INFO: Total Charge 0
[2025-01-13 03:55:03] Production.INFO: CreateAllLog End
[2025-01-13 03:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:55:03] Production.INFO: ==23765== Lock acquired, processing the job...
[2025-01-13 03:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 03:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:55:03] Production.INFO: count ==21
[2025-01-13 03:55:03] Production.INFO: Account Balance End.
[2025-01-13 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-13 03:55:03] Production.INFO: count ==21
[2025-01-13 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236323') start
[2025-01-13 03:55:03] Production.ERROR: CronJobId end 12
[2025-01-13 03:55:03] Production.INFO: ==23763== Releasing lock...
[2025-01-13 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236323') end
[2025-01-13 03:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:55:04] Production.INFO: 1
[2025-01-13 03:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:55:04] Production.ERROR: done
[2025-01-13 03:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:55:04] Production.INFO: ==23767== Releasing lock...
[2025-01-13 03:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:55:04] Production.ERROR: done
[2025-01-13 03:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:55:05
[end_date_ymd] => 2025-01-13 03:55:05
[RateCDR] => 1
)
[2025-01-13 03:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 00:55:05' and `end` < '2025-01-13 03:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 03:55:11] Production.ERROR: CronJobId end10
[2025-01-13 03:55:11] Production.INFO: ==23761== Releasing lock...
[2025-01-13 03:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:55:13] Production.INFO: call_cost start
[2025-01-13 03:55:13] Production.INFO: call_cost end
[2025-01-13 03:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:55:14] Production.INFO: ==23757== Releasing lock...
[2025-01-13 03:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:55:18] Production.INFO: count ==182
[2025-01-13 03:55:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:55:05 - End Time 2025-01-13 03:55:05
[2025-01-13 03:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236324', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236324', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236324', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236324', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:55:18] Production.INFO: ProcessCDR(1,14236324,1,1,2)
[2025-01-13 03:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236324', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236324', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:55:21] Production.INFO: ==23765== Releasing lock...
[2025-01-13 03:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:56:02] Production.INFO: ==23822== Lock acquired, processing the job...
[2025-01-13 08:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:56:02] Production.INFO: neon service started
[2025-01-13 08:56:02] Production.INFO: neon service started
[2025-01-13 08:56:02] Production.INFO: ==23822== Releasing lock...
[2025-01-13 08:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:56:02] Production.INFO: ==23826== Lock acquired, processing the job...
[2025-01-13 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:56:02] Production.INFO: ==23826== Releasing lock...
[2025-01-13 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:56:02] Production.INFO: ==23824== Lock acquired, processing the job...
[2025-01-13 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:56:02] Production.INFO: ==23824== Releasing lock...
[2025-01-13 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:56:03] Production.INFO: ==23829== Lock acquired, processing the job...
[2025-01-13 03:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:56:03] Production.INFO: ==23835== Lock acquired, processing the job...
[2025-01-13 03:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:56:03] Production.INFO: Account Balance Start.
[2025-01-13 03:56:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:56:03] Production.INFO: 117
[2025-01-13 03:56:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:56:03] Production.INFO: ==23839== Lock acquired, processing the job...
[2025-01-13 03:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:56:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:56:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:56:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:56:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:56:03] Production.INFO: ==23831== Lock acquired, processing the job...
[2025-01-13 03:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:56:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:56:03] Production.INFO: ==23833== Lock acquired, processing the job...
[2025-01-13 03:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:56:04] Production.INFO: Total Charge 0
[2025-01-13 03:56:04] Production.INFO: CreateAllLog End
[2025-01-13 03:56:04] Production.INFO: count ==21
[2025-01-13 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-13 03:56:04] Production.INFO: count ==21
[2025-01-13 03:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:56:04] Production.INFO: ==23837== Lock acquired, processing the job...
[2025-01-13 03:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236327') start
[2025-01-13 03:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:56:04] Production.INFO: Account Balance End.
[2025-01-13 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236327') end
[2025-01-13 03:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:56:04] Production.INFO: 1
[2025-01-13 03:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:56:04] Production.INFO: ==23835== Releasing lock...
[2025-01-13 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:56:04] Production.INFO: ==23839== Releasing lock...
[2025-01-13 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:56:04] Production.INFO: ==23831== Releasing lock...
[2025-01-13 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:56:04] Production.ERROR: done
[2025-01-13 03:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:56:04] Production.ERROR: done
[2025-01-13 03:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:56:05
[end_date_ymd] => 2025-01-13 03:56:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:56:05' and `end` < '2025-01-13 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-13 03:56:12] Production.ERROR: CronJobId end10
[2025-01-13 03:56:12] Production.INFO: ==23833== Releasing lock...
[2025-01-13 03:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:56:13] Production.INFO: call_cost start
[2025-01-13 03:56:13] Production.INFO: call_cost end
[2025-01-13 03:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:56:14] Production.INFO: ==23829== Releasing lock...
[2025-01-13 03:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:56:18] Production.INFO: count ==178
[2025-01-13 03:56:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:56:05 - End Time 2025-01-13 03:56:05
[2025-01-13 03:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236329', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236329', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236329', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236329', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:56:18] Production.INFO: ProcessCDR(1,14236329,1,1,2)
[2025-01-13 03:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236329', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236329', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:56:21] Production.INFO: ==23837== Releasing lock...
[2025-01-13 03:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:56:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:57:01] Production.INFO: ==23892== Lock acquired, processing the job...
[2025-01-13 08:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:57:01] Production.INFO: neon service started
[2025-01-13 08:57:01] Production.INFO: neon service started
[2025-01-13 08:57:01] Production.INFO: ==23892== Releasing lock...
[2025-01-13 08:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:57:01] Production.INFO: ==23894== Lock acquired, processing the job...
[2025-01-13 03:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:57:02] Production.INFO: ==23896== Lock acquired, processing the job...
[2025-01-13 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 03:57:02] Production.INFO: ==23894== Releasing lock...
[2025-01-13 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:57:02] Production.INFO: ==23896== Releasing lock...
[2025-01-13 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:57:03] Production.INFO: ==23905== Lock acquired, processing the job...
[2025-01-13 03:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:57:03] Production.INFO: Account Balance Start.
[2025-01-13 03:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:57:03] Production.INFO: 117
[2025-01-13 03:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:57:03] Production.INFO: ==23909== Lock acquired, processing the job...
[2025-01-13 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:57:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:57:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:57:03] Production.INFO: ==23899== Lock acquired, processing the job...
[2025-01-13 03:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:57:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:57:03] Production.INFO: Total Charge 0
[2025-01-13 03:57:03] Production.INFO: count ==21
[2025-01-13 03:57:03] Production.INFO: CreateAllLog End
[2025-01-13 03:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:57:03] Production.INFO: count ==21
[2025-01-13 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236331') start
[2025-01-13 03:57:03] Production.INFO: ==23901== Lock acquired, processing the job...
[2025-01-13 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:57:03] Production.INFO: ==23903== Lock acquired, processing the job...
[2025-01-13 03:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:57:03] Production.INFO: Account Balance End.
[2025-01-13 03:57:03] Production.INFO: ==23907== Lock acquired, processing the job...
[2025-01-13 03:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236331') end
[2025-01-13 03:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:57:03] Production.INFO: 1
[2025-01-13 03:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:57:03] Production.INFO: ==23909== Releasing lock...
[2025-01-13 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:57:03] Production.ERROR: CronJobId end 12
[2025-01-13 03:57:03] Production.INFO: ==23905== Releasing lock...
[2025-01-13 03:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:57:03] Production.ERROR: done
[2025-01-13 03:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:57:03] Production.INFO: ==23901== Releasing lock...
[2025-01-13 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:57:04] Production.ERROR: done
[2025-01-13 03:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:57:05
[end_date_ymd] => 2025-01-13 03:57:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:57:05' and `end` < '2025-01-13 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-13 03:57:10] Production.ERROR: CronJobId end10
[2025-01-13 03:57:10] Production.INFO: ==23903== Releasing lock...
[2025-01-13 03:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:57:12] Production.INFO: call_cost start
[2025-01-13 03:57:12] Production.INFO: call_cost end
[2025-01-13 03:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:57:13] Production.INFO: ==23899== Releasing lock...
[2025-01-13 03:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:57:18] Production.INFO: count ==177
[2025-01-13 03:57:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:57:05 - End Time 2025-01-13 03:57:05
[2025-01-13 03:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236334', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236334', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236334', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236334', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:57:18] Production.INFO: ProcessCDR(1,14236334,1,1,2)
[2025-01-13 03:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236334', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236334', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:57:21] Production.INFO: ==23907== Releasing lock...
[2025-01-13 03:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:57:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:58:02] Production.INFO: ==23966== Lock acquired, processing the job...
[2025-01-13 08:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:58:02] Production.INFO: neon service started
[2025-01-13 08:58:02] Production.INFO: neon service started
[2025-01-13 08:58:02] Production.INFO: ==23966== Releasing lock...
[2025-01-13 08:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:58:02] Production.INFO: ==23968== Lock acquired, processing the job...
[2025-01-13 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:58:02] Production.INFO: ==23970== Lock acquired, processing the job...
[2025-01-13 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:58:02] Production.INFO: ==23970== Releasing lock...
[2025-01-13 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:58:03] Production.INFO: ==23968== Releasing lock...
[2025-01-13 03:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 03:58:03] Production.INFO: ==23974== Lock acquired, processing the job...
[2025-01-13 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:58:03] Production.INFO: ==23972== Lock acquired, processing the job...
[2025-01-13 03:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:58:03] Production.INFO: ==23983== Lock acquired, processing the job...
[2025-01-13 03:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:58:03] Production.INFO: ==23977== Lock acquired, processing the job...
[2025-01-13 03:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:58:03] Production.INFO: ==23974== Releasing lock...
[2025-01-13 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:58:03] Production.INFO: count ==21
[2025-01-13 03:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 03:58:03] Production.INFO: count ==21
[2025-01-13 03:58:03] Production.INFO: ==23979== Lock acquired, processing the job...
[2025-01-13 03:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236337') start
[2025-01-13 03:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 03:58:04] Production.INFO: Account Balance Start.
[2025-01-13 03:58:04] Production.INFO: CreateAllLog Start
[2025-01-13 03:58:04] Production.INFO: 117
[2025-01-13 03:58:04] Production.INFO: Date 2025-01-08
[2025-01-13 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:58:04] Production.INFO: Date 2025-01-09
[2025-01-13 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:58:04] Production.INFO: ==23981== Lock acquired, processing the job...
[2025-01-13 03:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236337') end
[2025-01-13 03:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:58:04] Production.INFO: 1
[2025-01-13 03:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:58:04] Production.INFO: Date 2025-01-10
[2025-01-13 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:58:04] Production.INFO: ==23983== Releasing lock...
[2025-01-13 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:58:04] Production.INFO: Date 2025-01-11
[2025-01-13 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:58:04] Production.INFO: Date 2025-01-12
[2025-01-13 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:58:04] Production.INFO: Date 2025-01-13
[2025-01-13 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 03:58:04] Production.ERROR: done
[2025-01-13 03:58:04] Production.INFO: Total Charge 0
[2025-01-13 03:58:04] Production.INFO: CreateAllLog End
[2025-01-13 03:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 03:58:04] Production.ERROR: done
[2025-01-13 03:58:04] Production.INFO: Account Balance End.
[2025-01-13 03:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:58:04] Production.INFO: ==23979== Releasing lock...
[2025-01-13 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:58:05
[end_date_ymd] => 2025-01-13 03:58:05
[RateCDR] => 1
)
[2025-01-13 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-13 00:58:05' and `end` < '2025-01-13 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-13 03:58:12] Production.ERROR: CronJobId end10
[2025-01-13 03:58:12] Production.INFO: ==23977== Releasing lock...
[2025-01-13 03:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:58:14] Production.INFO: call_cost start
[2025-01-13 03:58:14] Production.INFO: call_cost end
[2025-01-13 03:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:58:15] Production.INFO: ==23972== Releasing lock...
[2025-01-13 03:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:58:18] Production.INFO: count ==177
[2025-01-13 03:58:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:58:05 - End Time 2025-01-13 03:58:05
[2025-01-13 03:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236339', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236339', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236339', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236339', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:58:18] Production.INFO: ProcessCDR(1,14236339,1,1,2)
[2025-01-13 03:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236339', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236339', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:58:21] Production.INFO: ==23981== Releasing lock...
[2025-01-13 03:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:58:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 08:59:01] Production.INFO: ==24041== Lock acquired, processing the job...
[2025-01-13 08:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 08:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 08:59:01] Production.INFO: neon service started
[2025-01-13 08:59:01] Production.INFO: neon service started
[2025-01-13 08:59:01] Production.INFO: ==24041== Releasing lock...
[2025-01-13 08:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 08:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 03:59:02] Production.INFO: ==24043== Lock acquired, processing the job...
[2025-01-13 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 03:59:02] Production.INFO: ==24043== Releasing lock...
[2025-01-13 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 03:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:59:02] Production.INFO: ==24045== Lock acquired, processing the job...
[2025-01-13 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:59:02] Production.INFO: ==24045== Releasing lock...
[2025-01-13 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 08:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 03:59:03] Production.INFO: ==24050== Lock acquired, processing the job...
[2025-01-13 03:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 03:59:03] Production.INFO: ==24054== Lock acquired, processing the job...
[2025-01-13 03:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 03:59:03] Production.INFO: ==24056== Lock acquired, processing the job...
[2025-01-13 03:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 03:59:03] Production.INFO: Account Balance Start.
[2025-01-13 03:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 03:59:03] Production.INFO: 117
[2025-01-13 03:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 03:59:03] Production.INFO: ==24048== Lock acquired, processing the job...
[2025-01-13 03:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 03:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:59:03] Production.INFO: ==24052== Lock acquired, processing the job...
[2025-01-13 03:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 03:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 03:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 03:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 03:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:59:03] Production.INFO: ==24058== Lock acquired, processing the job...
[2025-01-13 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 03:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 03:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:59:03] Production.INFO: Date 2025-01-12
[2025-01-13 03:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:59:03] Production.INFO: ==24050== Releasing lock...
[2025-01-13 03:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 03:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 03:59:03] Production.INFO: Date 2025-01-13
[2025-01-13 03:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 03:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 03:59:03] Production.INFO: Total Charge 0
[2025-01-13 03:59:03] Production.INFO: CreateAllLog End
[2025-01-13 03:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 03:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 03:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 03:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 03:59:03] Production.INFO: count ==21
[2025-01-13 03:59:03] Production.ERROR: done
[2025-01-13 03:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 03:59:03] Production.INFO: count ==21
[2025-01-13 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236342') start
[2025-01-13 03:59:03] Production.ERROR: done
[2025-01-13 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236342') end
[2025-01-13 03:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 03:59:03] Production.INFO: 1
[2025-01-13 03:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 03:59:04] Production.INFO: Account Balance End.
[2025-01-13 03:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 03:59:04] Production.INFO: ==24054== Releasing lock...
[2025-01-13 03:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 03:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 03:59:04] Production.INFO: ==24058== Releasing lock...
[2025-01-13 03:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 03:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 03:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 00:59:04
[end_date_ymd] => 2025-01-13 03:59:04
[RateCDR] => 1
)
[2025-01-13 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-13 00:59:04' and `end` < '2025-01-13 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-13 03:59:11] Production.ERROR: CronJobId end10
[2025-01-13 03:59:11] Production.INFO: ==24052== Releasing lock...
[2025-01-13 03:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 03:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 03:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 03:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 03:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 03:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 03:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 03:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 03:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 03:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 03:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 03:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 03:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 03:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 03:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 03:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 03:59:13] Production.INFO: call_cost start
[2025-01-13 03:59:13] Production.INFO: call_cost end
[2025-01-13 03:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 03:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 03:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 03:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 03:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 03:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 03:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 03:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 03:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 03:59:13] Production.INFO: ==24048== Releasing lock...
[2025-01-13 03:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 03:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 03:59:18] Production.INFO: count ==176
[2025-01-13 03:59:18] Production.ERROR: pbx CDR StartTime 2025-01-13 00:59:04 - End Time 2025-01-13 03:59:04
[2025-01-13 03:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236344', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236344', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236344', 'tblTempVendorCDR_20' ) start
[2025-01-13 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236344', 'tblTempVendorCDR_20' ) end
[2025-01-13 03:59:18] Production.INFO: ProcessCDR(1,14236344,1,1,2)
[2025-01-13 03:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 03:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 03:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236344', 'tblTempUsageDetail_20' ) start
[2025-01-13 03:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236344', 'tblTempUsageDetail_20' ) end
[2025-01-13 03:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 03:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 03:59:21] Production.INFO: ==24056== Releasing lock...
[2025-01-13 03:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 03:59:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 09:00:02] Production.INFO: ==24111== Lock acquired, processing the job...
[2025-01-13 09:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:00:02] Production.INFO: neon service started
[2025-01-13 09:00:02] Production.INFO: neon service started
[2025-01-13 09:00:02] Production.INFO: ==24111== Releasing lock...
[2025-01-13 09:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:00:03] Production.INFO: ==24113== Lock acquired, processing the job...
[2025-01-13 04:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:00:03] Production.INFO: ==24115== Lock acquired, processing the job...
[2025-01-13 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:00:03] Production.INFO: ==24115== Releasing lock...
[2025-01-13 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:00:03] Production.INFO: ==24113== Releasing lock...
[2025-01-13 04:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:00:04] Production.INFO: ==24122== Lock acquired, processing the job...
[2025-01-13 04:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:00:04] Production.INFO: ==24128== Lock acquired, processing the job...
[2025-01-13 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:00:04] Production.INFO: ==24118== Lock acquired, processing the job...
[2025-01-13 04:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 04:00:04] Production.INFO: ==24130== Lock acquired, processing the job...
[2025-01-13 04:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:00:04] Production.INFO: Account Balance Start.
[2025-01-13 04:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:00:04] Production.INFO: 117
[2025-01-13 04:00:04] Production.INFO: ==24120== Lock acquired, processing the job...
[2025-01-13 04:00:04] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts#
[2025-01-13 04:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 04:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 04:00:04] Production.ERROR: CronJob PID - 24122
[2025-01-13 04:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 04:00:04] Production.ERROR: CronJob ID - 5
[2025-01-13 04:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 04:00:00
[2025-01-13 04:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 04:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 04:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 04:00:04] Production.ERROR: CronJob PID - 24128
[2025-01-13 04:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 04:00:04] Production.ERROR: CronJob ID - 12
[2025-01-13 04:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 04:00:00
[2025-01-13 04:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 04:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 04:00:04] Production.INFO: ==24133== Lock acquired, processing the job...
[2025-01-13 04:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 04:00:04] Production.INFO: ==24124== Lock acquired, processing the job...
[2025-01-13 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 04:00:04] Production.INFO: ==24118== Releasing lock...
[2025-01-13 04:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 04:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:00:04] Production.INFO: ==24126== Lock acquired, processing the job...
[2025-01-13 04:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:00:05] Production.INFO: DBcleanup Starts.
[2025-01-13 04:00:05] Production.INFO: Usage Download Log Start.
[2025-01-13 04:00:05] Production.INFO: Usage Download Log End.
[2025-01-13 04:00:05] Production.INFO: Cronjob History Delete Start.
[2025-01-13 04:00:05] Production.INFO: Date 2025-01-11
[2025-01-13 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:00:05] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-01-14','Cronjob')
[2025-01-13 04:00:05] Production.INFO: ==24135== Lock acquired, processing the job...
[2025-01-13 04:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:00:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:00:05] Production.INFO: Date 2025-01-12
[2025-01-13 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:00:05] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:00:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:00:05] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:00:05] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:00:05] Production.ERROR: done
[2025-01-13 04:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:00:05] Production.INFO: Date 2025-01-13
[2025-01-13 04:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 04: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-13 04:00:05] Production.INFO: count ==21
[2025-01-13 04: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-13 04:00:05] Production.INFO: count ==21
[2025-01-13 04:00:05] Production.ERROR: done
[2025-01-13 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236349') start
[2025-01-13 04:00:05] Production.ERROR: done
[2025-01-13 04:00:05] Production.INFO: Total Charge 0
[2025-01-13 04:00:05] Production.INFO: CreateAllLog End
[2025-01-13 04:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 04:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236351', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236349') end
[2025-01-13 04:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:00:05] Production.INFO: 1
[2025-01-13 04:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:00:05] Production.INFO: Account Balance End.
[2025-01-13 04:00:05] Production.INFO: ==24124== Releasing lock...
[2025-01-13 04:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:00:05] Production.INFO: ==24135== Releasing lock...
[2025-01-13 04:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:00:05] Production.INFO: ==24128== Releasing lock...
[2025-01-13 04:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:00:06
[end_date_ymd] => 2025-01-13 04:00:06
[RateCDR] => 1
)
[2025-01-13 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-13 01:00:06' and `end` < '2025-01-13 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-13 04:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236351', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 04:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 04:00:10] Production.INFO: ProcessCDR(1,14236351,1,1,2)
[2025-01-13 04:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236351,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236351,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:00:10] Production.INFO: ==24133== Releasing lock...
[2025-01-13 04:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 04:00:10] Production.INFO: 26 MB #Memory Used#
[2025-01-13 04:00:16] Production.INFO: Cronjob History Delete End.
[2025-01-13 04:00:16] Production.INFO: Job Log Delete Start.
[2025-01-13 04:00:16] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-01-14','Job')
[2025-01-13 04:00:16] Production.INFO: Job Log Delete End.
[2025-01-13 04:00:16] Production.INFO: Customer RateSheet History Delete Starts.
[2025-01-13 04:00:16] Production.INFO: Customer RateSheet History Delete End.
[2025-01-13 04:00:16] Production.INFO: Vendor RateSheet History Delete Start.
[2025-01-13 04:00:16] Production.INFO: Vendor RateSheet History Delete End.
[2025-01-13 04:00:16] Production.INFO: All Old Rate Delete Start
[2025-01-13 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start.
[2025-01-13 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done.
[2025-01-13 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start.
[2025-01-13 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done.
[2025-01-13 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start.
[2025-01-13 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done.
[2025-01-13 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start.
[2025-01-13 04:00:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done.
[2025-01-13 04:00:16] Production.INFO: All Old Rate Delete End
[2025-01-13 04:00:16] Production.INFO: Customer CDR Delete Start.
[2025-01-13 04:00:16] Production.INFO: Customer CDR Delete End.
[2025-01-13 04:00:16] Production.INFO: Customer Failed Call Start.
[2025-01-13 04:00:16] Production.INFO: Customer Failed Call Delete End.
[2025-01-13 04:00:16] Production.INFO: Vendor CDR Delete Start.
[2025-01-13 04:00:16] Production.INFO: Vendor CDR Delete End.
[2025-01-13 04:00:16] Production.INFO: Vendor CDR Delete Start.
[2025-01-13 04:00:16] Production.INFO: Vendor CDR Delete End.
[2025-01-13 04:00:16] Production.INFO: RateLog Delete Start.
[2025-01-13 04:00:16] Production.INFO: RateLog Delete End.
[2025-01-13 04:00:16] Production.INFO: Archive Old Rate Delete Start.
[2025-01-13 04:00:16] Production.INFO: Archive Old Rate Delete End.
[2025-01-13 04:00:16] Production.INFO: Tickets Delete Start.
[2025-01-13 04:00:16] Production.INFO: Tickets Delete End.
[2025-01-13 04:00:16] Production.INFO: DBcleanup Done.
[2025-01-13 04:00:16] Production.ERROR: CronJobId end 3
[2025-01-13 04:00:16] Production.INFO: ==24120== Releasing lock...
[2025-01-13 04:00:16] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops#
[2025-01-13 04:00:16] Production.INFO: 26 MB #Memory Used#
[2025-01-13 04:00:18] Production.ERROR: CronJobId end10
[2025-01-13 04:00:18] Production.INFO: ==24126== Releasing lock...
[2025-01-13 04:00:18] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:00:18] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:00:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:00:18] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:00:18] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:00:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:00:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:00:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:00:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:00:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:00:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:00:18] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:00:18] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:00:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:00:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:00:18] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:00:19] Production.INFO: call_cost start
[2025-01-13 04:00:19] Production.INFO: call_cost end
[2025-01-13 04:00:20] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:00:20] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:00:20] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:00:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:00:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:00:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:00:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:00:20] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:00:20] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:00:20] Production.INFO: ==24122== Releasing lock...
[2025-01-13 04:00:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:00:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:00:20] Production.INFO: count ==169
[2025-01-13 04:00:20] Production.ERROR: pbx CDR StartTime 2025-01-13 01:00:06 - End Time 2025-01-13 04:00:06
[2025-01-13 04:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236350', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236350', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236350', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236350', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:00:20] Production.INFO: ProcessCDR(1,14236350,1,1,2)
[2025-01-13 04:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236350', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236350', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:00:23] Production.INFO: ==24130== Releasing lock...
[2025-01-13 04:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:00:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:01:01] Production.INFO: ==24189== Lock acquired, processing the job...
[2025-01-13 09:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:01:01] Production.INFO: neon service started
[2025-01-13 09:01:01] Production.INFO: neon service started
[2025-01-13 09:01:01] Production.INFO: ==24189== Releasing lock...
[2025-01-13 09:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:01:02] Production.INFO: ==24201== Lock acquired, processing the job...
[2025-01-13 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:01:02] Production.INFO: ==24201== Releasing lock...
[2025-01-13 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:01:02] Production.INFO: ==24203== Lock acquired, processing the job...
[2025-01-13 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:01:02] Production.INFO: ==24203== Releasing lock...
[2025-01-13 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:01:03] Production.INFO: ==24213== Lock acquired, processing the job...
[2025-01-13 04:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:01:03] Production.INFO: ==24209== Lock acquired, processing the job...
[2025-01-13 04:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:01:03] Production.INFO: ==24205== Lock acquired, processing the job...
[2025-01-13 04:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:01:03] Production.INFO: ==24207== Lock acquired, processing the job...
[2025-01-13 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:01:03] Production.INFO: ==24211== Lock acquired, processing the job...
[2025-01-13 04:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:01:03] Production.INFO: ==24215== Lock acquired, processing the job...
[2025-01-13 04:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:01:03] Production.ERROR: done
[2025-01-13 04:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:01:03] Production.INFO: Account Balance Start.
[2025-01-13 04:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:01:03] Production.INFO: count ==21
[2025-01-13 04:01:03] Production.INFO: 117
[2025-01-13 04:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:01:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:01:03] Production.INFO: count ==21
[2025-01-13 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236355') start
[2025-01-13 04:01:03] Production.ERROR: done
[2025-01-13 04:01:03] Production.INFO: ==24207== Releasing lock...
[2025-01-13 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:01:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236355') end
[2025-01-13 04:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:01:03] Production.INFO: 1
[2025-01-13 04:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:01:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:01:03] Production.INFO: ==24215== Releasing lock...
[2025-01-13 04:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:01:04] Production.INFO: Total Charge 0
[2025-01-13 04:01:04] Production.INFO: CreateAllLog End
[2025-01-13 04:01:04] Production.INFO: Account Balance End.
[2025-01-13 04:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:01:04] Production.INFO: ==24211== Releasing lock...
[2025-01-13 04:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:01:04
[end_date_ymd] => 2025-01-13 04:01:04
[RateCDR] => 1
)
[2025-01-13 04:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:01:04' and `end` < '2025-01-13 04:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:01:11] Production.ERROR: CronJobId end10
[2025-01-13 04:01:11] Production.INFO: ==24209== Releasing lock...
[2025-01-13 04:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:01:13] Production.INFO: call_cost start
[2025-01-13 04:01:13] Production.INFO: call_cost end
[2025-01-13 04:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:01:14] Production.INFO: ==24205== Releasing lock...
[2025-01-13 04:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:01:18] Production.INFO: count ==166
[2025-01-13 04:01:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:01:04 - End Time 2025-01-13 04:01:04
[2025-01-13 04:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236356', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236356', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236356', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236356', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:01:18] Production.INFO: ProcessCDR(1,14236356,1,1,2)
[2025-01-13 04:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236356', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236356', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:01:21] Production.INFO: ==24213== Releasing lock...
[2025-01-13 04:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:01:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:02:02] Production.INFO: ==24270== Lock acquired, processing the job...
[2025-01-13 09:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:02:02] Production.INFO: neon service started
[2025-01-13 09:02:02] Production.INFO: neon service started
[2025-01-13 09:02:02] Production.INFO: ==24270== Releasing lock...
[2025-01-13 09:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:02:02] Production.INFO: ==24272== Lock acquired, processing the job...
[2025-01-13 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:02:02] Production.INFO: ==24272== Releasing lock...
[2025-01-13 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:02:02] Production.INFO: ==24274== Lock acquired, processing the job...
[2025-01-13 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:02:03] Production.INFO: ==24274== Releasing lock...
[2025-01-13 09:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:02:03] Production.INFO: ==24276== Lock acquired, processing the job...
[2025-01-13 04:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:02:03] Production.INFO: ==24280== Lock acquired, processing the job...
[2025-01-13 04:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:02:03] Production.INFO: ==24278== Lock acquired, processing the job...
[2025-01-13 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:02:03] Production.INFO: ==24285== Lock acquired, processing the job...
[2025-01-13 04:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:02:03] Production.INFO: ==24282== Lock acquired, processing the job...
[2025-01-13 04:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:02:03] Production.INFO: ==24287== Lock acquired, processing the job...
[2025-01-13 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:02:04] Production.INFO: Account Balance Start.
[2025-01-13 04:02:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:02:04] Production.INFO: 117
[2025-01-13 04:02:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:02:04] Production.INFO: count ==21
[2025-01-13 04:02:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:02:04] Production.INFO: count ==21
[2025-01-13 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236360') start
[2025-01-13 04:02:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:02:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:02:04] Production.ERROR: done
[2025-01-13 04:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:02:04] Production.INFO: ==24278== Releasing lock...
[2025-01-13 04:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:02:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236360') end
[2025-01-13 04:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:02:04] Production.INFO: 1
[2025-01-13 04:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:02:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:02:04] Production.INFO: Total Charge 0
[2025-01-13 04:02:04] Production.INFO: CreateAllLog End
[2025-01-13 04:02:04] Production.INFO: ==24287== Releasing lock...
[2025-01-13 04:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:02:04] Production.ERROR: done
[2025-01-13 04:02:04] Production.INFO: Account Balance End.
[2025-01-13 04:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:02:04] Production.INFO: ==24282== Releasing lock...
[2025-01-13 04:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:02:05
[end_date_ymd] => 2025-01-13 04:02:05
[RateCDR] => 1
)
[2025-01-13 04:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:02:05' and `end` < '2025-01-13 04:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:02:11] Production.ERROR: CronJobId end10
[2025-01-13 04:02:11] Production.INFO: ==24280== Releasing lock...
[2025-01-13 04:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:02:14] Production.INFO: call_cost start
[2025-01-13 04:02:14] Production.INFO: call_cost end
[2025-01-13 04:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:02:15] Production.INFO: ==24276== Releasing lock...
[2025-01-13 04:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:02:18] Production.INFO: count ==166
[2025-01-13 04:02:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:02:05 - End Time 2025-01-13 04:02:05
[2025-01-13 04:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236361', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236361', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236361', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236361', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:02:18] Production.INFO: ProcessCDR(1,14236361,1,1,2)
[2025-01-13 04:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236361', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236361', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:02:21] Production.INFO: ==24285== Releasing lock...
[2025-01-13 04:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:02:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:03:01] Production.INFO: ==24340== Lock acquired, processing the job...
[2025-01-13 09:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:03:01] Production.INFO: neon service started
[2025-01-13 09:03:01] Production.INFO: neon service started
[2025-01-13 09:03:01] Production.INFO: ==24340== Releasing lock...
[2025-01-13 09:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:03:02] Production.INFO: ==24342== Lock acquired, processing the job...
[2025-01-13 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:03:02] Production.INFO: ==24342== Releasing lock...
[2025-01-13 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:03:02] Production.INFO: ==24344== Lock acquired, processing the job...
[2025-01-13 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:03:02] Production.INFO: ==24344== Releasing lock...
[2025-01-13 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:03:03] Production.INFO: ==24348== Lock acquired, processing the job...
[2025-01-13 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:03:03] Production.INFO: ==24357== Lock acquired, processing the job...
[2025-01-13 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:03:03] Production.INFO: ==24346== Lock acquired, processing the job...
[2025-01-13 04:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:03:03] Production.INFO: ==24350== Lock acquired, processing the job...
[2025-01-13 04:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:03:03] Production.INFO: ==24348== Releasing lock...
[2025-01-13 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:03:03] Production.INFO: count ==21
[2025-01-13 04:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:03:03] Production.INFO: ==24352== Lock acquired, processing the job...
[2025-01-13 04:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:03:03] Production.INFO: count ==21
[2025-01-13 04:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236363') start
[2025-01-13 04:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:03:03] Production.INFO: ==24355== Lock acquired, processing the job...
[2025-01-13 04:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:03:03] Production.INFO: Account Balance Start.
[2025-01-13 04:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:03:03] Production.INFO: 117
[2025-01-13 04:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236363') end
[2025-01-13 04:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:03:03] Production.INFO: 1
[2025-01-13 04:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:03:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:03:03] Production.INFO: ==24357== Releasing lock...
[2025-01-13 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:03:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:03:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:03:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:03:03] Production.ERROR: done
[2025-01-13 04:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:03:03] Production.INFO: Total Charge 0
[2025-01-13 04:03:04] Production.INFO: CreateAllLog End
[2025-01-13 04:03:04] Production.ERROR: done
[2025-01-13 04:03:04] Production.INFO: Account Balance End.
[2025-01-13 04:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:03:04] Production.INFO: ==24352== Releasing lock...
[2025-01-13 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:03:05
[end_date_ymd] => 2025-01-13 04:03:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:03:05' and `end` < '2025-01-13 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-13 04:03:10] Production.ERROR: CronJobId end10
[2025-01-13 04:03:10] Production.INFO: ==24350== Releasing lock...
[2025-01-13 04:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:03:13] Production.INFO: call_cost start
[2025-01-13 04:03:13] Production.INFO: call_cost end
[2025-01-13 04:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:03:13] Production.INFO: ==24346== Releasing lock...
[2025-01-13 04:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:03:18] Production.INFO: count ==166
[2025-01-13 04:03:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:03:05 - End Time 2025-01-13 04:03:05
[2025-01-13 04:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236366', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236366', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236366', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236366', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:03:18] Production.INFO: ProcessCDR(1,14236366,1,1,2)
[2025-01-13 04:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236366', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236366', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:03:21] Production.INFO: ==24355== Releasing lock...
[2025-01-13 04:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:03:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:04:02] Production.INFO: ==24410== Lock acquired, processing the job...
[2025-01-13 09:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:04:02] Production.INFO: neon service started
[2025-01-13 09:04:02] Production.INFO: neon service started
[2025-01-13 09:04:02] Production.INFO: ==24410== Releasing lock...
[2025-01-13 09:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:04:03] Production.INFO: ==24412== Lock acquired, processing the job...
[2025-01-13 04:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:04:03] Production.INFO: ==24414== Lock acquired, processing the job...
[2025-01-13 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:04:03] Production.INFO: ==24414== Releasing lock...
[2025-01-13 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:04:03] Production.INFO: ==24412== Releasing lock...
[2025-01-13 04:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:04:04] Production.INFO: ==24419== Lock acquired, processing the job...
[2025-01-13 04:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:04:04] Production.INFO: ==24421== Lock acquired, processing the job...
[2025-01-13 04:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:04:04] Production.INFO: ==24417== Lock acquired, processing the job...
[2025-01-13 04:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:04:04] Production.INFO: ==24419== Releasing lock...
[2025-01-13 04:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:04:04] Production.INFO: ==24423== Lock acquired, processing the job...
[2025-01-13 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:04:04] Production.INFO: ==24425== Lock acquired, processing the job...
[2025-01-13 04:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:04:04] Production.INFO: Account Balance Start.
[2025-01-13 04:04:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:04:04] Production.INFO: 117
[2025-01-13 04:04:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:04:04] Production.INFO: ==24427== Lock acquired, processing the job...
[2025-01-13 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:04:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:04:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:04:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:04:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:04:04] Production.INFO: Total Charge 0
[2025-01-13 04:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:04:04] Production.INFO: CreateAllLog End
[2025-01-13 04:04:04] Production.INFO: count ==21
[2025-01-13 04:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:04:04] Production.INFO: count ==21
[2025-01-13 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236370') start
[2025-01-13 04:04:05] Production.ERROR: done
[2025-01-13 04:04:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236370') end
[2025-01-13 04:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:04:05] Production.INFO: 1
[2025-01-13 04:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:04:05] Production.INFO: ==24427== Releasing lock...
[2025-01-13 04:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:04:05] Production.INFO: Account Balance End.
[2025-01-13 04:04:05] Production.ERROR: done
[2025-01-13 04:04:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:04:05] Production.INFO: ==24423== Releasing lock...
[2025-01-13 04:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:04:06
[end_date_ymd] => 2025-01-13 04:04:06
[RateCDR] => 1
)
[2025-01-13 04:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:04:06' and `end` < '2025-01-13 04:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:04:12] Production.ERROR: CronJobId end10
[2025-01-13 04:04:12] Production.INFO: ==24421== Releasing lock...
[2025-01-13 04:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:04:14] Production.INFO: call_cost start
[2025-01-13 04:04:14] Production.INFO: call_cost end
[2025-01-13 04:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:04:15] Production.INFO: ==24417== Releasing lock...
[2025-01-13 04:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:04:18] Production.INFO: count ==166
[2025-01-13 04:04:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:04:06 - End Time 2025-01-13 04:04:06
[2025-01-13 04:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236371', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236371', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236371', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236371', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:04:18] Production.INFO: ProcessCDR(1,14236371,1,1,2)
[2025-01-13 04:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236371', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236371', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:04:22] Production.INFO: ==24425== Releasing lock...
[2025-01-13 04:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:04:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:05:01] Production.INFO: ==24479== Lock acquired, processing the job...
[2025-01-13 09:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:05:01] Production.INFO: neon service started
[2025-01-13 09:05:01] Production.INFO: neon service started
[2025-01-13 09:05:01] Production.INFO: ==24479== Releasing lock...
[2025-01-13 09:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:05:02] Production.INFO: ==24481== Lock acquired, processing the job...
[2025-01-13 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:05:02] Production.INFO: ==24483== Lock acquired, processing the job...
[2025-01-13 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:05:02] Production.INFO: ==24483== Releasing lock...
[2025-01-13 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:05:02] Production.INFO: ==24481== Releasing lock...
[2025-01-13 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:05:03] Production.INFO: ==24488== Lock acquired, processing the job...
[2025-01-13 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:05:03] Production.INFO: ==24486== Lock acquired, processing the job...
[2025-01-13 04:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:05:03] Production.INFO: ==24492== Lock acquired, processing the job...
[2025-01-13 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:05:03] Production.INFO: Account Balance Start.
[2025-01-13 04:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:05:03] Production.INFO: ==24490== Lock acquired, processing the job...
[2025-01-13 04:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:05:03] Production.INFO: 117
[2025-01-13 04:05:03] Production.INFO: ==24494== Lock acquired, processing the job...
[2025-01-13 04:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:05:04] Production.INFO: ==24496== Lock acquired, processing the job...
[2025-01-13 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:05:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:05:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 04:05:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:05:04] Production.INFO: count ==21
[2025-01-13 04:05:04] Production.INFO: ==24488== Releasing lock...
[2025-01-13 04:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 04:05:04] Production.INFO: count ==21
[2025-01-13 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236375') start
[2025-01-13 04:05:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:05:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:05:04] Production.ERROR: done
[2025-01-13 04:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:05:04] Production.INFO: Total Charge 0
[2025-01-13 04:05:04] Production.INFO: CreateAllLog End
[2025-01-13 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236375') end
[2025-01-13 04:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:05:04] Production.INFO: 1
[2025-01-13 04:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:05:04] Production.INFO: ==24496== Releasing lock...
[2025-01-13 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:05:04] Production.ERROR: done
[2025-01-13 04:05:04] Production.INFO: Account Balance End.
[2025-01-13 04:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:05:04] Production.INFO: ==24492== Releasing lock...
[2025-01-13 04:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:05:05
[end_date_ymd] => 2025-01-13 04:05:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:05:05' and `end` < '2025-01-13 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-13 04:05:11] Production.ERROR: CronJobId end10
[2025-01-13 04:05:11] Production.INFO: ==24490== Releasing lock...
[2025-01-13 04:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:05:13] Production.INFO: call_cost start
[2025-01-13 04:05:13] Production.INFO: call_cost end
[2025-01-13 04:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:05:14] Production.INFO: ==24486== Releasing lock...
[2025-01-13 04:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:05:18] Production.INFO: count ==166
[2025-01-13 04:05:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:05:05 - End Time 2025-01-13 04:05:05
[2025-01-13 04:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236376', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236376', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236376', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236376', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:05:18] Production.INFO: ProcessCDR(1,14236376,1,1,2)
[2025-01-13 04:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236376', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236376', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:05:21] Production.INFO: ==24494== Releasing lock...
[2025-01-13 04:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:05:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:06:01] Production.INFO: ==24589== Lock acquired, processing the job...
[2025-01-13 09:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:06:01] Production.INFO: neon service started
[2025-01-13 09:06:01] Production.INFO: neon service started
[2025-01-13 09:06:01] Production.INFO: ==24589== Releasing lock...
[2025-01-13 09:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:06:02] Production.INFO: ==24591== Lock acquired, processing the job...
[2025-01-13 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:06:02] Production.INFO: ==24591== Releasing lock...
[2025-01-13 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:06:02] Production.INFO: ==24593== Lock acquired, processing the job...
[2025-01-13 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:06:02] Production.INFO: ==24593== Releasing lock...
[2025-01-13 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:06:03] Production.INFO: ==24595== Lock acquired, processing the job...
[2025-01-13 04:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:06:03] Production.INFO: ==24597== Lock acquired, processing the job...
[2025-01-13 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:06:03] Production.INFO: ==24601== Lock acquired, processing the job...
[2025-01-13 04:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:06:03] Production.INFO: Account Balance Start.
[2025-01-13 04:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:06:03] Production.INFO: 117
[2025-01-13 04:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:06:03] Production.INFO: ==24599== Lock acquired, processing the job...
[2025-01-13 04:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:06:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:06:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:06:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:06:03] Production.INFO: ==24604== Lock acquired, processing the job...
[2025-01-13 04:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:06:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:06:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:06:03] Production.INFO: ==24606== Lock acquired, processing the job...
[2025-01-13 04:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:06:03] Production.INFO: Total Charge 0
[2025-01-13 04:06:03] Production.INFO: CreateAllLog End
[2025-01-13 04:06:03] Production.INFO: ==24597== Releasing lock...
[2025-01-13 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 04:06:03] Production.INFO: Account Balance End.
[2025-01-13 04:06:03] Production.ERROR: done
[2025-01-13 04:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:06:03] Production.INFO: count ==21
[2025-01-13 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-13 04:06:03] Production.INFO: count ==21
[2025-01-13 04:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236380') start
[2025-01-13 04:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:06:04] Production.INFO: ==24601== Releasing lock...
[2025-01-13 04:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:06:04] Production.ERROR: done
[2025-01-13 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236380') end
[2025-01-13 04:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:06:04] Production.INFO: 1
[2025-01-13 04:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:06:04] Production.INFO: ==24606== Releasing lock...
[2025-01-13 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:06:05
[end_date_ymd] => 2025-01-13 04:06:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:06:05' and `end` < '2025-01-13 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-13 04:06:11] Production.ERROR: CronJobId end10
[2025-01-13 04:06:11] Production.INFO: ==24599== Releasing lock...
[2025-01-13 04:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:06:13] Production.INFO: call_cost start
[2025-01-13 04:06:13] Production.INFO: call_cost end
[2025-01-13 04:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:06:14] Production.INFO: ==24595== Releasing lock...
[2025-01-13 04:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:06:18] Production.INFO: count ==166
[2025-01-13 04:06:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:06:05 - End Time 2025-01-13 04:06:05
[2025-01-13 04:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236381', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236381', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236381', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236381', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:06:18] Production.INFO: ProcessCDR(1,14236381,1,1,2)
[2025-01-13 04:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236381', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236381', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:06:21] Production.INFO: ==24604== Releasing lock...
[2025-01-13 04:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:06:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:07:02] Production.INFO: ==24661== Lock acquired, processing the job...
[2025-01-13 09:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:07:02] Production.INFO: neon service started
[2025-01-13 09:07:02] Production.INFO: neon service started
[2025-01-13 09:07:02] Production.INFO: ==24661== Releasing lock...
[2025-01-13 09:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:07:02] Production.INFO: ==24665== Lock acquired, processing the job...
[2025-01-13 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:07:02] Production.INFO: ==24665== Releasing lock...
[2025-01-13 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:07:02] Production.INFO: ==24663== Lock acquired, processing the job...
[2025-01-13 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:07:02] Production.INFO: ==24663== Releasing lock...
[2025-01-13 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:07:03] Production.INFO: ==24676== Lock acquired, processing the job...
[2025-01-13 04:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:07:03] Production.INFO: ==24671== Lock acquired, processing the job...
[2025-01-13 04:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:07:03] Production.INFO: ==24667== Lock acquired, processing the job...
[2025-01-13 04:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:07:04] Production.INFO: ==24669== Lock acquired, processing the job...
[2025-01-13 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:07:04] Production.INFO: ==24673== Lock acquired, processing the job...
[2025-01-13 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:07:04] Production.INFO: ==24678== Lock acquired, processing the job...
[2025-01-13 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:07:04] Production.ERROR: done
[2025-01-13 04:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:07:04] Production.INFO: Account Balance Start.
[2025-01-13 04:07:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:07:04] Production.INFO: 117
[2025-01-13 04:07:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:07:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:07:04] Production.INFO: count ==21
[2025-01-13 04:07:04] Production.ERROR: done
[2025-01-13 04:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:07:04] Production.INFO: count ==21
[2025-01-13 04:07:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236385') start
[2025-01-13 04:07:04] Production.INFO: ==24669== Releasing lock...
[2025-01-13 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:07:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:07:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236385') end
[2025-01-13 04:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:07:04] Production.INFO: 1
[2025-01-13 04:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:07:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:07:04] Production.INFO: Total Charge 0
[2025-01-13 04:07:04] Production.INFO: ==24678== Releasing lock...
[2025-01-13 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:07:04] Production.INFO: CreateAllLog End
[2025-01-13 04:07:04] Production.INFO: Account Balance End.
[2025-01-13 04:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:07:04] Production.INFO: ==24673== Releasing lock...
[2025-01-13 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:07:05
[end_date_ymd] => 2025-01-13 04:07:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:07:05' and `end` < '2025-01-13 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-13 04:07:12] Production.ERROR: CronJobId end10
[2025-01-13 04:07:12] Production.INFO: ==24671== Releasing lock...
[2025-01-13 04:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:07:14] Production.INFO: call_cost start
[2025-01-13 04:07:14] Production.INFO: call_cost end
[2025-01-13 04:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:07:15] Production.INFO: ==24667== Releasing lock...
[2025-01-13 04:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:07:19] Production.INFO: count ==166
[2025-01-13 04:07:19] Production.ERROR: pbx CDR StartTime 2025-01-13 01:07:05 - End Time 2025-01-13 04:07:05
[2025-01-13 04:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236386', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236386', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236386', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236386', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:07:19] Production.INFO: ProcessCDR(1,14236386,1,1,2)
[2025-01-13 04:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236386', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236386', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:07:23] Production.INFO: ==24676== Releasing lock...
[2025-01-13 04:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:07:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:08:01] Production.INFO: ==24734== Lock acquired, processing the job...
[2025-01-13 09:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:08:01] Production.INFO: neon service started
[2025-01-13 09:08:01] Production.INFO: neon service started
[2025-01-13 09:08:01] Production.INFO: ==24734== Releasing lock...
[2025-01-13 09:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:08:02] Production.INFO: ==24736== Lock acquired, processing the job...
[2025-01-13 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:08:02] Production.INFO: ==24738== Lock acquired, processing the job...
[2025-01-13 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:08:02] Production.INFO: ==24738== Releasing lock...
[2025-01-13 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:08:02] Production.INFO: ==24736== Releasing lock...
[2025-01-13 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:08:03] Production.INFO: ==24741== Lock acquired, processing the job...
[2025-01-13 04:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:08:03] Production.INFO: ==24745== Lock acquired, processing the job...
[2025-01-13 04:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:08:03] Production.INFO: ==24747== Lock acquired, processing the job...
[2025-01-13 04:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:08:03] Production.INFO: ==24743== Lock acquired, processing the job...
[2025-01-13 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:08:03] Production.INFO: Account Balance Start.
[2025-01-13 04:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:08:03] Production.INFO: 117
[2025-01-13 04:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:08:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:08:03] Production.INFO: ==24749== Lock acquired, processing the job...
[2025-01-13 04:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:08:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:08:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:08:03] Production.INFO: Total Charge 0
[2025-01-13 04:08:03] Production.INFO: CreateAllLog End
[2025-01-13 04:08:03] Production.INFO: ==24751== Lock acquired, processing the job...
[2025-01-13 04:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:08:03] Production.INFO: ==24743== Releasing lock...
[2025-01-13 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:08:04] Production.ERROR: done
[2025-01-13 04:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:08:04] Production.INFO: count ==21
[2025-01-13 04:08:04] Production.INFO: Account Balance End.
[2025-01-13 04:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:08:04] Production.INFO: count ==21
[2025-01-13 04:08:04] Production.ERROR: done
[2025-01-13 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236390') start
[2025-01-13 04:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:08:04] Production.INFO: ==24747== Releasing lock...
[2025-01-13 04:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236390') end
[2025-01-13 04:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:08:04] Production.INFO: 1
[2025-01-13 04:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:08:04] Production.INFO: ==24751== Releasing lock...
[2025-01-13 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:08:05
[end_date_ymd] => 2025-01-13 04:08:05
[RateCDR] => 1
)
[2025-01-13 04:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:08:05' and `end` < '2025-01-13 04:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:08:11] Production.ERROR: CronJobId end10
[2025-01-13 04:08:11] Production.INFO: ==24745== Releasing lock...
[2025-01-13 04:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:08:13] Production.INFO: call_cost start
[2025-01-13 04:08:13] Production.INFO: call_cost end
[2025-01-13 04:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:08:14] Production.INFO: ==24741== Releasing lock...
[2025-01-13 04:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:08:18] Production.INFO: count ==166
[2025-01-13 04:08:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:08:05 - End Time 2025-01-13 04:08:05
[2025-01-13 04:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236391', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236391', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236391', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236391', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:08:18] Production.INFO: ProcessCDR(1,14236391,1,1,2)
[2025-01-13 04:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236391', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236391', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:08:21] Production.INFO: ==24749== Releasing lock...
[2025-01-13 04:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:08:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:09:01] Production.INFO: ==24805== Lock acquired, processing the job...
[2025-01-13 09:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:09:01] Production.INFO: neon service started
[2025-01-13 09:09:01] Production.INFO: neon service started
[2025-01-13 09:09:01] Production.INFO: ==24805== Releasing lock...
[2025-01-13 09:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:09:02] Production.INFO: ==24807== Lock acquired, processing the job...
[2025-01-13 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:09:02] Production.INFO: ==24807== Releasing lock...
[2025-01-13 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:09:02] Production.INFO: ==24809== Lock acquired, processing the job...
[2025-01-13 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:09:02] Production.INFO: ==24809== Releasing lock...
[2025-01-13 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:09:03] Production.INFO: ==24821== Lock acquired, processing the job...
[2025-01-13 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:09:03] Production.INFO: ==24819== Lock acquired, processing the job...
[2025-01-13 04:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:09:03] Production.INFO: ==24811== Lock acquired, processing the job...
[2025-01-13 04:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:09:03] Production.INFO: ==24813== Lock acquired, processing the job...
[2025-01-13 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:09:03] Production.INFO: count ==21
[2025-01-13 04:09:03] Production.INFO: ==24815== Lock acquired, processing the job...
[2025-01-13 04:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:09:03] Production.INFO: ==24817== Lock acquired, processing the job...
[2025-01-13 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:09:03] Production.INFO: count ==21
[2025-01-13 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236392') start
[2025-01-13 04:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:09:03] Production.INFO: Account Balance Start.
[2025-01-13 04:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:09:03] Production.INFO: 117
[2025-01-13 04:09:03] Production.ERROR: done
[2025-01-13 04:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236392') end
[2025-01-13 04:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:09:03] Production.INFO: 1
[2025-01-13 04:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:09:03] Production.INFO: ==24821== Releasing lock...
[2025-01-13 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:09:04] Production.ERROR: done
[2025-01-13 04:09:04] Production.INFO: ==24813== Releasing lock...
[2025-01-13 04:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:09:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:09:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:09:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:09:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:09:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:09:04] Production.INFO: Total Charge 0
[2025-01-13 04:09:04] Production.INFO: CreateAllLog End
[2025-01-13 04:09:04] Production.INFO: Account Balance End.
[2025-01-13 04:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:09:04] Production.INFO: ==24817== Releasing lock...
[2025-01-13 04:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:09:05
[end_date_ymd] => 2025-01-13 04:09:05
[RateCDR] => 1
)
[2025-01-13 04:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:09:05' and `end` < '2025-01-13 04:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:09:11] Production.ERROR: CronJobId end10
[2025-01-13 04:09:11] Production.INFO: ==24815== Releasing lock...
[2025-01-13 04:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:09:13] Production.INFO: call_cost start
[2025-01-13 04:09:13] Production.INFO: call_cost end
[2025-01-13 04:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:09:14] Production.INFO: ==24811== Releasing lock...
[2025-01-13 04:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:09:18] Production.INFO: count ==163
[2025-01-13 04:09:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:09:05 - End Time 2025-01-13 04:09:05
[2025-01-13 04:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236396', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236396', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236396', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236396', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:09:19] Production.INFO: ProcessCDR(1,14236396,1,1,2)
[2025-01-13 04:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236396', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236396', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:09:22] Production.INFO: ==24819== Releasing lock...
[2025-01-13 04:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:09:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:10:02] Production.INFO: ==24878== Lock acquired, processing the job...
[2025-01-13 09:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:10:02] Production.INFO: neon service started
[2025-01-13 09:10:02] Production.INFO: neon service started
[2025-01-13 09:10:02] Production.INFO: ==24878== Releasing lock...
[2025-01-13 09:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:10:02] Production.INFO: ==24880== Lock acquired, processing the job...
[2025-01-13 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:10:02] Production.INFO: ==24882== Lock acquired, processing the job...
[2025-01-13 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:10:02] Production.INFO: ==24882== Releasing lock...
[2025-01-13 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:10:03] Production.INFO: ==24880== Releasing lock...
[2025-01-13 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:10:04] Production.INFO: ==24887== Lock acquired, processing the job...
[2025-01-13 04:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:10:04] Production.INFO: ==24889== Lock acquired, processing the job...
[2025-01-13 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:10:04] Production.INFO: ==24885== Lock acquired, processing the job...
[2025-01-13 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 04:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:10:04] Production.INFO: ==24891== Lock acquired, processing the job...
[2025-01-13 04:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 04:10:04] Production.ERROR: CronJob PID - 24887
[2025-01-13 04:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 04:10:04] Production.ERROR: CronJob ID - 5
[2025-01-13 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 04:10:00
[2025-01-13 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 04:10:04] Production.ERROR: CronJob PID - 24889
[2025-01-13 04:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 04:10:04] Production.ERROR: CronJob ID - 7
[2025-01-13 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 04:10:00
[2025-01-13 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 04:10:04] Production.ERROR: CronJob PID - 24891
[2025-01-13 04:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 04:10:04] Production.ERROR: CronJob ID - 10
[2025-01-13 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 04:10:00
[2025-01-13 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 04:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 04:10:04] Production.INFO: ==24885== Releasing lock...
[2025-01-13 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 04:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:10:04] Production.INFO: ==24895== Lock acquired, processing the job...
[2025-01-13 04:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:10:04] Production.INFO: ==24893== Lock acquired, processing the job...
[2025-01-13 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:10:04] Production.INFO: ==24889== Releasing lock...
[2025-01-13 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:10:04] Production.INFO: ==24897== Lock acquired, processing the job...
[2025-01-13 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 04:10:04] Production.INFO: Account Balance Start.
[2025-01-13 04:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:10:04] Production.INFO: 117
[2025-01-13 04:10:04] Production.INFO: ==24899== Lock acquired, processing the job...
[2025-01-13 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:10:04] Production.INFO: count ==21
[2025-01-13 04:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:10:04] Production.INFO: count ==21
[2025-01-13 04:10:04] Production.ERROR: done
[2025-01-13 04:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236400') start
[2025-01-13 04:10:05] Production.INFO: Date 2025-01-11
[2025-01-13 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:10:05] Production.ERROR: done
[2025-01-13 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236400') end
[2025-01-13 04:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:10:05] Production.INFO: 1
[2025-01-13 04:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:10:05] Production.ERROR: done
[2025-01-13 04:10:05] Production.INFO: Date 2025-01-12
[2025-01-13 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:10:05] Production.INFO: ==24899== Releasing lock...
[2025-01-13 04:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 04:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236401', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 04:10:05] Production.INFO: Date 2025-01-13
[2025-01-13 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:10:05] Production.INFO: Total Charge 0
[2025-01-13 04:10:05] Production.INFO: CreateAllLog End
[2025-01-13 04:10:05] Production.INFO: Account Balance End.
[2025-01-13 04:10:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:10:05] Production.INFO: ==24893== Releasing lock...
[2025-01-13 04:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:10:05
[end_date_ymd] => 2025-01-13 04:10:05
[RateCDR] => 1
)
[2025-01-13 04: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-13 01:10:05' and `end` < '2025-01-13 04: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-13 04:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236401', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 04:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 04:10:09] Production.INFO: ProcessCDR(1,14236401,1,1,2)
[2025-01-13 04:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236401,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236401,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:10:09] Production.INFO: ==24897== Releasing lock...
[2025-01-13 04:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 04:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 04:10:13] Production.ERROR: CronJobId end10
[2025-01-13 04:10:13] Production.INFO: ==24891== Releasing lock...
[2025-01-13 04:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:10:16] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:10:16] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:10:16] Production.INFO: call_cost start
[2025-01-13 04:10:16] Production.INFO: call_cost end
[2025-01-13 04:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:10:17] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:10:17] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:10:17] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:10:17] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:10:17] Production.INFO: ==24887== Releasing lock...
[2025-01-13 04:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:10:18] Production.INFO: count ==159
[2025-01-13 04:10:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:10:05 - End Time 2025-01-13 04:10:05
[2025-01-13 04:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236402', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236402', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236402', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236402', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:10:18] Production.INFO: ProcessCDR(1,14236402,1,1,2)
[2025-01-13 04:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236402', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236402', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:10:21] Production.INFO: ==24895== Releasing lock...
[2025-01-13 04:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:10:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:11:02] Production.INFO: ==24952== Lock acquired, processing the job...
[2025-01-13 09:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:11:02] Production.INFO: neon service started
[2025-01-13 09:11:02] Production.INFO: neon service started
[2025-01-13 09:11:02] Production.INFO: ==24952== Releasing lock...
[2025-01-13 09:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:11:02] Production.INFO: ==24954== Lock acquired, processing the job...
[2025-01-13 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:11:02] Production.INFO: ==24954== Releasing lock...
[2025-01-13 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:11:02] Production.INFO: ==24956== Lock acquired, processing the job...
[2025-01-13 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:11:02] Production.INFO: ==24956== Releasing lock...
[2025-01-13 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:11:03] Production.INFO: ==24958== Lock acquired, processing the job...
[2025-01-13 04:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:11:03] Production.INFO: ==24963== Lock acquired, processing the job...
[2025-01-13 04:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:11:03] Production.INFO: ==24965== Lock acquired, processing the job...
[2025-01-13 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:11:03] Production.INFO: Account Balance Start.
[2025-01-13 04:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:11:03] Production.INFO: 117
[2025-01-13 04:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:11:03] Production.INFO: ==24961== Lock acquired, processing the job...
[2025-01-13 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:11:03] Production.INFO: ==24967== Lock acquired, processing the job...
[2025-01-13 04:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:11:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:11:03] Production.INFO: ==24969== Lock acquired, processing the job...
[2025-01-13 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:11:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:11:04] Production.INFO: ==24961== Releasing lock...
[2025-01-13 04:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:11:04] Production.INFO: Total Charge 0
[2025-01-13 04:11:04] Production.INFO: CreateAllLog End
[2025-01-13 04:11:04] Production.INFO: count ==21
[2025-01-13 04:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:11:04] Production.INFO: count ==21
[2025-01-13 04:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236406') start
[2025-01-13 04:11:04] Production.ERROR: done
[2025-01-13 04:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:11:04] Production.INFO: Account Balance End.
[2025-01-13 04:11:04] Production.ERROR: done
[2025-01-13 04:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:11:04] Production.INFO: ==24965== Releasing lock...
[2025-01-13 04:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236406') end
[2025-01-13 04:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:11:04] Production.INFO: 1
[2025-01-13 04:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:11:04] Production.INFO: ==24969== Releasing lock...
[2025-01-13 04:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:11:05
[end_date_ymd] => 2025-01-13 04:11:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:11:05' and `end` < '2025-01-13 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-13 04:11:11] Production.ERROR: CronJobId end10
[2025-01-13 04:11:11] Production.INFO: ==24963== Releasing lock...
[2025-01-13 04:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:11:13] Production.INFO: call_cost start
[2025-01-13 04:11:13] Production.INFO: call_cost end
[2025-01-13 04:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:11:14] Production.INFO: ==24958== Releasing lock...
[2025-01-13 04:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:11:18] Production.INFO: count ==144
[2025-01-13 04:11:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:11:05 - End Time 2025-01-13 04:11:05
[2025-01-13 04:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236407', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236407', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236407', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236407', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:11:18] Production.INFO: ProcessCDR(1,14236407,1,1,2)
[2025-01-13 04:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236407', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236407', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:11:22] Production.INFO: ==24967== Releasing lock...
[2025-01-13 04:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:11:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:12:01] Production.INFO: ==25029== Lock acquired, processing the job...
[2025-01-13 09:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:12:01] Production.INFO: neon service started
[2025-01-13 09:12:01] Production.INFO: neon service started
[2025-01-13 09:12:01] Production.INFO: ==25029== Releasing lock...
[2025-01-13 09:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:12:01] Production.INFO: ==25031== Lock acquired, processing the job...
[2025-01-13 04:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:12:02] Production.INFO: ==25031== Releasing lock...
[2025-01-13 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:12:02] Production.INFO: ==25033== Lock acquired, processing the job...
[2025-01-13 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:12:02] Production.INFO: ==25033== Releasing lock...
[2025-01-13 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:12:03] Production.INFO: ==25044== Lock acquired, processing the job...
[2025-01-13 04:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:12:03] Production.INFO: ==25046== Lock acquired, processing the job...
[2025-01-13 04:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:12:03] Production.INFO: ==25036== Lock acquired, processing the job...
[2025-01-13 04:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:12:03] Production.INFO: ==25038== Lock acquired, processing the job...
[2025-01-13 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:12:03] Production.INFO: ==25040== Lock acquired, processing the job...
[2025-01-13 04:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:12:03] Production.INFO: ==25042== Lock acquired, processing the job...
[2025-01-13 04:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:12:03] Production.INFO: count ==21
[2025-01-13 04:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:12:03] Production.INFO: count ==21
[2025-01-13 04:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236408') start
[2025-01-13 04:12:03] Production.INFO: Account Balance Start.
[2025-01-13 04:12:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:12:03] Production.INFO: 117
[2025-01-13 04:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:12:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:12:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236408') end
[2025-01-13 04:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:12:03] Production.INFO: 1
[2025-01-13 04:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:12:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:12:03] Production.ERROR: done
[2025-01-13 04:12:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:12:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:12:03] Production.INFO: ==25046== Releasing lock...
[2025-01-13 04:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:12:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:12:03] Production.INFO: Total Charge 0
[2025-01-13 04:12:03] Production.INFO: CreateAllLog End
[2025-01-13 04:12:03] Production.INFO: ==25038== Releasing lock...
[2025-01-13 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:12:03] Production.ERROR: done
[2025-01-13 04:12:04] Production.INFO: Account Balance End.
[2025-01-13 04:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:12:04] Production.INFO: ==25042== Releasing lock...
[2025-01-13 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:12:04
[end_date_ymd] => 2025-01-13 04:12:04
[RateCDR] => 1
)
[2025-01-13 04:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:12:04' and `end` < '2025-01-13 04:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:12:11] Production.ERROR: CronJobId end10
[2025-01-13 04:12:11] Production.INFO: ==25040== Releasing lock...
[2025-01-13 04:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:12:13] Production.INFO: call_cost start
[2025-01-13 04:12:13] Production.INFO: call_cost end
[2025-01-13 04:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:12:13] Production.INFO: ==25036== Releasing lock...
[2025-01-13 04:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:12:18] Production.INFO: count ==144
[2025-01-13 04:12:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:12:04 - End Time 2025-01-13 04:12:04
[2025-01-13 04:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236412', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236412', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236412', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236412', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:12:18] Production.INFO: ProcessCDR(1,14236412,1,1,2)
[2025-01-13 04:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236412', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236412', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:12:21] Production.INFO: ==25044== Releasing lock...
[2025-01-13 04:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:12:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:13:02] Production.INFO: ==25099== Lock acquired, processing the job...
[2025-01-13 09:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:13:02] Production.INFO: neon service started
[2025-01-13 09:13:02] Production.INFO: neon service started
[2025-01-13 09:13:02] Production.INFO: ==25099== Releasing lock...
[2025-01-13 09:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:13:02] Production.INFO: ==25101== Lock acquired, processing the job...
[2025-01-13 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:13:02] Production.INFO: ==25103== Lock acquired, processing the job...
[2025-01-13 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:13:02] Production.INFO: ==25101== Releasing lock...
[2025-01-13 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:13:02] Production.INFO: ==25103== Releasing lock...
[2025-01-13 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:13:03] Production.INFO: ==25105== Lock acquired, processing the job...
[2025-01-13 04:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:13:03] Production.INFO: ==25111== Lock acquired, processing the job...
[2025-01-13 04:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:13:03] Production.INFO: ==25107== Lock acquired, processing the job...
[2025-01-13 04:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:13:03] Production.INFO: ==25109== Lock acquired, processing the job...
[2025-01-13 04:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:13:03] Production.INFO: ==25115== Lock acquired, processing the job...
[2025-01-13 04:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:13:03] Production.INFO: Account Balance Start.
[2025-01-13 04:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:13:03] Production.INFO: 117
[2025-01-13 04:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:13:03] Production.INFO: ==25113== Lock acquired, processing the job...
[2025-01-13 04:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:13:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 04:13:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:13:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:13:03] Production.INFO: count ==21
[2025-01-13 04:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 04:13:03] Production.INFO: count ==21
[2025-01-13 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236416') start
[2025-01-13 04:13:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:13:04] Production.INFO: Total Charge 0
[2025-01-13 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236416') end
[2025-01-13 04:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:13:04] Production.INFO: 1
[2025-01-13 04:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:13:04] Production.INFO: CreateAllLog End
[2025-01-13 04:13:04] Production.INFO: ==25107== Releasing lock...
[2025-01-13 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:13:04] Production.INFO: ==25115== Releasing lock...
[2025-01-13 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:13:04] Production.ERROR: done
[2025-01-13 04:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:13:04] Production.INFO: Account Balance End.
[2025-01-13 04:13:04] Production.ERROR: done
[2025-01-13 04:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:13:04] Production.INFO: ==25111== Releasing lock...
[2025-01-13 04:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:13:04
[end_date_ymd] => 2025-01-13 04:13:04
[RateCDR] => 1
)
[2025-01-13 04: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-13 01:13:04' and `end` < '2025-01-13 04: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-13 04:13:11] Production.ERROR: CronJobId end10
[2025-01-13 04:13:11] Production.INFO: ==25109== Releasing lock...
[2025-01-13 04:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:13:14] Production.INFO: call_cost start
[2025-01-13 04:13:14] Production.INFO: call_cost end
[2025-01-13 04:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:13:14] Production.INFO: ==25105== Releasing lock...
[2025-01-13 04:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:13:18] Production.INFO: count ==144
[2025-01-13 04:13:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:13:04 - End Time 2025-01-13 04:13:04
[2025-01-13 04:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236417', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236417', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236417', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236417', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:13:18] Production.INFO: ProcessCDR(1,14236417,1,1,2)
[2025-01-13 04:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236417', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236417', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:13:22] Production.INFO: ==25113== Releasing lock...
[2025-01-13 04:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:13:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:14:01] Production.INFO: ==25172== Lock acquired, processing the job...
[2025-01-13 09:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:14:01] Production.INFO: neon service started
[2025-01-13 09:14:01] Production.INFO: neon service started
[2025-01-13 09:14:01] Production.INFO: ==25172== Releasing lock...
[2025-01-13 09:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:14:01] Production.INFO: ==25176== Lock acquired, processing the job...
[2025-01-13 09:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:14:01] Production.INFO: ==25176== Releasing lock...
[2025-01-13 09:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:14:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:14:02] Production.INFO: ==25174== Lock acquired, processing the job...
[2025-01-13 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:14:02] Production.INFO: ==25174== Releasing lock...
[2025-01-13 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:14:03] Production.INFO: ==25179== Lock acquired, processing the job...
[2025-01-13 04:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:14:03] Production.INFO: ==25181== Lock acquired, processing the job...
[2025-01-13 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:14:03] Production.INFO: ==25185== Lock acquired, processing the job...
[2025-01-13 04:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:14:03] Production.INFO: ==25183== Lock acquired, processing the job...
[2025-01-13 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:14:03] Production.INFO: Account Balance Start.
[2025-01-13 04:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:14:03] Production.INFO: 117
[2025-01-13 04:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:14:03] Production.INFO: ==25187== Lock acquired, processing the job...
[2025-01-13 04:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:14:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:14:03] Production.INFO: ==25189== Lock acquired, processing the job...
[2025-01-13 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:14:03] Production.INFO: ==25181== Releasing lock...
[2025-01-13 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:14:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:14:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:14:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:14:03] Production.INFO: count ==21
[2025-01-13 04:14:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:14:03] Production.INFO: count ==21
[2025-01-13 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236421') start
[2025-01-13 04:14:03] Production.INFO: Total Charge 0
[2025-01-13 04:14:03] Production.INFO: CreateAllLog End
[2025-01-13 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236421') end
[2025-01-13 04:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:14:03] Production.INFO: 1
[2025-01-13 04:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:14:03] Production.ERROR: done
[2025-01-13 04:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:14:03] Production.INFO: ==25189== Releasing lock...
[2025-01-13 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:14:04] Production.INFO: Account Balance End.
[2025-01-13 04:14:04] Production.ERROR: done
[2025-01-13 04:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:14:04] Production.INFO: ==25185== Releasing lock...
[2025-01-13 04:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:14:05
[end_date_ymd] => 2025-01-13 04:14:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:14:05' and `end` < '2025-01-13 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-13 04:14:10] Production.ERROR: CronJobId end10
[2025-01-13 04:14:10] Production.INFO: ==25183== Releasing lock...
[2025-01-13 04:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:14:13] Production.INFO: call_cost start
[2025-01-13 04:14:13] Production.INFO: call_cost end
[2025-01-13 04:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:14:14] Production.INFO: ==25179== Releasing lock...
[2025-01-13 04:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:14:17] Production.INFO: count ==144
[2025-01-13 04:14:17] Production.ERROR: pbx CDR StartTime 2025-01-13 01:14:05 - End Time 2025-01-13 04:14:05
[2025-01-13 04:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236422', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236422', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236422', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236422', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:14:17] Production.INFO: ProcessCDR(1,14236422,1,1,2)
[2025-01-13 04:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236422', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236422', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:14:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:14:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:14:20] Production.INFO: ==25187== Releasing lock...
[2025-01-13 04:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:14:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:15:01] Production.INFO: ==25243== Lock acquired, processing the job...
[2025-01-13 09:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:15:01] Production.INFO: neon service started
[2025-01-13 09:15:01] Production.INFO: neon service started
[2025-01-13 09:15:01] Production.INFO: ==25243== Releasing lock...
[2025-01-13 09:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:15:02] Production.INFO: ==25245== Lock acquired, processing the job...
[2025-01-13 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:15:02] Production.INFO: ==25245== Releasing lock...
[2025-01-13 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:15:02] Production.INFO: ==25247== Lock acquired, processing the job...
[2025-01-13 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:15:02] Production.INFO: ==25247== Releasing lock...
[2025-01-13 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:15:03] Production.INFO: ==25253== Lock acquired, processing the job...
[2025-01-13 04:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:15:03] Production.INFO: ==25260== Lock acquired, processing the job...
[2025-01-13 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:15:03] Production.INFO: ==25249== Lock acquired, processing the job...
[2025-01-13 04:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 04:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:15:03] Production.INFO: ==25251== Lock acquired, processing the job...
[2025-01-13 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:15:03] Production.INFO: count ==21
[2025-01-13 04:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:15:03] Production.INFO: count ==21
[2025-01-13 04:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236423') start
[2025-01-13 04:15:03] Production.INFO: ==25255== Lock acquired, processing the job...
[2025-01-13 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:15:03] Production.INFO: ==25258== Lock acquired, processing the job...
[2025-01-13 04:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236423') end
[2025-01-13 04:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:15:03] Production.INFO: 1
[2025-01-13 04:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:15:03] Production.INFO: Account Balance Start.
[2025-01-13 04:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:15:03] Production.INFO: 117
[2025-01-13 04:15:03] Production.INFO: ==25260== Releasing lock...
[2025-01-13 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:15:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:15:04] Production.INFO: ==25251== Releasing lock...
[2025-01-13 04:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:15:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:15:04] Production.ERROR: done
[2025-01-13 04:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:15:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:15:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:15:04] Production.ERROR: done
[2025-01-13 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:15:04] Production.INFO: Total Charge 0
[2025-01-13 04:15:04] Production.INFO: CreateAllLog End
[2025-01-13 04:15:04] Production.INFO: Account Balance End.
[2025-01-13 04:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:15:04] Production.INFO: ==25255== Releasing lock...
[2025-01-13 04:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:15:05
[end_date_ymd] => 2025-01-13 04:15:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:15:05' and `end` < '2025-01-13 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-13 04:15:11] Production.ERROR: CronJobId end10
[2025-01-13 04:15:11] Production.INFO: ==25253== Releasing lock...
[2025-01-13 04:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:15:13] Production.INFO: call_cost start
[2025-01-13 04:15:13] Production.INFO: call_cost end
[2025-01-13 04:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:15:14] Production.INFO: ==25249== Releasing lock...
[2025-01-13 04:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:15:18] Production.INFO: count ==143
[2025-01-13 04:15:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:15:05 - End Time 2025-01-13 04:15:05
[2025-01-13 04:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236427', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236427', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236427', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236427', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:15:18] Production.INFO: ProcessCDR(1,14236427,1,1,2)
[2025-01-13 04:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236427', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236427', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:15:21] Production.INFO: ==25258== Releasing lock...
[2025-01-13 04:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:15:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:16:01] Production.INFO: ==25312== Lock acquired, processing the job...
[2025-01-13 09:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:16:01] Production.INFO: neon service started
[2025-01-13 09:16:01] Production.INFO: neon service started
[2025-01-13 09:16:01] Production.INFO: ==25312== Releasing lock...
[2025-01-13 09:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:16:01] Production.INFO: ==25314== Lock acquired, processing the job...
[2025-01-13 04:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:16:02] Production.INFO: ==25314== Releasing lock...
[2025-01-13 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:16:02] Production.INFO: ==25316== Lock acquired, processing the job...
[2025-01-13 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:16:02] Production.INFO: ==25316== Releasing lock...
[2025-01-13 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:16:03] Production.INFO: ==25327== Lock acquired, processing the job...
[2025-01-13 04:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:16:03] Production.INFO: ==25319== Lock acquired, processing the job...
[2025-01-13 04:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:16:03] Production.INFO: ==25325== Lock acquired, processing the job...
[2025-01-13 04:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:16:03] Production.INFO: ==25321== Lock acquired, processing the job...
[2025-01-13 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:16:03] Production.INFO: Account Balance Start.
[2025-01-13 04:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:16:03] Production.INFO: 117
[2025-01-13 04:16:03] Production.INFO: ==25323== Lock acquired, processing the job...
[2025-01-13 04:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:16:03] Production.INFO: ==25329== Lock acquired, processing the job...
[2025-01-13 04:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:16:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:16:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:16:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 04: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-13 04:16:03] Production.INFO: count ==21
[2025-01-13 04:16:03] Production.ERROR: done
[2025-01-13 04:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:16:03] Production.INFO: Date 2025-01-13
[2025-01-13 04: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-13 04:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:16:03] Production.INFO: count ==21
[2025-01-13 04:16:03] Production.INFO: ==25321== Releasing lock...
[2025-01-13 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:16:03] Production.INFO: Total Charge 0
[2025-01-13 04:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236431') start
[2025-01-13 04:16:03] Production.INFO: CreateAllLog End
[2025-01-13 04:16:03] Production.ERROR: done
[2025-01-13 04:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236431') end
[2025-01-13 04:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:16:03] Production.INFO: 1
[2025-01-13 04:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:16:03] Production.INFO: Account Balance End.
[2025-01-13 04:16:03] Production.INFO: ==25329== Releasing lock...
[2025-01-13 04:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:16:03] Production.ERROR: CronJobId end 12
[2025-01-13 04:16:03] Production.INFO: ==25325== Releasing lock...
[2025-01-13 04:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:16:04
[end_date_ymd] => 2025-01-13 04:16:04
[RateCDR] => 1
)
[2025-01-13 04: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-13 01:16:04' and `end` < '2025-01-13 04: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-13 04:16:10] Production.ERROR: CronJobId end10
[2025-01-13 04:16:10] Production.INFO: ==25323== Releasing lock...
[2025-01-13 04:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:16:13] Production.INFO: call_cost start
[2025-01-13 04:16:13] Production.INFO: call_cost end
[2025-01-13 04:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:16:14] Production.INFO: ==25319== Releasing lock...
[2025-01-13 04:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:16:17] Production.INFO: count ==143
[2025-01-13 04:16:17] Production.ERROR: pbx CDR StartTime 2025-01-13 01:16:04 - End Time 2025-01-13 04:16:04
[2025-01-13 04:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236432', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236432', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236432', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236432', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:16:17] Production.INFO: ProcessCDR(1,14236432,1,1,2)
[2025-01-13 04:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236432', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236432', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:16:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:16:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:16:20] Production.INFO: ==25327== Releasing lock...
[2025-01-13 04:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:16:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:17:02] Production.INFO: ==25386== Lock acquired, processing the job...
[2025-01-13 09:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:17:02] Production.INFO: neon service started
[2025-01-13 09:17:02] Production.INFO: neon service started
[2025-01-13 09:17:02] Production.INFO: ==25386== Releasing lock...
[2025-01-13 09:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:17:02] Production.INFO: ==25390== Lock acquired, processing the job...
[2025-01-13 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:17:02] Production.INFO: ==25390== Releasing lock...
[2025-01-13 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:17:02] Production.INFO: ==25388== Lock acquired, processing the job...
[2025-01-13 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:17:02] Production.INFO: ==25388== Releasing lock...
[2025-01-13 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:17:03] Production.INFO: ==25395== Lock acquired, processing the job...
[2025-01-13 04:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:17:03] Production.INFO: ==25393== Lock acquired, processing the job...
[2025-01-13 04:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:17:03] Production.INFO: ==25401== Lock acquired, processing the job...
[2025-01-13 04:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:17:03] Production.INFO: ==25397== Lock acquired, processing the job...
[2025-01-13 04:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:17:03] Production.INFO: ==25399== Lock acquired, processing the job...
[2025-01-13 04:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:17:04] Production.INFO: ==25403== Lock acquired, processing the job...
[2025-01-13 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:17:04] Production.INFO: ==25395== Releasing lock...
[2025-01-13 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:17:04] Production.INFO: count ==21
[2025-01-13 04:17:04] Production.ERROR: done
[2025-01-13 04:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:17:04] Production.INFO: Account Balance Start.
[2025-01-13 04:17:04] Production.INFO: count ==21
[2025-01-13 04:17:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236436') start
[2025-01-13 04:17:04] Production.INFO: 117
[2025-01-13 04:17:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:17:04] Production.ERROR: done
[2025-01-13 04:17:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236436') end
[2025-01-13 04:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:17:04] Production.INFO: 1
[2025-01-13 04:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:17:04] Production.INFO: ==25403== Releasing lock...
[2025-01-13 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:17:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:17:04] Production.INFO: Total Charge 0
[2025-01-13 04:17:04] Production.INFO: CreateAllLog End
[2025-01-13 04:17:04] Production.INFO: Account Balance End.
[2025-01-13 04:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:17:04] Production.INFO: ==25399== Releasing lock...
[2025-01-13 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:17:05
[end_date_ymd] => 2025-01-13 04:17:05
[RateCDR] => 1
)
[2025-01-13 04:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:17:05' and `end` < '2025-01-13 04:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:17:12] Production.ERROR: CronJobId end10
[2025-01-13 04:17:12] Production.INFO: ==25397== Releasing lock...
[2025-01-13 04:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:17:14] Production.INFO: call_cost start
[2025-01-13 04:17:14] Production.INFO: call_cost end
[2025-01-13 04:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:17:15] Production.INFO: ==25393== Releasing lock...
[2025-01-13 04:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:17:18] Production.INFO: count ==143
[2025-01-13 04:17:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:17:05 - End Time 2025-01-13 04:17:05
[2025-01-13 04:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236437', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236437', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236437', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236437', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:17:18] Production.INFO: ProcessCDR(1,14236437,1,1,2)
[2025-01-13 04:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236437', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236437', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:17:22] Production.INFO: ==25401== Releasing lock...
[2025-01-13 04:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:17:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:18:01] Production.INFO: ==25466== Lock acquired, processing the job...
[2025-01-13 09:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:18:01] Production.INFO: neon service started
[2025-01-13 09:18:01] Production.INFO: neon service started
[2025-01-13 09:18:01] Production.INFO: ==25466== Releasing lock...
[2025-01-13 09:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:18:01] Production.INFO: ==25468== Lock acquired, processing the job...
[2025-01-13 04:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:18:02] Production.INFO: ==25468== Releasing lock...
[2025-01-13 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:18:02] Production.INFO: ==25470== Lock acquired, processing the job...
[2025-01-13 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:18:02] Production.INFO: ==25470== Releasing lock...
[2025-01-13 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:18:03] Production.INFO: ==25477== Lock acquired, processing the job...
[2025-01-13 04:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:18:03] Production.INFO: ==25481== Lock acquired, processing the job...
[2025-01-13 04:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:18:03] Production.INFO: ==25472== Lock acquired, processing the job...
[2025-01-13 04:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:18:03] Production.INFO: ==25474== Lock acquired, processing the job...
[2025-01-13 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:18:03] Production.INFO: ==25479== Lock acquired, processing the job...
[2025-01-13 04:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:18:03] Production.INFO: ==25483== Lock acquired, processing the job...
[2025-01-13 04:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:18:03] Production.ERROR: done
[2025-01-13 04:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 04:18:03] Production.INFO: Account Balance Start.
[2025-01-13 04:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:18:03] Production.INFO: 117
[2025-01-13 04:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:18:03] Production.INFO: count ==21
[2025-01-13 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-13 04:18:03] Production.INFO: count ==21
[2025-01-13 04:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236440') start
[2025-01-13 04:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:18:03] Production.ERROR: done
[2025-01-13 04:18:03] Production.INFO: ==25474== Releasing lock...
[2025-01-13 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236440') end
[2025-01-13 04:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:18:03] Production.INFO: 1
[2025-01-13 04:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:18:03] Production.INFO: ==25483== Releasing lock...
[2025-01-13 04:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:18:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:18:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:18:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:18:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:18:04] Production.INFO: Total Charge 0
[2025-01-13 04:18:04] Production.INFO: CreateAllLog End
[2025-01-13 04:18:04] Production.INFO: Account Balance End.
[2025-01-13 04:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:18:04] Production.INFO: ==25479== Releasing lock...
[2025-01-13 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:18:04
[end_date_ymd] => 2025-01-13 04:18:04
[RateCDR] => 1
)
[2025-01-13 04: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-13 01:18:04' and `end` < '2025-01-13 04: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-13 04:18:10] Production.ERROR: CronJobId end10
[2025-01-13 04:18:10] Production.INFO: ==25477== Releasing lock...
[2025-01-13 04:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:18:12] Production.INFO: call_cost start
[2025-01-13 04:18:12] Production.INFO: call_cost end
[2025-01-13 04:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:18:13] Production.INFO: ==25472== Releasing lock...
[2025-01-13 04:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:18:18] Production.INFO: count ==143
[2025-01-13 04:18:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:18:04 - End Time 2025-01-13 04:18:04
[2025-01-13 04:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236442', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236442', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236442', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236442', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:18:18] Production.INFO: ProcessCDR(1,14236442,1,1,2)
[2025-01-13 04:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236442', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236442', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:18:21] Production.INFO: ==25481== Releasing lock...
[2025-01-13 04:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:18:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:19:01] Production.INFO: ==25537== Lock acquired, processing the job...
[2025-01-13 09:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:19:01] Production.INFO: neon service started
[2025-01-13 09:19:01] Production.INFO: neon service started
[2025-01-13 09:19:01] Production.INFO: ==25537== Releasing lock...
[2025-01-13 09:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:19:02] Production.INFO: ==25539== Lock acquired, processing the job...
[2025-01-13 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:19:02] Production.INFO: ==25541== Lock acquired, processing the job...
[2025-01-13 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:19:02] Production.INFO: ==25541== Releasing lock...
[2025-01-13 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:19:02] Production.INFO: ==25539== Releasing lock...
[2025-01-13 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:19:03] Production.INFO: ==25544== Lock acquired, processing the job...
[2025-01-13 04:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:19:03] Production.INFO: ==25550== Lock acquired, processing the job...
[2025-01-13 04:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:19:03] Production.INFO: ==25554== Lock acquired, processing the job...
[2025-01-13 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:19:03] Production.INFO: Account Balance Start.
[2025-01-13 04:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:19:03] Production.INFO: 117
[2025-01-13 04:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:19:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 04:19:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:19:03] Production.INFO: count ==21
[2025-01-13 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-13 04:19:03] Production.INFO: count ==21
[2025-01-13 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236445') start
[2025-01-13 04:19:03] Production.INFO: ==25546== Lock acquired, processing the job...
[2025-01-13 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:19:03] Production.INFO: ==25548== Lock acquired, processing the job...
[2025-01-13 04:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:19:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:19:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:19:03] Production.INFO: ==25552== Lock acquired, processing the job...
[2025-01-13 04:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:19:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:19:04] Production.INFO: Total Charge 0
[2025-01-13 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236445') end
[2025-01-13 04:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:19:04] Production.INFO: 1
[2025-01-13 04:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:19:04] Production.INFO: CreateAllLog End
[2025-01-13 04:19:04] Production.INFO: ==25554== Releasing lock...
[2025-01-13 04:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:19:04] Production.ERROR: done
[2025-01-13 04:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:19:04] Production.INFO: Account Balance End.
[2025-01-13 04:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:19:04] Production.INFO: ==25550== Releasing lock...
[2025-01-13 04:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:19:04] Production.ERROR: done
[2025-01-13 04:19:04] Production.INFO: ==25546== Releasing lock...
[2025-01-13 04:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:19:05
[end_date_ymd] => 2025-01-13 04:19:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:19:05' and `end` < '2025-01-13 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-13 04:19:11] Production.ERROR: CronJobId end10
[2025-01-13 04:19:11] Production.INFO: ==25548== Releasing lock...
[2025-01-13 04:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:19:13] Production.INFO: call_cost start
[2025-01-13 04:19:13] Production.INFO: call_cost end
[2025-01-13 04:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:19:14] Production.INFO: ==25544== Releasing lock...
[2025-01-13 04:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:19:18] Production.INFO: count ==143
[2025-01-13 04:19:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:19:05 - End Time 2025-01-13 04:19:05
[2025-01-13 04:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236447', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236447', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236447', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236447', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:19:18] Production.INFO: ProcessCDR(1,14236447,1,1,2)
[2025-01-13 04:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236447', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236447', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:19:21] Production.INFO: ==25552== Releasing lock...
[2025-01-13 04:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:19:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:20:02] Production.INFO: ==25607== Lock acquired, processing the job...
[2025-01-13 09:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:20:02] Production.INFO: neon service started
[2025-01-13 09:20:02] Production.INFO: neon service started
[2025-01-13 09:20:02] Production.INFO: ==25607== Releasing lock...
[2025-01-13 09:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:20:03] Production.INFO: ==25609== Lock acquired, processing the job...
[2025-01-13 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:20:03] Production.INFO: ==25611== Lock acquired, processing the job...
[2025-01-13 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:20:03] Production.INFO: ==25611== Releasing lock...
[2025-01-13 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:20:03] Production.INFO: ==25609== Releasing lock...
[2025-01-13 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:20:04] Production.INFO: ==25614== Lock acquired, processing the job...
[2025-01-13 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 04:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 04:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 04:20:04] Production.INFO: ==25614== Releasing lock...
[2025-01-13 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 04:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 04:20:04] Production.INFO: ==25618== Lock acquired, processing the job...
[2025-01-13 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:20:04] Production.INFO: ==25616== Lock acquired, processing the job...
[2025-01-13 04:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:20:04] Production.INFO: ==25620== Lock acquired, processing the job...
[2025-01-13 04:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:20:04] Production.INFO: ==25626== Lock acquired, processing the job...
[2025-01-13 04:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 04:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:20:04] Production.INFO: ==25622== Lock acquired, processing the job...
[2025-01-13 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:20:04] Production.INFO: ==25624== Lock acquired, processing the job...
[2025-01-13 04:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:20:04] Production.INFO: ==25628== Lock acquired, processing the job...
[2025-01-13 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:20:04] Production.INFO: ==25618== Releasing lock...
[2025-01-13 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:20:05] Production.INFO: Account Balance Start.
[2025-01-13 04:20:05] Production.INFO: CreateAllLog Start
[2025-01-13 04:20:05] Production.INFO: 117
[2025-01-13 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-13 04:20:05] Production.INFO: Date 2025-01-08
[2025-01-13 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:20:05] Production.INFO: count ==21
[2025-01-13 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-13 04:20:05] Production.INFO: count ==21
[2025-01-13 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236450') start
[2025-01-13 04:20:05] Production.ERROR: done
[2025-01-13 04:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:20:05] Production.ERROR: done
[2025-01-13 04:20:05] Production.INFO: Date 2025-01-09
[2025-01-13 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236450') end
[2025-01-13 04:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:20:05] Production.INFO: 1
[2025-01-13 04:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:20:05] Production.INFO: Date 2025-01-10
[2025-01-13 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:20:05] Production.INFO: Date 2025-01-11
[2025-01-13 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:20:05] Production.INFO: ==25628== Releasing lock...
[2025-01-13 04:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:20:05] Production.ERROR: done
[2025-01-13 04:20:05] Production.INFO: Date 2025-01-12
[2025-01-13 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:20:05] Production.INFO: Date 2025-01-13
[2025-01-13 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 04:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236452', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 04:20:05] Production.INFO: Total Charge 0
[2025-01-13 04:20:05] Production.INFO: CreateAllLog End
[2025-01-13 04:20:05] Production.INFO: Account Balance End.
[2025-01-13 04:20:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:20:05] Production.INFO: ==25622== Releasing lock...
[2025-01-13 04:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:20:06
[end_date_ymd] => 2025-01-13 04:20:06
[RateCDR] => 1
)
[2025-01-13 04:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:20:06' and `end` < '2025-01-13 04:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236452', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 04:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 04:20:09] Production.INFO: ProcessCDR(1,14236452,1,1,2)
[2025-01-13 04:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236452,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236452,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:20:10] Production.INFO: ==25626== Releasing lock...
[2025-01-13 04:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 04:20:10] Production.INFO: 26 MB #Memory Used#
[2025-01-13 04:20:13] Production.ERROR: CronJobId end10
[2025-01-13 04:20:13] Production.INFO: ==25620== Releasing lock...
[2025-01-13 04:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:20:16] Production.INFO: call_cost start
[2025-01-13 04:20:16] Production.INFO: call_cost end
[2025-01-13 04:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:20:16] Production.INFO: ==25616== Releasing lock...
[2025-01-13 04:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:20:19] Production.INFO: count ==145
[2025-01-13 04:20:19] Production.ERROR: pbx CDR StartTime 2025-01-13 01:20:06 - End Time 2025-01-13 04:20:06
[2025-01-13 04:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236453', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236453', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236453', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236453', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:20:19] Production.INFO: ProcessCDR(1,14236453,1,1,2)
[2025-01-13 04:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236453', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236453', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:20:23] Production.INFO: ==25624== Releasing lock...
[2025-01-13 04:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:20:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 09:21:01] Production.INFO: ==25723== Lock acquired, processing the job...
[2025-01-13 09:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:21:01] Production.INFO: neon service started
[2025-01-13 09:21:01] Production.INFO: neon service started
[2025-01-13 09:21:01] Production.INFO: ==25723== Releasing lock...
[2025-01-13 09:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:21:02] Production.INFO: ==25725== Lock acquired, processing the job...
[2025-01-13 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:21:02] Production.INFO: ==25727== Lock acquired, processing the job...
[2025-01-13 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:21:02] Production.INFO: ==25727== Releasing lock...
[2025-01-13 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:21:02] Production.INFO: ==25725== Releasing lock...
[2025-01-13 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:21:03] Production.INFO: ==25730== Lock acquired, processing the job...
[2025-01-13 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:21:03] Production.INFO: ==25734== Lock acquired, processing the job...
[2025-01-13 04:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:21:03] Production.INFO: ==25736== Lock acquired, processing the job...
[2025-01-13 04:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:21:03] Production.INFO: Account Balance Start.
[2025-01-13 04:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:21:03] Production.INFO: 117
[2025-01-13 04:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:21:03] Production.INFO: ==25732== Lock acquired, processing the job...
[2025-01-13 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:21:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:21:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:21:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:21:03] Production.INFO: ==25740== Lock acquired, processing the job...
[2025-01-13 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:21:03] Production.INFO: ==25738== Lock acquired, processing the job...
[2025-01-13 04:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:21:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:21:04] Production.INFO: Total Charge 0
[2025-01-13 04:21:04] Production.INFO: CreateAllLog End
[2025-01-13 04:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:21:04] Production.INFO: count ==21
[2025-01-13 04:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:21:04] Production.INFO: count ==21
[2025-01-13 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236457') start
[2025-01-13 04:21:04] Production.INFO: ==25732== Releasing lock...
[2025-01-13 04:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:21:04] Production.ERROR: done
[2025-01-13 04:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236457') end
[2025-01-13 04:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:21:04] Production.INFO: 1
[2025-01-13 04:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:21:04] Production.INFO: ==25740== Releasing lock...
[2025-01-13 04:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:21:04] Production.ERROR: done
[2025-01-13 04:21:04] Production.INFO: Account Balance End.
[2025-01-13 04:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:21:04] Production.INFO: ==25736== Releasing lock...
[2025-01-13 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:21:05
[end_date_ymd] => 2025-01-13 04:21:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:21:05' and `end` < '2025-01-13 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-13 04:21:11] Production.ERROR: CronJobId end10
[2025-01-13 04:21:11] Production.INFO: ==25734== Releasing lock...
[2025-01-13 04:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:21:13] Production.INFO: call_cost start
[2025-01-13 04:21:13] Production.INFO: call_cost end
[2025-01-13 04:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:21:14] Production.INFO: ==25730== Releasing lock...
[2025-01-13 04:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:21:18] Production.INFO: count ==139
[2025-01-13 04:21:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:21:05 - End Time 2025-01-13 04:21:05
[2025-01-13 04:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236458', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236458', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236458', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236458', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:21:18] Production.INFO: ProcessCDR(1,14236458,1,1,2)
[2025-01-13 04:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236458', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236458', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:21:21] Production.INFO: ==25738== Releasing lock...
[2025-01-13 04:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:21:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:22:02] Production.INFO: ==25793== Lock acquired, processing the job...
[2025-01-13 09:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:22:02] Production.INFO: neon service started
[2025-01-13 09:22:02] Production.INFO: neon service started
[2025-01-13 09:22:02] Production.INFO: ==25793== Releasing lock...
[2025-01-13 09:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:22:02] Production.INFO: ==25795== Lock acquired, processing the job...
[2025-01-13 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:22:03] Production.INFO: ==25795== Releasing lock...
[2025-01-13 04:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:22:03] Production.INFO: ==25797== Lock acquired, processing the job...
[2025-01-13 09:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:22:03] Production.INFO: ==25797== Releasing lock...
[2025-01-13 09:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:22:03] Production.INFO: ==25800== Lock acquired, processing the job...
[2025-01-13 04:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:22:03] Production.INFO: ==25802== Lock acquired, processing the job...
[2025-01-13 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:22:04] Production.INFO: ==25806== Lock acquired, processing the job...
[2025-01-13 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:22:04] Production.INFO: Account Balance Start.
[2025-01-13 04:22:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:22:04] Production.INFO: 117
[2025-01-13 04:22:04] Production.INFO: ==25802== Releasing lock...
[2025-01-13 04:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:22:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:22:04] Production.INFO: ==25804== Lock acquired, processing the job...
[2025-01-13 04:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:22:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:22:04] Production.INFO: ==25810== Lock acquired, processing the job...
[2025-01-13 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:22:04] Production.INFO: ==25808== Lock acquired, processing the job...
[2025-01-13 04:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:22:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:22:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:22:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:22:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:22:04] Production.INFO: Total Charge 0
[2025-01-13 04:22:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 04:22:04] Production.INFO: count ==21
[2025-01-13 04:22:04] Production.ERROR: done
[2025-01-13 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-13 04:22:04] Production.INFO: count ==21
[2025-01-13 04:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236462') start
[2025-01-13 04:22:04] Production.INFO: Account Balance End.
[2025-01-13 04:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:22:04] Production.INFO: ==25806== Releasing lock...
[2025-01-13 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:22:05] Production.ERROR: done
[2025-01-13 04:22:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236462') end
[2025-01-13 04:22:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:22:05] Production.INFO: 1
[2025-01-13 04:22:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:22:05] Production.INFO: ==25810== Releasing lock...
[2025-01-13 04:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:22:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:22:05
[end_date_ymd] => 2025-01-13 04:22:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:22:05' and `end` < '2025-01-13 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-13 04:22:12] Production.ERROR: CronJobId end10
[2025-01-13 04:22:12] Production.INFO: ==25804== Releasing lock...
[2025-01-13 04:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:22:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:22:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:22:15] Production.INFO: call_cost start
[2025-01-13 04:22:15] Production.INFO: call_cost end
[2025-01-13 04:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:22:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:22:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:22:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:22:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:22:16] Production.INFO: ==25800== Releasing lock...
[2025-01-13 04:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:22:19] Production.INFO: count ==139
[2025-01-13 04:22:19] Production.ERROR: pbx CDR StartTime 2025-01-13 01:22:05 - End Time 2025-01-13 04:22:05
[2025-01-13 04:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236463', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236463', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236463', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236463', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:22:19] Production.INFO: ProcessCDR(1,14236463,1,1,2)
[2025-01-13 04:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236463', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236463', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:22:22] Production.INFO: ==25808== Releasing lock...
[2025-01-13 04:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:22:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:23:01] Production.INFO: ==25865== Lock acquired, processing the job...
[2025-01-13 09:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:23:01] Production.INFO: neon service started
[2025-01-13 09:23:01] Production.INFO: neon service started
[2025-01-13 09:23:01] Production.INFO: ==25865== Releasing lock...
[2025-01-13 09:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:23:02] Production.INFO: ==25869== Lock acquired, processing the job...
[2025-01-13 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:23:02] Production.INFO: ==25869== Releasing lock...
[2025-01-13 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:23:02] Production.INFO: ==25867== Lock acquired, processing the job...
[2025-01-13 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:23:02] Production.INFO: ==25867== Releasing lock...
[2025-01-13 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:23:03] Production.INFO: ==25876== Lock acquired, processing the job...
[2025-01-13 04:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:23:03] Production.INFO: ==25882== Lock acquired, processing the job...
[2025-01-13 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:23:03] Production.INFO: ==25874== Lock acquired, processing the job...
[2025-01-13 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:23:03] Production.INFO: ==25872== Lock acquired, processing the job...
[2025-01-13 04:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:23:03] Production.INFO: ==25878== Lock acquired, processing the job...
[2025-01-13 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 04:23:03] Production.INFO: ==25880== Lock acquired, processing the job...
[2025-01-13 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:23:03] Production.INFO: count ==21
[2025-01-13 04:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04: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-13 04:23:04] Production.INFO: count ==21
[2025-01-13 04:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236464') start
[2025-01-13 04:23:04] Production.INFO: Account Balance Start.
[2025-01-13 04:23:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:23:04] Production.INFO: 117
[2025-01-13 04:23:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236464') end
[2025-01-13 04:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:23:04] Production.INFO: 1
[2025-01-13 04:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:23:04] Production.INFO: ==25882== Releasing lock...
[2025-01-13 04:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:23:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:23:04] Production.INFO: ==25874== Releasing lock...
[2025-01-13 04:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:23:04] Production.ERROR: done
[2025-01-13 04:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:23:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:23:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:23:04] Production.ERROR: done
[2025-01-13 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:23:04] Production.INFO: Total Charge 0
[2025-01-13 04:23:04] Production.INFO: CreateAllLog End
[2025-01-13 04:23:04] Production.INFO: Account Balance End.
[2025-01-13 04:23:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:23:05] Production.INFO: ==25878== Releasing lock...
[2025-01-13 04:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:23:05
[end_date_ymd] => 2025-01-13 04:23:05
[RateCDR] => 1
)
[2025-01-13 04:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:23:05' and `end` < '2025-01-13 04:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:23:11] Production.ERROR: CronJobId end10
[2025-01-13 04:23:11] Production.INFO: ==25876== Releasing lock...
[2025-01-13 04:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:23:14] Production.INFO: call_cost start
[2025-01-13 04:23:14] Production.INFO: call_cost end
[2025-01-13 04:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:23:14] Production.INFO: ==25872== Releasing lock...
[2025-01-13 04:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:23:19] Production.INFO: count ==139
[2025-01-13 04:23:19] Production.ERROR: pbx CDR StartTime 2025-01-13 01:23:05 - End Time 2025-01-13 04:23:05
[2025-01-13 04:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236468', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236468', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236468', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236468', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:23:19] Production.INFO: ProcessCDR(1,14236468,1,1,2)
[2025-01-13 04:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236468', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236468', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:23:22] Production.INFO: ==25880== Releasing lock...
[2025-01-13 04:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:23:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:24:02] Production.INFO: ==25934== Lock acquired, processing the job...
[2025-01-13 09:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:24:02] Production.INFO: neon service started
[2025-01-13 09:24:02] Production.INFO: neon service started
[2025-01-13 09:24:02] Production.INFO: ==25934== Releasing lock...
[2025-01-13 09:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:24:02] Production.INFO: ==25939== Lock acquired, processing the job...
[2025-01-13 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:24:02] Production.INFO: ==25939== Releasing lock...
[2025-01-13 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:24:02] Production.INFO: ==25937== Lock acquired, processing the job...
[2025-01-13 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:24:03] Production.INFO: ==25937== Releasing lock...
[2025-01-13 04:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:24:04] Production.INFO: ==25941== Lock acquired, processing the job...
[2025-01-13 04:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:24:04] Production.INFO: ==25943== Lock acquired, processing the job...
[2025-01-13 04:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:24:04] Production.INFO: ==25947== Lock acquired, processing the job...
[2025-01-13 04:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:24:04] Production.INFO: Account Balance Start.
[2025-01-13 04:24:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:24:04] Production.INFO: 117
[2025-01-13 04:24:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:24:04] Production.INFO: ==25945== Lock acquired, processing the job...
[2025-01-13 04:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:24:04] Production.INFO: ==25949== Lock acquired, processing the job...
[2025-01-13 04:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:24:04] Production.INFO: ==25951== Lock acquired, processing the job...
[2025-01-13 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:24:04] Production.INFO: ==25943== Releasing lock...
[2025-01-13 04:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 04:24:04] Production.ERROR: done
[2025-01-13 04:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:24:04] Production.INFO: count ==21
[2025-01-13 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-13 04:24:04] Production.INFO: count ==21
[2025-01-13 04:24:04] Production.INFO: Total Charge 0
[2025-01-13 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236472') start
[2025-01-13 04:24:04] Production.INFO: CreateAllLog End
[2025-01-13 04:24:04] Production.ERROR: done
[2025-01-13 04:24:05] Production.INFO: Account Balance End.
[2025-01-13 04:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236472') end
[2025-01-13 04:24:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:24:05] Production.INFO: 1
[2025-01-13 04:24:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:24:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:24:05] Production.INFO: ==25947== Releasing lock...
[2025-01-13 04:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:24:05] Production.INFO: ==25951== Releasing lock...
[2025-01-13 04:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:24:05
[end_date_ymd] => 2025-01-13 04:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:24:05' and `end` < '2025-01-13 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-13 04:24:12] Production.ERROR: CronJobId end10
[2025-01-13 04:24:12] Production.INFO: ==25945== Releasing lock...
[2025-01-13 04:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:24:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:24:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:24:14] Production.INFO: call_cost start
[2025-01-13 04:24:14] Production.INFO: call_cost end
[2025-01-13 04:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:24:15] Production.INFO: ==25941== Releasing lock...
[2025-01-13 04:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:24:18] Production.INFO: count ==139
[2025-01-13 04:24:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:24:05 - End Time 2025-01-13 04:24:05
[2025-01-13 04:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236473', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236473', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236473', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236473', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:24:18] Production.INFO: ProcessCDR(1,14236473,1,1,2)
[2025-01-13 04:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236473', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236473', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:24:21] Production.INFO: ==25949== Releasing lock...
[2025-01-13 04:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:24:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:25:01] Production.INFO: ==26009== Lock acquired, processing the job...
[2025-01-13 09:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:25:01] Production.INFO: neon service started
[2025-01-13 09:25:01] Production.INFO: neon service started
[2025-01-13 09:25:01] Production.INFO: ==26009== Releasing lock...
[2025-01-13 09:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:25:02] Production.INFO: ==26011== Lock acquired, processing the job...
[2025-01-13 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:25:02] Production.INFO: ==26013== Lock acquired, processing the job...
[2025-01-13 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:25:02] Production.INFO: ==26013== Releasing lock...
[2025-01-13 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:25:02] Production.INFO: ==26011== Releasing lock...
[2025-01-13 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:25:03] Production.INFO: ==26015== Lock acquired, processing the job...
[2025-01-13 04:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:25:03] Production.INFO: ==26017== Lock acquired, processing the job...
[2025-01-13 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:25:03] Production.INFO: ==26026== Lock acquired, processing the job...
[2025-01-13 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 04:25:03] Production.INFO: ==26019== Lock acquired, processing the job...
[2025-01-13 04:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:25:03] Production.INFO: count ==21
[2025-01-13 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-13 04:25:03] Production.INFO: count ==21
[2025-01-13 04:25:03] Production.INFO: ==26017== Releasing lock...
[2025-01-13 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236476') start
[2025-01-13 04:25:03] Production.INFO: ==26023== Lock acquired, processing the job...
[2025-01-13 04:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:25:03] Production.INFO: ==26021== Lock acquired, processing the job...
[2025-01-13 04:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236476') end
[2025-01-13 04:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:25:03] Production.INFO: 1
[2025-01-13 04:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:25:03] Production.INFO: ==26026== Releasing lock...
[2025-01-13 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:25:03] Production.INFO: Account Balance Start.
[2025-01-13 04:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:25:03] Production.INFO: 117
[2025-01-13 04:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:25:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:25:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:25:04] Production.ERROR: done
[2025-01-13 04:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:25:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:25:04] Production.INFO: Total Charge 0
[2025-01-13 04:25:04] Production.INFO: CreateAllLog End
[2025-01-13 04:25:04] Production.ERROR: done
[2025-01-13 04:25:04] Production.INFO: Account Balance End.
[2025-01-13 04:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:25:04] Production.INFO: ==26021== Releasing lock...
[2025-01-13 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:25:05
[end_date_ymd] => 2025-01-13 04:25:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:25:05' and `end` < '2025-01-13 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-13 04:25:12] Production.ERROR: CronJobId end10
[2025-01-13 04:25:12] Production.INFO: ==26019== Releasing lock...
[2025-01-13 04:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:25:13] Production.INFO: call_cost start
[2025-01-13 04:25:13] Production.INFO: call_cost end
[2025-01-13 04:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:25:14] Production.INFO: ==26015== Releasing lock...
[2025-01-13 04:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:25:17] Production.INFO: count ==139
[2025-01-13 04:25:17] Production.ERROR: pbx CDR StartTime 2025-01-13 01:25:05 - End Time 2025-01-13 04:25:05
[2025-01-13 04:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236478', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236478', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236478', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236478', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:25:17] Production.INFO: ProcessCDR(1,14236478,1,1,2)
[2025-01-13 04:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236478', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236478', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:25:20] Production.INFO: ==26023== Releasing lock...
[2025-01-13 04:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:25:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:26:02] Production.INFO: ==26082== Lock acquired, processing the job...
[2025-01-13 09:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:26:02] Production.INFO: neon service started
[2025-01-13 09:26:02] Production.INFO: neon service started
[2025-01-13 09:26:02] Production.INFO: ==26082== Releasing lock...
[2025-01-13 09:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:26:02] Production.INFO: ==26084== Lock acquired, processing the job...
[2025-01-13 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:26:03] Production.INFO: ==26084== Releasing lock...
[2025-01-13 04:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:26:03] Production.INFO: ==26086== Lock acquired, processing the job...
[2025-01-13 09:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:26:03] Production.INFO: ==26086== Releasing lock...
[2025-01-13 09:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:26:04] Production.INFO: ==26088== Lock acquired, processing the job...
[2025-01-13 04:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:26:04] Production.INFO: ==26094== Lock acquired, processing the job...
[2025-01-13 04:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:26:04] Production.INFO: Account Balance Start.
[2025-01-13 04:26:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:26:04] Production.INFO: 117
[2025-01-13 04:26:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:26:04] Production.INFO: ==26090== Lock acquired, processing the job...
[2025-01-13 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:26:04] Production.INFO: ==26092== Lock acquired, processing the job...
[2025-01-13 04:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:26:04] Production.INFO: ==26096== Lock acquired, processing the job...
[2025-01-13 04:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:26:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:26:04] Production.INFO: ==26099== Lock acquired, processing the job...
[2025-01-13 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:26:04] Production.INFO: Total Charge 0
[2025-01-13 04:26:04] Production.INFO: ==26090== Releasing lock...
[2025-01-13 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:26:04] Production.INFO: CreateAllLog End
[2025-01-13 04:26:04] Production.INFO: count ==21
[2025-01-13 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-13 04:26:04] Production.INFO: count ==21
[2025-01-13 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236482') start
[2025-01-13 04:26:04] Production.ERROR: done
[2025-01-13 04:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236482') end
[2025-01-13 04:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:26:04] Production.INFO: 1
[2025-01-13 04:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:26:05] Production.ERROR: done
[2025-01-13 04:26:05] Production.INFO: Account Balance End.
[2025-01-13 04:26:05] Production.INFO: ==26099== Releasing lock...
[2025-01-13 04:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:26:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:26:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:26:05] Production.INFO: ==26094== Releasing lock...
[2025-01-13 04:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:26:06
[end_date_ymd] => 2025-01-13 04:26:06
[RateCDR] => 1
)
[2025-01-13 04:26:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:26:06' and `end` < '2025-01-13 04:26:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:26:11] Production.ERROR: CronJobId end10
[2025-01-13 04:26:11] Production.INFO: ==26092== Releasing lock...
[2025-01-13 04:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:26:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:26:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:26:14] Production.INFO: call_cost start
[2025-01-13 04:26:14] Production.INFO: call_cost end
[2025-01-13 04:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:26:15] Production.INFO: ==26088== Releasing lock...
[2025-01-13 04:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:26:18] Production.INFO: count ==139
[2025-01-13 04:26:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:26:06 - End Time 2025-01-13 04:26:06
[2025-01-13 04:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236483', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236483', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236483', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236483', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:26:18] Production.INFO: ProcessCDR(1,14236483,1,1,2)
[2025-01-13 04:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236483', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236483', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:26:21] Production.INFO: ==26096== Releasing lock...
[2025-01-13 04:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:26:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:27:02] Production.INFO: ==26155== Lock acquired, processing the job...
[2025-01-13 09:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:27:02] Production.INFO: neon service started
[2025-01-13 09:27:02] Production.INFO: neon service started
[2025-01-13 09:27:02] Production.INFO: ==26155== Releasing lock...
[2025-01-13 09:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:27:02] Production.INFO: ==26157== Lock acquired, processing the job...
[2025-01-13 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:27:02] Production.INFO: ==26159== Lock acquired, processing the job...
[2025-01-13 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:27:02] Production.INFO: ==26159== Releasing lock...
[2025-01-13 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:27:03] Production.INFO: ==26157== Releasing lock...
[2025-01-13 04:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:27:03] Production.INFO: ==26162== Lock acquired, processing the job...
[2025-01-13 04:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:27:03] Production.INFO: ==26166== Lock acquired, processing the job...
[2025-01-13 04:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:27:03] Production.INFO: ==26168== Lock acquired, processing the job...
[2025-01-13 04:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:27:04] Production.INFO: Account Balance Start.
[2025-01-13 04:27:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:27:04] Production.INFO: 117
[2025-01-13 04:27:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:27:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:27:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:27:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:27:04] Production.INFO: ==26164== Lock acquired, processing the job...
[2025-01-13 04:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:27:04] Production.INFO: Total Charge 0
[2025-01-13 04:27:04] Production.INFO: ==26170== Lock acquired, processing the job...
[2025-01-13 04:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:27:04] Production.INFO: CreateAllLog End
[2025-01-13 04:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:27:04] Production.INFO: ==26172== Lock acquired, processing the job...
[2025-01-13 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:27:04] Production.INFO: Account Balance End.
[2025-01-13 04:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:27:04] Production.INFO: count ==21
[2025-01-13 04:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:27:04] Production.INFO: ==26168== Releasing lock...
[2025-01-13 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:27:04] Production.INFO: count ==21
[2025-01-13 04:27:04] Production.ERROR: done
[2025-01-13 04:27:04] Production.INFO: ==26164== Releasing lock...
[2025-01-13 04:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236487') start
[2025-01-13 04:27:04] Production.ERROR: done
[2025-01-13 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236487') end
[2025-01-13 04:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:27:04] Production.INFO: 1
[2025-01-13 04:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:27:04] Production.INFO: ==26172== Releasing lock...
[2025-01-13 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:27:05
[end_date_ymd] => 2025-01-13 04:27:05
[RateCDR] => 1
)
[2025-01-13 04:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:27:05' and `end` < '2025-01-13 04:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:27:11] Production.ERROR: CronJobId end10
[2025-01-13 04:27:11] Production.INFO: ==26166== Releasing lock...
[2025-01-13 04:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:27:13] Production.INFO: call_cost start
[2025-01-13 04:27:13] Production.INFO: call_cost end
[2025-01-13 04:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:27:14] Production.INFO: ==26162== Releasing lock...
[2025-01-13 04:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:27:18] Production.INFO: count ==139
[2025-01-13 04:27:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:27:05 - End Time 2025-01-13 04:27:05
[2025-01-13 04:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236488', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236488', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236488', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236488', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:27:18] Production.INFO: ProcessCDR(1,14236488,1,1,2)
[2025-01-13 04:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236488', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236488', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:27:21] Production.INFO: ==26170== Releasing lock...
[2025-01-13 04:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:27:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:28:01] Production.INFO: ==26225== Lock acquired, processing the job...
[2025-01-13 09:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:28:01] Production.INFO: neon service started
[2025-01-13 09:28:01] Production.INFO: neon service started
[2025-01-13 09:28:01] Production.INFO: ==26225== Releasing lock...
[2025-01-13 09:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:28:02] Production.INFO: ==26227== Lock acquired, processing the job...
[2025-01-13 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:28:02] Production.INFO: ==26227== Releasing lock...
[2025-01-13 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:28:02] Production.INFO: ==26229== Lock acquired, processing the job...
[2025-01-13 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:28:02] Production.INFO: ==26229== Releasing lock...
[2025-01-13 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:28:03] Production.INFO: ==26231== Lock acquired, processing the job...
[2025-01-13 04:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:28:03] Production.INFO: ==26237== Lock acquired, processing the job...
[2025-01-13 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:28:03] Production.INFO: ==26235== Lock acquired, processing the job...
[2025-01-13 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:28:03] Production.INFO: ==26233== Lock acquired, processing the job...
[2025-01-13 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:28:03] Production.INFO: Account Balance Start.
[2025-01-13 04:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:28:03] Production.INFO: 117
[2025-01-13 04:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:28:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:28:03] Production.INFO: ==26239== Lock acquired, processing the job...
[2025-01-13 04:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:28:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:28:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:28:03] Production.INFO: ==26241== Lock acquired, processing the job...
[2025-01-13 04:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:28:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:28:03] Production.INFO: ==26233== Releasing lock...
[2025-01-13 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:28:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:28:03] Production.INFO: Total Charge 0
[2025-01-13 04:28:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 04:28:03] Production.ERROR: done
[2025-01-13 04:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:28:03] Production.INFO: count ==21
[2025-01-13 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-13 04:28:03] Production.INFO: count ==21
[2025-01-13 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236492') start
[2025-01-13 04:28:04] Production.INFO: Account Balance End.
[2025-01-13 04:28:04] Production.ERROR: done
[2025-01-13 04:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:28:04] Production.INFO: ==26237== Releasing lock...
[2025-01-13 04:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236492') end
[2025-01-13 04:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:28:04] Production.INFO: 1
[2025-01-13 04:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:28:04] Production.INFO: ==26241== Releasing lock...
[2025-01-13 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:28:05
[end_date_ymd] => 2025-01-13 04:28:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:28:05' and `end` < '2025-01-13 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-13 04:28:10] Production.ERROR: CronJobId end10
[2025-01-13 04:28:10] Production.INFO: ==26235== Releasing lock...
[2025-01-13 04:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:28:13] Production.INFO: call_cost start
[2025-01-13 04:28:13] Production.INFO: call_cost end
[2025-01-13 04:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:28:14] Production.INFO: ==26231== Releasing lock...
[2025-01-13 04:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:28:18] Production.INFO: count ==139
[2025-01-13 04:28:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:28:05 - End Time 2025-01-13 04:28:05
[2025-01-13 04:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236493', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236493', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236493', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236493', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:28:18] Production.INFO: ProcessCDR(1,14236493,1,1,2)
[2025-01-13 04:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236493', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236493', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:28:21] Production.INFO: ==26239== Releasing lock...
[2025-01-13 04:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:28:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:29:02] Production.INFO: ==26300== Lock acquired, processing the job...
[2025-01-13 09:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:29:02] Production.INFO: neon service started
[2025-01-13 09:29:02] Production.INFO: neon service started
[2025-01-13 09:29:02] Production.INFO: ==26300== Releasing lock...
[2025-01-13 09:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:29:02] Production.INFO: ==26302== Lock acquired, processing the job...
[2025-01-13 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:29:02] Production.INFO: ==26304== Lock acquired, processing the job...
[2025-01-13 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:29:02] Production.INFO: ==26304== Releasing lock...
[2025-01-13 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:29:03] Production.INFO: ==26302== Releasing lock...
[2025-01-13 04:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:29:03] Production.INFO: ==26307== Lock acquired, processing the job...
[2025-01-13 04:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:29:03] Production.INFO: ==26311== Lock acquired, processing the job...
[2025-01-13 04:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:29:03] Production.INFO: ==26309== Lock acquired, processing the job...
[2025-01-13 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:29:03] Production.INFO: ==26317== Lock acquired, processing the job...
[2025-01-13 04:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:29:04] Production.INFO: ==26313== Lock acquired, processing the job...
[2025-01-13 04:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:29:04] Production.INFO: ==26315== Lock acquired, processing the job...
[2025-01-13 04:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 04:29:04] Production.INFO: Account Balance Start.
[2025-01-13 04:29:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:29:04] Production.INFO: 117
[2025-01-13 04:29:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:29:04] Production.INFO: count ==21
[2025-01-13 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 04:29:04] Production.INFO: count ==21
[2025-01-13 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236495') start
[2025-01-13 04:29:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:29:04] Production.INFO: ==26309== Releasing lock...
[2025-01-13 04:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236495') end
[2025-01-13 04:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:29:04] Production.INFO: 1
[2025-01-13 04:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:29:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:29:04] Production.ERROR: done
[2025-01-13 04:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:29:04] Production.INFO: ==26317== Releasing lock...
[2025-01-13 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:29:04] Production.ERROR: done
[2025-01-13 04:29:04] Production.INFO: Total Charge 0
[2025-01-13 04:29:04] Production.INFO: CreateAllLog End
[2025-01-13 04:29:04] Production.INFO: Account Balance End.
[2025-01-13 04:29:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:29:05] Production.INFO: ==26313== Releasing lock...
[2025-01-13 04:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:29:05
[end_date_ymd] => 2025-01-13 04:29:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:29:05' and `end` < '2025-01-13 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-13 04:29:11] Production.ERROR: CronJobId end10
[2025-01-13 04:29:11] Production.INFO: ==26311== Releasing lock...
[2025-01-13 04:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:29:13] Production.INFO: call_cost start
[2025-01-13 04:29:13] Production.INFO: call_cost end
[2025-01-13 04:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:29:14] Production.INFO: ==26307== Releasing lock...
[2025-01-13 04:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:29:18] Production.INFO: count ==139
[2025-01-13 04:29:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:29:05 - End Time 2025-01-13 04:29:05
[2025-01-13 04:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236498', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236498', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236498', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236498', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:29:18] Production.INFO: ProcessCDR(1,14236498,1,1,2)
[2025-01-13 04:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236498', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236498', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:29:21] Production.INFO: ==26315== Releasing lock...
[2025-01-13 04:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:29:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:30:01] Production.INFO: ==26370== Lock acquired, processing the job...
[2025-01-13 09:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:30:01] Production.INFO: neon service started
[2025-01-13 09:30:01] Production.INFO: neon service started
[2025-01-13 09:30:01] Production.INFO: ==26370== Releasing lock...
[2025-01-13 09:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:30:02] Production.INFO: ==26372== Lock acquired, processing the job...
[2025-01-13 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:30:02] Production.INFO: ==26374== Lock acquired, processing the job...
[2025-01-13 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:30:02] Production.INFO: ==26374== Releasing lock...
[2025-01-13 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:30:02] Production.INFO: ==26372== Releasing lock...
[2025-01-13 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:30:03] Production.INFO: ==26377== Lock acquired, processing the job...
[2025-01-13 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 04:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 04:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 04:30:04] Production.INFO: ==26377== Releasing lock...
[2025-01-13 04:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 04:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 04:30:04] Production.INFO: ==26379== Lock acquired, processing the job...
[2025-01-13 04:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:30:04] Production.INFO: ==26383== Lock acquired, processing the job...
[2025-01-13 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:30:04] Production.INFO: ==26381== Lock acquired, processing the job...
[2025-01-13 04:30:04] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts#
[2025-01-13 04:30:04] Production.INFO: ==26385== Lock acquired, processing the job...
[2025-01-13 04:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:30:04] Production.INFO: ==26387== Lock acquired, processing the job...
[2025-01-13 04:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:30:04] Production.INFO: ==26391== Lock acquired, processing the job...
[2025-01-13 04:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 04:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:30:04] Production.INFO: ==26389== Lock acquired, processing the job...
[2025-01-13 04:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-01-13,'','0')
[2025-01-13 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 15
[NextInvoiceDate] => 2025-01-13
[AccountName] => Pro North Collision Centre Inc.
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 52
[NextInvoiceDate] => 2025-01-13
[AccountName] => Dunbloor Medical Centre
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 54
[NextInvoiceDate] => 2025-01-13
[AccountName] => Dominos 10296 (Gurinder Saini)
[ServiceID] => 0
)
[3] => stdClass Object
(
[AccountID] => 80
[NextInvoiceDate] => 2025-01-13
[AccountName] => Anil Sharma
[ServiceID] => 0
)
[4] => stdClass Object
(
[AccountID] => 82
[NextInvoiceDate] => 2025-01-13
[AccountName] => Delco Windows & Doors
[ServiceID] => 0
)
[5] => stdClass Object
(
[AccountID] => 83
[NextInvoiceDate] => 2025-01-13
[AccountName] => Dominos 10455 (Ricky Singh)
[ServiceID] => 0
)
[6] => stdClass Object
(
[AccountID] => 84
[NextInvoiceDate] => 2025-01-13
[AccountName] => Dominos 10534 (Sandeep Chaudhari)
[ServiceID] => 0
)
[7] => stdClass Object
(
[AccountID] => 131
[NextInvoiceDate] => 2025-01-13
[AccountName] => Infinite Possibilities
[ServiceID] => 0
)
[8] => stdClass Object
(
[AccountID] => 186
[NextInvoiceDate] => 2025-01-13
[AccountName] => Compass ELC - Shamrock
[ServiceID] => 0
)
[9] => stdClass Object
(
[AccountID] => 189
[NextInvoiceDate] => 2025-01-13
[AccountName] => Bauman Group Inc.
[ServiceID] => 0
)
[10] => stdClass Object
(
[AccountID] => 190
[NextInvoiceDate] => 2025-01-13
[AccountName] => Behrns Metal Fabricating Inc
[ServiceID] => 0
)
[11] => stdClass Object
(
[AccountID] => 191
[NextInvoiceDate] => 2025-01-13
[AccountName] => Lake Life Financial Solutions Inc.
[ServiceID] => 0
)
)
[2025-01-13 04:30:04] Production.INFO: AccountID =15 FirstInvoiceSend 0
[2025-01-13 04:30:04] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:04] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:04] Production.INFO: Invoice::sendInvoice(1,15,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:04] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 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-13 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:04] Production.INFO: AlreadyBilled
[2025-01-13 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:30:04] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:04] Production.INFO: Account Balance Start.
[2025-01-13 04:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:30:04] Production.INFO: 117
[2025-01-13 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,15,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:04] Production.INFO: TotalCharges - 0
[2025-01-13 04:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:30:04] Production.INFO: TotalUsageCharges - 0.00
[2025-01-13 04:30:04] Production.INFO: ==26393== Lock acquired, processing the job...
[2025-01-13 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:04] Production.INFO: ==26383== Releasing lock...
[2025-01-13 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:04] Production.ERROR: done
[2025-01-13 04:30:04] Production.INFO: Usage Over
[2025-01-13 04:30:04] Production.INFO: Call prc_getAccountSubscription(15,0)
[2025-01-13 04:30:04] Production.INFO: SUBSCRIPTION 6
[2025-01-13 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:04] Production.INFO: SubscriptionID - 1
[2025-01-13 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-13 04:30:04] Production.INFO: isAdvanceSubscription - 1
[2025-01-13 04:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 04:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236504', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 04:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:05] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: count ==21
[2025-01-13 04: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-13 04:30:05] Production.INFO: count ==21
[2025-01-13 04:30:05] Production.ERROR: done
[2025-01-13 04:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:30:05] Production.INFO: Date 2025-01-11
[2025-01-13 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236503') start
[2025-01-13 04:30:05] Production.INFO: EndDate =2024-10-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: NewEndDate1 =2024-10-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionDate
[2025-01-13 04:30:05] Production.INFO: Array
(
[StartDate] => 2024-10-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:05] Production.INFO: AccountSubscription StartDate 2017-04-13 StartDate 2024-12-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 2024-10-13=====2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: AccountSubscriptionID - 16 === 2017-04-13=====2024-10-12
[2025-01-13 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:05] Production.INFO: Date 2025-01-12
[2025-01-13 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:05] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:05] Production.INFO: Date 2025-01-13
[2025-01-13 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:05] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.ERROR: done
[2025-01-13 04:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236503') end
[2025-01-13 04:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:30:05] Production.INFO: 1
[2025-01-13 04:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:30:05] Production.INFO: EndDate =2024-10-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: NewEndDate1 =2024-10-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionDate
[2025-01-13 04:30:05] Production.INFO: Array
(
[StartDate] => 2024-10-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:05] Production.INFO: AccountSubscription StartDate 2017-04-13 StartDate 2024-12-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 2024-10-13=====2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: AccountSubscriptionID - 17 === 2017-04-13=====2024-10-12
[2025-01-13 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 10
[2025-01-13 04:30:05] Production.INFO: Total Charge 0
[2025-01-13 04:30:05] Production.INFO: ==26393== Releasing lock...
[2025-01-13 04:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:30:05] Production.INFO: CreateAllLog End
[2025-01-13 04:30:05] Production.INFO: isAdvanceSubscription - 10
[2025-01-13 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:05] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: EndDate =2019-02-04 00:00:00
[2025-01-13 04:30:05] Production.INFO: NewEndDate1 =2019-02-05
[2025-01-13 04:30:05] Production.INFO: SubscriptionDate
[2025-01-13 04:30:05] Production.INFO: Array
(
[StartDate] => 2019-02-05
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:05] Production.INFO: AccountSubscription StartDate 2018-02-06 StartDate 2024-12-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 2019-02-05=====2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: AccountSubscriptionID - 212 === 2018-02-06=====2019-02-04
[2025-01-13 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 19
[2025-01-13 04:30:05] Production.INFO: isAdvanceSubscription - 19
[2025-01-13 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:05] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: Account Balance End.
[2025-01-13 04:30:05] Production.INFO: EndDate =2024-10-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: NewEndDate1 =2024-10-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionDate
[2025-01-13 04:30:05] Production.INFO: Array
(
[StartDate] => 2024-10-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:30:05] Production.INFO: ==26387== Releasing lock...
[2025-01-13 04:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:30:05] Production.INFO: AccountSubscription StartDate 2019-10-13 StartDate 2024-12-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 2024-10-13=====2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: AccountSubscriptionID - 423 === 2019-10-13=====2024-10-12
[2025-01-13 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 23
[2025-01-13 04:30:05] Production.INFO: isAdvanceSubscription - 23
[2025-01-13 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:05] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: EndDate =2024-10-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: NewEndDate1 =2024-10-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionDate
[2025-01-13 04:30:05] Production.INFO: Array
(
[StartDate] => 2024-10-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:05] Production.INFO: AccountSubscription StartDate 2019-10-13 StartDate 2024-12-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 2024-10-13=====2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: AccountSubscriptionID - 424 === 2019-10-13=====2024-10-12
[2025-01-13 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 11
[2025-01-13 04:30:05] Production.INFO: isAdvanceSubscription - 11
[2025-01-13 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:05] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: EndDate =2024-10-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: NewEndDate1 =2024-10-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionDate
[2025-01-13 04:30:05] Production.INFO: Array
(
[StartDate] => 2024-10-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:05] Production.INFO: AccountSubscription StartDate 2019-10-13 StartDate 2024-12-13
[2025-01-13 04:30:05] Production.INFO: SubscriptionID - 2024-10-13=====2025-02-12 00:00:00
[2025-01-13 04:30:05] Production.INFO: AccountSubscriptionID - 425 === 2019-10-13=====2024-10-12
[2025-01-13 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(15,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:05] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:05] Production.INFO: SubTotal 0
[2025-01-13 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:05] Production.INFO: TotalTax 0
[2025-01-13 04:30:05] Production.INFO: InvoiceGrandTotal 0
[2025-01-13 04:30:05] Production.INFO: InvoiceTaxAmount 0
[2025-01-13 04:30:05] Production.INFO: GrandTotal 0
[2025-01-13 04:30:05] Production.INFO: SubTotal 0.00
[2025-01-13 04:30:05] Production.INFO: TotalDue 0.00
[2025-01-13 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:05] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'15','0','1','2024-12-13 00:00:00','2025-01-12 23:59:59',0)
[2025-01-13 04:30:05] Production.INFO: PDF Generation start
[2025-01-13 04:30:06] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/15/Invoices/2025/01/13/Invoice-pro-north-collision-centre-inc-inv11355-from-12-13-2024-to-01-12-2025-10284.pdf
[2025-01-13 04:30:06] Production.INFO: On Linux
[2025-01-13 04:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:30:06
[end_date_ymd] => 2025-01-13 04:30:06
[RateCDR] => 1
)
[2025-01-13 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-13 01:30:06' and `end` < '2025-01-13 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-13 04:30:08] 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/15/Invoices/2025/01/13/footer-pro-north-collision-centre-inc-inv11355-from-12-13-2024-to-01-12-2025-10284.html" "/var/www/tmp/1/15/Invoices/2025/01/13/Invoice-pro-north-collision-centre-inc-inv11355-from-12-13-2024-to-01-12-2025-10284.html" "/var/www/tmp/1/15/Invoices/2025/01/13/Invoice-pro-north-collision-centre-inc-inv11355-from-12-13-2024-to-01-12-2025-10284.pdf"
[2025-01-13 04:30:08] Production.INFO:
[2025-01-13 04:30:08] Production.INFO: /var/www/tmp/1/15/Invoices/2025/01/13/Invoice-pro-north-collision-centre-inc-inv11355-from-12-13-2024-to-01-12-2025-10284.html
[2025-01-13 04:30:08] Production.INFO: /var/www/tmp/1/15/Invoices/2025/01/13/header-pro-north-collision-centre-inc-inv11355-from-12-13-2024-to-01-12-2025-10284.html
[2025-01-13 04:30:08] Production.INFO: /var/www/tmp/1/15/Invoices/2025/01/13/footer-pro-north-collision-centre-inc-inv11355-from-12-13-2024-to-01-12-2025-10284.html
[2025-01-13 04:30:08] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:08] Production.INFO: PDF fullPath 1/15/Invoices/2025/01/13/Invoice-pro-north-collision-centre-inc-inv11355-from-12-13-2024-to-01-12-2025-10284.pdf
[2025-01-13 04:30:08] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:08] Production.INFO: Usage File fullPath 1/15/InvoiceUsageFile/2025/01/13/pro-north-collision-centre-inc-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_8173__faa93ad0-d190-11ef-8647-c15a401ef72a.csv
[2025-01-13 04:30:09] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:09] Production.INFO: Email Status 1
[2025-01-13 04:30:09] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:09] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:09] Production.INFO: =========== Returning as Success =========== AccountID 15
[2025-01-13 04:30:09] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:09] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:09] Production.INFO: Invoice Committed AccountID = 15
[2025-01-13 04:30:09] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:09] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:09] Production.INFO: new dates
[2025-01-13 04:30:09] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:09] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:09] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:09] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:09] Production.INFO: AccountID =52 FirstInvoiceSend 0
[2025-01-13 04:30:09] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:09] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236504', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 04:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 04:30:09] Production.INFO: ProcessCDR(1,14236504,1,1,2)
[2025-01-13 04:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236504,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:30:09] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:09] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236504,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:30:09] Production.INFO: Invoice::sendInvoice(1,52,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:30:10] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:10] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:10] Production.INFO: ==26391== Releasing lock...
[2025-01-13 04:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 04:30:10] Production.INFO: 26 MB #Memory Used#
[2025-01-13 04:30:10] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-13 04:30:10] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:10] Production.INFO: AlreadyBilled
[2025-01-13 04:30:10] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:10] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:10] Production.INFO: CompanyGatewayID 1 TotalCharges ==>10.83000000
[2025-01-13 04:30:10] Production.INFO: Invoice::getAccountUsageTotal(1,52,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:10] Production.INFO: TotalCharges - 10.83
[2025-01-13 04:30:10] Production.INFO: TotalUsageCharges - 10.83
[2025-01-13 04:30:10] Production.INFO: Usage Over
[2025-01-13 04:30:10] Production.INFO: Call prc_getAccountSubscription(52,0)
[2025-01-13 04:30:10] Production.INFO: SUBSCRIPTION 2
[2025-01-13 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:10] Production.INFO: SubscriptionID - 1
[2025-01-13 04:30:10] Production.INFO: isAdvanceSubscription - 1
[2025-01-13 04:30:10] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:10] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:10] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:10] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:10] Production.INFO: SubscriptionDate
[2025-01-13 04:30:10] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:10] Production.INFO: New Account Subscription Start
[2025-01-13 04:30:10] Production.INFO: AccountSubscription StartDate 2017-11-30 StartDate 2024-12-13
[2025-01-13 04:30:10] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:10] Production.INFO: AccountSubscriptionID - 147 === 2017-11-30=====2026-01-13
[2025-01-13 04:30:10] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:10] Production.INFO: First Time False 2017-11-30 2025-01-13
[2025-01-13 04:30:10] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2017-11-30 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(147,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:10] Production.INFO: SubscriptionCharge - 7
[2025-01-13 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(52,1,1,2025-01-13,2025-02-12 00:00:00,License for a Pay As You Go Cloud Phone extension,70,7,10,147)
[2025-01-13 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:10] Production.INFO: DiscountType
[2025-01-13 04:30:10] Production.INFO: SubscriptionCharge 70
[2025-01-13 04:30:10] Production.INFO: New SubscriptionCharge 70
[2025-01-13 04:30:10] Production.INFO: TotalSubscriptionCharge - 70.00
[2025-01-13 04:30:10] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:10] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:10] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:10] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:10] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:10] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:10] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:10] Production.INFO: SubscriptionDate
[2025-01-13 04:30:10] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:10] Production.INFO: AccountSubscription StartDate 2017-11-30 StartDate 2024-12-13
[2025-01-13 04:30:10] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:10] Production.INFO: AccountSubscriptionID - 148 === 2017-11-30=====2026-01-13
[2025-01-13 04:30:10] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:10] Production.INFO: First Time False 2017-11-30 2025-01-13
[2025-01-13 04:30:10] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2017-11-30 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(148,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:10] Production.INFO: SubscriptionCharge - 2.5
[2025-01-13 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(52,1,4,2025-01-13,2025-02-12 00:00:00,e911 address registration (14164821980 - 5115 DUNDAS ST W ETOBICOKE, ON M9A1C1),2.5,2.5,1,148)
[2025-01-13 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:10] Production.INFO: DiscountType
[2025-01-13 04:30:10] Production.INFO: SubscriptionCharge 2.5
[2025-01-13 04:30:10] Production.INFO: New SubscriptionCharge 2.5
[2025-01-13 04:30:10] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-13 04:30:10] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:10] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:10] Production.INFO: Call prc_getAccountOneOffCharge(52,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:10] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:10] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:10] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:10] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:10] Production.INFO: SubTotal 83.33
[2025-01-13 04:30:10] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:10] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:10] Production.INFO: TotalTax 10.8329
[2025-01-13 04:30:10] Production.INFO: InvoiceGrandTotal 94.1629
[2025-01-13 04:30:10] Production.INFO: InvoiceTaxAmount 10.83
[2025-01-13 04:30:10] Production.INFO: GrandTotal 94.16
[2025-01-13 04:30:10] Production.INFO: SubTotal 83.33
[2025-01-13 04:30:10] Production.INFO: TotalDue 94.16
[2025-01-13 04:30:10] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:10] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:10] Production.INFO: CALL prc_getInvoiceUsage(1,'52','0','1','2024-12-13 00:00:00','2025-01-12 23:59:59',0)
[2025-01-13 04:30:10] Production.INFO: PDF Generation start
[2025-01-13 04:30:11] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/52/Invoices/2025/01/13/Invoice-dunbloor-medical-centre-inv11356-from-12-13-2024-to-01-12-2025-10285.pdf
[2025-01-13 04:30:11] Production.INFO: On Linux
[2025-01-13 04:30:13] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/52/Invoices/2025/01/13/footer-dunbloor-medical-centre-inv11356-from-12-13-2024-to-01-12-2025-10285.html" "/var/www/tmp/1/52/Invoices/2025/01/13/Invoice-dunbloor-medical-centre-inv11356-from-12-13-2024-to-01-12-2025-10285.html" "/var/www/tmp/1/52/Invoices/2025/01/13/Invoice-dunbloor-medical-centre-inv11356-from-12-13-2024-to-01-12-2025-10285.pdf"
[2025-01-13 04:30:13] Production.INFO:
[2025-01-13 04:30:13] Production.INFO: /var/www/tmp/1/52/Invoices/2025/01/13/Invoice-dunbloor-medical-centre-inv11356-from-12-13-2024-to-01-12-2025-10285.html
[2025-01-13 04:30:13] Production.INFO: /var/www/tmp/1/52/Invoices/2025/01/13/header-dunbloor-medical-centre-inv11356-from-12-13-2024-to-01-12-2025-10285.html
[2025-01-13 04:30:13] Production.INFO: /var/www/tmp/1/52/Invoices/2025/01/13/footer-dunbloor-medical-centre-inv11356-from-12-13-2024-to-01-12-2025-10285.html
[2025-01-13 04:30:13] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:13] Production.INFO: PDF fullPath 1/52/Invoices/2025/01/13/Invoice-dunbloor-medical-centre-inv11356-from-12-13-2024-to-01-12-2025-10285.pdf
[2025-01-13 04:30:13] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:13] Production.INFO: Usage File fullPath 1/52/InvoiceUsageFile/2025/01/13/dunbloor-medical-centre-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_7858__fdb840a0-d190-11ef-b2bc-d17106693ae6.csv
[2025-01-13 04:30:14] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:14] Production.INFO: Email Status 1
[2025-01-13 04:30:14] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:15] Production.INFO: Email Try 10285 1
[2025-01-13 04:30:15] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:15] Production.INFO: =========== Returning as Success =========== AccountID 52
[2025-01-13 04:30:15] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:15] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:15] Production.INFO: Invoice Committed AccountID = 52
[2025-01-13 04:30:15] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:15] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:15] Production.INFO: new dates
[2025-01-13 04:30:15] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:15] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:15] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:15] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:15] Production.INFO: AccountID =54 FirstInvoiceSend 0
[2025-01-13 04:30:15] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:15] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:15] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:15] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:15] Production.INFO: Invoice::sendInvoice(1,54,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:15] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:15] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:15] 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-13 04:30:15] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:15] Production.INFO: AlreadyBilled
[2025-01-13 04:30:15] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:15] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:15] Production.INFO: Invoice::getAccountUsageTotal(1,54,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:15] Production.INFO: TotalCharges - 0
[2025-01-13 04:30:15] Production.INFO: TotalUsageCharges - 0.00
[2025-01-13 04:30:15] Production.INFO: Usage Over
[2025-01-13 04:30:15] Production.INFO: Call prc_getAccountSubscription(54,0)
[2025-01-13 04:30:15] Production.INFO: SUBSCRIPTION 4
[2025-01-13 04:30:15] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:15] Production.INFO: SubscriptionID - 5
[2025-01-13 04:30:15] Production.INFO: isAdvanceSubscription - 5
[2025-01-13 04:30:15] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:15] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:15] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:15] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:15] Production.INFO: SubscriptionDate
[2025-01-13 04:30:15] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:15] Production.INFO: New Account Subscription Start
[2025-01-13 04:30:15] Production.INFO: AccountSubscription StartDate 2017-12-28 StartDate 2024-12-13
[2025-01-13 04:30:15] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:15] Production.INFO: AccountSubscriptionID - 191 === 2017-12-28=====2026-01-13
[2025-01-13 04:30:15] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:15] Production.INFO: First Time False 2017-12-28 2025-01-13
[2025-01-13 04:30:15] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2017-12-28 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:15] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:15] Production.INFO: AccountSubscription::getSubscriptionAmount(191,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:15] Production.INFO: SubscriptionCharge - 75
[2025-01-13 04:30:15] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:15] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(54,1,5,2025-01-13,2025-02-12 00:00:00,Dominos Pizza - 4 Line Flat Rate,75,75,1,191)
[2025-01-13 04:30:15] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:15] Production.INFO: DiscountType
[2025-01-13 04:30:15] Production.INFO: SubscriptionCharge 75
[2025-01-13 04:30:15] Production.INFO: New SubscriptionCharge 75
[2025-01-13 04:30:15] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-13 04:30:15] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:15] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:15] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:15] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:15] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:15] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:16] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:16] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:16] Production.INFO: SubscriptionDate
[2025-01-13 04:30:16] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:16] Production.INFO: New Account Subscription Start
[2025-01-13 04:30:16] Production.INFO: AccountSubscription StartDate 2017-12-28 StartDate 2024-12-13
[2025-01-13 04:30:16] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:16] Production.INFO: AccountSubscriptionID - 192 === 2017-12-28=====2026-01-13
[2025-01-13 04:30:16] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:16] Production.INFO: First Time False 2017-12-28 2025-01-13
[2025-01-13 04:30:16] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2017-12-28 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:16] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:16] Production.INFO: AccountSubscription::getSubscriptionAmount(192,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:16] Production.INFO: SubscriptionCharge - 2.5
[2025-01-13 04:30:16] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:16] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(54,1,4,2025-01-13,2025-02-12 00:00:00,e911 address registration (15197633030 - 204 SILVERCREEK PKWY N UNIT 1 GUELPH, ON N1H7P7),2.5,2.5,1,192)
[2025-01-13 04:30:16] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:16] Production.INFO: DiscountType
[2025-01-13 04:30:16] Production.INFO: SubscriptionCharge 2.5
[2025-01-13 04:30:16] Production.INFO: New SubscriptionCharge 2.5
[2025-01-13 04:30:16] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-13 04:30:16] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:16] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:16] Production.INFO: SubscriptionID - 22
[2025-01-13 04:30:16] Production.INFO: isAdvanceSubscription - 22
[2025-01-13 04:30:16] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:16] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:16] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:16] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:16] Production.INFO: SubscriptionDate
[2025-01-13 04:30:16] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:16] Production.INFO: AccountSubscription StartDate 2020-09-29 StartDate 2024-12-13
[2025-01-13 04:30:16] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:16] Production.INFO: AccountSubscriptionID - 526 === 2020-09-29=====2026-01-13
[2025-01-13 04:30:16] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:16] Production.INFO: First Time False 2020-09-29 2025-01-13
[2025-01-13 04:30:16] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2020-09-29 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:16] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:16] Production.INFO: AccountSubscription::getSubscriptionAmount(526,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:16] Production.INFO: SubscriptionCharge - 266.3
[2025-01-13 04:30:16] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:16] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(54,5,22,2025-01-13,2025-02-12 00:00:00,Line of Sight Wireless Internet Access - 50mbps/10mbps,266.3,266.3,1,526)
[2025-01-13 04:30:16] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:16] Production.INFO: DiscountType
[2025-01-13 04:30:16] Production.INFO: SubscriptionCharge 266.3
[2025-01-13 04:30:16] Production.INFO: New SubscriptionCharge 266.3
[2025-01-13 04:30:16] Production.INFO: TotalSubscriptionCharge - 266.30
[2025-01-13 04:30:16] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:16] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:16] Production.INFO: SubscriptionID - 11
[2025-01-13 04:30:16] Production.INFO: isAdvanceSubscription - 11
[2025-01-13 04:30:16] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:16] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:16] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:16] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:16] Production.INFO: SubscriptionDate
[2025-01-13 04:30:16] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:16] Production.INFO: AccountSubscription StartDate 2021-08-06 StartDate 2024-12-13
[2025-01-13 04:30:16] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:16] Production.INFO: AccountSubscriptionID - 622 === 2021-08-06=====2026-01-13
[2025-01-13 04:30:16] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:16] Production.INFO: First Time False 2021-08-06 2025-01-13
[2025-01-13 04:30:16] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2021-08-06 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:16] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:16] Production.INFO: AccountSubscription::getSubscriptionAmount(622,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:16] Production.INFO: SubscriptionCharge - -5
[2025-01-13 04:30:16] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:16] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(54,1,11,2025-01-13,2025-02-12 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-10,-5,2,622)
[2025-01-13 04:30:16] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:16] Production.INFO: DiscountType
[2025-01-13 04:30:16] Production.INFO: SubscriptionCharge -10
[2025-01-13 04:30:16] Production.INFO: New SubscriptionCharge -10
[2025-01-13 04:30:16] Production.INFO: TotalSubscriptionCharge - -10.00
[2025-01-13 04:30:16] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:16] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:16] Production.INFO: Call prc_getAccountOneOffCharge(54,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:16] Production.INFO: AccountOneOffCharge 1
[2025-01-13 04:30:16] Production.INFO: AccountOneOffChargeID - 912
[2025-01-13 04:30:16] Production.INFO: AccountOneOffChargeID - 2024-12-31 00:00:00
[2025-01-13 04:30:16] Production.INFO: AccountOneOffCharge DiscountAmount 0.000000
[2025-01-13 04:30:16] Production.INFO: AccountOneOffCharge DiscountType Flat
[2025-01-13 04:30:16] Production.INFO: AccountOneOffCharge LineTotal 40
[2025-01-13 04:30:16] Production.INFO: New LineTotal 40
[2025-01-13 04:30:16] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:16] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:16] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:16] Production.INFO: SubTotal 333.8
[2025-01-13 04:30:16] Production.INFO: SubTotalWithouttaxTotal 40
[2025-01-13 04:30:16] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:16] Production.INFO: TotalTax 43.394
[2025-01-13 04:30:16] Production.INFO: InvoiceGrandTotal 417.194
[2025-01-13 04:30:16] Production.INFO: InvoiceTaxAmount 43.39
[2025-01-13 04:30:16] Production.INFO: GrandTotal 417.19
[2025-01-13 04:30:16] Production.INFO: SubTotal 373.80
[2025-01-13 04:30:16] Production.INFO: TotalDue 242.02
[2025-01-13 04:30:16] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:16] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:16] Production.INFO: CALL prc_getInvoiceUsage(1,'54','0','1','2024-12-13 00:00:00','2025-01-12 23:59:59',0)
[2025-01-13 04:30:16] Production.INFO: PDF Generation start
[2025-01-13 04:30:16] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/54/Invoices/2025/01/13/Invoice-dominos-10296-gurinder-saini-inv11357-from-12-13-2024-to-01-12-2025-10286.pdf
[2025-01-13 04:30:16] Production.INFO: On Linux
[2025-01-13 04:30:16] Production.ERROR: CronJobId end10
[2025-01-13 04:30:16] Production.INFO: ==26385== Releasing lock...
[2025-01-13 04:30:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:30:16] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:30:16] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:30:16] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:30:17] Production.INFO: call_cost start
[2025-01-13 04:30:17] Production.INFO: call_cost end
[2025-01-13 04:30:17] 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/54/Invoices/2025/01/13/footer-dominos-10296-gurinder-saini-inv11357-from-12-13-2024-to-01-12-2025-10286.html" "/var/www/tmp/1/54/Invoices/2025/01/13/Invoice-dominos-10296-gurinder-saini-inv11357-from-12-13-2024-to-01-12-2025-10286.html" "/var/www/tmp/1/54/Invoices/2025/01/13/Invoice-dominos-10296-gurinder-saini-inv11357-from-12-13-2024-to-01-12-2025-10286.pdf"
[2025-01-13 04:30:17] Production.INFO:
[2025-01-13 04:30:17] Production.INFO: /var/www/tmp/1/54/Invoices/2025/01/13/Invoice-dominos-10296-gurinder-saini-inv11357-from-12-13-2024-to-01-12-2025-10286.html
[2025-01-13 04:30:17] Production.INFO: /var/www/tmp/1/54/Invoices/2025/01/13/header-dominos-10296-gurinder-saini-inv11357-from-12-13-2024-to-01-12-2025-10286.html
[2025-01-13 04:30:17] Production.INFO: /var/www/tmp/1/54/Invoices/2025/01/13/footer-dominos-10296-gurinder-saini-inv11357-from-12-13-2024-to-01-12-2025-10286.html
[2025-01-13 04:30:17] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:17] Production.INFO: PDF fullPath 1/54/Invoices/2025/01/13/Invoice-dominos-10296-gurinder-saini-inv11357-from-12-13-2024-to-01-12-2025-10286.pdf
[2025-01-13 04:30:17] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:17] Production.INFO: Usage File fullPath 1/54/InvoiceUsageFile/2025/01/13/dominos-10296-gurinder-saini-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_5696__005b77d0-d191-11ef-9309-4d4b2d14718e.csv
[2025-01-13 04:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:30:18] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:30:18] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:30:18] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:30:18] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:30:18] Production.INFO: ==26379== Releasing lock...
[2025-01-13 04:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:30:18] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:18] Production.INFO: Email Status 1
[2025-01-13 04:30:18] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:19] Production.INFO: count ==132
[2025-01-13 04:30:19] Production.ERROR: pbx CDR StartTime 2025-01-13 01:30:06 - End Time 2025-01-13 04:30:06
[2025-01-13 04:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236505', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236505', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236505', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236505', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:30:19] Production.INFO: ProcessCDR(1,14236505,1,1,2)
[2025-01-13 04:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:30:19] Production.INFO: Email Try 10286 1
[2025-01-13 04:30:19] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:19] Production.INFO: =========== Returning as Success =========== AccountID 54
[2025-01-13 04:30:19] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:19] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:19] Production.INFO: Invoice Committed AccountID = 54
[2025-01-13 04:30:19] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:19] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:19] Production.INFO: new dates
[2025-01-13 04:30:19] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:19] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:19] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:19] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:19] Production.INFO: AccountID =80 FirstInvoiceSend 0
[2025-01-13 04:30:19] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:19] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:19] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:19] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:19] Production.INFO: Invoice::sendInvoice(1,80,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:19] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:19] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:19] 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-13 04:30:19] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:19] Production.INFO: AlreadyBilled
[2025-01-13 04:30:19] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:19] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:19] Production.INFO: Invoice::getAccountUsageTotal(1,80,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:19] Production.INFO: TotalCharges - 0
[2025-01-13 04:30:19] Production.INFO: TotalUsageCharges - 0.00
[2025-01-13 04:30:19] Production.INFO: Usage Over
[2025-01-13 04:30:19] Production.INFO: Call prc_getAccountSubscription(80,0)
[2025-01-13 04:30:19] Production.INFO: SUBSCRIPTION 4
[2025-01-13 04:30:19] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:19] Production.INFO: SubscriptionID - 1
[2025-01-13 04:30:19] Production.INFO: isAdvanceSubscription - 1
[2025-01-13 04:30:19] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:19] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:19] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:19] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:19] Production.INFO: SubscriptionDate
[2025-01-13 04:30:19] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:19] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:19] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:19] Production.INFO: AccountSubscriptionID - 274 === 2018-07-12=====2026-01-13
[2025-01-13 04:30:19] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:19] Production.INFO: First Time False 2018-07-12 2025-01-13
[2025-01-13 04:30:19] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-12 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:19] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:19] Production.INFO: AccountSubscription::getSubscriptionAmount(274,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:19] Production.INFO: SubscriptionCharge - 0
[2025-01-13 04:30:19] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:19] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(80,1,1,2025-01-13,2025-02-12 00:00:00,License for a Pay As You Go Cloud Phone extension,0,0,1,274)
[2025-01-13 04:30:19] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:19] Production.INFO: DiscountType
[2025-01-13 04:30:19] Production.INFO: SubscriptionCharge 0
[2025-01-13 04:30:19] Production.INFO: New SubscriptionCharge 0
[2025-01-13 04:30:19] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-13 04:30:19] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:19] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:19] Production.INFO: SubscriptionID - 12
[2025-01-13 04:30:19] Production.INFO: isAdvanceSubscription - 12
[2025-01-13 04:30:19] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:19] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:19] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:19] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:19] Production.INFO: SubscriptionDate
[2025-01-13 04:30:19] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:19] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:19] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:19] Production.INFO: AccountSubscriptionID - 275 === 2018-07-12=====2026-01-13
[2025-01-13 04:30:19] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:19] Production.INFO: First Time False 2018-07-12 2025-01-13
[2025-01-13 04:30:19] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-12 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:19] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:19] Production.INFO: AccountSubscription::getSubscriptionAmount(275,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:19] Production.INFO: SubscriptionCharge - 0
[2025-01-13 04:30:19] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:19] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(80,1,12,2025-01-13,2025-02-12 00:00:00,Included DID (14168554440),0,0,1,275)
[2025-01-13 04:30:19] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:19] Production.INFO: DiscountType
[2025-01-13 04:30:19] Production.INFO: SubscriptionCharge 0
[2025-01-13 04:30:19] Production.INFO: New SubscriptionCharge 0
[2025-01-13 04:30:19] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-13 04:30:19] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:19] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:19] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:19] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:19] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:19] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:19] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:19] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:19] Production.INFO: SubscriptionDate
[2025-01-13 04:30:19] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:19] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:19] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:19] Production.INFO: AccountSubscriptionID - 276 === 2018-07-12=====2026-01-13
[2025-01-13 04:30:19] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:19] Production.INFO: First Time False 2018-07-12 2025-01-13
[2025-01-13 04:30:19] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-12 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:19] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:19] Production.INFO: AccountSubscription::getSubscriptionAmount(276,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:19] Production.INFO: SubscriptionCharge - 0
[2025-01-13 04:30:19] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:19] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(80,1,4,2025-01-13,2025-02-12 00:00:00,e911 address registration (14168554440 - 18 DROOPING JUNIPER RD BRAMPTON, ON L6P2A6),0,0,1,276)
[2025-01-13 04:30:19] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:19] Production.INFO: DiscountType
[2025-01-13 04:30:19] Production.INFO: SubscriptionCharge 0
[2025-01-13 04:30:19] Production.INFO: New SubscriptionCharge 0
[2025-01-13 04:30:19] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-13 04:30:19] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:19] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:19] Production.INFO: SubscriptionID - 12
[2025-01-13 04:30:19] Production.INFO: isAdvanceSubscription - 12
[2025-01-13 04:30:20] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:20] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:20] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:20] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:20] Production.INFO: SubscriptionDate
[2025-01-13 04:30:20] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:20] Production.INFO: AccountSubscription StartDate 2018-06-15 StartDate 2024-12-13
[2025-01-13 04:30:20] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:20] Production.INFO: AccountSubscriptionID - 280 === 2018-06-15=====2026-01-13
[2025-01-13 04:30:20] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:20] Production.INFO: First Time False 2018-06-15 2025-01-13
[2025-01-13 04:30:20] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-06-15 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:20] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:20] Production.INFO: AccountSubscription::getSubscriptionAmount(280,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:20] Production.INFO: SubscriptionCharge - 0
[2025-01-13 04:30:20] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:20] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(80,1,12,2025-01-13,2025-02-12 00:00:00,DISCOUNT: Friends & Family - 100% monthly + 100% NA minutes (Authorized: Xander Robar - June 15, 2018. No expiry.),0,0,1,280)
[2025-01-13 04:30:20] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:20] Production.INFO: DiscountType
[2025-01-13 04:30:20] Production.INFO: SubscriptionCharge 0
[2025-01-13 04:30:20] Production.INFO: New SubscriptionCharge 0
[2025-01-13 04:30:20] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-13 04:30:20] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:20] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:20] Production.INFO: Call prc_getAccountOneOffCharge(80,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:20] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:20] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:20] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:20] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:20] Production.INFO: SubTotal 0
[2025-01-13 04:30:20] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:20] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:20] Production.INFO: TotalTax 0
[2025-01-13 04:30:20] Production.INFO: InvoiceGrandTotal 0
[2025-01-13 04:30:20] Production.INFO: InvoiceTaxAmount 0
[2025-01-13 04:30:20] Production.INFO: GrandTotal 0
[2025-01-13 04:30:20] Production.INFO: SubTotal 0.00
[2025-01-13 04:30:20] Production.INFO: TotalDue 0.00
[2025-01-13 04:30:20] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:20] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:20] Production.INFO: CALL prc_getInvoiceUsage(1,'80','0','1','2024-12-13 00:00:00','2025-01-12 23:59:59',0)
[2025-01-13 04:30:20] Production.INFO: PDF Generation start
[2025-01-13 04:30:20] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/80/Invoices/2025/01/13/Invoice-anil-sharma-inv11358-from-12-13-2024-to-01-12-2025-10287.pdf
[2025-01-13 04:30:20] Production.INFO: On Linux
[2025-01-13 04:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:30:21] 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/80/Invoices/2025/01/13/footer-anil-sharma-inv11358-from-12-13-2024-to-01-12-2025-10287.html" "/var/www/tmp/1/80/Invoices/2025/01/13/Invoice-anil-sharma-inv11358-from-12-13-2024-to-01-12-2025-10287.html" "/var/www/tmp/1/80/Invoices/2025/01/13/Invoice-anil-sharma-inv11358-from-12-13-2024-to-01-12-2025-10287.pdf"
[2025-01-13 04:30:21] Production.INFO:
[2025-01-13 04:30:21] Production.INFO: /var/www/tmp/1/80/Invoices/2025/01/13/Invoice-anil-sharma-inv11358-from-12-13-2024-to-01-12-2025-10287.html
[2025-01-13 04:30:21] Production.INFO: /var/www/tmp/1/80/Invoices/2025/01/13/header-anil-sharma-inv11358-from-12-13-2024-to-01-12-2025-10287.html
[2025-01-13 04:30:21] Production.INFO: /var/www/tmp/1/80/Invoices/2025/01/13/footer-anil-sharma-inv11358-from-12-13-2024-to-01-12-2025-10287.html
[2025-01-13 04:30:21] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:21] Production.INFO: PDF fullPath 1/80/Invoices/2025/01/13/Invoice-anil-sharma-inv11358-from-12-13-2024-to-01-12-2025-10287.pdf
[2025-01-13 04:30:21] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:21] Production.INFO: Usage File fullPath 1/80/InvoiceUsageFile/2025/01/13/anil-sharma-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_3283__02a89e20-d191-11ef-bc41-bb3dc3ac1c5a.csv
[2025-01-13 04:30:22] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:22] Production.INFO: Email Status 1
[2025-01-13 04:30:22] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:22] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:22] Production.INFO: =========== Returning as Success =========== AccountID 80
[2025-01-13 04:30:22] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:22] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:22] Production.INFO: Invoice Committed AccountID = 80
[2025-01-13 04:30:22] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:22] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:22] Production.INFO: new dates
[2025-01-13 04:30:22] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:22] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:22] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:22] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:22] Production.INFO: AccountID =82 FirstInvoiceSend 0
[2025-01-13 04:30:22] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:22] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:22] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:22] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:22] Production.INFO: Invoice::sendInvoice(1,82,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:22] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:22] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:22] 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-13 04:30:22] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:22] Production.INFO: AlreadyBilled
[2025-01-13 04:30:22] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:22] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:22] Production.INFO: CompanyGatewayID 1 TotalCharges ==>1.46000000
[2025-01-13 04:30:22] Production.INFO: Invoice::getAccountUsageTotal(1,82,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:22] Production.INFO: TotalCharges - 1.46
[2025-01-13 04:30:22] Production.INFO: TotalUsageCharges - 1.46
[2025-01-13 04:30:22] Production.INFO: Usage Over
[2025-01-13 04:30:22] Production.INFO: Call prc_getAccountSubscription(82,0)
[2025-01-13 04:30:22] Production.INFO: SUBSCRIPTION 6
[2025-01-13 04:30:22] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:22] Production.INFO: SubscriptionID - 1
[2025-01-13 04:30:22] Production.INFO: isAdvanceSubscription - 1
[2025-01-13 04:30:22] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:22] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236505', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236505', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:30:22] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:22] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:22] Production.INFO: SubscriptionDate
[2025-01-13 04:30:22] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:22] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:22] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:22] Production.INFO: AccountSubscriptionID - 285 === 2018-07-12=====2026-01-13
[2025-01-13 04:30:22] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:22] Production.INFO: First Time False 2018-07-12 2025-01-13
[2025-01-13 04:30:22] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-12 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:23] Production.INFO: ==26389== Releasing lock...
[2025-01-13 04:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:30:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(285,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge - 7
[2025-01-13 04:30:23] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(82,1,1,2025-01-13,2025-02-12 00:00:00,License for a Pay As You Go Cloud Phone extension,28,7,4,285)
[2025-01-13 04:30:23] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:23] Production.INFO: DiscountType
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge 28
[2025-01-13 04:30:23] Production.INFO: New SubscriptionCharge 28
[2025-01-13 04:30:23] Production.INFO: TotalSubscriptionCharge - 28.00
[2025-01-13 04:30:23] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:23] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:23] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:23] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:23] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:23] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:23] Production.INFO: SubscriptionDate
[2025-01-13 04:30:23] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:23] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:23] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: AccountSubscriptionID - 286 === 2018-07-12=====2026-01-13
[2025-01-13 04:30:23] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:23] Production.INFO: First Time False 2018-07-12 2025-01-13
[2025-01-13 04:30:23] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-12 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(286,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge - 2.5
[2025-01-13 04:30:23] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(82,1,4,2025-01-13,2025-02-12 00:00:00,e911 address registration (14163643834 - 9994 KEELE ST UNIT 201 VAUGHAN, ON L6A3Y4),2.5,2.5,1,286)
[2025-01-13 04:30:23] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:23] Production.INFO: DiscountType
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge 2.5
[2025-01-13 04:30:23] Production.INFO: New SubscriptionCharge 2.5
[2025-01-13 04:30:23] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-13 04:30:23] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:23] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:23] Production.INFO: SubscriptionID - 12
[2025-01-13 04:30:23] Production.INFO: isAdvanceSubscription - 12
[2025-01-13 04:30:23] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:23] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:23] Production.INFO: SubscriptionDate
[2025-01-13 04:30:23] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:23] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:23] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: AccountSubscriptionID - 287 === 2018-07-12=====2026-01-13
[2025-01-13 04:30:23] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:23] Production.INFO: First Time False 2018-07-12 2025-01-13
[2025-01-13 04:30:23] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-12 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(287,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge - 0
[2025-01-13 04:30:23] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(82,1,12,2025-01-13,2025-02-12 00:00:00,Included DID (14163643834),0,0,1,287)
[2025-01-13 04:30:23] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:23] Production.INFO: DiscountType
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge 0
[2025-01-13 04:30:23] Production.INFO: New SubscriptionCharge 0
[2025-01-13 04:30:23] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-13 04:30:23] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:23] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:23] Production.INFO: SubscriptionID - 12
[2025-01-13 04:30:23] Production.INFO: isAdvanceSubscription - 12
[2025-01-13 04:30:23] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:23] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:23] Production.INFO: SubscriptionDate
[2025-01-13 04:30:23] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:23] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:23] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: AccountSubscriptionID - 288 === 2018-07-12=====2026-01-13
[2025-01-13 04:30:23] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:23] Production.INFO: First Time False 2018-07-12 2025-01-13
[2025-01-13 04:30:23] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-12 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(288,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge - 0
[2025-01-13 04:30:23] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(82,1,12,2025-01-13,2025-02-12 00:00:00,Included DID (16475584814),0,0,1,288)
[2025-01-13 04:30:23] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:23] Production.INFO: DiscountType
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge 0
[2025-01-13 04:30:23] Production.INFO: New SubscriptionCharge 0
[2025-01-13 04:30:23] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-13 04:30:23] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:23] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:23] Production.INFO: SubscriptionID - 12
[2025-01-13 04:30:23] Production.INFO: isAdvanceSubscription - 12
[2025-01-13 04:30:23] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:23] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:23] Production.INFO: SubscriptionDate
[2025-01-13 04:30:23] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:23] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:23] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: AccountSubscriptionID - 289 === 2018-07-12=====2026-01-13
[2025-01-13 04:30:23] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:23] Production.INFO: First Time False 2018-07-12 2025-01-13
[2025-01-13 04:30:23] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-12 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(289,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge - 0
[2025-01-13 04:30:23] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(82,1,12,2025-01-13,2025-02-12 00:00:00,Included DID (16475584902),0,0,1,289)
[2025-01-13 04:30:23] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:23] Production.INFO: DiscountType
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge 0
[2025-01-13 04:30:23] Production.INFO: New SubscriptionCharge 0
[2025-01-13 04:30:23] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-13 04:30:23] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:23] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:23] Production.INFO: SubscriptionID - 12
[2025-01-13 04:30:23] Production.INFO: isAdvanceSubscription - 12
[2025-01-13 04:30:23] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:23] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:23] Production.INFO: SubscriptionDate
[2025-01-13 04:30:23] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:23] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:23] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:23] Production.INFO: AccountSubscriptionID - 290 === 2018-07-12=====2026-01-13
[2025-01-13 04:30:23] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:23] Production.INFO: First Time False 2018-07-12 2025-01-13
[2025-01-13 04:30:23] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-12 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(290,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge - 0
[2025-01-13 04:30:23] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(82,1,12,2025-01-13,2025-02-12 00:00:00,Included DID (18889909234),0,0,1,290)
[2025-01-13 04:30:23] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:23] Production.INFO: DiscountType
[2025-01-13 04:30:23] Production.INFO: SubscriptionCharge 0
[2025-01-13 04:30:23] Production.INFO: New SubscriptionCharge 0
[2025-01-13 04:30:23] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-13 04:30:23] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:23] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:23] Production.INFO: Call prc_getAccountOneOffCharge(82,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:23] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:23] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:23] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:23] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:23] Production.INFO: SubTotal 31.96
[2025-01-13 04:30:23] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:23] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:23] Production.INFO: TotalTax 4.1548
[2025-01-13 04:30:23] Production.INFO: InvoiceGrandTotal 36.1148
[2025-01-13 04:30:23] Production.INFO: InvoiceTaxAmount 4.15
[2025-01-13 04:30:23] Production.INFO: GrandTotal 36.11
[2025-01-13 04:30:23] Production.INFO: SubTotal 31.96
[2025-01-13 04:30:23] Production.INFO: TotalDue 36.11
[2025-01-13 04:30:23] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:23] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:23] Production.INFO: CALL prc_getInvoiceUsage(1,'82','0','1','2024-12-13 00:00:00','2025-01-12 23:59:59',0)
[2025-01-13 04:30:23] Production.INFO: PDF Generation start
[2025-01-13 04:30:23] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/82/Invoices/2025/01/13/Invoice-delco-windows-doors-inv11359-from-12-13-2024-to-01-12-2025-10288.pdf
[2025-01-13 04:30:23] Production.INFO: On Linux
[2025-01-13 04:30:24] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/82/Invoices/2025/01/13/footer-delco-windows-doors-inv11359-from-12-13-2024-to-01-12-2025-10288.html" "/var/www/tmp/1/82/Invoices/2025/01/13/Invoice-delco-windows-doors-inv11359-from-12-13-2024-to-01-12-2025-10288.html" "/var/www/tmp/1/82/Invoices/2025/01/13/Invoice-delco-windows-doors-inv11359-from-12-13-2024-to-01-12-2025-10288.pdf"
[2025-01-13 04:30:24] Production.INFO:
[2025-01-13 04:30:24] Production.INFO: /var/www/tmp/1/82/Invoices/2025/01/13/Invoice-delco-windows-doors-inv11359-from-12-13-2024-to-01-12-2025-10288.html
[2025-01-13 04:30:24] Production.INFO: /var/www/tmp/1/82/Invoices/2025/01/13/header-delco-windows-doors-inv11359-from-12-13-2024-to-01-12-2025-10288.html
[2025-01-13 04:30:24] Production.INFO: /var/www/tmp/1/82/Invoices/2025/01/13/footer-delco-windows-doors-inv11359-from-12-13-2024-to-01-12-2025-10288.html
[2025-01-13 04:30:24] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:24] Production.INFO: PDF fullPath 1/82/Invoices/2025/01/13/Invoice-delco-windows-doors-inv11359-from-12-13-2024-to-01-12-2025-10288.pdf
[2025-01-13 04:30:24] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:24] Production.INFO: Usage File fullPath 1/82/InvoiceUsageFile/2025/01/13/delco-windows-doors-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_3651__044a9790-d191-11ef-9747-5978be20aa27.csv
[2025-01-13 04:30:25] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:25] Production.INFO: Email Status 1
[2025-01-13 04:30:25] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:26] Production.INFO: Email Try 10288 1
[2025-01-13 04:30:26] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:26] Production.INFO: =========== Returning as Success =========== AccountID 82
[2025-01-13 04:30:26] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:26] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:26] Production.INFO: Invoice Committed AccountID = 82
[2025-01-13 04:30:26] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:26] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:26] Production.INFO: new dates
[2025-01-13 04:30:26] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:26] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:26] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:26] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:26] Production.INFO: AccountID =83 FirstInvoiceSend 0
[2025-01-13 04:30:26] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:26] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:26] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:26] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:26] Production.INFO: Invoice::sendInvoice(1,83,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:26] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:26] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:26] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-13 04:30:26] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:26] Production.INFO: AlreadyBilled
[2025-01-13 04:30:26] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:26] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:26] Production.INFO: Invoice::getAccountUsageTotal(1,83,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:26] Production.INFO: TotalCharges - 0
[2025-01-13 04:30:26] Production.INFO: TotalUsageCharges - 0.00
[2025-01-13 04:30:26] Production.INFO: Usage Over
[2025-01-13 04:30:26] Production.INFO: Call prc_getAccountSubscription(83,0)
[2025-01-13 04:30:26] Production.INFO: SUBSCRIPTION 5
[2025-01-13 04:30:26] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:26] Production.INFO: SubscriptionID - 5
[2025-01-13 04:30:26] Production.INFO: isAdvanceSubscription - 5
[2025-01-13 04:30:26] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:26] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: EndDate =2019-05-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: NewEndDate1 =2019-05-13
[2025-01-13 04:30:26] Production.INFO: SubscriptionDate
[2025-01-13 04:30:26] Production.INFO: Array
(
[StartDate] => 2019-05-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:26] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:26] Production.INFO: SubscriptionID - 2019-05-13=====2025-02-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: AccountSubscriptionID - 291 === 2018-07-12=====2019-05-10
[2025-01-13 04:30:26] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:26] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:26] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:26] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:26] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:26] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: EndDate =2019-05-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: NewEndDate1 =2019-05-13
[2025-01-13 04:30:26] Production.INFO: SubscriptionDate
[2025-01-13 04:30:26] Production.INFO: Array
(
[StartDate] => 2019-05-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:26] Production.INFO: AccountSubscription StartDate 2018-07-12 StartDate 2024-12-13
[2025-01-13 04:30:26] Production.INFO: SubscriptionID - 2019-05-13=====2025-02-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: AccountSubscriptionID - 292 === 2018-07-12=====2019-05-10
[2025-01-13 04:30:26] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:26] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:26] Production.INFO: SubscriptionID - 5
[2025-01-13 04:30:26] Production.INFO: isAdvanceSubscription - 5
[2025-01-13 04:30:26] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:26] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:26] Production.INFO: SubscriptionDate
[2025-01-13 04:30:26] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:26] Production.INFO: AccountSubscription StartDate 2020-07-01 StartDate 2024-12-13
[2025-01-13 04:30:26] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: AccountSubscriptionID - 502 === 2020-07-01=====2026-01-13
[2025-01-13 04:30:26] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:26] Production.INFO: First Time False 2020-07-01 2025-01-13
[2025-01-13 04:30:26] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2020-07-01 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:26] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:26] Production.INFO: AccountSubscription::getSubscriptionAmount(502,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:26] Production.INFO: SubscriptionCharge - 75
[2025-01-13 04:30:26] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:26] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(83,1,5,2025-01-13,2025-02-12 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,502)
[2025-01-13 04:30:26] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:26] Production.INFO: DiscountType
[2025-01-13 04:30:26] Production.INFO: SubscriptionCharge 75
[2025-01-13 04:30:26] Production.INFO: New SubscriptionCharge 75
[2025-01-13 04:30:26] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-13 04:30:26] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:26] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:26] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:26] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:26] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:26] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:26] Production.INFO: SubscriptionDate
[2025-01-13 04:30:26] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:26] Production.INFO: AccountSubscription StartDate 2020-07-01 StartDate 2024-12-13
[2025-01-13 04:30:26] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: AccountSubscriptionID - 503 === 2020-07-01=====2026-01-13
[2025-01-13 04:30:26] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:26] Production.INFO: First Time False 2020-07-01 2025-01-13
[2025-01-13 04:30:26] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2020-07-01 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:26] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:26] Production.INFO: AccountSubscription::getSubscriptionAmount(503,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:26] Production.INFO: SubscriptionCharge - 0
[2025-01-13 04:30:26] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:26] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(83,1,4,2025-01-13,2025-02-12 00:00:00,e911 address registration (4162980003 - 2245 Kennedy Road, Scarborough, ON M1T 3G8),0,0,1,503)
[2025-01-13 04:30:26] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:26] Production.INFO: DiscountType
[2025-01-13 04:30:26] Production.INFO: SubscriptionCharge 0
[2025-01-13 04:30:26] Production.INFO: New SubscriptionCharge 0
[2025-01-13 04:30:26] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-13 04:30:26] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:26] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:26] Production.INFO: SubscriptionID - 11
[2025-01-13 04:30:26] Production.INFO: isAdvanceSubscription - 11
[2025-01-13 04:30:26] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:26] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:26] Production.INFO: SubscriptionDate
[2025-01-13 04:30:26] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:26] Production.INFO: AccountSubscription StartDate 2020-07-01 StartDate 2024-12-13
[2025-01-13 04:30:26] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:26] Production.INFO: AccountSubscriptionID - 504 === 2020-07-01=====2026-01-13
[2025-01-13 04:30:26] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:26] Production.INFO: First Time False 2020-07-01 2025-01-13
[2025-01-13 04:30:26] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2020-07-01 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:26] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:26] Production.INFO: AccountSubscription::getSubscriptionAmount(504,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:26] Production.INFO: SubscriptionCharge - -5
[2025-01-13 04:30:26] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:26] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(83,1,11,2025-01-13,2025-02-12 00:00:00,Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service,-15,-5,3,504)
[2025-01-13 04:30:26] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:26] Production.INFO: DiscountType
[2025-01-13 04:30:26] Production.INFO: SubscriptionCharge -15
[2025-01-13 04:30:26] Production.INFO: New SubscriptionCharge -15
[2025-01-13 04:30:26] Production.INFO: TotalSubscriptionCharge - -15.00
[2025-01-13 04:30:26] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:26] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:26] Production.INFO: Call prc_getAccountOneOffCharge(83,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:26] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:26] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:26] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:26] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:26] Production.INFO: SubTotal 60
[2025-01-13 04:30:26] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:26] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:26] Production.INFO: TotalTax 7.8
[2025-01-13 04:30:26] Production.INFO: InvoiceGrandTotal 67.8
[2025-01-13 04:30:26] Production.INFO: InvoiceTaxAmount 7.8
[2025-01-13 04:30:26] Production.INFO: GrandTotal 67.8
[2025-01-13 04:30:26] Production.INFO: SubTotal 60.00
[2025-01-13 04:30:26] Production.INFO: TotalDue 67.80
[2025-01-13 04:30:26] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:26] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:26] Production.INFO: CALL prc_getInvoiceUsage(1,'83','0','1','2024-12-13 00:00:00','2025-01-12 23:59:59',0)
[2025-01-13 04:30:26] Production.INFO: PDF Generation start
[2025-01-13 04:30:26] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/83/Invoices/2025/01/13/Invoice-dominos-10455-ricky-singh-inv11360-from-12-13-2024-to-01-12-2025-10289.pdf
[2025-01-13 04:30:26] Production.INFO: On Linux
[2025-01-13 04:30:27] 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/83/Invoices/2025/01/13/footer-dominos-10455-ricky-singh-inv11360-from-12-13-2024-to-01-12-2025-10289.html" "/var/www/tmp/1/83/Invoices/2025/01/13/Invoice-dominos-10455-ricky-singh-inv11360-from-12-13-2024-to-01-12-2025-10289.html" "/var/www/tmp/1/83/Invoices/2025/01/13/Invoice-dominos-10455-ricky-singh-inv11360-from-12-13-2024-to-01-12-2025-10289.pdf"
[2025-01-13 04:30:27] Production.INFO:
[2025-01-13 04:30:27] Production.INFO: /var/www/tmp/1/83/Invoices/2025/01/13/Invoice-dominos-10455-ricky-singh-inv11360-from-12-13-2024-to-01-12-2025-10289.html
[2025-01-13 04:30:27] Production.INFO: /var/www/tmp/1/83/Invoices/2025/01/13/header-dominos-10455-ricky-singh-inv11360-from-12-13-2024-to-01-12-2025-10289.html
[2025-01-13 04:30:27] Production.INFO: /var/www/tmp/1/83/Invoices/2025/01/13/footer-dominos-10455-ricky-singh-inv11360-from-12-13-2024-to-01-12-2025-10289.html
[2025-01-13 04:30:27] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:27] Production.INFO: PDF fullPath 1/83/Invoices/2025/01/13/Invoice-dominos-10455-ricky-singh-inv11360-from-12-13-2024-to-01-12-2025-10289.pdf
[2025-01-13 04:30:27] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:27] Production.INFO: Usage File fullPath 1/83/InvoiceUsageFile/2025/01/13/dominos-10455-ricky-singh-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_7545__06293ee0-d191-11ef-ac0a-8171b1b42616.csv
[2025-01-13 04:30:28] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:28] Production.INFO: Email Status 1
[2025-01-13 04:30:28] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:29] Production.INFO: Email Try 10289 1
[2025-01-13 04:30:29] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:29] Production.INFO: =========== Returning as Success =========== AccountID 83
[2025-01-13 04:30:29] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:29] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:29] Production.INFO: Invoice Committed AccountID = 83
[2025-01-13 04:30:29] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:29] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:29] Production.INFO: new dates
[2025-01-13 04:30:29] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:29] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:29] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:29] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:29] Production.INFO: AccountID =84 FirstInvoiceSend 0
[2025-01-13 04:30:29] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:29] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:29] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:29] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:29] Production.INFO: Invoice::sendInvoice(1,84,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:29] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:29] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:29] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-13 04:30:29] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:29] Production.INFO: AlreadyBilled
[2025-01-13 04:30:29] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:29] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:29] Production.INFO: Invoice::getAccountUsageTotal(1,84,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:29] Production.INFO: TotalCharges - 0
[2025-01-13 04:30:29] Production.INFO: TotalUsageCharges - 0.00
[2025-01-13 04:30:29] Production.INFO: Usage Over
[2025-01-13 04:30:29] Production.INFO: Call prc_getAccountSubscription(84,0)
[2025-01-13 04:30:29] Production.INFO: SUBSCRIPTION 3
[2025-01-13 04:30:29] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:29] Production.INFO: SubscriptionID - 5
[2025-01-13 04:30:29] Production.INFO: isAdvanceSubscription - 5
[2025-01-13 04:30:29] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:29] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:29] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:29] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:29] Production.INFO: SubscriptionDate
[2025-01-13 04:30:29] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:29] Production.INFO: AccountSubscription StartDate 2018-07-24 StartDate 2024-12-13
[2025-01-13 04:30:29] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:29] Production.INFO: AccountSubscriptionID - 297 === 2018-07-24=====2026-01-13
[2025-01-13 04:30:29] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:29] Production.INFO: First Time False 2018-07-24 2025-01-13
[2025-01-13 04:30:29] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-24 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:29] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:29] Production.INFO: AccountSubscription::getSubscriptionAmount(297,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:29] Production.INFO: SubscriptionCharge - 75
[2025-01-13 04:30:29] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:29] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(84,1,5,2025-01-13,2025-02-12 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,297)
[2025-01-13 04:30:29] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:29] Production.INFO: DiscountType
[2025-01-13 04:30:29] Production.INFO: SubscriptionCharge 75
[2025-01-13 04:30:29] Production.INFO: New SubscriptionCharge 75
[2025-01-13 04:30:29] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-13 04:30:29] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:29] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:29] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:29] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:29] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:29] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:29] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:29] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:29] Production.INFO: SubscriptionDate
[2025-01-13 04:30:29] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:29] Production.INFO: AccountSubscription StartDate 2018-07-24 StartDate 2024-12-13
[2025-01-13 04:30:29] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:29] Production.INFO: AccountSubscriptionID - 298 === 2018-07-24=====2026-01-13
[2025-01-13 04:30:29] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:29] Production.INFO: First Time False 2018-07-24 2025-01-13
[2025-01-13 04:30:29] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2018-07-24 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:29] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:29] Production.INFO: AccountSubscription::getSubscriptionAmount(298,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:29] Production.INFO: SubscriptionCharge - 2.5
[2025-01-13 04:30:29] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:29] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(84,1,4,2025-01-13,2025-02-12 00:00:00,e911 address registration (PHONENUMBER - ADDRESS),2.5,2.5,1,298)
[2025-01-13 04:30:29] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:29] Production.INFO: DiscountType
[2025-01-13 04:30:29] Production.INFO: SubscriptionCharge 2.5
[2025-01-13 04:30:29] Production.INFO: New SubscriptionCharge 2.5
[2025-01-13 04:30:29] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-13 04:30:29] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:29] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:29] Production.INFO: SubscriptionID - 11
[2025-01-13 04:30:29] Production.INFO: isAdvanceSubscription - 11
[2025-01-13 04:30:29] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:29] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:29] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:29] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:29] Production.INFO: SubscriptionDate
[2025-01-13 04:30:29] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:29] Production.INFO: AccountSubscription StartDate 2020-07-10 StartDate 2024-12-13
[2025-01-13 04:30:29] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:29] Production.INFO: AccountSubscriptionID - 511 === 2020-07-10=====2026-01-13
[2025-01-13 04:30:29] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:29] Production.INFO: First Time False 2020-07-10 2025-01-13
[2025-01-13 04:30:29] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2020-07-10 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:29] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:29] Production.INFO: AccountSubscription::getSubscriptionAmount(511,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:29] Production.INFO: SubscriptionCharge - -5
[2025-01-13 04:30:29] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:29] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(84,1,11,2025-01-13,2025-02-12 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-25,-5,5,511)
[2025-01-13 04:30:29] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:29] Production.INFO: DiscountType
[2025-01-13 04:30:29] Production.INFO: SubscriptionCharge -25
[2025-01-13 04:30:29] Production.INFO: New SubscriptionCharge -25
[2025-01-13 04:30:29] Production.INFO: TotalSubscriptionCharge - -25.00
[2025-01-13 04:30:29] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:29] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:29] Production.INFO: Call prc_getAccountOneOffCharge(84,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:29] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:29] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:29] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:29] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:29] Production.INFO: SubTotal 52.5
[2025-01-13 04:30:29] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:29] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:29] Production.INFO: TotalTax 6.825
[2025-01-13 04:30:29] Production.INFO: InvoiceGrandTotal 59.325
[2025-01-13 04:30:29] Production.INFO: InvoiceTaxAmount 6.83
[2025-01-13 04:30:29] Production.INFO: GrandTotal 59.33
[2025-01-13 04:30:29] Production.INFO: SubTotal 52.50
[2025-01-13 04:30:29] Production.INFO: TotalDue 59.33
[2025-01-13 04:30:29] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:29] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:29] Production.INFO: CALL prc_getInvoiceUsage(1,'84','0','1','2024-12-13 00:00:00','2025-01-12 23:59:59',0)
[2025-01-13 04:30:29] Production.INFO: PDF Generation start
[2025-01-13 04:30:29] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/84/Invoices/2025/01/13/Invoice-dominos-10534-sandeep-chaudhari-inv11361-from-12-13-2024-to-01-12-2025-10290.pdf
[2025-01-13 04:30:29] Production.INFO: On Linux
[2025-01-13 04:30:30] 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/84/Invoices/2025/01/13/footer-dominos-10534-sandeep-chaudhari-inv11361-from-12-13-2024-to-01-12-2025-10290.html" "/var/www/tmp/1/84/Invoices/2025/01/13/Invoice-dominos-10534-sandeep-chaudhari-inv11361-from-12-13-2024-to-01-12-2025-10290.html" "/var/www/tmp/1/84/Invoices/2025/01/13/Invoice-dominos-10534-sandeep-chaudhari-inv11361-from-12-13-2024-to-01-12-2025-10290.pdf"
[2025-01-13 04:30:30] Production.INFO:
[2025-01-13 04:30:30] Production.INFO: /var/www/tmp/1/84/Invoices/2025/01/13/Invoice-dominos-10534-sandeep-chaudhari-inv11361-from-12-13-2024-to-01-12-2025-10290.html
[2025-01-13 04:30:30] Production.INFO: /var/www/tmp/1/84/Invoices/2025/01/13/header-dominos-10534-sandeep-chaudhari-inv11361-from-12-13-2024-to-01-12-2025-10290.html
[2025-01-13 04:30:30] Production.INFO: /var/www/tmp/1/84/Invoices/2025/01/13/footer-dominos-10534-sandeep-chaudhari-inv11361-from-12-13-2024-to-01-12-2025-10290.html
[2025-01-13 04:30:30] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:30] Production.INFO: PDF fullPath 1/84/Invoices/2025/01/13/Invoice-dominos-10534-sandeep-chaudhari-inv11361-from-12-13-2024-to-01-12-2025-10290.pdf
[2025-01-13 04:30:30] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:30] Production.INFO: Usage File fullPath 1/84/InvoiceUsageFile/2025/01/13/dominos-10534-sandeep-chaudhari-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_9456__07f61070-d191-11ef-b459-616e89e32eba.csv
[2025-01-13 04:30:31] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:31] Production.INFO: Email Status 1
[2025-01-13 04:30:31] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:32] Production.INFO: Email Try 10290 1
[2025-01-13 04:30:33] Production.INFO: Email Try 10290 1
[2025-01-13 04:30:33] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:33] Production.INFO: =========== Returning as Success =========== AccountID 84
[2025-01-13 04:30:33] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:33] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:33] Production.INFO: Invoice Committed AccountID = 84
[2025-01-13 04:30:33] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:33] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:33] Production.INFO: new dates
[2025-01-13 04:30:33] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:33] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:33] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:33] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:33] Production.INFO: AccountID =131 FirstInvoiceSend 0
[2025-01-13 04:30:33] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:33] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:33] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:33] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:33] Production.INFO: Invoice::sendInvoice(1,131,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:33] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:33] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:33] 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-13 04:30:33] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:33] Production.INFO: AlreadyBilled
[2025-01-13 04:30:33] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:33] Production.INFO: Invoice::getAccountUsageTotal(1,131,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:33] Production.INFO: TotalCharges - 0
[2025-01-13 04:30:33] Production.INFO: TotalUsageCharges - 0.00
[2025-01-13 04:30:33] Production.INFO: Usage Over
[2025-01-13 04:30:33] Production.INFO: Call prc_getAccountSubscription(131,0)
[2025-01-13 04:30:33] Production.INFO: SUBSCRIPTION 1
[2025-01-13 04:30:33] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:33] Production.INFO: SubscriptionID - 1
[2025-01-13 04:30:33] Production.INFO: isAdvanceSubscription - 1
[2025-01-13 04:30:33] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:33] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:33] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:33] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:33] Production.INFO: SubscriptionDate
[2025-01-13 04:30:33] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:33] Production.INFO: AccountSubscription StartDate 2020-03-12 StartDate 2024-12-13
[2025-01-13 04:30:33] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:33] Production.INFO: AccountSubscriptionID - 471 === 2020-03-12=====2026-01-13
[2025-01-13 04:30:33] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:33] Production.INFO: First Time False 2020-03-12 2025-01-13
[2025-01-13 04:30:33] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2020-03-12 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:33] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:33] Production.INFO: AccountSubscription::getSubscriptionAmount(471,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:33] Production.INFO: SubscriptionCharge - 5
[2025-01-13 04:30:33] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:33] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(131,1,1,2025-01-13,2025-02-12 00:00:00,License for a Pay As You Go Cloud Phone toll free DID (18666955378),5,5,1,471)
[2025-01-13 04:30:33] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:33] Production.INFO: DiscountType
[2025-01-13 04:30:33] Production.INFO: SubscriptionCharge 5
[2025-01-13 04:30:33] Production.INFO: New SubscriptionCharge 5
[2025-01-13 04:30:33] Production.INFO: TotalSubscriptionCharge - 5.00
[2025-01-13 04:30:33] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:33] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:33] Production.INFO: Call prc_getAccountOneOffCharge(131,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:33] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:33] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:33] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:33] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:33] Production.INFO: SubTotal 5
[2025-01-13 04:30:33] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:33] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:33] Production.INFO: TotalTax 0.65
[2025-01-13 04:30:33] Production.INFO: InvoiceGrandTotal 5.65
[2025-01-13 04:30:33] Production.INFO: InvoiceTaxAmount 0.65
[2025-01-13 04:30:33] Production.INFO: GrandTotal 5.65
[2025-01-13 04:30:33] Production.INFO: SubTotal 5.00
[2025-01-13 04:30:33] Production.INFO: TotalDue 5.65
[2025-01-13 04:30:33] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:33] Production.INFO: PDF Generation start
[2025-01-13 04:30:33] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/131/Invoices/2025/01/13/Invoice-infinite-possibilities-inv11362-from-12-13-2024-to-01-12-2025-10291.pdf
[2025-01-13 04:30:33] Production.INFO: On Linux
[2025-01-13 04:30:34] 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/131/Invoices/2025/01/13/footer-infinite-possibilities-inv11362-from-12-13-2024-to-01-12-2025-10291.html" "/var/www/tmp/1/131/Invoices/2025/01/13/Invoice-infinite-possibilities-inv11362-from-12-13-2024-to-01-12-2025-10291.html" "/var/www/tmp/1/131/Invoices/2025/01/13/Invoice-infinite-possibilities-inv11362-from-12-13-2024-to-01-12-2025-10291.pdf"
[2025-01-13 04:30:34] Production.INFO:
[2025-01-13 04:30:34] Production.INFO: /var/www/tmp/1/131/Invoices/2025/01/13/Invoice-infinite-possibilities-inv11362-from-12-13-2024-to-01-12-2025-10291.html
[2025-01-13 04:30:34] Production.INFO: /var/www/tmp/1/131/Invoices/2025/01/13/header-infinite-possibilities-inv11362-from-12-13-2024-to-01-12-2025-10291.html
[2025-01-13 04:30:34] Production.INFO: /var/www/tmp/1/131/Invoices/2025/01/13/footer-infinite-possibilities-inv11362-from-12-13-2024-to-01-12-2025-10291.html
[2025-01-13 04:30:34] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:34] Production.INFO: PDF fullPath 1/131/Invoices/2025/01/13/Invoice-infinite-possibilities-inv11362-from-12-13-2024-to-01-12-2025-10291.pdf
[2025-01-13 04:30:34] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:34] Production.INFO: Usage File fullPath 1/131/InvoiceUsageFile/2025/01/13/infinite-possibilities-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_5506__0a66e310-d191-11ef-a91d-9d2ea707befb.csv
[2025-01-13 04:30:35] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:35] Production.INFO: Email Status 1
[2025-01-13 04:30:35] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:36] Production.INFO: Email Try 10291 1
[2025-01-13 04:30:36] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:36] Production.INFO: =========== Returning as Success =========== AccountID 131
[2025-01-13 04:30:36] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:36] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:36] Production.INFO: Invoice Committed AccountID = 131
[2025-01-13 04:30:36] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:36] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:36] Production.INFO: new dates
[2025-01-13 04:30:36] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:36] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:36] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:36] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:36] Production.INFO: AccountID =186 FirstInvoiceSend 0
[2025-01-13 04:30:36] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:36] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:36] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:36] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:36] Production.INFO: Invoice::sendInvoice(1,186,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:36] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:36] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:36] 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-13 04:30:36] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:36] Production.INFO: AlreadyBilled
[2025-01-13 04:30:36] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:36] Production.INFO: Invoice::getAccountUsageTotal(1,186,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:36] Production.INFO: TotalCharges - 0
[2025-01-13 04:30:36] Production.INFO: TotalUsageCharges - 0.00
[2025-01-13 04:30:36] Production.INFO: Usage Over
[2025-01-13 04:30:36] Production.INFO: Call prc_getAccountSubscription(186,0)
[2025-01-13 04:30:36] Production.INFO: SUBSCRIPTION 2
[2025-01-13 04:30:36] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:36] Production.INFO: SubscriptionID - 23
[2025-01-13 04:30:36] Production.INFO: isAdvanceSubscription - 23
[2025-01-13 04:30:36] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:36] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:36] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:36] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:36] Production.INFO: SubscriptionDate
[2025-01-13 04:30:36] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:36] Production.INFO: AccountSubscription StartDate 2022-12-08 StartDate 2024-12-13
[2025-01-13 04:30:36] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:36] Production.INFO: AccountSubscriptionID - 674 === 2022-12-08=====2026-01-13
[2025-01-13 04:30:36] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:36] Production.INFO: First Time False 2022-12-08 2025-01-13
[2025-01-13 04:30:36] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2022-12-08 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:36] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:36] Production.INFO: AccountSubscription::getSubscriptionAmount(674,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:36] Production.INFO: SubscriptionCharge - 220.92
[2025-01-13 04:30:36] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:36] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(186,5,23,2025-01-13,2025-02-12 00:00:00,Starlink Internet Service (525 Ennis Rd., Ennismore, ON),220.92,220.92,1,674)
[2025-01-13 04:30:36] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:36] Production.INFO: DiscountType Flat
[2025-01-13 04:30:36] Production.INFO: SubscriptionCharge 220.92
[2025-01-13 04:30:36] Production.INFO: New SubscriptionCharge 220.92
[2025-01-13 04:30:36] Production.INFO: TotalSubscriptionCharge - 220.92
[2025-01-13 04:30:36] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:36] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:36] Production.INFO: SubscriptionID - 24
[2025-01-13 04:30:36] Production.INFO: SubscriptionID - 2024-12-13=====2025-01-12
[2025-01-13 04:30:36] Production.INFO: AccountSubscriptionID - 693 === 2022-11-08=====2026-01-13
[2025-01-13 04:30:36] Production.INFO: regular Subscription
[2025-01-13 04:30:36] Production.INFO: First Time False 2022-11-08 2024-12-13
[2025-01-13 04:30:36] Production.INFO: StartDate 2024-12-13 AccountSubscription->StartDate 2022-11-08 EndDate 2025-01-12 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:36] Production.INFO: days diff - 31 subscription days 31 quarter days 92
[2025-01-13 04:30:36] Production.INFO: AccountSubscription::getSubscriptionAmount(693,2024-12-13,2025-01-12,,0)
[2025-01-13 04:30:36] Production.INFO: SubscriptionCharge - -15
[2025-01-13 04:30:36] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:36] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(186,5,24,2024-12-13,2025-01-12,Long Term Rental Discount - $15/mo,-15,-15,1,693)
[2025-01-13 04:30:36] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:36] Production.INFO: DiscountType Flat
[2025-01-13 04:30:36] Production.INFO: SubscriptionCharge -15
[2025-01-13 04:30:36] Production.INFO: New SubscriptionCharge -15
[2025-01-13 04:30:36] Production.INFO: TotalSubscriptionCharge - -15.00
[2025-01-13 04:30:36] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:36] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:36] Production.INFO: Call prc_getAccountOneOffCharge(186,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:36] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:36] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:36] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:36] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:36] Production.INFO: SubTotal 205.92
[2025-01-13 04:30:36] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:36] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:36] Production.INFO: TotalTax 26.7696
[2025-01-13 04:30:36] Production.INFO: InvoiceGrandTotal 232.6896
[2025-01-13 04:30:36] Production.INFO: InvoiceTaxAmount 26.77
[2025-01-13 04:30:36] Production.INFO: GrandTotal 232.69
[2025-01-13 04:30:36] Production.INFO: SubTotal 205.92
[2025-01-13 04:30:36] Production.INFO: TotalDue 465.38
[2025-01-13 04:30:36] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:36] Production.INFO: PDF Generation start
[2025-01-13 04:30:36] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/186/Invoices/2025/01/13/Invoice-compass-elc-shamrock-inv11363-from-12-13-2024-to-01-12-2025-10292.pdf
[2025-01-13 04:30:36] Production.INFO: On Linux
[2025-01-13 04:30:37] 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/186/Invoices/2025/01/13/footer-compass-elc-shamrock-inv11363-from-12-13-2024-to-01-12-2025-10292.html" "/var/www/tmp/1/186/Invoices/2025/01/13/Invoice-compass-elc-shamrock-inv11363-from-12-13-2024-to-01-12-2025-10292.html" "/var/www/tmp/1/186/Invoices/2025/01/13/Invoice-compass-elc-shamrock-inv11363-from-12-13-2024-to-01-12-2025-10292.pdf"
[2025-01-13 04:30:37] Production.INFO:
[2025-01-13 04:30:37] Production.INFO: /var/www/tmp/1/186/Invoices/2025/01/13/Invoice-compass-elc-shamrock-inv11363-from-12-13-2024-to-01-12-2025-10292.html
[2025-01-13 04:30:37] Production.INFO: /var/www/tmp/1/186/Invoices/2025/01/13/header-compass-elc-shamrock-inv11363-from-12-13-2024-to-01-12-2025-10292.html
[2025-01-13 04:30:37] Production.INFO: /var/www/tmp/1/186/Invoices/2025/01/13/footer-compass-elc-shamrock-inv11363-from-12-13-2024-to-01-12-2025-10292.html
[2025-01-13 04:30:37] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:37] Production.INFO: PDF fullPath 1/186/Invoices/2025/01/13/Invoice-compass-elc-shamrock-inv11363-from-12-13-2024-to-01-12-2025-10292.pdf
[2025-01-13 04:30:37] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:37] Production.INFO: Usage File fullPath 1/186/InvoiceUsageFile/2025/01/13/compass-elc-shamrock-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_4323__0c315200-d191-11ef-9555-bb72d82c775c.csv
[2025-01-13 04:30:38] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:38] Production.INFO: Email Status 1
[2025-01-13 04:30:38] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:39] Production.INFO: Email Try 10292 1
[2025-01-13 04:30:39] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:39] Production.INFO: =========== Returning as Success =========== AccountID 186
[2025-01-13 04:30:39] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:39] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:39] Production.INFO: Invoice Committed AccountID = 186
[2025-01-13 04:30:39] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:39] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:39] Production.INFO: new dates
[2025-01-13 04:30:39] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:39] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:39] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:39] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:39] Production.INFO: AccountID =189 FirstInvoiceSend 0
[2025-01-13 04:30:39] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:39] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:39] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:39] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:39] Production.INFO: Invoice::sendInvoice(1,189,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:39] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:39] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:39] 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-13 04:30:39] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:39] Production.INFO: AlreadyBilled
[2025-01-13 04:30:39] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:39] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:39] Production.INFO: Invoice::getAccountUsageTotal(1,189,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:39] Production.INFO: TotalCharges - 0
[2025-01-13 04:30:39] Production.INFO: TotalUsageCharges - 0.00
[2025-01-13 04:30:39] Production.INFO: Usage Over
[2025-01-13 04:30:39] Production.INFO: Call prc_getAccountSubscription(189,0)
[2025-01-13 04:30:39] Production.INFO: SUBSCRIPTION 2
[2025-01-13 04:30:39] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:39] Production.INFO: SubscriptionID - 2
[2025-01-13 04:30:39] Production.INFO: isAdvanceSubscription - 2
[2025-01-13 04:30:39] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:39] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:39] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:39] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:39] Production.INFO: SubscriptionDate
[2025-01-13 04:30:39] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:39] Production.INFO: AccountSubscription StartDate 2023-10-11 StartDate 2024-12-13
[2025-01-13 04:30:39] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:39] Production.INFO: AccountSubscriptionID - 678 === 2023-10-11=====2026-01-13
[2025-01-13 04:30:39] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:39] Production.INFO: First Time False 2023-10-11 2025-01-13
[2025-01-13 04:30:39] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2023-10-11 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:39] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:39] Production.INFO: AccountSubscription::getSubscriptionAmount(678,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:39] Production.INFO: SubscriptionCharge - 9
[2025-01-13 04:30:39] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:39] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(189,1,2,2025-01-13,2025-02-12 00:00:00,License for an Unlimited Canada/US Cloud Phone extension,243,9,27,678)
[2025-01-13 04:30:39] Production.INFO: DiscountAmount 10.000000
[2025-01-13 04:30:39] Production.INFO: DiscountType Percentage
[2025-01-13 04:30:39] Production.INFO: SubscriptionCharge 243
[2025-01-13 04:30:39] Production.INFO: New SubscriptionCharge 218.7
[2025-01-13 04:30:39] Production.INFO: TotalSubscriptionCharge - 218.70
[2025-01-13 04:30:39] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:39] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:39] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:39] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:39] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:39] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:39] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:39] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:39] Production.INFO: SubscriptionDate
[2025-01-13 04:30:39] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:39] Production.INFO: AccountSubscription StartDate 2023-10-11 StartDate 2024-12-13
[2025-01-13 04:30:39] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:39] Production.INFO: AccountSubscriptionID - 679 === 2023-10-11=====2026-01-13
[2025-01-13 04:30:39] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:39] Production.INFO: First Time False 2023-10-11 2025-01-13
[2025-01-13 04:30:39] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2023-10-11 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:39] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:39] Production.INFO: AccountSubscription::getSubscriptionAmount(679,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:39] Production.INFO: SubscriptionCharge - 2.5
[2025-01-13 04:30:39] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:39] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(189,1,4,2025-01-13,2025-02-12 00:00:00,e911 address registration (15196694333 - 3 Industrial Drive Elmira, ON N3B 2S1 Canada),2.5,2.5,1,679)
[2025-01-13 04:30:39] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:39] Production.INFO: DiscountType Flat
[2025-01-13 04:30:39] Production.INFO: SubscriptionCharge 2.5
[2025-01-13 04:30:39] Production.INFO: New SubscriptionCharge 2.5
[2025-01-13 04:30:39] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-13 04:30:39] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:39] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:39] Production.INFO: Call prc_getAccountOneOffCharge(189,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:39] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:39] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:39] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:39] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:39] Production.INFO: SubTotal 221.2
[2025-01-13 04:30:39] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:39] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:39] Production.INFO: TotalTax 28.756
[2025-01-13 04:30:39] Production.INFO: InvoiceGrandTotal 249.956
[2025-01-13 04:30:39] Production.INFO: InvoiceTaxAmount 28.76
[2025-01-13 04:30:39] Production.INFO: GrandTotal 249.96
[2025-01-13 04:30:39] Production.INFO: SubTotal 221.20
[2025-01-13 04:30:39] Production.INFO: TotalDue 249.96
[2025-01-13 04:30:39] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:39] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:39] Production.INFO: CALL prc_getInvoiceUsage(1,'189','0','1','2024-12-13 00:00:00','2025-01-12 23:59:59',0)
[2025-01-13 04:30:39] Production.INFO: PDF Generation start
[2025-01-13 04:30:39] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/189/Invoices/2025/01/13/Invoice-bauman-group-inc-inv11364-from-12-13-2024-to-01-12-2025-10293.pdf
[2025-01-13 04:30:39] Production.INFO: On Linux
[2025-01-13 04:30:40] 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/189/Invoices/2025/01/13/footer-bauman-group-inc-inv11364-from-12-13-2024-to-01-12-2025-10293.html" "/var/www/tmp/1/189/Invoices/2025/01/13/Invoice-bauman-group-inc-inv11364-from-12-13-2024-to-01-12-2025-10293.html" "/var/www/tmp/1/189/Invoices/2025/01/13/Invoice-bauman-group-inc-inv11364-from-12-13-2024-to-01-12-2025-10293.pdf"
[2025-01-13 04:30:40] Production.INFO:
[2025-01-13 04:30:40] Production.INFO: /var/www/tmp/1/189/Invoices/2025/01/13/Invoice-bauman-group-inc-inv11364-from-12-13-2024-to-01-12-2025-10293.html
[2025-01-13 04:30:40] Production.INFO: /var/www/tmp/1/189/Invoices/2025/01/13/header-bauman-group-inc-inv11364-from-12-13-2024-to-01-12-2025-10293.html
[2025-01-13 04:30:40] Production.INFO: /var/www/tmp/1/189/Invoices/2025/01/13/footer-bauman-group-inc-inv11364-from-12-13-2024-to-01-12-2025-10293.html
[2025-01-13 04:30:40] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:40] Production.INFO: PDF fullPath 1/189/Invoices/2025/01/13/Invoice-bauman-group-inc-inv11364-from-12-13-2024-to-01-12-2025-10293.pdf
[2025-01-13 04:30:40] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:40] Production.INFO: Usage File fullPath 1/189/InvoiceUsageFile/2025/01/13/bauman-group-inc-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_6441__0dc61670-d191-11ef-a12d-2fdd457f1d79.csv
[2025-01-13 04:30:41] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:41] Production.INFO: Email Status 1
[2025-01-13 04:30:41] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:41] Production.INFO: Email Try 10293 1
[2025-01-13 04:30:41] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:41] Production.INFO: =========== Returning as Success =========== AccountID 189
[2025-01-13 04:30:41] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:41] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:41] Production.INFO: Invoice Committed AccountID = 189
[2025-01-13 04:30:41] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:41] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:41] Production.INFO: new dates
[2025-01-13 04:30:41] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:41] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:41] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:41] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:41] Production.INFO: AccountID =190 FirstInvoiceSend 0
[2025-01-13 04:30:41] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:41] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:41] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:41] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:41] Production.INFO: Invoice::sendInvoice(1,190,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:41] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:41] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:41] 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-13 04:30:41] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:41] Production.INFO: AlreadyBilled
[2025-01-13 04:30:41] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:41] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:41] Production.INFO: CompanyGatewayID 1 TotalCharges ==>2.94000000
[2025-01-13 04:30:41] Production.INFO: Invoice::getAccountUsageTotal(1,190,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:41] Production.INFO: TotalCharges - 2.94
[2025-01-13 04:30:41] Production.INFO: TotalUsageCharges - 2.94
[2025-01-13 04:30:41] Production.INFO: Usage Over
[2025-01-13 04:30:41] Production.INFO: Call prc_getAccountSubscription(190,0)
[2025-01-13 04:30:41] Production.INFO: SUBSCRIPTION 2
[2025-01-13 04:30:41] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:41] Production.INFO: SubscriptionID - 2
[2025-01-13 04:30:41] Production.INFO: isAdvanceSubscription - 2
[2025-01-13 04:30:42] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:42] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:42] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:42] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:42] Production.INFO: SubscriptionDate
[2025-01-13 04:30:42] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:42] Production.INFO: AccountSubscription StartDate 2023-02-13 StartDate 2024-12-13
[2025-01-13 04:30:42] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:42] Production.INFO: AccountSubscriptionID - 680 === 2023-02-13=====2026-01-13
[2025-01-13 04:30:42] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:42] Production.INFO: First Time False 2023-02-13 2025-01-13
[2025-01-13 04:30:42] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2023-02-13 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:42] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:42] Production.INFO: AccountSubscription::getSubscriptionAmount(680,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:42] Production.INFO: SubscriptionCharge - 10
[2025-01-13 04:30:42] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:42] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(190,1,2,2025-01-13,2025-02-12 00:00:00,License for an Unlimited Canada/US Cloud Phone extension,80,10,8,680)
[2025-01-13 04:30:42] Production.INFO: DiscountAmount 10.000000
[2025-01-13 04:30:42] Production.INFO: DiscountType Percentage
[2025-01-13 04:30:42] Production.INFO: SubscriptionCharge 80
[2025-01-13 04:30:42] Production.INFO: New SubscriptionCharge 72
[2025-01-13 04:30:42] Production.INFO: TotalSubscriptionCharge - 72.00
[2025-01-13 04:30:42] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:42] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:42] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:42] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:42] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:42] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:42] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:42] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:42] Production.INFO: SubscriptionDate
[2025-01-13 04:30:42] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:42] Production.INFO: AccountSubscription StartDate 2023-02-13 StartDate 2024-12-13
[2025-01-13 04:30:42] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:42] Production.INFO: AccountSubscriptionID - 681 === 2023-02-13=====2026-01-13
[2025-01-13 04:30:42] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:42] Production.INFO: First Time False 2023-02-13 2025-01-13
[2025-01-13 04:30:42] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2023-02-13 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:42] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:42] Production.INFO: AccountSubscription::getSubscriptionAmount(681,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:42] Production.INFO: SubscriptionCharge - 2.5
[2025-01-13 04:30:42] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:42] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(190,1,4,2025-01-13,2025-02-12 00:00:00,e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada),2.5,2.5,1,681)
[2025-01-13 04:30:42] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:42] Production.INFO: DiscountType Flat
[2025-01-13 04:30:42] Production.INFO: SubscriptionCharge 2.5
[2025-01-13 04:30:42] Production.INFO: New SubscriptionCharge 2.5
[2025-01-13 04:30:42] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-13 04:30:42] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:42] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:42] Production.INFO: Call prc_getAccountOneOffCharge(190,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:42] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:42] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:42] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:42] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:42] Production.INFO: SubTotal 77.44
[2025-01-13 04:30:42] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:42] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:42] Production.INFO: TotalTax 10.0672
[2025-01-13 04:30:42] Production.INFO: InvoiceGrandTotal 87.5072
[2025-01-13 04:30:42] Production.INFO: InvoiceTaxAmount 10.07
[2025-01-13 04:30:42] Production.INFO: GrandTotal 87.51
[2025-01-13 04:30:42] Production.INFO: SubTotal 77.44
[2025-01-13 04:30:42] Production.INFO: TotalDue 175.31
[2025-01-13 04:30:42] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:42] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:42] Production.INFO: CALL prc_getInvoiceUsage(1,'190','0','1','2024-12-13 00:00:00','2025-01-12 23:59:59',0)
[2025-01-13 04:30:42] Production.INFO: PDF Generation start
[2025-01-13 04:30:42] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/190/Invoices/2025/01/13/Invoice-behrns-metal-fabricating-inc-inv11365-from-12-13-2024-to-01-12-2025-10294.pdf
[2025-01-13 04:30:42] Production.INFO: On Linux
[2025-01-13 04:30:43] 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/190/Invoices/2025/01/13/footer-behrns-metal-fabricating-inc-inv11365-from-12-13-2024-to-01-12-2025-10294.html" "/var/www/tmp/1/190/Invoices/2025/01/13/Invoice-behrns-metal-fabricating-inc-inv11365-from-12-13-2024-to-01-12-2025-10294.html" "/var/www/tmp/1/190/Invoices/2025/01/13/Invoice-behrns-metal-fabricating-inc-inv11365-from-12-13-2024-to-01-12-2025-10294.pdf"
[2025-01-13 04:30:43] Production.INFO:
[2025-01-13 04:30:43] Production.INFO: /var/www/tmp/1/190/Invoices/2025/01/13/Invoice-behrns-metal-fabricating-inc-inv11365-from-12-13-2024-to-01-12-2025-10294.html
[2025-01-13 04:30:43] Production.INFO: /var/www/tmp/1/190/Invoices/2025/01/13/header-behrns-metal-fabricating-inc-inv11365-from-12-13-2024-to-01-12-2025-10294.html
[2025-01-13 04:30:43] Production.INFO: /var/www/tmp/1/190/Invoices/2025/01/13/footer-behrns-metal-fabricating-inc-inv11365-from-12-13-2024-to-01-12-2025-10294.html
[2025-01-13 04:30:43] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:43] Production.INFO: PDF fullPath 1/190/Invoices/2025/01/13/Invoice-behrns-metal-fabricating-inc-inv11365-from-12-13-2024-to-01-12-2025-10294.pdf
[2025-01-13 04:30:43] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:43] Production.INFO: Usage File fullPath 1/190/InvoiceUsageFile/2025/01/13/behrns-metal-fabricating-inc-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_7178__0f8c4450-d191-11ef-b419-0510b5e6d9b4.csv
[2025-01-13 04:30:44] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:44] Production.INFO: Email Status 1
[2025-01-13 04:30:44] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:45] Production.INFO: Email Try 10294 1
[2025-01-13 04:30:45] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:45] Production.INFO: =========== Returning as Success =========== AccountID 190
[2025-01-13 04:30:45] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:45] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:45] Production.INFO: Invoice Committed AccountID = 190
[2025-01-13 04:30:45] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:45] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:45] Production.INFO: new dates
[2025-01-13 04:30:45] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:45] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:45] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:45] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:45] Production.INFO: AccountID =191 FirstInvoiceSend 0
[2025-01-13 04:30:45] Production.INFO: LastInvoiceDate 2024-12-13 NextInvoiceDate 2025-01-13
[2025-01-13 04:30:45] Production.INFO: LastChargeDate 2024-12-13 NextChargeDate 2025-01-12
[2025-01-13 04:30:45] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-13 04:30:45] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-13 04:30:45] Production.INFO: Invoice::sendInvoice(1,191,2024-12-13,2025-01-13,billing@onswitchit.ca)
[2025-01-13 04:30:45] Production.INFO: start Date =2024-12-13 EndDate =2025-01-12 23:59:59
[2025-01-13 04:30:45] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-13 04:30:45] 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-13 04:30:45] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-13 04:30:45] Production.INFO: AlreadyBilled
[2025-01-13 04:30:45] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:45] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:45] Production.INFO: Invoice::getAccountUsageTotal(1,191,2024-12-13,2025-01-12 23:59:59)
[2025-01-13 04:30:45] Production.INFO: TotalCharges - 0
[2025-01-13 04:30:45] Production.INFO: TotalUsageCharges - 0.00
[2025-01-13 04:30:45] Production.INFO: Usage Over
[2025-01-13 04:30:45] Production.INFO: Call prc_getAccountSubscription(191,0)
[2025-01-13 04:30:45] Production.INFO: SUBSCRIPTION 2
[2025-01-13 04:30:45] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:45] Production.INFO: SubscriptionID - 2
[2025-01-13 04:30:45] Production.INFO: isAdvanceSubscription - 2
[2025-01-13 04:30:45] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:45] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:45] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:45] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:45] Production.INFO: SubscriptionDate
[2025-01-13 04:30:45] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:45] Production.INFO: AccountSubscription StartDate 2022-11-13 StartDate 2024-12-13
[2025-01-13 04:30:45] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:45] Production.INFO: AccountSubscriptionID - 682 === 2022-11-13=====2026-01-13
[2025-01-13 04:30:45] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:45] Production.INFO: First Time False 2022-11-13 2025-01-13
[2025-01-13 04:30:45] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2022-11-13 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:45] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:45] Production.INFO: AccountSubscription::getSubscriptionAmount(682,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:45] Production.INFO: SubscriptionCharge - 10
[2025-01-13 04:30:45] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:45] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(191,1,2,2025-01-13,2025-02-12 00:00:00,License for an Unlimited Canada/US Cloud Phone extension,40,10,4,682)
[2025-01-13 04:30:45] Production.INFO: DiscountAmount 10.000000
[2025-01-13 04:30:45] Production.INFO: DiscountType Percentage
[2025-01-13 04:30:45] Production.INFO: SubscriptionCharge 40
[2025-01-13 04:30:45] Production.INFO: New SubscriptionCharge 36
[2025-01-13 04:30:45] Production.INFO: TotalSubscriptionCharge - 36.00
[2025-01-13 04:30:45] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:45] Production.INFO: ============================Subscription Start =================
[2025-01-13 04:30:45] Production.INFO: SubscriptionID - 4
[2025-01-13 04:30:45] Production.INFO: isAdvanceSubscription - 4
[2025-01-13 04:30:45] Production.INFO: SubscriptionStartDate =2025-01-13 - SubscriptionEndDate = 2025-02-12
[2025-01-13 04:30:45] Production.INFO: NewNextChargeDate =2025-02-12 00:00:00
[2025-01-13 04:30:45] Production.INFO: EndDate =2025-01-12 00:00:00
[2025-01-13 04:30:45] Production.INFO: NewEndDate1 =2025-01-13
[2025-01-13 04:30:45] Production.INFO: SubscriptionDate
[2025-01-13 04:30:45] Production.INFO: Array
(
[StartDate] => 2025-01-13
[EndDate] => 2025-02-12 00:00:00
[AlreadyCharged] => 0
)
[2025-01-13 04:30:45] Production.INFO: AccountSubscription StartDate 2022-11-13 StartDate 2024-12-13
[2025-01-13 04:30:45] Production.INFO: SubscriptionID - 2025-01-13=====2025-02-12 00:00:00
[2025-01-13 04:30:45] Production.INFO: AccountSubscriptionID - 683 === 2022-11-13=====2026-01-13
[2025-01-13 04:30:45] Production.INFO: regular Advance Subscription
[2025-01-13 04:30:45] Production.INFO: First Time False 2022-11-13 2025-01-13
[2025-01-13 04:30:45] Production.INFO: StartDate 2025-01-13 AccountSubscription->StartDate 2022-11-13 EndDate 2025-02-12 00:00:00 AccountSubscription->EndDate 2026-01-13
[2025-01-13 04:30:45] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-13 04:30:45] Production.INFO: AccountSubscription::getSubscriptionAmount(683,2025-01-13,2025-02-12 00:00:00,,0)
[2025-01-13 04:30:45] Production.INFO: SubscriptionCharge - 2.5
[2025-01-13 04:30:45] Production.INFO: Already Invoice Subscription 0
[2025-01-13 04:30:45] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(191,1,4,2025-01-13,2025-02-12 00:00:00,e911 address registration (12263995253 - 255 King Street North 301 Waterloo, ON N2J 4V2 Canada),2.5,2.5,1,683)
[2025-01-13 04:30:45] Production.INFO: DiscountAmount 0.000000
[2025-01-13 04:30:45] Production.INFO: DiscountType Flat
[2025-01-13 04:30:45] Production.INFO: SubscriptionCharge 2.5
[2025-01-13 04:30:45] Production.INFO: New SubscriptionCharge 2.5
[2025-01-13 04:30:45] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-13 04:30:45] Production.INFO: ============================Subscription End =================
[2025-01-13 04:30:45] Production.INFO: SUBSCRIPTION Over
[2025-01-13 04:30:45] Production.INFO: Call prc_getAccountOneOffCharge(191,0,2024-12-13,2025-01-13 23:59:59)
[2025-01-13 04:30:45] Production.INFO: AccountOneOffCharge 0
[2025-01-13 04:30:45] Production.INFO: AccountOneOffCharge Over
[2025-01-13 04:30:45] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-13 04:30:45] Production.INFO: New UsageDates 2024-12-13 - 2025-01-12 23:59:59
[2025-01-13 04:30:45] Production.INFO: SubTotal 38.5
[2025-01-13 04:30:45] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-13 04:30:45] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-13 04:30:45] Production.INFO: TotalTax 5.005
[2025-01-13 04:30:45] Production.INFO: InvoiceGrandTotal 43.505
[2025-01-13 04:30:45] Production.INFO: InvoiceTaxAmount 5.01
[2025-01-13 04:30:45] Production.INFO: GrandTotal 43.51
[2025-01-13 04:30:45] Production.INFO: SubTotal 38.50
[2025-01-13 04:30:45] Production.INFO: TotalDue 43.51
[2025-01-13 04:30:45] Production.INFO: Reseller ==> 0
[2025-01-13 04:30:45] Production.INFO: original start date ==>2024-12-13 changed start date ==>2024-12-13 00:00:00 original end date ==>2025-01-12 23:59:59 changed end date ==>2025-01-12 23:59:59
[2025-01-13 04:30:45] Production.INFO: CALL prc_getInvoiceUsage(1,'191','0','1','2024-12-13 00:00:00','2025-01-12 23:59:59',0)
[2025-01-13 04:30:45] Production.INFO: PDF Generation start
[2025-01-13 04:30:45] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/191/Invoices/2025/01/13/Invoice-lake-life-financial-solutions-inc-inv11366-from-12-13-2024-to-01-12-2025-10295.pdf
[2025-01-13 04:30:45] Production.INFO: On Linux
[2025-01-13 04:30:46] 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/191/Invoices/2025/01/13/footer-lake-life-financial-solutions-inc-inv11366-from-12-13-2024-to-01-12-2025-10295.html" "/var/www/tmp/1/191/Invoices/2025/01/13/Invoice-lake-life-financial-solutions-inc-inv11366-from-12-13-2024-to-01-12-2025-10295.html" "/var/www/tmp/1/191/Invoices/2025/01/13/Invoice-lake-life-financial-solutions-inc-inv11366-from-12-13-2024-to-01-12-2025-10295.pdf"
[2025-01-13 04:30:46] Production.INFO:
[2025-01-13 04:30:46] Production.INFO: /var/www/tmp/1/191/Invoices/2025/01/13/Invoice-lake-life-financial-solutions-inc-inv11366-from-12-13-2024-to-01-12-2025-10295.html
[2025-01-13 04:30:46] Production.INFO: /var/www/tmp/1/191/Invoices/2025/01/13/header-lake-life-financial-solutions-inc-inv11366-from-12-13-2024-to-01-12-2025-10295.html
[2025-01-13 04:30:46] Production.INFO: /var/www/tmp/1/191/Invoices/2025/01/13/footer-lake-life-financial-solutions-inc-inv11366-from-12-13-2024-to-01-12-2025-10295.html
[2025-01-13 04:30:46] Production.INFO: Invoice generation PDF path
[2025-01-13 04:30:46] Production.INFO: PDF fullPath 1/191/Invoices/2025/01/13/Invoice-lake-life-financial-solutions-inc-inv11366-from-12-13-2024-to-01-12-2025-10295.pdf
[2025-01-13 04:30:46] Production.INFO: Generate Usage File Start
[2025-01-13 04:30:46] Production.INFO: Usage File fullPath 1/191/InvoiceUsageFile/2025/01/13/lake-life-financial-solutions-inc-13-12-2024-00-00-00-TO-12-01-2025-23-59-59_5330__115e41e0-d191-11ef-9f85-bf635c3e2263.csv
[2025-01-13 04:30:47] Production.INFO: Sending Email to Staff over
[2025-01-13 04:30:47] Production.INFO: Email Status 1
[2025-01-13 04:30:47] Production.INFO: Sending Email to Customer
[2025-01-13 04:30:47] Production.INFO: Email Try 10295 1
[2025-01-13 04:30:47] Production.INFO: =========== Email Sending over ===========
[2025-01-13 04:30:47] Production.INFO: =========== Returning as Success =========== AccountID 191
[2025-01-13 04:30:47] Production.INFO: Invoice::sendInvoice done
[2025-01-13 04:30:47] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-13 04:30:47] Production.INFO: Invoice Committed AccountID = 191
[2025-01-13 04:30:47] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-13 04:30:47] Production.INFO: NextInvoice 2025-01-13 2025-02-12
[2025-01-13 04:30:47] Production.INFO: new dates
[2025-01-13 04:30:47] Production.INFO: LastInvoiceDate 2025-01-13 NextInvoiceDate 2025-02-13
[2025-01-13 04:30:47] Production.INFO: LastChargeDate 2025-01-13 NextChargeDate 2025-02-12
[2025-01-13 04:30:47] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-13 04:30:47] Production.INFO: ========================== Invoice Send End =============================
[2025-01-13 04:30:47] Production.INFO: ========================== Recurring invoice Start =============================
[2025-01-13 04:30:47] Production.INFO: recurring invoices ID
[2025-01-13 04:30:47] Production.INFO:
[2025-01-13 04:30:47] Production.INFO: recurring errorsArray
(
)
[2025-01-13 04:30:47] Production.INFO: ========================== Recurring invoice End =============================
[2025-01-13 04:30:47] Production.INFO: ========================== Job Updated =============================
[2025-01-13 04:30:48] Production.INFO: ========================== Job Email Sent =============================
[2025-01-13 04:30:49] Production.ERROR: **Email Sent Status 1
[2025-01-13 04:30:49] Production.ERROR: **Email Sent message Email has been sent
[2025-01-13 04:30:49] Production.ERROR: CronJobId end6
[2025-01-13 04:30:49] Production.INFO: ==26381== Releasing lock...
[2025-01-13 04:30:49] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-01-13 04:30:49] Production.INFO: 41.25 MB #Memory Used#
[2025-01-13 09:31:02] Production.INFO: ==26641== Lock acquired, processing the job...
[2025-01-13 09:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:31:02] Production.INFO: neon service started
[2025-01-13 09:31:02] Production.INFO: neon service started
[2025-01-13 09:31:02] Production.INFO: ==26641== Releasing lock...
[2025-01-13 09:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:31:02] Production.INFO: ==26645== Lock acquired, processing the job...
[2025-01-13 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:31:02] Production.INFO: ==26645== Releasing lock...
[2025-01-13 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:31:02] Production.INFO: ==26643== Lock acquired, processing the job...
[2025-01-13 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:31:02] Production.INFO: ==26643== Releasing lock...
[2025-01-13 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:31:03] Production.INFO: ==26652== Lock acquired, processing the job...
[2025-01-13 04:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:31:03] Production.INFO: ==26654== Lock acquired, processing the job...
[2025-01-13 04:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:31:03] Production.INFO: Account Balance Start.
[2025-01-13 04:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:31:03] Production.INFO: ==26648== Lock acquired, processing the job...
[2025-01-13 04:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:31:03] Production.INFO: 117
[2025-01-13 04:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:31:03] Production.INFO: ==26650== Lock acquired, processing the job...
[2025-01-13 04:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:31:03] Production.INFO: ==26656== Lock acquired, processing the job...
[2025-01-13 04:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:31:03] Production.INFO: ==26658== Lock acquired, processing the job...
[2025-01-13 04:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:31:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:31:04] Production.INFO: Total Charge 0
[2025-01-13 04:31:04] Production.INFO: CreateAllLog End
[2025-01-13 04:31:04] Production.INFO: count ==21
[2025-01-13 04:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:31:04] Production.INFO: count ==21
[2025-01-13 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236509') start
[2025-01-13 04:31:04] Production.INFO: ==26650== Releasing lock...
[2025-01-13 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:31:04] Production.ERROR: done
[2025-01-13 04:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236509') end
[2025-01-13 04:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:31:04] Production.INFO: 1
[2025-01-13 04:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:31:04] Production.ERROR: done
[2025-01-13 04:31:04] Production.INFO: ==26658== Releasing lock...
[2025-01-13 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:31:04] Production.INFO: Account Balance End.
[2025-01-13 04:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:31:04] Production.INFO: ==26654== Releasing lock...
[2025-01-13 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:31:05
[end_date_ymd] => 2025-01-13 04:31:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:31:05' and `end` < '2025-01-13 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-13 04:31:10] Production.ERROR: CronJobId end10
[2025-01-13 04:31:10] Production.INFO: ==26652== Releasing lock...
[2025-01-13 04:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:31:13] Production.INFO: call_cost start
[2025-01-13 04:31:13] Production.INFO: call_cost end
[2025-01-13 04:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:31:14] Production.INFO: ==26648== Releasing lock...
[2025-01-13 04:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:31:19] Production.INFO: count ==120
[2025-01-13 04:31:19] Production.ERROR: pbx CDR StartTime 2025-01-13 01:31:05 - End Time 2025-01-13 04:31:05
[2025-01-13 04:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236510', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236510', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236510', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236510', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:31:19] Production.INFO: ProcessCDR(1,14236510,1,1,2)
[2025-01-13 04:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236510', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236510', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:31:22] Production.INFO: ==26656== Releasing lock...
[2025-01-13 04:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:31:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:32:01] Production.INFO: ==26712== Lock acquired, processing the job...
[2025-01-13 09:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:32:01] Production.INFO: neon service started
[2025-01-13 09:32:01] Production.INFO: neon service started
[2025-01-13 09:32:01] Production.INFO: ==26712== Releasing lock...
[2025-01-13 09:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:32:01] Production.INFO: ==26714== Lock acquired, processing the job...
[2025-01-13 04:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:32:02] Production.INFO: ==26714== Releasing lock...
[2025-01-13 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:32:02] Production.INFO: ==26716== Lock acquired, processing the job...
[2025-01-13 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:32:02] Production.INFO: ==26716== Releasing lock...
[2025-01-13 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:32:03] Production.INFO: ==26725== Lock acquired, processing the job...
[2025-01-13 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:32:03] Production.INFO: ==26729== Lock acquired, processing the job...
[2025-01-13 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:32:03] Production.INFO: Account Balance Start.
[2025-01-13 04:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:32:03] Production.INFO: 117
[2025-01-13 04:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 04:32:03] Production.INFO: ==26719== Lock acquired, processing the job...
[2025-01-13 04:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:32:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:32:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:32:03] Production.INFO: count ==21
[2025-01-13 04:32:03] Production.INFO: ==26721== Lock acquired, processing the job...
[2025-01-13 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 04:32:03] Production.INFO: count ==21
[2025-01-13 04:32:03] Production.INFO: ==26723== Lock acquired, processing the job...
[2025-01-13 04:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:32:03] Production.INFO: ==26727== Lock acquired, processing the job...
[2025-01-13 04:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236512') start
[2025-01-13 04:32:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:32:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:32:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236512') end
[2025-01-13 04:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:32:03] Production.INFO: 1
[2025-01-13 04:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:32:03] Production.INFO: Total Charge 0
[2025-01-13 04:32:03] Production.INFO: CreateAllLog End
[2025-01-13 04:32:03] Production.INFO: ==26729== Releasing lock...
[2025-01-13 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:32:03] Production.ERROR: done
[2025-01-13 04:32:03] Production.INFO: ==26721== Releasing lock...
[2025-01-13 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:32:04] Production.INFO: Account Balance End.
[2025-01-13 04:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:32:04] Production.INFO: ==26725== Releasing lock...
[2025-01-13 04:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:32:04] Production.ERROR: done
[2025-01-13 04:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:32:05
[end_date_ymd] => 2025-01-13 04:32:05
[RateCDR] => 1
)
[2025-01-13 04:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:32:05' and `end` < '2025-01-13 04:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:32:10] Production.ERROR: CronJobId end10
[2025-01-13 04:32:10] Production.INFO: ==26723== Releasing lock...
[2025-01-13 04:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:32:12] Production.INFO: call_cost start
[2025-01-13 04:32:12] Production.INFO: call_cost end
[2025-01-13 04:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:32:13] Production.INFO: ==26719== Releasing lock...
[2025-01-13 04:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:32:18] Production.INFO: count ==120
[2025-01-13 04:32:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:32:05 - End Time 2025-01-13 04:32:05
[2025-01-13 04:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236515', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236515', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236515', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236515', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:32:18] Production.INFO: ProcessCDR(1,14236515,1,1,2)
[2025-01-13 04:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236515', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236515', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:32:21] Production.INFO: ==26727== Releasing lock...
[2025-01-13 04:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:32:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:33:01] Production.INFO: ==26782== Lock acquired, processing the job...
[2025-01-13 09:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:33:01] Production.INFO: neon service started
[2025-01-13 09:33:02] Production.INFO: neon service started
[2025-01-13 09:33:02] Production.INFO: ==26782== Releasing lock...
[2025-01-13 09:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:33:02] Production.INFO: ==26784== Lock acquired, processing the job...
[2025-01-13 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:33:02] Production.INFO: ==26784== Releasing lock...
[2025-01-13 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:33:02] Production.INFO: ==26786== Lock acquired, processing the job...
[2025-01-13 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:33:02] Production.INFO: ==26786== Releasing lock...
[2025-01-13 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:33:03] Production.INFO: ==26796== Lock acquired, processing the job...
[2025-01-13 04:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:33:03] Production.ERROR: done
[2025-01-13 04:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:33:04] Production.ERROR: done
[2025-01-13 04:33:04] Production.INFO: ==26798== Lock acquired, processing the job...
[2025-01-13 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:33:04] Production.INFO: ==26790== Lock acquired, processing the job...
[2025-01-13 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:33:04] Production.INFO: ==26788== Lock acquired, processing the job...
[2025-01-13 04:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:33:04] Production.INFO: ==26792== Lock acquired, processing the job...
[2025-01-13 04:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:33:04] Production.INFO: ==26794== Lock acquired, processing the job...
[2025-01-13 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 04:33:04] Production.INFO: Account Balance Start.
[2025-01-13 04:33:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:33:04] Production.INFO: 117
[2025-01-13 04:33:04] Production.INFO: count ==21
[2025-01-13 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-13 04:33:04] Production.INFO: count ==21
[2025-01-13 04:33:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236517') start
[2025-01-13 04:33:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:33:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:33:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236517') end
[2025-01-13 04:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:33:04] Production.INFO: 1
[2025-01-13 04:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:33:04] Production.INFO: ==26790== Releasing lock...
[2025-01-13 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:33:04] Production.INFO: ==26798== Releasing lock...
[2025-01-13 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:33:04] Production.INFO: Total Charge 0
[2025-01-13 04:33:04] Production.INFO: CreateAllLog End
[2025-01-13 04:33:04] Production.INFO: Account Balance End.
[2025-01-13 04:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:33:04] Production.INFO: ==26794== Releasing lock...
[2025-01-13 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:33:05
[end_date_ymd] => 2025-01-13 04:33:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:33:05' and `end` < '2025-01-13 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-13 04:33:11] Production.ERROR: CronJobId end10
[2025-01-13 04:33:11] Production.INFO: ==26792== Releasing lock...
[2025-01-13 04:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:33:14] Production.INFO: call_cost start
[2025-01-13 04:33:14] Production.INFO: call_cost end
[2025-01-13 04:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:33:14] Production.INFO: ==26788== Releasing lock...
[2025-01-13 04:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:33:18] Production.INFO: count ==119
[2025-01-13 04:33:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:33:05 - End Time 2025-01-13 04:33:05
[2025-01-13 04:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236516', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236516', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236516', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236516', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:33:18] Production.INFO: ProcessCDR(1,14236516,1,1,2)
[2025-01-13 04:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236516', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236516', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:33:21] Production.INFO: ==26796== Releasing lock...
[2025-01-13 04:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:33:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:34:01] Production.INFO: ==26853== Lock acquired, processing the job...
[2025-01-13 09:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:34:01] Production.INFO: neon service started
[2025-01-13 09:34:01] Production.INFO: neon service started
[2025-01-13 09:34:01] Production.INFO: ==26853== Releasing lock...
[2025-01-13 09:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:34:02] Production.INFO: ==26855== Lock acquired, processing the job...
[2025-01-13 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:34:02] Production.INFO: ==26857== Lock acquired, processing the job...
[2025-01-13 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:34:02] Production.INFO: ==26857== Releasing lock...
[2025-01-13 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:34:02] Production.INFO: ==26855== Releasing lock...
[2025-01-13 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:34:03] Production.INFO: ==26860== Lock acquired, processing the job...
[2025-01-13 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:34:03] Production.INFO: ==26866== Lock acquired, processing the job...
[2025-01-13 04:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:34:03] Production.INFO: ==26868== Lock acquired, processing the job...
[2025-01-13 04:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:34:03] Production.INFO: Account Balance Start.
[2025-01-13 04:34:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:34:03] Production.INFO: 117
[2025-01-13 04:34:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:34:03] Production.INFO: ==26864== Lock acquired, processing the job...
[2025-01-13 04:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:34:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:34:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:34:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:34:03] Production.INFO: ==26862== Lock acquired, processing the job...
[2025-01-13 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:34:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:34:03] Production.INFO: ==26870== Lock acquired, processing the job...
[2025-01-13 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:34:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:34:03] Production.INFO: Total Charge 0
[2025-01-13 04:34:03] Production.INFO: CreateAllLog End
[2025-01-13 04:34:03] Production.ERROR: done
[2025-01-13 04:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 04:34:03] Production.INFO: count ==21
[2025-01-13 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-13 04:34:03] Production.INFO: count ==21
[2025-01-13 04:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236524') start
[2025-01-13 04:34:03] Production.INFO: Account Balance End.
[2025-01-13 04:34:03] Production.INFO: ==26862== Releasing lock...
[2025-01-13 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:34:03] Production.ERROR: CronJobId end 12
[2025-01-13 04:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:34:03] Production.INFO: ==26866== Releasing lock...
[2025-01-13 04:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:34:04] Production.ERROR: done
[2025-01-13 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236524') end
[2025-01-13 04:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:34:04] Production.INFO: 1
[2025-01-13 04:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:34:04] Production.INFO: ==26870== Releasing lock...
[2025-01-13 04:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:34:04
[end_date_ymd] => 2025-01-13 04:34:04
[RateCDR] => 1
)
[2025-01-13 04: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-13 01:34:04' and `end` < '2025-01-13 04: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-13 04:34:11] Production.ERROR: CronJobId end10
[2025-01-13 04:34:11] Production.INFO: ==26864== Releasing lock...
[2025-01-13 04:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:34:12] Production.INFO: call_cost start
[2025-01-13 04:34:12] Production.INFO: call_cost end
[2025-01-13 04:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:34:13] Production.INFO: ==26860== Releasing lock...
[2025-01-13 04:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:34:17] Production.INFO: count ==119
[2025-01-13 04:34:17] Production.ERROR: pbx CDR StartTime 2025-01-13 01:34:04 - End Time 2025-01-13 04:34:04
[2025-01-13 04:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236525', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236525', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236525', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236525', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:34:17] Production.INFO: ProcessCDR(1,14236525,1,1,2)
[2025-01-13 04:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236525', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236525', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:34:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:34:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:34:20] Production.INFO: ==26868== Releasing lock...
[2025-01-13 04:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:34:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:35:01] Production.INFO: ==26924== Lock acquired, processing the job...
[2025-01-13 09:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:35:01] Production.INFO: neon service started
[2025-01-13 09:35:01] Production.INFO: neon service started
[2025-01-13 09:35:01] Production.INFO: ==26924== Releasing lock...
[2025-01-13 09:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:35:02] Production.INFO: ==26928== Lock acquired, processing the job...
[2025-01-13 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:35:02] Production.INFO: ==26928== Releasing lock...
[2025-01-13 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:35:02] Production.INFO: ==26926== Lock acquired, processing the job...
[2025-01-13 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:35:02] Production.INFO: ==26926== Releasing lock...
[2025-01-13 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:35:03] Production.INFO: ==26934== Lock acquired, processing the job...
[2025-01-13 04:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:35:03] Production.INFO: ==26940== Lock acquired, processing the job...
[2025-01-13 04:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:35:03] Production.INFO: ==26930== Lock acquired, processing the job...
[2025-01-13 04:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 04:35:03] Production.INFO: ==26932== Lock acquired, processing the job...
[2025-01-13 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:35:03] Production.INFO: count ==21
[2025-01-13 04:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 04:35:03] Production.INFO: count ==21
[2025-01-13 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236526') start
[2025-01-13 04:35:03] Production.INFO: ==26938== Lock acquired, processing the job...
[2025-01-13 04:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:35:04] Production.INFO: ==26936== Lock acquired, processing the job...
[2025-01-13 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236526') end
[2025-01-13 04:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:35:04] Production.INFO: 1
[2025-01-13 04:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:35:04] Production.INFO: ==26940== Releasing lock...
[2025-01-13 04:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:35:04] Production.INFO: Account Balance Start.
[2025-01-13 04:35:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:35:04] Production.INFO: 117
[2025-01-13 04:35:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:35:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:35:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:35:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:35:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:35:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:35:04] Production.INFO: ==26932== Releasing lock...
[2025-01-13 04:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:35:04] Production.INFO: Total Charge 0
[2025-01-13 04:35:04] Production.INFO: CreateAllLog End
[2025-01-13 04:35:04] Production.ERROR: done
[2025-01-13 04:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:35:04] Production.INFO: Account Balance End.
[2025-01-13 04:35:04] Production.ERROR: done
[2025-01-13 04:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:35:04] Production.INFO: ==26936== Releasing lock...
[2025-01-13 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:35:05
[end_date_ymd] => 2025-01-13 04:35:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:35:05' and `end` < '2025-01-13 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-13 04:35:10] Production.ERROR: CronJobId end10
[2025-01-13 04:35:10] Production.INFO: ==26934== Releasing lock...
[2025-01-13 04:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:35:13] Production.INFO: call_cost start
[2025-01-13 04:35:13] Production.INFO: call_cost end
[2025-01-13 04:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:35:14] Production.INFO: ==26930== Releasing lock...
[2025-01-13 04:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:35:17] Production.INFO: count ==119
[2025-01-13 04:35:17] Production.ERROR: pbx CDR StartTime 2025-01-13 01:35:05 - End Time 2025-01-13 04:35:05
[2025-01-13 04:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236530', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236530', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236530', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236530', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:35:17] Production.INFO: ProcessCDR(1,14236530,1,1,2)
[2025-01-13 04:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236530', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236530', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:35:21] Production.INFO: ==26938== Releasing lock...
[2025-01-13 04:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:35:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:36:02] Production.INFO: ==26994== Lock acquired, processing the job...
[2025-01-13 09:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:36:02] Production.INFO: neon service started
[2025-01-13 09:36:02] Production.INFO: neon service started
[2025-01-13 09:36:02] Production.INFO: ==26994== Releasing lock...
[2025-01-13 09:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:36:02] Production.INFO: ==26999== Lock acquired, processing the job...
[2025-01-13 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:36:02] Production.INFO: ==26999== Releasing lock...
[2025-01-13 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:36:03] Production.INFO: ==26997== Lock acquired, processing the job...
[2025-01-13 04:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:36:03] Production.INFO: ==26997== Releasing lock...
[2025-01-13 04:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:36:04] Production.INFO: ==27007== Lock acquired, processing the job...
[2025-01-13 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:36:04] Production.INFO: ==27001== Lock acquired, processing the job...
[2025-01-13 04:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:36:04] Production.INFO: Account Balance Start.
[2025-01-13 04:36:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:36:04] Production.INFO: 117
[2025-01-13 04:36:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:36:04] Production.INFO: ==27005== Lock acquired, processing the job...
[2025-01-13 04:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:36:04] Production.INFO: ==27009== Lock acquired, processing the job...
[2025-01-13 04:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:36:04] Production.INFO: ==27003== Lock acquired, processing the job...
[2025-01-13 04:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:36:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:36:04] Production.INFO: ==27011== Lock acquired, processing the job...
[2025-01-13 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:36:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 04: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-13 04:36:04] Production.INFO: count ==21
[2025-01-13 04: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-13 04:36:04] Production.INFO: count ==21
[2025-01-13 04:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:36:04] Production.INFO: ==27003== Releasing lock...
[2025-01-13 04:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236534') start
[2025-01-13 04:36:04] Production.ERROR: done
[2025-01-13 04:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236534') end
[2025-01-13 04:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:36:04] Production.INFO: 1
[2025-01-13 04:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:36:04] Production.INFO: Total Charge 0
[2025-01-13 04:36:04] Production.INFO: ==27011== Releasing lock...
[2025-01-13 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:36:04] Production.INFO: CreateAllLog End
[2025-01-13 04:36:04] Production.ERROR: done
[2025-01-13 04:36:04] Production.INFO: Account Balance End.
[2025-01-13 04:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:36:05] Production.INFO: ==27007== Releasing lock...
[2025-01-13 04:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:36:05
[end_date_ymd] => 2025-01-13 04:36:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:36:05' and `end` < '2025-01-13 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-13 04:36:11] Production.ERROR: CronJobId end10
[2025-01-13 04:36:11] Production.INFO: ==27005== Releasing lock...
[2025-01-13 04:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:36:13] Production.INFO: call_cost start
[2025-01-13 04:36:13] Production.INFO: call_cost end
[2025-01-13 04:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:36:14] Production.INFO: ==27001== Releasing lock...
[2025-01-13 04:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:36:18] Production.INFO: count ==119
[2025-01-13 04:36:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:36:05 - End Time 2025-01-13 04:36:05
[2025-01-13 04:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236535', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236535', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236535', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236535', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:36:18] Production.INFO: ProcessCDR(1,14236535,1,1,2)
[2025-01-13 04:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236535', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236535', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:36:21] Production.INFO: ==27009== Releasing lock...
[2025-01-13 04:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:36:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:37:01] Production.INFO: ==27104== Lock acquired, processing the job...
[2025-01-13 09:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:37:01] Production.INFO: neon service started
[2025-01-13 09:37:01] Production.INFO: neon service started
[2025-01-13 09:37:01] Production.INFO: ==27104== Releasing lock...
[2025-01-13 09:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:37:02] Production.INFO: ==27106== Lock acquired, processing the job...
[2025-01-13 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:37:02] Production.INFO: ==27108== Lock acquired, processing the job...
[2025-01-13 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:37:02] Production.INFO: ==27108== Releasing lock...
[2025-01-13 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:37:02] Production.INFO: ==27106== Releasing lock...
[2025-01-13 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:37:03] Production.INFO: ==27117== Lock acquired, processing the job...
[2025-01-13 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:37:03] Production.INFO: ==27119== Lock acquired, processing the job...
[2025-01-13 04:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:37:03] Production.INFO: Account Balance Start.
[2025-01-13 04:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:37:03] Production.INFO: 117
[2025-01-13 04:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:37:03] Production.INFO: ==27111== Lock acquired, processing the job...
[2025-01-13 04:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:37:04] Production.INFO: ==27113== Lock acquired, processing the job...
[2025-01-13 04:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:37:04] Production.INFO: ==27115== Lock acquired, processing the job...
[2025-01-13 04:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:37:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:37:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:37:04] Production.INFO: ==27121== Lock acquired, processing the job...
[2025-01-13 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:37:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:37:04] Production.ERROR: done
[2025-01-13 04:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:37:04] Production.INFO: Total Charge 0
[2025-01-13 04:37:04] Production.INFO: CreateAllLog End
[2025-01-13 04:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:37:04] Production.INFO: ==27113== Releasing lock...
[2025-01-13 04:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:37:04] Production.ERROR: done
[2025-01-13 04:37:04] Production.INFO: count ==21
[2025-01-13 04:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:37:04] Production.INFO: count ==21
[2025-01-13 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236539') start
[2025-01-13 04:37:04] Production.INFO: Account Balance End.
[2025-01-13 04:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:37:04] Production.INFO: ==27117== Releasing lock...
[2025-01-13 04:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236539') end
[2025-01-13 04:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:37:04] Production.INFO: 1
[2025-01-13 04:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:37:04] Production.INFO: ==27121== Releasing lock...
[2025-01-13 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:37:05
[end_date_ymd] => 2025-01-13 04:37:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:37:05' and `end` < '2025-01-13 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-13 04:37:11] Production.ERROR: CronJobId end10
[2025-01-13 04:37:11] Production.INFO: ==27115== Releasing lock...
[2025-01-13 04:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:37:13] Production.INFO: call_cost start
[2025-01-13 04:37:13] Production.INFO: call_cost end
[2025-01-13 04:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:37:13] Production.INFO: ==27111== Releasing lock...
[2025-01-13 04:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:37:19] Production.INFO: count ==119
[2025-01-13 04:37:19] Production.ERROR: pbx CDR StartTime 2025-01-13 01:37:05 - End Time 2025-01-13 04:37:05
[2025-01-13 04:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236540', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236540', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236540', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236540', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:37:19] Production.INFO: ProcessCDR(1,14236540,1,1,2)
[2025-01-13 04:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236540', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236540', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:37:22] Production.INFO: ==27119== Releasing lock...
[2025-01-13 04:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:37:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:38:01] Production.INFO: ==27178== Lock acquired, processing the job...
[2025-01-13 09:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:38:01] Production.INFO: neon service started
[2025-01-13 09:38:01] Production.INFO: neon service started
[2025-01-13 09:38:01] Production.INFO: ==27178== Releasing lock...
[2025-01-13 09:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:38:01] Production.INFO: ==27180== Lock acquired, processing the job...
[2025-01-13 04:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:38:02] Production.INFO: ==27182== Lock acquired, processing the job...
[2025-01-13 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:38:02] Production.INFO: ==27180== Releasing lock...
[2025-01-13 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:38:02] Production.INFO: ==27182== Releasing lock...
[2025-01-13 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:38:03] Production.INFO: ==27185== Lock acquired, processing the job...
[2025-01-13 04:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:38:03] Production.INFO: ==27187== Lock acquired, processing the job...
[2025-01-13 04:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:38:03] Production.INFO: ==27189== Lock acquired, processing the job...
[2025-01-13 04:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:38:03] Production.INFO: ==27191== Lock acquired, processing the job...
[2025-01-13 04:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:38:03] Production.INFO: ==27193== Lock acquired, processing the job...
[2025-01-13 04:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:38:03] Production.INFO: ==27195== Lock acquired, processing the job...
[2025-01-13 04:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:38:03] Production.INFO: ==27187== Releasing lock...
[2025-01-13 04:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:38:03] Production.INFO: Account Balance Start.
[2025-01-13 04:38:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:38:03] Production.INFO: 117
[2025-01-13 04:38:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:38:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 04:38:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:38:04] Production.INFO: count ==21
[2025-01-13 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-13 04:38:04] Production.INFO: count ==21
[2025-01-13 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236544') start
[2025-01-13 04:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236544') end
[2025-01-13 04:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:38:04] Production.INFO: 1
[2025-01-13 04:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:38:04] Production.ERROR: done
[2025-01-13 04:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:38:04] Production.INFO: Total Charge 0
[2025-01-13 04:38:04] Production.INFO: CreateAllLog End
[2025-01-13 04:38:04] Production.INFO: ==27195== Releasing lock...
[2025-01-13 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:38:04] Production.ERROR: done
[2025-01-13 04:38:04] Production.INFO: Account Balance End.
[2025-01-13 04:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:38:04] Production.INFO: ==27191== Releasing lock...
[2025-01-13 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:38:05
[end_date_ymd] => 2025-01-13 04:38:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:38:05' and `end` < '2025-01-13 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-13 04:38:10] Production.ERROR: CronJobId end10
[2025-01-13 04:38:10] Production.INFO: ==27189== Releasing lock...
[2025-01-13 04:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:38:13] Production.INFO: call_cost start
[2025-01-13 04:38:13] Production.INFO: call_cost end
[2025-01-13 04:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:38:14] Production.INFO: ==27185== Releasing lock...
[2025-01-13 04:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:38:18] Production.INFO: count ==119
[2025-01-13 04:38:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:38:05 - End Time 2025-01-13 04:38:05
[2025-01-13 04:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236545', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236545', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236545', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236545', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:38:18] Production.INFO: ProcessCDR(1,14236545,1,1,2)
[2025-01-13 04:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236545', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236545', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:38:21] Production.INFO: ==27193== Releasing lock...
[2025-01-13 04:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:38:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:39:01] Production.INFO: ==27253== Lock acquired, processing the job...
[2025-01-13 09:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:39:01] Production.INFO: neon service started
[2025-01-13 09:39:01] Production.INFO: neon service started
[2025-01-13 09:39:01] Production.INFO: ==27253== Releasing lock...
[2025-01-13 09:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:39:02] Production.INFO: ==27255== Lock acquired, processing the job...
[2025-01-13 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:39:02] Production.INFO: ==27255== Releasing lock...
[2025-01-13 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:39:02] Production.INFO: ==27257== Lock acquired, processing the job...
[2025-01-13 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:39:02] Production.INFO: ==27257== Releasing lock...
[2025-01-13 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:39:03] Production.INFO: ==27260== Lock acquired, processing the job...
[2025-01-13 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:39:03] Production.INFO: ==27262== Lock acquired, processing the job...
[2025-01-13 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:39:03] Production.INFO: ==27266== Lock acquired, processing the job...
[2025-01-13 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:39:03] Production.INFO: ==27264== Lock acquired, processing the job...
[2025-01-13 04:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:39:03] Production.INFO: ==27268== Lock acquired, processing the job...
[2025-01-13 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:39:03] Production.INFO: ==27270== Lock acquired, processing the job...
[2025-01-13 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:39:03] Production.INFO: Account Balance Start.
[2025-01-13 04:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:39:03] Production.INFO: 117
[2025-01-13 04:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:39:03] Production.INFO: count ==21
[2025-01-13 04:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:39:03] Production.INFO: count ==21
[2025-01-13 04:39:03] Production.INFO: ==27262== Releasing lock...
[2025-01-13 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236548') start
[2025-01-13 04:39:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:39:04] Production.ERROR: done
[2025-01-13 04:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:39:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236548') end
[2025-01-13 04:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:39:04] Production.INFO: 1
[2025-01-13 04:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:39:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:39:04] Production.ERROR: done
[2025-01-13 04:39:04] Production.INFO: ==27270== Releasing lock...
[2025-01-13 04:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:39:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:39:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:39:04] Production.INFO: Total Charge 0
[2025-01-13 04:39:04] Production.INFO: CreateAllLog End
[2025-01-13 04:39:04] Production.INFO: Account Balance End.
[2025-01-13 04:39:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:39:04] Production.INFO: ==27266== Releasing lock...
[2025-01-13 04:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:39:05
[end_date_ymd] => 2025-01-13 04:39:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:39:05' and `end` < '2025-01-13 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-13 04:39:10] Production.ERROR: CronJobId end10
[2025-01-13 04:39:10] Production.INFO: ==27264== Releasing lock...
[2025-01-13 04:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:39:12] Production.INFO: call_cost start
[2025-01-13 04:39:12] Production.INFO: call_cost end
[2025-01-13 04:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:39:13] Production.INFO: ==27260== Releasing lock...
[2025-01-13 04:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:39:18] Production.INFO: count ==119
[2025-01-13 04:39:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:39:05 - End Time 2025-01-13 04:39:05
[2025-01-13 04:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236550', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236550', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236550', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236550', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:39:18] Production.INFO: ProcessCDR(1,14236550,1,1,2)
[2025-01-13 04:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236550', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236550', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:39:21] Production.INFO: ==27268== Releasing lock...
[2025-01-13 04:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:39:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:40:02] Production.INFO: ==27326== Lock acquired, processing the job...
[2025-01-13 09:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:40:02] Production.INFO: neon service started
[2025-01-13 09:40:02] Production.INFO: neon service started
[2025-01-13 09:40:02] Production.INFO: ==27326== Releasing lock...
[2025-01-13 09:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:40:02] Production.INFO: ==27328== Lock acquired, processing the job...
[2025-01-13 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:40:02] Production.INFO: ==27330== Lock acquired, processing the job...
[2025-01-13 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:40:03] Production.INFO: ==27330== Releasing lock...
[2025-01-13 09:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:40:03] Production.INFO: ==27328== Releasing lock...
[2025-01-13 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:40:03] Production.INFO: ==27332== Lock acquired, processing the job...
[2025-01-13 04:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 04:40:04] Production.INFO: ==27340== Lock acquired, processing the job...
[2025-01-13 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 04:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 04:40:04] Production.INFO: ==27332== Releasing lock...
[2025-01-13 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 04:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 04:40:04] Production.INFO: ==27342== Lock acquired, processing the job...
[2025-01-13 04:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:40:04] Production.INFO: Account Balance Start.
[2025-01-13 04:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:40:04] Production.INFO: 117
[2025-01-13 04:40:04] Production.INFO: ==27334== Lock acquired, processing the job...
[2025-01-13 04:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:40:04] Production.INFO: ==27336== Lock acquired, processing the job...
[2025-01-13 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:40:04] Production.INFO: ==27338== Lock acquired, processing the job...
[2025-01-13 04:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:40:04] Production.INFO: ==27347== Lock acquired, processing the job...
[2025-01-13 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:40:04] Production.INFO: ==27345== Lock acquired, processing the job...
[2025-01-13 04:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 04:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:40:04] Production.ERROR: done
[2025-01-13 04:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 04:40:04] Production.INFO: count ==21
[2025-01-13 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-13 04:40:04] Production.INFO: count ==21
[2025-01-13 04:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236554') start
[2025-01-13 04:40:04] Production.ERROR: done
[2025-01-13 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:40:04] Production.INFO: ==27336== Releasing lock...
[2025-01-13 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:40:04] Production.INFO: Total Charge 0
[2025-01-13 04:40:04] Production.INFO: CreateAllLog End
[2025-01-13 04:40:04] Production.ERROR: done
[2025-01-13 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236554') end
[2025-01-13 04:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:40:04] Production.INFO: 1
[2025-01-13 04:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:40:04] Production.INFO: ==27347== Releasing lock...
[2025-01-13 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 04:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236556', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 04:40:05] Production.INFO: Account Balance End.
[2025-01-13 04:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:40:05] Production.INFO: ==27340== Releasing lock...
[2025-01-13 04:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:40:06
[end_date_ymd] => 2025-01-13 04:40:06
[RateCDR] => 1
)
[2025-01-13 04:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:40:06' and `end` < '2025-01-13 04:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236556', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 04:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 04:40:08] Production.INFO: ProcessCDR(1,14236556,1,1,2)
[2025-01-13 04:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236556,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236556,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:40:09] Production.INFO: ==27345== Releasing lock...
[2025-01-13 04:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 04:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 04:40:12] Production.ERROR: CronJobId end10
[2025-01-13 04:40:12] Production.INFO: ==27338== Releasing lock...
[2025-01-13 04:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:40:15] Production.INFO: call_cost start
[2025-01-13 04:40:15] Production.INFO: call_cost end
[2025-01-13 04:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:40:15] Production.INFO: ==27334== Releasing lock...
[2025-01-13 04:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:40:18] Production.INFO: count ==118
[2025-01-13 04:40:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:40:06 - End Time 2025-01-13 04:40:06
[2025-01-13 04:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236555', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236555', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236555', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236555', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:40:18] Production.INFO: ProcessCDR(1,14236555,1,1,2)
[2025-01-13 04:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236555', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236555', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:40:21] Production.INFO: ==27342== Releasing lock...
[2025-01-13 04:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:40:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:41:01] Production.INFO: ==27403== Lock acquired, processing the job...
[2025-01-13 09:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:41:01] Production.INFO: neon service started
[2025-01-13 09:41:01] Production.INFO: neon service started
[2025-01-13 09:41:01] Production.INFO: ==27403== Releasing lock...
[2025-01-13 09:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:41:02] Production.INFO: ==27405== Lock acquired, processing the job...
[2025-01-13 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:41:02] Production.INFO: ==27405== Releasing lock...
[2025-01-13 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:41:02] Production.INFO: ==27407== Lock acquired, processing the job...
[2025-01-13 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:41:02] Production.INFO: ==27407== Releasing lock...
[2025-01-13 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:41:03] Production.INFO: ==27417== Lock acquired, processing the job...
[2025-01-13 04:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:41:03] Production.INFO: ==27419== Lock acquired, processing the job...
[2025-01-13 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:41:03] Production.INFO: ==27409== Lock acquired, processing the job...
[2025-01-13 04:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:41:03] Production.ERROR: done
[2025-01-13 04:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:41:03] Production.INFO: ==27411== Lock acquired, processing the job...
[2025-01-13 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:41:03] Production.INFO: ==27413== Lock acquired, processing the job...
[2025-01-13 04:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 04:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:41:03] Production.INFO: ==27415== Lock acquired, processing the job...
[2025-01-13 04:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:41:03] Production.INFO: count ==21
[2025-01-13 04:41:03] Production.ERROR: done
[2025-01-13 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-13 04:41:03] Production.INFO: count ==21
[2025-01-13 04:41:03] Production.INFO: Account Balance Start.
[2025-01-13 04:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:41:03] Production.INFO: 117
[2025-01-13 04:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236557') start
[2025-01-13 04:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236557') end
[2025-01-13 04:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:41:03] Production.INFO: 1
[2025-01-13 04:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:41:03] Production.INFO: ==27419== Releasing lock...
[2025-01-13 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:41:03] Production.INFO: ==27411== Releasing lock...
[2025-01-13 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:41:03] Production.INFO: Total Charge 0
[2025-01-13 04:41:04] Production.INFO: CreateAllLog End
[2025-01-13 04:41:04] Production.INFO: Account Balance End.
[2025-01-13 04:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:41:04] Production.INFO: ==27415== Releasing lock...
[2025-01-13 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:41:04
[end_date_ymd] => 2025-01-13 04:41:04
[RateCDR] => 1
)
[2025-01-13 04: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-13 01:41:04' and `end` < '2025-01-13 04: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-13 04:41:10] Production.ERROR: CronJobId end10
[2025-01-13 04:41:10] Production.INFO: ==27413== Releasing lock...
[2025-01-13 04:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:41:13] Production.INFO: call_cost start
[2025-01-13 04:41:13] Production.INFO: call_cost end
[2025-01-13 04:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:41:14] Production.INFO: ==27409== Releasing lock...
[2025-01-13 04:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:41:18] Production.INFO: count ==118
[2025-01-13 04:41:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:41:04 - End Time 2025-01-13 04:41:04
[2025-01-13 04:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236560', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236560', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236560', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236560', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:41:18] Production.INFO: ProcessCDR(1,14236560,1,1,2)
[2025-01-13 04:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236560', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236560', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:41:21] Production.INFO: ==27417== Releasing lock...
[2025-01-13 04:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:41:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:42:02] Production.INFO: ==27475== Lock acquired, processing the job...
[2025-01-13 09:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:42:02] Production.INFO: neon service started
[2025-01-13 09:42:02] Production.INFO: neon service started
[2025-01-13 09:42:02] Production.INFO: ==27475== Releasing lock...
[2025-01-13 09:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:42:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 04:42:02] Production.INFO: ==27477== Lock acquired, processing the job...
[2025-01-13 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:42:02] Production.INFO: ==27477== Releasing lock...
[2025-01-13 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:42:03] Production.INFO: ==27479== Lock acquired, processing the job...
[2025-01-13 09:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:42:03] Production.INFO: ==27479== Releasing lock...
[2025-01-13 09:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:42:03] Production.INFO: ==27484== Lock acquired, processing the job...
[2025-01-13 04:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:42:03] Production.INFO: ==27492== Lock acquired, processing the job...
[2025-01-13 04:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:42:03] Production.INFO: ==27494== Lock acquired, processing the job...
[2025-01-13 04:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:42:03] Production.INFO: ==27486== Lock acquired, processing the job...
[2025-01-13 04:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:42:04] Production.INFO: count ==21
[2025-01-13 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-13 04:42:04] Production.INFO: ==27488== Lock acquired, processing the job...
[2025-01-13 04:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:42:04] Production.INFO: count ==21
[2025-01-13 04:42:04] Production.INFO: ==27490== Lock acquired, processing the job...
[2025-01-13 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236563') start
[2025-01-13 04:42:04] Production.INFO: Account Balance Start.
[2025-01-13 04:42:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:42:04] Production.INFO: 117
[2025-01-13 04:42:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236563') end
[2025-01-13 04:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:42:04] Production.INFO: 1
[2025-01-13 04:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:42:04] Production.INFO: ==27494== Releasing lock...
[2025-01-13 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:42:04] Production.ERROR: done
[2025-01-13 04:42:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:42:04] Production.INFO: ==27486== Releasing lock...
[2025-01-13 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:42:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:42:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:42:04] Production.ERROR: done
[2025-01-13 04:42:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:42:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:42:04] Production.INFO: Total Charge 0
[2025-01-13 04:42:04] Production.INFO: CreateAllLog End
[2025-01-13 04:42:04] Production.INFO: Account Balance End.
[2025-01-13 04:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:42:04] Production.INFO: ==27490== Releasing lock...
[2025-01-13 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:42:05
[end_date_ymd] => 2025-01-13 04:42:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:42:05' and `end` < '2025-01-13 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-13 04:42:12] Production.ERROR: CronJobId end10
[2025-01-13 04:42:12] Production.INFO: ==27488== Releasing lock...
[2025-01-13 04:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:42:13] Production.INFO: call_cost start
[2025-01-13 04:42:13] Production.INFO: call_cost end
[2025-01-13 04:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:42:14] Production.INFO: ==27484== Releasing lock...
[2025-01-13 04:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:42:17] Production.INFO: count ==118
[2025-01-13 04:42:17] Production.ERROR: pbx CDR StartTime 2025-01-13 01:42:05 - End Time 2025-01-13 04:42:05
[2025-01-13 04:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236566', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236566', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236566', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236566', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:42:17] Production.INFO: ProcessCDR(1,14236566,1,1,2)
[2025-01-13 04:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236566', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236566', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:42:21] Production.INFO: ==27492== Releasing lock...
[2025-01-13 04:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:42:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:43:01] Production.INFO: ==27553== Lock acquired, processing the job...
[2025-01-13 09:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:43:01] Production.INFO: neon service started
[2025-01-13 09:43:01] Production.INFO: neon service started
[2025-01-13 09:43:01] Production.INFO: ==27553== Releasing lock...
[2025-01-13 09:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:43:02] Production.INFO: ==27555== Lock acquired, processing the job...
[2025-01-13 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:43:02] Production.INFO: ==27555== Releasing lock...
[2025-01-13 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:43:02] Production.INFO: ==27557== Lock acquired, processing the job...
[2025-01-13 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:43:02] Production.INFO: ==27557== Releasing lock...
[2025-01-13 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:43:03] Production.INFO: ==27563== Lock acquired, processing the job...
[2025-01-13 04:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:43:03] Production.INFO: ==27559== Lock acquired, processing the job...
[2025-01-13 04:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:43:03] Production.INFO: ==27569== Lock acquired, processing the job...
[2025-01-13 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:43:03] Production.INFO: ==27561== Lock acquired, processing the job...
[2025-01-13 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 04:43:03] Production.INFO: count ==21
[2025-01-13 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-13 04:43:03] Production.INFO: count ==21
[2025-01-13 04:43:03] Production.INFO: ==27565== Lock acquired, processing the job...
[2025-01-13 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236568') start
[2025-01-13 04:43:03] Production.INFO: ==27567== Lock acquired, processing the job...
[2025-01-13 04:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236568') end
[2025-01-13 04:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:43:03] Production.INFO: 1
[2025-01-13 04:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:43:03] Production.INFO: Account Balance Start.
[2025-01-13 04:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:43:03] Production.INFO: 117
[2025-01-13 04:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:43:03] Production.INFO: ==27569== Releasing lock...
[2025-01-13 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:43:03] Production.INFO: ==27561== Releasing lock...
[2025-01-13 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:43:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:43:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:43:03] Production.ERROR: done
[2025-01-13 04:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:43:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:43:04] Production.ERROR: done
[2025-01-13 04:43:04] Production.INFO: Total Charge 0
[2025-01-13 04:43:04] Production.INFO: CreateAllLog End
[2025-01-13 04:43:04] Production.INFO: Account Balance End.
[2025-01-13 04:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:43:04] Production.INFO: ==27565== Releasing lock...
[2025-01-13 04:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:43:05
[end_date_ymd] => 2025-01-13 04:43:05
[RateCDR] => 1
)
[2025-01-13 04:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:43:05' and `end` < '2025-01-13 04:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:43:10] Production.ERROR: CronJobId end10
[2025-01-13 04:43:10] Production.INFO: ==27563== Releasing lock...
[2025-01-13 04:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:43:13] Production.INFO: call_cost start
[2025-01-13 04:43:13] Production.INFO: call_cost end
[2025-01-13 04:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:43:13] Production.INFO: ==27559== Releasing lock...
[2025-01-13 04:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:43:17] Production.INFO: count ==118
[2025-01-13 04:43:17] Production.ERROR: pbx CDR StartTime 2025-01-13 01:43:05 - End Time 2025-01-13 04:43:05
[2025-01-13 04:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236571', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236571', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236571', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236571', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:43:18] Production.INFO: ProcessCDR(1,14236571,1,1,2)
[2025-01-13 04:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236571', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236571', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:43:21] Production.INFO: ==27567== Releasing lock...
[2025-01-13 04:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:43:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:44:02] Production.INFO: ==27632== Lock acquired, processing the job...
[2025-01-13 09:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:44:02] Production.INFO: neon service started
[2025-01-13 09:44:02] Production.INFO: neon service started
[2025-01-13 09:44:02] Production.INFO: ==27632== Releasing lock...
[2025-01-13 09:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:44:02] Production.INFO: ==27634== Lock acquired, processing the job...
[2025-01-13 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:44:02] Production.INFO: ==27636== Lock acquired, processing the job...
[2025-01-13 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:44:02] Production.INFO: ==27636== Releasing lock...
[2025-01-13 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:44:03] Production.INFO: ==27634== Releasing lock...
[2025-01-13 04:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:44:03] Production.INFO: ==27641== Lock acquired, processing the job...
[2025-01-13 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:44:03] Production.INFO: ==27649== Lock acquired, processing the job...
[2025-01-13 04:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:44:04] Production.INFO: ==27639== Lock acquired, processing the job...
[2025-01-13 04:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:44:04] Production.INFO: count ==21
[2025-01-13 04:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:44:04] Production.INFO: count ==21
[2025-01-13 04:44:04] Production.INFO: ==27643== Lock acquired, processing the job...
[2025-01-13 04:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:44:04] Production.INFO: ==27645== Lock acquired, processing the job...
[2025-01-13 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:44:04] Production.INFO: ==27647== Lock acquired, processing the job...
[2025-01-13 04:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236572') start
[2025-01-13 04:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:44:04] Production.INFO: ==27641== Releasing lock...
[2025-01-13 04:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:44:04] Production.INFO: Account Balance Start.
[2025-01-13 04:44:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:44:04] Production.INFO: 117
[2025-01-13 04:44:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236572') end
[2025-01-13 04:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:44:04] Production.INFO: 1
[2025-01-13 04:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:44:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:44:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:44:04] Production.INFO: ==27649== Releasing lock...
[2025-01-13 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:44:04] Production.INFO: Total Charge 0
[2025-01-13 04:44:04] Production.INFO: CreateAllLog End
[2025-01-13 04:44:04] Production.ERROR: done
[2025-01-13 04:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:44:04] Production.ERROR: done
[2025-01-13 04:44:04] Production.INFO: Account Balance End.
[2025-01-13 04:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:44:04] Production.INFO: ==27645== Releasing lock...
[2025-01-13 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:44:05
[end_date_ymd] => 2025-01-13 04:44:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:44:05' and `end` < '2025-01-13 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-13 04:44:12] Production.ERROR: CronJobId end10
[2025-01-13 04:44:12] Production.INFO: ==27643== Releasing lock...
[2025-01-13 04:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:44:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:44:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:44:14] Production.INFO: call_cost start
[2025-01-13 04:44:14] Production.INFO: call_cost end
[2025-01-13 04:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:44:15] Production.INFO: ==27639== Releasing lock...
[2025-01-13 04:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:44:18] Production.INFO: count ==118
[2025-01-13 04:44:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:44:05 - End Time 2025-01-13 04:44:05
[2025-01-13 04:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236576', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236576', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236576', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236576', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:44:18] Production.INFO: ProcessCDR(1,14236576,1,1,2)
[2025-01-13 04:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236576', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236576', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:44:21] Production.INFO: ==27647== Releasing lock...
[2025-01-13 04:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:44:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:45:01] Production.INFO: ==27709== Lock acquired, processing the job...
[2025-01-13 09:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:45:01] Production.INFO: neon service started
[2025-01-13 09:45:01] Production.INFO: neon service started
[2025-01-13 09:45:01] Production.INFO: ==27709== Releasing lock...
[2025-01-13 09:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:45:01] Production.INFO: ==27711== Lock acquired, processing the job...
[2025-01-13 04:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:45:02] Production.INFO: ==27713== Lock acquired, processing the job...
[2025-01-13 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 04:45:02] Production.INFO: ==27711== Releasing lock...
[2025-01-13 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:45:02] Production.INFO: ==27713== Releasing lock...
[2025-01-13 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:45:03] Production.INFO: ==27717== Lock acquired, processing the job...
[2025-01-13 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:45:03] Production.INFO: ==27719== Lock acquired, processing the job...
[2025-01-13 04:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:45:03] Production.INFO: ==27715== Lock acquired, processing the job...
[2025-01-13 04:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:45:03] Production.INFO: ==27725== Lock acquired, processing the job...
[2025-01-13 04:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:45:03] Production.INFO: count ==21
[2025-01-13 04:45:03] Production.INFO: ==27717== Releasing lock...
[2025-01-13 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:45:03] Production.INFO: ==27721== Lock acquired, processing the job...
[2025-01-13 04:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:45:03] Production.INFO: count ==21
[2025-01-13 04:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236578') start
[2025-01-13 04:45:03] Production.INFO: ==27723== Lock acquired, processing the job...
[2025-01-13 04:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:45:03] Production.INFO: Account Balance Start.
[2025-01-13 04:45:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:45:03] Production.INFO: 117
[2025-01-13 04:45:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236578') end
[2025-01-13 04:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:45:03] Production.INFO: 1
[2025-01-13 04:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:45:03] Production.INFO: ==27725== Releasing lock...
[2025-01-13 04:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:45:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:45:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:45:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:45:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:45:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:45:03] Production.INFO: Total Charge 0
[2025-01-13 04:45:03] Production.INFO: CreateAllLog End
[2025-01-13 04:45:03] Production.ERROR: done
[2025-01-13 04:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:45:04] Production.ERROR: done
[2025-01-13 04:45:04] Production.INFO: Account Balance End.
[2025-01-13 04:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:45:04] Production.INFO: ==27721== Releasing lock...
[2025-01-13 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:45:05
[end_date_ymd] => 2025-01-13 04:45:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:45:05' and `end` < '2025-01-13 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-13 04:45:10] Production.ERROR: CronJobId end10
[2025-01-13 04:45:10] Production.INFO: ==27719== Releasing lock...
[2025-01-13 04:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:45:13] Production.INFO: call_cost start
[2025-01-13 04:45:13] Production.INFO: call_cost end
[2025-01-13 04:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:45:14] Production.INFO: ==27715== Releasing lock...
[2025-01-13 04:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:45:17] Production.INFO: count ==118
[2025-01-13 04:45:17] Production.ERROR: pbx CDR StartTime 2025-01-13 01:45:05 - End Time 2025-01-13 04:45:05
[2025-01-13 04:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236581', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236581', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236581', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236581', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:45:17] Production.INFO: ProcessCDR(1,14236581,1,1,2)
[2025-01-13 04:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236581', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236581', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:45:20] Production.INFO: ==27723== Releasing lock...
[2025-01-13 04:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:45:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:46:01] Production.INFO: ==27789== Lock acquired, processing the job...
[2025-01-13 09:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:46:01] Production.INFO: neon service started
[2025-01-13 09:46:02] Production.INFO: neon service started
[2025-01-13 09:46:02] Production.INFO: ==27789== Releasing lock...
[2025-01-13 09:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:46:02] Production.INFO: ==27791== Lock acquired, processing the job...
[2025-01-13 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:46:02] Production.INFO: ==27791== Releasing lock...
[2025-01-13 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:46:02] Production.INFO: ==27793== Lock acquired, processing the job...
[2025-01-13 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:46:02] Production.INFO: ==27793== Releasing lock...
[2025-01-13 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:46:03] Production.INFO: ==27799== Lock acquired, processing the job...
[2025-01-13 04:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:46:03] Production.INFO: ==27795== Lock acquired, processing the job...
[2025-01-13 04:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:46:03] Production.INFO: ==27797== Lock acquired, processing the job...
[2025-01-13 04:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:46:03] Production.INFO: ==27806== Lock acquired, processing the job...
[2025-01-13 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:46:03] Production.INFO: ==27801== Lock acquired, processing the job...
[2025-01-13 04:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 04:46:03] Production.INFO: ==27803== Lock acquired, processing the job...
[2025-01-13 04:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:46:03] Production.INFO: Account Balance Start.
[2025-01-13 04:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:46:03] Production.INFO: 117
[2025-01-13 04:46:03] Production.INFO: count ==21
[2025-01-13 04:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 04:46:03] Production.INFO: count ==21
[2025-01-13 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236582') start
[2025-01-13 04:46:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:46:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236582') end
[2025-01-13 04:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:46:03] Production.INFO: 1
[2025-01-13 04:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:46:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:46:03] Production.INFO: ==27806== Releasing lock...
[2025-01-13 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:46:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:46:04] Production.ERROR: done
[2025-01-13 04:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:46:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:46:04] Production.INFO: ==27797== Releasing lock...
[2025-01-13 04:46:04] Production.INFO: Total Charge 0
[2025-01-13 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:46:04] Production.INFO: CreateAllLog End
[2025-01-13 04:46:04] Production.ERROR: done
[2025-01-13 04:46:04] Production.INFO: Account Balance End.
[2025-01-13 04:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:46:04] Production.INFO: ==27801== Releasing lock...
[2025-01-13 04:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:46:05
[end_date_ymd] => 2025-01-13 04:46:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:46:05' and `end` < '2025-01-13 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-13 04:46:11] Production.ERROR: CronJobId end10
[2025-01-13 04:46:11] Production.INFO: ==27799== Releasing lock...
[2025-01-13 04:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:46:13] Production.INFO: call_cost start
[2025-01-13 04:46:13] Production.INFO: call_cost end
[2025-01-13 04:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:46:14] Production.INFO: ==27795== Releasing lock...
[2025-01-13 04:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:46:26] Production.INFO: count ==118
[2025-01-13 04:46:26] Production.ERROR: pbx CDR StartTime 2025-01-13 01:46:05 - End Time 2025-01-13 04:46:05
[2025-01-13 04:46:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236586', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236586', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236586', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236586', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:46:26] Production.INFO: ProcessCDR(1,14236586,1,1,2)
[2025-01-13 04:46:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:46:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:46:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:46:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236586', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236586', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:46:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:46:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:46:29] Production.INFO: ==27803== Releasing lock...
[2025-01-13 04:46:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:46:29] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:47:01] Production.INFO: ==27862== Lock acquired, processing the job...
[2025-01-13 09:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:47:01] Production.INFO: neon service started
[2025-01-13 09:47:01] Production.INFO: neon service started
[2025-01-13 09:47:01] Production.INFO: ==27862== Releasing lock...
[2025-01-13 09:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:47:01] Production.INFO: ==27864== Lock acquired, processing the job...
[2025-01-13 04:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:47:02] Production.INFO: ==27864== Releasing lock...
[2025-01-13 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:47:02] Production.INFO: ==27866== Lock acquired, processing the job...
[2025-01-13 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:47:02] Production.INFO: ==27866== Releasing lock...
[2025-01-13 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:47:02] Production.INFO: ==27870== Lock acquired, processing the job...
[2025-01-13 04:47:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:47:02] Production.INFO: ==27868== Lock acquired, processing the job...
[2025-01-13 04:47:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:47:02] Production.INFO: ==27876== Lock acquired, processing the job...
[2025-01-13 04:47:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:47:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:47:03] Production.INFO: ==27872== Lock acquired, processing the job...
[2025-01-13 04:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:47:03] Production.INFO: ==27878== Lock acquired, processing the job...
[2025-01-13 04:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:47:03] Production.INFO: ==27874== Lock acquired, processing the job...
[2025-01-13 04:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:47:03] Production.ERROR: done
[2025-01-13 04:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:47:03] Production.INFO: ==27870== Releasing lock...
[2025-01-13 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:47:03] Production.INFO: Account Balance Start.
[2025-01-13 04:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:47:03] Production.INFO: 117
[2025-01-13 04:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:47:03] Production.ERROR: done
[2025-01-13 04:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:47:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:47:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:47:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:47:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:47:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:47:03] Production.INFO: Total Charge 0
[2025-01-13 04:47:03] Production.INFO: count ==21
[2025-01-13 04:47:03] Production.INFO: CreateAllLog End
[2025-01-13 04:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:47:03] Production.INFO: count ==21
[2025-01-13 04:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236589') start
[2025-01-13 04:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236589') end
[2025-01-13 04:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:47:03] Production.INFO: 1
[2025-01-13 04:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:47:03] Production.INFO: Account Balance End.
[2025-01-13 04:47:03] Production.ERROR: CronJobId end 12
[2025-01-13 04:47:03] Production.INFO: ==27874== Releasing lock...
[2025-01-13 04:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:47:03] Production.INFO: ==27878== Releasing lock...
[2025-01-13 04:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:47:04
[end_date_ymd] => 2025-01-13 04:47:04
[RateCDR] => 1
)
[2025-01-13 04:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:47:04' and `end` < '2025-01-13 04:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:47:11] Production.ERROR: CronJobId end10
[2025-01-13 04:47:11] Production.INFO: ==27872== Releasing lock...
[2025-01-13 04:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:47:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:47:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:47:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:47:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:47:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:47:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:47:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:47:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:47:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:47:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:47:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:47:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:47:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:47:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:47:12] Production.INFO: call_cost start
[2025-01-13 04:47:12] Production.INFO: call_cost end
[2025-01-13 04:47:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:47:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:47:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:47:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:47:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:47:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:47:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:47:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:47:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:47:12] Production.INFO: ==27868== Releasing lock...
[2025-01-13 04:47:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:47:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:47:18] Production.INFO: count ==118
[2025-01-13 04:47:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:47:04 - End Time 2025-01-13 04:47:04
[2025-01-13 04:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236591', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236591', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236591', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236591', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:47:18] Production.INFO: ProcessCDR(1,14236591,1,1,2)
[2025-01-13 04:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236591', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236591', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:47:21] Production.INFO: ==27876== Releasing lock...
[2025-01-13 04:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:47:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:48:01] Production.INFO: ==27932== Lock acquired, processing the job...
[2025-01-13 09:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:48:01] Production.INFO: neon service started
[2025-01-13 09:48:01] Production.INFO: neon service started
[2025-01-13 09:48:01] Production.INFO: ==27932== Releasing lock...
[2025-01-13 09:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:48:02] Production.INFO: ==27937== Lock acquired, processing the job...
[2025-01-13 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:48:02] Production.INFO: ==27937== Releasing lock...
[2025-01-13 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:48:02] Production.INFO: ==27935== Lock acquired, processing the job...
[2025-01-13 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:48:02] Production.INFO: ==27935== Releasing lock...
[2025-01-13 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:48:03] Production.INFO: ==27939== Lock acquired, processing the job...
[2025-01-13 04:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:48:03] Production.INFO: ==27943== Lock acquired, processing the job...
[2025-01-13 04:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:48:03] Production.INFO: ==27947== Lock acquired, processing the job...
[2025-01-13 04:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:48:03] Production.INFO: ==27941== Lock acquired, processing the job...
[2025-01-13 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:48:03] Production.INFO: ==27945== Lock acquired, processing the job...
[2025-01-13 04:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:48:03] Production.INFO: ==27949== Lock acquired, processing the job...
[2025-01-13 04:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:48:04] Production.INFO: Account Balance Start.
[2025-01-13 04:48:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:48:04] Production.INFO: 117
[2025-01-13 04:48:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:48:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:48:04] Production.ERROR: done
[2025-01-13 04:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:48:04] Production.INFO: count ==21
[2025-01-13 04:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 04:48:04] Production.INFO: count ==21
[2025-01-13 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236595') start
[2025-01-13 04:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:48:04] Production.INFO: ==27941== Releasing lock...
[2025-01-13 04:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:48:04] Production.INFO: Total Charge 0
[2025-01-13 04:48:04] Production.ERROR: done
[2025-01-13 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236595') end
[2025-01-13 04:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:48:04] Production.INFO: 1
[2025-01-13 04:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:48:04] Production.INFO: CreateAllLog End
[2025-01-13 04:48:04] Production.INFO: ==27949== Releasing lock...
[2025-01-13 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:48:04] Production.INFO: Account Balance End.
[2025-01-13 04:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:48:04] Production.INFO: ==27945== Releasing lock...
[2025-01-13 04:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:48:05
[end_date_ymd] => 2025-01-13 04:48:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:48:05' and `end` < '2025-01-13 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-13 04:48:11] Production.ERROR: CronJobId end10
[2025-01-13 04:48:11] Production.INFO: ==27943== Releasing lock...
[2025-01-13 04:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:48:13] Production.INFO: call_cost start
[2025-01-13 04:48:13] Production.INFO: call_cost end
[2025-01-13 04:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:48:13] Production.INFO: ==27939== Releasing lock...
[2025-01-13 04:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:48:18] Production.INFO: count ==118
[2025-01-13 04:48:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:48:05 - End Time 2025-01-13 04:48:05
[2025-01-13 04:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236596', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236596', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236596', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236596', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:48:18] Production.INFO: ProcessCDR(1,14236596,1,1,2)
[2025-01-13 04:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236596', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236596', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:48:22] Production.INFO: ==27947== Releasing lock...
[2025-01-13 04:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:48:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:49:02] Production.INFO: ==28029== Lock acquired, processing the job...
[2025-01-13 09:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:49:02] Production.INFO: neon service started
[2025-01-13 09:49:02] Production.INFO: neon service started
[2025-01-13 09:49:02] Production.INFO: ==28029== Releasing lock...
[2025-01-13 09:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:49:02] Production.INFO: ==28031== Lock acquired, processing the job...
[2025-01-13 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:49:03] Production.INFO: ==28033== Lock acquired, processing the job...
[2025-01-13 09:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:49:03] Production.INFO: ==28033== Releasing lock...
[2025-01-13 09:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:49:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:49:03] Production.INFO: ==28031== Releasing lock...
[2025-01-13 04:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:49:04] Production.INFO: ==28040== Lock acquired, processing the job...
[2025-01-13 04:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:49:04] Production.INFO: ==28046== Lock acquired, processing the job...
[2025-01-13 04:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:49:04] Production.INFO: ==28038== Lock acquired, processing the job...
[2025-01-13 04:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:49:04] Production.INFO: ==28042== Lock acquired, processing the job...
[2025-01-13 04:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:49:04] Production.INFO: ==28044== Lock acquired, processing the job...
[2025-01-13 04:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:49:04] Production.INFO: ==28036== Lock acquired, processing the job...
[2025-01-13 04:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:49:04] Production.INFO: count ==21
[2025-01-13 04:49:04] Production.INFO: Account Balance Start.
[2025-01-13 04:49:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:49:04] Production.INFO: 117
[2025-01-13 04:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:49:04] Production.INFO: count ==21
[2025-01-13 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236597') start
[2025-01-13 04:49:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:49:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:49:04] Production.ERROR: done
[2025-01-13 04:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:49:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236597') end
[2025-01-13 04:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:49:04] Production.INFO: 1
[2025-01-13 04:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:49:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:49:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:49:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:49:04] Production.INFO: Total Charge 0
[2025-01-13 04:49:04] Production.INFO: CreateAllLog End
[2025-01-13 04:49:04] Production.INFO: ==28046== Releasing lock...
[2025-01-13 04:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:49:04] Production.INFO: ==28038== Releasing lock...
[2025-01-13 04:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:49:05] Production.ERROR: done
[2025-01-13 04:49:05] Production.INFO: Account Balance End.
[2025-01-13 04:49:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:49:05] Production.INFO: ==28042== Releasing lock...
[2025-01-13 04:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:49:05
[end_date_ymd] => 2025-01-13 04:49:05
[RateCDR] => 1
)
[2025-01-13 04:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:49:05' and `end` < '2025-01-13 04:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:49:12] Production.ERROR: CronJobId end10
[2025-01-13 04:49:12] Production.INFO: ==28040== Releasing lock...
[2025-01-13 04:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:49:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:49:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:49:14] Production.INFO: call_cost start
[2025-01-13 04:49:14] Production.INFO: call_cost end
[2025-01-13 04:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:49:15] Production.INFO: ==28036== Releasing lock...
[2025-01-13 04:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:49:21] Production.INFO: count ==118
[2025-01-13 04:49:21] Production.ERROR: pbx CDR StartTime 2025-01-13 01:49:05 - End Time 2025-01-13 04:49:05
[2025-01-13 04:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236601', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236601', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236601', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236601', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:49:21] Production.INFO: ProcessCDR(1,14236601,1,1,2)
[2025-01-13 04:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236601', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236601', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:49:24] Production.INFO: ==28044== Releasing lock...
[2025-01-13 04:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:49:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:50:01] Production.INFO: ==28127== Lock acquired, processing the job...
[2025-01-13 09:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:50:01] Production.INFO: neon service started
[2025-01-13 09:50:01] Production.INFO: neon service started
[2025-01-13 09:50:01] Production.INFO: ==28127== Releasing lock...
[2025-01-13 09:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:50:02] Production.INFO: ==28129== Lock acquired, processing the job...
[2025-01-13 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:50:02] Production.INFO: ==28129== Releasing lock...
[2025-01-13 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:50:02] Production.INFO: ==28131== Lock acquired, processing the job...
[2025-01-13 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:50:02] Production.INFO: ==28131== Releasing lock...
[2025-01-13 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:50:03] Production.INFO: ==28133== Lock acquired, processing the job...
[2025-01-13 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 04:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 04:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 04:50:03] Production.INFO: ==28133== Releasing lock...
[2025-01-13 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 04:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 04:50:03] Production.INFO: ==28135== Lock acquired, processing the job...
[2025-01-13 04:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:50:03] Production.INFO: ==28139== Lock acquired, processing the job...
[2025-01-13 04:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:50:03] Production.INFO: ==28141== Lock acquired, processing the job...
[2025-01-13 04:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:50:03] Production.INFO: Account Balance Start.
[2025-01-13 04:50:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:50:03] Production.INFO: 117
[2025-01-13 04:50:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:50:03] Production.INFO: ==28137== Lock acquired, processing the job...
[2025-01-13 04:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:50:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:50:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:50:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:50:03] Production.INFO: ==28143== Lock acquired, processing the job...
[2025-01-13 04:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:50:04] Production.INFO: Total Charge 0
[2025-01-13 04:50:04] Production.INFO: CreateAllLog End
[2025-01-13 04:50:04] Production.INFO: ==28146== Lock acquired, processing the job...
[2025-01-13 04:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 04:50:04] Production.INFO: ==28148== Lock acquired, processing the job...
[2025-01-13 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:50:04] Production.INFO: ==28137== Releasing lock...
[2025-01-13 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:50:04] Production.INFO: count ==21
[2025-01-13 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-13 04:50:04] Production.INFO: count ==21
[2025-01-13 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236605') start
[2025-01-13 04:50:04] Production.ERROR: done
[2025-01-13 04:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236605') end
[2025-01-13 04:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:50:04] Production.INFO: 1
[2025-01-13 04:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:50:04] Production.INFO: ==28148== Releasing lock...
[2025-01-13 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:50:04] Production.INFO: Account Balance End.
[2025-01-13 04:50:04] Production.ERROR: done
[2025-01-13 04:50:04] Production.ERROR: done
[2025-01-13 04:50:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:50:04] Production.INFO: ==28141== Releasing lock...
[2025-01-13 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 04:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236607', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 04:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:50:05
[end_date_ymd] => 2025-01-13 04:50:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:50:05' and `end` < '2025-01-13 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-13 04:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236607', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 04:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 04:50:08] Production.INFO: ProcessCDR(1,14236607,1,1,2)
[2025-01-13 04:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236607,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236607,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:50:08] Production.INFO: ==28146== Releasing lock...
[2025-01-13 04:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 04:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 04:50:12] Production.ERROR: CronJobId end10
[2025-01-13 04:50:12] Production.INFO: ==28139== Releasing lock...
[2025-01-13 04:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:50:15] Production.INFO: call_cost start
[2025-01-13 04:50:15] Production.INFO: call_cost end
[2025-01-13 04:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:50:16] Production.INFO: ==28135== Releasing lock...
[2025-01-13 04:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:50:21] Production.INFO: count ==114
[2025-01-13 04:50:21] Production.ERROR: pbx CDR StartTime 2025-01-13 01:50:05 - End Time 2025-01-13 04:50:05
[2025-01-13 04:50:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236606', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236606', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236606', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236606', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:50:21] Production.INFO: ProcessCDR(1,14236606,1,1,2)
[2025-01-13 04:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236606', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236606', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:50:24] Production.INFO: ==28143== Releasing lock...
[2025-01-13 04:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:50:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:51:02] Production.INFO: ==28228== Lock acquired, processing the job...
[2025-01-13 09:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:51:02] Production.INFO: neon service started
[2025-01-13 09:51:02] Production.INFO: neon service started
[2025-01-13 09:51:02] Production.INFO: ==28228== Releasing lock...
[2025-01-13 09:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:51:02] Production.INFO: ==28232== Lock acquired, processing the job...
[2025-01-13 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:51:02] Production.INFO: ==28232== Releasing lock...
[2025-01-13 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:51:02] Production.INFO: ==28230== Lock acquired, processing the job...
[2025-01-13 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:51:02] Production.INFO: ==28230== Releasing lock...
[2025-01-13 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:51:03] Production.INFO: ==28237== Lock acquired, processing the job...
[2025-01-13 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:51:03] Production.INFO: ==28241== Lock acquired, processing the job...
[2025-01-13 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:51:03] Production.INFO: ==28245== Lock acquired, processing the job...
[2025-01-13 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:51:03] Production.INFO: Account Balance Start.
[2025-01-13 04:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:51:03] Production.INFO: 117
[2025-01-13 04:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:51:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:51:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:51:04] Production.INFO: ==28235== Lock acquired, processing the job...
[2025-01-13 04:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:51:04] Production.INFO: ==28243== Lock acquired, processing the job...
[2025-01-13 04:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:51:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:51:04] Production.INFO: ==28237== Releasing lock...
[2025-01-13 04:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:51:04] Production.INFO: count ==21
[2025-01-13 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:51:04] Production.INFO: ==28239== Lock acquired, processing the job...
[2025-01-13 04:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:51:04] Production.INFO: count ==21
[2025-01-13 04:51:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236610') start
[2025-01-13 04:51:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:51:04] Production.INFO: Total Charge 0
[2025-01-13 04:51:04] Production.INFO: CreateAllLog End
[2025-01-13 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236610') end
[2025-01-13 04:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:51:04] Production.INFO: 1
[2025-01-13 04:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:51:04] Production.INFO: ==28245== Releasing lock...
[2025-01-13 04:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:51:04] Production.ERROR: done
[2025-01-13 04:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:51:04] Production.ERROR: done
[2025-01-13 04:51:04] Production.INFO: Account Balance End.
[2025-01-13 04:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:51:04] Production.INFO: ==28241== Releasing lock...
[2025-01-13 04:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:51:05
[end_date_ymd] => 2025-01-13 04:51:05
[RateCDR] => 1
)
[2025-01-13 04:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:51:05' and `end` < '2025-01-13 04:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:51:11] Production.ERROR: CronJobId end10
[2025-01-13 04:51:11] Production.INFO: ==28239== Releasing lock...
[2025-01-13 04:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:51:13] Production.INFO: call_cost start
[2025-01-13 04:51:13] Production.INFO: call_cost end
[2025-01-13 04:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:51:14] Production.INFO: ==28235== Releasing lock...
[2025-01-13 04:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:51:20] Production.INFO: count ==112
[2025-01-13 04:51:20] Production.ERROR: pbx CDR StartTime 2025-01-13 01:51:05 - End Time 2025-01-13 04:51:05
[2025-01-13 04:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236612', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236612', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236612', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236612', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:51:20] Production.INFO: ProcessCDR(1,14236612,1,1,2)
[2025-01-13 04:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236612', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236612', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:51:24] Production.INFO: ==28243== Releasing lock...
[2025-01-13 04:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:51:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:52:01] Production.INFO: ==28370== Lock acquired, processing the job...
[2025-01-13 09:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:52:01] Production.INFO: neon service started
[2025-01-13 09:52:01] Production.INFO: neon service started
[2025-01-13 09:52:01] Production.INFO: ==28370== Releasing lock...
[2025-01-13 09:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:52:02] Production.INFO: ==28372== Lock acquired, processing the job...
[2025-01-13 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:52:02] Production.INFO: ==28372== Releasing lock...
[2025-01-13 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:52:02] Production.INFO: ==28374== Lock acquired, processing the job...
[2025-01-13 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:52:02] Production.INFO: ==28374== Releasing lock...
[2025-01-13 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:52:03] Production.INFO: ==28378== Lock acquired, processing the job...
[2025-01-13 04:52:03] Production.INFO: ==28382== Lock acquired, processing the job...
[2025-01-13 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:52:03] Production.INFO: ==28376== Lock acquired, processing the job...
[2025-01-13 04:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:52:03] Production.INFO: Account Balance Start.
[2025-01-13 04:52:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:52:03] Production.INFO: 117
[2025-01-13 04:52:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:52:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:52:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:52:03] Production.INFO: ==28380== Lock acquired, processing the job...
[2025-01-13 04:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:52:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:52:03] Production.INFO: ==28384== Lock acquired, processing the job...
[2025-01-13 04:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:52:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:52:03] Production.INFO: ==28378== Releasing lock...
[2025-01-13 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:52:03] Production.INFO: ==28386== Lock acquired, processing the job...
[2025-01-13 04:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:52:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:52:03] Production.INFO: Total Charge 0
[2025-01-13 04:52:03] Production.INFO: CreateAllLog End
[2025-01-13 04:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:52:03] Production.INFO: count ==21
[2025-01-13 04:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:52:04] Production.ERROR: done
[2025-01-13 04:52:04] Production.INFO: count ==21
[2025-01-13 04:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236616') start
[2025-01-13 04:52:04] Production.INFO: Account Balance End.
[2025-01-13 04:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:52:04] Production.INFO: ==28382== Releasing lock...
[2025-01-13 04:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:52:04] Production.ERROR: done
[2025-01-13 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236616') end
[2025-01-13 04:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:52:04] Production.INFO: 1
[2025-01-13 04:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:52:04] Production.INFO: ==28386== Releasing lock...
[2025-01-13 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:52:04
[end_date_ymd] => 2025-01-13 04:52:04
[RateCDR] => 1
)
[2025-01-13 04: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-13 01:52:04' and `end` < '2025-01-13 04: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-13 04:52:10] Production.ERROR: CronJobId end10
[2025-01-13 04:52:10] Production.INFO: ==28380== Releasing lock...
[2025-01-13 04:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:52:13] Production.INFO: call_cost start
[2025-01-13 04:52:13] Production.INFO: call_cost end
[2025-01-13 04:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:52:14] Production.INFO: ==28376== Releasing lock...
[2025-01-13 04:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:52:19] Production.INFO: count ==112
[2025-01-13 04:52:19] Production.ERROR: pbx CDR StartTime 2025-01-13 01:52:04 - End Time 2025-01-13 04:52:04
[2025-01-13 04:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236617', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236617', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236617', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236617', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:52:19] Production.INFO: ProcessCDR(1,14236617,1,1,2)
[2025-01-13 04:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236617', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236617', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:52:22] Production.INFO: ==28384== Releasing lock...
[2025-01-13 04:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:52:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:53:02] Production.INFO: ==28470== Lock acquired, processing the job...
[2025-01-13 09:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:53:02] Production.INFO: neon service started
[2025-01-13 09:53:02] Production.INFO: neon service started
[2025-01-13 09:53:02] Production.INFO: ==28470== Releasing lock...
[2025-01-13 09:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:53:02] Production.INFO: ==28473== Lock acquired, processing the job...
[2025-01-13 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:53:02] Production.INFO: ==28473== Releasing lock...
[2025-01-13 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:53:03] Production.INFO: ==28475== Lock acquired, processing the job...
[2025-01-13 09:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:53:03] Production.INFO: ==28475== Releasing lock...
[2025-01-13 09:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:53:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:53:03] Production.INFO: ==28477== Lock acquired, processing the job...
[2025-01-13 04:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:53:03] Production.INFO: ==28479== Lock acquired, processing the job...
[2025-01-13 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:53:03] Production.INFO: ==28481== Lock acquired, processing the job...
[2025-01-13 04:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:53:03] Production.INFO: ==28485== Lock acquired, processing the job...
[2025-01-13 04:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:53:03] Production.INFO: ==28483== Lock acquired, processing the job...
[2025-01-13 04:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:53:03] Production.INFO: ==28487== Lock acquired, processing the job...
[2025-01-13 04:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:53:04] Production.INFO: Account Balance Start.
[2025-01-13 04:53:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:53:04] Production.INFO: 117
[2025-01-13 04:53:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:53:04] Production.INFO: count ==21
[2025-01-13 04:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:53:04] Production.INFO: count ==21
[2025-01-13 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236621') start
[2025-01-13 04:53:04] Production.INFO: ==28479== Releasing lock...
[2025-01-13 04:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:53:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:53:04] Production.ERROR: done
[2025-01-13 04:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:53:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:53:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236621') end
[2025-01-13 04:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:53:04] Production.INFO: 1
[2025-01-13 04:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:53:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:53:04] Production.INFO: ==28487== Releasing lock...
[2025-01-13 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:53:04] Production.ERROR: done
[2025-01-13 04:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:53:04] Production.INFO: Total Charge 0
[2025-01-13 04:53:04] Production.INFO: CreateAllLog End
[2025-01-13 04:53:04] Production.INFO: Account Balance End.
[2025-01-13 04:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:53:04] Production.INFO: ==28483== Releasing lock...
[2025-01-13 04:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:53:05
[end_date_ymd] => 2025-01-13 04:53:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:53:05' and `end` < '2025-01-13 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-13 04:53:11] Production.ERROR: CronJobId end10
[2025-01-13 04:53:11] Production.INFO: ==28481== Releasing lock...
[2025-01-13 04:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:53:13] Production.INFO: call_cost start
[2025-01-13 04:53:13] Production.INFO: call_cost end
[2025-01-13 04:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:53:14] Production.INFO: ==28477== Releasing lock...
[2025-01-13 04:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:53:21] Production.INFO: count ==112
[2025-01-13 04:53:21] Production.ERROR: pbx CDR StartTime 2025-01-13 01:53:05 - End Time 2025-01-13 04:53:05
[2025-01-13 04:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236622', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236622', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236622', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236622', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:53:21] Production.INFO: ProcessCDR(1,14236622,1,1,2)
[2025-01-13 04:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236622', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236622', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:53:24] Production.INFO: ==28485== Releasing lock...
[2025-01-13 04:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:53:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:54:01] Production.INFO: ==28569== Lock acquired, processing the job...
[2025-01-13 09:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:54:01] Production.INFO: neon service started
[2025-01-13 09:54:01] Production.INFO: neon service started
[2025-01-13 09:54:01] Production.INFO: ==28569== Releasing lock...
[2025-01-13 09:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:54:02] Production.INFO: ==28571== Lock acquired, processing the job...
[2025-01-13 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:54:02] Production.INFO: ==28573== Lock acquired, processing the job...
[2025-01-13 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:54:02] Production.INFO: ==28573== Releasing lock...
[2025-01-13 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:54:02] Production.INFO: ==28571== Releasing lock...
[2025-01-13 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:54:03] Production.INFO: ==28584== Lock acquired, processing the job...
[2025-01-13 04:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:54:03] Production.INFO: ==28586== Lock acquired, processing the job...
[2025-01-13 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:54:03] Production.INFO: Account Balance Start.
[2025-01-13 04:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:54:03] Production.INFO: 117
[2025-01-13 04:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:54:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:54:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:54:03] Production.INFO: ==28578== Lock acquired, processing the job...
[2025-01-13 04:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:54:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:54:03] Production.INFO: ==28580== Lock acquired, processing the job...
[2025-01-13 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:54:03] Production.INFO: ==28582== Lock acquired, processing the job...
[2025-01-13 04:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:54:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:54:03] Production.INFO: ==28588== Lock acquired, processing the job...
[2025-01-13 04:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:54:03] Production.ERROR: done
[2025-01-13 04:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:54:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:54:03] Production.INFO: Total Charge 0
[2025-01-13 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:54:03] Production.INFO: CreateAllLog End
[2025-01-13 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:54:03] Production.INFO: count ==21
[2025-01-13 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-13 04:54:04] Production.INFO: count ==21
[2025-01-13 04:54:04] Production.ERROR: done
[2025-01-13 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236626') start
[2025-01-13 04:54:04] Production.INFO: Account Balance End.
[2025-01-13 04:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:54:04] Production.INFO: ==28584== Releasing lock...
[2025-01-13 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:54:04] Production.INFO: ==28580== Releasing lock...
[2025-01-13 04:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236626') end
[2025-01-13 04:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:54:04] Production.INFO: 1
[2025-01-13 04:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:54:04] Production.INFO: ==28588== Releasing lock...
[2025-01-13 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:54:05
[end_date_ymd] => 2025-01-13 04:54:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:54:05' and `end` < '2025-01-13 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-13 04:54:11] Production.ERROR: CronJobId end10
[2025-01-13 04:54:11] Production.INFO: ==28582== Releasing lock...
[2025-01-13 04:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:54:13] Production.INFO: call_cost start
[2025-01-13 04:54:13] Production.INFO: call_cost end
[2025-01-13 04:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:54:14] Production.INFO: ==28578== Releasing lock...
[2025-01-13 04:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:54:18] Production.INFO: count ==112
[2025-01-13 04:54:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:54:05 - End Time 2025-01-13 04:54:05
[2025-01-13 04:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236627', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236627', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236627', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236627', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:54:18] Production.INFO: ProcessCDR(1,14236627,1,1,2)
[2025-01-13 04:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236627', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236627', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:54:21] Production.INFO: ==28586== Releasing lock...
[2025-01-13 04:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:54:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:55:02] Production.INFO: ==28665== Lock acquired, processing the job...
[2025-01-13 09:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:55:02] Production.INFO: neon service started
[2025-01-13 09:55:02] Production.INFO: neon service started
[2025-01-13 09:55:02] Production.INFO: ==28665== Releasing lock...
[2025-01-13 09:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:55:02] Production.INFO: ==28671== Lock acquired, processing the job...
[2025-01-13 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:55:02] Production.INFO: ==28671== Releasing lock...
[2025-01-13 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:55:02] Production.INFO: ==28669== Lock acquired, processing the job...
[2025-01-13 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:55:02] Production.INFO: ==28669== Releasing lock...
[2025-01-13 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:55:03] Production.INFO: ==28674== Lock acquired, processing the job...
[2025-01-13 04:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:55:03] Production.INFO: ==28682== Lock acquired, processing the job...
[2025-01-13 04:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:55:03] Production.INFO: ==28676== Lock acquired, processing the job...
[2025-01-13 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:55:04] Production.INFO: ==28678== Lock acquired, processing the job...
[2025-01-13 04:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:55:04] Production.INFO: ==28680== Lock acquired, processing the job...
[2025-01-13 04:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:55:04] Production.INFO: ==28684== Lock acquired, processing the job...
[2025-01-13 04:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:55:04] Production.ERROR: done
[2025-01-13 04:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:55:04] Production.INFO: Account Balance Start.
[2025-01-13 04:55:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:55:04] Production.INFO: 117
[2025-01-13 04:55:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:55:04] Production.INFO: count ==21
[2025-01-13 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:55:04] Production.INFO: count ==21
[2025-01-13 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236630') start
[2025-01-13 04:55:04] Production.ERROR: done
[2025-01-13 04:55:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:55:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:55:04] Production.INFO: ==28676== Releasing lock...
[2025-01-13 04:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:55:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236630') end
[2025-01-13 04:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:55:04] Production.INFO: 1
[2025-01-13 04:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:55:04] Production.INFO: ==28684== Releasing lock...
[2025-01-13 04:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:55:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:55:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:55:04] Production.INFO: Total Charge 0
[2025-01-13 04:55:04] Production.INFO: CreateAllLog End
[2025-01-13 04:55:04] Production.INFO: Account Balance End.
[2025-01-13 04:55:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:55:05] Production.INFO: ==28680== Releasing lock...
[2025-01-13 04:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:55:05
[end_date_ymd] => 2025-01-13 04:55:05
[RateCDR] => 1
)
[2025-01-13 04:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 01:55:05' and `end` < '2025-01-13 04:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 04:55:12] Production.ERROR: CronJobId end10
[2025-01-13 04:55:12] Production.INFO: ==28678== Releasing lock...
[2025-01-13 04:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:55:14] Production.INFO: call_cost start
[2025-01-13 04:55:14] Production.INFO: call_cost end
[2025-01-13 04:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:55:14] Production.INFO: ==28674== Releasing lock...
[2025-01-13 04:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:55:19] Production.INFO: count ==112
[2025-01-13 04:55:19] Production.ERROR: pbx CDR StartTime 2025-01-13 01:55:05 - End Time 2025-01-13 04:55:05
[2025-01-13 04:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236632', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236632', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236632', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236632', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:55:19] Production.INFO: ProcessCDR(1,14236632,1,1,2)
[2025-01-13 04:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236632', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236632', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:55:22] Production.INFO: ==28682== Releasing lock...
[2025-01-13 04:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:55:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:56:01] Production.INFO: ==28764== Lock acquired, processing the job...
[2025-01-13 09:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:56:01] Production.INFO: neon service started
[2025-01-13 09:56:01] Production.INFO: neon service started
[2025-01-13 09:56:01] Production.INFO: ==28764== Releasing lock...
[2025-01-13 09:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:56:01] Production.INFO: ==28768== Lock acquired, processing the job...
[2025-01-13 09:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:56:01] Production.INFO: ==28768== Releasing lock...
[2025-01-13 09:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:56:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:56:02] Production.INFO: ==28766== Lock acquired, processing the job...
[2025-01-13 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:56:02] Production.INFO: ==28766== Releasing lock...
[2025-01-13 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:56:03] Production.INFO: ==28771== Lock acquired, processing the job...
[2025-01-13 04:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:56:03] Production.INFO: ==28773== Lock acquired, processing the job...
[2025-01-13 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:56:03] Production.INFO: ==28779== Lock acquired, processing the job...
[2025-01-13 04:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:56:03] Production.INFO: ==28775== Lock acquired, processing the job...
[2025-01-13 04:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:56:03] Production.INFO: ==28777== Lock acquired, processing the job...
[2025-01-13 04:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:56:03] Production.INFO: ==28781== Lock acquired, processing the job...
[2025-01-13 04:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:56:03] Production.ERROR: done
[2025-01-13 04:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:56:03] Production.INFO: ==28773== Releasing lock...
[2025-01-13 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:56:03] Production.INFO: Account Balance Start.
[2025-01-13 04:56:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:56:03] Production.INFO: 117
[2025-01-13 04:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:56:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:56:03] Production.INFO: count ==21
[2025-01-13 04:56:03] Production.ERROR: done
[2025-01-13 04:56:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:56:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:56:03] Production.INFO: count ==21
[2025-01-13 04:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236635') start
[2025-01-13 04:56:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236635') end
[2025-01-13 04:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:56:04] Production.INFO: 1
[2025-01-13 04:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:56:04] Production.INFO: Total Charge 0
[2025-01-13 04:56:04] Production.INFO: ==28781== Releasing lock...
[2025-01-13 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:56:04] Production.INFO: CreateAllLog End
[2025-01-13 04:56:04] Production.INFO: Account Balance End.
[2025-01-13 04:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:56:04] Production.INFO: ==28777== Releasing lock...
[2025-01-13 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:56:04
[end_date_ymd] => 2025-01-13 04:56:04
[RateCDR] => 1
)
[2025-01-13 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-13 01:56:04' and `end` < '2025-01-13 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-13 04:56:10] Production.ERROR: CronJobId end10
[2025-01-13 04:56:10] Production.INFO: ==28775== Releasing lock...
[2025-01-13 04:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:56:13] Production.INFO: call_cost start
[2025-01-13 04:56:13] Production.INFO: call_cost end
[2025-01-13 04:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:56:14] Production.INFO: ==28771== Releasing lock...
[2025-01-13 04:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:56:20] Production.INFO: count ==112
[2025-01-13 04:56:20] Production.ERROR: pbx CDR StartTime 2025-01-13 01:56:04 - End Time 2025-01-13 04:56:04
[2025-01-13 04:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236637', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236637', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236637', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236637', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:56:20] Production.INFO: ProcessCDR(1,14236637,1,1,2)
[2025-01-13 04:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236637', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236637', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:56:23] Production.INFO: ==28779== Releasing lock...
[2025-01-13 04:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:56:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:57:01] Production.INFO: ==28861== Lock acquired, processing the job...
[2025-01-13 09:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:57:01] Production.INFO: neon service started
[2025-01-13 09:57:01] Production.INFO: neon service started
[2025-01-13 09:57:01] Production.INFO: ==28861== Releasing lock...
[2025-01-13 09:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:57:02] Production.INFO: ==28865== Lock acquired, processing the job...
[2025-01-13 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:57:02] Production.INFO: ==28865== Releasing lock...
[2025-01-13 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:57:02] Production.INFO: ==28863== Lock acquired, processing the job...
[2025-01-13 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:57:02] Production.INFO: ==28863== Releasing lock...
[2025-01-13 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:57:03] Production.INFO: ==28869== Lock acquired, processing the job...
[2025-01-13 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:57:03] Production.INFO: ==28867== Lock acquired, processing the job...
[2025-01-13 04:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:57:03] Production.INFO: ==28878== Lock acquired, processing the job...
[2025-01-13 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:57:03] Production.INFO: ==28869== Releasing lock...
[2025-01-13 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:57:03] Production.INFO: ==28871== Lock acquired, processing the job...
[2025-01-13 04:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 04:57:04] Production.INFO: ==28873== Lock acquired, processing the job...
[2025-01-13 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:57:04] Production.INFO: ==28875== Lock acquired, processing the job...
[2025-01-13 04:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:57:04] Production.INFO: count ==21
[2025-01-13 04:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:57:04] Production.INFO: count ==21
[2025-01-13 04:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236640') start
[2025-01-13 04:57:04] Production.INFO: Account Balance Start.
[2025-01-13 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236640') end
[2025-01-13 04:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:57:04] Production.INFO: 1
[2025-01-13 04:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:57:04] Production.INFO: CreateAllLog Start
[2025-01-13 04:57:04] Production.INFO: 117
[2025-01-13 04:57:04] Production.INFO: Date 2025-01-08
[2025-01-13 04:57:04] Production.INFO: ==28878== Releasing lock...
[2025-01-13 04:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:57:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:57:04] Production.ERROR: done
[2025-01-13 04:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:57:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:57:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:57:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:57:04] Production.ERROR: done
[2025-01-13 04:57:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:57:04] Production.INFO: Total Charge 0
[2025-01-13 04:57:04] Production.INFO: CreateAllLog End
[2025-01-13 04:57:05] Production.INFO: Account Balance End.
[2025-01-13 04:57:05] Production.ERROR: CronJobId end 12
[2025-01-13 04:57:05] Production.INFO: ==28873== Releasing lock...
[2025-01-13 04:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:57:05
[end_date_ymd] => 2025-01-13 04:57:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:57:05' and `end` < '2025-01-13 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-13 04:57:11] Production.ERROR: CronJobId end10
[2025-01-13 04:57:11] Production.INFO: ==28871== Releasing lock...
[2025-01-13 04:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:57:13] Production.INFO: call_cost start
[2025-01-13 04:57:13] Production.INFO: call_cost end
[2025-01-13 04:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:57:14] Production.INFO: ==28867== Releasing lock...
[2025-01-13 04:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:57:21] Production.INFO: count ==112
[2025-01-13 04:57:21] Production.ERROR: pbx CDR StartTime 2025-01-13 01:57:05 - End Time 2025-01-13 04:57:05
[2025-01-13 04:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236642', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236642', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236642', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236642', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:57:21] Production.INFO: ProcessCDR(1,14236642,1,1,2)
[2025-01-13 04:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236642', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236642', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:57:24] Production.INFO: ==28875== Releasing lock...
[2025-01-13 04:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:57:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:58:01] Production.INFO: ==28957== Lock acquired, processing the job...
[2025-01-13 09:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:58:01] Production.INFO: neon service started
[2025-01-13 09:58:01] Production.INFO: neon service started
[2025-01-13 09:58:01] Production.INFO: ==28957== Releasing lock...
[2025-01-13 09:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:58:01] Production.INFO: ==28959== Lock acquired, processing the job...
[2025-01-13 04:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 04:58:02] Production.INFO: ==28959== Releasing lock...
[2025-01-13 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:58:02] Production.INFO: ==28961== Lock acquired, processing the job...
[2025-01-13 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:58:02] Production.INFO: ==28961== Releasing lock...
[2025-01-13 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:58:02] Production.INFO: ==28963== Lock acquired, processing the job...
[2025-01-13 04:58:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:58:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:58:02] Production.INFO: ==28965== Lock acquired, processing the job...
[2025-01-13 04:58:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:58:02] Production.INFO: ==28969== Lock acquired, processing the job...
[2025-01-13 04:58:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:58:03] Production.INFO: ==28965== Releasing lock...
[2025-01-13 04:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:58:03] Production.INFO: ==28967== Lock acquired, processing the job...
[2025-01-13 04:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:58:03] Production.INFO: Account Balance Start.
[2025-01-13 04:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:58:03] Production.INFO: 117
[2025-01-13 04:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:58:03] Production.INFO: ==28972== Lock acquired, processing the job...
[2025-01-13 04:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:58:03] Production.INFO: ==28974== Lock acquired, processing the job...
[2025-01-13 04:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:58:03] Production.INFO: Date 2025-01-13
[2025-01-13 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 04:58:03] Production.ERROR: done
[2025-01-13 04:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:58:03] Production.INFO: count ==21
[2025-01-13 04: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-13 04:58:03] Production.INFO: count ==21
[2025-01-13 04:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236646') start
[2025-01-13 04:58:03] Production.INFO: Total Charge 0
[2025-01-13 04:58:03] Production.INFO: CreateAllLog End
[2025-01-13 04:58:03] Production.ERROR: done
[2025-01-13 04:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236646') end
[2025-01-13 04:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:58:03] Production.INFO: 1
[2025-01-13 04:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:58:04] Production.INFO: Account Balance End.
[2025-01-13 04:58:04] Production.INFO: ==28974== Releasing lock...
[2025-01-13 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:58:04] Production.INFO: ==28969== Releasing lock...
[2025-01-13 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:58:05
[end_date_ymd] => 2025-01-13 04:58:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:58:05' and `end` < '2025-01-13 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-13 04:58:10] Production.ERROR: CronJobId end10
[2025-01-13 04:58:10] Production.INFO: ==28967== Releasing lock...
[2025-01-13 04:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:58:12] Production.INFO: call_cost start
[2025-01-13 04:58:12] Production.INFO: call_cost end
[2025-01-13 04:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:58:13] Production.INFO: ==28963== Releasing lock...
[2025-01-13 04:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:58:18] Production.INFO: count ==112
[2025-01-13 04:58:18] Production.ERROR: pbx CDR StartTime 2025-01-13 01:58:05 - End Time 2025-01-13 04:58:05
[2025-01-13 04:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236647', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236647', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236647', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236647', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:58:18] Production.INFO: ProcessCDR(1,14236647,1,1,2)
[2025-01-13 04:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236647', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236647', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:58:22] Production.INFO: ==28972== Releasing lock...
[2025-01-13 04:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:58:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:59:01] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-01-13 09:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 09:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 09:59:01] Production.INFO: neon service started
[2025-01-13 09:59:01] Production.INFO: neon service started
[2025-01-13 09:59:01] Production.INFO: ==29059== Releasing lock...
[2025-01-13 09:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 09:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 04:59:02] Production.INFO: ==29061== Lock acquired, processing the job...
[2025-01-13 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:59:02] Production.INFO: ==29063== Lock acquired, processing the job...
[2025-01-13 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:59:02] Production.INFO: ==29063== Releasing lock...
[2025-01-13 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 09:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 04:59:02] Production.INFO: ==29061== Releasing lock...
[2025-01-13 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 04:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 04:59:03] Production.INFO: ==29068== Lock acquired, processing the job...
[2025-01-13 04:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 04:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 04:59:03] Production.INFO: ==29074== Lock acquired, processing the job...
[2025-01-13 04:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 04:59:03] Production.INFO: ==29076== Lock acquired, processing the job...
[2025-01-13 04:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 04:59:03] Production.INFO: ==29070== Lock acquired, processing the job...
[2025-01-13 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 04:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 04:59:03] Production.INFO: Account Balance Start.
[2025-01-13 04:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 04:59:03] Production.INFO: 117
[2025-01-13 04:59:03] Production.INFO: ==29072== Lock acquired, processing the job...
[2025-01-13 04:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 04:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 04:59:04] Production.INFO: ==29078== Lock acquired, processing the job...
[2025-01-13 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:59:04] Production.INFO: Date 2025-01-09
[2025-01-13 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 04:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 04:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 04:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 04:59:04] Production.INFO: Date 2025-01-10
[2025-01-13 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:59:04] Production.INFO: Date 2025-01-11
[2025-01-13 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:59:04] Production.INFO: ==29070== Releasing lock...
[2025-01-13 04:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 04:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 04:59:04] Production.ERROR: done
[2025-01-13 04:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 04:59:04] Production.INFO: Date 2025-01-12
[2025-01-13 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:59:04] Production.INFO: Date 2025-01-13
[2025-01-13 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 04:59:04] Production.ERROR: done
[2025-01-13 04:59:04] Production.INFO: count ==21
[2025-01-13 04:59:04] Production.INFO: Total Charge 0
[2025-01-13 04:59:04] Production.INFO: CreateAllLog End
[2025-01-13 04:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 04:59:04] Production.INFO: count ==21
[2025-01-13 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236651') start
[2025-01-13 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236651') end
[2025-01-13 04:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 04:59:04] Production.INFO: 1
[2025-01-13 04:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 04:59:04] Production.INFO: Account Balance End.
[2025-01-13 04:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 04:59:04] Production.INFO: ==29074== Releasing lock...
[2025-01-13 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 04:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 04:59:04] Production.INFO: ==29078== Releasing lock...
[2025-01-13 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 04:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 04:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 01:59:05
[end_date_ymd] => 2025-01-13 04:59:05
[RateCDR] => 1
)
[2025-01-13 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-13 01:59:05' and `end` < '2025-01-13 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-13 04:59:12] Production.ERROR: CronJobId end10
[2025-01-13 04:59:12] Production.INFO: ==29072== Releasing lock...
[2025-01-13 04:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 04:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 04:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 04:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 04:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 04:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 04:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 04:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 04:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 04:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 04:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 04:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 04:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 04:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 04:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 04:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 04:59:14] Production.INFO: call_cost start
[2025-01-13 04:59:14] Production.INFO: call_cost end
[2025-01-13 04:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 04:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 04:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 04:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 04:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 04:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 04:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 04:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 04:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 04:59:15] Production.INFO: ==29068== Releasing lock...
[2025-01-13 04:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 04:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 04:59:20] Production.INFO: count ==112
[2025-01-13 04:59:20] Production.ERROR: pbx CDR StartTime 2025-01-13 01:59:05 - End Time 2025-01-13 04:59:05
[2025-01-13 04:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236652', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236652', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236652', 'tblTempVendorCDR_20' ) start
[2025-01-13 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236652', 'tblTempVendorCDR_20' ) end
[2025-01-13 04:59:20] Production.INFO: ProcessCDR(1,14236652,1,1,2)
[2025-01-13 04:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 04:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 04:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236652', 'tblTempUsageDetail_20' ) start
[2025-01-13 04:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236652', 'tblTempUsageDetail_20' ) end
[2025-01-13 04:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 04:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 04:59:23] Production.INFO: ==29076== Releasing lock...
[2025-01-13 04:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 04:59:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:00:02] Production.INFO: ==29161== Lock acquired, processing the job...
[2025-01-13 10:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:00:02] Production.INFO: neon service started
[2025-01-13 10:00:02] Production.INFO: neon service started
[2025-01-13 10:00:02] Production.INFO: ==29161== Releasing lock...
[2025-01-13 10:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:00:02] Production.INFO: ==29163== Lock acquired, processing the job...
[2025-01-13 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:00:03] Production.INFO: ==29163== Releasing lock...
[2025-01-13 05:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:00:03] Production.INFO: ==29165== Lock acquired, processing the job...
[2025-01-13 10:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:00:03] Production.INFO: ==29165== Releasing lock...
[2025-01-13 10:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:00:04] Production.INFO: ==29171== Lock acquired, processing the job...
[2025-01-13 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:00:04] Production.INFO: ==29167== Lock acquired, processing the job...
[2025-01-13 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 05:00:04] Production.INFO: ==29180== Lock acquired, processing the job...
[2025-01-13 05:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:00:04] Production.INFO: ==29182== Lock acquired, processing the job...
[2025-01-13 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 05:00:04] Production.ERROR: CronJob PID - 29171
[2025-01-13 05:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 05:00:04] Production.ERROR: CronJob ID - 7
[2025-01-13 05:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 05:00:00
[2025-01-13 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 05:00:04] Production.ERROR: CronJob PID - 29180
[2025-01-13 05:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 05:00:04] Production.ERROR: CronJob ID - 17
[2025-01-13 05:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 05:00:00
[2025-01-13 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 05:00:04] Production.ERROR: CronJob PID - 29182
[2025-01-13 05:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 05:00:04] Production.ERROR: CronJob ID - 19
[2025-01-13 05:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 05:00:00
[2025-01-13 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 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-13 05:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 05:00:04] Production.INFO: ==29167== Releasing lock...
[2025-01-13 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 05:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 05:00:04] Production.INFO: ==29169== Lock acquired, processing the job...
[2025-01-13 05:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:00:04] Production.INFO: ==29173== Lock acquired, processing the job...
[2025-01-13 05:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:00:04] Production.INFO: ==29176== Lock acquired, processing the job...
[2025-01-13 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:00:04] Production.ERROR: done
[2025-01-13 05:00:04] Production.INFO: ==29171== Releasing lock...
[2025-01-13 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:00:04] Production.INFO: ==29178== Lock acquired, processing the job...
[2025-01-13 05:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 05:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236655', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:00:04] Production.INFO: count ==21
[2025-01-13 05:00:04] Production.INFO: Account Balance Start.
[2025-01-13 05:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:00:04] Production.INFO: 117
[2025-01-13 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-13 05:00:04] Production.INFO: count ==21
[2025-01-13 05:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236654') start
[2025-01-13 05:00:05] Production.INFO: Date 2025-01-09
[2025-01-13 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 05:00:05] Production.INFO: Date 2025-01-10
[2025-01-13 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 05:00:05] Production.INFO: Date 2025-01-11
[2025-01-13 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 05:00:05] Production.INFO: Date 2025-01-12
[2025-01-13 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 05:00:05] Production.ERROR: done
[2025-01-13 05:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236654') end
[2025-01-13 05:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:00:05] Production.INFO: 1
[2025-01-13 05:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:00:05] Production.INFO: Date 2025-01-13
[2025-01-13 05:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 05:00:05] Production.INFO: Total Charge 0
[2025-01-13 05:00:05] Production.INFO: CreateAllLog End
[2025-01-13 05:00:05] Production.INFO: ==29182== Releasing lock...
[2025-01-13 05:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:00:05] Production.ERROR: done
[2025-01-13 05:00:05] Production.INFO: Account Balance End.
[2025-01-13 05:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 05:00:05] Production.INFO: ==29176== Releasing lock...
[2025-01-13 05:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:00:06
[end_date_ymd] => 2025-01-13 05:00:06
[RateCDR] => 1
)
[2025-01-13 05:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:00:06' and `end` < '2025-01-13 05:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236655', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 05:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 05:00:09] Production.INFO: ProcessCDR(1,14236655,1,1,2)
[2025-01-13 05:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236655,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236655,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:00:09] Production.INFO: ==29180== Releasing lock...
[2025-01-13 05:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 05:00:10] Production.INFO: 26 MB #Memory Used#
[2025-01-13 05:00:14] Production.ERROR: CronJobId end10
[2025-01-13 05:00:14] Production.INFO: ==29173== Releasing lock...
[2025-01-13 05:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:00:16] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:00:16] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:00:16] Production.INFO: call_cost start
[2025-01-13 05:00:16] Production.INFO: call_cost end
[2025-01-13 05:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:00:17] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:00:17] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:00:17] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:00:17] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:00:17] Production.INFO: ==29169== Releasing lock...
[2025-01-13 05:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:00:21] Production.INFO: count ==106
[2025-01-13 05:00:21] Production.ERROR: pbx CDR StartTime 2025-01-13 02:00:06 - End Time 2025-01-13 05:00:06
[2025-01-13 05:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236658', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236658', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236658', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236658', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:00:21] Production.INFO: ProcessCDR(1,14236658,1,1,2)
[2025-01-13 05:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236658', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236658', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:00:24] Production.INFO: ==29178== Releasing lock...
[2025-01-13 05:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:00:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:01:02] Production.INFO: ==29261== Lock acquired, processing the job...
[2025-01-13 10:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:01:02] Production.INFO: neon service started
[2025-01-13 10:01:02] Production.INFO: neon service started
[2025-01-13 10:01:02] Production.INFO: ==29261== Releasing lock...
[2025-01-13 10:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:01:02] Production.INFO: ==29274== Lock acquired, processing the job...
[2025-01-13 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:01:02] Production.INFO: ==29274== Releasing lock...
[2025-01-13 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:01:02] Production.INFO: ==29276== Lock acquired, processing the job...
[2025-01-13 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:01:02] Production.INFO: ==29276== Releasing lock...
[2025-01-13 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:01:03] Production.INFO: ==29279== Lock acquired, processing the job...
[2025-01-13 05:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:01:03] Production.INFO: ==29281== Lock acquired, processing the job...
[2025-01-13 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:01:03] Production.INFO: ==29287== Lock acquired, processing the job...
[2025-01-13 05:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:01:03] Production.INFO: ==29285== Lock acquired, processing the job...
[2025-01-13 05:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:01:03] Production.INFO: ==29289== Lock acquired, processing the job...
[2025-01-13 05:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:01:03] Production.INFO: ==29281== Releasing lock...
[2025-01-13 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:01:03] Production.INFO: ==29283== Lock acquired, processing the job...
[2025-01-13 05:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 05:01:03] Production.INFO: Account Balance Start.
[2025-01-13 05:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:01:04] Production.INFO: 117
[2025-01-13 05:01:04] Production.ERROR: done
[2025-01-13 05:01:04] Production.INFO: count ==21
[2025-01-13 05:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:01:04] Production.INFO: count ==21
[2025-01-13 05:01:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236662') start
[2025-01-13 05:01:04] Production.ERROR: done
[2025-01-13 05:01:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236662') end
[2025-01-13 05:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:01:04] Production.INFO: 1
[2025-01-13 05:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:01:04] Production.INFO: ==29289== Releasing lock...
[2025-01-13 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:01:04] Production.INFO: Total Charge 0
[2025-01-13 05:01:04] Production.INFO: CreateAllLog End
[2025-01-13 05:01:04] Production.INFO: Account Balance End.
[2025-01-13 05:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:01:04] Production.INFO: ==29285== Releasing lock...
[2025-01-13 05:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:01:05
[end_date_ymd] => 2025-01-13 05:01:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:01:05' and `end` < '2025-01-13 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-13 05:01:11] Production.ERROR: CronJobId end10
[2025-01-13 05:01:11] Production.INFO: ==29283== Releasing lock...
[2025-01-13 05:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:01:14] Production.INFO: call_cost start
[2025-01-13 05:01:14] Production.INFO: call_cost end
[2025-01-13 05:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:01:15] Production.INFO: ==29279== Releasing lock...
[2025-01-13 05:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:01:19] Production.INFO: count ==106
[2025-01-13 05:01:19] Production.ERROR: pbx CDR StartTime 2025-01-13 02:01:05 - End Time 2025-01-13 05:01:05
[2025-01-13 05:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236663', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236663', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236663', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236663', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:01:19] Production.INFO: ProcessCDR(1,14236663,1,1,2)
[2025-01-13 05:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236663', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236663', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:01:23] Production.INFO: ==29287== Releasing lock...
[2025-01-13 05:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:01:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:02:01] Production.INFO: ==29368== Lock acquired, processing the job...
[2025-01-13 10:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:02:01] Production.INFO: neon service started
[2025-01-13 10:02:01] Production.INFO: neon service started
[2025-01-13 10:02:01] Production.INFO: ==29368== Releasing lock...
[2025-01-13 10:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:02:01] Production.INFO: ==29370== Lock acquired, processing the job...
[2025-01-13 05:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:02:02] Production.INFO: ==29370== Releasing lock...
[2025-01-13 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:02:02] Production.INFO: ==29372== Lock acquired, processing the job...
[2025-01-13 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:02:02] Production.INFO: ==29372== Releasing lock...
[2025-01-13 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:02:02] Production.INFO: ==29379== Lock acquired, processing the job...
[2025-01-13 05:02:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:02:02] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:02:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:02:02] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:02:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:02:03] Production.INFO: ==29375== Lock acquired, processing the job...
[2025-01-13 05:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:02:03] Production.INFO: ==29377== Lock acquired, processing the job...
[2025-01-13 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:02:03] Production.INFO: ==29385== Lock acquired, processing the job...
[2025-01-13 05:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:02:03] Production.INFO: ==29381== Lock acquired, processing the job...
[2025-01-13 05:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:02:03] Production.INFO: count ==21
[2025-01-13 05:02:03] Production.INFO: ==29383== Lock acquired, processing the job...
[2025-01-13 05:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:02:03] Production.INFO: count ==21
[2025-01-13 05:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236666') start
[2025-01-13 05:02:03] Production.INFO: Account Balance Start.
[2025-01-13 05:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:02:03] Production.INFO: 117
[2025-01-13 05:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236666') end
[2025-01-13 05:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:02:03] Production.INFO: 1
[2025-01-13 05:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:02:03] Production.INFO: ==29385== Releasing lock...
[2025-01-13 05:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:02:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:02:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:02:03] Production.ERROR: done
[2025-01-13 05:02:03] Production.INFO: ==29377== Releasing lock...
[2025-01-13 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:02:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:02:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:02:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:02:03] Production.ERROR: done
[2025-01-13 05:02:03] Production.INFO: Total Charge 0
[2025-01-13 05:02:03] Production.INFO: CreateAllLog End
[2025-01-13 05:02:04] Production.INFO: Account Balance End.
[2025-01-13 05:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:02:04] Production.INFO: ==29381== Releasing lock...
[2025-01-13 05:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:02:04
[end_date_ymd] => 2025-01-13 05:02:04
[RateCDR] => 1
)
[2025-01-13 05:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:02:04' and `end` < '2025-01-13 05:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:02:10] Production.ERROR: CronJobId end10
[2025-01-13 05:02:10] Production.INFO: ==29379== Releasing lock...
[2025-01-13 05:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:02:12] Production.INFO: call_cost start
[2025-01-13 05:02:12] Production.INFO: call_cost end
[2025-01-13 05:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:02:13] Production.INFO: ==29375== Releasing lock...
[2025-01-13 05:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:02:18] Production.INFO: count ==106
[2025-01-13 05:02:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:02:04 - End Time 2025-01-13 05:02:04
[2025-01-13 05:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236668', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236668', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236668', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236668', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:02:18] Production.INFO: ProcessCDR(1,14236668,1,1,2)
[2025-01-13 05:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236668', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236668', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:02:21] Production.INFO: ==29383== Releasing lock...
[2025-01-13 05:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:02:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:03:01] Production.INFO: ==29465== Lock acquired, processing the job...
[2025-01-13 10:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:03:01] Production.INFO: neon service started
[2025-01-13 10:03:01] Production.INFO: neon service started
[2025-01-13 10:03:01] Production.INFO: ==29465== Releasing lock...
[2025-01-13 10:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:03:02] Production.INFO: ==29467== Lock acquired, processing the job...
[2025-01-13 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:03:02] Production.INFO: ==29467== Releasing lock...
[2025-01-13 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:03:02] Production.INFO: ==29469== Lock acquired, processing the job...
[2025-01-13 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:03:02] Production.INFO: ==29469== Releasing lock...
[2025-01-13 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:03:03] Production.INFO: ==29475== Lock acquired, processing the job...
[2025-01-13 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:03:03] Production.INFO: ==29473== Lock acquired, processing the job...
[2025-01-13 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:03:03] Production.INFO: ==29481== Lock acquired, processing the job...
[2025-01-13 05:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:03:03] Production.INFO: ==29477== Lock acquired, processing the job...
[2025-01-13 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:03:03] Production.INFO: ==29479== Lock acquired, processing the job...
[2025-01-13 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:03:03] Production.INFO: ==29484== Lock acquired, processing the job...
[2025-01-13 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:03:03] Production.INFO: Account Balance Start.
[2025-01-13 05:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:03:03] Production.INFO: 117
[2025-01-13 05:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 05:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:03:03] Production.INFO: ==29475== Releasing lock...
[2025-01-13 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:03:03] Production.INFO: count ==21
[2025-01-13 05:03:04] Production.ERROR: done
[2025-01-13 05:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:03:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 05:03:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:03:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:03:04] Production.INFO: Total Charge 0
[2025-01-13 05:03:04] Production.INFO: CreateAllLog End
[2025-01-13 05:03:04] Production.ERROR: done
[2025-01-13 05:03:04] Production.INFO: count ==21
[2025-01-13 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236672') start
[2025-01-13 05:03:04] Production.INFO: Account Balance End.
[2025-01-13 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236672') end
[2025-01-13 05:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:03:04] Production.INFO: 1
[2025-01-13 05:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:03:04] Production.INFO: ==29484== Releasing lock...
[2025-01-13 05:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:03:04] Production.INFO: ==29479== Releasing lock...
[2025-01-13 05:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:03:05
[end_date_ymd] => 2025-01-13 05:03:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:03:05' and `end` < '2025-01-13 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-13 05:03:12] Production.ERROR: CronJobId end10
[2025-01-13 05:03:12] Production.INFO: ==29477== Releasing lock...
[2025-01-13 05:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:03:13] Production.INFO: call_cost start
[2025-01-13 05:03:13] Production.INFO: call_cost end
[2025-01-13 05:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:03:14] Production.INFO: ==29473== Releasing lock...
[2025-01-13 05:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:03:20] Production.INFO: count ==106
[2025-01-13 05:03:20] Production.ERROR: pbx CDR StartTime 2025-01-13 02:03:05 - End Time 2025-01-13 05:03:05
[2025-01-13 05:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236673', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236673', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236673', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236673', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:03:20] Production.INFO: ProcessCDR(1,14236673,1,1,2)
[2025-01-13 05:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236673', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236673', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:03:23] Production.INFO: ==29481== Releasing lock...
[2025-01-13 05:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:03:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:04:02] Production.INFO: ==29564== Lock acquired, processing the job...
[2025-01-13 10:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:04:02] Production.INFO: neon service started
[2025-01-13 10:04:02] Production.INFO: neon service started
[2025-01-13 10:04:02] Production.INFO: ==29564== Releasing lock...
[2025-01-13 10:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:04:02] Production.INFO: ==29567== Lock acquired, processing the job...
[2025-01-13 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:04:03] Production.INFO: ==29567== Releasing lock...
[2025-01-13 05:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:04:03] Production.INFO: ==29569== Lock acquired, processing the job...
[2025-01-13 10:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:04:03] Production.INFO: ==29569== Releasing lock...
[2025-01-13 10:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:04:03] Production.INFO: ==29571== Lock acquired, processing the job...
[2025-01-13 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:04:04] Production.INFO: ==29573== Lock acquired, processing the job...
[2025-01-13 05:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:04:04] Production.INFO: ==29577== Lock acquired, processing the job...
[2025-01-13 05:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:04:04] Production.INFO: Account Balance Start.
[2025-01-13 05:04:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:04:04] Production.INFO: 117
[2025-01-13 05:04:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:04:04] Production.INFO: ==29575== Lock acquired, processing the job...
[2025-01-13 05:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:04:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:04:04] Production.INFO: ==29579== Lock acquired, processing the job...
[2025-01-13 05:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:04:04] Production.INFO: ==29573== Releasing lock...
[2025-01-13 05:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:04:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:04:04] Production.INFO: ==29581== Lock acquired, processing the job...
[2025-01-13 05:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:04:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:04:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:04:04] Production.INFO: Total Charge 0
[2025-01-13 05:04:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 05:04:04] Production.INFO: count ==21
[2025-01-13 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-13 05:04:04] Production.INFO: count ==21
[2025-01-13 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236677') start
[2025-01-13 05:04:04] Production.ERROR: done
[2025-01-13 05:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236677') end
[2025-01-13 05:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:04:05] Production.INFO: 1
[2025-01-13 05:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:04:05] Production.INFO: Account Balance End.
[2025-01-13 05:04:05] Production.ERROR: done
[2025-01-13 05:04:05] Production.INFO: ==29581== Releasing lock...
[2025-01-13 05:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:04:05] Production.ERROR: CronJobId end 12
[2025-01-13 05:04:05] Production.INFO: ==29577== Releasing lock...
[2025-01-13 05:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:04:06
[end_date_ymd] => 2025-01-13 05:04:06
[RateCDR] => 1
)
[2025-01-13 05:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:04:06' and `end` < '2025-01-13 05:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:04:11] Production.ERROR: CronJobId end10
[2025-01-13 05:04:11] Production.INFO: ==29575== Releasing lock...
[2025-01-13 05:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:04:13] Production.INFO: call_cost start
[2025-01-13 05:04:13] Production.INFO: call_cost end
[2025-01-13 05:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:04:14] Production.INFO: ==29571== Releasing lock...
[2025-01-13 05:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:04:19] Production.INFO: count ==106
[2025-01-13 05:04:19] Production.ERROR: pbx CDR StartTime 2025-01-13 02:04:06 - End Time 2025-01-13 05:04:06
[2025-01-13 05:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236678', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236678', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236678', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236678', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:04:19] Production.INFO: ProcessCDR(1,14236678,1,1,2)
[2025-01-13 05:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236678', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236678', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:04:22] Production.INFO: ==29579== Releasing lock...
[2025-01-13 05:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:04:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:05:01] Production.INFO: ==29670== Lock acquired, processing the job...
[2025-01-13 10:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:05:01] Production.INFO: neon service started
[2025-01-13 10:05:01] Production.INFO: neon service started
[2025-01-13 10:05:01] Production.INFO: ==29670== Releasing lock...
[2025-01-13 10:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:05:02] Production.INFO: ==29674== Lock acquired, processing the job...
[2025-01-13 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:05:02] Production.INFO: ==29674== Releasing lock...
[2025-01-13 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:05:02] Production.INFO: ==29672== Lock acquired, processing the job...
[2025-01-13 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:05:02] Production.INFO: ==29672== Releasing lock...
[2025-01-13 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:05:03] Production.INFO: ==29681== Lock acquired, processing the job...
[2025-01-13 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:05:03] Production.INFO: ==29683== Lock acquired, processing the job...
[2025-01-13 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:05:03] Production.INFO: ==29677== Lock acquired, processing the job...
[2025-01-13 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:05:03] Production.INFO: ==29679== Lock acquired, processing the job...
[2025-01-13 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:05:03] Production.INFO: Account Balance Start.
[2025-01-13 05:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:05:03] Production.INFO: 117
[2025-01-13 05:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:05:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:05:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:05:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:05:03] Production.INFO: Total Charge 0
[2025-01-13 05:05:03] Production.INFO: CreateAllLog End
[2025-01-13 05:05:03] Production.INFO: ==29685== Lock acquired, processing the job...
[2025-01-13 05:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:05:03] Production.INFO: ==29687== Lock acquired, processing the job...
[2025-01-13 05:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:05:04] Production.INFO: Account Balance End.
[2025-01-13 05:05:04] Production.INFO: ==29679== Releasing lock...
[2025-01-13 05:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:05:04] Production.INFO: ==29683== Releasing lock...
[2025-01-13 05:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:05:04] Production.INFO: count ==21
[2025-01-13 05:05:04] Production.ERROR: done
[2025-01-13 05:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:05:04] Production.INFO: count ==21
[2025-01-13 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236682') start
[2025-01-13 05:05:04] Production.ERROR: done
[2025-01-13 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236682') end
[2025-01-13 05:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:05:04] Production.INFO: 1
[2025-01-13 05:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:05:04] Production.INFO: ==29687== Releasing lock...
[2025-01-13 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:05:05
[end_date_ymd] => 2025-01-13 05:05:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:05:05' and `end` < '2025-01-13 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-13 05:05:11] Production.ERROR: CronJobId end10
[2025-01-13 05:05:11] Production.INFO: ==29681== Releasing lock...
[2025-01-13 05:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:05:14] Production.INFO: call_cost start
[2025-01-13 05:05:14] Production.INFO: call_cost end
[2025-01-13 05:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:05:14] Production.INFO: ==29677== Releasing lock...
[2025-01-13 05:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:05:18] Production.INFO: count ==106
[2025-01-13 05:05:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:05:05 - End Time 2025-01-13 05:05:05
[2025-01-13 05:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236683', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236683', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236683', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236683', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:05:18] Production.INFO: ProcessCDR(1,14236683,1,1,2)
[2025-01-13 05:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236683', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236683', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:05:21] Production.INFO: ==29685== Releasing lock...
[2025-01-13 05:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:05:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:06:01] Production.INFO: ==29768== Lock acquired, processing the job...
[2025-01-13 10:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:06:01] Production.INFO: neon service started
[2025-01-13 10:06:01] Production.INFO: neon service started
[2025-01-13 10:06:01] Production.INFO: ==29768== Releasing lock...
[2025-01-13 10:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:06:01] Production.INFO: ==29770== Lock acquired, processing the job...
[2025-01-13 05:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:06:02] Production.INFO: ==29772== Lock acquired, processing the job...
[2025-01-13 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:06:02] Production.INFO: ==29770== Releasing lock...
[2025-01-13 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:06:02] Production.INFO: ==29772== Releasing lock...
[2025-01-13 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:06:02] Production.INFO: ==29776== Lock acquired, processing the job...
[2025-01-13 05:06:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:06:02] Production.INFO: ==29780== Lock acquired, processing the job...
[2025-01-13 05:06:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:06:02] Production.INFO: ==29782== Lock acquired, processing the job...
[2025-01-13 05:06:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:06:03] Production.INFO: Account Balance Start.
[2025-01-13 05:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:06:03] Production.INFO: 117
[2025-01-13 05:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:06:03] Production.INFO: ==29774== Lock acquired, processing the job...
[2025-01-13 05:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:06:03] Production.INFO: ==29784== Lock acquired, processing the job...
[2025-01-13 05:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:06:03] Production.INFO: ==29778== Lock acquired, processing the job...
[2025-01-13 05:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:06:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:06:03] Production.INFO: ==29776== Releasing lock...
[2025-01-13 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:06:03] Production.ERROR: done
[2025-01-13 05:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:06:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:06:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:06:03] Production.INFO: count ==21
[2025-01-13 05: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-13 05:06:03] Production.INFO: count ==21
[2025-01-13 05:06:03] Production.ERROR: done
[2025-01-13 05:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236686') start
[2025-01-13 05:06:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:06:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:06:03] Production.INFO: Total Charge 0
[2025-01-13 05:06:03] Production.INFO: CreateAllLog End
[2025-01-13 05:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236686') end
[2025-01-13 05:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:06:03] Production.INFO: 1
[2025-01-13 05:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:06:03] Production.INFO: ==29784== Releasing lock...
[2025-01-13 05:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:06:03] Production.INFO: Account Balance End.
[2025-01-13 05:06:03] Production.ERROR: CronJobId end 12
[2025-01-13 05:06:03] Production.INFO: ==29780== Releasing lock...
[2025-01-13 05:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:06:04
[end_date_ymd] => 2025-01-13 05:06:04
[RateCDR] => 1
)
[2025-01-13 05: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-13 02:06:04' and `end` < '2025-01-13 05: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-13 05:06:10] Production.ERROR: CronJobId end10
[2025-01-13 05:06:10] Production.INFO: ==29778== Releasing lock...
[2025-01-13 05:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:06:13] Production.INFO: call_cost start
[2025-01-13 05:06:13] Production.INFO: call_cost end
[2025-01-13 05:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:06:14] Production.INFO: ==29774== Releasing lock...
[2025-01-13 05:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:06:18] Production.INFO: count ==106
[2025-01-13 05:06:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:06:04 - End Time 2025-01-13 05:06:04
[2025-01-13 05:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236688', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236688', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236688', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236688', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:06:18] Production.INFO: ProcessCDR(1,14236688,1,1,2)
[2025-01-13 05:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236688', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236688', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:06:22] Production.INFO: ==29782== Releasing lock...
[2025-01-13 05:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:06:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:07:01] Production.INFO: ==29843== Lock acquired, processing the job...
[2025-01-13 10:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:07:01] Production.INFO: neon service started
[2025-01-13 10:07:01] Production.INFO: neon service started
[2025-01-13 10:07:01] Production.INFO: ==29843== Releasing lock...
[2025-01-13 10:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:07:02] Production.INFO: ==29845== Lock acquired, processing the job...
[2025-01-13 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:07:02] Production.INFO: ==29847== Lock acquired, processing the job...
[2025-01-13 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:07:02] Production.INFO: ==29847== Releasing lock...
[2025-01-13 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:07:02] Production.INFO: ==29845== Releasing lock...
[2025-01-13 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:07:03] Production.INFO: ==29852== Lock acquired, processing the job...
[2025-01-13 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:07:03] Production.INFO: ==29850== Lock acquired, processing the job...
[2025-01-13 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:07:03] Production.INFO: ==29858== Lock acquired, processing the job...
[2025-01-13 05:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:07:03] Production.INFO: ==29856== Lock acquired, processing the job...
[2025-01-13 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:07:04] Production.INFO: ==29854== Lock acquired, processing the job...
[2025-01-13 05:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:07:04] Production.INFO: ==29860== Lock acquired, processing the job...
[2025-01-13 05:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:07:04] Production.INFO: Account Balance Start.
[2025-01-13 05:07:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:07:04] Production.INFO: 117
[2025-01-13 05:07:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:07:04] Production.INFO: ==29852== Releasing lock...
[2025-01-13 05:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:07:04] Production.ERROR: done
[2025-01-13 05:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:07:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:07:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:07:04] Production.INFO: count ==21
[2025-01-13 05:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:07:04] Production.INFO: count ==21
[2025-01-13 05:07:04] Production.ERROR: done
[2025-01-13 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236692') start
[2025-01-13 05:07:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:07:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:07:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236692') end
[2025-01-13 05:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:07:04] Production.INFO: 1
[2025-01-13 05:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:07:04] Production.INFO: Total Charge 0
[2025-01-13 05:07:04] Production.INFO: CreateAllLog End
[2025-01-13 05:07:04] Production.INFO: ==29860== Releasing lock...
[2025-01-13 05:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:07:04] Production.INFO: Account Balance End.
[2025-01-13 05:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:07:04] Production.INFO: ==29856== Releasing lock...
[2025-01-13 05:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:07:05
[end_date_ymd] => 2025-01-13 05:07:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:07:05' and `end` < '2025-01-13 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-13 05:07:11] Production.ERROR: CronJobId end10
[2025-01-13 05:07:11] Production.INFO: ==29854== Releasing lock...
[2025-01-13 05:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:07:13] Production.INFO: call_cost start
[2025-01-13 05:07:13] Production.INFO: call_cost end
[2025-01-13 05:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:07:14] Production.INFO: ==29850== Releasing lock...
[2025-01-13 05:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:07:18] Production.INFO: count ==106
[2025-01-13 05:07:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:07:05 - End Time 2025-01-13 05:07:05
[2025-01-13 05:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236693', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236693', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236693', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236693', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:07:18] Production.INFO: ProcessCDR(1,14236693,1,1,2)
[2025-01-13 05:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236693', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236693', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:07:21] Production.INFO: ==29858== Releasing lock...
[2025-01-13 05:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:07:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:08:01] Production.INFO: ==29952== Lock acquired, processing the job...
[2025-01-13 10:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:08:01] Production.INFO: neon service started
[2025-01-13 10:08:01] Production.INFO: neon service started
[2025-01-13 10:08:01] Production.INFO: ==29952== Releasing lock...
[2025-01-13 10:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:08:01] Production.INFO: ==29956== Lock acquired, processing the job...
[2025-01-13 10:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:08:01] Production.INFO: ==29956== Releasing lock...
[2025-01-13 10:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:08:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:08:01] Production.INFO: ==29954== Lock acquired, processing the job...
[2025-01-13 05:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:08:02] Production.INFO: ==29954== Releasing lock...
[2025-01-13 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:08:03] Production.INFO: ==29963== Lock acquired, processing the job...
[2025-01-13 05:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:08:03] Production.INFO: ==29969== Lock acquired, processing the job...
[2025-01-13 05:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 05:08:03] Production.INFO: ==29959== Lock acquired, processing the job...
[2025-01-13 05:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:08:03] Production.INFO: count ==21
[2025-01-13 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-13 05:08:03] Production.INFO: count ==21
[2025-01-13 05:08:03] Production.INFO: ==29961== Lock acquired, processing the job...
[2025-01-13 05:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236694') start
[2025-01-13 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236694') end
[2025-01-13 05:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:08:03] Production.INFO: 1
[2025-01-13 05:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:08:03] Production.INFO: ==29965== Lock acquired, processing the job...
[2025-01-13 05:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:08:03] Production.INFO: ==29967== Lock acquired, processing the job...
[2025-01-13 05:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:08:03] Production.INFO: ==29969== Releasing lock...
[2025-01-13 05:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:08:03] Production.INFO: Account Balance Start.
[2025-01-13 05:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:08:03] Production.INFO: 117
[2025-01-13 05:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:08:03] Production.INFO: ==29961== Releasing lock...
[2025-01-13 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:08:03] Production.ERROR: done
[2025-01-13 05:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:08:04] Production.ERROR: done
[2025-01-13 05:08:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:08:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:08:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:08:04] Production.INFO: Total Charge 0
[2025-01-13 05:08:04] Production.INFO: CreateAllLog End
[2025-01-13 05:08:04] Production.INFO: Account Balance End.
[2025-01-13 05:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:08:04] Production.INFO: ==29965== Releasing lock...
[2025-01-13 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:08:05
[end_date_ymd] => 2025-01-13 05:08:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:08:05' and `end` < '2025-01-13 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-13 05:08:10] Production.ERROR: CronJobId end10
[2025-01-13 05:08:10] Production.INFO: ==29963== Releasing lock...
[2025-01-13 05:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:08:12] Production.INFO: call_cost start
[2025-01-13 05:08:12] Production.INFO: call_cost end
[2025-01-13 05:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:08:13] Production.INFO: ==29959== Releasing lock...
[2025-01-13 05:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:08:18] Production.INFO: count ==106
[2025-01-13 05:08:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:08:05 - End Time 2025-01-13 05:08:05
[2025-01-13 05:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236698', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236698', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236698', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236698', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:08:18] Production.INFO: ProcessCDR(1,14236698,1,1,2)
[2025-01-13 05:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236698', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236698', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:08:21] Production.INFO: ==29967== Releasing lock...
[2025-01-13 05:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:08:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:09:01] Production.INFO: ==30024== Lock acquired, processing the job...
[2025-01-13 10:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:09:01] Production.INFO: neon service started
[2025-01-13 10:09:01] Production.INFO: neon service started
[2025-01-13 10:09:01] Production.INFO: ==30024== Releasing lock...
[2025-01-13 10:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:09:02] Production.INFO: ==30026== Lock acquired, processing the job...
[2025-01-13 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:09:02] Production.INFO: ==30026== Releasing lock...
[2025-01-13 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:09:02] Production.INFO: ==30029== Lock acquired, processing the job...
[2025-01-13 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:09:02] Production.INFO: ==30029== Releasing lock...
[2025-01-13 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:09:03] Production.INFO: ==30039== Lock acquired, processing the job...
[2025-01-13 05:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:09:03] Production.INFO: ==30041== Lock acquired, processing the job...
[2025-01-13 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:09:03] Production.INFO: ==30031== Lock acquired, processing the job...
[2025-01-13 05:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:09:03] Production.INFO: ==30033== Lock acquired, processing the job...
[2025-01-13 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 05:09:03] Production.INFO: ==30035== Lock acquired, processing the job...
[2025-01-13 05:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:09:03] Production.INFO: count ==21
[2025-01-13 05:09:03] Production.INFO: ==30037== Lock acquired, processing the job...
[2025-01-13 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 05:09:03] Production.INFO: count ==21
[2025-01-13 05:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236699') start
[2025-01-13 05:09:03] Production.INFO: Account Balance Start.
[2025-01-13 05:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:09:03] Production.INFO: 117
[2025-01-13 05:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:09:03] Production.ERROR: done
[2025-01-13 05:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236699') end
[2025-01-13 05:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:09:03] Production.INFO: 1
[2025-01-13 05:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:09:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:09:03] Production.INFO: ==30041== Releasing lock...
[2025-01-13 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:09:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:09:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:09:03] Production.INFO: Total Charge 0
[2025-01-13 05:09:03] Production.INFO: ==30033== Releasing lock...
[2025-01-13 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:09:04] Production.ERROR: done
[2025-01-13 05:09:04] Production.INFO: CreateAllLog End
[2025-01-13 05:09:04] Production.INFO: Account Balance End.
[2025-01-13 05:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:09:04] Production.INFO: ==30037== Releasing lock...
[2025-01-13 05:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:09:04
[end_date_ymd] => 2025-01-13 05:09:04
[RateCDR] => 1
)
[2025-01-13 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-13 02:09:04' and `end` < '2025-01-13 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-13 05:09:10] Production.ERROR: CronJobId end10
[2025-01-13 05:09:10] Production.INFO: ==30035== Releasing lock...
[2025-01-13 05:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:09:13] Production.INFO: call_cost start
[2025-01-13 05:09:13] Production.INFO: call_cost end
[2025-01-13 05:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:09:13] Production.INFO: ==30031== Releasing lock...
[2025-01-13 05:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:09:17] Production.INFO: count ==106
[2025-01-13 05:09:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:09:04 - End Time 2025-01-13 05:09:04
[2025-01-13 05:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236703', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236703', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236703', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236703', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:09:17] Production.INFO: ProcessCDR(1,14236703,1,1,2)
[2025-01-13 05:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236703', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236703', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:09:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:09:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:09:20] Production.INFO: ==30039== Releasing lock...
[2025-01-13 05:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:09:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:10:02] Production.INFO: ==30097== Lock acquired, processing the job...
[2025-01-13 10:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:10:02] Production.INFO: neon service started
[2025-01-13 10:10:02] Production.INFO: neon service started
[2025-01-13 10:10:02] Production.INFO: ==30097== Releasing lock...
[2025-01-13 10:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:10:02] Production.INFO: ==30099== Lock acquired, processing the job...
[2025-01-13 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:10:02] Production.INFO: ==30101== Lock acquired, processing the job...
[2025-01-13 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:10:03] Production.INFO: ==30101== Releasing lock...
[2025-01-13 10:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:10:03] Production.INFO: ==30099== Releasing lock...
[2025-01-13 05:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:10:04] Production.INFO: ==30110== Lock acquired, processing the job...
[2025-01-13 05:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:10:04] Production.INFO: ==30104== Lock acquired, processing the job...
[2025-01-13 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 05:10:04] Production.INFO: ==30112== Lock acquired, processing the job...
[2025-01-13 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:10:04] Production.INFO: ==30116== Lock acquired, processing the job...
[2025-01-13 05:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 05:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 05:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 05:10:04] Production.ERROR: CronJob PID - 30110
[2025-01-13 05:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 05:10:04] Production.ERROR: CronJob ID - 10
[2025-01-13 05:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 05:10:00
[2025-01-13 05:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 05:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 05:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 05:10:04] Production.ERROR: CronJob PID - 30112
[2025-01-13 05:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 05:10:04] Production.ERROR: CronJob ID - 12
[2025-01-13 05:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 05:10:00
[2025-01-13 05:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 05:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 05:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 05:10:04] Production.INFO: ==30104== Releasing lock...
[2025-01-13 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 05:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 05:10:04] Production.INFO: Account Balance Start.
[2025-01-13 05:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:10:04] Production.INFO: 117
[2025-01-13 05:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:10:04] Production.INFO: ==30106== Lock acquired, processing the job...
[2025-01-13 05:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:10:04] Production.INFO: ==30108== Lock acquired, processing the job...
[2025-01-13 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:10:04] Production.INFO: ==30114== Lock acquired, processing the job...
[2025-01-13 05:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:10:04] Production.INFO: ==30118== Lock acquired, processing the job...
[2025-01-13 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:10:04] Production.ERROR: done
[2025-01-13 05:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 05:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236707', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 05:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 05:10:04] Production.INFO: ==30108== Releasing lock...
[2025-01-13 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:10:04] Production.INFO: Total Charge 0
[2025-01-13 05:10:04] Production.INFO: CreateAllLog End
[2025-01-13 05:10:04] Production.INFO: count ==21
[2025-01-13 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-13 05:10:04] Production.INFO: count ==21
[2025-01-13 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236708') start
[2025-01-13 05:10:04] Production.ERROR: done
[2025-01-13 05:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:10:04] Production.INFO: Account Balance End.
[2025-01-13 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236708') end
[2025-01-13 05:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:10:04] Production.INFO: 1
[2025-01-13 05:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:10:05] Production.ERROR: CronJobId end 12
[2025-01-13 05:10:05] Production.INFO: ==30112== Releasing lock...
[2025-01-13 05:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:10:05] Production.ERROR: done
[2025-01-13 05:10:05] Production.INFO: ==30118== Releasing lock...
[2025-01-13 05:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:10:05
[end_date_ymd] => 2025-01-13 05:10:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:10:05' and `end` < '2025-01-13 05:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236707', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 05:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 05:10:09] Production.INFO: ProcessCDR(1,14236707,1,1,2)
[2025-01-13 05:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236707,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236707,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:10:09] Production.INFO: ==30116== Releasing lock...
[2025-01-13 05:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 05:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 05:10:13] Production.ERROR: CronJobId end10
[2025-01-13 05:10:13] Production.INFO: ==30110== Releasing lock...
[2025-01-13 05:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:10:15] Production.INFO: call_cost start
[2025-01-13 05:10:15] Production.INFO: call_cost end
[2025-01-13 05:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:10:16] Production.INFO: ==30106== Releasing lock...
[2025-01-13 05:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:10:18] Production.INFO: count ==102
[2025-01-13 05:10:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:10:05 - End Time 2025-01-13 05:10:05
[2025-01-13 05:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236709', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236709', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236709', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236709', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:10:18] Production.INFO: ProcessCDR(1,14236709,1,1,2)
[2025-01-13 05:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236709', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236709', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:10:21] Production.INFO: ==30114== Releasing lock...
[2025-01-13 05:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:10:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:11:01] Production.INFO: ==30171== Lock acquired, processing the job...
[2025-01-13 10:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:11:01] Production.INFO: neon service started
[2025-01-13 10:11:01] Production.INFO: neon service started
[2025-01-13 10:11:01] Production.INFO: ==30171== Releasing lock...
[2025-01-13 10:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:11:02] Production.INFO: ==30173== Lock acquired, processing the job...
[2025-01-13 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:11:02] Production.INFO: ==30173== Releasing lock...
[2025-01-13 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:11:02] Production.INFO: ==30175== Lock acquired, processing the job...
[2025-01-13 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:11:02] Production.INFO: ==30175== Releasing lock...
[2025-01-13 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:11:03] Production.INFO: ==30178== Lock acquired, processing the job...
[2025-01-13 05:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:11:03] Production.INFO: ==30180== Lock acquired, processing the job...
[2025-01-13 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:11:03] Production.INFO: ==30182== Lock acquired, processing the job...
[2025-01-13 05:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:11:03] Production.INFO: ==30184== Lock acquired, processing the job...
[2025-01-13 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:11:03] Production.INFO: ==30186== Lock acquired, processing the job...
[2025-01-13 05:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:11:03] Production.INFO: Account Balance Start.
[2025-01-13 05:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:11:03] Production.INFO: 117
[2025-01-13 05:11:03] Production.INFO: ==30188== Lock acquired, processing the job...
[2025-01-13 05:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:11:03] Production.INFO: ==30180== Releasing lock...
[2025-01-13 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:11:03] Production.INFO: count ==21
[2025-01-13 05:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:11:03] Production.INFO: count ==21
[2025-01-13 05:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236713') start
[2025-01-13 05:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:11:03] Production.ERROR: done
[2025-01-13 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236713') end
[2025-01-13 05:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:11:04] Production.INFO: 1
[2025-01-13 05:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:11:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:11:04] Production.INFO: ==30188== Releasing lock...
[2025-01-13 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:11:04] Production.ERROR: done
[2025-01-13 05:11:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:11:04] Production.INFO: Total Charge 0
[2025-01-13 05:11:04] Production.INFO: CreateAllLog End
[2025-01-13 05:11:04] Production.INFO: Account Balance End.
[2025-01-13 05:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:11:04] Production.INFO: ==30184== Releasing lock...
[2025-01-13 05:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:11:05
[end_date_ymd] => 2025-01-13 05:11:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:11:05' and `end` < '2025-01-13 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-13 05:11:10] Production.ERROR: CronJobId end10
[2025-01-13 05:11:10] Production.INFO: ==30182== Releasing lock...
[2025-01-13 05:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:11:13] Production.INFO: call_cost start
[2025-01-13 05:11:13] Production.INFO: call_cost end
[2025-01-13 05:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:11:13] Production.INFO: ==30178== Releasing lock...
[2025-01-13 05:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:11:17] Production.INFO: count ==102
[2025-01-13 05:11:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:11:05 - End Time 2025-01-13 05:11:05
[2025-01-13 05:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236714', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236714', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236714', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236714', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:11:17] Production.INFO: ProcessCDR(1,14236714,1,1,2)
[2025-01-13 05:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236714', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236714', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:11:20] Production.INFO: ==30186== Releasing lock...
[2025-01-13 05:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:11:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:12:02] Production.INFO: ==30242== Lock acquired, processing the job...
[2025-01-13 10:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:12:02] Production.INFO: neon service started
[2025-01-13 10:12:02] Production.INFO: neon service started
[2025-01-13 10:12:02] Production.INFO: ==30242== Releasing lock...
[2025-01-13 10:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:12:02] Production.INFO: ==30245== Lock acquired, processing the job...
[2025-01-13 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:12:02] Production.INFO: ==30247== Lock acquired, processing the job...
[2025-01-13 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:12:02] Production.INFO: ==30247== Releasing lock...
[2025-01-13 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:12:03] Production.INFO: ==30245== Releasing lock...
[2025-01-13 05:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:12:03] Production.INFO: ==30249== Lock acquired, processing the job...
[2025-01-13 05:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:12:03] Production.INFO: ==30253== Lock acquired, processing the job...
[2025-01-13 05:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:12:03] Production.INFO: ==30259== Lock acquired, processing the job...
[2025-01-13 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:12:04] Production.INFO: count ==21
[2025-01-13 05:12:04] Production.INFO: ==30251== Lock acquired, processing the job...
[2025-01-13 05:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:12:04] Production.INFO: count ==21
[2025-01-13 05:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236716') start
[2025-01-13 05:12:04] Production.INFO: ==30255== Lock acquired, processing the job...
[2025-01-13 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:12:04] Production.INFO: ==30257== Lock acquired, processing the job...
[2025-01-13 05:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236716') end
[2025-01-13 05:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:12:04] Production.INFO: 1
[2025-01-13 05:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:12:04] Production.INFO: Account Balance Start.
[2025-01-13 05:12:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:12:04] Production.INFO: ==30259== Releasing lock...
[2025-01-13 05:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:12:04] Production.INFO: 117
[2025-01-13 05:12:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:12:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:12:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:12:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:12:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:12:04] Production.ERROR: done
[2025-01-13 05:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:12:04] Production.INFO: Total Charge 0
[2025-01-13 05:12:04] Production.INFO: CreateAllLog End
[2025-01-13 05:12:04] Production.INFO: ==30251== Releasing lock...
[2025-01-13 05:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:12:04] Production.ERROR: done
[2025-01-13 05:12:04] Production.INFO: Account Balance End.
[2025-01-13 05:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:12:04] Production.INFO: ==30255== Releasing lock...
[2025-01-13 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:12:05
[end_date_ymd] => 2025-01-13 05:12:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:12:05' and `end` < '2025-01-13 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-13 05:12:11] Production.ERROR: CronJobId end10
[2025-01-13 05:12:11] Production.INFO: ==30253== Releasing lock...
[2025-01-13 05:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:12:13] Production.INFO: call_cost start
[2025-01-13 05:12:13] Production.INFO: call_cost end
[2025-01-13 05:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:12:14] Production.INFO: ==30249== Releasing lock...
[2025-01-13 05:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:12:18] Production.INFO: count ==102
[2025-01-13 05:12:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:12:05 - End Time 2025-01-13 05:12:05
[2025-01-13 05:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236719', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236719', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236719', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236719', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:12:18] Production.INFO: ProcessCDR(1,14236719,1,1,2)
[2025-01-13 05:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236719', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236719', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:12:21] Production.INFO: ==30257== Releasing lock...
[2025-01-13 05:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:12:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:13:01] Production.INFO: ==30312== Lock acquired, processing the job...
[2025-01-13 10:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:13:01] Production.INFO: neon service started
[2025-01-13 10:13:01] Production.INFO: neon service started
[2025-01-13 10:13:01] Production.INFO: ==30312== Releasing lock...
[2025-01-13 10:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:13:02] Production.INFO: ==30316== Lock acquired, processing the job...
[2025-01-13 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:13:02] Production.INFO: ==30316== Releasing lock...
[2025-01-13 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:13:02] Production.INFO: ==30314== Lock acquired, processing the job...
[2025-01-13 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:13:02] Production.INFO: ==30314== Releasing lock...
[2025-01-13 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:13:03] Production.INFO: ==30321== Lock acquired, processing the job...
[2025-01-13 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:13:03] Production.INFO: ==30323== Lock acquired, processing the job...
[2025-01-13 05:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:13:03] Production.INFO: ==30319== Lock acquired, processing the job...
[2025-01-13 05:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:13:03] Production.INFO: ==30325== Lock acquired, processing the job...
[2025-01-13 05:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:13:03] Production.INFO: ==30327== Lock acquired, processing the job...
[2025-01-13 05:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:13:03] Production.INFO: ==30329== Lock acquired, processing the job...
[2025-01-13 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:13:03] Production.INFO: ==30321== Releasing lock...
[2025-01-13 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:13:03] Production.INFO: Account Balance Start.
[2025-01-13 05:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:13:03] Production.INFO: 117
[2025-01-13 05:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:13:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:13:03] Production.INFO: count ==21
[2025-01-13 05:13:03] Production.ERROR: done
[2025-01-13 05:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:13:04] Production.INFO: count ==21
[2025-01-13 05:13:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236723') start
[2025-01-13 05:13:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:13:04] Production.ERROR: done
[2025-01-13 05:13:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236723') end
[2025-01-13 05:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:13:04] Production.INFO: 1
[2025-01-13 05:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:13:04] Production.INFO: Total Charge 0
[2025-01-13 05:13:04] Production.INFO: ==30329== Releasing lock...
[2025-01-13 05:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:13:04] Production.INFO: CreateAllLog End
[2025-01-13 05:13:04] Production.INFO: Account Balance End.
[2025-01-13 05:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:13:04] Production.INFO: ==30325== Releasing lock...
[2025-01-13 05:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:13:05
[end_date_ymd] => 2025-01-13 05:13:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:13:05' and `end` < '2025-01-13 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-13 05:13:10] Production.ERROR: CronJobId end10
[2025-01-13 05:13:10] Production.INFO: ==30323== Releasing lock...
[2025-01-13 05:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:13:13] Production.INFO: call_cost start
[2025-01-13 05:13:13] Production.INFO: call_cost end
[2025-01-13 05:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:13:14] Production.INFO: ==30319== Releasing lock...
[2025-01-13 05:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:13:17] Production.INFO: count ==102
[2025-01-13 05:13:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:13:05 - End Time 2025-01-13 05:13:05
[2025-01-13 05:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236724', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236724', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236724', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236724', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:13:17] Production.INFO: ProcessCDR(1,14236724,1,1,2)
[2025-01-13 05:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236724', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236724', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:13:20] Production.INFO: ==30327== Releasing lock...
[2025-01-13 05:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:13:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:14:02] Production.INFO: ==30383== Lock acquired, processing the job...
[2025-01-13 10:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:14:02] Production.INFO: neon service started
[2025-01-13 10:14:02] Production.INFO: neon service started
[2025-01-13 10:14:02] Production.INFO: ==30383== Releasing lock...
[2025-01-13 10:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:14:02] Production.INFO: ==30385== Lock acquired, processing the job...
[2025-01-13 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:14:02] Production.INFO: ==30387== Lock acquired, processing the job...
[2025-01-13 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:14:02] Production.INFO: ==30387== Releasing lock...
[2025-01-13 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:14:03] Production.INFO: ==30385== Releasing lock...
[2025-01-13 05:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:14:03] Production.INFO: ==30392== Lock acquired, processing the job...
[2025-01-13 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:14:03] Production.INFO: ==30396== Lock acquired, processing the job...
[2025-01-13 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:14:04] Production.INFO: Account Balance Start.
[2025-01-13 05:14:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:14:04] Production.INFO: 117
[2025-01-13 05:14:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:14:04] Production.INFO: ==30390== Lock acquired, processing the job...
[2025-01-13 05:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:14:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:14:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:14:04] Production.INFO: ==30394== Lock acquired, processing the job...
[2025-01-13 05:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:14:04] Production.INFO: ==30398== Lock acquired, processing the job...
[2025-01-13 05:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:14:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:14:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:14:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:14:04] Production.INFO: Total Charge 0
[2025-01-13 05:14:04] Production.INFO: ==30400== Lock acquired, processing the job...
[2025-01-13 05:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:14:04] Production.INFO: CreateAllLog End
[2025-01-13 05:14:04] Production.INFO: ==30392== Releasing lock...
[2025-01-13 05:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:14:04] Production.ERROR: done
[2025-01-13 05:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:14:04] Production.INFO: Account Balance End.
[2025-01-13 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-13 05:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:14:04] Production.INFO: ==30396== Releasing lock...
[2025-01-13 05:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:14:04] Production.ERROR: done
[2025-01-13 05:14:04] Production.INFO: count ==21
[2025-01-13 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-13 05:14:04] Production.INFO: count ==21
[2025-01-13 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236728') start
[2025-01-13 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236728') end
[2025-01-13 05:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:14:04] Production.INFO: 1
[2025-01-13 05:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:14:05] Production.INFO: ==30400== Releasing lock...
[2025-01-13 05:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:14:05
[end_date_ymd] => 2025-01-13 05:14:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:14:05' and `end` < '2025-01-13 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-13 05:14:11] Production.ERROR: CronJobId end10
[2025-01-13 05:14:11] Production.INFO: ==30394== Releasing lock...
[2025-01-13 05:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:14:13] Production.INFO: call_cost start
[2025-01-13 05:14:13] Production.INFO: call_cost end
[2025-01-13 05:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:14:13] Production.INFO: ==30390== Releasing lock...
[2025-01-13 05:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:14:17] Production.INFO: count ==102
[2025-01-13 05:14:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:14:05 - End Time 2025-01-13 05:14:05
[2025-01-13 05:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236729', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236729', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236729', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236729', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:14:17] Production.INFO: ProcessCDR(1,14236729,1,1,2)
[2025-01-13 05:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236729', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236729', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:14:21] Production.INFO: ==30398== Releasing lock...
[2025-01-13 05:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:14:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:15:01] Production.INFO: ==30456== Lock acquired, processing the job...
[2025-01-13 10:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:15:01] Production.INFO: neon service started
[2025-01-13 10:15:01] Production.INFO: neon service started
[2025-01-13 10:15:01] Production.INFO: ==30456== Releasing lock...
[2025-01-13 10:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:15:01] Production.INFO: ==30458== Lock acquired, processing the job...
[2025-01-13 05:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:15:02] Production.INFO: ==30460== Lock acquired, processing the job...
[2025-01-13 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:15:02] Production.INFO: ==30458== Releasing lock...
[2025-01-13 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:15:02] Production.INFO: ==30460== Releasing lock...
[2025-01-13 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:15:02] Production.INFO: ==30462== Lock acquired, processing the job...
[2025-01-13 05:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:15:03] Production.INFO: ==30464== Lock acquired, processing the job...
[2025-01-13 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:15:03] Production.INFO: ==30466== Lock acquired, processing the job...
[2025-01-13 05:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:15:03] Production.INFO: ==30468== Lock acquired, processing the job...
[2025-01-13 05:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:15:03] Production.INFO: ==30470== Lock acquired, processing the job...
[2025-01-13 05:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:15:03] Production.INFO: ==30464== Releasing lock...
[2025-01-13 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:15:03] Production.INFO: Account Balance Start.
[2025-01-13 05:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:15:03] Production.INFO: 117
[2025-01-13 05:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:15:03] Production.INFO: ==30472== Lock acquired, processing the job...
[2025-01-13 05:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:15:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:15:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:15:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:15:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:15:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:15:03] Production.INFO: count ==21
[2025-01-13 05:15:03] Production.ERROR: done
[2025-01-13 05:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:15:03] Production.INFO: Total Charge 0
[2025-01-13 05:15:03] Production.INFO: CreateAllLog End
[2025-01-13 05:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:15:03] Production.INFO: count ==21
[2025-01-13 05:15:03] Production.ERROR: done
[2025-01-13 05:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236733') start
[2025-01-13 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236733') end
[2025-01-13 05:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:15:04] Production.INFO: 1
[2025-01-13 05:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:15:04] Production.INFO: ==30472== Releasing lock...
[2025-01-13 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:15:04] Production.INFO: Account Balance End.
[2025-01-13 05:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:15:04] Production.INFO: ==30468== Releasing lock...
[2025-01-13 05:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:15:04
[end_date_ymd] => 2025-01-13 05:15:04
[RateCDR] => 1
)
[2025-01-13 05:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:15:04' and `end` < '2025-01-13 05:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:15:10] Production.ERROR: CronJobId end10
[2025-01-13 05:15:10] Production.INFO: ==30466== Releasing lock...
[2025-01-13 05:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:15:12] Production.INFO: call_cost start
[2025-01-13 05:15:12] Production.INFO: call_cost end
[2025-01-13 05:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:15:13] Production.INFO: ==30462== Releasing lock...
[2025-01-13 05:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:15:18] Production.INFO: count ==102
[2025-01-13 05:15:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:15:04 - End Time 2025-01-13 05:15:04
[2025-01-13 05:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236734', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236734', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236734', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236734', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:15:18] Production.INFO: ProcessCDR(1,14236734,1,1,2)
[2025-01-13 05:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236734', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236734', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:15:21] Production.INFO: ==30470== Releasing lock...
[2025-01-13 05:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:15:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:16:02] Production.INFO: ==30527== Lock acquired, processing the job...
[2025-01-13 10:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:16:02] Production.INFO: neon service started
[2025-01-13 10:16:02] Production.INFO: neon service started
[2025-01-13 10:16:02] Production.INFO: ==30527== Releasing lock...
[2025-01-13 10:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:16:02] Production.INFO: ==30529== Lock acquired, processing the job...
[2025-01-13 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:16:02] Production.INFO: ==30529== Releasing lock...
[2025-01-13 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:16:02] Production.INFO: ==30531== Lock acquired, processing the job...
[2025-01-13 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:16:03] Production.INFO: ==30531== Releasing lock...
[2025-01-13 10:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:16:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:16:03] Production.INFO: ==30538== Lock acquired, processing the job...
[2025-01-13 05:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:16:03] Production.INFO: ==30544== Lock acquired, processing the job...
[2025-01-13 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:16:03] Production.INFO: ==30536== Lock acquired, processing the job...
[2025-01-13 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 05:16:03] Production.INFO: ==30534== Lock acquired, processing the job...
[2025-01-13 05:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:16:03] Production.INFO: count ==21
[2025-01-13 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-13 05:16:03] Production.INFO: count ==21
[2025-01-13 05:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236735') start
[2025-01-13 05:16:03] Production.INFO: ==30540== Lock acquired, processing the job...
[2025-01-13 05:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:16:03] Production.INFO: ==30542== Lock acquired, processing the job...
[2025-01-13 05:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236735') end
[2025-01-13 05:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:16:04] Production.INFO: 1
[2025-01-13 05:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:16:04] Production.INFO: ==30544== Releasing lock...
[2025-01-13 05:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:16:04] Production.INFO: Account Balance Start.
[2025-01-13 05:16:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:16:04] Production.INFO: 117
[2025-01-13 05:16:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:16:04] Production.INFO: ==30536== Releasing lock...
[2025-01-13 05:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:16:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:16:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:16:04] Production.ERROR: done
[2025-01-13 05:16:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:16:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:16:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:16:04] Production.ERROR: done
[2025-01-13 05:16:04] Production.INFO: Total Charge 0
[2025-01-13 05:16:04] Production.INFO: CreateAllLog End
[2025-01-13 05:16:04] Production.INFO: Account Balance End.
[2025-01-13 05:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:16:04] Production.INFO: ==30540== Releasing lock...
[2025-01-13 05:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:16:05
[end_date_ymd] => 2025-01-13 05:16:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:16:05' and `end` < '2025-01-13 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-13 05:16:10] Production.ERROR: CronJobId end10
[2025-01-13 05:16:10] Production.INFO: ==30538== Releasing lock...
[2025-01-13 05:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:16:13] Production.INFO: call_cost start
[2025-01-13 05:16:13] Production.INFO: call_cost end
[2025-01-13 05:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:16:14] Production.INFO: ==30534== Releasing lock...
[2025-01-13 05:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:16:17] Production.INFO: count ==102
[2025-01-13 05:16:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:16:05 - End Time 2025-01-13 05:16:05
[2025-01-13 05:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236739', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236739', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236739', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236739', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:16:17] Production.INFO: ProcessCDR(1,14236739,1,1,2)
[2025-01-13 05:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236739', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236739', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:16:21] Production.INFO: ==30542== Releasing lock...
[2025-01-13 05:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:16:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:17:01] Production.INFO: ==30601== Lock acquired, processing the job...
[2025-01-13 10:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:17:01] Production.INFO: neon service started
[2025-01-13 10:17:01] Production.INFO: neon service started
[2025-01-13 10:17:01] Production.INFO: ==30601== Releasing lock...
[2025-01-13 10:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:17:01] Production.INFO: ==30603== Lock acquired, processing the job...
[2025-01-13 05:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:17:02] Production.INFO: ==30603== Releasing lock...
[2025-01-13 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:17:02] Production.INFO: ==30605== Lock acquired, processing the job...
[2025-01-13 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:17:02] Production.INFO: ==30605== Releasing lock...
[2025-01-13 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:17:02] Production.INFO: ==30612== Lock acquired, processing the job...
[2025-01-13 05:17:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:17:03] Production.INFO: ==30608== Lock acquired, processing the job...
[2025-01-13 05:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:17:03] Production.INFO: ==30610== Lock acquired, processing the job...
[2025-01-13 05:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:17:03] Production.INFO: ==30618== Lock acquired, processing the job...
[2025-01-13 05:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:17:03] Production.INFO: ==30614== Lock acquired, processing the job...
[2025-01-13 05:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:17:03] Production.INFO: ==30616== Lock acquired, processing the job...
[2025-01-13 05:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:17:03] Production.INFO: Account Balance Start.
[2025-01-13 05:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:17:03] Production.INFO: 117
[2025-01-13 05:17:03] Production.INFO: count ==21
[2025-01-13 05:17:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:17:03] Production.INFO: count ==21
[2025-01-13 05:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236742') start
[2025-01-13 05:17:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236742') end
[2025-01-13 05:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:17:03] Production.INFO: 1
[2025-01-13 05:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:17:03] Production.ERROR: done
[2025-01-13 05:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:17:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:17:03] Production.INFO: ==30618== Releasing lock...
[2025-01-13 05:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:17:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:17:04] Production.INFO: ==30610== Releasing lock...
[2025-01-13 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:17:04] Production.ERROR: done
[2025-01-13 05:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:17:04] Production.INFO: Total Charge 0
[2025-01-13 05:17:04] Production.INFO: CreateAllLog End
[2025-01-13 05:17:04] Production.INFO: Account Balance End.
[2025-01-13 05:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:17:04] Production.INFO: ==30614== Releasing lock...
[2025-01-13 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:17:04
[end_date_ymd] => 2025-01-13 05:17:04
[RateCDR] => 1
)
[2025-01-13 05:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:17:04' and `end` < '2025-01-13 05:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:17:10] Production.ERROR: CronJobId end10
[2025-01-13 05:17:10] Production.INFO: ==30612== Releasing lock...
[2025-01-13 05:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:17:13] Production.INFO: call_cost start
[2025-01-13 05:17:13] Production.INFO: call_cost end
[2025-01-13 05:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:17:13] Production.INFO: ==30608== Releasing lock...
[2025-01-13 05:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:17:17] Production.INFO: count ==102
[2025-01-13 05:17:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:17:04 - End Time 2025-01-13 05:17:04
[2025-01-13 05:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236744', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236744', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236744', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236744', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:17:17] Production.INFO: ProcessCDR(1,14236744,1,1,2)
[2025-01-13 05:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236744', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236744', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:17:20] Production.INFO: ==30616== Releasing lock...
[2025-01-13 05:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:17:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:18:02] Production.INFO: ==30674== Lock acquired, processing the job...
[2025-01-13 10:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:18:02] Production.INFO: neon service started
[2025-01-13 10:18:02] Production.INFO: neon service started
[2025-01-13 10:18:02] Production.INFO: ==30674== Releasing lock...
[2025-01-13 10:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:18:02] Production.INFO: ==30676== Lock acquired, processing the job...
[2025-01-13 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:18:02] Production.INFO: ==30676== Releasing lock...
[2025-01-13 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:18:02] Production.INFO: ==30678== Lock acquired, processing the job...
[2025-01-13 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:18:02] Production.INFO: ==30678== Releasing lock...
[2025-01-13 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:18:03] Production.INFO: ==30683== Lock acquired, processing the job...
[2025-01-13 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:18:03] Production.INFO: ==30681== Lock acquired, processing the job...
[2025-01-13 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:18:03] Production.INFO: ==30687== Lock acquired, processing the job...
[2025-01-13 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:18:03] Production.INFO: Account Balance Start.
[2025-01-13 05:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:18:03] Production.INFO: 117
[2025-01-13 05:18:03] Production.INFO: ==30685== Lock acquired, processing the job...
[2025-01-13 05:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:18:03] Production.INFO: ==30691== Lock acquired, processing the job...
[2025-01-13 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:18:03] Production.INFO: ==30689== Lock acquired, processing the job...
[2025-01-13 05:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:18:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:18:03] Production.INFO: ==30683== Releasing lock...
[2025-01-13 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 05:18:03] Production.INFO: count ==21
[2025-01-13 05:18:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:18:03] Production.INFO: count ==21
[2025-01-13 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236748') start
[2025-01-13 05:18:04] Production.ERROR: done
[2025-01-13 05:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:18:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236748') end
[2025-01-13 05:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:18:04] Production.INFO: 1
[2025-01-13 05:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:18:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:18:04] Production.INFO: ==30691== Releasing lock...
[2025-01-13 05:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:18:04] Production.ERROR: done
[2025-01-13 05:18:04] Production.INFO: Total Charge 0
[2025-01-13 05:18:04] Production.INFO: CreateAllLog End
[2025-01-13 05:18:04] Production.INFO: Account Balance End.
[2025-01-13 05:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:18:04] Production.INFO: ==30687== Releasing lock...
[2025-01-13 05:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:18:05
[end_date_ymd] => 2025-01-13 05:18:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:18:05' and `end` < '2025-01-13 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-13 05:18:10] Production.ERROR: CronJobId end10
[2025-01-13 05:18:10] Production.INFO: ==30685== Releasing lock...
[2025-01-13 05:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:18:12] Production.INFO: call_cost start
[2025-01-13 05:18:12] Production.INFO: call_cost end
[2025-01-13 05:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:18:13] Production.INFO: ==30681== Releasing lock...
[2025-01-13 05:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:18:17] Production.INFO: count ==102
[2025-01-13 05:18:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:18:05 - End Time 2025-01-13 05:18:05
[2025-01-13 05:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236749', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236749', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236749', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236749', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:18:17] Production.INFO: ProcessCDR(1,14236749,1,1,2)
[2025-01-13 05:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236749', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236749', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:18:20] Production.INFO: ==30689== Releasing lock...
[2025-01-13 05:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:18:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:19:01] Production.INFO: ==30748== Lock acquired, processing the job...
[2025-01-13 10:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:19:01] Production.INFO: neon service started
[2025-01-13 10:19:01] Production.INFO: neon service started
[2025-01-13 10:19:01] Production.INFO: ==30748== Releasing lock...
[2025-01-13 10:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:19:01] Production.INFO: ==30752== Lock acquired, processing the job...
[2025-01-13 10:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:19:01] Production.INFO: ==30752== Releasing lock...
[2025-01-13 10:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:19:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:19:01] Production.INFO: ==30750== Lock acquired, processing the job...
[2025-01-13 05:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:19:02] Production.INFO: ==30750== Releasing lock...
[2025-01-13 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:19:02] Production.INFO: ==30755== Lock acquired, processing the job...
[2025-01-13 05:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:19:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:19:02] Production.INFO: ==30757== Lock acquired, processing the job...
[2025-01-13 05:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:19:02] Production.INFO: ==30761== Lock acquired, processing the job...
[2025-01-13 05:19:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:19:03] Production.INFO: Account Balance Start.
[2025-01-13 05:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:19:03] Production.INFO: 117
[2025-01-13 05:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:19:03] Production.INFO: ==30759== Lock acquired, processing the job...
[2025-01-13 05:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:19:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:19:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:19:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:19:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:19:03] Production.INFO: ==30763== Lock acquired, processing the job...
[2025-01-13 05:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:19:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:19:03] Production.INFO: Total Charge 0
[2025-01-13 05:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:19:03] Production.INFO: CreateAllLog End
[2025-01-13 05:19:03] Production.INFO: ==30765== Lock acquired, processing the job...
[2025-01-13 05:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:19:03] Production.INFO: ==30757== Releasing lock...
[2025-01-13 05:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:19:03] Production.INFO: count ==21
[2025-01-13 05:19:03] Production.ERROR: done
[2025-01-13 05:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:19:03] Production.INFO: count ==21
[2025-01-13 05:19:03] Production.INFO: Account Balance End.
[2025-01-13 05:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236753') start
[2025-01-13 05:19:03] Production.ERROR: CronJobId end 12
[2025-01-13 05:19:03] Production.INFO: ==30761== Releasing lock...
[2025-01-13 05:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:19:03] Production.ERROR: done
[2025-01-13 05:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236753') end
[2025-01-13 05:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:19:03] Production.INFO: 1
[2025-01-13 05:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:19:03] Production.INFO: ==30765== Releasing lock...
[2025-01-13 05:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:19:04
[end_date_ymd] => 2025-01-13 05:19:04
[RateCDR] => 1
)
[2025-01-13 05:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:19:04' and `end` < '2025-01-13 05:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:19:11] Production.ERROR: CronJobId end10
[2025-01-13 05:19:11] Production.INFO: ==30759== Releasing lock...
[2025-01-13 05:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:19:13] Production.INFO: call_cost start
[2025-01-13 05:19:13] Production.INFO: call_cost end
[2025-01-13 05:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:19:14] Production.INFO: ==30755== Releasing lock...
[2025-01-13 05:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:19:16] Production.INFO: count ==102
[2025-01-13 05:19:16] Production.ERROR: pbx CDR StartTime 2025-01-13 02:19:04 - End Time 2025-01-13 05:19:04
[2025-01-13 05:19:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:19:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236754', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:19:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236754', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:19:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236754', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:19:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236754', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:19:16] Production.INFO: ProcessCDR(1,14236754,1,1,2)
[2025-01-13 05:19:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236754', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236754', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:19:20] Production.INFO: ==30763== Releasing lock...
[2025-01-13 05:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:19:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:20:01] Production.INFO: ==30820== Lock acquired, processing the job...
[2025-01-13 10:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:20:01] Production.INFO: neon service started
[2025-01-13 10:20:01] Production.INFO: neon service started
[2025-01-13 10:20:01] Production.INFO: ==30820== Releasing lock...
[2025-01-13 10:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:20:02] Production.INFO: ==30822== Lock acquired, processing the job...
[2025-01-13 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:20:02] Production.INFO: ==30824== Lock acquired, processing the job...
[2025-01-13 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:20:02] Production.INFO: ==30824== Releasing lock...
[2025-01-13 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:20:02] Production.INFO: ==30822== Releasing lock...
[2025-01-13 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:20:03] Production.INFO: ==30830== Lock acquired, processing the job...
[2025-01-13 05:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:20:03] Production.INFO: ==30826== Lock acquired, processing the job...
[2025-01-13 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 05:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 05:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 05:20:03] Production.ERROR: CronJob PID - 30830
[2025-01-13 05:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 05:20:03] Production.ERROR: CronJob ID - 7
[2025-01-13 05:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 05:20:00
[2025-01-13 05:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 05:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 05:20:03] Production.INFO: ==30828== Lock acquired, processing the job...
[2025-01-13 05:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 05:20:03] Production.INFO: ==30826== Releasing lock...
[2025-01-13 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 05:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 05:20:03] Production.INFO: ==30832== Lock acquired, processing the job...
[2025-01-13 05:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:20:03] Production.INFO: ==30836== Lock acquired, processing the job...
[2025-01-13 05:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:20:03] Production.INFO: ==30834== Lock acquired, processing the job...
[2025-01-13 05:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:20:03] Production.INFO: ==30841== Lock acquired, processing the job...
[2025-01-13 05:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:20:03] Production.INFO: ==30839== Lock acquired, processing the job...
[2025-01-13 05:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 05:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 05:20:04] Production.INFO: ==30830== Releasing lock...
[2025-01-13 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:20:04] Production.INFO: Account Balance Start.
[2025-01-13 05:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:20:04] Production.INFO: 117
[2025-01-13 05:20:04] Production.INFO: count ==21
[2025-01-13 05:20:04] Production.ERROR: done
[2025-01-13 05:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 05:20:04] Production.INFO: count ==21
[2025-01-13 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236757') start
[2025-01-13 05:20:04] Production.ERROR: done
[2025-01-13 05:20:04] Production.ERROR: done
[2025-01-13 05:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236757') end
[2025-01-13 05:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:20:04] Production.INFO: 1
[2025-01-13 05:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 05:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236759', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 05:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:20:04] Production.INFO: ==30841== Releasing lock...
[2025-01-13 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:20:04] Production.INFO: Total Charge 0
[2025-01-13 05:20:04] Production.INFO: CreateAllLog End
[2025-01-13 05:20:04] Production.INFO: Account Balance End.
[2025-01-13 05:20:05] Production.ERROR: CronJobId end 12
[2025-01-13 05:20:05] Production.INFO: ==30834== Releasing lock...
[2025-01-13 05:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:20:05
[end_date_ymd] => 2025-01-13 05:20:05
[RateCDR] => 1
)
[2025-01-13 05:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:20:05' and `end` < '2025-01-13 05:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236759', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 05:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 05:20:08] Production.INFO: ProcessCDR(1,14236759,1,1,2)
[2025-01-13 05:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236759,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236759,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:20:09] Production.INFO: ==30839== Releasing lock...
[2025-01-13 05:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 05:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 05:20:12] Production.ERROR: CronJobId end10
[2025-01-13 05:20:12] Production.INFO: ==30832== Releasing lock...
[2025-01-13 05:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:20:15] Production.INFO: call_cost start
[2025-01-13 05:20:15] Production.INFO: call_cost end
[2025-01-13 05:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:20:16] Production.INFO: ==30828== Releasing lock...
[2025-01-13 05:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:20:18] Production.INFO: count ==104
[2025-01-13 05:20:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:20:05 - End Time 2025-01-13 05:20:05
[2025-01-13 05:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236760', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236760', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236760', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236760', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:20:18] Production.INFO: ProcessCDR(1,14236760,1,1,2)
[2025-01-13 05:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236760', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236760', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:20:21] Production.INFO: ==30836== Releasing lock...
[2025-01-13 05:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:20:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:21:02] Production.INFO: ==30895== Lock acquired, processing the job...
[2025-01-13 10:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:21:02] Production.INFO: neon service started
[2025-01-13 10:21:02] Production.INFO: neon service started
[2025-01-13 10:21:02] Production.INFO: ==30895== Releasing lock...
[2025-01-13 10:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:21:02] Production.INFO: ==30897== Lock acquired, processing the job...
[2025-01-13 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:21:02] Production.INFO: ==30897== Releasing lock...
[2025-01-13 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:21:03] Production.INFO: ==30899== Lock acquired, processing the job...
[2025-01-13 10:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:21:03] Production.INFO: ==30899== Releasing lock...
[2025-01-13 10:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:21:03] Production.INFO: ==30901== Lock acquired, processing the job...
[2025-01-13 05:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:21:03] Production.INFO: ==30905== Lock acquired, processing the job...
[2025-01-13 05:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:21:03] Production.INFO: ==30907== Lock acquired, processing the job...
[2025-01-13 05:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:21:03] Production.INFO: Account Balance Start.
[2025-01-13 05:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:21:03] Production.INFO: 117
[2025-01-13 05:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:21:03] Production.INFO: ==30903== Lock acquired, processing the job...
[2025-01-13 05:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:21:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:21:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:21:04] Production.INFO: ==30909== Lock acquired, processing the job...
[2025-01-13 05:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:21:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:21:04] Production.INFO: ==30911== Lock acquired, processing the job...
[2025-01-13 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:21:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:21:04] Production.INFO: Total Charge 0
[2025-01-13 05:21:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 05:21:04] Production.INFO: count ==21
[2025-01-13 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-13 05:21:04] Production.INFO: count ==21
[2025-01-13 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236764') start
[2025-01-13 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236764') end
[2025-01-13 05:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:21:04] Production.INFO: 1
[2025-01-13 05:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:21:04] Production.INFO: ==30903== Releasing lock...
[2025-01-13 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:21:04] Production.ERROR: done
[2025-01-13 05:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:21:04] Production.INFO: Account Balance End.
[2025-01-13 05:21:04] Production.INFO: ==30911== Releasing lock...
[2025-01-13 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:21:04] Production.INFO: ==30907== Releasing lock...
[2025-01-13 05:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:21:04] Production.ERROR: done
[2025-01-13 05:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:21:05
[end_date_ymd] => 2025-01-13 05:21:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:21:05' and `end` < '2025-01-13 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-13 05:21:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-13 05:21:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:21:10] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:21:10] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:21:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:21:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:21:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:21:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:21:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:21:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:21:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:21:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:21:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:21:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:21:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:21:10] Production.INFO: call_cost start
[2025-01-13 05:21:10] Production.INFO: call_cost end
[2025-01-13 05:21:11] Production.ERROR: CronJobId end10
[2025-01-13 05:21:11] Production.INFO: ==30905== Releasing lock...
[2025-01-13 05:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:21:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:21:11] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:21:11] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:21:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:21:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:21:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:21:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:21:11] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:21:11] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:21:11] Production.INFO: ==30901== Releasing lock...
[2025-01-13 05:21:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:21:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:21:18] Production.INFO: count ==108
[2025-01-13 05:21:19] Production.ERROR: pbx CDR StartTime 2025-01-13 02:21:05 - End Time 2025-01-13 05:21:05
[2025-01-13 05:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236765', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236765', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236765', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236765', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:21:19] Production.INFO: ProcessCDR(1,14236765,1,1,2)
[2025-01-13 05:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236765', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236765', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:21:22] Production.INFO: ==30909== Releasing lock...
[2025-01-13 05:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:21:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:22:01] Production.INFO: ==30964== Lock acquired, processing the job...
[2025-01-13 10:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:22:01] Production.INFO: neon service started
[2025-01-13 10:22:01] Production.INFO: neon service started
[2025-01-13 10:22:01] Production.INFO: ==30964== Releasing lock...
[2025-01-13 10:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:22:02] Production.INFO: ==30968== Lock acquired, processing the job...
[2025-01-13 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:22:02] Production.INFO: ==30968== Releasing lock...
[2025-01-13 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:22:02] Production.INFO: ==30966== Lock acquired, processing the job...
[2025-01-13 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:22:02] Production.INFO: ==30966== Releasing lock...
[2025-01-13 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:22:03] Production.INFO: ==30972== Lock acquired, processing the job...
[2025-01-13 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:22:03] Production.INFO: ==30970== Lock acquired, processing the job...
[2025-01-13 05:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:22:03] Production.INFO: ==30976== Lock acquired, processing the job...
[2025-01-13 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:22:03] Production.INFO: Account Balance Start.
[2025-01-13 05:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:22:03] Production.INFO: 117
[2025-01-13 05:22:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:22:03] Production.INFO: ==30974== Lock acquired, processing the job...
[2025-01-13 05:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:22:03] Production.INFO: ==30978== Lock acquired, processing the job...
[2025-01-13 05:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:22:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:22:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:22:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:22:03] Production.INFO: ==30980== Lock acquired, processing the job...
[2025-01-13 05:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:22:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:22:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:22:03] Production.INFO: Total Charge 0
[2025-01-13 05:22:03] Production.INFO: ==30972== Releasing lock...
[2025-01-13 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:22:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 05:22:03] Production.INFO: count ==21
[2025-01-13 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-13 05:22:04] Production.ERROR: done
[2025-01-13 05:22:04] Production.INFO: count ==21
[2025-01-13 05:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236769') start
[2025-01-13 05:22:04] Production.ERROR: done
[2025-01-13 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236769') end
[2025-01-13 05:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:22:04] Production.INFO: 1
[2025-01-13 05:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:22:04] Production.INFO: ==30980== Releasing lock...
[2025-01-13 05:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:22:04] Production.INFO: Account Balance End.
[2025-01-13 05:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:22:04] Production.INFO: ==30976== Releasing lock...
[2025-01-13 05:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:22:05
[end_date_ymd] => 2025-01-13 05:22:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:22:05' and `end` < '2025-01-13 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-13 05:22:10] Production.ERROR: CronJobId end10
[2025-01-13 05:22:10] Production.INFO: ==30974== Releasing lock...
[2025-01-13 05:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:22:12] Production.INFO: call_cost start
[2025-01-13 05:22:12] Production.INFO: call_cost end
[2025-01-13 05:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:22:13] Production.INFO: ==30970== Releasing lock...
[2025-01-13 05:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:22:18] Production.INFO: count ==109
[2025-01-13 05:22:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:22:05 - End Time 2025-01-13 05:22:05
[2025-01-13 05:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236770', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236770', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236770', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236770', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:22:18] Production.INFO: ProcessCDR(1,14236770,1,1,2)
[2025-01-13 05:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236770', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236770', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:22:23] Production.INFO: ==30978== Releasing lock...
[2025-01-13 05:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:22:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:23:02] Production.INFO: ==31036== Lock acquired, processing the job...
[2025-01-13 10:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:23:02] Production.INFO: neon service started
[2025-01-13 10:23:02] Production.INFO: neon service started
[2025-01-13 10:23:02] Production.INFO: ==31036== Releasing lock...
[2025-01-13 10:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:23:02] Production.INFO: ==31040== Lock acquired, processing the job...
[2025-01-13 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:23:02] Production.INFO: ==31040== Releasing lock...
[2025-01-13 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:23:02] Production.INFO: ==31038== Lock acquired, processing the job...
[2025-01-13 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:23:02] Production.INFO: ==31038== Releasing lock...
[2025-01-13 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:23:03] Production.INFO: ==31042== Lock acquired, processing the job...
[2025-01-13 05:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:23:03] Production.INFO: ==31046== Lock acquired, processing the job...
[2025-01-13 05:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:23:03] Production.INFO: ==31050== Lock acquired, processing the job...
[2025-01-13 05:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:23:03] Production.INFO: ==31044== Lock acquired, processing the job...
[2025-01-13 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:23:03] Production.INFO: ==31048== Lock acquired, processing the job...
[2025-01-13 05:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:23:03] Production.INFO: ==31052== Lock acquired, processing the job...
[2025-01-13 05:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:23:03] Production.INFO: Account Balance Start.
[2025-01-13 05:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:23:03] Production.INFO: 117
[2025-01-13 05:23:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:23:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 05:23:04] Production.INFO: count ==21
[2025-01-13 05:23:04] Production.INFO: ==31044== Releasing lock...
[2025-01-13 05:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 05:23:04] Production.INFO: count ==21
[2025-01-13 05:23:04] Production.ERROR: done
[2025-01-13 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236774') start
[2025-01-13 05:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:23:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236774') end
[2025-01-13 05:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:23:04] Production.INFO: 1
[2025-01-13 05:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:23:04] Production.ERROR: done
[2025-01-13 05:23:04] Production.INFO: ==31052== Releasing lock...
[2025-01-13 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:23:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:23:04] Production.INFO: Total Charge 0
[2025-01-13 05:23:04] Production.INFO: CreateAllLog End
[2025-01-13 05:23:04] Production.INFO: Account Balance End.
[2025-01-13 05:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:23:04] Production.INFO: ==31048== Releasing lock...
[2025-01-13 05:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:23:05
[end_date_ymd] => 2025-01-13 05:23:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:23:05' and `end` < '2025-01-13 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-13 05:23:12] Production.ERROR: CronJobId end10
[2025-01-13 05:23:12] Production.INFO: ==31046== Releasing lock...
[2025-01-13 05:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:23:14] Production.INFO: call_cost start
[2025-01-13 05:23:14] Production.INFO: call_cost end
[2025-01-13 05:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:23:14] Production.INFO: ==31042== Releasing lock...
[2025-01-13 05:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:23:18] Production.INFO: count ==109
[2025-01-13 05:23:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:23:05 - End Time 2025-01-13 05:23:05
[2025-01-13 05:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236775', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236775', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236775', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236775', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:23:18] Production.INFO: ProcessCDR(1,14236775,1,1,2)
[2025-01-13 05:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236775', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236775', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:23:21] Production.INFO: ==31050== Releasing lock...
[2025-01-13 05:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:23:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:24:01] Production.INFO: ==31146== Lock acquired, processing the job...
[2025-01-13 10:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:24:01] Production.INFO: neon service started
[2025-01-13 10:24:01] Production.INFO: neon service started
[2025-01-13 10:24:01] Production.INFO: ==31146== Releasing lock...
[2025-01-13 10:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:24:01] Production.INFO: ==31148== Lock acquired, processing the job...
[2025-01-13 05:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:24:02] Production.INFO: ==31148== Releasing lock...
[2025-01-13 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:24:02] Production.INFO: ==31150== Lock acquired, processing the job...
[2025-01-13 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:24:02] Production.INFO: ==31150== Releasing lock...
[2025-01-13 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:24:03] Production.INFO: ==31154== Lock acquired, processing the job...
[2025-01-13 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:24:03] Production.INFO: ==31152== Lock acquired, processing the job...
[2025-01-13 05:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:24:03] Production.INFO: ==31160== Lock acquired, processing the job...
[2025-01-13 05:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:24:03] Production.INFO: ==31156== Lock acquired, processing the job...
[2025-01-13 05:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:24:03] Production.INFO: ==31158== Lock acquired, processing the job...
[2025-01-13 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:24:03] Production.INFO: ==31162== Lock acquired, processing the job...
[2025-01-13 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:24:03] Production.INFO: Account Balance Start.
[2025-01-13 05:24:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:24:03] Production.INFO: 117
[2025-01-13 05:24:03] Production.INFO: ==31154== Releasing lock...
[2025-01-13 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:24:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:24:03] Production.ERROR: done
[2025-01-13 05:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 05:24:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:24:03] Production.INFO: count ==21
[2025-01-13 05:24:03] Production.ERROR: done
[2025-01-13 05:24:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 05:24:03] Production.INFO: count ==21
[2025-01-13 05:24:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236779') start
[2025-01-13 05:24:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:24:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236779') end
[2025-01-13 05:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:24:03] Production.INFO: 1
[2025-01-13 05:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:24:03] Production.INFO: Total Charge 0
[2025-01-13 05:24:03] Production.INFO: CreateAllLog End
[2025-01-13 05:24:03] Production.INFO: ==31162== Releasing lock...
[2025-01-13 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:24:03] Production.INFO: Account Balance End.
[2025-01-13 05:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:24:04] Production.INFO: ==31158== Releasing lock...
[2025-01-13 05:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:24:04
[end_date_ymd] => 2025-01-13 05:24:04
[RateCDR] => 1
)
[2025-01-13 05: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-13 02:24:04' and `end` < '2025-01-13 05: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-13 05:24: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-13 05:24:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:24:10] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:24:10] Production.ERROR: CronJobId end10
[2025-01-13 05:24:10] Production.INFO: ==31156== Releasing lock...
[2025-01-13 05:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:24:10] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:24:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:24:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:24:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:24:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:24:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:24:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:24:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:24:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:24:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:24:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:24:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:24:10] Production.INFO: call_cost start
[2025-01-13 05:24:10] Production.INFO: call_cost end
[2025-01-13 05:24:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:24:11] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:24:11] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:24:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:24:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:24:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:24:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:24:11] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:24:11] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:24:11] Production.INFO: ==31152== Releasing lock...
[2025-01-13 05:24:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:24:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:24:18] Production.INFO: count ==109
[2025-01-13 05:24:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:24:04 - End Time 2025-01-13 05:24:04
[2025-01-13 05:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236780', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236780', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236780', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236780', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:24:18] Production.INFO: ProcessCDR(1,14236780,1,1,2)
[2025-01-13 05:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236780', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236780', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:24:21] Production.INFO: ==31160== Releasing lock...
[2025-01-13 05:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:24:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:25:01] Production.INFO: ==31217== Lock acquired, processing the job...
[2025-01-13 10:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:25:01] Production.INFO: neon service started
[2025-01-13 10:25:01] Production.INFO: neon service started
[2025-01-13 10:25:01] Production.INFO: ==31217== Releasing lock...
[2025-01-13 10:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:25:02] Production.INFO: ==31219== Lock acquired, processing the job...
[2025-01-13 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:25:02] Production.INFO: ==31219== Releasing lock...
[2025-01-13 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:25:02] Production.INFO: ==31221== Lock acquired, processing the job...
[2025-01-13 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:25:02] Production.INFO: ==31221== Releasing lock...
[2025-01-13 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:25:03] Production.INFO: ==31226== Lock acquired, processing the job...
[2025-01-13 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:25:03] Production.INFO: ==31234== Lock acquired, processing the job...
[2025-01-13 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:25:03] Production.INFO: ==31224== Lock acquired, processing the job...
[2025-01-13 05:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:25:03] Production.INFO: ==31228== Lock acquired, processing the job...
[2025-01-13 05:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:25:03] Production.INFO: ==31230== Lock acquired, processing the job...
[2025-01-13 05:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:25:03] Production.INFO: count ==21
[2025-01-13 05:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:25:03] Production.INFO: count ==21
[2025-01-13 05:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236782') start
[2025-01-13 05:25:03] Production.INFO: ==31232== Lock acquired, processing the job...
[2025-01-13 05:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:25:03] Production.INFO: Account Balance Start.
[2025-01-13 05:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:25:03] Production.INFO: 117
[2025-01-13 05:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236782') end
[2025-01-13 05:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:25:03] Production.INFO: 1
[2025-01-13 05:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:25:03] Production.INFO: ==31234== Releasing lock...
[2025-01-13 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:25:03] Production.INFO: ==31226== Releasing lock...
[2025-01-13 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:25:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:25:04] Production.ERROR: done
[2025-01-13 05:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:25:04] Production.ERROR: done
[2025-01-13 05:25:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:25:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:25:04] Production.INFO: Total Charge 0
[2025-01-13 05:25:04] Production.INFO: CreateAllLog End
[2025-01-13 05:25:04] Production.INFO: Account Balance End.
[2025-01-13 05:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:25:04] Production.INFO: ==31230== Releasing lock...
[2025-01-13 05:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:25:05
[end_date_ymd] => 2025-01-13 05:25:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:25:05' and `end` < '2025-01-13 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-13 05:25:10] Production.ERROR: CronJobId end10
[2025-01-13 05:25:10] Production.INFO: ==31228== Releasing lock...
[2025-01-13 05:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:25:12] Production.INFO: call_cost start
[2025-01-13 05:25:12] Production.INFO: call_cost end
[2025-01-13 05:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:25:13] Production.INFO: ==31224== Releasing lock...
[2025-01-13 05:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:25:18] Production.INFO: count ==109
[2025-01-13 05:25:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:25:05 - End Time 2025-01-13 05:25:05
[2025-01-13 05:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236785', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236785', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236785', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236785', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:25:18] Production.INFO: ProcessCDR(1,14236785,1,1,2)
[2025-01-13 05:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236785', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236785', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:25:21] Production.INFO: ==31232== Releasing lock...
[2025-01-13 05:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:25:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:26:01] Production.INFO: ==31292== Lock acquired, processing the job...
[2025-01-13 10:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:26:01] Production.INFO: neon service started
[2025-01-13 10:26:01] Production.INFO: neon service started
[2025-01-13 10:26:01] Production.INFO: ==31292== Releasing lock...
[2025-01-13 10:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:26:02] Production.INFO: ==31294== Lock acquired, processing the job...
[2025-01-13 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:26:02] Production.INFO: ==31296== Lock acquired, processing the job...
[2025-01-13 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:26:02] Production.INFO: ==31296== Releasing lock...
[2025-01-13 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:26:02] Production.INFO: ==31294== Releasing lock...
[2025-01-13 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:26:03] Production.INFO: ==31299== Lock acquired, processing the job...
[2025-01-13 05:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:26:03] Production.INFO: ==31303== Lock acquired, processing the job...
[2025-01-13 05:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:26:03] Production.INFO: ==31301== Lock acquired, processing the job...
[2025-01-13 05:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:26:03] Production.INFO: ==31309== Lock acquired, processing the job...
[2025-01-13 05:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:26:03] Production.INFO: ==31305== Lock acquired, processing the job...
[2025-01-13 05:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:26:03] Production.INFO: ==31307== Lock acquired, processing the job...
[2025-01-13 05:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:26:03] Production.INFO: Account Balance Start.
[2025-01-13 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-13 05:26:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:26:03] Production.INFO: 117
[2025-01-13 05:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:26:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:26:03] Production.INFO: count ==21
[2025-01-13 05:26:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 05:26:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:26:03] Production.INFO: count ==21
[2025-01-13 05:26:04] Production.INFO: ==31301== Releasing lock...
[2025-01-13 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236788') start
[2025-01-13 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236788') end
[2025-01-13 05:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:26:04] Production.INFO: 1
[2025-01-13 05:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:26:04] Production.INFO: Total Charge 0
[2025-01-13 05:26:04] Production.INFO: CreateAllLog End
[2025-01-13 05:26:04] Production.INFO: ==31309== Releasing lock...
[2025-01-13 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:26:04] Production.ERROR: done
[2025-01-13 05:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:26:04] Production.ERROR: done
[2025-01-13 05:26:04] Production.INFO: Account Balance End.
[2025-01-13 05:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:26:04] Production.INFO: ==31305== Releasing lock...
[2025-01-13 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:26:05
[end_date_ymd] => 2025-01-13 05:26:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:26:05' and `end` < '2025-01-13 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-13 05:26:10] Production.ERROR: CronJobId end10
[2025-01-13 05:26:10] Production.INFO: ==31303== Releasing lock...
[2025-01-13 05:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:26:13] Production.INFO: call_cost start
[2025-01-13 05:26:13] Production.INFO: call_cost end
[2025-01-13 05:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:26:13] Production.INFO: ==31299== Releasing lock...
[2025-01-13 05:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:26:17] Production.INFO: count ==108
[2025-01-13 05:26:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:26:05 - End Time 2025-01-13 05:26:05
[2025-01-13 05:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236790', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236790', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236790', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236790', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:26:17] Production.INFO: ProcessCDR(1,14236790,1,1,2)
[2025-01-13 05:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236790', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236790', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:26:21] Production.INFO: ==31307== Releasing lock...
[2025-01-13 05:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:26:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:27:01] Production.INFO: ==31367== Lock acquired, processing the job...
[2025-01-13 10:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:27:01] Production.INFO: neon service started
[2025-01-13 10:27:01] Production.INFO: neon service started
[2025-01-13 10:27:01] Production.INFO: ==31367== Releasing lock...
[2025-01-13 10:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:27:02] Production.INFO: ==31369== Lock acquired, processing the job...
[2025-01-13 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:27:02] Production.INFO: ==31369== Releasing lock...
[2025-01-13 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:27:02] Production.INFO: ==31371== Lock acquired, processing the job...
[2025-01-13 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:27:02] Production.INFO: ==31371== Releasing lock...
[2025-01-13 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:27:03] Production.INFO: ==31375== Lock acquired, processing the job...
[2025-01-13 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:27:03] Production.INFO: ==31383== Lock acquired, processing the job...
[2025-01-13 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:27:03] Production.INFO: ==31373== Lock acquired, processing the job...
[2025-01-13 05:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:27:03] Production.INFO: ==31377== Lock acquired, processing the job...
[2025-01-13 05:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:27:03] Production.INFO: ==31375== Releasing lock...
[2025-01-13 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:27:03] Production.INFO: ==31379== Lock acquired, processing the job...
[2025-01-13 05:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 05:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:27:03] Production.INFO: ==31381== Lock acquired, processing the job...
[2025-01-13 05:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:27:03] Production.INFO: count ==21
[2025-01-13 05:27:03] Production.INFO: Account Balance Start.
[2025-01-13 05:27:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:27:03] Production.INFO: 117
[2025-01-13 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-13 05:27:03] Production.INFO: count ==21
[2025-01-13 05:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236792') start
[2025-01-13 05:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:27:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:27:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:27:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:27:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236792') end
[2025-01-13 05:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:27:03] Production.INFO: 1
[2025-01-13 05:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:27:04] Production.INFO: ==31383== Releasing lock...
[2025-01-13 05:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:27:04] Production.INFO: Total Charge 0
[2025-01-13 05:27:04] Production.INFO: CreateAllLog End
[2025-01-13 05:27:04] Production.ERROR: done
[2025-01-13 05:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:27:04] Production.ERROR: done
[2025-01-13 05:27:04] Production.INFO: Account Balance End.
[2025-01-13 05:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:27:04] Production.INFO: ==31379== Releasing lock...
[2025-01-13 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:27:05
[end_date_ymd] => 2025-01-13 05:27:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:27:05' and `end` < '2025-01-13 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-13 05:27:12] Production.ERROR: CronJobId end10
[2025-01-13 05:27:12] Production.INFO: ==31377== Releasing lock...
[2025-01-13 05:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:27:14] Production.INFO: call_cost start
[2025-01-13 05:27:14] Production.INFO: call_cost end
[2025-01-13 05:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:27:14] Production.INFO: ==31373== Releasing lock...
[2025-01-13 05:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:27:18] Production.INFO: count ==108
[2025-01-13 05:27:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:27:05 - End Time 2025-01-13 05:27:05
[2025-01-13 05:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236795', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236795', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236795', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236795', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:27:19] Production.INFO: ProcessCDR(1,14236795,1,1,2)
[2025-01-13 05:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236795', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236795', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:27:22] Production.INFO: ==31381== Releasing lock...
[2025-01-13 05:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:27:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:28:01] Production.INFO: ==31444== Lock acquired, processing the job...
[2025-01-13 10:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:28:01] Production.INFO: neon service started
[2025-01-13 10:28:01] Production.INFO: neon service started
[2025-01-13 10:28:01] Production.INFO: ==31444== Releasing lock...
[2025-01-13 10:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:28:02] Production.INFO: ==31446== Lock acquired, processing the job...
[2025-01-13 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:28:02] Production.INFO: ==31448== Lock acquired, processing the job...
[2025-01-13 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:28:02] Production.INFO: ==31448== Releasing lock...
[2025-01-13 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:28:02] Production.INFO: ==31446== Releasing lock...
[2025-01-13 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:28:03] Production.INFO: ==31459== Lock acquired, processing the job...
[2025-01-13 05:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:28:03] Production.INFO: ==31455== Lock acquired, processing the job...
[2025-01-13 05:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:28:03] Production.INFO: ==31451== Lock acquired, processing the job...
[2025-01-13 05:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:28:03] Production.INFO: ==31453== Lock acquired, processing the job...
[2025-01-13 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:28:03] Production.INFO: ==31457== Lock acquired, processing the job...
[2025-01-13 05:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:28:03] Production.INFO: ==31461== Lock acquired, processing the job...
[2025-01-13 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:28:03] Production.ERROR: done
[2025-01-13 05:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 05:28:03] Production.INFO: Account Balance Start.
[2025-01-13 05:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:28:03] Production.INFO: 117
[2025-01-13 05:28:03] Production.INFO: count ==21
[2025-01-13 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-13 05:28:03] Production.INFO: count ==21
[2025-01-13 05:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:28:03] Production.ERROR: done
[2025-01-13 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236799') start
[2025-01-13 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:28:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:28:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:28:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236799') end
[2025-01-13 05:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:28:03] Production.INFO: 1
[2025-01-13 05:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:28:03] Production.INFO: ==31461== Releasing lock...
[2025-01-13 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:28:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:28:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:28:04] Production.INFO: ==31453== Releasing lock...
[2025-01-13 05:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:28:04] Production.INFO: Total Charge 0
[2025-01-13 05:28:04] Production.INFO: CreateAllLog End
[2025-01-13 05:28:04] Production.INFO: Account Balance End.
[2025-01-13 05:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:28:04] Production.INFO: ==31457== Releasing lock...
[2025-01-13 05:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:28:04
[end_date_ymd] => 2025-01-13 05:28:04
[RateCDR] => 1
)
[2025-01-13 05: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-13 02:28:04' and `end` < '2025-01-13 05:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:28:11] Production.ERROR: CronJobId end10
[2025-01-13 05:28:11] Production.INFO: ==31455== Releasing lock...
[2025-01-13 05:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:28:13] Production.INFO: call_cost start
[2025-01-13 05:28:13] Production.INFO: call_cost end
[2025-01-13 05:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:28:14] Production.INFO: ==31451== Releasing lock...
[2025-01-13 05:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:28:17] Production.INFO: count ==108
[2025-01-13 05:28:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:28:04 - End Time 2025-01-13 05:28:04
[2025-01-13 05:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236800', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236800', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236800', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236800', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:28:17] Production.INFO: ProcessCDR(1,14236800,1,1,2)
[2025-01-13 05:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236800', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236800', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:28:20] Production.INFO: ==31459== Releasing lock...
[2025-01-13 05:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:28:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:29:01] Production.INFO: ==31536== Lock acquired, processing the job...
[2025-01-13 10:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:29:01] Production.INFO: neon service started
[2025-01-13 10:29:01] Production.INFO: neon service started
[2025-01-13 10:29:01] Production.INFO: ==31536== Releasing lock...
[2025-01-13 10:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:29:02] Production.INFO: ==31539== Lock acquired, processing the job...
[2025-01-13 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:29:02] Production.INFO: ==31541== Lock acquired, processing the job...
[2025-01-13 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:29:02] Production.INFO: ==31541== Releasing lock...
[2025-01-13 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:29:02] Production.INFO: ==31539== Releasing lock...
[2025-01-13 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:29:03] Production.INFO: ==31545== Lock acquired, processing the job...
[2025-01-13 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:29:03] Production.INFO: ==31551== Lock acquired, processing the job...
[2025-01-13 05:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:29:03] Production.INFO: ==31549== Lock acquired, processing the job...
[2025-01-13 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:29:04] Production.INFO: ==31553== Lock acquired, processing the job...
[2025-01-13 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:29:04] Production.INFO: ==31543== Lock acquired, processing the job...
[2025-01-13 05:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:29:04] Production.INFO: Account Balance Start.
[2025-01-13 05:29:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:29:04] Production.INFO: 117
[2025-01-13 05:29:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:29:04] Production.INFO: ==31547== Lock acquired, processing the job...
[2025-01-13 05:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:29:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:29:04] Production.INFO: ==31545== Releasing lock...
[2025-01-13 05:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:29:04] Production.INFO: Date 2025-01-10
[2025-01-13 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-13 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:29:04] Production.INFO: count ==21
[2025-01-13 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-13 05:29:04] Production.INFO: count ==21
[2025-01-13 05:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236803') start
[2025-01-13 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:29:04] Production.ERROR: done
[2025-01-13 05:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236803') end
[2025-01-13 05:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:29:04] Production.INFO: 1
[2025-01-13 05:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:29:04] Production.INFO: Total Charge 0
[2025-01-13 05:29:04] Production.INFO: CreateAllLog End
[2025-01-13 05:29:04] Production.INFO: ==31553== Releasing lock...
[2025-01-13 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:29:04] Production.ERROR: done
[2025-01-13 05:29:04] Production.INFO: Account Balance End.
[2025-01-13 05:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:29:04] Production.INFO: ==31549== Releasing lock...
[2025-01-13 05:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:29:05
[end_date_ymd] => 2025-01-13 05:29:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:29:05' and `end` < '2025-01-13 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-13 05:29:12] Production.ERROR: CronJobId end10
[2025-01-13 05:29:12] Production.INFO: ==31547== Releasing lock...
[2025-01-13 05:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:29:13] Production.INFO: call_cost start
[2025-01-13 05:29:13] Production.INFO: call_cost end
[2025-01-13 05:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:29:14] Production.INFO: ==31543== Releasing lock...
[2025-01-13 05:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:29:17] Production.INFO: count ==108
[2025-01-13 05:29:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:29:05 - End Time 2025-01-13 05:29:05
[2025-01-13 05:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236805', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236805', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236805', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236805', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:29:17] Production.INFO: ProcessCDR(1,14236805,1,1,2)
[2025-01-13 05:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236805', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236805', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:29:21] Production.INFO: ==31551== Releasing lock...
[2025-01-13 05:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:29:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:30:02] Production.INFO: ==31630== Lock acquired, processing the job...
[2025-01-13 10:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:30:02] Production.INFO: neon service started
[2025-01-13 10:30:02] Production.INFO: neon service started
[2025-01-13 10:30:02] Production.INFO: ==31630== Releasing lock...
[2025-01-13 10:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:30:03] Production.INFO: ==31634== Lock acquired, processing the job...
[2025-01-13 10:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:30:03] Production.INFO: ==31634== Releasing lock...
[2025-01-13 10:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:30:03] Production.INFO: ==31632== Lock acquired, processing the job...
[2025-01-13 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:30:03] Production.INFO: ==31632== Releasing lock...
[2025-01-13 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:30:04] Production.INFO: ==31637== Lock acquired, processing the job...
[2025-01-13 05:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 05:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 05:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 05:30:04] Production.INFO: ==31637== Releasing lock...
[2025-01-13 05:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 05:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 05:30:04] Production.INFO: ==31641== Lock acquired, processing the job...
[2025-01-13 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:30:04] Production.INFO: ==31645== Lock acquired, processing the job...
[2025-01-13 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:30:04] Production.INFO: ==31639== Lock acquired, processing the job...
[2025-01-13 05:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:30:04] Production.INFO: ==31651== Lock acquired, processing the job...
[2025-01-13 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:30:04] Production.INFO: Account Balance Start.
[2025-01-13 05:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:30:04] Production.INFO: 117
[2025-01-13 05:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:30:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:30:05] Production.INFO: ==31641== Releasing lock...
[2025-01-13 05:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05: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-13 05:30:05] Production.INFO: ==31649== Lock acquired, processing the job...
[2025-01-13 05:30:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 05:30:05] Production.INFO: Date 2025-01-09
[2025-01-13 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 05:30:05] Production.INFO: count ==21
[2025-01-13 05: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-13 05:30:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:30:05] Production.INFO: ==31643== Lock acquired, processing the job...
[2025-01-13 05:30:05] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:30:05] Production.INFO: count ==21
[2025-01-13 05:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236809') start
[2025-01-13 05:30:05] Production.INFO: Date 2025-01-10
[2025-01-13 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 05:30:05] Production.INFO: ==31647== Lock acquired, processing the job...
[2025-01-13 05:30:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:30:05] Production.INFO: Date 2025-01-11
[2025-01-13 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 05:30:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236809') end
[2025-01-13 05:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:30:05] Production.INFO: 1
[2025-01-13 05:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:30:05] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:30:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:30:05] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:30:05] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:30:05] Production.INFO: ==31651== Releasing lock...
[2025-01-13 05:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:30:05] Production.INFO: Date 2025-01-12
[2025-01-13 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 05:30:05] Production.ERROR: done
[2025-01-13 05:30:05] Production.INFO: Date 2025-01-13
[2025-01-13 05:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 05:30:05] Production.INFO: Total Charge 0
[2025-01-13 05:30:05] Production.INFO: CreateAllLog End
[2025-01-13 05:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 05:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236810', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 05:30:05] Production.ERROR: done
[2025-01-13 05:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:30:05] Production.INFO: Account Balance End.
[2025-01-13 05:30:05] Production.ERROR: done
[2025-01-13 05:30:05] Production.ERROR: CronJobId end 12
[2025-01-13 05:30:05] Production.INFO: ==31645== Releasing lock...
[2025-01-13 05:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:30:06
[end_date_ymd] => 2025-01-13 05:30:06
[RateCDR] => 1
)
[2025-01-13 05:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:30:06' and `end` < '2025-01-13 05:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236810', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 05:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 05:30:09] Production.INFO: ProcessCDR(1,14236810,1,1,2)
[2025-01-13 05:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236810,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236810,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:30:09] Production.INFO: ==31649== Releasing lock...
[2025-01-13 05:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 05:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 05:30:14] Production.ERROR: CronJobId end10
[2025-01-13 05:30:14] Production.INFO: ==31643== Releasing lock...
[2025-01-13 05:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:30:16] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:30:16] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:30:16] Production.INFO: call_cost start
[2025-01-13 05:30:16] Production.INFO: call_cost end
[2025-01-13 05:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:30:17] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:30:17] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:30:17] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:30:17] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:30:17] Production.INFO: ==31639== Releasing lock...
[2025-01-13 05:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:30:19] Production.INFO: count ==102
[2025-01-13 05:30:19] Production.ERROR: pbx CDR StartTime 2025-01-13 02:30:06 - End Time 2025-01-13 05:30:06
[2025-01-13 05:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236811', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236811', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236811', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236811', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:30:19] Production.INFO: ProcessCDR(1,14236811,1,1,2)
[2025-01-13 05:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236811', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236811', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:30:23] Production.INFO: ==31647== Releasing lock...
[2025-01-13 05:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:30:23] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:31:02] Production.INFO: ==31727== Lock acquired, processing the job...
[2025-01-13 10:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:31:02] Production.INFO: neon service started
[2025-01-13 10:31:02] Production.INFO: neon service started
[2025-01-13 10:31:02] Production.INFO: ==31727== Releasing lock...
[2025-01-13 10:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:31:02] Production.INFO: ==31731== Lock acquired, processing the job...
[2025-01-13 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:31:02] Production.INFO: ==31731== Releasing lock...
[2025-01-13 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:31:02] Production.INFO: ==31729== Lock acquired, processing the job...
[2025-01-13 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:31:02] Production.INFO: ==31729== Releasing lock...
[2025-01-13 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:31:03] Production.INFO: ==31734== Lock acquired, processing the job...
[2025-01-13 05:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:31:03] Production.INFO: ==31736== Lock acquired, processing the job...
[2025-01-13 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:31:03] Production.INFO: ==31742== Lock acquired, processing the job...
[2025-01-13 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:31:03] Production.INFO: ==31738== Lock acquired, processing the job...
[2025-01-13 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:31:04] Production.INFO: ==31740== Lock acquired, processing the job...
[2025-01-13 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:31:04] Production.INFO: ==31736== Releasing lock...
[2025-01-13 05:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:31:04] Production.INFO: ==31744== Lock acquired, processing the job...
[2025-01-13 05:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:31:04] Production.ERROR: done
[2025-01-13 05:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:31:04] Production.INFO: Account Balance Start.
[2025-01-13 05:31:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:31:04] Production.INFO: 117
[2025-01-13 05:31:04] Production.INFO: Date 2025-01-08
[2025-01-13 05: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-13 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:31:04] Production.ERROR: done
[2025-01-13 05:31:04] Production.INFO: count ==21
[2025-01-13 05:31:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 05:31:04] Production.INFO: count ==21
[2025-01-13 05:31:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236815') start
[2025-01-13 05:31:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:31:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:31:04] Production.INFO: Total Charge 0
[2025-01-13 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236815') end
[2025-01-13 05:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:31:04] Production.INFO: 1
[2025-01-13 05:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:31:04] Production.INFO: CreateAllLog End
[2025-01-13 05:31:04] Production.INFO: ==31744== Releasing lock...
[2025-01-13 05:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:31:04] Production.INFO: Account Balance End.
[2025-01-13 05:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:31:04] Production.INFO: ==31740== Releasing lock...
[2025-01-13 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:31:05
[end_date_ymd] => 2025-01-13 05:31:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:31:05' and `end` < '2025-01-13 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-13 05:31:11] Production.ERROR: CronJobId end10
[2025-01-13 05:31:11] Production.INFO: ==31738== Releasing lock...
[2025-01-13 05:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:31:13] Production.INFO: call_cost start
[2025-01-13 05:31:13] Production.INFO: call_cost end
[2025-01-13 05:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:31:14] Production.INFO: ==31734== Releasing lock...
[2025-01-13 05:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:31:18] Production.INFO: count ==97
[2025-01-13 05:31:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:31:05 - End Time 2025-01-13 05:31:05
[2025-01-13 05:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236816', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236816', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236816', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236816', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:31:18] Production.INFO: ProcessCDR(1,14236816,1,1,2)
[2025-01-13 05:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236816', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236816', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:31:21] Production.INFO: ==31742== Releasing lock...
[2025-01-13 05:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:31:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:32:01] Production.INFO: ==31825== Lock acquired, processing the job...
[2025-01-13 10:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:32:01] Production.INFO: neon service started
[2025-01-13 10:32:01] Production.INFO: neon service started
[2025-01-13 10:32:01] Production.INFO: ==31825== Releasing lock...
[2025-01-13 10:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:32:01] Production.INFO: ==31828== Lock acquired, processing the job...
[2025-01-13 05:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:32:02] Production.INFO: ==31828== Releasing lock...
[2025-01-13 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:32:02] Production.INFO: ==31830== Lock acquired, processing the job...
[2025-01-13 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:32:02] Production.INFO: ==31830== Releasing lock...
[2025-01-13 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:32:03] Production.INFO: ==31834== Lock acquired, processing the job...
[2025-01-13 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:32:03] Production.INFO: ==31832== Lock acquired, processing the job...
[2025-01-13 05:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:32:03] Production.INFO: ==31842== Lock acquired, processing the job...
[2025-01-13 05:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:32:03] Production.INFO: ==31836== Lock acquired, processing the job...
[2025-01-13 05:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:32:03] Production.INFO: ==31838== Lock acquired, processing the job...
[2025-01-13 05:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:32:03] Production.INFO: ==31834== Releasing lock...
[2025-01-13 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:32:03] Production.INFO: ==31840== Lock acquired, processing the job...
[2025-01-13 05:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 05:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:32:03] Production.INFO: count ==21
[2025-01-13 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-13 05:32:03] Production.INFO: count ==21
[2025-01-13 05:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236819') start
[2025-01-13 05:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:32:03] Production.INFO: Account Balance Start.
[2025-01-13 05:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:32:03] Production.INFO: 117
[2025-01-13 05:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236819') end
[2025-01-13 05:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:32:03] Production.INFO: 1
[2025-01-13 05:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:32:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:32:03] Production.INFO: ==31842== Releasing lock...
[2025-01-13 05:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:32:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:32:03] Production.ERROR: done
[2025-01-13 05:32:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:32:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:32:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:32:03] Production.INFO: Total Charge 0
[2025-01-13 05:32:04] Production.INFO: CreateAllLog End
[2025-01-13 05:32:04] Production.ERROR: done
[2025-01-13 05:32:04] Production.INFO: Account Balance End.
[2025-01-13 05:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:32:04] Production.INFO: ==31838== Releasing lock...
[2025-01-13 05:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:32:04
[end_date_ymd] => 2025-01-13 05:32:04
[RateCDR] => 1
)
[2025-01-13 05:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:32:04' and `end` < '2025-01-13 05:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:32:12] Production.ERROR: CronJobId end10
[2025-01-13 05:32:12] Production.INFO: ==31836== Releasing lock...
[2025-01-13 05:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:32:14] Production.INFO: call_cost start
[2025-01-13 05:32:14] Production.INFO: call_cost end
[2025-01-13 05:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:32:14] Production.INFO: ==31832== Releasing lock...
[2025-01-13 05:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:32:17] Production.INFO: count ==97
[2025-01-13 05:32:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:32:04 - End Time 2025-01-13 05:32:04
[2025-01-13 05:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236821', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236821', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236821', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236821', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:32:17] Production.INFO: ProcessCDR(1,14236821,1,1,2)
[2025-01-13 05:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236821', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236821', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:32:21] Production.INFO: ==31840== Releasing lock...
[2025-01-13 05:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:32:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:33:01] Production.INFO: ==31918== Lock acquired, processing the job...
[2025-01-13 10:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:33:01] Production.INFO: neon service started
[2025-01-13 10:33:01] Production.INFO: neon service started
[2025-01-13 10:33:01] Production.INFO: ==31918== Releasing lock...
[2025-01-13 10:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:33:02] Production.INFO: ==31920== Lock acquired, processing the job...
[2025-01-13 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:33:02] Production.INFO: ==31920== Releasing lock...
[2025-01-13 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:33:02] Production.INFO: ==31922== Lock acquired, processing the job...
[2025-01-13 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:33:02] Production.INFO: ==31922== Releasing lock...
[2025-01-13 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:33:03] Production.INFO: ==31925== Lock acquired, processing the job...
[2025-01-13 05:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:33:03] Production.INFO: ==31927== Lock acquired, processing the job...
[2025-01-13 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:33:03] Production.INFO: ==31931== Lock acquired, processing the job...
[2025-01-13 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:33:03] Production.INFO: Account Balance Start.
[2025-01-13 05:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:33:03] Production.INFO: 117
[2025-01-13 05:33:03] Production.INFO: ==31927== Releasing lock...
[2025-01-13 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:33:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:33:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:33:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:33:03] Production.INFO: ==31929== Lock acquired, processing the job...
[2025-01-13 05:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:33:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:33:03] Production.INFO: ==31933== Lock acquired, processing the job...
[2025-01-13 05:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:33:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:33:03] Production.INFO: ==31935== Lock acquired, processing the job...
[2025-01-13 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:33:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:33:04] Production.INFO: Total Charge 0
[2025-01-13 05:33:04] Production.INFO: CreateAllLog End
[2025-01-13 05:33:04] Production.INFO: count ==21
[2025-01-13 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-13 05:33:04] Production.INFO: count ==21
[2025-01-13 05:33:04] Production.ERROR: done
[2025-01-13 05:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236825') start
[2025-01-13 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236825') end
[2025-01-13 05:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:33:04] Production.INFO: 1
[2025-01-13 05:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:33:04] Production.ERROR: done
[2025-01-13 05:33:04] Production.INFO: ==31935== Releasing lock...
[2025-01-13 05:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:33:04] Production.INFO: Account Balance End.
[2025-01-13 05:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:33:04] Production.INFO: ==31931== Releasing lock...
[2025-01-13 05:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:33:05
[end_date_ymd] => 2025-01-13 05:33:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:33:05' and `end` < '2025-01-13 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-13 05:33:12] Production.ERROR: CronJobId end10
[2025-01-13 05:33:12] Production.INFO: ==31929== Releasing lock...
[2025-01-13 05:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:33:13] Production.INFO: call_cost start
[2025-01-13 05:33:13] Production.INFO: call_cost end
[2025-01-13 05:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:33:14] Production.INFO: ==31925== Releasing lock...
[2025-01-13 05:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:33:17] Production.INFO: count ==97
[2025-01-13 05:33:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:33:05 - End Time 2025-01-13 05:33:05
[2025-01-13 05:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236826', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236826', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236826', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236826', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:33:17] Production.INFO: ProcessCDR(1,14236826,1,1,2)
[2025-01-13 05:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236826', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236826', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:33:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:33:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:33:20] Production.INFO: ==31933== Releasing lock...
[2025-01-13 05:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:33:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:34:01] Production.INFO: ==32016== Lock acquired, processing the job...
[2025-01-13 10:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:34:01] Production.INFO: neon service started
[2025-01-13 10:34:01] Production.INFO: neon service started
[2025-01-13 10:34:01] Production.INFO: ==32016== Releasing lock...
[2025-01-13 10:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:34:02] Production.INFO: ==32018== Lock acquired, processing the job...
[2025-01-13 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:34:02] Production.INFO: ==32020== Lock acquired, processing the job...
[2025-01-13 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:34:02] Production.INFO: ==32020== Releasing lock...
[2025-01-13 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:34:02] Production.INFO: ==32018== Releasing lock...
[2025-01-13 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:34:03] Production.INFO: ==32030== Lock acquired, processing the job...
[2025-01-13 05:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:34:03] Production.INFO: ==32032== Lock acquired, processing the job...
[2025-01-13 05:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:34:03] Production.INFO: ==32023== Lock acquired, processing the job...
[2025-01-13 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:34:03] Production.INFO: Account Balance Start.
[2025-01-13 05:34:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:34:03] Production.INFO: 117
[2025-01-13 05:34:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:34:03] Production.INFO: ==32028== Lock acquired, processing the job...
[2025-01-13 05:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:34:03] Production.INFO: ==32025== Lock acquired, processing the job...
[2025-01-13 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:34:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:34:03] Production.INFO: ==32034== Lock acquired, processing the job...
[2025-01-13 05:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:34:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:34:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:34:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:34:03] Production.ERROR: done
[2025-01-13 05:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:34:03] Production.INFO: count ==21
[2025-01-13 05:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:34:03] Production.INFO: count ==21
[2025-01-13 05:34:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236830') start
[2025-01-13 05:34:03] Production.INFO: ==32025== Releasing lock...
[2025-01-13 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:34:03] Production.INFO: Total Charge 0
[2025-01-13 05:34:03] Production.INFO: CreateAllLog End
[2025-01-13 05:34:03] Production.ERROR: done
[2025-01-13 05:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236830') end
[2025-01-13 05:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:34:03] Production.INFO: 1
[2025-01-13 05:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:34:04] Production.INFO: ==32034== Releasing lock...
[2025-01-13 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:34:04] Production.INFO: Account Balance End.
[2025-01-13 05:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:34:04] Production.INFO: ==32030== Releasing lock...
[2025-01-13 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:34:04
[end_date_ymd] => 2025-01-13 05:34:04
[RateCDR] => 1
)
[2025-01-13 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-13 02:34:04' and `end` < '2025-01-13 05: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-13 05:34:11] Production.ERROR: CronJobId end10
[2025-01-13 05:34:11] Production.INFO: ==32028== Releasing lock...
[2025-01-13 05:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:34:12] Production.INFO: call_cost start
[2025-01-13 05:34:12] Production.INFO: call_cost end
[2025-01-13 05:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:34:13] Production.INFO: ==32023== Releasing lock...
[2025-01-13 05:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:34:17] Production.INFO: count ==97
[2025-01-13 05:34:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:34:04 - End Time 2025-01-13 05:34:04
[2025-01-13 05:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236831', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236831', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236831', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236831', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:34:17] Production.INFO: ProcessCDR(1,14236831,1,1,2)
[2025-01-13 05:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236831', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236831', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:34:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:34:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:34:20] Production.INFO: ==32032== Releasing lock...
[2025-01-13 05:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:34:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:35:02] Production.INFO: ==32111== Lock acquired, processing the job...
[2025-01-13 10:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:35:02] Production.INFO: neon service started
[2025-01-13 10:35:02] Production.INFO: neon service started
[2025-01-13 10:35:02] Production.INFO: ==32111== Releasing lock...
[2025-01-13 10:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:35:02] Production.INFO: ==32113== Lock acquired, processing the job...
[2025-01-13 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:35:02] Production.INFO: ==32115== Lock acquired, processing the job...
[2025-01-13 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:35:02] Production.INFO: ==32115== Releasing lock...
[2025-01-13 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:35:02] Production.INFO: ==32113== Releasing lock...
[2025-01-13 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:35:03] Production.INFO: ==32118== Lock acquired, processing the job...
[2025-01-13 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:35:03] Production.INFO: ==32120== Lock acquired, processing the job...
[2025-01-13 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:35:03] Production.INFO: ==32122== Lock acquired, processing the job...
[2025-01-13 05:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:35:03] Production.INFO: ==32126== Lock acquired, processing the job...
[2025-01-13 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:35:03] Production.INFO: ==32124== Lock acquired, processing the job...
[2025-01-13 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:35:03] Production.INFO: ==32128== Lock acquired, processing the job...
[2025-01-13 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:35:04] Production.INFO: Account Balance Start.
[2025-01-13 05:35:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:35:04] Production.INFO: 117
[2025-01-13 05:35:04] Production.INFO: ==32120== Releasing lock...
[2025-01-13 05:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:35:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:35:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:35:04] Production.INFO: count ==21
[2025-01-13 05:35:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:35:04] Production.INFO: count ==21
[2025-01-13 05:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236835') start
[2025-01-13 05:35:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:35:04] Production.ERROR: done
[2025-01-13 05:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236835') end
[2025-01-13 05:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:35:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:35:04] Production.INFO: 1
[2025-01-13 05:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:35:04] Production.INFO: ==32128== Releasing lock...
[2025-01-13 05:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:35:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:35:04] Production.INFO: Total Charge 0
[2025-01-13 05:35:04] Production.INFO: CreateAllLog End
[2025-01-13 05:35:04] Production.ERROR: done
[2025-01-13 05:35:04] Production.INFO: Account Balance End.
[2025-01-13 05:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:35:04] Production.INFO: ==32124== Releasing lock...
[2025-01-13 05:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:35:05
[end_date_ymd] => 2025-01-13 05:35:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:35:05' and `end` < '2025-01-13 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-13 05:35:10] Production.ERROR: CronJobId end10
[2025-01-13 05:35:10] Production.INFO: ==32122== Releasing lock...
[2025-01-13 05:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:35:13] Production.INFO: call_cost start
[2025-01-13 05:35:13] Production.INFO: call_cost end
[2025-01-13 05:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:35:13] Production.INFO: ==32118== Releasing lock...
[2025-01-13 05:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:35:17] Production.INFO: count ==97
[2025-01-13 05:35:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:35:05 - End Time 2025-01-13 05:35:05
[2025-01-13 05:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236836', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236836', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236836', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236836', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:35:17] Production.INFO: ProcessCDR(1,14236836,1,1,2)
[2025-01-13 05:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236836', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236836', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:35:21] Production.INFO: ==32126== Releasing lock...
[2025-01-13 05:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:35:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:36:01] Production.INFO: ==32202== Lock acquired, processing the job...
[2025-01-13 10:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:36:01] Production.INFO: neon service started
[2025-01-13 10:36:01] Production.INFO: neon service started
[2025-01-13 10:36:01] Production.INFO: ==32202== Releasing lock...
[2025-01-13 10:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:36:02] Production.INFO: ==32204== Lock acquired, processing the job...
[2025-01-13 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:36:02] Production.INFO: ==32206== Lock acquired, processing the job...
[2025-01-13 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:36:02] Production.INFO: ==32206== Releasing lock...
[2025-01-13 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:36:02] Production.INFO: ==32204== Releasing lock...
[2025-01-13 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:36:03] Production.INFO: ==32209== Lock acquired, processing the job...
[2025-01-13 05:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:36:03] Production.INFO: ==32219== Lock acquired, processing the job...
[2025-01-13 05:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:36:03] Production.INFO: ==32213== Lock acquired, processing the job...
[2025-01-13 05:36:03] Production.INFO: ==32211== Lock acquired, processing the job...
[2025-01-13 05:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:36:03] Production.INFO: ==32215== Lock acquired, processing the job...
[2025-01-13 05:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:36:03] Production.INFO: count ==21
[2025-01-13 05:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:36:03] Production.INFO: count ==21
[2025-01-13 05:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236838') start
[2025-01-13 05:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:36:03] Production.INFO: Account Balance Start.
[2025-01-13 05:36:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:36:03] Production.INFO: 117
[2025-01-13 05:36:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:36:03] Production.INFO: ==32217== Lock acquired, processing the job...
[2025-01-13 05:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:36:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236838') end
[2025-01-13 05:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:36:03] Production.INFO: 1
[2025-01-13 05:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:36:03] Production.INFO: ==32219== Releasing lock...
[2025-01-13 05:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:36:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:36:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:36:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:36:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:36:03] Production.INFO: ==32211== Releasing lock...
[2025-01-13 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:36:03] Production.INFO: Total Charge 0
[2025-01-13 05:36:03] Production.INFO: CreateAllLog End
[2025-01-13 05:36:04] Production.ERROR: done
[2025-01-13 05:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:36:04] Production.INFO: Account Balance End.
[2025-01-13 05:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:36:04] Production.INFO: ==32215== Releasing lock...
[2025-01-13 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:36:04] Production.ERROR: done
[2025-01-13 05:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:36:04
[end_date_ymd] => 2025-01-13 05:36:04
[RateCDR] => 1
)
[2025-01-13 05:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:36:04' and `end` < '2025-01-13 05:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:36:10] Production.ERROR: CronJobId end10
[2025-01-13 05:36:10] Production.INFO: ==32213== Releasing lock...
[2025-01-13 05:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:36:13] Production.INFO: call_cost start
[2025-01-13 05:36:13] Production.INFO: call_cost end
[2025-01-13 05:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:36:14] Production.INFO: ==32209== Releasing lock...
[2025-01-13 05:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:36:17] Production.INFO: count ==97
[2025-01-13 05:36:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:36:04 - End Time 2025-01-13 05:36:04
[2025-01-13 05:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236841', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236841', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236841', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236841', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:36:17] Production.INFO: ProcessCDR(1,14236841,1,1,2)
[2025-01-13 05:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236841', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236841', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:36:20] Production.INFO: ==32217== Releasing lock...
[2025-01-13 05:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:36:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:37:01] Production.INFO: ==32291== Lock acquired, processing the job...
[2025-01-13 10:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:37:01] Production.INFO: neon service started
[2025-01-13 10:37:01] Production.INFO: neon service started
[2025-01-13 10:37:01] Production.INFO: ==32291== Releasing lock...
[2025-01-13 10:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:37:02] Production.INFO: ==32293== Lock acquired, processing the job...
[2025-01-13 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:37:02] Production.INFO: ==32295== Lock acquired, processing the job...
[2025-01-13 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:37:02] Production.INFO: ==32295== Releasing lock...
[2025-01-13 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:37:02] Production.INFO: ==32293== Releasing lock...
[2025-01-13 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:37:03] Production.INFO: ==32304== Lock acquired, processing the job...
[2025-01-13 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:37:03] Production.INFO: ==32298== Lock acquired, processing the job...
[2025-01-13 05:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:37:03] Production.INFO: ==32306== Lock acquired, processing the job...
[2025-01-13 05:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:37:03] Production.INFO: Account Balance Start.
[2025-01-13 05:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:37:03] Production.INFO: 117
[2025-01-13 05:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:37:03] Production.INFO: ==32300== Lock acquired, processing the job...
[2025-01-13 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:37:03] Production.INFO: ==32302== Lock acquired, processing the job...
[2025-01-13 05:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:37:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:37:04] Production.INFO: ==32308== Lock acquired, processing the job...
[2025-01-13 05:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:37:04] Production.ERROR: done
[2025-01-13 05:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:37:04] Production.INFO: count ==21
[2025-01-13 05:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:37:04] Production.INFO: count ==21
[2025-01-13 05:37:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236845') start
[2025-01-13 05:37:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:37:04] Production.INFO: ==32300== Releasing lock...
[2025-01-13 05:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:37:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236845') end
[2025-01-13 05:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:37:04] Production.INFO: 1
[2025-01-13 05:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:37:04] Production.ERROR: done
[2025-01-13 05:37:04] Production.INFO: ==32308== Releasing lock...
[2025-01-13 05:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:37:04] Production.INFO: Total Charge 0
[2025-01-13 05:37:04] Production.INFO: CreateAllLog End
[2025-01-13 05:37:04] Production.INFO: Account Balance End.
[2025-01-13 05:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:37:04] Production.INFO: ==32304== Releasing lock...
[2025-01-13 05:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:37:05
[end_date_ymd] => 2025-01-13 05:37:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:37:05' and `end` < '2025-01-13 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-13 05:37:11] Production.ERROR: CronJobId end10
[2025-01-13 05:37:11] Production.INFO: ==32302== Releasing lock...
[2025-01-13 05:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:37:13] Production.INFO: call_cost start
[2025-01-13 05:37:13] Production.INFO: call_cost end
[2025-01-13 05:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:37:14] Production.INFO: ==32298== Releasing lock...
[2025-01-13 05:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:37:18] Production.INFO: count ==97
[2025-01-13 05:37:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:37:05 - End Time 2025-01-13 05:37:05
[2025-01-13 05:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236846', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236846', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236846', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236846', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:37:18] Production.INFO: ProcessCDR(1,14236846,1,1,2)
[2025-01-13 05:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236846', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236846', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:37:21] Production.INFO: ==32306== Releasing lock...
[2025-01-13 05:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:37:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:38:01] Production.INFO: ==32377== Lock acquired, processing the job...
[2025-01-13 10:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:38:01] Production.INFO: neon service started
[2025-01-13 10:38:01] Production.INFO: neon service started
[2025-01-13 10:38:01] Production.INFO: ==32377== Releasing lock...
[2025-01-13 10:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:38:01] Production.INFO: ==32379== Lock acquired, processing the job...
[2025-01-13 05:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:38:02] Production.INFO: ==32381== Lock acquired, processing the job...
[2025-01-13 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:38:02] Production.INFO: ==32381== Releasing lock...
[2025-01-13 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:38:02] Production.INFO: ==32379== Releasing lock...
[2025-01-13 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:38:02] Production.INFO: ==32384== Lock acquired, processing the job...
[2025-01-13 05:38:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:38:02] Production.INFO: ==32388== Lock acquired, processing the job...
[2025-01-13 05:38:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:38:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:38:02] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:38:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:38:02] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:38:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:38:03] Production.INFO: ==32386== Lock acquired, processing the job...
[2025-01-13 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:38:03] Production.INFO: ==32394== Lock acquired, processing the job...
[2025-01-13 05:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:38:03] Production.INFO: ==32391== Lock acquired, processing the job...
[2025-01-13 05:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:38:03] Production.INFO: ==32396== Lock acquired, processing the job...
[2025-01-13 05:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:38:03] Production.INFO: ==32386== Releasing lock...
[2025-01-13 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:38:03] Production.INFO: Account Balance Start.
[2025-01-13 05:38:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:38:03] Production.INFO: 117
[2025-01-13 05:38:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:38:03] Production.ERROR: done
[2025-01-13 05:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:38:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:38:03] Production.INFO: count ==21
[2025-01-13 05:38:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:38:03] Production.INFO: count ==21
[2025-01-13 05:38:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236850') start
[2025-01-13 05:38:03] Production.ERROR: done
[2025-01-13 05:38:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:38:04] Production.INFO: Total Charge 0
[2025-01-13 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236850') end
[2025-01-13 05:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:38:04] Production.INFO: 1
[2025-01-13 05:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:38:04] Production.INFO: CreateAllLog End
[2025-01-13 05:38:04] Production.INFO: ==32396== Releasing lock...
[2025-01-13 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:38:04] Production.INFO: Account Balance End.
[2025-01-13 05:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:38:04] Production.INFO: ==32391== Releasing lock...
[2025-01-13 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:38:04
[end_date_ymd] => 2025-01-13 05:38:04
[RateCDR] => 1
)
[2025-01-13 05:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:38:04' and `end` < '2025-01-13 05:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:38:10] Production.ERROR: CronJobId end10
[2025-01-13 05:38:10] Production.INFO: ==32388== Releasing lock...
[2025-01-13 05:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:38:13] Production.INFO: call_cost start
[2025-01-13 05:38:13] Production.INFO: call_cost end
[2025-01-13 05:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:38:14] Production.INFO: ==32384== Releasing lock...
[2025-01-13 05:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:38:17] Production.INFO: count ==97
[2025-01-13 05:38:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:38:04 - End Time 2025-01-13 05:38:04
[2025-01-13 05:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236851', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236851', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236851', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236851', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:38:17] Production.INFO: ProcessCDR(1,14236851,1,1,2)
[2025-01-13 05:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236851', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236851', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:38:20] Production.INFO: ==32394== Releasing lock...
[2025-01-13 05:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:38:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:39:01] Production.INFO: ==32507== Lock acquired, processing the job...
[2025-01-13 10:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:39:01] Production.INFO: neon service started
[2025-01-13 10:39:01] Production.INFO: neon service started
[2025-01-13 10:39:01] Production.INFO: ==32507== Releasing lock...
[2025-01-13 10:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:39:02] Production.INFO: ==32509== Lock acquired, processing the job...
[2025-01-13 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:39:02] Production.INFO: ==32511== Lock acquired, processing the job...
[2025-01-13 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:39:02] Production.INFO: ==32511== Releasing lock...
[2025-01-13 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:39:02] Production.INFO: ==32509== Releasing lock...
[2025-01-13 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:39:03] Production.INFO: ==32521== Lock acquired, processing the job...
[2025-01-13 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:39:03] Production.INFO: ==32523== Lock acquired, processing the job...
[2025-01-13 05:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:39:03] Production.INFO: ==32514== Lock acquired, processing the job...
[2025-01-13 05:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:39:03] Production.INFO: Account Balance Start.
[2025-01-13 05:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:39:03] Production.INFO: 117
[2025-01-13 05:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:39:03] Production.INFO: ==32516== Lock acquired, processing the job...
[2025-01-13 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:39:03] Production.INFO: ==32518== Lock acquired, processing the job...
[2025-01-13 05:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:39:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:39:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:39:03] Production.INFO: ==32526== Lock acquired, processing the job...
[2025-01-13 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:39:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:39:04] Production.ERROR: done
[2025-01-13 05:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:39:04] Production.INFO: Total Charge 0
[2025-01-13 05:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:39:04] Production.INFO: CreateAllLog End
[2025-01-13 05:39:04] Production.INFO: count ==21
[2025-01-13 05:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:39:04] Production.INFO: ==32516== Releasing lock...
[2025-01-13 05:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:39:04] Production.INFO: count ==21
[2025-01-13 05:39:04] Production.ERROR: done
[2025-01-13 05:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236855') start
[2025-01-13 05:39:04] Production.INFO: Account Balance End.
[2025-01-13 05:39:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:39:04] Production.INFO: ==32521== Releasing lock...
[2025-01-13 05:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236855') end
[2025-01-13 05:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:39:04] Production.INFO: 1
[2025-01-13 05:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:39:04] Production.INFO: ==32526== Releasing lock...
[2025-01-13 05:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:39:05
[end_date_ymd] => 2025-01-13 05:39:05
[RateCDR] => 1
)
[2025-01-13 05:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:39:05' and `end` < '2025-01-13 05:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:39:10] Production.ERROR: CronJobId end10
[2025-01-13 05:39:10] Production.INFO: ==32518== Releasing lock...
[2025-01-13 05:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:39:13] Production.INFO: call_cost start
[2025-01-13 05:39:13] Production.INFO: call_cost end
[2025-01-13 05:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:39:14] Production.INFO: ==32514== Releasing lock...
[2025-01-13 05:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:39:18] Production.INFO: count ==97
[2025-01-13 05:39:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:39:05 - End Time 2025-01-13 05:39:05
[2025-01-13 05:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236856', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236856', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236856', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236856', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:39:18] Production.INFO: ProcessCDR(1,14236856,1,1,2)
[2025-01-13 05:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236856', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236856', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:39:21] Production.INFO: ==32523== Releasing lock...
[2025-01-13 05:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:39:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:40:02] Production.INFO: ==32603== Lock acquired, processing the job...
[2025-01-13 10:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:40:02] Production.INFO: neon service started
[2025-01-13 10:40:02] Production.INFO: neon service started
[2025-01-13 10:40:02] Production.INFO: ==32603== Releasing lock...
[2025-01-13 10:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:40:02] Production.INFO: ==32605== Lock acquired, processing the job...
[2025-01-13 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:40:02] Production.INFO: ==32607== Lock acquired, processing the job...
[2025-01-13 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:40:03] Production.INFO: ==32607== Releasing lock...
[2025-01-13 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:40:03] Production.INFO: ==32605== Releasing lock...
[2025-01-13 05:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:40:03] Production.INFO: ==32613== Lock acquired, processing the job...
[2025-01-13 05:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:40:04] Production.INFO: ==32620== Lock acquired, processing the job...
[2025-01-13 05:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:40:04] Production.INFO: ==32609== Lock acquired, processing the job...
[2025-01-13 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 05:40:04] Production.INFO: ==32611== Lock acquired, processing the job...
[2025-01-13 05:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:40:04] Production.INFO: ==32616== Lock acquired, processing the job...
[2025-01-13 05:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 05:40:04] Production.ERROR: CronJob PID - 32611
[2025-01-13 05:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 05:40:04] Production.ERROR: CronJob ID - 5
[2025-01-13 05:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 05:40:00
[2025-01-13 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 05:40:04] Production.ERROR: CronJob PID - 32613
[2025-01-13 05:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 05:40:04] Production.ERROR: CronJob ID - 7
[2025-01-13 05:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 05:40:00
[2025-01-13 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 05:40:04] Production.ERROR: CronJob PID - 32620
[2025-01-13 05:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 05:40:04] Production.ERROR: CronJob ID - 16
[2025-01-13 05:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 05:40:00
[2025-01-13 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 05:40:04] Production.INFO: ==32624== Lock acquired, processing the job...
[2025-01-13 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:40:04] Production.INFO: ==32618== Lock acquired, processing the job...
[2025-01-13 05:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 05:40:04] Production.INFO: ==32609== Releasing lock...
[2025-01-13 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 05:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 05:40:04] Production.INFO: ==32613== Releasing lock...
[2025-01-13 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:40:04] Production.INFO: ==32622== Lock acquired, processing the job...
[2025-01-13 05:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 05:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 05:40:04] Production.INFO: count ==21
[2025-01-13 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 05:40:04] Production.INFO: count ==21
[2025-01-13 05:40:04] Production.INFO: Account Balance Start.
[2025-01-13 05:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236859') start
[2025-01-13 05:40:04] Production.INFO: 117
[2025-01-13 05:40:04] Production.ERROR: done
[2025-01-13 05:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236859') end
[2025-01-13 05:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:40:04] Production.INFO: 1
[2025-01-13 05:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:40:04] Production.ERROR: done
[2025-01-13 05:40:04] Production.INFO: ==32624== Releasing lock...
[2025-01-13 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:40:04] Production.ERROR: done
[2025-01-13 05:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:40:04] Production.INFO: Total Charge 0
[2025-01-13 05:40:05] Production.INFO: CreateAllLog End
[2025-01-13 05:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 05:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236862', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 05:40:05] Production.INFO: Account Balance End.
[2025-01-13 05:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 05:40:05] Production.INFO: ==32618== Releasing lock...
[2025-01-13 05:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:40:06
[end_date_ymd] => 2025-01-13 05:40:06
[RateCDR] => 1
)
[2025-01-13 05:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:40:06' and `end` < '2025-01-13 05:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236862', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 05:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 05:40:09] Production.INFO: ProcessCDR(1,14236862,1,1,2)
[2025-01-13 05:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236862,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236862,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:40:09] Production.INFO: ==32622== Releasing lock...
[2025-01-13 05:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 05:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 05:40:14] Production.ERROR: CronJobId end10
[2025-01-13 05:40:14] Production.INFO: ==32616== Releasing lock...
[2025-01-13 05:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:40:15] Production.INFO: call_cost start
[2025-01-13 05:40:15] Production.INFO: call_cost end
[2025-01-13 05:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:40:16] Production.INFO: ==32611== Releasing lock...
[2025-01-13 05:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:40:19] Production.INFO: count ==93
[2025-01-13 05:40:19] Production.ERROR: pbx CDR StartTime 2025-01-13 02:40:06 - End Time 2025-01-13 05:40:06
[2025-01-13 05:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236861', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236861', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236861', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236861', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:40:19] Production.INFO: ProcessCDR(1,14236861,1,1,2)
[2025-01-13 05:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236861', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236861', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:40:23] Production.INFO: ==32620== Releasing lock...
[2025-01-13 05:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:40:23] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:41:01] Production.INFO: ==32692== Lock acquired, processing the job...
[2025-01-13 10:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:41:01] Production.INFO: neon service started
[2025-01-13 10:41:01] Production.INFO: neon service started
[2025-01-13 10:41:01] Production.INFO: ==32692== Releasing lock...
[2025-01-13 10:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:41:02] Production.INFO: ==32696== Lock acquired, processing the job...
[2025-01-13 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:41:02] Production.INFO: ==32696== Releasing lock...
[2025-01-13 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:41:02] Production.INFO: ==32694== Lock acquired, processing the job...
[2025-01-13 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:41:02] Production.INFO: ==32694== Releasing lock...
[2025-01-13 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:41:03] Production.INFO: ==32701== Lock acquired, processing the job...
[2025-01-13 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:41:03] Production.INFO: ==32705== Lock acquired, processing the job...
[2025-01-13 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:41:03] Production.INFO: Account Balance Start.
[2025-01-13 05:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:41:03] Production.INFO: 117
[2025-01-13 05:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:41:03] Production.INFO: ==32709== Lock acquired, processing the job...
[2025-01-13 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:41:03] Production.INFO: Total Charge 0
[2025-01-13 05:41:03] Production.INFO: ==32701== Releasing lock...
[2025-01-13 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:41:03] Production.INFO: ==32699== Lock acquired, processing the job...
[2025-01-13 05:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:41:03] Production.INFO: CreateAllLog End
[2025-01-13 05:41:03] Production.INFO: ==32703== Lock acquired, processing the job...
[2025-01-13 05:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 05:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:41:03] Production.INFO: count ==21
[2025-01-13 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-13 05:41:04] Production.INFO: count ==21
[2025-01-13 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236865') start
[2025-01-13 05:41:04] Production.INFO: ==32707== Lock acquired, processing the job...
[2025-01-13 05:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236865') end
[2025-01-13 05:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:41:04] Production.INFO: 1
[2025-01-13 05:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:41:04] Production.INFO: Account Balance End.
[2025-01-13 05:41:04] Production.INFO: ==32709== Releasing lock...
[2025-01-13 05:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:41:04] Production.INFO: ==32705== Releasing lock...
[2025-01-13 05:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:41:04] Production.ERROR: done
[2025-01-13 05:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:41:04] Production.ERROR: done
[2025-01-13 05:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:41:05
[end_date_ymd] => 2025-01-13 05:41:05
[RateCDR] => 1
)
[2025-01-13 05:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:41:05' and `end` < '2025-01-13 05:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:41:12] Production.ERROR: CronJobId end10
[2025-01-13 05:41:12] Production.INFO: ==32703== Releasing lock...
[2025-01-13 05:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:41:14] Production.INFO: call_cost start
[2025-01-13 05:41:14] Production.INFO: call_cost end
[2025-01-13 05:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:41:15] Production.INFO: ==32699== Releasing lock...
[2025-01-13 05:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:41:18] Production.INFO: count ==92
[2025-01-13 05:41:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:41:05 - End Time 2025-01-13 05:41:05
[2025-01-13 05:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236867', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236867', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236867', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236867', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:41:18] Production.INFO: ProcessCDR(1,14236867,1,1,2)
[2025-01-13 05:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236867', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236867', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:41:21] Production.INFO: ==32707== Releasing lock...
[2025-01-13 05:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:41:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:42:01] Production.INFO: ==322== Lock acquired, processing the job...
[2025-01-13 10:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:42:01] Production.INFO: neon service started
[2025-01-13 10:42:01] Production.INFO: neon service started
[2025-01-13 10:42:01] Production.INFO: ==322== Releasing lock...
[2025-01-13 10:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:42:01] Production.INFO: ==324== Lock acquired, processing the job...
[2025-01-13 05:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:42:02] Production.INFO: ==324== Releasing lock...
[2025-01-13 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:42:02] Production.INFO: ==326== Lock acquired, processing the job...
[2025-01-13 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:42:02] Production.INFO: ==326== Releasing lock...
[2025-01-13 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:42:02] Production.INFO: 26 MB #Memory Used#
[2025-01-13 05:42:03] Production.INFO: ==335== Lock acquired, processing the job...
[2025-01-13 05:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:42:03] Production.INFO: ==328== Lock acquired, processing the job...
[2025-01-13 05:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:42:03] Production.INFO: ==339== Lock acquired, processing the job...
[2025-01-13 05:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:42:03] Production.INFO: ==333== Lock acquired, processing the job...
[2025-01-13 05:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:42:03] Production.INFO: Account Balance Start.
[2025-01-13 05:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:42:03] Production.INFO: 117
[2025-01-13 05:42:03] Production.INFO: ==330== Lock acquired, processing the job...
[2025-01-13 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:42:03] Production.INFO: count ==21
[2025-01-13 05:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:42:03] Production.INFO: count ==21
[2025-01-13 05:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236870') start
[2025-01-13 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:42:03] Production.INFO: ==337== Lock acquired, processing the job...
[2025-01-13 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236870') end
[2025-01-13 05:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:42:03] Production.INFO: 1
[2025-01-13 05:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:42:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:42:03] Production.INFO: ==339== Releasing lock...
[2025-01-13 05:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:42:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:42:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:42:03] Production.INFO: ==330== Releasing lock...
[2025-01-13 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:42:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:42:03] Production.INFO: Total Charge 0
[2025-01-13 05:42:04] Production.INFO: CreateAllLog End
[2025-01-13 05:42:04] Production.ERROR: done
[2025-01-13 05:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:42:04] Production.ERROR: done
[2025-01-13 05:42:04] Production.INFO: Account Balance End.
[2025-01-13 05:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:42:04] Production.INFO: ==335== Releasing lock...
[2025-01-13 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:42:05
[end_date_ymd] => 2025-01-13 05:42:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:42:05' and `end` < '2025-01-13 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-13 05:42:11] Production.ERROR: CronJobId end10
[2025-01-13 05:42:11] Production.INFO: ==333== Releasing lock...
[2025-01-13 05:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:42:12] Production.INFO: call_cost start
[2025-01-13 05:42:12] Production.INFO: call_cost end
[2025-01-13 05:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:42:13] Production.INFO: ==328== Releasing lock...
[2025-01-13 05:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:42:18] Production.INFO: count ==89
[2025-01-13 05:42:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:42:05 - End Time 2025-01-13 05:42:05
[2025-01-13 05:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236872', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236872', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236872', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236872', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:42:19] Production.INFO: ProcessCDR(1,14236872,1,1,2)
[2025-01-13 05:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236872', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236872', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:42:22] Production.INFO: ==337== Releasing lock...
[2025-01-13 05:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:42:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:43:01] Production.INFO: ==424== Lock acquired, processing the job...
[2025-01-13 10:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:43:01] Production.INFO: neon service started
[2025-01-13 10:43:01] Production.INFO: neon service started
[2025-01-13 10:43:01] Production.INFO: ==424== Releasing lock...
[2025-01-13 10:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:43:02] Production.INFO: ==426== Lock acquired, processing the job...
[2025-01-13 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:43:02] Production.INFO: ==426== Releasing lock...
[2025-01-13 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:43:02] Production.INFO: ==428== Lock acquired, processing the job...
[2025-01-13 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:43:02] Production.INFO: ==428== Releasing lock...
[2025-01-13 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:43:03] Production.INFO: ==435== Lock acquired, processing the job...
[2025-01-13 05:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:43:03] Production.INFO: ==441== Lock acquired, processing the job...
[2025-01-13 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 05:43:03] Production.INFO: ==433== Lock acquired, processing the job...
[2025-01-13 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:43:03] Production.INFO: ==431== Lock acquired, processing the job...
[2025-01-13 05:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:43:03] Production.INFO: count ==21
[2025-01-13 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-13 05:43:03] Production.INFO: count ==21
[2025-01-13 05:43:03] Production.INFO: ==437== Lock acquired, processing the job...
[2025-01-13 05:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236873') start
[2025-01-13 05:43:03] Production.INFO: ==439== Lock acquired, processing the job...
[2025-01-13 05:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236873') end
[2025-01-13 05:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:43:03] Production.INFO: 1
[2025-01-13 05:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:43:03] Production.INFO: Account Balance Start.
[2025-01-13 05:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:43:03] Production.INFO: 117
[2025-01-13 05:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:43:03] Production.INFO: ==441== Releasing lock...
[2025-01-13 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:43:03] Production.INFO: ==433== Releasing lock...
[2025-01-13 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:43:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:43:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:43:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:43:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:43:04] Production.ERROR: done
[2025-01-13 05:43:04] Production.INFO: Total Charge 0
[2025-01-13 05:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:43:04] Production.INFO: CreateAllLog End
[2025-01-13 05:43:04] Production.ERROR: done
[2025-01-13 05:43:04] Production.INFO: Account Balance End.
[2025-01-13 05:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:43:04] Production.INFO: ==437== Releasing lock...
[2025-01-13 05:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:43:05
[end_date_ymd] => 2025-01-13 05:43:05
[RateCDR] => 1
)
[2025-01-13 05:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:43:05' and `end` < '2025-01-13 05:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:43:11] Production.ERROR: CronJobId end10
[2025-01-13 05:43:11] Production.INFO: ==435== Releasing lock...
[2025-01-13 05:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:43:14] Production.INFO: call_cost start
[2025-01-13 05:43:14] Production.INFO: call_cost end
[2025-01-13 05:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:43:15] Production.INFO: ==431== Releasing lock...
[2025-01-13 05:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:43:17] Production.INFO: count ==88
[2025-01-13 05:43:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:43:05 - End Time 2025-01-13 05:43:05
[2025-01-13 05:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236877', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236877', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236877', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236877', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:43:17] Production.INFO: ProcessCDR(1,14236877,1,1,2)
[2025-01-13 05:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236877', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236877', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:43:20] Production.INFO: ==439== Releasing lock...
[2025-01-13 05:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:43:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:44:02] Production.INFO: ==510== Lock acquired, processing the job...
[2025-01-13 10:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:44:02] Production.INFO: neon service started
[2025-01-13 10:44:02] Production.INFO: neon service started
[2025-01-13 10:44:02] Production.INFO: ==510== Releasing lock...
[2025-01-13 10:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:44:02] Production.INFO: ==514== Lock acquired, processing the job...
[2025-01-13 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:44:02] Production.INFO: ==514== Releasing lock...
[2025-01-13 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:44:02] Production.INFO: ==512== Lock acquired, processing the job...
[2025-01-13 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:44:03] Production.INFO: ==512== Releasing lock...
[2025-01-13 05:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:44:03] Production.INFO: ==518== Lock acquired, processing the job...
[2025-01-13 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:44:03] Production.INFO: ==516== Lock acquired, processing the job...
[2025-01-13 05:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:44:03] Production.INFO: ==524== Lock acquired, processing the job...
[2025-01-13 05:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:44:04] Production.INFO: ==520== Lock acquired, processing the job...
[2025-01-13 05:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:44:04] Production.INFO: ==518== Releasing lock...
[2025-01-13 05:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:44:04] Production.INFO: ==522== Lock acquired, processing the job...
[2025-01-13 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:44:04] Production.INFO: ==526== Lock acquired, processing the job...
[2025-01-13 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:44:04] Production.ERROR: done
[2025-01-13 05:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:44:04] Production.INFO: Account Balance Start.
[2025-01-13 05:44:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:44:04] Production.INFO: 117
[2025-01-13 05:44:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:44:04] Production.ERROR: done
[2025-01-13 05:44:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:44:04] Production.INFO: count ==21
[2025-01-13 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-13 05:44:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:44:04] Production.INFO: count ==21
[2025-01-13 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236881') start
[2025-01-13 05:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236881') end
[2025-01-13 05:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:44:04] Production.INFO: 1
[2025-01-13 05:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:44:04] Production.INFO: ==526== Releasing lock...
[2025-01-13 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:44:04] Production.INFO: Total Charge 0
[2025-01-13 05:44:04] Production.INFO: CreateAllLog End
[2025-01-13 05:44:05] Production.INFO: Account Balance End.
[2025-01-13 05:44:05] Production.ERROR: CronJobId end 12
[2025-01-13 05:44:05] Production.INFO: ==522== Releasing lock...
[2025-01-13 05:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:44:05
[end_date_ymd] => 2025-01-13 05:44:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:44:05' and `end` < '2025-01-13 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-13 05:44:11] Production.ERROR: CronJobId end10
[2025-01-13 05:44:11] Production.INFO: ==520== Releasing lock...
[2025-01-13 05:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:44:13] Production.INFO: call_cost start
[2025-01-13 05:44:13] Production.INFO: call_cost end
[2025-01-13 05:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:44:14] Production.INFO: ==516== Releasing lock...
[2025-01-13 05:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:44:17] Production.INFO: count ==88
[2025-01-13 05:44:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:44:05 - End Time 2025-01-13 05:44:05
[2025-01-13 05:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236882', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236882', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236882', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236882', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:44:17] Production.INFO: ProcessCDR(1,14236882,1,1,2)
[2025-01-13 05:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236882', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236882', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:44:21] Production.INFO: ==524== Releasing lock...
[2025-01-13 05:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:44:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:45:01] Production.INFO: ==600== Lock acquired, processing the job...
[2025-01-13 10:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:45:01] Production.INFO: neon service started
[2025-01-13 10:45:01] Production.INFO: neon service started
[2025-01-13 10:45:01] Production.INFO: ==600== Releasing lock...
[2025-01-13 10:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:45:01] Production.INFO: ==602== Lock acquired, processing the job...
[2025-01-13 05:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:45:02] Production.INFO: ==602== Releasing lock...
[2025-01-13 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:45:02] Production.INFO: ==604== Lock acquired, processing the job...
[2025-01-13 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:45:02] Production.INFO: ==604== Releasing lock...
[2025-01-13 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:45:03] Production.INFO: ==616== Lock acquired, processing the job...
[2025-01-13 05:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:45:03] Production.INFO: ==619== Lock acquired, processing the job...
[2025-01-13 05:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:45:03] Production.INFO: ==608== Lock acquired, processing the job...
[2025-01-13 05:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:45:03] Production.INFO: Account Balance Start.
[2025-01-13 05:45:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:45:03] Production.INFO: 117
[2025-01-13 05:45:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:45:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:45:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:45:03] Production.INFO: ==610== Lock acquired, processing the job...
[2025-01-13 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:45:03] Production.INFO: ==612== Lock acquired, processing the job...
[2025-01-13 05:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:45:03] Production.INFO: ==621== Lock acquired, processing the job...
[2025-01-13 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:45:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:45:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:45:03] Production.ERROR: done
[2025-01-13 05:45:03] Production.INFO: ==610== Releasing lock...
[2025-01-13 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:45:03] Production.INFO: count ==21
[2025-01-13 05:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:45:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:45:03] Production.INFO: count ==21
[2025-01-13 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236886') start
[2025-01-13 05:45:03] Production.INFO: Total Charge 0
[2025-01-13 05:45:03] Production.INFO: CreateAllLog End
[2025-01-13 05:45:03] Production.ERROR: done
[2025-01-13 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236886') end
[2025-01-13 05:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:45:03] Production.INFO: 1
[2025-01-13 05:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:45:04] Production.INFO: ==621== Releasing lock...
[2025-01-13 05:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:45:04] Production.INFO: Account Balance End.
[2025-01-13 05:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:45:04] Production.INFO: ==616== Releasing lock...
[2025-01-13 05:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:45:05
[end_date_ymd] => 2025-01-13 05:45:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:45:05' and `end` < '2025-01-13 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-13 05:45:10] Production.ERROR: CronJobId end10
[2025-01-13 05:45:10] Production.INFO: ==612== Releasing lock...
[2025-01-13 05:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:45:12] Production.INFO: call_cost start
[2025-01-13 05:45:12] Production.INFO: call_cost end
[2025-01-13 05:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:45:13] Production.INFO: ==608== Releasing lock...
[2025-01-13 05:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:45:18] Production.INFO: count ==89
[2025-01-13 05:45:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:45:05 - End Time 2025-01-13 05:45:05
[2025-01-13 05:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236887', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236887', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236887', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236887', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:45:18] Production.INFO: ProcessCDR(1,14236887,1,1,2)
[2025-01-13 05:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236887', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236887', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:45:23] Production.INFO: ==619== Releasing lock...
[2025-01-13 05:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:45:23] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:46:02] Production.INFO: ==708== Lock acquired, processing the job...
[2025-01-13 10:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:46:02] Production.INFO: neon service started
[2025-01-13 10:46:02] Production.INFO: neon service started
[2025-01-13 10:46:02] Production.INFO: ==708== Releasing lock...
[2025-01-13 10:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:46:02] Production.INFO: ==710== Lock acquired, processing the job...
[2025-01-13 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:46:03] Production.INFO: ==712== Lock acquired, processing the job...
[2025-01-13 10:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:46:03] Production.INFO: ==712== Releasing lock...
[2025-01-13 10:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:46:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:46:03] Production.INFO: ==710== Releasing lock...
[2025-01-13 05:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:46:03] Production.INFO: ==717== Lock acquired, processing the job...
[2025-01-13 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:46:03] Production.INFO: ==719== Lock acquired, processing the job...
[2025-01-13 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:46:04] Production.INFO: ==715== Lock acquired, processing the job...
[2025-01-13 05:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:46:04] Production.INFO: ==717== Releasing lock...
[2025-01-13 05:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:46:04] Production.INFO: ==721== Lock acquired, processing the job...
[2025-01-13 05:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:46:04] Production.INFO: ==723== Lock acquired, processing the job...
[2025-01-13 05:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:46:04] Production.INFO: ==725== Lock acquired, processing the job...
[2025-01-13 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:46:04] Production.INFO: Account Balance Start.
[2025-01-13 05:46:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:46:04] Production.INFO: 117
[2025-01-13 05:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:46:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:46:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:46:04] Production.INFO: count ==21
[2025-01-13 05:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:46:04] Production.INFO: count ==21
[2025-01-13 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236891') start
[2025-01-13 05:46:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:46:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236891') end
[2025-01-13 05:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:46:04] Production.INFO: 1
[2025-01-13 05:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:46:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:46:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:46:04] Production.INFO: ==725== Releasing lock...
[2025-01-13 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:46:04] Production.INFO: Total Charge 0
[2025-01-13 05:46:04] Production.INFO: CreateAllLog End
[2025-01-13 05:46:04] Production.ERROR: done
[2025-01-13 05:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:46:04] Production.ERROR: done
[2025-01-13 05:46:05] Production.INFO: Account Balance End.
[2025-01-13 05:46:05] Production.ERROR: CronJobId end 12
[2025-01-13 05:46:05] Production.INFO: ==721== Releasing lock...
[2025-01-13 05:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:46:06
[end_date_ymd] => 2025-01-13 05:46:06
[RateCDR] => 1
)
[2025-01-13 05:46:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:46:06' and `end` < '2025-01-13 05:46:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:46:11] Production.ERROR: CronJobId end10
[2025-01-13 05:46:11] Production.INFO: ==719== Releasing lock...
[2025-01-13 05:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:46:13] Production.INFO: call_cost start
[2025-01-13 05:46:13] Production.INFO: call_cost end
[2025-01-13 05:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:46:14] Production.INFO: ==715== Releasing lock...
[2025-01-13 05:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:46:19] Production.INFO: count ==90
[2025-01-13 05:46:19] Production.ERROR: pbx CDR StartTime 2025-01-13 02:46:06 - End Time 2025-01-13 05:46:06
[2025-01-13 05:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236892', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236892', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236892', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236892', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:46:19] Production.INFO: ProcessCDR(1,14236892,1,1,2)
[2025-01-13 05:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236892', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236892', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:46:24] Production.INFO: ==723== Releasing lock...
[2025-01-13 05:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:46:24] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:47:01] Production.INFO: ==789== Lock acquired, processing the job...
[2025-01-13 10:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:47:01] Production.INFO: neon service started
[2025-01-13 10:47:01] Production.INFO: neon service started
[2025-01-13 10:47:01] Production.INFO: ==789== Releasing lock...
[2025-01-13 10:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:47:02] Production.INFO: ==791== Lock acquired, processing the job...
[2025-01-13 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:47:02] Production.INFO: ==791== Releasing lock...
[2025-01-13 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:47:02] Production.INFO: ==793== Lock acquired, processing the job...
[2025-01-13 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:47:02] Production.INFO: ==793== Releasing lock...
[2025-01-13 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:47:03] Production.INFO: ==804== Lock acquired, processing the job...
[2025-01-13 05:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:47:03] Production.INFO: ==795== Lock acquired, processing the job...
[2025-01-13 05:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:47:03] Production.INFO: ==802== Lock acquired, processing the job...
[2025-01-13 05:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:47:03] Production.ERROR: done
[2025-01-13 05:47:03] Production.INFO: ==797== Lock acquired, processing the job...
[2025-01-13 05:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:47:03] Production.INFO: ==800== Lock acquired, processing the job...
[2025-01-13 05:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:47:03] Production.INFO: ==806== Lock acquired, processing the job...
[2025-01-13 05:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:47:03] Production.ERROR: done
[2025-01-13 05:47:03] Production.INFO: Account Balance Start.
[2025-01-13 05:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:47:03] Production.INFO: 117
[2025-01-13 05:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:47:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:47:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 05: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-13 05:47:03] Production.INFO: count ==21
[2025-01-13 05:47:03] Production.INFO: Date 2025-01-11
[2025-01-13 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-13 05:47:04] Production.INFO: count ==21
[2025-01-13 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:47:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:47:04] Production.INFO: ==797== Releasing lock...
[2025-01-13 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236897') start
[2025-01-13 05:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:47:04] Production.INFO: Total Charge 0
[2025-01-13 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236897') end
[2025-01-13 05:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:47:04] Production.INFO: 1
[2025-01-13 05:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:47:04] Production.INFO: CreateAllLog End
[2025-01-13 05:47:04] Production.INFO: ==806== Releasing lock...
[2025-01-13 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:47:04] Production.INFO: Account Balance End.
[2025-01-13 05:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:47:04] Production.INFO: ==802== Releasing lock...
[2025-01-13 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:47:04
[end_date_ymd] => 2025-01-13 05:47:04
[RateCDR] => 1
)
[2025-01-13 05: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-13 02:47:04' and `end` < '2025-01-13 05: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-13 05:47:10] Production.ERROR: CronJobId end10
[2025-01-13 05:47:10] Production.INFO: ==800== Releasing lock...
[2025-01-13 05:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:47:13] Production.INFO: call_cost start
[2025-01-13 05:47:13] Production.INFO: call_cost end
[2025-01-13 05:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:47:14] Production.INFO: ==795== Releasing lock...
[2025-01-13 05:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:47:17] Production.INFO: count ==90
[2025-01-13 05:47:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:47:04 - End Time 2025-01-13 05:47:04
[2025-01-13 05:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236894', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236894', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236894', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236894', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:47:17] Production.INFO: ProcessCDR(1,14236894,1,1,2)
[2025-01-13 05:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236894', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236894', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:47:21] Production.INFO: ==804== Releasing lock...
[2025-01-13 05:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:47:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:48:02] Production.INFO: ==866== Lock acquired, processing the job...
[2025-01-13 10:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:48:02] Production.INFO: neon service started
[2025-01-13 10:48:02] Production.INFO: neon service started
[2025-01-13 10:48:02] Production.INFO: ==866== Releasing lock...
[2025-01-13 10:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:48:02] Production.INFO: ==868== Lock acquired, processing the job...
[2025-01-13 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:48:02] Production.INFO: ==870== Lock acquired, processing the job...
[2025-01-13 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:48:02] Production.INFO: ==870== Releasing lock...
[2025-01-13 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:48:03] Production.INFO: ==868== Releasing lock...
[2025-01-13 05:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:48:03] Production.INFO: ==877== Lock acquired, processing the job...
[2025-01-13 05:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:48:04] Production.INFO: ==883== Lock acquired, processing the job...
[2025-01-13 05:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:48:04] Production.INFO: ==879== Lock acquired, processing the job...
[2025-01-13 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 05:48:04] Production.INFO: Account Balance Start.
[2025-01-13 05:48:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:48:04] Production.INFO: 117
[2025-01-13 05:48:04] Production.INFO: count ==21
[2025-01-13 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-13 05:48:04] Production.INFO: count ==21
[2025-01-13 05:48:04] Production.INFO: ==873== Lock acquired, processing the job...
[2025-01-13 05:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236898') start
[2025-01-13 05:48:04] Production.INFO: ==875== Lock acquired, processing the job...
[2025-01-13 05:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:48:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:48:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:48:04] Production.INFO: ==881== Lock acquired, processing the job...
[2025-01-13 05:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236898') end
[2025-01-13 05:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:48:04] Production.INFO: 1
[2025-01-13 05:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:48:04] Production.INFO: ==883== Releasing lock...
[2025-01-13 05:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:48:04] Production.INFO: Total Charge 0
[2025-01-13 05:48:04] Production.INFO: ==875== Releasing lock...
[2025-01-13 05:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:48:04] Production.ERROR: done
[2025-01-13 05:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:48:04] Production.INFO: CreateAllLog End
[2025-01-13 05:48:04] Production.ERROR: done
[2025-01-13 05:48:04] Production.INFO: Account Balance End.
[2025-01-13 05:48:05] Production.ERROR: CronJobId end 12
[2025-01-13 05:48:05] Production.INFO: ==879== Releasing lock...
[2025-01-13 05:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:48:05
[end_date_ymd] => 2025-01-13 05:48:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:48:05' and `end` < '2025-01-13 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-13 05:48:11] Production.ERROR: CronJobId end10
[2025-01-13 05:48:11] Production.INFO: ==877== Releasing lock...
[2025-01-13 05:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:48:14] Production.INFO: call_cost start
[2025-01-13 05:48:14] Production.INFO: call_cost end
[2025-01-13 05:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:48:15] Production.INFO: ==873== Releasing lock...
[2025-01-13 05:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:48:19] Production.INFO: count ==90
[2025-01-13 05:48:19] Production.ERROR: pbx CDR StartTime 2025-01-13 02:48:05 - End Time 2025-01-13 05:48:05
[2025-01-13 05:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236902', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236902', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236902', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236902', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:48:19] Production.INFO: ProcessCDR(1,14236902,1,1,2)
[2025-01-13 05:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236902', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236902', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:48:22] Production.INFO: ==881== Releasing lock...
[2025-01-13 05:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:48:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:49:01] Production.INFO: ==937== Lock acquired, processing the job...
[2025-01-13 10:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:49:01] Production.INFO: neon service started
[2025-01-13 10:49:01] Production.INFO: neon service started
[2025-01-13 10:49:01] Production.INFO: ==937== Releasing lock...
[2025-01-13 10:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:49:01] Production.INFO: ==939== Lock acquired, processing the job...
[2025-01-13 05:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:49:02] Production.INFO: ==939== Releasing lock...
[2025-01-13 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:49:02] Production.INFO: ==941== Lock acquired, processing the job...
[2025-01-13 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:49:02] Production.INFO: ==941== Releasing lock...
[2025-01-13 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:49:03] Production.INFO: ==943== Lock acquired, processing the job...
[2025-01-13 05:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:49:03] Production.INFO: ==945== Lock acquired, processing the job...
[2025-01-13 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:49:03] Production.INFO: ==947== Lock acquired, processing the job...
[2025-01-13 05:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:49:03] Production.INFO: ==951== Lock acquired, processing the job...
[2025-01-13 05:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:49:03] Production.INFO: ==949== Lock acquired, processing the job...
[2025-01-13 05:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:49:03] Production.INFO: ==953== Lock acquired, processing the job...
[2025-01-13 05:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:49:03] Production.INFO: ==945== Releasing lock...
[2025-01-13 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:49:03] Production.INFO: Account Balance Start.
[2025-01-13 05:49:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:49:03] Production.INFO: 117
[2025-01-13 05:49:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:49:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:49:03] Production.ERROR: done
[2025-01-13 05:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:49:03] Production.INFO: count ==21
[2025-01-13 05:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:49:03] Production.INFO: count ==21
[2025-01-13 05:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236906') start
[2025-01-13 05:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:49:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:49:03] Production.ERROR: done
[2025-01-13 05:49:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236906') end
[2025-01-13 05:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:49:04] Production.INFO: 1
[2025-01-13 05:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:49:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:49:04] Production.INFO: ==953== Releasing lock...
[2025-01-13 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:49:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:49:04] Production.INFO: Total Charge 0
[2025-01-13 05:49:04] Production.INFO: CreateAllLog End
[2025-01-13 05:49:04] Production.INFO: Account Balance End.
[2025-01-13 05:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:49:04] Production.INFO: ==949== Releasing lock...
[2025-01-13 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:49:04
[end_date_ymd] => 2025-01-13 05:49:04
[RateCDR] => 1
)
[2025-01-13 05: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-13 02:49:04' and `end` < '2025-01-13 05: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-13 05:49:11] Production.ERROR: CronJobId end10
[2025-01-13 05:49:11] Production.INFO: ==947== Releasing lock...
[2025-01-13 05:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:49:13] Production.INFO: call_cost start
[2025-01-13 05:49:13] Production.INFO: call_cost end
[2025-01-13 05:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:49:14] Production.INFO: ==943== Releasing lock...
[2025-01-13 05:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:49:17] Production.INFO: count ==90
[2025-01-13 05:49:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:49:04 - End Time 2025-01-13 05:49:04
[2025-01-13 05:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236907', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236907', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236907', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236907', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:49:17] Production.INFO: ProcessCDR(1,14236907,1,1,2)
[2025-01-13 05:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236907', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236907', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:49:20] Production.INFO: ==951== Releasing lock...
[2025-01-13 05:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:49:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:50:02] Production.INFO: ==1010== Lock acquired, processing the job...
[2025-01-13 10:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:50:02] Production.INFO: neon service started
[2025-01-13 10:50:02] Production.INFO: neon service started
[2025-01-13 10:50:02] Production.INFO: ==1010== Releasing lock...
[2025-01-13 10:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:50:02] Production.INFO: ==1012== Lock acquired, processing the job...
[2025-01-13 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:50:02] Production.INFO: ==1012== Releasing lock...
[2025-01-13 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:50:02] Production.INFO: ==1014== Lock acquired, processing the job...
[2025-01-13 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:50:02] Production.INFO: ==1014== Releasing lock...
[2025-01-13 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:50:03] Production.INFO: ==1017== Lock acquired, processing the job...
[2025-01-13 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 05:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 05:50:03] Production.INFO: ==1019== Lock acquired, processing the job...
[2025-01-13 05:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:50:03] Production.INFO: ==1021== Lock acquired, processing the job...
[2025-01-13 05:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 05:50:03] Production.INFO: ==1017== Releasing lock...
[2025-01-13 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 05:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 05:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:50:03] Production.INFO: ==1029== Lock acquired, processing the job...
[2025-01-13 05:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:50:04] Production.INFO: ==1021== Releasing lock...
[2025-01-13 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:50:04] Production.INFO: ==1023== Lock acquired, processing the job...
[2025-01-13 05:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:50:04] Production.INFO: ==1025== Lock acquired, processing the job...
[2025-01-13 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:50:04] Production.INFO: ==1027== Lock acquired, processing the job...
[2025-01-13 05:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:50:04] Production.INFO: ==1031== Lock acquired, processing the job...
[2025-01-13 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:50:04] Production.INFO: Account Balance Start.
[2025-01-13 05:50:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:50:04] Production.INFO: 117
[2025-01-13 05:50:04] Production.ERROR: done
[2025-01-13 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 05:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236911', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 05:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:50:04] Production.ERROR: done
[2025-01-13 05:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:50:04] Production.INFO: Total Charge 0
[2025-01-13 05:50:04] Production.INFO: CreateAllLog End
[2025-01-13 05:50:04] Production.INFO: count ==21
[2025-01-13 05:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:50:04] Production.INFO: count ==21
[2025-01-13 05:50:04] Production.ERROR: done
[2025-01-13 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236912') start
[2025-01-13 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236912') end
[2025-01-13 05:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:50:04] Production.INFO: 1
[2025-01-13 05:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:50:04] Production.INFO: Account Balance End.
[2025-01-13 05:50:04] Production.INFO: ==1031== Releasing lock...
[2025-01-13 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:50:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:50:04] Production.INFO: ==1025== Releasing lock...
[2025-01-13 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:50:05
[end_date_ymd] => 2025-01-13 05:50:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:50:05' and `end` < '2025-01-13 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-13 05:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236911', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 05:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 05:50:08] Production.INFO: ProcessCDR(1,14236911,1,1,2)
[2025-01-13 05:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236911,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236911,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:50:08] Production.INFO: ==1029== Releasing lock...
[2025-01-13 05:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 05:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 05:50:13] Production.ERROR: CronJobId end10
[2025-01-13 05:50:13] Production.INFO: ==1023== Releasing lock...
[2025-01-13 05:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:50:15] Production.INFO: call_cost start
[2025-01-13 05:50:15] Production.INFO: call_cost end
[2025-01-13 05:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:50:16] Production.INFO: ==1019== Releasing lock...
[2025-01-13 05:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:50:18] Production.INFO: count ==86
[2025-01-13 05:50:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:50:05 - End Time 2025-01-13 05:50:05
[2025-01-13 05:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236913', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236913', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236913', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236913', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:50:18] Production.INFO: ProcessCDR(1,14236913,1,1,2)
[2025-01-13 05:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236913', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236913', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:50:21] Production.INFO: ==1027== Releasing lock...
[2025-01-13 05:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:50:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:51:01] Production.INFO: ==1088== Lock acquired, processing the job...
[2025-01-13 10:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:51:01] Production.INFO: neon service started
[2025-01-13 10:51:01] Production.INFO: neon service started
[2025-01-13 10:51:01] Production.INFO: ==1088== Releasing lock...
[2025-01-13 10:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:51:02] Production.INFO: ==1090== Lock acquired, processing the job...
[2025-01-13 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:51:02] Production.INFO: ==1092== Lock acquired, processing the job...
[2025-01-13 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:51:02] Production.INFO: ==1092== Releasing lock...
[2025-01-13 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:51:02] Production.INFO: ==1090== Releasing lock...
[2025-01-13 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:51:03] Production.INFO: ==1095== Lock acquired, processing the job...
[2025-01-13 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:51:03] Production.INFO: ==1097== Lock acquired, processing the job...
[2025-01-13 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:51:03] Production.INFO: ==1103== Lock acquired, processing the job...
[2025-01-13 05:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:51:03] Production.INFO: ==1097== Releasing lock...
[2025-01-13 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:51:03] Production.INFO: ==1099== Lock acquired, processing the job...
[2025-01-13 05:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:51:03] Production.INFO: ==1101== Lock acquired, processing the job...
[2025-01-13 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:51:03] Production.INFO: ==1105== Lock acquired, processing the job...
[2025-01-13 05:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:51:03] Production.ERROR: done
[2025-01-13 05:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:51:03] Production.INFO: Account Balance Start.
[2025-01-13 05:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:51:03] Production.INFO: 117
[2025-01-13 05:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 05:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:51:03] Production.ERROR: done
[2025-01-13 05:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:51:03] Production.INFO: count ==21
[2025-01-13 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-13 05:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:51:03] Production.INFO: count ==21
[2025-01-13 05:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236917') start
[2025-01-13 05:51:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:51:03] Production.INFO: Total Charge 0
[2025-01-13 05:51:03] Production.INFO: CreateAllLog End
[2025-01-13 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236917') end
[2025-01-13 05:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:51:04] Production.INFO: 1
[2025-01-13 05:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:51:04] Production.INFO: ==1105== Releasing lock...
[2025-01-13 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:51:04] Production.INFO: Account Balance End.
[2025-01-13 05:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:51:04] Production.INFO: ==1101== Releasing lock...
[2025-01-13 05:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:51:04
[end_date_ymd] => 2025-01-13 05:51:04
[RateCDR] => 1
)
[2025-01-13 05: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-13 02:51:04' and `end` < '2025-01-13 05: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-13 05:51:11] Production.ERROR: CronJobId end10
[2025-01-13 05:51:11] Production.INFO: ==1099== Releasing lock...
[2025-01-13 05:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:51:13] Production.INFO: call_cost start
[2025-01-13 05:51:13] Production.INFO: call_cost end
[2025-01-13 05:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:51:14] Production.INFO: ==1095== Releasing lock...
[2025-01-13 05:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:51:17] Production.INFO: count ==78
[2025-01-13 05:51:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:51:04 - End Time 2025-01-13 05:51:04
[2025-01-13 05:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236918', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236918', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236918', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236918', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:51:17] Production.INFO: ProcessCDR(1,14236918,1,1,2)
[2025-01-13 05:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236918', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236918', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:51:20] Production.INFO: ==1103== Releasing lock...
[2025-01-13 05:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:51:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:52:01] Production.INFO: ==1176== Lock acquired, processing the job...
[2025-01-13 10:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:52:01] Production.INFO: neon service started
[2025-01-13 10:52:01] Production.INFO: neon service started
[2025-01-13 10:52:01] Production.INFO: ==1176== Releasing lock...
[2025-01-13 10:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:52:02] Production.INFO: ==1178== Lock acquired, processing the job...
[2025-01-13 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:52:02] Production.INFO: ==1180== Lock acquired, processing the job...
[2025-01-13 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 05:52:02] Production.INFO: ==1178== Releasing lock...
[2025-01-13 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:52:02] Production.INFO: ==1180== Releasing lock...
[2025-01-13 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:52:03] Production.INFO: ==1182== Lock acquired, processing the job...
[2025-01-13 05:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:52:03] Production.INFO: ==1190== Lock acquired, processing the job...
[2025-01-13 05:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:52:03] Production.INFO: ==1192== Lock acquired, processing the job...
[2025-01-13 05:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:52:03] Production.INFO: count ==21
[2025-01-13 05:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:52:03] Production.INFO: count ==21
[2025-01-13 05:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236920') start
[2025-01-13 05:52:03] Production.INFO: ==1186== Lock acquired, processing the job...
[2025-01-13 05:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:52:03] Production.INFO: ==1184== Lock acquired, processing the job...
[2025-01-13 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:52:03] Production.INFO: ==1188== Lock acquired, processing the job...
[2025-01-13 05:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236920') end
[2025-01-13 05:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:52:03] Production.INFO: 1
[2025-01-13 05:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:52:03] Production.ERROR: done
[2025-01-13 05:52:03] Production.INFO: ==1192== Releasing lock...
[2025-01-13 05:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:52:03] Production.INFO: Account Balance Start.
[2025-01-13 05:52:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:52:03] Production.INFO: 117
[2025-01-13 05:52:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:52:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:52:04] Production.ERROR: done
[2025-01-13 05:52:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:52:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:52:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:52:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:52:04] Production.INFO: ==1184== Releasing lock...
[2025-01-13 05:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:52:04] Production.INFO: Total Charge 0
[2025-01-13 05:52:04] Production.INFO: CreateAllLog End
[2025-01-13 05:52:04] Production.INFO: Account Balance End.
[2025-01-13 05:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:52:04] Production.INFO: ==1188== Releasing lock...
[2025-01-13 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:52:05
[end_date_ymd] => 2025-01-13 05:52:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:52:05' and `end` < '2025-01-13 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-13 05:52:10] Production.ERROR: CronJobId end10
[2025-01-13 05:52:10] Production.INFO: ==1186== Releasing lock...
[2025-01-13 05:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:52:13] Production.INFO: call_cost start
[2025-01-13 05:52:13] Production.INFO: call_cost end
[2025-01-13 05:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:52:14] Production.INFO: ==1182== Releasing lock...
[2025-01-13 05:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:52:17] Production.INFO: count ==78
[2025-01-13 05:52:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:52:05 - End Time 2025-01-13 05:52:05
[2025-01-13 05:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236923', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236923', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236923', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236923', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:52:17] Production.INFO: ProcessCDR(1,14236923,1,1,2)
[2025-01-13 05:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236923', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236923', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:52:20] Production.INFO: ==1190== Releasing lock...
[2025-01-13 05:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:52:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:53:01] Production.INFO: ==1269== Lock acquired, processing the job...
[2025-01-13 10:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:53:01] Production.INFO: neon service started
[2025-01-13 10:53:01] Production.INFO: neon service started
[2025-01-13 10:53:01] Production.INFO: ==1269== Releasing lock...
[2025-01-13 10:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:53:02] Production.INFO: ==1271== Lock acquired, processing the job...
[2025-01-13 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:53:02] Production.INFO: ==1273== Lock acquired, processing the job...
[2025-01-13 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:53:02] Production.INFO: ==1273== Releasing lock...
[2025-01-13 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:53:02] Production.INFO: ==1271== Releasing lock...
[2025-01-13 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:53:03] Production.INFO: ==1278== Lock acquired, processing the job...
[2025-01-13 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:53:03] Production.INFO: ==1286== Lock acquired, processing the job...
[2025-01-13 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:53:03] Production.INFO: ==1276== Lock acquired, processing the job...
[2025-01-13 05:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:53:03] Production.INFO: ==1278== Releasing lock...
[2025-01-13 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:53:03] Production.INFO: count ==21
[2025-01-13 05:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:53:03] Production.INFO: ==1282== Lock acquired, processing the job...
[2025-01-13 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:53:03] Production.INFO: ==1280== Lock acquired, processing the job...
[2025-01-13 05:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:53:03] Production.INFO: count ==21
[2025-01-13 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236925') start
[2025-01-13 05:53:03] Production.INFO: ==1284== Lock acquired, processing the job...
[2025-01-13 05:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:53:03] Production.INFO: Account Balance Start.
[2025-01-13 05:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:53:03] Production.INFO: 117
[2025-01-13 05:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:53:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:53:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236925') end
[2025-01-13 05:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:53:03] Production.INFO: 1
[2025-01-13 05:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:53:03] Production.INFO: ==1286== Releasing lock...
[2025-01-13 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:53:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:53:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:53:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:53:04] Production.INFO: Total Charge 0
[2025-01-13 05:53:04] Production.INFO: CreateAllLog End
[2025-01-13 05:53:04] Production.ERROR: done
[2025-01-13 05:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:53:04] Production.ERROR: done
[2025-01-13 05:53:04] Production.INFO: Account Balance End.
[2025-01-13 05:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:53:04] Production.INFO: ==1282== Releasing lock...
[2025-01-13 05:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:53:05
[end_date_ymd] => 2025-01-13 05:53:05
[RateCDR] => 1
)
[2025-01-13 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-13 02:53:05' and `end` < '2025-01-13 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-13 05:53:11] Production.ERROR: CronJobId end10
[2025-01-13 05:53:11] Production.INFO: ==1280== Releasing lock...
[2025-01-13 05:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:53:13] Production.INFO: call_cost start
[2025-01-13 05:53:13] Production.INFO: call_cost end
[2025-01-13 05:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:53:14] Production.INFO: ==1276== Releasing lock...
[2025-01-13 05:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:53:19] Production.INFO: count ==78
[2025-01-13 05:53:19] Production.ERROR: pbx CDR StartTime 2025-01-13 02:53:05 - End Time 2025-01-13 05:53:05
[2025-01-13 05:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236928', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236928', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236928', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236928', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:53:19] Production.INFO: ProcessCDR(1,14236928,1,1,2)
[2025-01-13 05:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236928', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236928', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:53:22] Production.INFO: ==1284== Releasing lock...
[2025-01-13 05:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:53:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:54:01] Production.INFO: ==1341== Lock acquired, processing the job...
[2025-01-13 10:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:54:01] Production.INFO: neon service started
[2025-01-13 10:54:01] Production.INFO: neon service started
[2025-01-13 10:54:01] Production.INFO: ==1341== Releasing lock...
[2025-01-13 10:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:54:02] Production.INFO: ==1345== Lock acquired, processing the job...
[2025-01-13 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:54:02] Production.INFO: ==1345== Releasing lock...
[2025-01-13 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:54:02] Production.INFO: ==1343== Lock acquired, processing the job...
[2025-01-13 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:54:02] Production.INFO: ==1343== Releasing lock...
[2025-01-13 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:54:03] Production.INFO: ==1348== Lock acquired, processing the job...
[2025-01-13 05:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:54:03] Production.INFO: ==1352== Lock acquired, processing the job...
[2025-01-13 05:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:54:03] Production.INFO: ==1350== Lock acquired, processing the job...
[2025-01-13 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:54:03] Production.INFO: ==1354== Lock acquired, processing the job...
[2025-01-13 05:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:54:03] Production.INFO: ==1356== Lock acquired, processing the job...
[2025-01-13 05:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:54:03] Production.INFO: ==1358== Lock acquired, processing the job...
[2025-01-13 05:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:54:03] Production.INFO: Account Balance Start.
[2025-01-13 05:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:54:03] Production.INFO: 117
[2025-01-13 05:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:54:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:54:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:54:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:54:04] Production.INFO: count ==21
[2025-01-13 05:54:04] Production.INFO: ==1350== Releasing lock...
[2025-01-13 05:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:54:04] Production.INFO: count ==21
[2025-01-13 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236932') start
[2025-01-13 05:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:54:04] Production.ERROR: done
[2025-01-13 05:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236932') end
[2025-01-13 05:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:54:04] Production.INFO: 1
[2025-01-13 05:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:54:04] Production.INFO: Total Charge 0
[2025-01-13 05:54:04] Production.INFO: CreateAllLog End
[2025-01-13 05:54:04] Production.INFO: ==1358== Releasing lock...
[2025-01-13 05:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:54:04] Production.ERROR: done
[2025-01-13 05:54:04] Production.INFO: Account Balance End.
[2025-01-13 05:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:54:04] Production.INFO: ==1354== Releasing lock...
[2025-01-13 05:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:54:05
[end_date_ymd] => 2025-01-13 05:54:05
[RateCDR] => 1
)
[2025-01-13 05:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:54:05' and `end` < '2025-01-13 05:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:54:11] Production.ERROR: CronJobId end10
[2025-01-13 05:54:11] Production.INFO: ==1352== Releasing lock...
[2025-01-13 05:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:54:13] Production.INFO: call_cost start
[2025-01-13 05:54:13] Production.INFO: call_cost end
[2025-01-13 05:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:54:14] Production.INFO: ==1348== Releasing lock...
[2025-01-13 05:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:54:17] Production.INFO: count ==78
[2025-01-13 05:54:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:54:05 - End Time 2025-01-13 05:54:05
[2025-01-13 05:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236933', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236933', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236933', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236933', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:54:17] Production.INFO: ProcessCDR(1,14236933,1,1,2)
[2025-01-13 05:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236933', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236933', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:54:21] Production.INFO: ==1356== Releasing lock...
[2025-01-13 05:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:54:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:55:02] Production.INFO: ==1454== Lock acquired, processing the job...
[2025-01-13 10:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:55:02] Production.INFO: neon service started
[2025-01-13 10:55:02] Production.INFO: neon service started
[2025-01-13 10:55:02] Production.INFO: ==1454== Releasing lock...
[2025-01-13 10:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:55:02] Production.INFO: ==1458== Lock acquired, processing the job...
[2025-01-13 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:55:02] Production.INFO: ==1458== Releasing lock...
[2025-01-13 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:55:02] Production.INFO: ==1456== Lock acquired, processing the job...
[2025-01-13 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:55:03] Production.INFO: ==1456== Releasing lock...
[2025-01-13 05:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:55:03] Production.INFO: ==1461== Lock acquired, processing the job...
[2025-01-13 05:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:55:03] Production.INFO: ==1463== Lock acquired, processing the job...
[2025-01-13 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:55:03] Production.INFO: ==1467== Lock acquired, processing the job...
[2025-01-13 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:55:04] Production.INFO: ==1465== Lock acquired, processing the job...
[2025-01-13 05:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:55:04] Production.INFO: Account Balance Start.
[2025-01-13 05:55:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:55:04] Production.INFO: 117
[2025-01-13 05:55:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:55:04] Production.INFO: ==1463== Releasing lock...
[2025-01-13 05:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:55:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:55:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:55:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:55:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:55:04] Production.INFO: ==1469== Lock acquired, processing the job...
[2025-01-13 05:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:55:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:55:04] Production.INFO: Total Charge 0
[2025-01-13 05:55:04] Production.INFO: ==1471== Lock acquired, processing the job...
[2025-01-13 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:55:04] Production.INFO: CreateAllLog End
[2025-01-13 05:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:55:04] Production.INFO: Account Balance End.
[2025-01-13 05:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:55:04] Production.INFO: ==1467== Releasing lock...
[2025-01-13 05:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:55:04] Production.INFO: count ==21
[2025-01-13 05:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:55:04] Production.INFO: count ==21
[2025-01-13 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236937') start
[2025-01-13 05:55:04] Production.ERROR: done
[2025-01-13 05:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:55:04] Production.ERROR: done
[2025-01-13 05:55:05] Production.ERROR: PBX CALL prc_importPBXExtension('14236937') end
[2025-01-13 05:55:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:55:05] Production.INFO: 1
[2025-01-13 05:55:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:55:05] Production.INFO: ==1471== Releasing lock...
[2025-01-13 05:55:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:55:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:55:06
[end_date_ymd] => 2025-01-13 05:55:06
[RateCDR] => 1
)
[2025-01-13 05: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-13 02:55:06' and `end` < '2025-01-13 05: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-13 05:55:12] Production.ERROR: CronJobId end10
[2025-01-13 05:55:12] Production.INFO: ==1465== Releasing lock...
[2025-01-13 05:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:55:14] Production.INFO: call_cost start
[2025-01-13 05:55:14] Production.INFO: call_cost end
[2025-01-13 05:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:55:15] Production.INFO: ==1461== Releasing lock...
[2025-01-13 05:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:55:19] Production.INFO: count ==78
[2025-01-13 05:55:19] Production.ERROR: pbx CDR StartTime 2025-01-13 02:55:06 - End Time 2025-01-13 05:55:06
[2025-01-13 05:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236938', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236938', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236938', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236938', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:55:19] Production.INFO: ProcessCDR(1,14236938,1,1,2)
[2025-01-13 05:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236938', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236938', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:55:22] Production.INFO: ==1469== Releasing lock...
[2025-01-13 05:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:55:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:56:01] Production.INFO: ==1558== Lock acquired, processing the job...
[2025-01-13 10:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:56:01] Production.INFO: neon service started
[2025-01-13 10:56:01] Production.INFO: neon service started
[2025-01-13 10:56:01] Production.INFO: ==1558== Releasing lock...
[2025-01-13 10:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:56:02] Production.INFO: ==1560== Lock acquired, processing the job...
[2025-01-13 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:56:02] Production.INFO: ==1562== Lock acquired, processing the job...
[2025-01-13 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:56:02] Production.INFO: ==1562== Releasing lock...
[2025-01-13 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:56:02] Production.INFO: ==1560== Releasing lock...
[2025-01-13 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:56:03] Production.INFO: ==1565== Lock acquired, processing the job...
[2025-01-13 05:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:56:03] Production.INFO: ==1577== Lock acquired, processing the job...
[2025-01-13 05:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:56:03] Production.INFO: ==1579== Lock acquired, processing the job...
[2025-01-13 05:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:56:03] Production.INFO: ==1567== Lock acquired, processing the job...
[2025-01-13 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:56:03] Production.INFO: count ==21
[2025-01-13 05:56:03] Production.INFO: ==1573== Lock acquired, processing the job...
[2025-01-13 05:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:56:03] Production.INFO: count ==21
[2025-01-13 05:56:03] Production.INFO: ==1575== Lock acquired, processing the job...
[2025-01-13 05:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236940') start
[2025-01-13 05:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236940') end
[2025-01-13 05:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:56:03] Production.INFO: 1
[2025-01-13 05:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:56:03] Production.INFO: Account Balance Start.
[2025-01-13 05:56:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:56:03] Production.INFO: 117
[2025-01-13 05:56:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:56:04] Production.INFO: ==1579== Releasing lock...
[2025-01-13 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:56:04] Production.ERROR: done
[2025-01-13 05:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:56:04] Production.ERROR: done
[2025-01-13 05:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:56:04] Production.INFO: ==1567== Releasing lock...
[2025-01-13 05:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:56:04] Production.INFO: Total Charge 0
[2025-01-13 05:56:04] Production.INFO: CreateAllLog End
[2025-01-13 05:56:04] Production.INFO: Account Balance End.
[2025-01-13 05:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:56:04] Production.INFO: ==1575== Releasing lock...
[2025-01-13 05:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:56:05
[end_date_ymd] => 2025-01-13 05:56:05
[RateCDR] => 1
)
[2025-01-13 05:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:56:05' and `end` < '2025-01-13 05:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:56:12] Production.ERROR: CronJobId end10
[2025-01-13 05:56:12] Production.INFO: ==1573== Releasing lock...
[2025-01-13 05:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:56:13] Production.INFO: call_cost start
[2025-01-13 05:56:13] Production.INFO: call_cost end
[2025-01-13 05:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:56:14] Production.INFO: ==1565== Releasing lock...
[2025-01-13 05:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:56:18] Production.INFO: count ==78
[2025-01-13 05:56:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:56:05 - End Time 2025-01-13 05:56:05
[2025-01-13 05:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236943', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236943', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236943', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236943', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:56:18] Production.INFO: ProcessCDR(1,14236943,1,1,2)
[2025-01-13 05:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236943', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236943', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:56:21] Production.INFO: ==1577== Releasing lock...
[2025-01-13 05:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:56:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:57:02] Production.INFO: ==1634== Lock acquired, processing the job...
[2025-01-13 10:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:57:02] Production.INFO: neon service started
[2025-01-13 10:57:02] Production.INFO: neon service started
[2025-01-13 10:57:02] Production.INFO: ==1634== Releasing lock...
[2025-01-13 10:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:57:02] Production.INFO: ==1638== Lock acquired, processing the job...
[2025-01-13 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:57:02] Production.INFO: ==1638== Releasing lock...
[2025-01-13 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:57:02] Production.INFO: ==1636== Lock acquired, processing the job...
[2025-01-13 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:57:03] Production.INFO: ==1636== Releasing lock...
[2025-01-13 05:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:57:03] Production.INFO: ==1645== Lock acquired, processing the job...
[2025-01-13 05:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:57:03] Production.INFO: ==1649== Lock acquired, processing the job...
[2025-01-13 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:57:04] Production.INFO: ==1641== Lock acquired, processing the job...
[2025-01-13 05:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:57:04] Production.INFO: ==1643== Lock acquired, processing the job...
[2025-01-13 05:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:57:04] Production.INFO: ==1647== Lock acquired, processing the job...
[2025-01-13 05:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:57:04] Production.ERROR: done
[2025-01-13 05:57:04] Production.INFO: ==1651== Lock acquired, processing the job...
[2025-01-13 05:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:57:04] Production.INFO: Account Balance Start.
[2025-01-13 05:57:04] Production.INFO: CreateAllLog Start
[2025-01-13 05:57:04] Production.INFO: 117
[2025-01-13 05:57:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:57:04] Production.ERROR: done
[2025-01-13 05:57:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:57:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:57:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:57:04] Production.INFO: count ==21
[2025-01-13 05:57:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:57:04] Production.INFO: count ==21
[2025-01-13 05:57:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236947') start
[2025-01-13 05:57:04] Production.INFO: ==1643== Releasing lock...
[2025-01-13 05:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:57:04] Production.INFO: Total Charge 0
[2025-01-13 05:57:04] Production.INFO: CreateAllLog End
[2025-01-13 05:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236947') end
[2025-01-13 05:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:57:04] Production.INFO: 1
[2025-01-13 05:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:57:04] Production.INFO: ==1651== Releasing lock...
[2025-01-13 05:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:57:04] Production.INFO: Account Balance End.
[2025-01-13 05:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:57:04] Production.INFO: ==1647== Releasing lock...
[2025-01-13 05:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:57:05
[end_date_ymd] => 2025-01-13 05:57:05
[RateCDR] => 1
)
[2025-01-13 05:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:57:05' and `end` < '2025-01-13 05:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:57:11] Production.ERROR: CronJobId end10
[2025-01-13 05:57:11] Production.INFO: ==1645== Releasing lock...
[2025-01-13 05:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:57:14] Production.INFO: call_cost start
[2025-01-13 05:57:14] Production.INFO: call_cost end
[2025-01-13 05:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:57:15] Production.INFO: ==1641== Releasing lock...
[2025-01-13 05:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:57:18] Production.INFO: count ==78
[2025-01-13 05:57:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:57:05 - End Time 2025-01-13 05:57:05
[2025-01-13 05:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236948', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236948', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236948', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236948', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:57:18] Production.INFO: ProcessCDR(1,14236948,1,1,2)
[2025-01-13 05:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236948', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236948', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:57:21] Production.INFO: ==1649== Releasing lock...
[2025-01-13 05:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:57:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:58:01] Production.INFO: ==1710== Lock acquired, processing the job...
[2025-01-13 10:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:58:01] Production.INFO: neon service started
[2025-01-13 10:58:01] Production.INFO: neon service started
[2025-01-13 10:58:01] Production.INFO: ==1710== Releasing lock...
[2025-01-13 10:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:58:02] Production.INFO: ==1714== Lock acquired, processing the job...
[2025-01-13 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:58:02] Production.INFO: ==1714== Releasing lock...
[2025-01-13 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:58:02] Production.INFO: ==1712== Lock acquired, processing the job...
[2025-01-13 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 05:58:02] Production.INFO: ==1712== Releasing lock...
[2025-01-13 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:58:03] Production.INFO: ==1719== Lock acquired, processing the job...
[2025-01-13 05:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:58:03] Production.INFO: ==1717== Lock acquired, processing the job...
[2025-01-13 05:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:58:03] Production.INFO: ==1725== Lock acquired, processing the job...
[2025-01-13 05:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:58:03] Production.INFO: ==1721== Lock acquired, processing the job...
[2025-01-13 05:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:58:03] Production.INFO: ==1723== Lock acquired, processing the job...
[2025-01-13 05:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:58:03] Production.INFO: ==1719== Releasing lock...
[2025-01-13 05:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:58:03] Production.INFO: ==1727== Lock acquired, processing the job...
[2025-01-13 05:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:58:03] Production.INFO: Account Balance Start.
[2025-01-13 05:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:58:03] Production.INFO: 117
[2025-01-13 05:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 05: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-13 05:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:58:03] Production.INFO: count ==21
[2025-01-13 05: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-13 05:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 05:58:03] Production.INFO: count ==21
[2025-01-13 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:58:03] Production.ERROR: done
[2025-01-13 05:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236952') start
[2025-01-13 05:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 05:58:03] Production.INFO: Date 2025-01-13
[2025-01-13 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:58:04] Production.ERROR: done
[2025-01-13 05:58:04] Production.INFO: Total Charge 0
[2025-01-13 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236952') end
[2025-01-13 05:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:58:04] Production.INFO: 1
[2025-01-13 05:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:58:04] Production.INFO: CreateAllLog End
[2025-01-13 05:58:04] Production.INFO: ==1727== Releasing lock...
[2025-01-13 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:58:04] Production.INFO: Account Balance End.
[2025-01-13 05:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:58:04] Production.INFO: ==1723== Releasing lock...
[2025-01-13 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:58:04
[end_date_ymd] => 2025-01-13 05:58:04
[RateCDR] => 1
)
[2025-01-13 05: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-13 02:58:04' and `end` < '2025-01-13 05: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-13 05:58:10] Production.ERROR: CronJobId end10
[2025-01-13 05:58:10] Production.INFO: ==1721== Releasing lock...
[2025-01-13 05:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:58:12] Production.INFO: call_cost start
[2025-01-13 05:58:12] Production.INFO: call_cost end
[2025-01-13 05:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:58:13] Production.INFO: ==1717== Releasing lock...
[2025-01-13 05:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:58:17] Production.INFO: count ==78
[2025-01-13 05:58:17] Production.ERROR: pbx CDR StartTime 2025-01-13 02:58:04 - End Time 2025-01-13 05:58:04
[2025-01-13 05:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236953', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236953', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236953', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236953', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:58:17] Production.INFO: ProcessCDR(1,14236953,1,1,2)
[2025-01-13 05:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236953', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236953', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:58:21] Production.INFO: ==1725== Releasing lock...
[2025-01-13 05:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:58:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 10:59:02] Production.INFO: ==1783== Lock acquired, processing the job...
[2025-01-13 10:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 10:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 10:59:02] Production.INFO: neon service started
[2025-01-13 10:59:02] Production.INFO: neon service started
[2025-01-13 10:59:02] Production.INFO: ==1783== Releasing lock...
[2025-01-13 10:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 10:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 05:59:02] Production.INFO: ==1785== Lock acquired, processing the job...
[2025-01-13 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:59:02] Production.INFO: ==1787== Lock acquired, processing the job...
[2025-01-13 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:59:02] Production.INFO: ==1787== Releasing lock...
[2025-01-13 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 10:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 05:59:03] Production.INFO: ==1785== Releasing lock...
[2025-01-13 05:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 05:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 05:59:03] Production.INFO: ==1790== Lock acquired, processing the job...
[2025-01-13 05:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 05:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 05:59:03] Production.INFO: ==1796== Lock acquired, processing the job...
[2025-01-13 05:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 05:59:03] Production.INFO: ==1800== Lock acquired, processing the job...
[2025-01-13 05:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 05:59:03] Production.INFO: Account Balance Start.
[2025-01-13 05:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 05:59:04] Production.INFO: 117
[2025-01-13 05:59:04] Production.INFO: Date 2025-01-08
[2025-01-13 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:59:04] Production.INFO: Date 2025-01-09
[2025-01-13 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:59:04] Production.INFO: Date 2025-01-10
[2025-01-13 05:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:59:04] Production.INFO: ==1792== Lock acquired, processing the job...
[2025-01-13 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 05:59:04] Production.INFO: count ==21
[2025-01-13 05:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 05:59:04] Production.INFO: Date 2025-01-11
[2025-01-13 05:59:04] Production.INFO: count ==21
[2025-01-13 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236956') start
[2025-01-13 05:59:04] Production.INFO: ==1794== Lock acquired, processing the job...
[2025-01-13 05:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 05:59:04] Production.INFO: Date 2025-01-12
[2025-01-13 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:59:04] Production.INFO: ==1798== Lock acquired, processing the job...
[2025-01-13 05:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236956') end
[2025-01-13 05:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 05:59:04] Production.INFO: 1
[2025-01-13 05:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 05:59:04] Production.INFO: Date 2025-01-13
[2025-01-13 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 05:59:04] Production.INFO: ==1800== Releasing lock...
[2025-01-13 05:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 05:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 05:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 05:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 05:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 05:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 05:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 05:59:04] Production.INFO: Total Charge 0
[2025-01-13 05:59:04] Production.INFO: CreateAllLog End
[2025-01-13 05:59:04] Production.INFO: ==1792== Releasing lock...
[2025-01-13 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 05:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 05:59:04] Production.ERROR: done
[2025-01-13 05:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 05:59:04] Production.INFO: Account Balance End.
[2025-01-13 05:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 05:59:04] Production.INFO: ==1796== Releasing lock...
[2025-01-13 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 05:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 05:59:04] Production.ERROR: done
[2025-01-13 05:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 02:59:05
[end_date_ymd] => 2025-01-13 05:59:05
[RateCDR] => 1
)
[2025-01-13 05:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 02:59:05' and `end` < '2025-01-13 05:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 05:59:10] Production.ERROR: CronJobId end10
[2025-01-13 05:59:10] Production.INFO: ==1794== Releasing lock...
[2025-01-13 05:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 05:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 05:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 05:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 05:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 05:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 05:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 05:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 05:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 05:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 05:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 05:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 05:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 05:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 05:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 05:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 05:59:13] Production.INFO: call_cost start
[2025-01-13 05:59:13] Production.INFO: call_cost end
[2025-01-13 05:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 05:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 05:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 05:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 05:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 05:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 05:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 05:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 05:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 05:59:14] Production.INFO: ==1790== Releasing lock...
[2025-01-13 05:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 05:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 05:59:18] Production.INFO: count ==78
[2025-01-13 05:59:18] Production.ERROR: pbx CDR StartTime 2025-01-13 02:59:05 - End Time 2025-01-13 05:59:05
[2025-01-13 05:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 05:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236958', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236958', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236958', 'tblTempVendorCDR_20' ) start
[2025-01-13 05:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236958', 'tblTempVendorCDR_20' ) end
[2025-01-13 05:59:18] Production.INFO: ProcessCDR(1,14236958,1,1,2)
[2025-01-13 05:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 05:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 05:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236958', 'tblTempUsageDetail_20' ) start
[2025-01-13 05:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236958', 'tblTempUsageDetail_20' ) end
[2025-01-13 05:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 05:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 05:59:21] Production.INFO: ==1798== Releasing lock...
[2025-01-13 05:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 05:59:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:00:01] Production.INFO: ==1858== Lock acquired, processing the job...
[2025-01-13 11:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:00:01] Production.INFO: neon service started
[2025-01-13 11:00:01] Production.INFO: neon service started
[2025-01-13 11:00:01] Production.INFO: ==1858== Releasing lock...
[2025-01-13 11:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:00:01] Production.INFO: ==1860== Lock acquired, processing the job...
[2025-01-13 06:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:00:02] Production.INFO: ==1860== Releasing lock...
[2025-01-13 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:00:02] Production.INFO: ==1862== Lock acquired, processing the job...
[2025-01-13 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:00:02] Production.INFO: ==1862== Releasing lock...
[2025-01-13 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:00:03] Production.INFO: ==1870== Lock acquired, processing the job...
[2025-01-13 06:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:00:03] Production.INFO: ==1864== Lock acquired, processing the job...
[2025-01-13 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 06:00:03] Production.INFO: ==1874== Lock acquired, processing the job...
[2025-01-13 06:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:00:03] Production.INFO: ==1878== Lock acquired, processing the job...
[2025-01-13 06:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 06:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:00:03] Production.ERROR: CronJob PID - 1870
[2025-01-13 06:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 06:00:03] Production.ERROR: CronJob ID - 10
[2025-01-13 06:00:03] Production.ERROR: CronJob Last Run Time 2025-01-13 06:00:00
[2025-01-13 06:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:00:03] Production.ERROR: CronJob PID - 1874
[2025-01-13 06:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 06:00:03] Production.ERROR: CronJob ID - 16
[2025-01-13 06:00:03] Production.ERROR: CronJob Last Run Time 2025-01-13 06:00:00
[2025-01-13 06:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 06:00:03] Production.INFO: ==1864== Releasing lock...
[2025-01-13 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 06:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 06:00:03] Production.INFO: ==1866== Lock acquired, processing the job...
[2025-01-13 06:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:00:03] Production.INFO: ==1868== Lock acquired, processing the job...
[2025-01-13 06:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06: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-13 06:00:03] Production.INFO: count ==21
[2025-01-13 06: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-13 06:00:03] Production.INFO: count ==21
[2025-01-13 06:00:03] Production.INFO: ==1872== Lock acquired, processing the job...
[2025-01-13 06:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236959') start
[2025-01-13 06:00:03] Production.INFO: ==1876== Lock acquired, processing the job...
[2025-01-13 06:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 06:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236959') end
[2025-01-13 06:00:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:00:03] Production.INFO: 1
[2025-01-13 06:00:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:00:04] Production.INFO: Account Balance Start.
[2025-01-13 06:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:00:04] Production.INFO: 117
[2025-01-13 06:00:04] Production.ERROR: done
[2025-01-13 06:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:00:04] Production.ERROR: done
[2025-01-13 06:00:04] Production.INFO: ==1878== Releasing lock...
[2025-01-13 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 06:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236963', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 06:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:00:04] Production.ERROR: done
[2025-01-13 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:00:04] Production.INFO: ==1868== Releasing lock...
[2025-01-13 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:00:04] Production.INFO: Total Charge 0
[2025-01-13 06:00:04] Production.INFO: CreateAllLog End
[2025-01-13 06:00:04] Production.INFO: Account Balance End.
[2025-01-13 06:00:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:00:04] Production.INFO: ==1872== Releasing lock...
[2025-01-13 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:00:05
[end_date_ymd] => 2025-01-13 06:00:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:00:05' and `end` < '2025-01-13 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-13 06:00:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14236963', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 06:00:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 06:00:07] Production.INFO: ProcessCDR(1,14236963,1,1,2)
[2025-01-13 06:00:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14236963,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14236963,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:00:08] Production.INFO: ==1876== Releasing lock...
[2025-01-13 06:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 06:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 06:00:12] Production.ERROR: CronJobId end10
[2025-01-13 06:00:12] Production.INFO: ==1870== Releasing lock...
[2025-01-13 06:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:00:14] Production.INFO: call_cost start
[2025-01-13 06:00:14] Production.INFO: call_cost end
[2025-01-13 06:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:00:15] Production.INFO: ==1866== Releasing lock...
[2025-01-13 06:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:00:18] Production.INFO: count ==76
[2025-01-13 06:00:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:00:05 - End Time 2025-01-13 06:00:05
[2025-01-13 06:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236964', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236964', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236964', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236964', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:00:18] Production.INFO: ProcessCDR(1,14236964,1,1,2)
[2025-01-13 06:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236964', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236964', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:00:21] Production.INFO: ==1874== Releasing lock...
[2025-01-13 06:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:00:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:01:02] Production.INFO: ==1934== Lock acquired, processing the job...
[2025-01-13 11:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:01:02] Production.INFO: neon service started
[2025-01-13 11:01:02] Production.INFO: neon service started
[2025-01-13 11:01:02] Production.INFO: ==1934== Releasing lock...
[2025-01-13 11:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:01:02] Production.INFO: ==1949== Lock acquired, processing the job...
[2025-01-13 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:01:02] Production.INFO: ==1949== Releasing lock...
[2025-01-13 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:01:02] Production.INFO: ==1947== Lock acquired, processing the job...
[2025-01-13 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:01:02] Production.INFO: ==1947== Releasing lock...
[2025-01-13 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:01:03] Production.INFO: ==1951== Lock acquired, processing the job...
[2025-01-13 06:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:01:03] Production.INFO: ==1953== Lock acquired, processing the job...
[2025-01-13 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:01:03] Production.INFO: ==1955== Lock acquired, processing the job...
[2025-01-13 06:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:01:03] Production.INFO: ==1953== Releasing lock...
[2025-01-13 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:01:03] Production.INFO: ==1957== Lock acquired, processing the job...
[2025-01-13 06:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:01:03] Production.INFO: Account Balance Start.
[2025-01-13 06:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:01:03] Production.INFO: 117
[2025-01-13 06:01:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:01:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:01:04] Production.INFO: ==1959== Lock acquired, processing the job...
[2025-01-13 06:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:01:04] Production.INFO: ==1962== Lock acquired, processing the job...
[2025-01-13 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:01:04] Production.INFO: count ==21
[2025-01-13 06:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:01:04] Production.INFO: count ==21
[2025-01-13 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236968') start
[2025-01-13 06:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236968') end
[2025-01-13 06:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:01:04] Production.INFO: 1
[2025-01-13 06:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:01:04] Production.INFO: Total Charge 0
[2025-01-13 06:01:04] Production.INFO: CreateAllLog End
[2025-01-13 06:01:04] Production.INFO: ==1962== Releasing lock...
[2025-01-13 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:01:04] Production.ERROR: done
[2025-01-13 06:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:01:04] Production.INFO: Account Balance End.
[2025-01-13 06:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:01:04] Production.INFO: ==1957== Releasing lock...
[2025-01-13 06:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:01:04] Production.ERROR: done
[2025-01-13 06:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:01:05
[end_date_ymd] => 2025-01-13 06:01:05
[RateCDR] => 1
)
[2025-01-13 06:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:01:05' and `end` < '2025-01-13 06:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:01:11] Production.ERROR: CronJobId end10
[2025-01-13 06:01:11] Production.INFO: ==1955== Releasing lock...
[2025-01-13 06:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:01:14] Production.INFO: call_cost start
[2025-01-13 06:01:14] Production.INFO: call_cost end
[2025-01-13 06:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:01:15] Production.INFO: ==1951== Releasing lock...
[2025-01-13 06:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:01:17] Production.INFO: count ==76
[2025-01-13 06:01:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:01:05 - End Time 2025-01-13 06:01:05
[2025-01-13 06:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236969', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236969', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236969', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236969', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:01:17] Production.INFO: ProcessCDR(1,14236969,1,1,2)
[2025-01-13 06:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236969', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236969', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:01:21] Production.INFO: ==1959== Releasing lock...
[2025-01-13 06:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:01:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:02:01] Production.INFO: ==2016== Lock acquired, processing the job...
[2025-01-13 11:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:02:01] Production.INFO: neon service started
[2025-01-13 11:02:01] Production.INFO: neon service started
[2025-01-13 11:02:01] Production.INFO: ==2016== Releasing lock...
[2025-01-13 11:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:02:01] Production.INFO: ==2020== Lock acquired, processing the job...
[2025-01-13 11:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:02:01] Production.INFO: ==2020== Releasing lock...
[2025-01-13 11:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:02:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:02:02] Production.INFO: ==2018== Lock acquired, processing the job...
[2025-01-13 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:02:02] Production.INFO: ==2018== Releasing lock...
[2025-01-13 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:02:03] Production.INFO: ==2027== Lock acquired, processing the job...
[2025-01-13 06:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:02:03] Production.INFO: ==2033== Lock acquired, processing the job...
[2025-01-13 06:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 06:02:03] Production.INFO: ==2023== Lock acquired, processing the job...
[2025-01-13 06:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:02:03] Production.INFO: count ==21
[2025-01-13 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-13 06:02:03] Production.INFO: count ==21
[2025-01-13 06:02:03] Production.INFO: ==2025== Lock acquired, processing the job...
[2025-01-13 06:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236970') start
[2025-01-13 06:02:03] Production.INFO: ==2031== Lock acquired, processing the job...
[2025-01-13 06:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:02:03] Production.INFO: ==2029== Lock acquired, processing the job...
[2025-01-13 06:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236970') end
[2025-01-13 06:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:02:03] Production.INFO: 1
[2025-01-13 06:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:02:03] Production.INFO: ==2033== Releasing lock...
[2025-01-13 06:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:02:03] Production.INFO: Account Balance Start.
[2025-01-13 06:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:02:03] Production.INFO: 117
[2025-01-13 06:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:02:03] Production.INFO: ==2025== Releasing lock...
[2025-01-13 06:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:02:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:02:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:02:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:02:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:02:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:02:03] Production.ERROR: done
[2025-01-13 06:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:02:03] Production.INFO: Total Charge 0
[2025-01-13 06:02:03] Production.INFO: CreateAllLog End
[2025-01-13 06:02:04] Production.ERROR: done
[2025-01-13 06:02:04] Production.INFO: Account Balance End.
[2025-01-13 06:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:02:04] Production.INFO: ==2029== Releasing lock...
[2025-01-13 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:02:04
[end_date_ymd] => 2025-01-13 06:02:04
[RateCDR] => 1
)
[2025-01-13 06: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-13 03:02:04' and `end` < '2025-01-13 06: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-13 06:02:10] Production.ERROR: CronJobId end10
[2025-01-13 06:02:10] Production.INFO: ==2027== Releasing lock...
[2025-01-13 06:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:02:12] Production.INFO: call_cost start
[2025-01-13 06:02:12] Production.INFO: call_cost end
[2025-01-13 06:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:02:13] Production.INFO: ==2023== Releasing lock...
[2025-01-13 06:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:02:17] Production.INFO: count ==76
[2025-01-13 06:02:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:02:04 - End Time 2025-01-13 06:02:04
[2025-01-13 06:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236974', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236974', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236974', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236974', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:02:17] Production.INFO: ProcessCDR(1,14236974,1,1,2)
[2025-01-13 06:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236974', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236974', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:02:21] Production.INFO: ==2031== Releasing lock...
[2025-01-13 06:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:02:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:03:01] Production.INFO: ==2088== Lock acquired, processing the job...
[2025-01-13 11:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:03:01] Production.INFO: neon service started
[2025-01-13 11:03:01] Production.INFO: neon service started
[2025-01-13 11:03:01] Production.INFO: ==2088== Releasing lock...
[2025-01-13 11:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:03:02] Production.INFO: ==2090== Lock acquired, processing the job...
[2025-01-13 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:03:02] Production.INFO: ==2092== Lock acquired, processing the job...
[2025-01-13 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:03:02] Production.INFO: ==2090== Releasing lock...
[2025-01-13 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:03:02] Production.INFO: ==2092== Releasing lock...
[2025-01-13 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:03:03] Production.INFO: ==2094== Lock acquired, processing the job...
[2025-01-13 06:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:03:03] Production.INFO: ==2096== Lock acquired, processing the job...
[2025-01-13 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:03:03] Production.INFO: ==2098== Lock acquired, processing the job...
[2025-01-13 06:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:03:03] Production.INFO: ==2100== Lock acquired, processing the job...
[2025-01-13 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:03:03] Production.INFO: ==2096== Releasing lock...
[2025-01-13 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:03:03] Production.INFO: ==2102== Lock acquired, processing the job...
[2025-01-13 06:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:03:03] Production.INFO: Account Balance Start.
[2025-01-13 06:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:03:03] Production.INFO: 117
[2025-01-13 06:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:03:03] Production.INFO: ==2104== Lock acquired, processing the job...
[2025-01-13 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:03:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:03:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:03:03] Production.INFO: count ==21
[2025-01-13 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-13 06:03:03] Production.INFO: count ==21
[2025-01-13 06:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236978') start
[2025-01-13 06:03:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:03:04] Production.ERROR: done
[2025-01-13 06:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236978') end
[2025-01-13 06:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:03:04] Production.INFO: 1
[2025-01-13 06:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:03:04] Production.INFO: Total Charge 0
[2025-01-13 06:03:04] Production.INFO: CreateAllLog End
[2025-01-13 06:03:04] Production.INFO: ==2104== Releasing lock...
[2025-01-13 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:03:04] Production.ERROR: done
[2025-01-13 06:03:04] Production.INFO: Account Balance End.
[2025-01-13 06:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:03:04] Production.INFO: ==2100== Releasing lock...
[2025-01-13 06:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:03:05
[end_date_ymd] => 2025-01-13 06:03:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:03:05' and `end` < '2025-01-13 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-13 06:03:10] Production.ERROR: CronJobId end10
[2025-01-13 06:03:10] Production.INFO: ==2098== Releasing lock...
[2025-01-13 06:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:03:13] Production.INFO: call_cost start
[2025-01-13 06:03:13] Production.INFO: call_cost end
[2025-01-13 06:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:03:14] Production.INFO: ==2094== Releasing lock...
[2025-01-13 06:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:03:17] Production.INFO: count ==76
[2025-01-13 06:03:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:03:05 - End Time 2025-01-13 06:03:05
[2025-01-13 06:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236979', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236979', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236979', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236979', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:03:17] Production.INFO: ProcessCDR(1,14236979,1,1,2)
[2025-01-13 06:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236979', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236979', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:03:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:03:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:03:20] Production.INFO: ==2102== Releasing lock...
[2025-01-13 06:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:03:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:04:02] Production.INFO: ==2160== Lock acquired, processing the job...
[2025-01-13 11:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:04:02] Production.INFO: neon service started
[2025-01-13 11:04:02] Production.INFO: neon service started
[2025-01-13 11:04:02] Production.INFO: ==2160== Releasing lock...
[2025-01-13 11:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:04:02] Production.INFO: ==2163== Lock acquired, processing the job...
[2025-01-13 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:04:02] Production.INFO: ==2163== Releasing lock...
[2025-01-13 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:04:03] Production.INFO: ==2165== Lock acquired, processing the job...
[2025-01-13 11:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:04:03] Production.INFO: ==2165== Releasing lock...
[2025-01-13 11:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:04:03] Production.INFO: ==2173== Lock acquired, processing the job...
[2025-01-13 06:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:04:03] Production.INFO: ==2175== Lock acquired, processing the job...
[2025-01-13 06:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:04:03] Production.INFO: ==2167== Lock acquired, processing the job...
[2025-01-13 06:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:04:03] Production.INFO: ==2169== Lock acquired, processing the job...
[2025-01-13 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:04:03] Production.INFO: ==2171== Lock acquired, processing the job...
[2025-01-13 06:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:04:03] Production.INFO: Account Balance Start.
[2025-01-13 06:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:04:03] Production.INFO: 117
[2025-01-13 06:04:04] Production.INFO: ==2177== Lock acquired, processing the job...
[2025-01-13 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:04:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 06:04:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:04:04] Production.ERROR: done
[2025-01-13 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:04:04] Production.INFO: count ==21
[2025-01-13 06:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 06:04:04] Production.INFO: count ==21
[2025-01-13 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236982') start
[2025-01-13 06:04:04] Production.ERROR: done
[2025-01-13 06:04:04] Production.INFO: ==2169== Releasing lock...
[2025-01-13 06:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:04:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:04:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236982') end
[2025-01-13 06:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:04:04] Production.INFO: 1
[2025-01-13 06:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:04:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:04:04] Production.INFO: ==2177== Releasing lock...
[2025-01-13 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:04:04] Production.INFO: Total Charge 0
[2025-01-13 06:04:04] Production.INFO: CreateAllLog End
[2025-01-13 06:04:04] Production.INFO: Account Balance End.
[2025-01-13 06:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:04:04] Production.INFO: ==2173== Releasing lock...
[2025-01-13 06:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:04:05
[end_date_ymd] => 2025-01-13 06:04:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:04:05' and `end` < '2025-01-13 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-13 06:04:11] Production.ERROR: CronJobId end10
[2025-01-13 06:04:11] Production.INFO: ==2171== Releasing lock...
[2025-01-13 06:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:04:14] Production.INFO: call_cost start
[2025-01-13 06:04:14] Production.INFO: call_cost end
[2025-01-13 06:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:04:15] Production.INFO: ==2167== Releasing lock...
[2025-01-13 06:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:04:18] Production.INFO: count ==76
[2025-01-13 06:04:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:04:05 - End Time 2025-01-13 06:04:05
[2025-01-13 06:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236984', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236984', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236984', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236984', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:04:18] Production.INFO: ProcessCDR(1,14236984,1,1,2)
[2025-01-13 06:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236984', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236984', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:04:21] Production.INFO: ==2175== Releasing lock...
[2025-01-13 06:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:04:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:05:01] Production.INFO: ==2231== Lock acquired, processing the job...
[2025-01-13 11:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:05:01] Production.INFO: neon service started
[2025-01-13 11:05:01] Production.INFO: neon service started
[2025-01-13 11:05:01] Production.INFO: ==2231== Releasing lock...
[2025-01-13 11:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:05:02] Production.INFO: ==2234== Lock acquired, processing the job...
[2025-01-13 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:05:02] Production.INFO: ==2236== Lock acquired, processing the job...
[2025-01-13 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:05:02] Production.INFO: ==2236== Releasing lock...
[2025-01-13 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:05:02] Production.INFO: ==2234== Releasing lock...
[2025-01-13 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:05:03] Production.INFO: ==2242== Lock acquired, processing the job...
[2025-01-13 06:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:05:03] Production.INFO: ==2244== Lock acquired, processing the job...
[2025-01-13 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:05:03] Production.INFO: ==2238== Lock acquired, processing the job...
[2025-01-13 06:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:05:03] Production.INFO: ==2240== Lock acquired, processing the job...
[2025-01-13 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:05:03] Production.INFO: Account Balance Start.
[2025-01-13 06:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:05:03] Production.INFO: 117
[2025-01-13 06:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:05:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:05:03] Production.INFO: ==2248== Lock acquired, processing the job...
[2025-01-13 06:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:05:03] Production.INFO: ==2246== Lock acquired, processing the job...
[2025-01-13 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:05:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:05:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:05:03] Production.INFO: Total Charge 0
[2025-01-13 06:05:03] Production.INFO: count ==21
[2025-01-13 06:05:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 06:05:03] Production.INFO: count ==21
[2025-01-13 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236988') start
[2025-01-13 06:05:04] Production.INFO: ==2240== Releasing lock...
[2025-01-13 06:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:05:04] Production.ERROR: done
[2025-01-13 06:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236988') end
[2025-01-13 06:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:05:04] Production.INFO: 1
[2025-01-13 06:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:05:04] Production.INFO: ==2248== Releasing lock...
[2025-01-13 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:05:04] Production.ERROR: done
[2025-01-13 06:05:04] Production.INFO: Account Balance End.
[2025-01-13 06:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:05:04] Production.INFO: ==2244== Releasing lock...
[2025-01-13 06:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:05:05
[end_date_ymd] => 2025-01-13 06:05:05
[RateCDR] => 1
)
[2025-01-13 06:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:05:05' and `end` < '2025-01-13 06:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:05:10] Production.ERROR: CronJobId end10
[2025-01-13 06:05:10] Production.INFO: ==2242== Releasing lock...
[2025-01-13 06:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:05:12] Production.INFO: call_cost start
[2025-01-13 06:05:12] Production.INFO: call_cost end
[2025-01-13 06:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:05:13] Production.INFO: ==2238== Releasing lock...
[2025-01-13 06:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:05:18] Production.INFO: count ==76
[2025-01-13 06:05:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:05:05 - End Time 2025-01-13 06:05:05
[2025-01-13 06:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236989', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236989', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236989', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236989', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:05:18] Production.INFO: ProcessCDR(1,14236989,1,1,2)
[2025-01-13 06:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236989', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236989', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:05:21] Production.INFO: ==2246== Releasing lock...
[2025-01-13 06:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:05:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:06:02] Production.INFO: ==2302== Lock acquired, processing the job...
[2025-01-13 11:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:06:02] Production.INFO: neon service started
[2025-01-13 11:06:02] Production.INFO: neon service started
[2025-01-13 11:06:02] Production.INFO: ==2302== Releasing lock...
[2025-01-13 11:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:06:02] Production.INFO: ==2304== Lock acquired, processing the job...
[2025-01-13 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:06:02] Production.INFO: ==2304== Releasing lock...
[2025-01-13 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:06:03] Production.INFO: ==2306== Lock acquired, processing the job...
[2025-01-13 11:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:06:03] Production.INFO: ==2306== Releasing lock...
[2025-01-13 11:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:06:03] Production.INFO: ==2315== Lock acquired, processing the job...
[2025-01-13 06:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:06:03] Production.INFO: ==2309== Lock acquired, processing the job...
[2025-01-13 06:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:06:03] Production.INFO: ==2317== Lock acquired, processing the job...
[2025-01-13 06:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:06:03] Production.INFO: ==2311== Lock acquired, processing the job...
[2025-01-13 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:06:03] Production.INFO: ==2313== Lock acquired, processing the job...
[2025-01-13 06:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:06:03] Production.INFO: Account Balance Start.
[2025-01-13 06:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:06:03] Production.INFO: 117
[2025-01-13 06:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:06:03] Production.INFO: ==2319== Lock acquired, processing the job...
[2025-01-13 06:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:06:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:06:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:06:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:06:04] Production.INFO: count ==21
[2025-01-13 06:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:06:04] Production.ERROR: done
[2025-01-13 06:06:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:06:04] Production.INFO: count ==21
[2025-01-13 06:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236992') start
[2025-01-13 06:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:06:04] Production.INFO: Total Charge 0
[2025-01-13 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14236992') end
[2025-01-13 06:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:06:04] Production.INFO: 1
[2025-01-13 06:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:06:04] Production.INFO: CreateAllLog End
[2025-01-13 06:06:04] Production.INFO: ==2311== Releasing lock...
[2025-01-13 06:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:06:04] Production.ERROR: done
[2025-01-13 06:06:04] Production.INFO: ==2319== Releasing lock...
[2025-01-13 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:06:04] Production.INFO: Account Balance End.
[2025-01-13 06:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:06:04] Production.INFO: ==2315== Releasing lock...
[2025-01-13 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:06:05
[end_date_ymd] => 2025-01-13 06:06:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:06:05' and `end` < '2025-01-13 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-13 06:06:11] Production.ERROR: CronJobId end10
[2025-01-13 06:06:11] Production.INFO: ==2313== Releasing lock...
[2025-01-13 06:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:06:13] Production.INFO: call_cost start
[2025-01-13 06:06:13] Production.INFO: call_cost end
[2025-01-13 06:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:06:14] Production.INFO: ==2309== Releasing lock...
[2025-01-13 06:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:06:18] Production.INFO: count ==76
[2025-01-13 06:06:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:06:05 - End Time 2025-01-13 06:06:05
[2025-01-13 06:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236994', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236994', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236994', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236994', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:06:18] Production.INFO: ProcessCDR(1,14236994,1,1,2)
[2025-01-13 06:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236994', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236994', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:06:21] Production.INFO: ==2317== Releasing lock...
[2025-01-13 06:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:06:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:07:01] Production.INFO: ==2373== Lock acquired, processing the job...
[2025-01-13 11:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:07:01] Production.INFO: neon service started
[2025-01-13 11:07:01] Production.INFO: neon service started
[2025-01-13 11:07:01] Production.INFO: ==2373== Releasing lock...
[2025-01-13 11:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:07:02] Production.INFO: ==2375== Lock acquired, processing the job...
[2025-01-13 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:07:02] Production.INFO: ==2377== Lock acquired, processing the job...
[2025-01-13 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:07:02] Production.INFO: ==2377== Releasing lock...
[2025-01-13 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:07:02] Production.INFO: ==2375== Releasing lock...
[2025-01-13 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:07:03] Production.INFO: ==2380== Lock acquired, processing the job...
[2025-01-13 06:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:07:03] Production.INFO: ==2386== Lock acquired, processing the job...
[2025-01-13 06:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:07:03] Production.INFO: ==2382== Lock acquired, processing the job...
[2025-01-13 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:07:03] Production.INFO: ==2384== Lock acquired, processing the job...
[2025-01-13 06:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:07:03] Production.INFO: Account Balance Start.
[2025-01-13 06:07:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:07:03] Production.INFO: 117
[2025-01-13 06:07:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:07:03] Production.INFO: ==2388== Lock acquired, processing the job...
[2025-01-13 06:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:07:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:07:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:07:03] Production.INFO: ==2390== Lock acquired, processing the job...
[2025-01-13 06:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:07:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:07:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:07:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:07:03] Production.INFO: Total Charge 0
[2025-01-13 06:07:03] Production.INFO: ==2382== Releasing lock...
[2025-01-13 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:07:03] Production.INFO: CreateAllLog End
[2025-01-13 06:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:07:03] Production.INFO: count ==21
[2025-01-13 06:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:07:03] Production.INFO: count ==21
[2025-01-13 06:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236998') start
[2025-01-13 06:07:03] Production.ERROR: done
[2025-01-13 06:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14236998') end
[2025-01-13 06:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:07:03] Production.INFO: 1
[2025-01-13 06:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:07:03] Production.INFO: ==2390== Releasing lock...
[2025-01-13 06:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:07:03] Production.ERROR: done
[2025-01-13 06:07:03] Production.INFO: Account Balance End.
[2025-01-13 06:07:03] Production.ERROR: CronJobId end 12
[2025-01-13 06:07:03] Production.INFO: ==2386== Releasing lock...
[2025-01-13 06:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:07:04
[end_date_ymd] => 2025-01-13 06:07:04
[RateCDR] => 1
)
[2025-01-13 06:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:07:04' and `end` < '2025-01-13 06:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:07:11] Production.ERROR: CronJobId end10
[2025-01-13 06:07:11] Production.INFO: ==2384== Releasing lock...
[2025-01-13 06:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:07:12] Production.INFO: call_cost start
[2025-01-13 06:07:12] Production.INFO: call_cost end
[2025-01-13 06:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:07:13] Production.INFO: ==2380== Releasing lock...
[2025-01-13 06:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:07:17] Production.INFO: count ==76
[2025-01-13 06:07:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:07:04 - End Time 2025-01-13 06:07:04
[2025-01-13 06:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236999', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14236999', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236999', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14236999', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:07:17] Production.INFO: ProcessCDR(1,14236999,1,1,2)
[2025-01-13 06:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14236999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14236999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14236999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14236999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236999', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14236999', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:07:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:07:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:07:20] Production.INFO: ==2388== Releasing lock...
[2025-01-13 06:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:07:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:08:02] Production.INFO: ==2444== Lock acquired, processing the job...
[2025-01-13 11:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:08:02] Production.INFO: neon service started
[2025-01-13 11:08:02] Production.INFO: neon service started
[2025-01-13 11:08:02] Production.INFO: ==2444== Releasing lock...
[2025-01-13 11:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:08:02] Production.INFO: ==2447== Lock acquired, processing the job...
[2025-01-13 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:08:02] Production.INFO: ==2447== Releasing lock...
[2025-01-13 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:08:02] Production.INFO: ==2449== Lock acquired, processing the job...
[2025-01-13 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:08:02] Production.INFO: ==2449== Releasing lock...
[2025-01-13 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:08:03] Production.INFO: ==2459== Lock acquired, processing the job...
[2025-01-13 06:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:08:03] Production.INFO: ==2461== Lock acquired, processing the job...
[2025-01-13 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 06:08:03] Production.INFO: count ==21
[2025-01-13 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-13 06:08:03] Production.INFO: count ==21
[2025-01-13 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237000') start
[2025-01-13 06:08:03] Production.INFO: ==2451== Lock acquired, processing the job...
[2025-01-13 06:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:08:03] Production.INFO: ==2453== Lock acquired, processing the job...
[2025-01-13 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:08:03] Production.INFO: ==2455== Lock acquired, processing the job...
[2025-01-13 06:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:08:03] Production.INFO: ==2457== Lock acquired, processing the job...
[2025-01-13 06:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237000') end
[2025-01-13 06:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:08:03] Production.INFO: 1
[2025-01-13 06:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:08:03] Production.INFO: Account Balance Start.
[2025-01-13 06:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:08:03] Production.INFO: 117
[2025-01-13 06:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:08:03] Production.INFO: ==2461== Releasing lock...
[2025-01-13 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:08:03] Production.ERROR: done
[2025-01-13 06:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:08:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:08:04] Production.INFO: ==2453== Releasing lock...
[2025-01-13 06:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:08:04] Production.ERROR: done
[2025-01-13 06:08:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:08:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:08:04] Production.INFO: Total Charge 0
[2025-01-13 06:08:04] Production.INFO: CreateAllLog End
[2025-01-13 06:08:04] Production.INFO: Account Balance End.
[2025-01-13 06:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:08:04] Production.INFO: ==2457== Releasing lock...
[2025-01-13 06:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:08:05
[end_date_ymd] => 2025-01-13 06:08:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:08:05' and `end` < '2025-01-13 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-13 06:08:11] Production.ERROR: CronJobId end10
[2025-01-13 06:08:11] Production.INFO: ==2455== Releasing lock...
[2025-01-13 06:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:08:13] Production.INFO: call_cost start
[2025-01-13 06:08:13] Production.INFO: call_cost end
[2025-01-13 06:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:08:13] Production.INFO: ==2451== Releasing lock...
[2025-01-13 06:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:08:18] Production.INFO: count ==76
[2025-01-13 06:08:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:08:05 - End Time 2025-01-13 06:08:05
[2025-01-13 06:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237004', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237004', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237004', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237004', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:08:18] Production.INFO: ProcessCDR(1,14237004,1,1,2)
[2025-01-13 06:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237004', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237004', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:08:21] Production.INFO: ==2459== Releasing lock...
[2025-01-13 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:08:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:09:01] Production.INFO: ==2515== Lock acquired, processing the job...
[2025-01-13 11:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:09:01] Production.INFO: neon service started
[2025-01-13 11:09:01] Production.INFO: neon service started
[2025-01-13 11:09:01] Production.INFO: ==2515== Releasing lock...
[2025-01-13 11:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:09:01] Production.INFO: ==2517== Lock acquired, processing the job...
[2025-01-13 06:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:09:02] Production.INFO: ==2517== Releasing lock...
[2025-01-13 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:09:02] Production.INFO: ==2519== Lock acquired, processing the job...
[2025-01-13 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:09:02] Production.INFO: ==2519== Releasing lock...
[2025-01-13 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:09:02] Production.INFO: ==2525== Lock acquired, processing the job...
[2025-01-13 06:09:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:09:02] Production.INFO: ==2521== Lock acquired, processing the job...
[2025-01-13 06:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:09:03] Production.INFO: ==2531== Lock acquired, processing the job...
[2025-01-13 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:09:03] Production.INFO: ==2523== Lock acquired, processing the job...
[2025-01-13 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:09:03] Production.INFO: ==2527== Lock acquired, processing the job...
[2025-01-13 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:09:03] Production.INFO: count ==21
[2025-01-13 06:09:03] Production.INFO: ==2529== Lock acquired, processing the job...
[2025-01-13 06:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:09:03] Production.INFO: count ==21
[2025-01-13 06:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237005') start
[2025-01-13 06:09:03] Production.INFO: Account Balance Start.
[2025-01-13 06:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:09:03] Production.INFO: 117
[2025-01-13 06:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:09:03] Production.INFO: ==2523== Releasing lock...
[2025-01-13 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237005') end
[2025-01-13 06:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:09:03] Production.INFO: 1
[2025-01-13 06:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:09:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:09:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:09:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:09:03] Production.INFO: Total Charge 0
[2025-01-13 06:09:03] Production.INFO: CreateAllLog End
[2025-01-13 06:09:03] Production.INFO: ==2531== Releasing lock...
[2025-01-13 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:09:03] Production.ERROR: done
[2025-01-13 06:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:09:03] Production.INFO: Account Balance End.
[2025-01-13 06:09:03] Production.ERROR: CronJobId end 12
[2025-01-13 06:09:03] Production.INFO: ==2527== Releasing lock...
[2025-01-13 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:09:03] Production.ERROR: done
[2025-01-13 06:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:09:04
[end_date_ymd] => 2025-01-13 06:09:04
[RateCDR] => 1
)
[2025-01-13 06: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-13 03:09:04' and `end` < '2025-01-13 06: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-13 06:09:11] Production.ERROR: CronJobId end10
[2025-01-13 06:09:11] Production.INFO: ==2525== Releasing lock...
[2025-01-13 06:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:09:13] Production.INFO: call_cost start
[2025-01-13 06:09:13] Production.INFO: call_cost end
[2025-01-13 06:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:09:14] Production.INFO: ==2521== Releasing lock...
[2025-01-13 06:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:09:17] Production.INFO: count ==76
[2025-01-13 06:09:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:09:04 - End Time 2025-01-13 06:09:04
[2025-01-13 06:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237009', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237009', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237009', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237009', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:09:17] Production.INFO: ProcessCDR(1,14237009,1,1,2)
[2025-01-13 06:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237009', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237009', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:09:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:09:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:09:20] Production.INFO: ==2529== Releasing lock...
[2025-01-13 06:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:09:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:10:01] Production.INFO: ==2624== Lock acquired, processing the job...
[2025-01-13 11:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:10:01] Production.INFO: neon service started
[2025-01-13 11:10:01] Production.INFO: neon service started
[2025-01-13 11:10:01] Production.INFO: ==2624== Releasing lock...
[2025-01-13 11:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:10:02] Production.INFO: ==2626== Lock acquired, processing the job...
[2025-01-13 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:10:02] Production.INFO: ==2628== Lock acquired, processing the job...
[2025-01-13 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:10:02] Production.INFO: ==2628== Releasing lock...
[2025-01-13 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:10:02] Production.INFO: ==2626== Releasing lock...
[2025-01-13 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:10:03] Production.INFO: ==2634== Lock acquired, processing the job...
[2025-01-13 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:10:03] Production.INFO: ==2639== Lock acquired, processing the job...
[2025-01-13 06:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:10:03] Production.INFO: ==2637== Lock acquired, processing the job...
[2025-01-13 06:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:10:03] Production.INFO: Account Balance Start.
[2025-01-13 06:10:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:10:03] Production.INFO: 117
[2025-01-13 06:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:10:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:10:03] Production.INFO: ==2643== Lock acquired, processing the job...
[2025-01-13 06:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 06:10:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:10:03] Production.INFO: ==2630== Lock acquired, processing the job...
[2025-01-13 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 06:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:10:04] Production.INFO: ==2634== Releasing lock...
[2025-01-13 06:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:10:04] Production.INFO: ==2632== Lock acquired, processing the job...
[2025-01-13 06:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 06:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:10:04] Production.ERROR: CronJob PID - 2637
[2025-01-13 06:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 06:10:04] Production.ERROR: CronJob ID - 10
[2025-01-13 06:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 06:10:00
[2025-01-13 06:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:10:04] Production.ERROR: CronJob PID - 2639
[2025-01-13 06:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 06:10:04] Production.ERROR: CronJob ID - 12
[2025-01-13 06:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 06:10:00
[2025-01-13 06:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:10:04] Production.ERROR: CronJob PID - 2643
[2025-01-13 06:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 06:10:04] Production.ERROR: CronJob ID - 17
[2025-01-13 06:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 06:10:00
[2025-01-13 06:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 06:10:04] Production.INFO: ==2630== Releasing lock...
[2025-01-13 06:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 06:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 06:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:10:04] Production.INFO: ==2641== Lock acquired, processing the job...
[2025-01-13 06:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:10:04] Production.INFO: Total Charge 0
[2025-01-13 06:10:04] Production.INFO: CreateAllLog End
[2025-01-13 06:10:04] Production.INFO: ==2645== Lock acquired, processing the job...
[2025-01-13 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:10:04] Production.ERROR: done
[2025-01-13 06:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 06:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237014', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 06:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:10:04] Production.INFO: count ==21
[2025-01-13 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-13 06:10:04] Production.INFO: count ==21
[2025-01-13 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237013') start
[2025-01-13 06:10:04] Production.INFO: Account Balance End.
[2025-01-13 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237013') end
[2025-01-13 06:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:10:04] Production.INFO: 1
[2025-01-13 06:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:10:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:10:04] Production.INFO: ==2639== Releasing lock...
[2025-01-13 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:10:04] Production.ERROR: done
[2025-01-13 06:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:10:04] Production.INFO: ==2645== Releasing lock...
[2025-01-13 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:10:04] Production.ERROR: done
[2025-01-13 06:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:10:06
[end_date_ymd] => 2025-01-13 06:10:06
[RateCDR] => 1
)
[2025-01-13 06: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-13 03:10:06' and `end` < '2025-01-13 06: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-13 06:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237014', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 06:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 06:10:08] Production.INFO: ProcessCDR(1,14237014,1,1,2)
[2025-01-13 06:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237014,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237014,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:10:08] Production.INFO: ==2643== Releasing lock...
[2025-01-13 06:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 06:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 06:10:13] Production.ERROR: CronJobId end10
[2025-01-13 06:10:13] Production.INFO: ==2637== Releasing lock...
[2025-01-13 06:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:10:15] Production.INFO: call_cost start
[2025-01-13 06:10:15] Production.INFO: call_cost end
[2025-01-13 06:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:10:16] Production.INFO: ==2632== Releasing lock...
[2025-01-13 06:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:10:20] Production.INFO: count ==76
[2025-01-13 06:10:20] Production.ERROR: pbx CDR StartTime 2025-01-13 03:10:06 - End Time 2025-01-13 06:10:06
[2025-01-13 06:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237015', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237015', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237015', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237015', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:10:20] Production.INFO: ProcessCDR(1,14237015,1,1,2)
[2025-01-13 06:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237015', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237015', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:10:23] Production.INFO: ==2641== Releasing lock...
[2025-01-13 06:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:10:23] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:11:02] Production.INFO: ==2705== Lock acquired, processing the job...
[2025-01-13 11:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:11:02] Production.INFO: neon service started
[2025-01-13 11:11:02] Production.INFO: neon service started
[2025-01-13 11:11:02] Production.INFO: ==2705== Releasing lock...
[2025-01-13 11:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:11:02] Production.INFO: ==2707== Lock acquired, processing the job...
[2025-01-13 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:11:03] Production.INFO: ==2707== Releasing lock...
[2025-01-13 06:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:11:03] Production.INFO: ==2709== Lock acquired, processing the job...
[2025-01-13 11:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:11:03] Production.INFO: ==2709== Releasing lock...
[2025-01-13 11:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:11:03] Production.INFO: ==2712== Lock acquired, processing the job...
[2025-01-13 06:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:11:03] Production.INFO: ==2714== Lock acquired, processing the job...
[2025-01-13 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:11:03] Production.INFO: ==2716== Lock acquired, processing the job...
[2025-01-13 06:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:11:04] Production.INFO: ==2714== Releasing lock...
[2025-01-13 06:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:11:04] Production.INFO: ==2718== Lock acquired, processing the job...
[2025-01-13 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:11:04] Production.INFO: ==2722== Lock acquired, processing the job...
[2025-01-13 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:11:04] Production.INFO: ==2720== Lock acquired, processing the job...
[2025-01-13 06:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:11:04] Production.INFO: Account Balance Start.
[2025-01-13 06:11:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:11:04] Production.INFO: 117
[2025-01-13 06:11:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:11:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:11:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:11:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:11:04] Production.INFO: count ==21
[2025-01-13 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-13 06:11:04] Production.INFO: count ==21
[2025-01-13 06:11:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237019') start
[2025-01-13 06:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:11:04] Production.INFO: Total Charge 0
[2025-01-13 06:11:04] Production.INFO: CreateAllLog End
[2025-01-13 06:11:04] Production.ERROR: done
[2025-01-13 06:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237019') end
[2025-01-13 06:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:11:04] Production.INFO: 1
[2025-01-13 06:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:11:04] Production.INFO: ==2722== Releasing lock...
[2025-01-13 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:11:04] Production.ERROR: done
[2025-01-13 06:11:05] Production.INFO: Account Balance End.
[2025-01-13 06:11:05] Production.ERROR: CronJobId end 12
[2025-01-13 06:11:05] Production.INFO: ==2718== Releasing lock...
[2025-01-13 06:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:11:05
[end_date_ymd] => 2025-01-13 06:11:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:11:05' and `end` < '2025-01-13 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-13 06:11:11] Production.ERROR: CronJobId end10
[2025-01-13 06:11:11] Production.INFO: ==2716== Releasing lock...
[2025-01-13 06:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:11:14] Production.INFO: call_cost start
[2025-01-13 06:11:14] Production.INFO: call_cost end
[2025-01-13 06:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:11:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:11:15] Production.INFO: ==2712== Releasing lock...
[2025-01-13 06:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:11:19] Production.INFO: count ==76
[2025-01-13 06:11:19] Production.ERROR: pbx CDR StartTime 2025-01-13 03:11:05 - End Time 2025-01-13 06:11:05
[2025-01-13 06:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237020', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237020', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237020', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237020', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:11:19] Production.INFO: ProcessCDR(1,14237020,1,1,2)
[2025-01-13 06:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237020', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237020', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:11:22] Production.INFO: ==2720== Releasing lock...
[2025-01-13 06:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:11:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:12:01] Production.INFO: ==2782== Lock acquired, processing the job...
[2025-01-13 11:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:12:01] Production.INFO: neon service started
[2025-01-13 11:12:02] Production.INFO: neon service started
[2025-01-13 11:12:02] Production.INFO: ==2782== Releasing lock...
[2025-01-13 11:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:12:02] Production.INFO: ==2784== Lock acquired, processing the job...
[2025-01-13 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:12:02] Production.INFO: ==2786== Lock acquired, processing the job...
[2025-01-13 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:12:02] Production.INFO: ==2786== Releasing lock...
[2025-01-13 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:12:02] Production.INFO: ==2784== Releasing lock...
[2025-01-13 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:12:03] Production.INFO: ==2793== Lock acquired, processing the job...
[2025-01-13 06:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:12:03] Production.INFO: ==2789== Lock acquired, processing the job...
[2025-01-13 06:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:12:03] Production.INFO: ==2799== Lock acquired, processing the job...
[2025-01-13 06:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:12:03] Production.INFO: ==2791== Lock acquired, processing the job...
[2025-01-13 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:12:04] Production.INFO: count ==21
[2025-01-13 06:12:04] Production.INFO: ==2797== Lock acquired, processing the job...
[2025-01-13 06:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:12:04] Production.INFO: ==2795== Lock acquired, processing the job...
[2025-01-13 06:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:12:04] Production.INFO: count ==21
[2025-01-13 06:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237022') start
[2025-01-13 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237022') end
[2025-01-13 06:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:12:04] Production.INFO: 1
[2025-01-13 06:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:12:04] Production.INFO: Account Balance Start.
[2025-01-13 06:12:04] Production.INFO: ==2799== Releasing lock...
[2025-01-13 06:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:12:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:12:04] Production.INFO: 117
[2025-01-13 06:12:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:12:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:12:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:12:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:12:04] Production.INFO: ==2791== Releasing lock...
[2025-01-13 06:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:12:04] Production.ERROR: done
[2025-01-13 06:12:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:12:04] Production.INFO: Total Charge 0
[2025-01-13 06:12:04] Production.INFO: CreateAllLog End
[2025-01-13 06:12:04] Production.ERROR: done
[2025-01-13 06:12:04] Production.INFO: Account Balance End.
[2025-01-13 06:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:12:04] Production.INFO: ==2795== Releasing lock...
[2025-01-13 06:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:12:05
[end_date_ymd] => 2025-01-13 06:12:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:12:05' and `end` < '2025-01-13 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-13 06:12:11] Production.ERROR: CronJobId end10
[2025-01-13 06:12:11] Production.INFO: ==2793== Releasing lock...
[2025-01-13 06:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:12:13] Production.INFO: call_cost start
[2025-01-13 06:12:13] Production.INFO: call_cost end
[2025-01-13 06:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:12:14] Production.INFO: ==2789== Releasing lock...
[2025-01-13 06:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:12:17] Production.INFO: count ==76
[2025-01-13 06:12:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:12:05 - End Time 2025-01-13 06:12:05
[2025-01-13 06:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237025', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237025', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237025', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237025', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:12:17] Production.INFO: ProcessCDR(1,14237025,1,1,2)
[2025-01-13 06:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237025', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237025', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:12:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:12:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:12:20] Production.INFO: ==2797== Releasing lock...
[2025-01-13 06:12:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:12:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:13:01] Production.INFO: ==2858== Lock acquired, processing the job...
[2025-01-13 11:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:13:01] Production.INFO: neon service started
[2025-01-13 11:13:01] Production.INFO: neon service started
[2025-01-13 11:13:01] Production.INFO: ==2858== Releasing lock...
[2025-01-13 11:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:13:01] Production.INFO: ==2860== Lock acquired, processing the job...
[2025-01-13 06:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:13:02] Production.INFO: ==2860== Releasing lock...
[2025-01-13 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:13:02] Production.INFO: ==2862== Lock acquired, processing the job...
[2025-01-13 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:13:02] Production.INFO: ==2862== Releasing lock...
[2025-01-13 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:13:02] Production.INFO: ==2873== Lock acquired, processing the job...
[2025-01-13 06:13:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:13:02] Production.INFO: Account Balance Start.
[2025-01-13 06:13:02] Production.INFO: CreateAllLog Start
[2025-01-13 06:13:02] Production.INFO: 117
[2025-01-13 06:13:02] Production.INFO: ==2877== Lock acquired, processing the job...
[2025-01-13 06:13:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:13:02] Production.INFO: Date 2025-01-08
[2025-01-13 06:13:02] Production.INFO: Reseller ==> 0
[2025-01-13 06:13:02] Production.INFO: Date 2025-01-09
[2025-01-13 06:13:02] Production.INFO: Reseller ==> 0
[2025-01-13 06:13:03] Production.INFO: ==2867== Lock acquired, processing the job...
[2025-01-13 06:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:13:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:13:03] Production.INFO: ==2869== Lock acquired, processing the job...
[2025-01-13 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:13:03] Production.INFO: count ==21
[2025-01-13 06:13:03] Production.INFO: ==2871== Lock acquired, processing the job...
[2025-01-13 06:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:13:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:13:03] Production.INFO: count ==21
[2025-01-13 06:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237027') start
[2025-01-13 06:13:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:13:03] Production.INFO: Total Charge 0
[2025-01-13 06:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:13:03] Production.INFO: CreateAllLog End
[2025-01-13 06:13:03] Production.INFO: ==2875== Lock acquired, processing the job...
[2025-01-13 06:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237027') end
[2025-01-13 06:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:13:03] Production.INFO: 1
[2025-01-13 06:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:13:03] Production.INFO: ==2877== Releasing lock...
[2025-01-13 06:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:13:03] Production.INFO: ==2869== Releasing lock...
[2025-01-13 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:13:03] Production.INFO: Account Balance End.
[2025-01-13 06:13:03] Production.ERROR: CronJobId end 12
[2025-01-13 06:13:03] Production.INFO: ==2873== Releasing lock...
[2025-01-13 06:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:13:03] Production.ERROR: done
[2025-01-13 06:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:13:03] Production.ERROR: done
[2025-01-13 06:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:13:04
[end_date_ymd] => 2025-01-13 06:13:04
[RateCDR] => 1
)
[2025-01-13 06: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-13 03:13:04' and `end` < '2025-01-13 06: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-13 06:13:10] Production.ERROR: CronJobId end10
[2025-01-13 06:13:10] Production.INFO: ==2871== Releasing lock...
[2025-01-13 06:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:13:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:13:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:13:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:13:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:13:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:13:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:13:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:13:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:13:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:13:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:13:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:13:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:13:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:13:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:13:12] Production.INFO: call_cost start
[2025-01-13 06:13:12] Production.INFO: call_cost end
[2025-01-13 06:13:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:13:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:13:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:13:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:13:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:13:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:13:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:13:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:13:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:13:12] Production.INFO: ==2867== Releasing lock...
[2025-01-13 06:13:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:13:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:13:17] Production.INFO: count ==76
[2025-01-13 06:13:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:13:04 - End Time 2025-01-13 06:13:04
[2025-01-13 06:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237030', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237030', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237030', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237030', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:13:17] Production.INFO: ProcessCDR(1,14237030,1,1,2)
[2025-01-13 06:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237030', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237030', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:13:20] Production.INFO: ==2875== Releasing lock...
[2025-01-13 06:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:13:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:14:01] Production.INFO: ==2970== Lock acquired, processing the job...
[2025-01-13 11:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:14:01] Production.INFO: neon service started
[2025-01-13 11:14:01] Production.INFO: neon service started
[2025-01-13 11:14:01] Production.INFO: ==2970== Releasing lock...
[2025-01-13 11:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:14:02] Production.INFO: ==2972== Lock acquired, processing the job...
[2025-01-13 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:14:02] Production.INFO: ==2972== Releasing lock...
[2025-01-13 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:14:02] Production.INFO: ==2974== Lock acquired, processing the job...
[2025-01-13 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:14:02] Production.INFO: ==2974== Releasing lock...
[2025-01-13 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:14:03] Production.INFO: ==2976== Lock acquired, processing the job...
[2025-01-13 06:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:14:03] Production.INFO: ==2978== Lock acquired, processing the job...
[2025-01-13 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:14:03] Production.INFO: ==2982== Lock acquired, processing the job...
[2025-01-13 06:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:14:03] Production.INFO: ==2980== Lock acquired, processing the job...
[2025-01-13 06:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:14:03] Production.INFO: Account Balance Start.
[2025-01-13 06:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:14:03] Production.INFO: 117
[2025-01-13 06:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:14:03] Production.INFO: ==2984== Lock acquired, processing the job...
[2025-01-13 06:14:03] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-13 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:14:03] Production.INFO: ==2986== Lock acquired, processing the job...
[2025-01-13 06:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:14:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:14:03] Production.INFO: ==2989== Lock acquired, processing the job...
[2025-01-13 06:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:14:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:14:03] Production.INFO: -- Xero Api Check --
[2025-01-13 06:14:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:14:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:14:03] Production.INFO: ==2978== Releasing lock...
[2025-01-13 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:14:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:14:04] Production.INFO: Total Charge 0
[2025-01-13 06:14:04] Production.INFO: CreateAllLog End
[2025-01-13 06:14:04] Production.INFO: count ==21
[2025-01-13 06:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:14:04] Production.INFO: count ==21
[2025-01-13 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237034') start
[2025-01-13 06:14:04] Production.ERROR: done
[2025-01-13 06:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237034') end
[2025-01-13 06:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:14:04] Production.INFO: 1
[2025-01-13 06:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:14:04] Production.INFO: ==2989== Releasing lock...
[2025-01-13 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:14:04] Production.INFO: Account Balance End.
[2025-01-13 06:14:04] Production.ERROR: done
[2025-01-13 06:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:14:04] Production.INFO: ==2982== Releasing lock...
[2025-01-13 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:14:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 854
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.642852
[namelookup_time] => 0.285658
[connect_time] => 0.292832
[pretransfer_time] => 0.554868
[size_upload] => 82
[size_download] => 2755
[speed_download] => 4285
[speed_upload] => 127
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.642781
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 51976
)
[2025-01-13 06:14:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3NjY4NDQsImV4cCI6MTczNjc2NzE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NzY2ODQ0LCJhdF9oYXNoIjoiZzFkS0NLM19pclBuZnlvSzRueEJGUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.h59NBz_m-LGpIzcIxFcOmIeQJEQy-y8PHM_crQHz-uBW7-9qDC137GfMWjcTJYG-wjZmuGiYr1Bsl1lljPt5-0Zf1qiyArpKk2Yv1JtFvifTPPQL4-8XNutcmFyt-Oisu9Ppc3jlnX8s9wcztOPan7Gvx99UU5Qus9rxh8vc2UaJoXdTFDFnGXXnez0MO3qPoOdX4Bua_kvzCLNlS6CmqEc1j9iaXL93vRwhDc8BEsKt8-gwDVJKChQqRZKX_-H-MktnQ1ByUZtaWBRfQWWPqWtrCGrZXrni2g1vlCIGUIpb4bS2wFXKtWIgOjLPVbr9kaIQfNG7gQyUDUjPq5xsrw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3NjY4NDQsImV4cCI6MTczNjc2ODY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Z4TCF5gEp4TzgI1GLIt7RBlwL1-eL-Z2llSk5SsxfO7xfXNHBCC2X0k6qhRkEaCBGeVY4AsKgjRA6X1fi37F9J8xq6TEtvCOzVB-l2xMf-8kxJm9sdhuUY6vidUWKzzTs5QejlIECt9idf9vsyZk4gV5TKPW7RW0RvbFibCTndUL3QGDWBXYctI2YG9Qb4eWrka9Wrt_rqEZ1BnHiJ3X3r8L50TqDP_aJYg8fMKUZL9xgKYwZtIvpynYJqEVUsk3-rdPRvj9hjuNOgDuaxEmWfw7bAD3JdiJt-rEJUZeLUeSSy1Dp_NoRFAgUizUjecmu-rGxf7RDwTOuboOSdBpEw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => hYEg8tH7HbFSoCFTWuj-POtHHP32-Yf1MWxnVvv8yPw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-13 06:14:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3NjY4NDQsImV4cCI6MTczNjc2NzE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NzY2ODQ0LCJhdF9oYXNoIjoiZzFkS0NLM19pclBuZnlvSzRueEJGUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.h59NBz_m-LGpIzcIxFcOmIeQJEQy-y8PHM_crQHz-uBW7-9qDC137GfMWjcTJYG-wjZmuGiYr1Bsl1lljPt5-0Zf1qiyArpKk2Yv1JtFvifTPPQL4-8XNutcmFyt-Oisu9Ppc3jlnX8s9wcztOPan7Gvx99UU5Qus9rxh8vc2UaJoXdTFDFnGXXnez0MO3qPoOdX4Bua_kvzCLNlS6CmqEc1j9iaXL93vRwhDc8BEsKt8-gwDVJKChQqRZKX_-H-MktnQ1ByUZtaWBRfQWWPqWtrCGrZXrni2g1vlCIGUIpb4bS2wFXKtWIgOjLPVbr9kaIQfNG7gQyUDUjPq5xsrw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3NjY4NDQsImV4cCI6MTczNjc2ODY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Z4TCF5gEp4TzgI1GLIt7RBlwL1-eL-Z2llSk5SsxfO7xfXNHBCC2X0k6qhRkEaCBGeVY4AsKgjRA6X1fi37F9J8xq6TEtvCOzVB-l2xMf-8kxJm9sdhuUY6vidUWKzzTs5QejlIECt9idf9vsyZk4gV5TKPW7RW0RvbFibCTndUL3QGDWBXYctI2YG9Qb4eWrka9Wrt_rqEZ1BnHiJ3X3r8L50TqDP_aJYg8fMKUZL9xgKYwZtIvpynYJqEVUsk3-rdPRvj9hjuNOgDuaxEmWfw7bAD3JdiJt-rEJUZeLUeSSy1Dp_NoRFAgUizUjecmu-rGxf7RDwTOuboOSdBpEw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => hYEg8tH7HbFSoCFTWuj-POtHHP32-Yf1MWxnVvv8yPw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-13 06:14:04] Production.ERROR: Invoice Payment Date 2025-01-12 00:00:00
[2025-01-13 06:14:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,12)
[2025-01-13 06:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:14:05
[end_date_ymd] => 2025-01-13 06:14:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:14:05' and `end` < '2025-01-13 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-13 06:14:07] Production.INFO: Batch insert start
[2025-01-13 06:14:07] Production.INFO: global counter1
[2025-01-13 06:14:07] Production.INFO: insertion start
[2025-01-13 06:14:07] Production.INFO: last batch insert 1
[2025-01-13 06:14:07] Production.INFO: insertion end
[2025-01-13 06:14:07] Production.INFO: CALL prc_importPaymentAccounting ('7fd1e5d0-d19f-11ef-b39d-9975ea36b7c8') start
[2025-01-13 06:14:07] Production.INFO: CALL prc_importPaymentAccounting ('7fd1e5d0-d19f-11ef-b39d-9975ea36b7c8') end
[2025-01-13 06:14:08] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-13 06:14:08] Production.INFO: 2
[2025-01-13 06:14:08] Production.ERROR: CronJobId end14
[2025-01-13 06:14:08] Production.INFO: ==2984== Releasing lock...
[2025-01-13 06:14:08] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-13 06:14:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 06:14:11] Production.ERROR: CronJobId end10
[2025-01-13 06:14:11] Production.INFO: ==2980== Releasing lock...
[2025-01-13 06:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:14:13] Production.INFO: call_cost start
[2025-01-13 06:14:13] Production.INFO: call_cost end
[2025-01-13 06:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:14:13] Production.INFO: ==2976== Releasing lock...
[2025-01-13 06:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:14:17] Production.INFO: count ==76
[2025-01-13 06:14:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:14:05 - End Time 2025-01-13 06:14:05
[2025-01-13 06:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237035', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237035', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237035', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237035', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:14:17] Production.INFO: ProcessCDR(1,14237035,1,1,2)
[2025-01-13 06:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237035', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237035', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:14:21] Production.INFO: ==2986== Releasing lock...
[2025-01-13 06:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:14:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:15:02] Production.INFO: ==3080== Lock acquired, processing the job...
[2025-01-13 11:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:15:02] Production.INFO: neon service started
[2025-01-13 11:15:02] Production.INFO: neon service started
[2025-01-13 11:15:02] Production.INFO: ==3080== Releasing lock...
[2025-01-13 11:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:15:02] Production.INFO: ==3082== Lock acquired, processing the job...
[2025-01-13 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:15:02] Production.INFO: ==3082== Releasing lock...
[2025-01-13 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:15:03] Production.INFO: ==3084== Lock acquired, processing the job...
[2025-01-13 11:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:15:03] Production.INFO: ==3084== Releasing lock...
[2025-01-13 11:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:15:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:15:03] Production.INFO: ==3086== Lock acquired, processing the job...
[2025-01-13 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:15:03] Production.INFO: ==3088== Lock acquired, processing the job...
[2025-01-13 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:15:03] Production.INFO: ==3090== Lock acquired, processing the job...
[2025-01-13 06:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:15:03] Production.INFO: ==3088== Releasing lock...
[2025-01-13 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:15:04] Production.INFO: ==3093== Lock acquired, processing the job...
[2025-01-13 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:15:04] Production.INFO: ==3095== Lock acquired, processing the job...
[2025-01-13 06:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:15:04] Production.INFO: Account Balance Start.
[2025-01-13 06:15:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:15:04] Production.INFO: 117
[2025-01-13 06:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:15:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:15:04] Production.INFO: ==3097== Lock acquired, processing the job...
[2025-01-13 06:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:15:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:15:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:15:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:15:04] Production.INFO: Total Charge 0
[2025-01-13 06:15:04] Production.INFO: CreateAllLog End
[2025-01-13 06:15:04] Production.INFO: count ==21
[2025-01-13 06:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:15:04] Production.INFO: count ==21
[2025-01-13 06:15:04] Production.ERROR: done
[2025-01-13 06:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237039') start
[2025-01-13 06:15:04] Production.ERROR: done
[2025-01-13 06:15:04] Production.INFO: Account Balance End.
[2025-01-13 06:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237039') end
[2025-01-13 06:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:15:04] Production.INFO: 1
[2025-01-13 06:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:15:04] Production.INFO: ==3093== Releasing lock...
[2025-01-13 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:15:04] Production.INFO: ==3097== Releasing lock...
[2025-01-13 06:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:15:05
[end_date_ymd] => 2025-01-13 06:15:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:15:05' and `end` < '2025-01-13 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-13 06:15:12] Production.ERROR: CronJobId end10
[2025-01-13 06:15:12] Production.INFO: ==3090== Releasing lock...
[2025-01-13 06:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:15:14] Production.INFO: call_cost start
[2025-01-13 06:15:14] Production.INFO: call_cost end
[2025-01-13 06:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:15:14] Production.INFO: ==3086== Releasing lock...
[2025-01-13 06:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:15:18] Production.INFO: count ==76
[2025-01-13 06:15:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:15:05 - End Time 2025-01-13 06:15:05
[2025-01-13 06:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237040', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237040', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237040', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237040', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:15:18] Production.INFO: ProcessCDR(1,14237040,1,1,2)
[2025-01-13 06:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237040', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237040', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:15:21] Production.INFO: ==3095== Releasing lock...
[2025-01-13 06:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:15:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:16:01] Production.INFO: ==3192== Lock acquired, processing the job...
[2025-01-13 11:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:16:01] Production.INFO: neon service started
[2025-01-13 11:16:01] Production.INFO: neon service started
[2025-01-13 11:16:01] Production.INFO: ==3192== Releasing lock...
[2025-01-13 11:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:16:02] Production.INFO: ==3194== Lock acquired, processing the job...
[2025-01-13 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:16:02] Production.INFO: ==3196== Lock acquired, processing the job...
[2025-01-13 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:16:02] Production.INFO: ==3196== Releasing lock...
[2025-01-13 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:16:02] Production.INFO: ==3194== Releasing lock...
[2025-01-13 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:16:03] Production.INFO: ==3201== Lock acquired, processing the job...
[2025-01-13 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:16:03] Production.INFO: ==3203== Lock acquired, processing the job...
[2025-01-13 06:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:16:03] Production.INFO: ==3209== Lock acquired, processing the job...
[2025-01-13 06:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:16:03] Production.INFO: ==3199== Lock acquired, processing the job...
[2025-01-13 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:16:03] Production.INFO: ==3207== Lock acquired, processing the job...
[2025-01-13 06:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:16:03] Production.INFO: count ==21
[2025-01-13 06:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:16:03] Production.INFO: count ==21
[2025-01-13 06:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237042') start
[2025-01-13 06:16:03] Production.INFO: ==3205== Lock acquired, processing the job...
[2025-01-13 06:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237042') end
[2025-01-13 06:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:16:04] Production.INFO: 1
[2025-01-13 06:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:16:04] Production.INFO: ==3201== Releasing lock...
[2025-01-13 06:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:16:04] Production.INFO: Account Balance Start.
[2025-01-13 06:16:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:16:04] Production.INFO: ==3209== Releasing lock...
[2025-01-13 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:16:04] Production.ERROR: done
[2025-01-13 06:16:04] Production.INFO: 117
[2025-01-13 06:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:16:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:16:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:16:04] Production.ERROR: done
[2025-01-13 06:16:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:16:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:16:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:16:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:16:04] Production.INFO: Total Charge 0
[2025-01-13 06:16:04] Production.INFO: CreateAllLog End
[2025-01-13 06:16:04] Production.INFO: Account Balance End.
[2025-01-13 06:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:16:04] Production.INFO: ==3205== Releasing lock...
[2025-01-13 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:16:05
[end_date_ymd] => 2025-01-13 06:16:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:16:05' and `end` < '2025-01-13 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-13 06:16:11] Production.ERROR: CronJobId end10
[2025-01-13 06:16:11] Production.INFO: ==3203== Releasing lock...
[2025-01-13 06:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:16:13] Production.INFO: call_cost start
[2025-01-13 06:16:13] Production.INFO: call_cost end
[2025-01-13 06:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:16:14] Production.INFO: ==3199== Releasing lock...
[2025-01-13 06:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:16:19] Production.INFO: count ==76
[2025-01-13 06:16:19] Production.ERROR: pbx CDR StartTime 2025-01-13 03:16:05 - End Time 2025-01-13 06:16:05
[2025-01-13 06:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237045', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237045', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237045', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237045', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:16:19] Production.INFO: ProcessCDR(1,14237045,1,1,2)
[2025-01-13 06:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237045', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237045', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:16:22] Production.INFO: ==3207== Releasing lock...
[2025-01-13 06:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:16:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:17:02] Production.INFO: ==3296== Lock acquired, processing the job...
[2025-01-13 11:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:17:02] Production.INFO: neon service started
[2025-01-13 11:17:02] Production.INFO: neon service started
[2025-01-13 11:17:02] Production.INFO: ==3296== Releasing lock...
[2025-01-13 11:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:17:02] Production.INFO: ==3298== Lock acquired, processing the job...
[2025-01-13 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:17:02] Production.INFO: ==3300== Lock acquired, processing the job...
[2025-01-13 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:17:02] Production.INFO: ==3300== Releasing lock...
[2025-01-13 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:17:03] Production.INFO: ==3298== Releasing lock...
[2025-01-13 06:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:17:03] Production.INFO: ==3305== Lock acquired, processing the job...
[2025-01-13 06:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:17:04] Production.INFO: ==3309== Lock acquired, processing the job...
[2025-01-13 06:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:17:04] Production.INFO: ==3307== Lock acquired, processing the job...
[2025-01-13 06:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:17:04] Production.INFO: ==3311== Lock acquired, processing the job...
[2025-01-13 06:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:17:04] Production.INFO: ==3313== Lock acquired, processing the job...
[2025-01-13 06:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:17:04] Production.INFO: ==3315== Lock acquired, processing the job...
[2025-01-13 06:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:17:04] Production.INFO: Account Balance Start.
[2025-01-13 06:17:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:17:04] Production.INFO: 117
[2025-01-13 06:17:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:17:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:17:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:17:04] Production.INFO: count ==21
[2025-01-13 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:17:04] Production.INFO: count ==21
[2025-01-13 06:17:04] Production.INFO: ==3307== Releasing lock...
[2025-01-13 06:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237049') start
[2025-01-13 06:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:17:04] Production.ERROR: done
[2025-01-13 06:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:17:04] Production.INFO: Total Charge 0
[2025-01-13 06:17:04] Production.INFO: CreateAllLog End
[2025-01-13 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237049') end
[2025-01-13 06:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:17:04] Production.INFO: 1
[2025-01-13 06:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:17:04] Production.INFO: ==3315== Releasing lock...
[2025-01-13 06:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:17:04] Production.ERROR: done
[2025-01-13 06:17:05] Production.INFO: Account Balance End.
[2025-01-13 06:17:05] Production.ERROR: CronJobId end 12
[2025-01-13 06:17:05] Production.INFO: ==3311== Releasing lock...
[2025-01-13 06:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:17:06
[end_date_ymd] => 2025-01-13 06:17:06
[RateCDR] => 1
)
[2025-01-13 06:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:17:06' and `end` < '2025-01-13 06:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:17:11] Production.ERROR: CronJobId end10
[2025-01-13 06:17:11] Production.INFO: ==3309== Releasing lock...
[2025-01-13 06:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:17:13] Production.INFO: call_cost start
[2025-01-13 06:17:13] Production.INFO: call_cost end
[2025-01-13 06:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:17:14] Production.INFO: ==3305== Releasing lock...
[2025-01-13 06:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:17:18] Production.INFO: count ==76
[2025-01-13 06:17:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:17:06 - End Time 2025-01-13 06:17:06
[2025-01-13 06:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237050', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237050', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237050', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237050', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:17:18] Production.INFO: ProcessCDR(1,14237050,1,1,2)
[2025-01-13 06:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237050', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237050', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:17:21] Production.INFO: ==3313== Releasing lock...
[2025-01-13 06:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:17:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:18:01] Production.INFO: ==3401== Lock acquired, processing the job...
[2025-01-13 11:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:18:01] Production.INFO: neon service started
[2025-01-13 11:18:01] Production.INFO: neon service started
[2025-01-13 11:18:01] Production.INFO: ==3401== Releasing lock...
[2025-01-13 11:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:18:02] Production.INFO: ==3403== Lock acquired, processing the job...
[2025-01-13 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:18:02] Production.INFO: ==3403== Releasing lock...
[2025-01-13 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:18:02] Production.INFO: ==3405== Lock acquired, processing the job...
[2025-01-13 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:18:02] Production.INFO: ==3405== Releasing lock...
[2025-01-13 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:18:03] Production.INFO: ==3414== Lock acquired, processing the job...
[2025-01-13 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:18:03] Production.INFO: ==3416== Lock acquired, processing the job...
[2025-01-13 06:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:18:03] Production.INFO: Account Balance Start.
[2025-01-13 06:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:18:03] Production.INFO: 117
[2025-01-13 06:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:18:03] Production.INFO: ==3408== Lock acquired, processing the job...
[2025-01-13 06:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:18:03] Production.INFO: ==3410== Lock acquired, processing the job...
[2025-01-13 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:18:03] Production.INFO: ==3412== Lock acquired, processing the job...
[2025-01-13 06:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:18:03] Production.INFO: ==3418== Lock acquired, processing the job...
[2025-01-13 06:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:18:03] Production.ERROR: done
[2025-01-13 06:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:18:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:18:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:18:03] Production.INFO: count ==21
[2025-01-13 06:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:18:03] Production.INFO: count ==21
[2025-01-13 06:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237054') start
[2025-01-13 06:18:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:18:03] Production.ERROR: done
[2025-01-13 06:18:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:18:03] Production.INFO: Total Charge 0
[2025-01-13 06:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237054') end
[2025-01-13 06:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:18:03] Production.INFO: 1
[2025-01-13 06:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:18:03] Production.INFO: CreateAllLog End
[2025-01-13 06:18:03] Production.INFO: ==3418== Releasing lock...
[2025-01-13 06:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:18:04] Production.INFO: ==3410== Releasing lock...
[2025-01-13 06:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:18:04] Production.INFO: Account Balance End.
[2025-01-13 06:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:18:04] Production.INFO: ==3414== Releasing lock...
[2025-01-13 06:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:18:04
[end_date_ymd] => 2025-01-13 06:18:04
[RateCDR] => 1
)
[2025-01-13 06:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:18:04' and `end` < '2025-01-13 06:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:18:11] Production.ERROR: CronJobId end10
[2025-01-13 06:18:11] Production.INFO: ==3412== Releasing lock...
[2025-01-13 06:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:18:13] Production.INFO: call_cost start
[2025-01-13 06:18:13] Production.INFO: call_cost end
[2025-01-13 06:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:18:14] Production.INFO: ==3408== Releasing lock...
[2025-01-13 06:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:18:17] Production.INFO: count ==76
[2025-01-13 06:18:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:18:04 - End Time 2025-01-13 06:18:04
[2025-01-13 06:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237055', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237055', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237055', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237055', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:18:17] Production.INFO: ProcessCDR(1,14237055,1,1,2)
[2025-01-13 06:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237055', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237055', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:18:20] Production.INFO: ==3416== Releasing lock...
[2025-01-13 06:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:18:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:19:02] Production.INFO: ==3506== Lock acquired, processing the job...
[2025-01-13 11:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:19:02] Production.INFO: neon service started
[2025-01-13 11:19:02] Production.INFO: neon service started
[2025-01-13 11:19:02] Production.INFO: ==3506== Releasing lock...
[2025-01-13 11:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:19:02] Production.INFO: ==3508== Lock acquired, processing the job...
[2025-01-13 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:19:02] Production.INFO: ==3508== Releasing lock...
[2025-01-13 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:19:02] Production.INFO: ==3510== Lock acquired, processing the job...
[2025-01-13 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:19:02] Production.INFO: ==3510== Releasing lock...
[2025-01-13 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:19:03] Production.INFO: ==3521== Lock acquired, processing the job...
[2025-01-13 06:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:19:03] Production.INFO: ==3523== Lock acquired, processing the job...
[2025-01-13 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:19:03] Production.INFO: ==3513== Lock acquired, processing the job...
[2025-01-13 06:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:19:03] Production.INFO: ==3515== Lock acquired, processing the job...
[2025-01-13 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 06:19:03] Production.INFO: ==3517== Lock acquired, processing the job...
[2025-01-13 06:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:19:03] Production.ERROR: done
[2025-01-13 06:19:03] Production.INFO: count ==21
[2025-01-13 06:19:03] Production.INFO: ==3519== Lock acquired, processing the job...
[2025-01-13 06:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:19:04] Production.INFO: count ==21
[2025-01-13 06:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237056') start
[2025-01-13 06:19:04] Production.ERROR: done
[2025-01-13 06:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:19:04] Production.INFO: Account Balance Start.
[2025-01-13 06:19:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237056') end
[2025-01-13 06:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:19:04] Production.INFO: 1
[2025-01-13 06:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:19:04] Production.INFO: 117
[2025-01-13 06:19:04] Production.INFO: ==3523== Releasing lock...
[2025-01-13 06:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:19:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:19:04] Production.INFO: ==3515== Releasing lock...
[2025-01-13 06:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:19:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:19:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:19:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:19:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:19:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:19:04] Production.INFO: Total Charge 0
[2025-01-13 06:19:04] Production.INFO: CreateAllLog End
[2025-01-13 06:19:05] Production.INFO: Account Balance End.
[2025-01-13 06:19:05] Production.ERROR: CronJobId end 12
[2025-01-13 06:19:05] Production.INFO: ==3519== Releasing lock...
[2025-01-13 06:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:19:05
[end_date_ymd] => 2025-01-13 06:19:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:19:05' and `end` < '2025-01-13 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-13 06:19:10] Production.ERROR: CronJobId end10
[2025-01-13 06:19:10] Production.INFO: ==3517== Releasing lock...
[2025-01-13 06:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:19:13] Production.INFO: call_cost start
[2025-01-13 06:19:13] Production.INFO: call_cost end
[2025-01-13 06:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:19:14] Production.INFO: ==3513== Releasing lock...
[2025-01-13 06:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:19:18] Production.INFO: count ==76
[2025-01-13 06:19:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:19:05 - End Time 2025-01-13 06:19:05
[2025-01-13 06:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237060', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237060', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237060', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237060', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:19:18] Production.INFO: ProcessCDR(1,14237060,1,1,2)
[2025-01-13 06:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237060', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237060', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:19:21] Production.INFO: ==3521== Releasing lock...
[2025-01-13 06:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:19:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:20:01] Production.INFO: ==3603== Lock acquired, processing the job...
[2025-01-13 11:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:20:01] Production.INFO: neon service started
[2025-01-13 11:20:01] Production.INFO: neon service started
[2025-01-13 11:20:01] Production.INFO: ==3603== Releasing lock...
[2025-01-13 11:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:20:02] Production.INFO: ==3605== Lock acquired, processing the job...
[2025-01-13 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:20:02] Production.INFO: ==3607== Lock acquired, processing the job...
[2025-01-13 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:20:02] Production.INFO: ==3607== Releasing lock...
[2025-01-13 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:20:02] Production.INFO: ==3605== Releasing lock...
[2025-01-13 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:20:03] Production.INFO: ==3616== Lock acquired, processing the job...
[2025-01-13 06:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:20:03] Production.INFO: ==3610== Lock acquired, processing the job...
[2025-01-13 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 06:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:20:03] Production.INFO: ==3612== Lock acquired, processing the job...
[2025-01-13 06:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 06:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:20:03] Production.ERROR: CronJob PID - 3616
[2025-01-13 06:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 06:20:03] Production.ERROR: CronJob ID - 10
[2025-01-13 06:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 06:20:00
[2025-01-13 06:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 06:20:03] Production.INFO: ==3610== Releasing lock...
[2025-01-13 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 06:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 06:20:03] Production.INFO: ==3620== Lock acquired, processing the job...
[2025-01-13 06:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:20:03] Production.INFO: ==3614== Lock acquired, processing the job...
[2025-01-13 06:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:20:03] Production.INFO: ==3618== Lock acquired, processing the job...
[2025-01-13 06:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:20:03] Production.INFO: ==3624== Lock acquired, processing the job...
[2025-01-13 06:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:20:04] Production.INFO: ==3622== Lock acquired, processing the job...
[2025-01-13 06:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 06:20:04] Production.INFO: Account Balance Start.
[2025-01-13 06:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:20:04] Production.INFO: 117
[2025-01-13 06:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:20:04] Production.INFO: count ==21
[2025-01-13 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-13 06:20:04] Production.INFO: count ==21
[2025-01-13 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237064') start
[2025-01-13 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:20:04] Production.ERROR: done
[2025-01-13 06:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237064') end
[2025-01-13 06:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:20:04] Production.INFO: 1
[2025-01-13 06:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:20:04] Production.INFO: ==3614== Releasing lock...
[2025-01-13 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:20:04] Production.INFO: ==3624== Releasing lock...
[2025-01-13 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:20:04] Production.ERROR: done
[2025-01-13 06:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:20:04] Production.ERROR: done
[2025-01-13 06:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:20:04] Production.INFO: Total Charge 0
[2025-01-13 06:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 06:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237066', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 06:20:04] Production.INFO: CreateAllLog End
[2025-01-13 06:20:04] Production.INFO: Account Balance End.
[2025-01-13 06:20:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:20:04] Production.INFO: ==3618== Releasing lock...
[2025-01-13 06:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:20:05
[end_date_ymd] => 2025-01-13 06:20:05
[RateCDR] => 1
)
[2025-01-13 06:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:20:05' and `end` < '2025-01-13 06:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237066', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 06:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 06:20:09] Production.INFO: ProcessCDR(1,14237066,1,1,2)
[2025-01-13 06:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237066,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237066,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:20:09] Production.INFO: ==3622== Releasing lock...
[2025-01-13 06:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 06:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 06:20:11] Production.ERROR: CronJobId end10
[2025-01-13 06:20:11] Production.INFO: ==3616== Releasing lock...
[2025-01-13 06:20:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:20:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:20:14] Production.INFO: call_cost start
[2025-01-13 06:20:14] Production.INFO: call_cost end
[2025-01-13 06:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:20:15] Production.INFO: ==3612== Releasing lock...
[2025-01-13 06:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:20:18] Production.INFO: count ==76
[2025-01-13 06:20:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:20:05 - End Time 2025-01-13 06:20:05
[2025-01-13 06:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237065', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237065', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237065', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237065', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:20:18] Production.INFO: ProcessCDR(1,14237065,1,1,2)
[2025-01-13 06:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237065', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237065', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:20:21] Production.INFO: ==3620== Releasing lock...
[2025-01-13 06:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:20:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:21:02] Production.INFO: ==3709== Lock acquired, processing the job...
[2025-01-13 11:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:21:02] Production.INFO: neon service started
[2025-01-13 11:21:02] Production.INFO: neon service started
[2025-01-13 11:21:02] Production.INFO: ==3709== Releasing lock...
[2025-01-13 11:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:21:02] Production.INFO: ==3713== Lock acquired, processing the job...
[2025-01-13 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:21:02] Production.INFO: ==3713== Releasing lock...
[2025-01-13 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:21:02] Production.INFO: ==3711== Lock acquired, processing the job...
[2025-01-13 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:21:02] Production.INFO: ==3711== Releasing lock...
[2025-01-13 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:21:03] Production.INFO: ==3716== Lock acquired, processing the job...
[2025-01-13 06:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:21:03] Production.INFO: ==3720== Lock acquired, processing the job...
[2025-01-13 06:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:21:03] Production.INFO: ==3726== Lock acquired, processing the job...
[2025-01-13 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 06:21:03] Production.INFO: ==3718== Lock acquired, processing the job...
[2025-01-13 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:21:03] Production.INFO: count ==21
[2025-01-13 06:21:03] Production.INFO: ==3722== Lock acquired, processing the job...
[2025-01-13 06:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 06:21:03] Production.INFO: ==3724== Lock acquired, processing the job...
[2025-01-13 06:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:21:03] Production.INFO: count ==21
[2025-01-13 06:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237068') start
[2025-01-13 06:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237068') end
[2025-01-13 06:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:21:04] Production.INFO: 1
[2025-01-13 06:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:21:04] Production.INFO: Account Balance Start.
[2025-01-13 06:21:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:21:04] Production.INFO: 117
[2025-01-13 06:21:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:21:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:21:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:21:04] Production.INFO: ==3726== Releasing lock...
[2025-01-13 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:21:04] Production.INFO: ==3718== Releasing lock...
[2025-01-13 06:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:21:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:21:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:21:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:21:04] Production.INFO: Total Charge 0
[2025-01-13 06:21:04] Production.ERROR: done
[2025-01-13 06:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:21:04] Production.INFO: CreateAllLog End
[2025-01-13 06:21:04] Production.ERROR: done
[2025-01-13 06:21:04] Production.INFO: Account Balance End.
[2025-01-13 06:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:21:04] Production.INFO: ==3722== Releasing lock...
[2025-01-13 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:21:05
[end_date_ymd] => 2025-01-13 06:21:05
[RateCDR] => 1
)
[2025-01-13 06:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:21:05' and `end` < '2025-01-13 06:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:21:11] Production.ERROR: CronJobId end10
[2025-01-13 06:21:11] Production.INFO: ==3720== Releasing lock...
[2025-01-13 06:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:21:13] Production.INFO: call_cost start
[2025-01-13 06:21:13] Production.INFO: call_cost end
[2025-01-13 06:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:21:14] Production.INFO: ==3716== Releasing lock...
[2025-01-13 06:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:21:18] Production.INFO: count ==76
[2025-01-13 06:21:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:21:05 - End Time 2025-01-13 06:21:05
[2025-01-13 06:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237071', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237071', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237071', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237071', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:21:18] Production.INFO: ProcessCDR(1,14237071,1,1,2)
[2025-01-13 06:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237071', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237071', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:21:21] Production.INFO: ==3724== Releasing lock...
[2025-01-13 06:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:21:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:22:01] Production.INFO: ==3808== Lock acquired, processing the job...
[2025-01-13 11:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:22:01] Production.INFO: neon service started
[2025-01-13 11:22:01] Production.INFO: neon service started
[2025-01-13 11:22:01] Production.INFO: ==3808== Releasing lock...
[2025-01-13 11:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:22:01] Production.INFO: ==3810== Lock acquired, processing the job...
[2025-01-13 06:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:22:02] Production.INFO: ==3810== Releasing lock...
[2025-01-13 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:22:02] Production.INFO: ==3812== Lock acquired, processing the job...
[2025-01-13 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:22:02] Production.INFO: ==3812== Releasing lock...
[2025-01-13 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:22:02] Production.INFO: ==3822== Lock acquired, processing the job...
[2025-01-13 06:22:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:22:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:22:03] Production.INFO: ==3824== Lock acquired, processing the job...
[2025-01-13 06:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:22:03] Production.ERROR: done
[2025-01-13 06:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:22:03] Production.INFO: ==3814== Lock acquired, processing the job...
[2025-01-13 06:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:22:03] Production.INFO: ==3818== Lock acquired, processing the job...
[2025-01-13 06:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:22:03] Production.INFO: ==3816== Lock acquired, processing the job...
[2025-01-13 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 06:22:03] Production.INFO: ==3820== Lock acquired, processing the job...
[2025-01-13 06:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:22:03] Production.ERROR: done
[2025-01-13 06:22:03] Production.INFO: count ==21
[2025-01-13 06:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 06:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:22:03] Production.INFO: count ==21
[2025-01-13 06:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237072') start
[2025-01-13 06:22:03] Production.INFO: Account Balance Start.
[2025-01-13 06:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:22:03] Production.INFO: 117
[2025-01-13 06:22:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237072') end
[2025-01-13 06:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:22:03] Production.INFO: 1
[2025-01-13 06:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:22:03] Production.INFO: ==3824== Releasing lock...
[2025-01-13 06:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:22:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:22:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:22:03] Production.INFO: ==3816== Releasing lock...
[2025-01-13 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:22:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:22:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:22:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:22:03] Production.INFO: Total Charge 0
[2025-01-13 06:22:03] Production.INFO: CreateAllLog End
[2025-01-13 06:22:03] Production.INFO: Account Balance End.
[2025-01-13 06:22:03] Production.ERROR: CronJobId end 12
[2025-01-13 06:22:03] Production.INFO: ==3820== Releasing lock...
[2025-01-13 06:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:22:04
[end_date_ymd] => 2025-01-13 06:22:04
[RateCDR] => 1
)
[2025-01-13 06: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-13 03:22:04' and `end` < '2025-01-13 06: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-13 06:22:10] Production.ERROR: CronJobId end10
[2025-01-13 06:22:10] Production.INFO: ==3818== Releasing lock...
[2025-01-13 06:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:22:13] Production.INFO: call_cost start
[2025-01-13 06:22:13] Production.INFO: call_cost end
[2025-01-13 06:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:22:14] Production.INFO: ==3814== Releasing lock...
[2025-01-13 06:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:22:17] Production.INFO: count ==76
[2025-01-13 06:22:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:22:04 - End Time 2025-01-13 06:22:04
[2025-01-13 06:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237075', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237075', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237075', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237075', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:22:17] Production.INFO: ProcessCDR(1,14237075,1,1,2)
[2025-01-13 06:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237075', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237075', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:22:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:22:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:22:20] Production.INFO: ==3822== Releasing lock...
[2025-01-13 06:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:22:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:23:01] Production.INFO: ==3883== Lock acquired, processing the job...
[2025-01-13 11:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:23:01] Production.INFO: neon service started
[2025-01-13 11:23:01] Production.INFO: neon service started
[2025-01-13 11:23:01] Production.INFO: ==3883== Releasing lock...
[2025-01-13 11:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:23:02] Production.INFO: ==3887== Lock acquired, processing the job...
[2025-01-13 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:23:02] Production.INFO: ==3887== Releasing lock...
[2025-01-13 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:23:02] Production.INFO: ==3885== Lock acquired, processing the job...
[2025-01-13 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:23:02] Production.INFO: ==3885== Releasing lock...
[2025-01-13 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:23:03] Production.INFO: ==3890== Lock acquired, processing the job...
[2025-01-13 06:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:23:03] Production.INFO: ==3896== Lock acquired, processing the job...
[2025-01-13 06:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:23:03] Production.INFO: ==3894== Lock acquired, processing the job...
[2025-01-13 06:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:23:03] Production.INFO: ==3892== Lock acquired, processing the job...
[2025-01-13 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:23:03] Production.INFO: Account Balance Start.
[2025-01-13 06:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:23:03] Production.INFO: 117
[2025-01-13 06:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:23:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:23:03] Production.INFO: ==3898== Lock acquired, processing the job...
[2025-01-13 06:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:23:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:23:03] Production.INFO: ==3900== Lock acquired, processing the job...
[2025-01-13 06:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:23:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:23:04] Production.INFO: ==3892== Releasing lock...
[2025-01-13 06:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:23:04] Production.INFO: count ==21
[2025-01-13 06:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:23:04] Production.INFO: Total Charge 0
[2025-01-13 06:23:04] Production.INFO: count ==21
[2025-01-13 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237080') start
[2025-01-13 06:23:04] Production.INFO: CreateAllLog End
[2025-01-13 06:23:04] Production.ERROR: done
[2025-01-13 06:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237080') end
[2025-01-13 06:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:23:04] Production.INFO: 1
[2025-01-13 06:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:23:04] Production.INFO: ==3900== Releasing lock...
[2025-01-13 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:23:04] Production.ERROR: done
[2025-01-13 06:23:04] Production.INFO: Account Balance End.
[2025-01-13 06:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:23:04] Production.INFO: ==3896== Releasing lock...
[2025-01-13 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:23:05
[end_date_ymd] => 2025-01-13 06:23:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:23:05' and `end` < '2025-01-13 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-13 06:23:10] Production.ERROR: CronJobId end10
[2025-01-13 06:23:10] Production.INFO: ==3894== Releasing lock...
[2025-01-13 06:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:23:13] Production.INFO: call_cost start
[2025-01-13 06:23:13] Production.INFO: call_cost end
[2025-01-13 06:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:23:14] Production.INFO: ==3890== Releasing lock...
[2025-01-13 06:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:23:17] Production.INFO: count ==76
[2025-01-13 06:23:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:23:05 - End Time 2025-01-13 06:23:05
[2025-01-13 06:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237081', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237081', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237081', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237081', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:23:17] Production.INFO: ProcessCDR(1,14237081,1,1,2)
[2025-01-13 06:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237081', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237081', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:23:21] Production.INFO: ==3898== Releasing lock...
[2025-01-13 06:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:23:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:24:02] Production.INFO: ==3954== Lock acquired, processing the job...
[2025-01-13 11:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:24:02] Production.INFO: neon service started
[2025-01-13 11:24:02] Production.INFO: neon service started
[2025-01-13 11:24:02] Production.INFO: ==3954== Releasing lock...
[2025-01-13 11:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:24:02] Production.INFO: ==3957== Lock acquired, processing the job...
[2025-01-13 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:24:03] Production.INFO: ==3957== Releasing lock...
[2025-01-13 06:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:24:03] Production.INFO: ==3959== Lock acquired, processing the job...
[2025-01-13 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:24:03] Production.INFO: ==3959== Releasing lock...
[2025-01-13 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:24:03] Production.INFO: ==3965== Lock acquired, processing the job...
[2025-01-13 06:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:24:04] Production.INFO: ==3961== Lock acquired, processing the job...
[2025-01-13 06:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:24:04] Production.INFO: ==3967== Lock acquired, processing the job...
[2025-01-13 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:24:04] Production.INFO: ==3963== Lock acquired, processing the job...
[2025-01-13 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:24:04] Production.INFO: Account Balance Start.
[2025-01-13 06:24:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:24:04] Production.INFO: 117
[2025-01-13 06:24:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:24:04] Production.INFO: ==3969== Lock acquired, processing the job...
[2025-01-13 06:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:24:04] Production.INFO: ==3971== Lock acquired, processing the job...
[2025-01-13 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:24:04] Production.INFO: Total Charge 0
[2025-01-13 06:24:04] Production.INFO: CreateAllLog End
[2025-01-13 06:24:04] Production.INFO: ==3963== Releasing lock...
[2025-01-13 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:24:05] Production.INFO: count ==21
[2025-01-13 06:24:05] Production.ERROR: done
[2025-01-13 06:24:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:24:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:24:05] Production.INFO: count ==21
[2025-01-13 06:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14237085') start
[2025-01-13 06:24:05] Production.INFO: Account Balance End.
[2025-01-13 06:24:05] Production.ERROR: done
[2025-01-13 06:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14237085') end
[2025-01-13 06:24:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:24:05] Production.INFO: 1
[2025-01-13 06:24:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:24:05] Production.ERROR: CronJobId end 12
[2025-01-13 06:24:05] Production.INFO: ==3967== Releasing lock...
[2025-01-13 06:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:24:05] Production.INFO: ==3971== Releasing lock...
[2025-01-13 06:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:24:06
[end_date_ymd] => 2025-01-13 06:24:06
[RateCDR] => 1
)
[2025-01-13 06:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:24:06' and `end` < '2025-01-13 06:24:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:24:12] Production.ERROR: CronJobId end10
[2025-01-13 06:24:12] Production.INFO: ==3965== Releasing lock...
[2025-01-13 06:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:24:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:24:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:24:15] Production.INFO: call_cost start
[2025-01-13 06:24:15] Production.INFO: call_cost end
[2025-01-13 06:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:24:15] Production.INFO: ==3961== Releasing lock...
[2025-01-13 06:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:24:18] Production.INFO: count ==76
[2025-01-13 06:24:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:24:06 - End Time 2025-01-13 06:24:06
[2025-01-13 06:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237086', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237086', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237086', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237086', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:24:18] Production.INFO: ProcessCDR(1,14237086,1,1,2)
[2025-01-13 06:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237086', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237086', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:24:21] Production.INFO: ==3969== Releasing lock...
[2025-01-13 06:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:24:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:25:01] Production.INFO: ==4026== Lock acquired, processing the job...
[2025-01-13 11:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:25:01] Production.INFO: neon service started
[2025-01-13 11:25:01] Production.INFO: neon service started
[2025-01-13 11:25:01] Production.INFO: ==4026== Releasing lock...
[2025-01-13 11:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:25:02] Production.INFO: ==4031== Lock acquired, processing the job...
[2025-01-13 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:25:02] Production.INFO: ==4031== Releasing lock...
[2025-01-13 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:25:02] Production.INFO: ==4029== Lock acquired, processing the job...
[2025-01-13 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:25:02] Production.INFO: ==4029== Releasing lock...
[2025-01-13 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:25:03] Production.INFO: ==4033== Lock acquired, processing the job...
[2025-01-13 06:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:25:03] Production.INFO: ==4035== Lock acquired, processing the job...
[2025-01-13 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:25:03] Production.INFO: ==4043== Lock acquired, processing the job...
[2025-01-13 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:25:03] Production.INFO: ==4037== Lock acquired, processing the job...
[2025-01-13 06:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 06:25:03] Production.INFO: ==4035== Releasing lock...
[2025-01-13 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:25:03] Production.INFO: count ==21
[2025-01-13 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-13 06:25:03] Production.INFO: ==4039== Lock acquired, processing the job...
[2025-01-13 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:25:03] Production.INFO: ==4041== Lock acquired, processing the job...
[2025-01-13 06:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:25:03] Production.INFO: count ==21
[2025-01-13 06:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237089') start
[2025-01-13 06:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237089') end
[2025-01-13 06:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:25:03] Production.INFO: 1
[2025-01-13 06:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:25:04] Production.INFO: Account Balance Start.
[2025-01-13 06:25:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:25:04] Production.INFO: 117
[2025-01-13 06:25:04] Production.INFO: ==4043== Releasing lock...
[2025-01-13 06:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:25:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:25:04] Production.ERROR: done
[2025-01-13 06:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:25:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:25:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:25:04] Production.ERROR: done
[2025-01-13 06:25:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:25:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:25:04] Production.INFO: Total Charge 0
[2025-01-13 06:25:04] Production.INFO: CreateAllLog End
[2025-01-13 06:25:04] Production.INFO: Account Balance End.
[2025-01-13 06:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:25:04] Production.INFO: ==4039== Releasing lock...
[2025-01-13 06:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:25:05
[end_date_ymd] => 2025-01-13 06:25:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:25:05' and `end` < '2025-01-13 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-13 06:25:11] Production.ERROR: CronJobId end10
[2025-01-13 06:25:11] Production.INFO: ==4037== Releasing lock...
[2025-01-13 06:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:25:13] Production.INFO: call_cost start
[2025-01-13 06:25:13] Production.INFO: call_cost end
[2025-01-13 06:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:25:13] Production.INFO: ==4033== Releasing lock...
[2025-01-13 06:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:25:18] Production.INFO: count ==76
[2025-01-13 06:25:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:25:05 - End Time 2025-01-13 06:25:05
[2025-01-13 06:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237091', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237091', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237091', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237091', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:25:18] Production.INFO: ProcessCDR(1,14237091,1,1,2)
[2025-01-13 06:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237091', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237091', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:25:21] Production.INFO: ==4041== Releasing lock...
[2025-01-13 06:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:25:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:26:02] Production.INFO: ==4136== Lock acquired, processing the job...
[2025-01-13 11:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:26:02] Production.INFO: neon service started
[2025-01-13 11:26:02] Production.INFO: neon service started
[2025-01-13 11:26:02] Production.INFO: ==4136== Releasing lock...
[2025-01-13 11:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:26:02] Production.INFO: ==4138== Lock acquired, processing the job...
[2025-01-13 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:26:02] Production.INFO: ==4140== Lock acquired, processing the job...
[2025-01-13 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:26:02] Production.INFO: ==4140== Releasing lock...
[2025-01-13 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:26:03] Production.INFO: ==4138== Releasing lock...
[2025-01-13 06:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:26:03] Production.INFO: ==4147== Lock acquired, processing the job...
[2025-01-13 06:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:26:03] Production.INFO: ==4149== Lock acquired, processing the job...
[2025-01-13 06:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:26:04] Production.INFO: ==4143== Lock acquired, processing the job...
[2025-01-13 06:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:26:04] Production.INFO: Account Balance Start.
[2025-01-13 06:26:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:26:04] Production.INFO: 117
[2025-01-13 06:26:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:26:04] Production.INFO: ==4145== Lock acquired, processing the job...
[2025-01-13 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:26:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:26:04] Production.INFO: ==4151== Lock acquired, processing the job...
[2025-01-13 06:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:26:04] Production.INFO: ==4153== Lock acquired, processing the job...
[2025-01-13 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:26:04] Production.INFO: Total Charge 0
[2025-01-13 06:26:04] Production.INFO: CreateAllLog End
[2025-01-13 06:26:04] Production.INFO: ==4145== Releasing lock...
[2025-01-13 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:26:04] Production.INFO: count ==21
[2025-01-13 06:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:26:04] Production.INFO: count ==21
[2025-01-13 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237095') start
[2025-01-13 06:26:04] Production.INFO: Account Balance End.
[2025-01-13 06:26:04] Production.ERROR: done
[2025-01-13 06:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:26:04] Production.INFO: ==4149== Releasing lock...
[2025-01-13 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237095') end
[2025-01-13 06:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:26:04] Production.INFO: 1
[2025-01-13 06:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:26:04] Production.ERROR: done
[2025-01-13 06:26:04] Production.INFO: ==4153== Releasing lock...
[2025-01-13 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:26:05
[end_date_ymd] => 2025-01-13 06:26:05
[RateCDR] => 1
)
[2025-01-13 06:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:26:05' and `end` < '2025-01-13 06:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:26:11] Production.ERROR: CronJobId end10
[2025-01-13 06:26:11] Production.INFO: ==4147== Releasing lock...
[2025-01-13 06:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:26:13] Production.INFO: call_cost start
[2025-01-13 06:26:13] Production.INFO: call_cost end
[2025-01-13 06:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:26:14] Production.INFO: ==4143== Releasing lock...
[2025-01-13 06:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:26:18] Production.INFO: count ==76
[2025-01-13 06:26:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:26:05 - End Time 2025-01-13 06:26:05
[2025-01-13 06:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237096', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237096', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237096', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237096', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:26:18] Production.INFO: ProcessCDR(1,14237096,1,1,2)
[2025-01-13 06:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237096', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237096', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:26:22] Production.INFO: ==4151== Releasing lock...
[2025-01-13 06:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:26:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:27:01] Production.INFO: ==4205== Lock acquired, processing the job...
[2025-01-13 11:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:27:01] Production.INFO: neon service started
[2025-01-13 11:27:01] Production.INFO: neon service started
[2025-01-13 11:27:01] Production.INFO: ==4205== Releasing lock...
[2025-01-13 11:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:27:01] Production.INFO: ==4207== Lock acquired, processing the job...
[2025-01-13 06:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:27:02] Production.INFO: ==4207== Releasing lock...
[2025-01-13 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:27:02] Production.INFO: ==4209== Lock acquired, processing the job...
[2025-01-13 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:27:02] Production.INFO: ==4209== Releasing lock...
[2025-01-13 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:27:03] Production.INFO: ==4220== Lock acquired, processing the job...
[2025-01-13 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:27:03] Production.INFO: ==4222== Lock acquired, processing the job...
[2025-01-13 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 06:27:03] Production.INFO: count ==21
[2025-01-13 06:27:03] Production.INFO: ==4214== Lock acquired, processing the job...
[2025-01-13 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:27:03] Production.INFO: ==4212== Lock acquired, processing the job...
[2025-01-13 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 06:27:03] Production.INFO: count ==21
[2025-01-13 06:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237097') start
[2025-01-13 06:27:03] Production.INFO: ==4218== Lock acquired, processing the job...
[2025-01-13 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:27:03] Production.INFO: ==4216== Lock acquired, processing the job...
[2025-01-13 06:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:27:03] Production.ERROR: done
[2025-01-13 06:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:27:03] Production.INFO: Account Balance Start.
[2025-01-13 06:27:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:27:03] Production.INFO: 117
[2025-01-13 06:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237097') end
[2025-01-13 06:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:27:03] Production.INFO: 1
[2025-01-13 06:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:27:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:27:03] Production.INFO: ==4222== Releasing lock...
[2025-01-13 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:27:03] Production.ERROR: done
[2025-01-13 06:27:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:27:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:27:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:27:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:27:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:27:03] Production.INFO: ==4214== Releasing lock...
[2025-01-13 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:27:03] Production.INFO: Total Charge 0
[2025-01-13 06:27:03] Production.INFO: CreateAllLog End
[2025-01-13 06:27:03] Production.INFO: Account Balance End.
[2025-01-13 06:27:03] Production.ERROR: CronJobId end 12
[2025-01-13 06:27:03] Production.INFO: ==4218== Releasing lock...
[2025-01-13 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:27:04
[end_date_ymd] => 2025-01-13 06:27:04
[RateCDR] => 1
)
[2025-01-13 06:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:27:04' and `end` < '2025-01-13 06:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:27:10] Production.ERROR: CronJobId end10
[2025-01-13 06:27:10] Production.INFO: ==4216== Releasing lock...
[2025-01-13 06:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:27:13] Production.INFO: call_cost start
[2025-01-13 06:27:13] Production.INFO: call_cost end
[2025-01-13 06:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:27:14] Production.INFO: ==4212== Releasing lock...
[2025-01-13 06:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:27:16] Production.INFO: count ==76
[2025-01-13 06:27:16] Production.ERROR: pbx CDR StartTime 2025-01-13 03:27:04 - End Time 2025-01-13 06:27:04
[2025-01-13 06:27:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:27:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237101', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:27:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237101', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:27:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237101', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:27:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237101', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:27:16] Production.INFO: ProcessCDR(1,14237101,1,1,2)
[2025-01-13 06:27:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:27:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:27:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237101', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237101', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:27:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:27:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:27:20] Production.INFO: ==4220== Releasing lock...
[2025-01-13 06:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:27:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:28:02] Production.INFO: ==4278== Lock acquired, processing the job...
[2025-01-13 11:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:28:02] Production.INFO: neon service started
[2025-01-13 11:28:02] Production.INFO: neon service started
[2025-01-13 11:28:02] Production.INFO: ==4278== Releasing lock...
[2025-01-13 11:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:28:02] Production.INFO: ==4280== Lock acquired, processing the job...
[2025-01-13 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:28:02] Production.INFO: ==4282== Lock acquired, processing the job...
[2025-01-13 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:28:02] Production.INFO: ==4282== Releasing lock...
[2025-01-13 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:28:03] Production.INFO: ==4280== Releasing lock...
[2025-01-13 06:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:28:03] Production.INFO: ==4291== Lock acquired, processing the job...
[2025-01-13 06:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:28:03] Production.INFO: ==4293== Lock acquired, processing the job...
[2025-01-13 06:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:28:03] Production.INFO: ==4285== Lock acquired, processing the job...
[2025-01-13 06:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:28:04] Production.INFO: Account Balance Start.
[2025-01-13 06:28:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:28:04] Production.INFO: 117
[2025-01-13 06:28:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:28:04] Production.INFO: ==4287== Lock acquired, processing the job...
[2025-01-13 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:28:04] Production.INFO: ==4289== Lock acquired, processing the job...
[2025-01-13 06:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:28:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:28:04] Production.INFO: ==4295== Lock acquired, processing the job...
[2025-01-13 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:28:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:28:04] Production.ERROR: done
[2025-01-13 06:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:28:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:28:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:28:04] Production.INFO: count ==21
[2025-01-13 06:28:04] Production.ERROR: done
[2025-01-13 06:28:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:28:04] Production.INFO: count ==21
[2025-01-13 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237105') start
[2025-01-13 06:28:04] Production.INFO: Total Charge 0
[2025-01-13 06:28:04] Production.INFO: CreateAllLog End
[2025-01-13 06:28:04] Production.INFO: ==4287== Releasing lock...
[2025-01-13 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237105') end
[2025-01-13 06:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:28:04] Production.INFO: 1
[2025-01-13 06:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:28:04] Production.INFO: ==4295== Releasing lock...
[2025-01-13 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:28:04] Production.INFO: Account Balance End.
[2025-01-13 06:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:28:04] Production.INFO: ==4291== Releasing lock...
[2025-01-13 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:28:05
[end_date_ymd] => 2025-01-13 06:28:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:28:05' and `end` < '2025-01-13 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-13 06:28:10] Production.ERROR: CronJobId end10
[2025-01-13 06:28:10] Production.INFO: ==4289== Releasing lock...
[2025-01-13 06:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:28:12] Production.INFO: call_cost start
[2025-01-13 06:28:12] Production.INFO: call_cost end
[2025-01-13 06:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:28:13] Production.INFO: ==4285== Releasing lock...
[2025-01-13 06:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:28:17] Production.INFO: count ==76
[2025-01-13 06:28:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:28:05 - End Time 2025-01-13 06:28:05
[2025-01-13 06:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237106', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237106', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237106', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237106', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:28:17] Production.INFO: ProcessCDR(1,14237106,1,1,2)
[2025-01-13 06:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237106', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237106', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:28:20] Production.INFO: ==4293== Releasing lock...
[2025-01-13 06:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:28:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:29:01] Production.INFO: ==4349== Lock acquired, processing the job...
[2025-01-13 11:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:29:01] Production.INFO: neon service started
[2025-01-13 11:29:01] Production.INFO: neon service started
[2025-01-13 11:29:01] Production.INFO: ==4349== Releasing lock...
[2025-01-13 11:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:29:01] Production.INFO: ==4351== Lock acquired, processing the job...
[2025-01-13 06:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:29:02] Production.INFO: ==4351== Releasing lock...
[2025-01-13 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:29:02] Production.INFO: ==4353== Lock acquired, processing the job...
[2025-01-13 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:29:02] Production.INFO: ==4353== Releasing lock...
[2025-01-13 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:29:03] Production.INFO: ==4358== Lock acquired, processing the job...
[2025-01-13 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:29:03] Production.INFO: ==4366== Lock acquired, processing the job...
[2025-01-13 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:29:03] Production.INFO: ==4356== Lock acquired, processing the job...
[2025-01-13 06:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:29:03] Production.INFO: ==4360== Lock acquired, processing the job...
[2025-01-13 06:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:29:03] Production.INFO: ==4358== Releasing lock...
[2025-01-13 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:29:03] Production.INFO: ==4362== Lock acquired, processing the job...
[2025-01-13 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 06:29:03] Production.INFO: ==4364== Lock acquired, processing the job...
[2025-01-13 06:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:29:03] Production.INFO: count ==21
[2025-01-13 06:29:03] Production.INFO: Account Balance Start.
[2025-01-13 06:29:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:29:03] Production.INFO: 117
[2025-01-13 06:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 06:29:03] Production.INFO: count ==21
[2025-01-13 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237108') start
[2025-01-13 06:29:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237108') end
[2025-01-13 06:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:29:03] Production.INFO: 1
[2025-01-13 06:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:29:03] Production.INFO: ==4366== Releasing lock...
[2025-01-13 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:29:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:29:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:29:04] Production.ERROR: done
[2025-01-13 06:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:29:04] Production.ERROR: done
[2025-01-13 06:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:29:04] Production.INFO: Total Charge 0
[2025-01-13 06:29:04] Production.INFO: CreateAllLog End
[2025-01-13 06:29:04] Production.INFO: Account Balance End.
[2025-01-13 06:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:29:04] Production.INFO: ==4362== Releasing lock...
[2025-01-13 06:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:29:05
[end_date_ymd] => 2025-01-13 06:29:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:29:05' and `end` < '2025-01-13 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-13 06:29:10] Production.ERROR: CronJobId end10
[2025-01-13 06:29:10] Production.INFO: ==4360== Releasing lock...
[2025-01-13 06:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:29:12] Production.INFO: call_cost start
[2025-01-13 06:29:12] Production.INFO: call_cost end
[2025-01-13 06:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:29:13] Production.INFO: ==4356== Releasing lock...
[2025-01-13 06:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:29:17] Production.INFO: count ==76
[2025-01-13 06:29:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:29:05 - End Time 2025-01-13 06:29:05
[2025-01-13 06:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237111', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237111', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237111', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237111', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:29:17] Production.INFO: ProcessCDR(1,14237111,1,1,2)
[2025-01-13 06:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237111', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237111', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:29:20] Production.INFO: ==4364== Releasing lock...
[2025-01-13 06:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:29:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:30:01] Production.INFO: ==4422== Lock acquired, processing the job...
[2025-01-13 11:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:30:01] Production.INFO: neon service started
[2025-01-13 11:30:01] Production.INFO: neon service started
[2025-01-13 11:30:01] Production.INFO: ==4422== Releasing lock...
[2025-01-13 11:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:30:02] Production.INFO: ==4424== Lock acquired, processing the job...
[2025-01-13 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:30:02] Production.INFO: ==4424== Releasing lock...
[2025-01-13 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:30:02] Production.INFO: ==4426== Lock acquired, processing the job...
[2025-01-13 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:30:02] Production.INFO: ==4426== Releasing lock...
[2025-01-13 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:30:03] Production.INFO: ==4432== Lock acquired, processing the job...
[2025-01-13 06:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:30:03] Production.INFO: ==4428== Lock acquired, processing the job...
[2025-01-13 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 06:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 06:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:30:03] Production.ERROR: CronJob PID - 4432
[2025-01-13 06:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 06:30:03] Production.ERROR: CronJob ID - 7
[2025-01-13 06:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 06:30:00
[2025-01-13 06:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 06:30:03] Production.INFO: ==4428== Releasing lock...
[2025-01-13 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 06:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 06:30:03] Production.INFO: ==4430== Lock acquired, processing the job...
[2025-01-13 06:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:30:03] Production.INFO: ==4436== Lock acquired, processing the job...
[2025-01-13 06:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:30:03] Production.INFO: ==4434== Lock acquired, processing the job...
[2025-01-13 06:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:30:03] Production.INFO: ==4443== Lock acquired, processing the job...
[2025-01-13 06:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:30:03] Production.INFO: ==4432== Releasing lock...
[2025-01-13 06:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:30:04] Production.INFO: ==4439== Lock acquired, processing the job...
[2025-01-13 06:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:30:04] Production.INFO: Account Balance Start.
[2025-01-13 06:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:30:04] Production.INFO: 117
[2025-01-13 06:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:30:04] Production.INFO: ==4441== Lock acquired, processing the job...
[2025-01-13 06:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 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-13 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:30:04] Production.INFO: count ==21
[2025-01-13 06:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 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-13 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:30:04] Production.INFO: count ==21
[2025-01-13 06:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237115') start
[2025-01-13 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237115') end
[2025-01-13 06:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:30:04] Production.INFO: 1
[2025-01-13 06:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:30:04] Production.ERROR: done
[2025-01-13 06:30:04] Production.ERROR: done
[2025-01-13 06:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:30:04] Production.INFO: ==4443== Releasing lock...
[2025-01-13 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 06:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237116', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 06:30:04] Production.INFO: Total Charge 0
[2025-01-13 06:30:04] Production.INFO: CreateAllLog End
[2025-01-13 06:30:04] Production.ERROR: done
[2025-01-13 06:30:04] Production.INFO: Account Balance End.
[2025-01-13 06:30:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:30:04] Production.INFO: ==4436== Releasing lock...
[2025-01-13 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:30:05
[end_date_ymd] => 2025-01-13 06:30:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:30:05' and `end` < '2025-01-13 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-13 06:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237116', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 06:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 06:30:08] Production.INFO: ProcessCDR(1,14237116,1,1,2)
[2025-01-13 06:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237116,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237116,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:30:08] Production.INFO: ==4441== Releasing lock...
[2025-01-13 06:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 06:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 06:30:13] Production.ERROR: CronJobId end10
[2025-01-13 06:30:13] Production.INFO: ==4434== Releasing lock...
[2025-01-13 06:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:30:15] Production.INFO: call_cost start
[2025-01-13 06:30:15] Production.INFO: call_cost end
[2025-01-13 06:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:30:16] Production.INFO: ==4430== Releasing lock...
[2025-01-13 06:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:30:18] Production.INFO: count ==76
[2025-01-13 06:30:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:30:05 - End Time 2025-01-13 06:30:05
[2025-01-13 06:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237117', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237117', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237117', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237117', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:30:18] Production.INFO: ProcessCDR(1,14237117,1,1,2)
[2025-01-13 06:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237117', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237117', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:30:21] Production.INFO: ==4439== Releasing lock...
[2025-01-13 06:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:30:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:31:01] Production.INFO: ==4496== Lock acquired, processing the job...
[2025-01-13 11:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:31:01] Production.INFO: neon service started
[2025-01-13 11:31:01] Production.INFO: neon service started
[2025-01-13 11:31:01] Production.INFO: ==4496== Releasing lock...
[2025-01-13 11:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:31:01] Production.INFO: ==4500== Lock acquired, processing the job...
[2025-01-13 11:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:31:01] Production.INFO: ==4500== Releasing lock...
[2025-01-13 11:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:31:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:31:02] Production.INFO: ==4498== Lock acquired, processing the job...
[2025-01-13 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:31:02] Production.INFO: ==4498== Releasing lock...
[2025-01-13 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:31:02] Production.INFO: ==4502== Lock acquired, processing the job...
[2025-01-13 06:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:31:03] Production.INFO: ==4506== Lock acquired, processing the job...
[2025-01-13 06:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:31:03] Production.INFO: ==4513== Lock acquired, processing the job...
[2025-01-13 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 06:31:03] Production.INFO: count ==21
[2025-01-13 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-13 06:31:03] Production.INFO: count ==21
[2025-01-13 06:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237119') start
[2025-01-13 06:31:03] Production.INFO: ==4504== Lock acquired, processing the job...
[2025-01-13 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237119') end
[2025-01-13 06:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:31:03] Production.INFO: 1
[2025-01-13 06:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:31:03] Production.INFO: ==4513== Releasing lock...
[2025-01-13 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:31:03] Production.INFO: ==4508== Lock acquired, processing the job...
[2025-01-13 06:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:31:03] Production.INFO: ==4511== Lock acquired, processing the job...
[2025-01-13 06:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:31:03] Production.INFO: Account Balance Start.
[2025-01-13 06:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:31:03] Production.INFO: 117
[2025-01-13 06:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:31:03] Production.ERROR: done
[2025-01-13 06:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:31:03] Production.INFO: ==4504== Releasing lock...
[2025-01-13 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:31:04] Production.ERROR: done
[2025-01-13 06:31:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:31:04] Production.INFO: Total Charge 0
[2025-01-13 06:31:04] Production.INFO: CreateAllLog End
[2025-01-13 06:31:04] Production.INFO: Account Balance End.
[2025-01-13 06:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:31:04] Production.INFO: ==4508== Releasing lock...
[2025-01-13 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:31:04
[end_date_ymd] => 2025-01-13 06:31:04
[RateCDR] => 1
)
[2025-01-13 06: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-13 03:31:04' and `end` < '2025-01-13 06: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-13 06:31:10] Production.ERROR: CronJobId end10
[2025-01-13 06:31:10] Production.INFO: ==4506== Releasing lock...
[2025-01-13 06:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:31:13] Production.INFO: call_cost start
[2025-01-13 06:31:13] Production.INFO: call_cost end
[2025-01-13 06:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:31:14] Production.INFO: ==4502== Releasing lock...
[2025-01-13 06:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:31:17] Production.INFO: count ==76
[2025-01-13 06:31:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:31:04 - End Time 2025-01-13 06:31:04
[2025-01-13 06:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237122', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237122', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237122', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237122', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:31:17] Production.INFO: ProcessCDR(1,14237122,1,1,2)
[2025-01-13 06:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237122', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237122', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:31:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:31:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:31:20] Production.INFO: ==4511== Releasing lock...
[2025-01-13 06:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:31:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:32:02] Production.INFO: ==4566== Lock acquired, processing the job...
[2025-01-13 11:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:32:02] Production.INFO: neon service started
[2025-01-13 11:32:02] Production.INFO: neon service started
[2025-01-13 11:32:02] Production.INFO: ==4566== Releasing lock...
[2025-01-13 11:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:32:02] Production.INFO: ==4569== Lock acquired, processing the job...
[2025-01-13 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:32:02] Production.INFO: ==4571== Lock acquired, processing the job...
[2025-01-13 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:32:02] Production.INFO: ==4571== Releasing lock...
[2025-01-13 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:32:03] Production.INFO: ==4569== Releasing lock...
[2025-01-13 06:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:32:03] Production.INFO: ==4578== Lock acquired, processing the job...
[2025-01-13 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:32:03] Production.INFO: ==4582== Lock acquired, processing the job...
[2025-01-13 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:32:04] Production.INFO: ==4588== Lock acquired, processing the job...
[2025-01-13 06:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:32:04] Production.INFO: ==4584== Lock acquired, processing the job...
[2025-01-13 06:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:32:04] Production.INFO: ==4586== Lock acquired, processing the job...
[2025-01-13 06:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:32:04] Production.INFO: ==4590== Lock acquired, processing the job...
[2025-01-13 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:32:04] Production.ERROR: done
[2025-01-13 06:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:32:04] Production.INFO: Account Balance Start.
[2025-01-13 06:32:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:32:04] Production.INFO: 117
[2025-01-13 06:32:04] Production.INFO: ==4582== Releasing lock...
[2025-01-13 06:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:32:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:32:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:32:04] Production.ERROR: done
[2025-01-13 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-13 06:32:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:32:04] Production.INFO: count ==21
[2025-01-13 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:32:04] Production.INFO: count ==21
[2025-01-13 06:32:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237126') start
[2025-01-13 06:32:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:32:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:32:04] Production.INFO: Total Charge 0
[2025-01-13 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237126') end
[2025-01-13 06:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:32:04] Production.INFO: 1
[2025-01-13 06:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:32:05] Production.INFO: CreateAllLog End
[2025-01-13 06:32:05] Production.INFO: Account Balance End.
[2025-01-13 06:32:05] Production.INFO: ==4590== Releasing lock...
[2025-01-13 06:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:32:05] Production.ERROR: CronJobId end 12
[2025-01-13 06:32:05] Production.INFO: ==4586== Releasing lock...
[2025-01-13 06:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:32:05
[end_date_ymd] => 2025-01-13 06:32:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:32:05' and `end` < '2025-01-13 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-13 06:32:11] Production.ERROR: CronJobId end10
[2025-01-13 06:32:11] Production.INFO: ==4584== Releasing lock...
[2025-01-13 06:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:32:13] Production.INFO: call_cost start
[2025-01-13 06:32:13] Production.INFO: call_cost end
[2025-01-13 06:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:32:14] Production.INFO: ==4578== Releasing lock...
[2025-01-13 06:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:32:19] Production.INFO: count ==76
[2025-01-13 06:32:19] Production.ERROR: pbx CDR StartTime 2025-01-13 03:32:05 - End Time 2025-01-13 06:32:05
[2025-01-13 06:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237127', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237127', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237127', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237127', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:32:19] Production.INFO: ProcessCDR(1,14237127,1,1,2)
[2025-01-13 06:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237127', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237127', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:32:22] Production.INFO: ==4588== Releasing lock...
[2025-01-13 06:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:32:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:33:01] Production.INFO: ==4646== Lock acquired, processing the job...
[2025-01-13 11:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:33:01] Production.INFO: neon service started
[2025-01-13 11:33:01] Production.INFO: neon service started
[2025-01-13 11:33:01] Production.INFO: ==4646== Releasing lock...
[2025-01-13 11:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:33:02] Production.INFO: ==4648== Lock acquired, processing the job...
[2025-01-13 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:33:02] Production.INFO: ==4650== Lock acquired, processing the job...
[2025-01-13 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:33:02] Production.INFO: ==4650== Releasing lock...
[2025-01-13 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:33:02] Production.INFO: ==4648== Releasing lock...
[2025-01-13 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:33:03] Production.INFO: ==4663== Lock acquired, processing the job...
[2025-01-13 06:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:33:03] Production.INFO: ==4661== Lock acquired, processing the job...
[2025-01-13 06:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:33:03] Production.INFO: ==4653== Lock acquired, processing the job...
[2025-01-13 06:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:33:03] Production.INFO: ==4655== Lock acquired, processing the job...
[2025-01-13 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 06:33:03] Production.INFO: ==4657== Lock acquired, processing the job...
[2025-01-13 06:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:33:03] Production.INFO: ==4659== Lock acquired, processing the job...
[2025-01-13 06:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:33:03] Production.INFO: count ==21
[2025-01-13 06:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 06:33:03] Production.INFO: count ==21
[2025-01-13 06:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237128') start
[2025-01-13 06:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:33:03] Production.INFO: Account Balance Start.
[2025-01-13 06:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:33:04] Production.INFO: 117
[2025-01-13 06:33:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:33:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:33:04] Production.ERROR: done
[2025-01-13 06:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:33:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237128') end
[2025-01-13 06:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:33:04] Production.INFO: 1
[2025-01-13 06:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:33:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:33:04] Production.INFO: ==4663== Releasing lock...
[2025-01-13 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:33:04] Production.ERROR: done
[2025-01-13 06:33:04] Production.INFO: Total Charge 0
[2025-01-13 06:33:04] Production.INFO: CreateAllLog End
[2025-01-13 06:33:04] Production.INFO: ==4655== Releasing lock...
[2025-01-13 06:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:33:04] Production.INFO: Account Balance End.
[2025-01-13 06:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:33:04] Production.INFO: ==4659== Releasing lock...
[2025-01-13 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:33:05
[end_date_ymd] => 2025-01-13 06:33:05
[RateCDR] => 1
)
[2025-01-13 06:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:33:05' and `end` < '2025-01-13 06:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:33:10] Production.ERROR: CronJobId end10
[2025-01-13 06:33:10] Production.INFO: ==4657== Releasing lock...
[2025-01-13 06:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:33:13] Production.INFO: call_cost start
[2025-01-13 06:33:13] Production.INFO: call_cost end
[2025-01-13 06:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:33:14] Production.INFO: ==4653== Releasing lock...
[2025-01-13 06:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:33:17] Production.INFO: count ==76
[2025-01-13 06:33:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:33:05 - End Time 2025-01-13 06:33:05
[2025-01-13 06:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237132', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237132', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237132', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237132', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:33:17] Production.INFO: ProcessCDR(1,14237132,1,1,2)
[2025-01-13 06:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237132', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237132', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:33:21] Production.INFO: ==4661== Releasing lock...
[2025-01-13 06:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:33:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:34:02] Production.INFO: ==4718== Lock acquired, processing the job...
[2025-01-13 11:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:34:02] Production.INFO: neon service started
[2025-01-13 11:34:02] Production.INFO: neon service started
[2025-01-13 11:34:02] Production.INFO: ==4718== Releasing lock...
[2025-01-13 11:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:34:02] Production.INFO: ==4720== Lock acquired, processing the job...
[2025-01-13 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:34:02] Production.INFO: ==4720== Releasing lock...
[2025-01-13 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:34:02] Production.INFO: ==4722== Lock acquired, processing the job...
[2025-01-13 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:34:02] Production.INFO: ==4722== Releasing lock...
[2025-01-13 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:34:03] Production.INFO: ==4726== Lock acquired, processing the job...
[2025-01-13 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:34:03] Production.INFO: ==4724== Lock acquired, processing the job...
[2025-01-13 06:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:34:03] Production.INFO: ==4735== Lock acquired, processing the job...
[2025-01-13 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:34:03] Production.INFO: ==4728== Lock acquired, processing the job...
[2025-01-13 06:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:34:03] Production.INFO: count ==21
[2025-01-13 06:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:34:03] Production.INFO: count ==21
[2025-01-13 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237135') start
[2025-01-13 06:34:03] Production.INFO: ==4730== Lock acquired, processing the job...
[2025-01-13 06:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:34:03] Production.INFO: ==4726== Releasing lock...
[2025-01-13 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:34:03] Production.INFO: Account Balance Start.
[2025-01-13 06:34:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237135') end
[2025-01-13 06:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:34:03] Production.INFO: 117
[2025-01-13 06:34:03] Production.INFO: 1
[2025-01-13 06:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:34:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:34:04] Production.INFO: ==4732== Lock acquired, processing the job...
[2025-01-13 06:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:34:04] Production.INFO: ==4735== Releasing lock...
[2025-01-13 06:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:34:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:34:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:34:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:34:04] Production.INFO: Total Charge 0
[2025-01-13 06:34:04] Production.INFO: CreateAllLog End
[2025-01-13 06:34:04] Production.ERROR: done
[2025-01-13 06:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:34:04] Production.INFO: Account Balance End.
[2025-01-13 06:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:34:04] Production.INFO: ==4730== Releasing lock...
[2025-01-13 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:34:04] Production.ERROR: done
[2025-01-13 06:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:34:05
[end_date_ymd] => 2025-01-13 06:34:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:34:05' and `end` < '2025-01-13 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-13 06:34:11] Production.ERROR: CronJobId end10
[2025-01-13 06:34:11] Production.INFO: ==4728== Releasing lock...
[2025-01-13 06:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:34:14] Production.INFO: call_cost start
[2025-01-13 06:34:14] Production.INFO: call_cost end
[2025-01-13 06:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:34:15] Production.INFO: ==4724== Releasing lock...
[2025-01-13 06:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:34:19] Production.INFO: count ==76
[2025-01-13 06:34:19] Production.ERROR: pbx CDR StartTime 2025-01-13 03:34:05 - End Time 2025-01-13 06:34:05
[2025-01-13 06:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237137', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237137', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237137', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237137', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:34:19] Production.INFO: ProcessCDR(1,14237137,1,1,2)
[2025-01-13 06:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237137', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237137', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:34:22] Production.INFO: ==4732== Releasing lock...
[2025-01-13 06:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:34:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:35:01] Production.INFO: ==4789== Lock acquired, processing the job...
[2025-01-13 11:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:35:01] Production.INFO: neon service started
[2025-01-13 11:35:01] Production.INFO: neon service started
[2025-01-13 11:35:01] Production.INFO: ==4789== Releasing lock...
[2025-01-13 11:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:35:01] Production.INFO: ==4793== Lock acquired, processing the job...
[2025-01-13 11:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:35:01] Production.INFO: ==4793== Releasing lock...
[2025-01-13 11:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:35:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:35:02] Production.INFO: ==4791== Lock acquired, processing the job...
[2025-01-13 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:35:02] Production.INFO: ==4791== Releasing lock...
[2025-01-13 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:35:03] Production.INFO: ==4801== Lock acquired, processing the job...
[2025-01-13 06:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:35:03] Production.INFO: ==4806== Lock acquired, processing the job...
[2025-01-13 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:35:03] Production.INFO: Account Balance Start.
[2025-01-13 06:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:35:03] Production.INFO: 117
[2025-01-13 06:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:35:03] Production.INFO: ==4795== Lock acquired, processing the job...
[2025-01-13 06:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 06:35:03] Production.INFO: ==4799== Lock acquired, processing the job...
[2025-01-13 06:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:35:03] Production.INFO: ==4797== Lock acquired, processing the job...
[2025-01-13 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:35:03] Production.INFO: count ==21
[2025-01-13 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-13 06:35:03] Production.INFO: count ==21
[2025-01-13 06:35:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:35:03] Production.INFO: ==4804== Lock acquired, processing the job...
[2025-01-13 06:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237139') start
[2025-01-13 06:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:35:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:35:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:35:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237139') end
[2025-01-13 06:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:35:03] Production.INFO: 1
[2025-01-13 06:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:35:03] Production.INFO: Total Charge 0
[2025-01-13 06:35:03] Production.INFO: CreateAllLog End
[2025-01-13 06:35:03] Production.INFO: ==4806== Releasing lock...
[2025-01-13 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:35:03] Production.INFO: ==4797== Releasing lock...
[2025-01-13 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:35:03] Production.ERROR: done
[2025-01-13 06:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:35:04] Production.INFO: Account Balance End.
[2025-01-13 06:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:35:04] Production.INFO: ==4801== Releasing lock...
[2025-01-13 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:35:04] Production.ERROR: done
[2025-01-13 06:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:35:05
[end_date_ymd] => 2025-01-13 06:35:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:35:05' and `end` < '2025-01-13 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-13 06:35:11] Production.ERROR: CronJobId end10
[2025-01-13 06:35:11] Production.INFO: ==4799== Releasing lock...
[2025-01-13 06:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:35:13] Production.INFO: call_cost start
[2025-01-13 06:35:13] Production.INFO: call_cost end
[2025-01-13 06:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:35:13] Production.INFO: ==4795== Releasing lock...
[2025-01-13 06:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:35:17] Production.INFO: count ==76
[2025-01-13 06:35:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:35:05 - End Time 2025-01-13 06:35:05
[2025-01-13 06:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237142', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237142', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237142', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237142', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:35:17] Production.INFO: ProcessCDR(1,14237142,1,1,2)
[2025-01-13 06:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237142', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237142', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:35:20] Production.INFO: ==4804== Releasing lock...
[2025-01-13 06:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:35:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:36:01] Production.INFO: ==4859== Lock acquired, processing the job...
[2025-01-13 11:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:36:01] Production.INFO: neon service started
[2025-01-13 11:36:01] Production.INFO: neon service started
[2025-01-13 11:36:01] Production.INFO: ==4859== Releasing lock...
[2025-01-13 11:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:36:02] Production.INFO: ==4863== Lock acquired, processing the job...
[2025-01-13 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:36:02] Production.INFO: ==4863== Releasing lock...
[2025-01-13 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:36:02] Production.INFO: ==4861== Lock acquired, processing the job...
[2025-01-13 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:36:02] Production.INFO: ==4861== Releasing lock...
[2025-01-13 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:36:03] Production.INFO: ==4868== Lock acquired, processing the job...
[2025-01-13 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:36:03] Production.INFO: ==4866== Lock acquired, processing the job...
[2025-01-13 06:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:36:03] Production.INFO: ==4870== Lock acquired, processing the job...
[2025-01-13 06:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:36:03] Production.INFO: ==4872== Lock acquired, processing the job...
[2025-01-13 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:36:03] Production.INFO: ==4874== Lock acquired, processing the job...
[2025-01-13 06:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:36:03] Production.INFO: Account Balance Start.
[2025-01-13 06:36:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:36:03] Production.INFO: 117
[2025-01-13 06:36:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:36:03] Production.INFO: ==4876== Lock acquired, processing the job...
[2025-01-13 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:36:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:36:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:36:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:36:03] Production.INFO: ==4868== Releasing lock...
[2025-01-13 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:36:04] Production.INFO: count ==21
[2025-01-13 06:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:36:04] Production.INFO: count ==21
[2025-01-13 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237146') start
[2025-01-13 06:36:04] Production.ERROR: done
[2025-01-13 06:36:04] Production.INFO: Total Charge 0
[2025-01-13 06:36:04] Production.INFO: CreateAllLog End
[2025-01-13 06:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237146') end
[2025-01-13 06:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:36:04] Production.INFO: 1
[2025-01-13 06:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:36:04] Production.INFO: ==4876== Releasing lock...
[2025-01-13 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:36:04] Production.ERROR: done
[2025-01-13 06:36:04] Production.INFO: Account Balance End.
[2025-01-13 06:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:36:04] Production.INFO: ==4872== Releasing lock...
[2025-01-13 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:36:05
[end_date_ymd] => 2025-01-13 06:36:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:36:05' and `end` < '2025-01-13 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-13 06:36:11] Production.ERROR: CronJobId end10
[2025-01-13 06:36:11] Production.INFO: ==4870== Releasing lock...
[2025-01-13 06:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:36:14] Production.INFO: call_cost start
[2025-01-13 06:36:14] Production.INFO: call_cost end
[2025-01-13 06:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:36:14] Production.INFO: ==4866== Releasing lock...
[2025-01-13 06:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:36:18] Production.INFO: count ==76
[2025-01-13 06:36:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:36:05 - End Time 2025-01-13 06:36:05
[2025-01-13 06:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237147', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237147', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237147', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237147', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:36:18] Production.INFO: ProcessCDR(1,14237147,1,1,2)
[2025-01-13 06:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237147', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237147', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:36:21] Production.INFO: ==4874== Releasing lock...
[2025-01-13 06:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:36:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:37:01] Production.INFO: ==4929== Lock acquired, processing the job...
[2025-01-13 11:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:37:01] Production.INFO: neon service started
[2025-01-13 11:37:01] Production.INFO: neon service started
[2025-01-13 11:37:01] Production.INFO: ==4929== Releasing lock...
[2025-01-13 11:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:37:01] Production.INFO: ==4931== Lock acquired, processing the job...
[2025-01-13 06:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:37:02] Production.INFO: ==4931== Releasing lock...
[2025-01-13 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:37:02] Production.INFO: ==4933== Lock acquired, processing the job...
[2025-01-13 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:37:02] Production.INFO: ==4933== Releasing lock...
[2025-01-13 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:37:02] Production.INFO: ==4937== Lock acquired, processing the job...
[2025-01-13 06:37:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:37:03] Production.INFO: ==4941== Lock acquired, processing the job...
[2025-01-13 06:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:37:03] Production.INFO: ==4935== Lock acquired, processing the job...
[2025-01-13 06:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:37:03] Production.INFO: Account Balance Start.
[2025-01-13 06:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:37:03] Production.INFO: 117
[2025-01-13 06:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:37:03] Production.INFO: ==4937== Releasing lock...
[2025-01-13 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:37:03] Production.INFO: ==4939== Lock acquired, processing the job...
[2025-01-13 06:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:37:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:37:03] Production.INFO: ==4943== Lock acquired, processing the job...
[2025-01-13 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:37:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:37:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:37:03] Production.INFO: ==4945== Lock acquired, processing the job...
[2025-01-13 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:37:03] Production.INFO: Total Charge 0
[2025-01-13 06:37:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 06:37:03] Production.INFO: count ==21
[2025-01-13 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-13 06:37:03] Production.INFO: count ==21
[2025-01-13 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237151') start
[2025-01-13 06:37:03] Production.INFO: Account Balance End.
[2025-01-13 06:37:03] Production.ERROR: done
[2025-01-13 06:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:37:03] Production.ERROR: done
[2025-01-13 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237151') end
[2025-01-13 06:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:37:03] Production.INFO: 1
[2025-01-13 06:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:37:03] Production.ERROR: CronJobId end 12
[2025-01-13 06:37:03] Production.INFO: ==4941== Releasing lock...
[2025-01-13 06:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:37:03] Production.INFO: ==4945== Releasing lock...
[2025-01-13 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:37:04
[end_date_ymd] => 2025-01-13 06:37:04
[RateCDR] => 1
)
[2025-01-13 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-13 03:37:04' and `end` < '2025-01-13 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-13 06:37:10] Production.ERROR: CronJobId end10
[2025-01-13 06:37:10] Production.INFO: ==4939== Releasing lock...
[2025-01-13 06:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:37:13] Production.INFO: call_cost start
[2025-01-13 06:37:13] Production.INFO: call_cost end
[2025-01-13 06:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:37:13] Production.INFO: ==4935== Releasing lock...
[2025-01-13 06:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:37:18] Production.INFO: count ==76
[2025-01-13 06:37:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:37:04 - End Time 2025-01-13 06:37:04
[2025-01-13 06:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237152', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237152', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237152', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237152', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:37:18] Production.INFO: ProcessCDR(1,14237152,1,1,2)
[2025-01-13 06:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237152', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237152', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:37:21] Production.INFO: ==4943== Releasing lock...
[2025-01-13 06:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:37:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:38:01] Production.INFO: ==5001== Lock acquired, processing the job...
[2025-01-13 11:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:38:01] Production.INFO: neon service started
[2025-01-13 11:38:01] Production.INFO: neon service started
[2025-01-13 11:38:01] Production.INFO: ==5001== Releasing lock...
[2025-01-13 11:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:38:02] Production.INFO: ==5004== Lock acquired, processing the job...
[2025-01-13 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:38:02] Production.INFO: ==5006== Lock acquired, processing the job...
[2025-01-13 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:38:02] Production.INFO: ==5006== Releasing lock...
[2025-01-13 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:38:02] Production.INFO: ==5004== Releasing lock...
[2025-01-13 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:38:03] Production.INFO: ==5008== Lock acquired, processing the job...
[2025-01-13 06:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:38:03] Production.INFO: ==5010== Lock acquired, processing the job...
[2025-01-13 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:38:03] Production.INFO: ==5012== Lock acquired, processing the job...
[2025-01-13 06:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:38:03] Production.INFO: ==5014== Lock acquired, processing the job...
[2025-01-13 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:38:03] Production.INFO: ==5016== Lock acquired, processing the job...
[2025-01-13 06:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:38:03] Production.INFO: ==5018== Lock acquired, processing the job...
[2025-01-13 06:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:38:03] Production.INFO: Account Balance Start.
[2025-01-13 06:38:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:38:03] Production.INFO: 117
[2025-01-13 06:38:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:38:03] Production.INFO: ==5010== Releasing lock...
[2025-01-13 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:38:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:38:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 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-13 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:38:04] Production.INFO: count ==21
[2025-01-13 06:38:04] Production.ERROR: done
[2025-01-13 06:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 06:38:04] Production.INFO: count ==21
[2025-01-13 06:38:04] Production.INFO: Total Charge 0
[2025-01-13 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237156') start
[2025-01-13 06:38:04] Production.INFO: CreateAllLog End
[2025-01-13 06:38:04] Production.ERROR: done
[2025-01-13 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237156') end
[2025-01-13 06:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:38:04] Production.INFO: 1
[2025-01-13 06:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:38:04] Production.INFO: Account Balance End.
[2025-01-13 06:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:38:04] Production.INFO: ==5014== Releasing lock...
[2025-01-13 06:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:38:04] Production.INFO: ==5018== Releasing lock...
[2025-01-13 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:38:05
[end_date_ymd] => 2025-01-13 06:38:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:38:05' and `end` < '2025-01-13 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-13 06:38:11] Production.ERROR: CronJobId end10
[2025-01-13 06:38:11] Production.INFO: ==5012== Releasing lock...
[2025-01-13 06:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:38:13] Production.INFO: call_cost start
[2025-01-13 06:38:13] Production.INFO: call_cost end
[2025-01-13 06:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:38:14] Production.INFO: ==5008== Releasing lock...
[2025-01-13 06:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:38:18] Production.INFO: count ==76
[2025-01-13 06:38:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:38:05 - End Time 2025-01-13 06:38:05
[2025-01-13 06:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237157', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237157', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237157', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237157', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:38:18] Production.INFO: ProcessCDR(1,14237157,1,1,2)
[2025-01-13 06:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237157', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237157', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:38:21] Production.INFO: ==5016== Releasing lock...
[2025-01-13 06:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:38:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:39:02] Production.INFO: ==5077== Lock acquired, processing the job...
[2025-01-13 11:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:39:02] Production.INFO: neon service started
[2025-01-13 11:39:02] Production.INFO: neon service started
[2025-01-13 11:39:02] Production.INFO: ==5077== Releasing lock...
[2025-01-13 11:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:39:02] Production.INFO: ==5079== Lock acquired, processing the job...
[2025-01-13 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:39:02] Production.INFO: ==5082== Lock acquired, processing the job...
[2025-01-13 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:39:02] Production.INFO: ==5082== Releasing lock...
[2025-01-13 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:39:03] Production.INFO: ==5079== Releasing lock...
[2025-01-13 06:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:39:03] Production.INFO: ==5084== Lock acquired, processing the job...
[2025-01-13 06:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:39:03] Production.INFO: ==5086== Lock acquired, processing the job...
[2025-01-13 06:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:39:04] Production.INFO: ==5092== Lock acquired, processing the job...
[2025-01-13 06:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:39:04] Production.INFO: ==5088== Lock acquired, processing the job...
[2025-01-13 06:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:39:04] Production.INFO: ==5086== Releasing lock...
[2025-01-13 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:39:04] Production.INFO: ==5090== Lock acquired, processing the job...
[2025-01-13 06:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:39:04] Production.INFO: ==5094== Lock acquired, processing the job...
[2025-01-13 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:39:04] Production.INFO: Account Balance Start.
[2025-01-13 06:39:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:39:04] Production.INFO: 117
[2025-01-13 06:39:04] Production.ERROR: done
[2025-01-13 06:39:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:39:04] Production.INFO: count ==21
[2025-01-13 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-13 06:39:04] Production.INFO: count ==21
[2025-01-13 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237161') start
[2025-01-13 06:39:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:39:04] Production.ERROR: done
[2025-01-13 06:39:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237161') end
[2025-01-13 06:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:39:04] Production.INFO: 1
[2025-01-13 06:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:39:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:39:04] Production.INFO: ==5094== Releasing lock...
[2025-01-13 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:39:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:39:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:39:04] Production.INFO: Total Charge 0
[2025-01-13 06:39:04] Production.INFO: CreateAllLog End
[2025-01-13 06:39:05] Production.INFO: Account Balance End.
[2025-01-13 06:39:05] Production.ERROR: CronJobId end 12
[2025-01-13 06:39:05] Production.INFO: ==5090== Releasing lock...
[2025-01-13 06:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:39:05
[end_date_ymd] => 2025-01-13 06:39:05
[RateCDR] => 1
)
[2025-01-13 06:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:39:05' and `end` < '2025-01-13 06:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:39:11] Production.ERROR: CronJobId end10
[2025-01-13 06:39:11] Production.INFO: ==5088== Releasing lock...
[2025-01-13 06:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:39:13] Production.INFO: call_cost start
[2025-01-13 06:39:13] Production.INFO: call_cost end
[2025-01-13 06:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:39:14] Production.INFO: ==5084== Releasing lock...
[2025-01-13 06:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:39:18] Production.INFO: count ==76
[2025-01-13 06:39:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:39:05 - End Time 2025-01-13 06:39:05
[2025-01-13 06:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237162', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237162', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237162', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237162', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:39:18] Production.INFO: ProcessCDR(1,14237162,1,1,2)
[2025-01-13 06:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237162', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237162', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:39:21] Production.INFO: ==5092== Releasing lock...
[2025-01-13 06:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:39:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:40:01] Production.INFO: ==5150== Lock acquired, processing the job...
[2025-01-13 11:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:40:01] Production.INFO: neon service started
[2025-01-13 11:40:01] Production.INFO: neon service started
[2025-01-13 11:40:01] Production.INFO: ==5150== Releasing lock...
[2025-01-13 11:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:40:02] Production.INFO: ==5154== Lock acquired, processing the job...
[2025-01-13 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:40:02] Production.INFO: ==5154== Releasing lock...
[2025-01-13 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:40:02] Production.INFO: ==5152== Lock acquired, processing the job...
[2025-01-13 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:40:02] Production.INFO: ==5152== Releasing lock...
[2025-01-13 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:40:03] Production.INFO: ==5157== Lock acquired, processing the job...
[2025-01-13 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 06:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 06:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 06:40:03] Production.INFO: ==5157== Releasing lock...
[2025-01-13 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 06:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 06:40:03] Production.INFO: ==5161== Lock acquired, processing the job...
[2025-01-13 06:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:40:03] Production.INFO: ==5163== Lock acquired, processing the job...
[2025-01-13 06:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:40:03] Production.INFO: ==5159== Lock acquired, processing the job...
[2025-01-13 06:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:40:03] Production.INFO: ==5167== Lock acquired, processing the job...
[2025-01-13 06:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:40:03] Production.INFO: ==5165== Lock acquired, processing the job...
[2025-01-13 06:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:40:04] Production.INFO: ==5161== Releasing lock...
[2025-01-13 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:40:04] Production.INFO: ==5169== Lock acquired, processing the job...
[2025-01-13 06:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 06:40:04] Production.INFO: Account Balance Start.
[2025-01-13 06:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:40:04] Production.INFO: 117
[2025-01-13 06:40:04] Production.INFO: ==5171== Lock acquired, processing the job...
[2025-01-13 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:40:04] Production.ERROR: done
[2025-01-13 06:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:40:04] Production.ERROR: done
[2025-01-13 06:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:40:04] Production.INFO: count ==21
[2025-01-13 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-13 06:40:04] Production.INFO: count ==21
[2025-01-13 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237166') start
[2025-01-13 06:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:40:04] Production.ERROR: done
[2025-01-13 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:40:04] Production.INFO: Total Charge 0
[2025-01-13 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237166') end
[2025-01-13 06:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:40:04] Production.INFO: 1
[2025-01-13 06:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:40:04] Production.INFO: CreateAllLog End
[2025-01-13 06:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 06:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237168', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 06:40:04] Production.INFO: ==5171== Releasing lock...
[2025-01-13 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:40:04] Production.INFO: Account Balance End.
[2025-01-13 06:40:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:40:04] Production.INFO: ==5165== Releasing lock...
[2025-01-13 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:40:05
[end_date_ymd] => 2025-01-13 06:40:05
[RateCDR] => 1
)
[2025-01-13 06:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:40:05' and `end` < '2025-01-13 06:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237168', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 06:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 06:40:08] Production.INFO: ProcessCDR(1,14237168,1,1,2)
[2025-01-13 06:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237168,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237168,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:40:08] Production.INFO: ==5169== Releasing lock...
[2025-01-13 06:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 06:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 06:40:13] Production.ERROR: CronJobId end10
[2025-01-13 06:40:13] Production.INFO: ==5163== Releasing lock...
[2025-01-13 06:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:40:15] Production.INFO: call_cost start
[2025-01-13 06:40:15] Production.INFO: call_cost end
[2025-01-13 06:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:40:15] Production.INFO: ==5159== Releasing lock...
[2025-01-13 06:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:40:18] Production.INFO: count ==78
[2025-01-13 06:40:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:40:05 - End Time 2025-01-13 06:40:05
[2025-01-13 06:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237167', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237167', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237167', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237167', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:40:18] Production.INFO: ProcessCDR(1,14237167,1,1,2)
[2025-01-13 06:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:40:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:40:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237167', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237167', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:40:21] Production.INFO: ==5167== Releasing lock...
[2025-01-13 06:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:40:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:41:02] Production.INFO: ==5229== Lock acquired, processing the job...
[2025-01-13 11:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:41:02] Production.INFO: neon service started
[2025-01-13 11:41:02] Production.INFO: neon service started
[2025-01-13 11:41:02] Production.INFO: ==5229== Releasing lock...
[2025-01-13 11:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:41:02] Production.INFO: ==5231== Lock acquired, processing the job...
[2025-01-13 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:41:02] Production.INFO: ==5233== Lock acquired, processing the job...
[2025-01-13 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:41:02] Production.INFO: ==5233== Releasing lock...
[2025-01-13 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:41:02] Production.INFO: ==5231== Releasing lock...
[2025-01-13 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:41:03] Production.INFO: ==5235== Lock acquired, processing the job...
[2025-01-13 06:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:41:03] Production.INFO: ==5243== Lock acquired, processing the job...
[2025-01-13 06:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:41:03] Production.INFO: ==5245== Lock acquired, processing the job...
[2025-01-13 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:41:03] Production.INFO: ==5237== Lock acquired, processing the job...
[2025-01-13 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:41:03] Production.INFO: ==5239== Lock acquired, processing the job...
[2025-01-13 06:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 06:41:03] Production.INFO: ==5241== Lock acquired, processing the job...
[2025-01-13 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:41:03] Production.INFO: count ==21
[2025-01-13 06:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 06:41:03] Production.INFO: Account Balance Start.
[2025-01-13 06:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:41:03] Production.INFO: count ==21
[2025-01-13 06:41:03] Production.INFO: 117
[2025-01-13 06:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237171') start
[2025-01-13 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:41:04] Production.ERROR: done
[2025-01-13 06:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:41:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:41:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:41:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237171') end
[2025-01-13 06:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:41:04] Production.INFO: 1
[2025-01-13 06:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:41:04] Production.INFO: ==5237== Releasing lock...
[2025-01-13 06:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:41:04] Production.ERROR: done
[2025-01-13 06:41:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:41:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:41:04] Production.INFO: ==5245== Releasing lock...
[2025-01-13 06:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:41:04] Production.INFO: Total Charge 0
[2025-01-13 06:41:04] Production.INFO: CreateAllLog End
[2025-01-13 06:41:04] Production.INFO: Account Balance End.
[2025-01-13 06:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:41:04] Production.INFO: ==5241== Releasing lock...
[2025-01-13 06:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:41:05
[end_date_ymd] => 2025-01-13 06:41:05
[RateCDR] => 1
)
[2025-01-13 06:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:41:05' and `end` < '2025-01-13 06:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:41:11] Production.ERROR: CronJobId end10
[2025-01-13 06:41:11] Production.INFO: ==5239== Releasing lock...
[2025-01-13 06:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:41:13] Production.INFO: call_cost start
[2025-01-13 06:41:13] Production.INFO: call_cost end
[2025-01-13 06:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:41:14] Production.INFO: ==5235== Releasing lock...
[2025-01-13 06:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:41:17] Production.INFO: count ==78
[2025-01-13 06:41:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:41:05 - End Time 2025-01-13 06:41:05
[2025-01-13 06:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237173', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237173', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237173', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237173', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:41:17] Production.INFO: ProcessCDR(1,14237173,1,1,2)
[2025-01-13 06:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237173', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237173', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:41:20] Production.INFO: ==5243== Releasing lock...
[2025-01-13 06:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:41:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:42:01] Production.INFO: ==5342== Lock acquired, processing the job...
[2025-01-13 11:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:42:01] Production.INFO: neon service started
[2025-01-13 11:42:01] Production.INFO: neon service started
[2025-01-13 11:42:01] Production.INFO: ==5342== Releasing lock...
[2025-01-13 11:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:42:01] Production.INFO: ==5344== Lock acquired, processing the job...
[2025-01-13 06:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:42:02] Production.INFO: ==5344== Releasing lock...
[2025-01-13 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:42:02] Production.INFO: ==5346== Lock acquired, processing the job...
[2025-01-13 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:42:02] Production.INFO: ==5346== Releasing lock...
[2025-01-13 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:42:02] Production.INFO: 26 MB #Memory Used#
[2025-01-13 06:42:03] Production.INFO: ==5357== Lock acquired, processing the job...
[2025-01-13 06:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:42:03] Production.INFO: ==5353== Lock acquired, processing the job...
[2025-01-13 06:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:42:03] Production.INFO: ==5351== Lock acquired, processing the job...
[2025-01-13 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:42:03] Production.INFO: ==5349== Lock acquired, processing the job...
[2025-01-13 06:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:42:03] Production.INFO: ==5355== Lock acquired, processing the job...
[2025-01-13 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:42:03] Production.INFO: ==5359== Lock acquired, processing the job...
[2025-01-13 06:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:42:03] Production.INFO: Account Balance Start.
[2025-01-13 06:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:42:03] Production.INFO: 117
[2025-01-13 06:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:42:03] Production.ERROR: done
[2025-01-13 06:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 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-13 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:42:03] Production.INFO: count ==21
[2025-01-13 06:42:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:42:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:42:03] Production.INFO: ==5351== Releasing lock...
[2025-01-13 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:42:03] Production.INFO: count ==21
[2025-01-13 06:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237177') start
[2025-01-13 06:42:03] Production.ERROR: done
[2025-01-13 06:42:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:42:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:42:03] Production.INFO: Total Charge 0
[2025-01-13 06:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237177') end
[2025-01-13 06:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:42:03] Production.INFO: 1
[2025-01-13 06:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:42:03] Production.INFO: CreateAllLog End
[2025-01-13 06:42:03] Production.INFO: ==5359== Releasing lock...
[2025-01-13 06:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:42:03] Production.INFO: Account Balance End.
[2025-01-13 06:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:42:04] Production.INFO: ==5355== Releasing lock...
[2025-01-13 06:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:42:04
[end_date_ymd] => 2025-01-13 06:42:04
[RateCDR] => 1
)
[2025-01-13 06: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-13 03:42:04' and `end` < '2025-01-13 06: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-13 06:42:11] Production.ERROR: CronJobId end10
[2025-01-13 06:42:11] Production.INFO: ==5353== Releasing lock...
[2025-01-13 06:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:42:13] Production.INFO: call_cost start
[2025-01-13 06:42:13] Production.INFO: call_cost end
[2025-01-13 06:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:42:14] Production.INFO: ==5349== Releasing lock...
[2025-01-13 06:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:42:17] Production.INFO: count ==78
[2025-01-13 06:42:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:42:04 - End Time 2025-01-13 06:42:04
[2025-01-13 06:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237178', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237178', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237178', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237178', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:42:17] Production.INFO: ProcessCDR(1,14237178,1,1,2)
[2025-01-13 06:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237178', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237178', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:42:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:42:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:42:20] Production.INFO: ==5357== Releasing lock...
[2025-01-13 06:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:42:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:43:01] Production.INFO: ==5413== Lock acquired, processing the job...
[2025-01-13 11:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:43:01] Production.INFO: neon service started
[2025-01-13 11:43:01] Production.INFO: neon service started
[2025-01-13 11:43:01] Production.INFO: ==5413== Releasing lock...
[2025-01-13 11:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:43:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 06:43:02] Production.INFO: ==5415== Lock acquired, processing the job...
[2025-01-13 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:43:02] Production.INFO: ==5415== Releasing lock...
[2025-01-13 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:43:02] Production.INFO: ==5417== Lock acquired, processing the job...
[2025-01-13 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:43:02] Production.INFO: ==5417== Releasing lock...
[2025-01-13 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:43:03] Production.INFO: ==5428== Lock acquired, processing the job...
[2025-01-13 06:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:43:03] Production.INFO: ==5420== Lock acquired, processing the job...
[2025-01-13 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:43:03] Production.INFO: ==5430== Lock acquired, processing the job...
[2025-01-13 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:43:03] Production.INFO: ==5422== Lock acquired, processing the job...
[2025-01-13 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:43:03] Production.INFO: ==5424== Lock acquired, processing the job...
[2025-01-13 06:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:43:03] Production.INFO: ==5426== Lock acquired, processing the job...
[2025-01-13 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:43:03] Production.INFO: count ==21
[2025-01-13 06:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:43:03] Production.INFO: count ==21
[2025-01-13 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237179') start
[2025-01-13 06:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:43:03] Production.INFO: Account Balance Start.
[2025-01-13 06:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:43:03] Production.INFO: 117
[2025-01-13 06:43:03] Production.ERROR: done
[2025-01-13 06:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237179') end
[2025-01-13 06:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:43:03] Production.INFO: 1
[2025-01-13 06:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:43:03] Production.INFO: ==5430== Releasing lock...
[2025-01-13 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:43:03] Production.ERROR: done
[2025-01-13 06:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:43:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:43:04] Production.INFO: ==5422== Releasing lock...
[2025-01-13 06:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:43:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:43:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:43:04] Production.INFO: Total Charge 0
[2025-01-13 06:43:04] Production.INFO: CreateAllLog End
[2025-01-13 06:43:04] Production.INFO: Account Balance End.
[2025-01-13 06:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:43:04] Production.INFO: ==5426== Releasing lock...
[2025-01-13 06:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:43:04
[end_date_ymd] => 2025-01-13 06:43:04
[RateCDR] => 1
)
[2025-01-13 06:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:43:04' and `end` < '2025-01-13 06:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:43:10] Production.ERROR: CronJobId end10
[2025-01-13 06:43:10] Production.INFO: ==5424== Releasing lock...
[2025-01-13 06:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:43:13] Production.INFO: call_cost start
[2025-01-13 06:43:13] Production.INFO: call_cost end
[2025-01-13 06:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:43:14] Production.INFO: ==5420== Releasing lock...
[2025-01-13 06:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:43:17] Production.INFO: count ==78
[2025-01-13 06:43:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:43:04 - End Time 2025-01-13 06:43:04
[2025-01-13 06:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237183', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237183', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237183', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237183', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:43:17] Production.INFO: ProcessCDR(1,14237183,1,1,2)
[2025-01-13 06:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237183', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237183', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:43:20] Production.INFO: ==5428== Releasing lock...
[2025-01-13 06:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:43:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:44:01] Production.INFO: ==5496== Lock acquired, processing the job...
[2025-01-13 11:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:44:01] Production.INFO: neon service started
[2025-01-13 11:44:01] Production.INFO: neon service started
[2025-01-13 11:44:01] Production.INFO: ==5496== Releasing lock...
[2025-01-13 11:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:44:01] Production.INFO: ==5500== Lock acquired, processing the job...
[2025-01-13 11:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:44:01] Production.INFO: ==5500== Releasing lock...
[2025-01-13 11:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:44:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:44:02] Production.INFO: ==5498== Lock acquired, processing the job...
[2025-01-13 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:44:02] Production.INFO: ==5498== Releasing lock...
[2025-01-13 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:44:03] Production.INFO: ==5506== Lock acquired, processing the job...
[2025-01-13 06:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:44:03] Production.INFO: ==5511== Lock acquired, processing the job...
[2025-01-13 06:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:44:03] Production.INFO: ==5502== Lock acquired, processing the job...
[2025-01-13 06:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:44:03] Production.INFO: ==5504== Lock acquired, processing the job...
[2025-01-13 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:44:03] Production.INFO: ==5508== Lock acquired, processing the job...
[2025-01-13 06:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:44:03] Production.INFO: ==5513== Lock acquired, processing the job...
[2025-01-13 06:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:44:03] Production.ERROR: done
[2025-01-13 06:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:44:03] Production.INFO: Account Balance Start.
[2025-01-13 06:44:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:44:03] Production.INFO: 117
[2025-01-13 06:44:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 06:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:44:03] Production.INFO: count ==21
[2025-01-13 06: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-13 06:44:03] Production.INFO: count ==21
[2025-01-13 06:44:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237186') start
[2025-01-13 06:44:03] Production.ERROR: done
[2025-01-13 06:44:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237186') end
[2025-01-13 06:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:44:04] Production.INFO: 1
[2025-01-13 06:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:44:04] Production.INFO: Total Charge 0
[2025-01-13 06:44:04] Production.INFO: ==5513== Releasing lock...
[2025-01-13 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:44:04] Production.INFO: CreateAllLog End
[2025-01-13 06:44:04] Production.INFO: ==5504== Releasing lock...
[2025-01-13 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:44:04] Production.INFO: Account Balance End.
[2025-01-13 06:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:44:04] Production.INFO: ==5508== Releasing lock...
[2025-01-13 06:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:44:04
[end_date_ymd] => 2025-01-13 06:44:04
[RateCDR] => 1
)
[2025-01-13 06: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-13 03:44:04' and `end` < '2025-01-13 06: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-13 06:44:11] Production.ERROR: CronJobId end10
[2025-01-13 06:44:11] Production.INFO: ==5506== Releasing lock...
[2025-01-13 06:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:44:13] Production.INFO: call_cost start
[2025-01-13 06:44:13] Production.INFO: call_cost end
[2025-01-13 06:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:44:14] Production.INFO: ==5502== Releasing lock...
[2025-01-13 06:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:44:17] Production.INFO: count ==78
[2025-01-13 06:44:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:44:04 - End Time 2025-01-13 06:44:04
[2025-01-13 06:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237188', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237188', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237188', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237188', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:44:17] Production.INFO: ProcessCDR(1,14237188,1,1,2)
[2025-01-13 06:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237188', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237188', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:44:21] Production.INFO: ==5511== Releasing lock...
[2025-01-13 06:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:44:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:45:02] Production.INFO: ==5607== Lock acquired, processing the job...
[2025-01-13 11:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:45:02] Production.INFO: neon service started
[2025-01-13 11:45:02] Production.INFO: neon service started
[2025-01-13 11:45:02] Production.INFO: ==5607== Releasing lock...
[2025-01-13 11:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:45:02] Production.INFO: ==5609== Lock acquired, processing the job...
[2025-01-13 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:45:02] Production.INFO: ==5611== Lock acquired, processing the job...
[2025-01-13 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 06:45:02] Production.INFO: ==5609== Releasing lock...
[2025-01-13 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:45:02] Production.INFO: ==5611== Releasing lock...
[2025-01-13 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:45:03] Production.INFO: ==5622== Lock acquired, processing the job...
[2025-01-13 06:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:45:03] Production.INFO: ==5624== Lock acquired, processing the job...
[2025-01-13 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:45:03] Production.INFO: ==5616== Lock acquired, processing the job...
[2025-01-13 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:45:03] Production.INFO: count ==21
[2025-01-13 06:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:45:03] Production.INFO: count ==21
[2025-01-13 06:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237189') start
[2025-01-13 06:45:03] Production.INFO: ==5614== Lock acquired, processing the job...
[2025-01-13 06:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:45:03] Production.INFO: ==5618== Lock acquired, processing the job...
[2025-01-13 06:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:45:04] Production.INFO: ==5620== Lock acquired, processing the job...
[2025-01-13 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237189') end
[2025-01-13 06:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:45:04] Production.INFO: 1
[2025-01-13 06:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:45:04] Production.INFO: ==5624== Releasing lock...
[2025-01-13 06:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:45:04] Production.INFO: Account Balance Start.
[2025-01-13 06:45:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:45:04] Production.INFO: 117
[2025-01-13 06:45:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:45:04] Production.ERROR: done
[2025-01-13 06:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:45:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:45:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:45:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:45:04] Production.ERROR: done
[2025-01-13 06:45:04] Production.INFO: ==5616== Releasing lock...
[2025-01-13 06:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:45:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:45:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:45:04] Production.INFO: Total Charge 0
[2025-01-13 06:45:04] Production.INFO: CreateAllLog End
[2025-01-13 06:45:04] Production.INFO: Account Balance End.
[2025-01-13 06:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:45:04] Production.INFO: ==5620== Releasing lock...
[2025-01-13 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:45:05
[end_date_ymd] => 2025-01-13 06:45:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:45:05' and `end` < '2025-01-13 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-13 06:45:12] Production.ERROR: CronJobId end10
[2025-01-13 06:45:12] Production.INFO: ==5618== Releasing lock...
[2025-01-13 06:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:45:14] Production.INFO: call_cost start
[2025-01-13 06:45:14] Production.INFO: call_cost end
[2025-01-13 06:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:45:15] Production.INFO: ==5614== Releasing lock...
[2025-01-13 06:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:45:18] Production.INFO: count ==78
[2025-01-13 06:45:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:45:05 - End Time 2025-01-13 06:45:05
[2025-01-13 06:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237193', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237193', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237193', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237193', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:45:18] Production.INFO: ProcessCDR(1,14237193,1,1,2)
[2025-01-13 06:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237193', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237193', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:45:21] Production.INFO: ==5622== Releasing lock...
[2025-01-13 06:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:45:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:46:01] Production.INFO: ==5713== Lock acquired, processing the job...
[2025-01-13 11:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:46:01] Production.INFO: neon service started
[2025-01-13 11:46:01] Production.INFO: neon service started
[2025-01-13 11:46:01] Production.INFO: ==5713== Releasing lock...
[2025-01-13 11:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:46:01] Production.INFO: ==5716== Lock acquired, processing the job...
[2025-01-13 06:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:46:02] Production.INFO: ==5716== Releasing lock...
[2025-01-13 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:46:02] Production.INFO: ==5718== Lock acquired, processing the job...
[2025-01-13 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:46:02] Production.INFO: ==5718== Releasing lock...
[2025-01-13 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:46:03] Production.INFO: ==5732== Lock acquired, processing the job...
[2025-01-13 06:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 06:46:03] Production.INFO: count ==21
[2025-01-13 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-13 06:46:03] Production.INFO: count ==21
[2025-01-13 06:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237194') start
[2025-01-13 06:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237194') end
[2025-01-13 06:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:46:03] Production.INFO: 1
[2025-01-13 06:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:46:03] Production.INFO: ==5730== Lock acquired, processing the job...
[2025-01-13 06:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:46:03] Production.INFO: ==5722== Lock acquired, processing the job...
[2025-01-13 06:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:46:03] Production.INFO: ==5732== Releasing lock...
[2025-01-13 06:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:46:03] Production.INFO: ==5724== Lock acquired, processing the job...
[2025-01-13 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:46:03] Production.INFO: ==5726== Lock acquired, processing the job...
[2025-01-13 06:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:46:03] Production.INFO: ==5728== Lock acquired, processing the job...
[2025-01-13 06:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:46:03] Production.INFO: Account Balance Start.
[2025-01-13 06:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:46:03] Production.INFO: 117
[2025-01-13 06:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:46:03] Production.ERROR: done
[2025-01-13 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:46:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:46:03] Production.ERROR: done
[2025-01-13 06:46:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:46:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:46:03] Production.INFO: ==5724== Releasing lock...
[2025-01-13 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:46:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:46:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:46:03] Production.INFO: Total Charge 0
[2025-01-13 06:46:03] Production.INFO: CreateAllLog End
[2025-01-13 06:46:04] Production.INFO: Account Balance End.
[2025-01-13 06:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:46:04] Production.INFO: ==5728== Releasing lock...
[2025-01-13 06:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:46:04
[end_date_ymd] => 2025-01-13 06:46:04
[RateCDR] => 1
)
[2025-01-13 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-13 03:46:04' and `end` < '2025-01-13 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-13 06:46:11] Production.ERROR: CronJobId end10
[2025-01-13 06:46:11] Production.INFO: ==5726== Releasing lock...
[2025-01-13 06:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:46:14] Production.INFO: call_cost start
[2025-01-13 06:46:14] Production.INFO: call_cost end
[2025-01-13 06:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:46:15] Production.INFO: ==5722== Releasing lock...
[2025-01-13 06:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:46:18] Production.INFO: count ==78
[2025-01-13 06:46:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:46:04 - End Time 2025-01-13 06:46:04
[2025-01-13 06:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237198', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237198', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237198', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237198', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:46:18] Production.INFO: ProcessCDR(1,14237198,1,1,2)
[2025-01-13 06:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237198', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237198', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:46:21] Production.INFO: ==5730== Releasing lock...
[2025-01-13 06:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:46:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:47:02] Production.INFO: ==5826== Lock acquired, processing the job...
[2025-01-13 11:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:47:02] Production.INFO: neon service started
[2025-01-13 11:47:02] Production.INFO: neon service started
[2025-01-13 11:47:02] Production.INFO: ==5826== Releasing lock...
[2025-01-13 11:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:47:02] Production.INFO: ==5828== Lock acquired, processing the job...
[2025-01-13 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:47:02] Production.INFO: ==5828== Releasing lock...
[2025-01-13 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:47:02] Production.INFO: ==5830== Lock acquired, processing the job...
[2025-01-13 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:47:02] Production.INFO: ==5830== Releasing lock...
[2025-01-13 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:47:03] Production.INFO: ==5834== Lock acquired, processing the job...
[2025-01-13 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:47:03] Production.INFO: ==5838== Lock acquired, processing the job...
[2025-01-13 06:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:47:03] Production.INFO: ==5832== Lock acquired, processing the job...
[2025-01-13 06:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:47:03] Production.INFO: ==5836== Lock acquired, processing the job...
[2025-01-13 06:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:47:03] Production.INFO: Account Balance Start.
[2025-01-13 06:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:47:03] Production.INFO: 117
[2025-01-13 06:47:03] Production.INFO: ==5840== Lock acquired, processing the job...
[2025-01-13 06:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:47:03] Production.INFO: ==5842== Lock acquired, processing the job...
[2025-01-13 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:47:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:47:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:47:03] Production.INFO: ==5834== Releasing lock...
[2025-01-13 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:47:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:47:03] Production.INFO: count ==21
[2025-01-13 06:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:47:03] Production.INFO: count ==21
[2025-01-13 06:47:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237202') start
[2025-01-13 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:47:04] Production.ERROR: done
[2025-01-13 06:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237202') end
[2025-01-13 06:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:47:04] Production.INFO: 1
[2025-01-13 06:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:47:04] Production.INFO: Total Charge 0
[2025-01-13 06:47:04] Production.INFO: ==5842== Releasing lock...
[2025-01-13 06:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:47:04] Production.INFO: CreateAllLog End
[2025-01-13 06:47:04] Production.ERROR: done
[2025-01-13 06:47:04] Production.INFO: Account Balance End.
[2025-01-13 06:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:47:04] Production.INFO: ==5838== Releasing lock...
[2025-01-13 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:47:05
[end_date_ymd] => 2025-01-13 06:47:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:47:05' and `end` < '2025-01-13 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-13 06:47:11] Production.ERROR: CronJobId end10
[2025-01-13 06:47:11] Production.INFO: ==5836== Releasing lock...
[2025-01-13 06:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:47:14] Production.INFO: call_cost start
[2025-01-13 06:47:14] Production.INFO: call_cost end
[2025-01-13 06:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:47:15] Production.INFO: ==5832== Releasing lock...
[2025-01-13 06:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:47:17] Production.INFO: count ==78
[2025-01-13 06:47:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:47:05 - End Time 2025-01-13 06:47:05
[2025-01-13 06:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237203', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237203', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237203', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237203', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:47:17] Production.INFO: ProcessCDR(1,14237203,1,1,2)
[2025-01-13 06:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237203', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237203', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:47:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:47:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:47:20] Production.INFO: ==5840== Releasing lock...
[2025-01-13 06:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:47:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:48:01] Production.INFO: ==5934== Lock acquired, processing the job...
[2025-01-13 11:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:48:01] Production.INFO: neon service started
[2025-01-13 11:48:01] Production.INFO: neon service started
[2025-01-13 11:48:01] Production.INFO: ==5934== Releasing lock...
[2025-01-13 11:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:48:01] Production.INFO: ==5938== Lock acquired, processing the job...
[2025-01-13 06:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:48:02] Production.INFO: ==5940== Lock acquired, processing the job...
[2025-01-13 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:48:02] Production.INFO: ==5940== Releasing lock...
[2025-01-13 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:48:02] Production.INFO: ==5938== Releasing lock...
[2025-01-13 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:48:03] Production.INFO: ==5949== Lock acquired, processing the job...
[2025-01-13 06:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:48:03] Production.INFO: ==5953== Lock acquired, processing the job...
[2025-01-13 06:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:48:03] Production.INFO: Account Balance Start.
[2025-01-13 06:48:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:48:03] Production.INFO: 117
[2025-01-13 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-13 06:48:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:48:03] Production.INFO: count ==21
[2025-01-13 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-13 06:48:03] Production.INFO: count ==21
[2025-01-13 06:48:03] Production.INFO: ==5943== Lock acquired, processing the job...
[2025-01-13 06:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237205') start
[2025-01-13 06:48:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:48:03] Production.INFO: ==5945== Lock acquired, processing the job...
[2025-01-13 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:48:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:48:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:48:03] Production.INFO: ==5947== Lock acquired, processing the job...
[2025-01-13 06:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237205') end
[2025-01-13 06:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:48:03] Production.INFO: 1
[2025-01-13 06:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:48:03] Production.INFO: ==5951== Lock acquired, processing the job...
[2025-01-13 06:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:48:03] Production.INFO: ==5953== Releasing lock...
[2025-01-13 06:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:48:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:48:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:48:03] Production.INFO: Total Charge 0
[2025-01-13 06:48:03] Production.INFO: CreateAllLog End
[2025-01-13 06:48:03] Production.INFO: ==5945== Releasing lock...
[2025-01-13 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:48:03] Production.ERROR: done
[2025-01-13 06:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:48:03] Production.INFO: Account Balance End.
[2025-01-13 06:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:48:04] Production.INFO: ==5949== Releasing lock...
[2025-01-13 06:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:48:04] Production.ERROR: done
[2025-01-13 06:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:48:05
[end_date_ymd] => 2025-01-13 06:48:05
[RateCDR] => 1
)
[2025-01-13 06:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:48:05' and `end` < '2025-01-13 06:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:48:11] Production.ERROR: CronJobId end10
[2025-01-13 06:48:11] Production.INFO: ==5947== Releasing lock...
[2025-01-13 06:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:48:13] Production.INFO: call_cost start
[2025-01-13 06:48:13] Production.INFO: call_cost end
[2025-01-13 06:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:48:14] Production.INFO: ==5943== Releasing lock...
[2025-01-13 06:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:48:18] Production.INFO: count ==78
[2025-01-13 06:48:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:48:05 - End Time 2025-01-13 06:48:05
[2025-01-13 06:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237208', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237208', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237208', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237208', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:48:18] Production.INFO: ProcessCDR(1,14237208,1,1,2)
[2025-01-13 06:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237208', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237208', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:48:21] Production.INFO: ==5951== Releasing lock...
[2025-01-13 06:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:48:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:49:01] Production.INFO: ==6044== Lock acquired, processing the job...
[2025-01-13 11:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:49:01] Production.INFO: neon service started
[2025-01-13 11:49:01] Production.INFO: neon service started
[2025-01-13 11:49:01] Production.INFO: ==6044== Releasing lock...
[2025-01-13 11:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:49:02] Production.INFO: ==6046== Lock acquired, processing the job...
[2025-01-13 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:49:02] Production.INFO: ==6048== Lock acquired, processing the job...
[2025-01-13 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:49:02] Production.INFO: ==6048== Releasing lock...
[2025-01-13 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:49:02] Production.INFO: ==6046== Releasing lock...
[2025-01-13 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:49:03] Production.INFO: ==6053== Lock acquired, processing the job...
[2025-01-13 06:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:49:03] Production.INFO: ==6055== Lock acquired, processing the job...
[2025-01-13 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:49:03] Production.INFO: ==6061== Lock acquired, processing the job...
[2025-01-13 06:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:49:03] Production.INFO: ==6057== Lock acquired, processing the job...
[2025-01-13 06:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:49:03] Production.INFO: ==6055== Releasing lock...
[2025-01-13 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:49:03] Production.INFO: ==6059== Lock acquired, processing the job...
[2025-01-13 06:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:49:03] Production.ERROR: done
[2025-01-13 06:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:49:04] Production.INFO: ==6063== Lock acquired, processing the job...
[2025-01-13 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:49:04] Production.INFO: Account Balance Start.
[2025-01-13 06:49:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:49:04] Production.INFO: 117
[2025-01-13 06:49:04] Production.ERROR: done
[2025-01-13 06:49:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:49:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:49:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:49:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:49:04] Production.INFO: count ==21
[2025-01-13 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:49:04] Production.INFO: count ==21
[2025-01-13 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237213') start
[2025-01-13 06:49:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:49:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:49:04] Production.INFO: Total Charge 0
[2025-01-13 06:49:04] Production.INFO: CreateAllLog End
[2025-01-13 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237213') end
[2025-01-13 06:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:49:04] Production.INFO: 1
[2025-01-13 06:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:49:04] Production.INFO: ==6063== Releasing lock...
[2025-01-13 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:49:04] Production.INFO: Account Balance End.
[2025-01-13 06:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:49:04] Production.INFO: ==6059== Releasing lock...
[2025-01-13 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:49:05
[end_date_ymd] => 2025-01-13 06:49:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:49:05' and `end` < '2025-01-13 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-13 06:49:11] Production.ERROR: CronJobId end10
[2025-01-13 06:49:11] Production.INFO: ==6057== Releasing lock...
[2025-01-13 06:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:49:13] Production.INFO: call_cost start
[2025-01-13 06:49:13] Production.INFO: call_cost end
[2025-01-13 06:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:49:14] Production.INFO: ==6053== Releasing lock...
[2025-01-13 06:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:49:17] Production.INFO: count ==78
[2025-01-13 06:49:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:49:05 - End Time 2025-01-13 06:49:05
[2025-01-13 06:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237212', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237212', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237212', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237212', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:49:17] Production.INFO: ProcessCDR(1,14237212,1,1,2)
[2025-01-13 06:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237212', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237212', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:49:20] Production.INFO: ==6061== Releasing lock...
[2025-01-13 06:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:49:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:50:02] Production.INFO: ==6155== Lock acquired, processing the job...
[2025-01-13 11:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:50:02] Production.INFO: neon service started
[2025-01-13 11:50:02] Production.INFO: neon service started
[2025-01-13 11:50:02] Production.INFO: ==6155== Releasing lock...
[2025-01-13 11:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:50:02] Production.INFO: ==6157== Lock acquired, processing the job...
[2025-01-13 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:50:03] Production.INFO: ==6157== Releasing lock...
[2025-01-13 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:50:03] Production.INFO: ==6159== Lock acquired, processing the job...
[2025-01-13 11:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:50:03] Production.INFO: ==6159== Releasing lock...
[2025-01-13 11:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:50:04] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-01-13 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:50:04] Production.INFO: ==6169== Lock acquired, processing the job...
[2025-01-13 06:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:50:04] Production.INFO: ==6173== Lock acquired, processing the job...
[2025-01-13 06:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 06:50:04] Production.INFO: Account Balance Start.
[2025-01-13 06:50:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:50:04] Production.INFO: 117
[2025-01-13 06:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:50:04] Production.INFO: ==6161== Lock acquired, processing the job...
[2025-01-13 06:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 06:50:04] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-01-13 06:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 06:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:50:04] Production.ERROR: CronJob PID - 6163
[2025-01-13 06:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 06:50:04] Production.ERROR: CronJob ID - 5
[2025-01-13 06:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 06:50:00
[2025-01-13 06:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:50:04] Production.ERROR: CronJob PID - 6165
[2025-01-13 06:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 06:50:04] Production.ERROR: CronJob ID - 7
[2025-01-13 06:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 06:50:00
[2025-01-13 06:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:50:04] Production.ERROR: CronJob PID - 6169
[2025-01-13 06:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 06:50:04] Production.ERROR: CronJob ID - 12
[2025-01-13 06:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 06:50:00
[2025-01-13 06:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 06:50:04] Production.ERROR: CronJob PID - 6173
[2025-01-13 06:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 06:50:04] Production.ERROR: CronJob ID - 17
[2025-01-13 06:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 06:50:00
[2025-01-13 06:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 06:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 06:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:50:04] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-01-13 06:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 06:50:04] Production.INFO: ==6161== Releasing lock...
[2025-01-13 06:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 06:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 06:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:50:04] Production.INFO: ==6171== Lock acquired, processing the job...
[2025-01-13 06:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:50:04] Production.INFO: ==6175== Lock acquired, processing the job...
[2025-01-13 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:50:04] Production.INFO: ==6165== Releasing lock...
[2025-01-13 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:50:04] Production.ERROR: done
[2025-01-13 06:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:50:04] Production.INFO: Total Charge 0
[2025-01-13 06:50:04] Production.INFO: CreateAllLog End
[2025-01-13 06:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 06:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237217', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 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-13 06:50:04] Production.INFO: count ==21
[2025-01-13 06:50:04] Production.ERROR: done
[2025-01-13 06:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 06:50:04] Production.INFO: count ==21
[2025-01-13 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237218') start
[2025-01-13 06:50:05] Production.INFO: Account Balance End.
[2025-01-13 06:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14237218') end
[2025-01-13 06:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:50:05] Production.INFO: 1
[2025-01-13 06:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:50:05] Production.ERROR: CronJobId end 12
[2025-01-13 06:50:05] Production.INFO: ==6169== Releasing lock...
[2025-01-13 06:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:50:05] Production.INFO: ==6175== Releasing lock...
[2025-01-13 06:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:50:05] Production.ERROR: done
[2025-01-13 06:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:50:06
[end_date_ymd] => 2025-01-13 06:50:06
[RateCDR] => 1
)
[2025-01-13 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-13 03:50:06' and `end` < '2025-01-13 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-13 06:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237217', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 06:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 06:50:08] Production.INFO: ProcessCDR(1,14237217,1,1,2)
[2025-01-13 06:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237217,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237217,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:50:09] Production.INFO: ==6173== Releasing lock...
[2025-01-13 06:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 06:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 06:50:13] Production.ERROR: CronJobId end10
[2025-01-13 06:50:13] Production.INFO: ==6167== Releasing lock...
[2025-01-13 06:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:50:15] Production.INFO: call_cost start
[2025-01-13 06:50:15] Production.INFO: call_cost end
[2025-01-13 06:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:50:16] Production.INFO: ==6163== Releasing lock...
[2025-01-13 06:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:50:18] Production.INFO: count ==74
[2025-01-13 06:50:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:50:06 - End Time 2025-01-13 06:50:06
[2025-01-13 06:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237219', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237219', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237219', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237219', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:50:18] Production.INFO: ProcessCDR(1,14237219,1,1,2)
[2025-01-13 06:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237219', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237219', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:50:21] Production.INFO: ==6171== Releasing lock...
[2025-01-13 06:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:50:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:51:01] Production.INFO: ==6267== Lock acquired, processing the job...
[2025-01-13 11:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:51:01] Production.INFO: neon service started
[2025-01-13 11:51:01] Production.INFO: neon service started
[2025-01-13 11:51:01] Production.INFO: ==6267== Releasing lock...
[2025-01-13 11:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:51:02] Production.INFO: ==6269== Lock acquired, processing the job...
[2025-01-13 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:51:02] Production.INFO: ==6269== Releasing lock...
[2025-01-13 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:51:02] Production.INFO: ==6271== Lock acquired, processing the job...
[2025-01-13 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:51:02] Production.INFO: ==6271== Releasing lock...
[2025-01-13 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:51:03] Production.INFO: ==6273== Lock acquired, processing the job...
[2025-01-13 06:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:51:03] Production.INFO: ==6275== Lock acquired, processing the job...
[2025-01-13 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:51:03] Production.INFO: ==6277== Lock acquired, processing the job...
[2025-01-13 06:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:51:03] Production.INFO: ==6279== Lock acquired, processing the job...
[2025-01-13 06:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:51:03] Production.INFO: ==6282== Lock acquired, processing the job...
[2025-01-13 06:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:51:03] Production.INFO: ==6284== Lock acquired, processing the job...
[2025-01-13 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:51:03] Production.INFO: Account Balance Start.
[2025-01-13 06:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:51:03] Production.INFO: 117
[2025-01-13 06:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:51:03] Production.INFO: ==6275== Releasing lock...
[2025-01-13 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 06:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:51:03] Production.INFO: count ==21
[2025-01-13 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-13 06:51:03] Production.INFO: count ==21
[2025-01-13 06:51:03] Production.ERROR: done
[2025-01-13 06:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237223') start
[2025-01-13 06:51:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:51:03] Production.INFO: Total Charge 0
[2025-01-13 06:51:03] Production.INFO: CreateAllLog End
[2025-01-13 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237223') end
[2025-01-13 06:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:51:04] Production.INFO: 1
[2025-01-13 06:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:51:04] Production.INFO: ==6284== Releasing lock...
[2025-01-13 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:51:04] Production.ERROR: done
[2025-01-13 06:51:04] Production.INFO: Account Balance End.
[2025-01-13 06:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:51:04] Production.INFO: ==6279== Releasing lock...
[2025-01-13 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:51:04
[end_date_ymd] => 2025-01-13 06:51:04
[RateCDR] => 1
)
[2025-01-13 06: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-13 03:51:04' and `end` < '2025-01-13 06: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-13 06:51:11] Production.ERROR: CronJobId end10
[2025-01-13 06:51:11] Production.INFO: ==6277== Releasing lock...
[2025-01-13 06:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:51:13] Production.INFO: call_cost start
[2025-01-13 06:51:13] Production.INFO: call_cost end
[2025-01-13 06:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:51:13] Production.INFO: ==6273== Releasing lock...
[2025-01-13 06:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:51:18] Production.INFO: count ==74
[2025-01-13 06:51:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:51:04 - End Time 2025-01-13 06:51:04
[2025-01-13 06:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237224', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237224', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237224', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237224', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:51:18] Production.INFO: ProcessCDR(1,14237224,1,1,2)
[2025-01-13 06:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237224', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237224', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:51:21] Production.INFO: ==6282== Releasing lock...
[2025-01-13 06:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:51:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:52:02] Production.INFO: ==6385== Lock acquired, processing the job...
[2025-01-13 11:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:52:02] Production.INFO: neon service started
[2025-01-13 11:52:02] Production.INFO: neon service started
[2025-01-13 11:52:02] Production.INFO: ==6385== Releasing lock...
[2025-01-13 11:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:52:02] Production.INFO: ==6387== Lock acquired, processing the job...
[2025-01-13 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:52:02] Production.INFO: ==6387== Releasing lock...
[2025-01-13 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:52:03] Production.INFO: ==6389== Lock acquired, processing the job...
[2025-01-13 11:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:52:03] Production.INFO: ==6389== Releasing lock...
[2025-01-13 11:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:52:03] Production.INFO: ==6399== Lock acquired, processing the job...
[2025-01-13 06:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:52:03] Production.INFO: ==6395== Lock acquired, processing the job...
[2025-01-13 06:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:52:04] Production.INFO: ==6393== Lock acquired, processing the job...
[2025-01-13 06:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:52:04] Production.INFO: ==6391== Lock acquired, processing the job...
[2025-01-13 06:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:52:04] Production.INFO: ==6397== Lock acquired, processing the job...
[2025-01-13 06:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:52:04] Production.INFO: ==6401== Lock acquired, processing the job...
[2025-01-13 06:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:52:04] Production.ERROR: done
[2025-01-13 06:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:52:04] Production.INFO: Account Balance Start.
[2025-01-13 06:52:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:52:04] Production.INFO: 117
[2025-01-13 06:52:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:52:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:52:04] Production.INFO: count ==21
[2025-01-13 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-13 06:52:04] Production.ERROR: done
[2025-01-13 06:52:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:52:04] Production.INFO: count ==21
[2025-01-13 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237226') start
[2025-01-13 06:52:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:52:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:52:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237226') end
[2025-01-13 06:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:52:04] Production.INFO: 1
[2025-01-13 06:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:52:04] Production.INFO: Total Charge 0
[2025-01-13 06:52:04] Production.INFO: CreateAllLog End
[2025-01-13 06:52:04] Production.INFO: ==6393== Releasing lock...
[2025-01-13 06:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:52:04] Production.INFO: ==6401== Releasing lock...
[2025-01-13 06:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:52:05] Production.INFO: Account Balance End.
[2025-01-13 06:52:05] Production.ERROR: CronJobId end 12
[2025-01-13 06:52:05] Production.INFO: ==6397== Releasing lock...
[2025-01-13 06:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:52:05
[end_date_ymd] => 2025-01-13 06:52:05
[RateCDR] => 1
)
[2025-01-13 06:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:52:05' and `end` < '2025-01-13 06:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:52:11] Production.ERROR: CronJobId end10
[2025-01-13 06:52:11] Production.INFO: ==6395== Releasing lock...
[2025-01-13 06:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:52:14] Production.INFO: call_cost start
[2025-01-13 06:52:14] Production.INFO: call_cost end
[2025-01-13 06:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:52:15] Production.INFO: ==6391== Releasing lock...
[2025-01-13 06:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:52:18] Production.INFO: count ==74
[2025-01-13 06:52:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:52:05 - End Time 2025-01-13 06:52:05
[2025-01-13 06:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237229', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237229', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237229', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237229', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:52:18] Production.INFO: ProcessCDR(1,14237229,1,1,2)
[2025-01-13 06:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237229', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237229', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:52:21] Production.INFO: ==6399== Releasing lock...
[2025-01-13 06:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:52:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:53:01] Production.INFO: ==6498== Lock acquired, processing the job...
[2025-01-13 11:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:53:01] Production.INFO: neon service started
[2025-01-13 11:53:01] Production.INFO: neon service started
[2025-01-13 11:53:01] Production.INFO: ==6498== Releasing lock...
[2025-01-13 11:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:53:02] Production.INFO: ==6500== Lock acquired, processing the job...
[2025-01-13 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:53:02] Production.INFO: ==6500== Releasing lock...
[2025-01-13 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:53:02] Production.INFO: ==6502== Lock acquired, processing the job...
[2025-01-13 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:53:02] Production.INFO: ==6502== Releasing lock...
[2025-01-13 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:53:03] Production.INFO: ==6508== Lock acquired, processing the job...
[2025-01-13 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:53:03] Production.INFO: ==6511== Lock acquired, processing the job...
[2025-01-13 06:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:53:03] Production.INFO: ==6504== Lock acquired, processing the job...
[2025-01-13 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:53:03] Production.INFO: ==6506== Lock acquired, processing the job...
[2025-01-13 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:53:03] Production.INFO: Account Balance Start.
[2025-01-13 06:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:53:03] Production.INFO: 117
[2025-01-13 06:53:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:53:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:53:03] Production.INFO: ==6514== Lock acquired, processing the job...
[2025-01-13 06:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:53:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:53:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:53:03] Production.INFO: ==6516== Lock acquired, processing the job...
[2025-01-13 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:53:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:53:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:53:03] Production.INFO: Total Charge 0
[2025-01-13 06:53:03] Production.INFO: CreateAllLog End
[2025-01-13 06:53:03] Production.INFO: ==6506== Releasing lock...
[2025-01-13 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:53:04] Production.ERROR: done
[2025-01-13 06:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:53:04] Production.INFO: count ==21
[2025-01-13 06:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:53:04] Production.INFO: count ==21
[2025-01-13 06:53:04] Production.INFO: Account Balance End.
[2025-01-13 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237233') start
[2025-01-13 06:53:04] Production.ERROR: done
[2025-01-13 06:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:53:04] Production.INFO: ==6511== Releasing lock...
[2025-01-13 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237233') end
[2025-01-13 06:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:53:04] Production.INFO: 1
[2025-01-13 06:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:53:04] Production.INFO: ==6516== Releasing lock...
[2025-01-13 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:53:05
[end_date_ymd] => 2025-01-13 06:53:05
[RateCDR] => 1
)
[2025-01-13 06:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:53:05' and `end` < '2025-01-13 06:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:53:10] Production.ERROR: CronJobId end10
[2025-01-13 06:53:10] Production.INFO: ==6508== Releasing lock...
[2025-01-13 06:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:53:13] Production.INFO: call_cost start
[2025-01-13 06:53:13] Production.INFO: call_cost end
[2025-01-13 06:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:53:14] Production.INFO: ==6504== Releasing lock...
[2025-01-13 06:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:53:18] Production.INFO: count ==74
[2025-01-13 06:53:19] Production.ERROR: pbx CDR StartTime 2025-01-13 03:53:05 - End Time 2025-01-13 06:53:05
[2025-01-13 06:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237234', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237234', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237234', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237234', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:53:19] Production.INFO: ProcessCDR(1,14237234,1,1,2)
[2025-01-13 06:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237234', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237234', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:53:22] Production.INFO: ==6514== Releasing lock...
[2025-01-13 06:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:53:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:54:02] Production.INFO: ==6607== Lock acquired, processing the job...
[2025-01-13 11:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:54:02] Production.INFO: neon service started
[2025-01-13 11:54:02] Production.INFO: neon service started
[2025-01-13 11:54:02] Production.INFO: ==6607== Releasing lock...
[2025-01-13 11:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:54:02] Production.INFO: ==6610== Lock acquired, processing the job...
[2025-01-13 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:54:02] Production.INFO: ==6610== Releasing lock...
[2025-01-13 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:54:02] Production.INFO: ==6612== Lock acquired, processing the job...
[2025-01-13 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:54:03] Production.INFO: ==6612== Releasing lock...
[2025-01-13 11:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:54:03] Production.INFO: ==6620== Lock acquired, processing the job...
[2025-01-13 06:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:54:03] Production.INFO: ==6618== Lock acquired, processing the job...
[2025-01-13 06:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:54:03] Production.INFO: ==6614== Lock acquired, processing the job...
[2025-01-13 06:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:54:03] Production.INFO: ==6616== Lock acquired, processing the job...
[2025-01-13 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:54:03] Production.INFO: Account Balance Start.
[2025-01-13 06:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:54:03] Production.INFO: 117
[2025-01-13 06:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:54:03] Production.INFO: ==6624== Lock acquired, processing the job...
[2025-01-13 06:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:54:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:54:03] Production.INFO: ==6622== Lock acquired, processing the job...
[2025-01-13 06:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:54:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:54:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:54:04] Production.INFO: count ==21
[2025-01-13 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-13 06:54:04] Production.INFO: count ==21
[2025-01-13 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237238') start
[2025-01-13 06:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:54:04] Production.INFO: ==6616== Releasing lock...
[2025-01-13 06:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237238') end
[2025-01-13 06:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:54:04] Production.INFO: 1
[2025-01-13 06:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:54:04] Production.INFO: Total Charge 0
[2025-01-13 06:54:04] Production.ERROR: done
[2025-01-13 06:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:54:04] Production.INFO: ==6624== Releasing lock...
[2025-01-13 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:54:04] Production.INFO: CreateAllLog End
[2025-01-13 06:54:04] Production.ERROR: done
[2025-01-13 06:54:04] Production.INFO: Account Balance End.
[2025-01-13 06:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:54:04] Production.INFO: ==6620== Releasing lock...
[2025-01-13 06:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:54:05
[end_date_ymd] => 2025-01-13 06:54:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:54:05' and `end` < '2025-01-13 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-13 06:54:12] Production.ERROR: CronJobId end10
[2025-01-13 06:54:12] Production.INFO: ==6618== Releasing lock...
[2025-01-13 06:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:54:14] Production.INFO: call_cost start
[2025-01-13 06:54:14] Production.INFO: call_cost end
[2025-01-13 06:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:54:15] Production.INFO: ==6614== Releasing lock...
[2025-01-13 06:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:54:17] Production.INFO: count ==74
[2025-01-13 06:54:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:54:05 - End Time 2025-01-13 06:54:05
[2025-01-13 06:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237239', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237239', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237239', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237239', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:54:17] Production.INFO: ProcessCDR(1,14237239,1,1,2)
[2025-01-13 06:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237239', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237239', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:54:20] Production.INFO: ==6622== Releasing lock...
[2025-01-13 06:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:54:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:55:01] Production.INFO: ==6717== Lock acquired, processing the job...
[2025-01-13 11:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:55:01] Production.INFO: neon service started
[2025-01-13 11:55:01] Production.INFO: neon service started
[2025-01-13 11:55:01] Production.INFO: ==6717== Releasing lock...
[2025-01-13 11:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:55:01] Production.INFO: ==6719== Lock acquired, processing the job...
[2025-01-13 06:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:55:02] Production.INFO: ==6719== Releasing lock...
[2025-01-13 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:55:02] Production.INFO: ==6721== Lock acquired, processing the job...
[2025-01-13 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:55:02] Production.INFO: ==6721== Releasing lock...
[2025-01-13 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:55:03] Production.INFO: ==6731== Lock acquired, processing the job...
[2025-01-13 06:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:55:03] Production.INFO: ==6727== Lock acquired, processing the job...
[2025-01-13 06:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:55:03] Production.INFO: ==6723== Lock acquired, processing the job...
[2025-01-13 06:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:55:03] Production.INFO: ==6725== Lock acquired, processing the job...
[2025-01-13 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:55:03] Production.INFO: ==6729== Lock acquired, processing the job...
[2025-01-13 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:55:03] Production.INFO: ==6734== Lock acquired, processing the job...
[2025-01-13 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:55:03] Production.ERROR: done
[2025-01-13 06:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:55:03] Production.INFO: Account Balance Start.
[2025-01-13 06:55:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:55:03] Production.INFO: 117
[2025-01-13 06:55:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:55:03] Production.INFO: count ==21
[2025-01-13 06:55:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:55:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:55:03] Production.INFO: count ==21
[2025-01-13 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237243') start
[2025-01-13 06:55:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:55:03] Production.INFO: ==6725== Releasing lock...
[2025-01-13 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:55:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:55:03] Production.ERROR: done
[2025-01-13 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:55:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237243') end
[2025-01-13 06:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:55:03] Production.INFO: 1
[2025-01-13 06:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:55:03] Production.INFO: Total Charge 0
[2025-01-13 06:55:03] Production.INFO: CreateAllLog End
[2025-01-13 06:55:03] Production.INFO: ==6734== Releasing lock...
[2025-01-13 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:55:04] Production.INFO: Account Balance End.
[2025-01-13 06:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:55:04] Production.INFO: ==6729== Releasing lock...
[2025-01-13 06:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:55:04
[end_date_ymd] => 2025-01-13 06:55:04
[RateCDR] => 1
)
[2025-01-13 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-13 03:55:04' and `end` < '2025-01-13 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-13 06:55:10] Production.ERROR: CronJobId end10
[2025-01-13 06:55:10] Production.INFO: ==6727== Releasing lock...
[2025-01-13 06:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:55:13] Production.INFO: call_cost start
[2025-01-13 06:55:13] Production.INFO: call_cost end
[2025-01-13 06:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:55:14] Production.INFO: ==6723== Releasing lock...
[2025-01-13 06:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:55:17] Production.INFO: count ==74
[2025-01-13 06:55:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:55:04 - End Time 2025-01-13 06:55:04
[2025-01-13 06:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237244', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237244', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237244', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237244', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:55:17] Production.INFO: ProcessCDR(1,14237244,1,1,2)
[2025-01-13 06:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237244', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237244', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:55:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:55:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:55:20] Production.INFO: ==6731== Releasing lock...
[2025-01-13 06:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:55:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:56:02] Production.INFO: ==6825== Lock acquired, processing the job...
[2025-01-13 11:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:56:02] Production.INFO: neon service started
[2025-01-13 11:56:02] Production.INFO: neon service started
[2025-01-13 11:56:02] Production.INFO: ==6825== Releasing lock...
[2025-01-13 11:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:56:02] Production.INFO: ==6829== Lock acquired, processing the job...
[2025-01-13 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:56:02] Production.INFO: ==6829== Releasing lock...
[2025-01-13 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:56:02] Production.INFO: ==6831== Lock acquired, processing the job...
[2025-01-13 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:56:02] Production.INFO: ==6831== Releasing lock...
[2025-01-13 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:56:03] Production.INFO: ==6833== Lock acquired, processing the job...
[2025-01-13 06:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:56:03] Production.INFO: ==6835== Lock acquired, processing the job...
[2025-01-13 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:56:03] Production.INFO: ==6837== Lock acquired, processing the job...
[2025-01-13 06:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:56:03] Production.INFO: ==6835== Releasing lock...
[2025-01-13 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:56:04] Production.INFO: ==6839== Lock acquired, processing the job...
[2025-01-13 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:56:04] Production.INFO: ==6844== Lock acquired, processing the job...
[2025-01-13 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:56:04] Production.INFO: Account Balance Start.
[2025-01-13 06:56:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:56:04] Production.INFO: 117
[2025-01-13 06:56:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:56:04] Production.INFO: ==6841== Lock acquired, processing the job...
[2025-01-13 06:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:56:04] Production.INFO: count ==21
[2025-01-13 06:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:56:04] Production.INFO: count ==21
[2025-01-13 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237248') start
[2025-01-13 06:56:04] Production.INFO: Total Charge 0
[2025-01-13 06:56:04] Production.INFO: CreateAllLog End
[2025-01-13 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237248') end
[2025-01-13 06:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:56:04] Production.INFO: 1
[2025-01-13 06:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:56:04] Production.INFO: ==6844== Releasing lock...
[2025-01-13 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:56:04] Production.ERROR: done
[2025-01-13 06:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:56:04] Production.INFO: Account Balance End.
[2025-01-13 06:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:56:04] Production.INFO: ==6839== Releasing lock...
[2025-01-13 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:56:04] Production.ERROR: done
[2025-01-13 06:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:56:05
[end_date_ymd] => 2025-01-13 06:56:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:56:05' and `end` < '2025-01-13 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-13 06:56:12] Production.ERROR: CronJobId end10
[2025-01-13 06:56:12] Production.INFO: ==6837== Releasing lock...
[2025-01-13 06:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:56:13] Production.INFO: call_cost start
[2025-01-13 06:56:13] Production.INFO: call_cost end
[2025-01-13 06:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:56:14] Production.INFO: ==6833== Releasing lock...
[2025-01-13 06:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:56:18] Production.INFO: count ==74
[2025-01-13 06:56:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:56:05 - End Time 2025-01-13 06:56:05
[2025-01-13 06:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237249', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237249', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237249', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237249', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:56:18] Production.INFO: ProcessCDR(1,14237249,1,1,2)
[2025-01-13 06:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237249', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237249', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:56:21] Production.INFO: ==6841== Releasing lock...
[2025-01-13 06:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:56:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:57:01] Production.INFO: ==6969== Lock acquired, processing the job...
[2025-01-13 11:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:57:01] Production.INFO: neon service started
[2025-01-13 11:57:01] Production.INFO: neon service started
[2025-01-13 11:57:01] Production.INFO: ==6969== Releasing lock...
[2025-01-13 11:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:57:01] Production.INFO: ==6971== Lock acquired, processing the job...
[2025-01-13 06:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:57:02] Production.INFO: ==6973== Lock acquired, processing the job...
[2025-01-13 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:57:02] Production.INFO: ==6973== Releasing lock...
[2025-01-13 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:57:02] Production.INFO: ==6971== Releasing lock...
[2025-01-13 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:57:03] Production.INFO: ==6975== Lock acquired, processing the job...
[2025-01-13 06:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:57:03] Production.INFO: ==6981== Lock acquired, processing the job...
[2025-01-13 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:57:03] Production.INFO: ==6977== Lock acquired, processing the job...
[2025-01-13 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:57:03] Production.INFO: ==6979== Lock acquired, processing the job...
[2025-01-13 06:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:57:03] Production.INFO: ==6986== Lock acquired, processing the job...
[2025-01-13 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:57:03] Production.INFO: ==6984== Lock acquired, processing the job...
[2025-01-13 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:57:03] Production.INFO: Account Balance Start.
[2025-01-13 06:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:57:03] Production.INFO: 117
[2025-01-13 06:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:57:03] Production.INFO: count ==21
[2025-01-13 06:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 06:57:03] Production.INFO: count ==21
[2025-01-13 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237253') start
[2025-01-13 06:57:03] Production.ERROR: done
[2025-01-13 06:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:57:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237253') end
[2025-01-13 06:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:57:03] Production.INFO: 1
[2025-01-13 06:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:57:03] Production.INFO: ==6986== Releasing lock...
[2025-01-13 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:57:03] Production.INFO: ==6977== Releasing lock...
[2025-01-13 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:57:03] Production.ERROR: done
[2025-01-13 06:57:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:57:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:57:04] Production.INFO: Total Charge 0
[2025-01-13 06:57:04] Production.INFO: CreateAllLog End
[2025-01-13 06:57:04] Production.INFO: Account Balance End.
[2025-01-13 06:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:57:04] Production.INFO: ==6981== Releasing lock...
[2025-01-13 06:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:57:04
[end_date_ymd] => 2025-01-13 06:57:04
[RateCDR] => 1
)
[2025-01-13 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-13 03:57:04' and `end` < '2025-01-13 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-13 06:57:11] Production.ERROR: CronJobId end10
[2025-01-13 06:57:11] Production.INFO: ==6979== Releasing lock...
[2025-01-13 06:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:57:12] Production.INFO: call_cost start
[2025-01-13 06:57:12] Production.INFO: call_cost end
[2025-01-13 06:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:57:13] Production.INFO: ==6975== Releasing lock...
[2025-01-13 06:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:57:17] Production.INFO: count ==74
[2025-01-13 06:57:17] Production.ERROR: pbx CDR StartTime 2025-01-13 03:57:04 - End Time 2025-01-13 06:57:04
[2025-01-13 06:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237254', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237254', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237254', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237254', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:57:17] Production.INFO: ProcessCDR(1,14237254,1,1,2)
[2025-01-13 06:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237254', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237254', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:57:20] Production.INFO: ==6984== Releasing lock...
[2025-01-13 06:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:57:20] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:58:01] Production.INFO: ==7039== Lock acquired, processing the job...
[2025-01-13 11:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:58:02] Production.INFO: neon service started
[2025-01-13 11:58:02] Production.INFO: neon service started
[2025-01-13 11:58:02] Production.INFO: ==7039== Releasing lock...
[2025-01-13 11:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:58:02] Production.INFO: ==7041== Lock acquired, processing the job...
[2025-01-13 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 06:58:02] Production.INFO: ==7041== Releasing lock...
[2025-01-13 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:58:02] Production.INFO: ==7044== Lock acquired, processing the job...
[2025-01-13 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:58:02] Production.INFO: ==7044== Releasing lock...
[2025-01-13 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:58:03] Production.INFO: ==7054== Lock acquired, processing the job...
[2025-01-13 06:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:58:03] Production.INFO: ==7048== Lock acquired, processing the job...
[2025-01-13 06:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:58:03] Production.INFO: ==7056== Lock acquired, processing the job...
[2025-01-13 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:58:04] Production.INFO: ==7046== Lock acquired, processing the job...
[2025-01-13 06:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:58:04] Production.INFO: ==7050== Lock acquired, processing the job...
[2025-01-13 06:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:58:04] Production.ERROR: done
[2025-01-13 06:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:58:04] Production.INFO: ==7052== Lock acquired, processing the job...
[2025-01-13 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:58:04] Production.INFO: count ==21
[2025-01-13 06:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:58:04] Production.INFO: count ==21
[2025-01-13 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237255') start
[2025-01-13 06:58:04] Production.INFO: Account Balance Start.
[2025-01-13 06:58:04] Production.INFO: CreateAllLog Start
[2025-01-13 06:58:04] Production.INFO: 117
[2025-01-13 06:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:58:04] Production.ERROR: done
[2025-01-13 06:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:58:04] Production.INFO: Date 2025-01-08
[2025-01-13 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:58:04] Production.INFO: Date 2025-01-09
[2025-01-13 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:58:04] Production.INFO: Date 2025-01-10
[2025-01-13 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237255') end
[2025-01-13 06:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:58:04] Production.INFO: 1
[2025-01-13 06:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:58:04] Production.INFO: Date 2025-01-11
[2025-01-13 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:58:04] Production.INFO: ==7056== Releasing lock...
[2025-01-13 06:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:58:04] Production.INFO: ==7048== Releasing lock...
[2025-01-13 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:58:04] Production.INFO: Date 2025-01-12
[2025-01-13 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:58:04] Production.INFO: Date 2025-01-13
[2025-01-13 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 06:58:04] Production.INFO: Total Charge 0
[2025-01-13 06:58:04] Production.INFO: CreateAllLog End
[2025-01-13 06:58:04] Production.INFO: Account Balance End.
[2025-01-13 06:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:58:04] Production.INFO: ==7052== Releasing lock...
[2025-01-13 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:58:05
[end_date_ymd] => 2025-01-13 06:58:05
[RateCDR] => 1
)
[2025-01-13 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-13 03:58:05' and `end` < '2025-01-13 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-13 06:58:11] Production.ERROR: CronJobId end10
[2025-01-13 06:58:11] Production.INFO: ==7050== Releasing lock...
[2025-01-13 06:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:58:13] Production.INFO: call_cost start
[2025-01-13 06:58:13] Production.INFO: call_cost end
[2025-01-13 06:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:58:14] Production.INFO: ==7046== Releasing lock...
[2025-01-13 06:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:58:18] Production.INFO: count ==74
[2025-01-13 06:58:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:58:05 - End Time 2025-01-13 06:58:05
[2025-01-13 06:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237259', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237259', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237259', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237259', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:58:18] Production.INFO: ProcessCDR(1,14237259,1,1,2)
[2025-01-13 06:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237259', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237259', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:58:21] Production.INFO: ==7054== Releasing lock...
[2025-01-13 06:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:58:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 11:59:01] Production.INFO: ==7109== Lock acquired, processing the job...
[2025-01-13 11:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 11:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 11:59:01] Production.INFO: neon service started
[2025-01-13 11:59:01] Production.INFO: neon service started
[2025-01-13 11:59:01] Production.INFO: ==7109== Releasing lock...
[2025-01-13 11:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 11:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 06:59:02] Production.INFO: ==7111== Lock acquired, processing the job...
[2025-01-13 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:59:02] Production.INFO: ==7113== Lock acquired, processing the job...
[2025-01-13 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:59:02] Production.INFO: ==7113== Releasing lock...
[2025-01-13 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 11:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 06:59:02] Production.INFO: ==7111== Releasing lock...
[2025-01-13 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 06:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 06:59:03] Production.INFO: ==7116== Lock acquired, processing the job...
[2025-01-13 06:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 06:59:03] Production.INFO: ==7120== Lock acquired, processing the job...
[2025-01-13 06:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 06:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 06:59:03] Production.INFO: ==7122== Lock acquired, processing the job...
[2025-01-13 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 06:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 06:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 06:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 06:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 06:59:03] Production.INFO: Account Balance Start.
[2025-01-13 06:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 06:59:03] Production.INFO: 117
[2025-01-13 06:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:59:03] Production.INFO: ==7118== Lock acquired, processing the job...
[2025-01-13 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 06:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:59:03] Production.INFO: Date 2025-01-12
[2025-01-13 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:59:03] Production.INFO: Date 2025-01-13
[2025-01-13 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 06:59:03] Production.INFO: ==7124== Lock acquired, processing the job...
[2025-01-13 06:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 06:59:03] Production.INFO: Total Charge 0
[2025-01-13 06:59:03] Production.INFO: CreateAllLog End
[2025-01-13 06:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 06:59:03] Production.INFO: ==7126== Lock acquired, processing the job...
[2025-01-13 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 06:59:03] Production.INFO: ==7118== Releasing lock...
[2025-01-13 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 06:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 06:59:04] Production.INFO: Account Balance End.
[2025-01-13 06:59:04] Production.ERROR: done
[2025-01-13 06:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 06:59:04] Production.INFO: ==7122== Releasing lock...
[2025-01-13 06:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 06:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 06:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 06:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:59:04] Production.INFO: count ==21
[2025-01-13 06:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 06:59:04] Production.INFO: count ==21
[2025-01-13 06:59:04] Production.ERROR: done
[2025-01-13 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237263') start
[2025-01-13 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237263') end
[2025-01-13 06:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 06:59:04] Production.INFO: 1
[2025-01-13 06:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 06:59:04] Production.INFO: ==7126== Releasing lock...
[2025-01-13 06:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 06:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 06:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 03:59:05
[end_date_ymd] => 2025-01-13 06:59:05
[RateCDR] => 1
)
[2025-01-13 06:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 03:59:05' and `end` < '2025-01-13 06:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 06:59:11] Production.ERROR: CronJobId end10
[2025-01-13 06:59:11] Production.INFO: ==7120== Releasing lock...
[2025-01-13 06:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 06:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 06:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 06:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 06:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 06:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 06:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 06:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 06:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 06:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 06:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 06:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 06:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 06:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 06:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 06:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 06:59:13] Production.INFO: call_cost start
[2025-01-13 06:59:13] Production.INFO: call_cost end
[2025-01-13 06:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 06:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 06:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 06:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 06:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 06:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 06:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 06:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 06:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 06:59:13] Production.INFO: ==7116== Releasing lock...
[2025-01-13 06:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 06:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 06:59:18] Production.INFO: count ==74
[2025-01-13 06:59:18] Production.ERROR: pbx CDR StartTime 2025-01-13 03:59:05 - End Time 2025-01-13 06:59:05
[2025-01-13 06:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 06:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237264', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237264', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237264', 'tblTempVendorCDR_20' ) start
[2025-01-13 06:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237264', 'tblTempVendorCDR_20' ) end
[2025-01-13 06:59:18] Production.INFO: ProcessCDR(1,14237264,1,1,2)
[2025-01-13 06:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 06:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 06:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237264', 'tblTempUsageDetail_20' ) start
[2025-01-13 06:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237264', 'tblTempUsageDetail_20' ) end
[2025-01-13 06:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 06:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 06:59:21] Production.INFO: ==7124== Releasing lock...
[2025-01-13 06:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 06:59:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:00:02] Production.INFO: ==7185== Lock acquired, processing the job...
[2025-01-13 12:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:00:02] Production.INFO: neon service started
[2025-01-13 12:00:02] Production.INFO: neon service started
[2025-01-13 12:00:02] Production.INFO: ==7185== Releasing lock...
[2025-01-13 12:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:00:02] Production.INFO: ==7189== Lock acquired, processing the job...
[2025-01-13 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:00:02] Production.INFO: ==7189== Releasing lock...
[2025-01-13 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:00:02] Production.INFO: ==7187== Lock acquired, processing the job...
[2025-01-13 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:00:03] Production.INFO: ==7187== Releasing lock...
[2025-01-13 07:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:00:03] Production.INFO: ==7191== Lock acquired, processing the job...
[2025-01-13 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 07:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 07:00:03] Production.INFO: ==7193== Lock acquired, processing the job...
[2025-01-13 07:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 07:00:03] Production.INFO: ==7191== Releasing lock...
[2025-01-13 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 07:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 07:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:00:04] Production.INFO: ==7196== Lock acquired, processing the job...
[2025-01-13 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:00:04] Production.INFO: ==7204== Lock acquired, processing the job...
[2025-01-13 07:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 07:00:04] Production.INFO: ==7202== Lock acquired, processing the job...
[2025-01-13 07:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:00:04] Production.INFO: ==7200== Lock acquired, processing the job...
[2025-01-13 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:00:04] Production.INFO: ==7198== Lock acquired, processing the job...
[2025-01-13 07:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:00:04] Production.INFO: ==7206== Lock acquired, processing the job...
[2025-01-13 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:00:04] Production.INFO: Account Balance Start.
[2025-01-13 07:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:00:04] Production.ERROR: done
[2025-01-13 07:00:04] Production.INFO: 117
[2025-01-13 07:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:00:04] Production.INFO: ==7196== Releasing lock...
[2025-01-13 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 07:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237268', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 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-13 07:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:00:04] Production.ERROR: done
[2025-01-13 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:00:04] Production.INFO: count ==21
[2025-01-13 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-13 07:00:04] Production.INFO: count ==21
[2025-01-13 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237269') start
[2025-01-13 07:00:04] Production.ERROR: done
[2025-01-13 07:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237269') end
[2025-01-13 07:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:00:04] Production.INFO: 1
[2025-01-13 07:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:00:04] Production.INFO: ==7206== Releasing lock...
[2025-01-13 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:00:04] Production.INFO: Total Charge 0
[2025-01-13 07:00:04] Production.INFO: CreateAllLog End
[2025-01-13 07:00:05] Production.INFO: Account Balance End.
[2025-01-13 07:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 07:00:05] Production.INFO: ==7200== Releasing lock...
[2025-01-13 07:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:00:06
[end_date_ymd] => 2025-01-13 07:00:06
[RateCDR] => 1
)
[2025-01-13 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-13 04:00:06' and `end` < '2025-01-13 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-13 07:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237268', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 07:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 07:00:09] Production.INFO: ProcessCDR(1,14237268,1,1,2)
[2025-01-13 07:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237268,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237268,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:00:09] Production.INFO: ==7204== Releasing lock...
[2025-01-13 07:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 07:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 07:00:13] Production.ERROR: CronJobId end10
[2025-01-13 07:00:13] Production.INFO: ==7198== Releasing lock...
[2025-01-13 07:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:00:15] Production.INFO: call_cost start
[2025-01-13 07:00:15] Production.INFO: call_cost end
[2025-01-13 07:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:00:15] Production.INFO: ==7193== Releasing lock...
[2025-01-13 07:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:00:18] Production.INFO: count ==74
[2025-01-13 07:00:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:00:06 - End Time 2025-01-13 07:00:06
[2025-01-13 07:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237270', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237270', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237270', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237270', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:00:18] Production.INFO: ProcessCDR(1,14237270,1,1,2)
[2025-01-13 07:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237270', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237270', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:00:21] Production.INFO: ==7202== Releasing lock...
[2025-01-13 07:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:00:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:01:01] Production.INFO: ==7261== Lock acquired, processing the job...
[2025-01-13 12:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:01:01] Production.INFO: neon service started
[2025-01-13 12:01:01] Production.INFO: neon service started
[2025-01-13 12:01:01] Production.INFO: ==7261== Releasing lock...
[2025-01-13 12:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:01:01] Production.INFO: ==7272== Lock acquired, processing the job...
[2025-01-13 07:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:01:02] Production.INFO: ==7272== Releasing lock...
[2025-01-13 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:01:02] Production.INFO: ==7274== Lock acquired, processing the job...
[2025-01-13 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:01:02] Production.INFO: ==7274== Releasing lock...
[2025-01-13 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:01:03] Production.INFO: ==7281== Lock acquired, processing the job...
[2025-01-13 07:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:01:03] Production.INFO: ==7287== Lock acquired, processing the job...
[2025-01-13 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:01:03] Production.INFO: ==7279== Lock acquired, processing the job...
[2025-01-13 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:01:03] Production.INFO: ==7283== Lock acquired, processing the job...
[2025-01-13 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:01:03] Production.INFO: ==7285== Lock acquired, processing the job...
[2025-01-13 07:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:01:03] Production.INFO: ==7277== Lock acquired, processing the job...
[2025-01-13 07:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:01:03] Production.INFO: count ==21
[2025-01-13 07:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:01:03] Production.INFO: Account Balance Start.
[2025-01-13 07:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:01:03] Production.INFO: 117
[2025-01-13 07:01:03] Production.INFO: count ==21
[2025-01-13 07:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237271') start
[2025-01-13 07:01:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:01:03] Production.ERROR: done
[2025-01-13 07:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:01:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237271') end
[2025-01-13 07:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:01:03] Production.INFO: 1
[2025-01-13 07:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:01:03] Production.ERROR: done
[2025-01-13 07:01:03] Production.INFO: ==7287== Releasing lock...
[2025-01-13 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:01:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:01:03] Production.INFO: ==7279== Releasing lock...
[2025-01-13 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:01:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:01:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:01:04] Production.INFO: Total Charge 0
[2025-01-13 07:01:04] Production.INFO: CreateAllLog End
[2025-01-13 07:01:04] Production.INFO: Account Balance End.
[2025-01-13 07:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:01:04] Production.INFO: ==7283== Releasing lock...
[2025-01-13 07:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:01:04
[end_date_ymd] => 2025-01-13 07:01:04
[RateCDR] => 1
)
[2025-01-13 07: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-13 04:01:04' and `end` < '2025-01-13 07: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-13 07:01:10] Production.ERROR: CronJobId end10
[2025-01-13 07:01:10] Production.INFO: ==7281== Releasing lock...
[2025-01-13 07:01:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:01:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:01:12] Production.INFO: call_cost start
[2025-01-13 07:01:12] Production.INFO: call_cost end
[2025-01-13 07:01:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:01:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:01:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:01:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:01:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:01:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:01:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:01:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:01:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:01:13] Production.INFO: ==7277== Releasing lock...
[2025-01-13 07:01:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:01:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:01:28] Production.INFO: count ==74
[2025-01-13 07:01:28] Production.ERROR: pbx CDR StartTime 2025-01-13 04:01:04 - End Time 2025-01-13 07:01:04
[2025-01-13 07:01:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237275', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237275', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237275', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237275', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:01:28] Production.INFO: ProcessCDR(1,14237275,1,1,2)
[2025-01-13 07:01:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:01:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:01:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:01:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:01:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237275', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:01:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237275', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:01:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:01:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:01:31] Production.INFO: ==7285== Releasing lock...
[2025-01-13 07:01:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:01:31] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:02:01] Production.INFO: ==7419== Lock acquired, processing the job...
[2025-01-13 12:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:02:01] Production.INFO: neon service started
[2025-01-13 12:02:01] Production.INFO: neon service started
[2025-01-13 12:02:01] Production.INFO: ==7419== Releasing lock...
[2025-01-13 12:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:02:02] Production.INFO: ==7421== Lock acquired, processing the job...
[2025-01-13 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:02:02] Production.INFO: ==7423== Lock acquired, processing the job...
[2025-01-13 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:02:02] Production.INFO: ==7423== Releasing lock...
[2025-01-13 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:02:02] Production.INFO: ==7421== Releasing lock...
[2025-01-13 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:02:03] Production.INFO: ==7426== Lock acquired, processing the job...
[2025-01-13 07:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:02:03] Production.INFO: ==7428== Lock acquired, processing the job...
[2025-01-13 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:02:03] Production.INFO: ==7434== Lock acquired, processing the job...
[2025-01-13 07:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:02:03] Production.INFO: ==7428== Releasing lock...
[2025-01-13 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:02:03] Production.INFO: ==7430== Lock acquired, processing the job...
[2025-01-13 07:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:02:04] Production.ERROR: done
[2025-01-13 07:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:02:04] Production.INFO: ==7432== Lock acquired, processing the job...
[2025-01-13 07:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:02:04] Production.INFO: ==7436== Lock acquired, processing the job...
[2025-01-13 07:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:02:04] Production.ERROR: done
[2025-01-13 07:02:04] Production.INFO: Account Balance Start.
[2025-01-13 07:02:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:02:04] Production.INFO: 117
[2025-01-13 07:02:04] Production.INFO: count ==21
[2025-01-13 07:02:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 07:02:04] Production.INFO: count ==21
[2025-01-13 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237278') start
[2025-01-13 07:02:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:02:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237278') end
[2025-01-13 07:02:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:02:04] Production.INFO: 1
[2025-01-13 07:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:02:04] Production.INFO: ==7436== Releasing lock...
[2025-01-13 07:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:02:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:02:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:02:04] Production.INFO: Total Charge 0
[2025-01-13 07:02:04] Production.INFO: CreateAllLog End
[2025-01-13 07:02:04] Production.INFO: Account Balance End.
[2025-01-13 07:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:02:04] Production.INFO: ==7432== Releasing lock...
[2025-01-13 07:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:02:05
[end_date_ymd] => 2025-01-13 07:02:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:02:05' and `end` < '2025-01-13 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-13 07:02:11] Production.ERROR: CronJobId end10
[2025-01-13 07:02:11] Production.INFO: ==7430== Releasing lock...
[2025-01-13 07:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:02:13] Production.INFO: call_cost start
[2025-01-13 07:02:13] Production.INFO: call_cost end
[2025-01-13 07:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:02:13] Production.INFO: ==7426== Releasing lock...
[2025-01-13 07:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:02:20] Production.INFO: count ==74
[2025-01-13 07:02:20] Production.ERROR: pbx CDR StartTime 2025-01-13 04:02:05 - End Time 2025-01-13 07:02:05
[2025-01-13 07:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237279', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237279', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237279', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237279', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:02:20] Production.INFO: ProcessCDR(1,14237279,1,1,2)
[2025-01-13 07:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237279', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237279', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:02:23] Production.INFO: ==7434== Releasing lock...
[2025-01-13 07:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:02:23] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:03:01] Production.INFO: ==7491== Lock acquired, processing the job...
[2025-01-13 12:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:03:01] Production.INFO: neon service started
[2025-01-13 12:03:01] Production.INFO: neon service started
[2025-01-13 12:03:01] Production.INFO: ==7491== Releasing lock...
[2025-01-13 12:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:03:01] Production.INFO: ==7495== Lock acquired, processing the job...
[2025-01-13 12:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:03:01] Production.INFO: ==7495== Releasing lock...
[2025-01-13 12:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:03:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:03:01] Production.INFO: ==7493== Lock acquired, processing the job...
[2025-01-13 07:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:03:02] Production.INFO: ==7493== Releasing lock...
[2025-01-13 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:03:02] Production.INFO: ==7501== Lock acquired, processing the job...
[2025-01-13 07:03:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:03:03] Production.INFO: ==7508== Lock acquired, processing the job...
[2025-01-13 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:03:03] Production.INFO: ==7497== Lock acquired, processing the job...
[2025-01-13 07:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:03:03] Production.INFO: ==7499== Lock acquired, processing the job...
[2025-01-13 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:03:03] Production.INFO: count ==21
[2025-01-13 07:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:03:03] Production.INFO: count ==21
[2025-01-13 07:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237281') start
[2025-01-13 07:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:03:03] Production.INFO: ==7504== Lock acquired, processing the job...
[2025-01-13 07:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:03:03] Production.INFO: ==7506== Lock acquired, processing the job...
[2025-01-13 07:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237281') end
[2025-01-13 07:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:03:03] Production.INFO: 1
[2025-01-13 07:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:03:03] Production.INFO: Account Balance Start.
[2025-01-13 07:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:03:03] Production.INFO: 117
[2025-01-13 07:03:03] Production.INFO: ==7508== Releasing lock...
[2025-01-13 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:03:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:03:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:03:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:03:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:03:03] Production.INFO: Total Charge 0
[2025-01-13 07:03:03] Production.INFO: CreateAllLog End
[2025-01-13 07:03:03] Production.INFO: ==7499== Releasing lock...
[2025-01-13 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:03:03] Production.ERROR: done
[2025-01-13 07:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:03:03] Production.INFO: Account Balance End.
[2025-01-13 07:03:03] Production.ERROR: CronJobId end 12
[2025-01-13 07:03:03] Production.INFO: ==7504== Releasing lock...
[2025-01-13 07:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:03:03] Production.ERROR: done
[2025-01-13 07:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:03:04
[end_date_ymd] => 2025-01-13 07:03:04
[RateCDR] => 1
)
[2025-01-13 07: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-13 04:03:04' and `end` < '2025-01-13 07: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-13 07:03:10] Production.ERROR: CronJobId end10
[2025-01-13 07:03:10] Production.INFO: ==7501== Releasing lock...
[2025-01-13 07:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:03:12] Production.INFO: call_cost start
[2025-01-13 07:03:12] Production.INFO: call_cost end
[2025-01-13 07:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:03:13] Production.INFO: ==7497== Releasing lock...
[2025-01-13 07:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:03:19] Production.INFO: count ==74
[2025-01-13 07:03:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:03:04 - End Time 2025-01-13 07:03:04
[2025-01-13 07:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237285', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237285', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237285', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237285', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:03:19] Production.INFO: ProcessCDR(1,14237285,1,1,2)
[2025-01-13 07:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237285', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237285', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:03:22] Production.INFO: ==7506== Releasing lock...
[2025-01-13 07:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:03:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:04:01] Production.INFO: ==7561== Lock acquired, processing the job...
[2025-01-13 12:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:04:01] Production.INFO: neon service started
[2025-01-13 12:04:01] Production.INFO: neon service started
[2025-01-13 12:04:01] Production.INFO: ==7561== Releasing lock...
[2025-01-13 12:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:04:02] Production.INFO: ==7563== Lock acquired, processing the job...
[2025-01-13 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:04:02] Production.INFO: ==7565== Lock acquired, processing the job...
[2025-01-13 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:04:02] Production.INFO: ==7565== Releasing lock...
[2025-01-13 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:04:02] Production.INFO: ==7563== Releasing lock...
[2025-01-13 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:04:03] Production.INFO: ==7574== Lock acquired, processing the job...
[2025-01-13 07:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:04:03] Production.INFO: ==7578== Lock acquired, processing the job...
[2025-01-13 07:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:04:03] Production.INFO: Account Balance Start.
[2025-01-13 07:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:04:03] Production.INFO: 117
[2025-01-13 07:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 07: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-13 07:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:04:03] Production.INFO: ==7568== Lock acquired, processing the job...
[2025-01-13 07:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:04:03] Production.INFO: count ==21
[2025-01-13 07: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-13 07:04:03] Production.INFO: count ==21
[2025-01-13 07:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:04:03] Production.INFO: ==7570== Lock acquired, processing the job...
[2025-01-13 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237287') start
[2025-01-13 07:04:03] Production.INFO: ==7572== Lock acquired, processing the job...
[2025-01-13 07:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237287') end
[2025-01-13 07:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:04:03] Production.INFO: 1
[2025-01-13 07:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:04:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:04:03] Production.INFO: ==7578== Releasing lock...
[2025-01-13 07:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:04:03] Production.INFO: ==7576== Lock acquired, processing the job...
[2025-01-13 07:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:04:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:04:04] Production.INFO: Total Charge 0
[2025-01-13 07:04:04] Production.INFO: CreateAllLog End
[2025-01-13 07:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:04:04] Production.INFO: ==7570== Releasing lock...
[2025-01-13 07:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:04:04] Production.INFO: Account Balance End.
[2025-01-13 07:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:04:04] Production.INFO: ==7574== Releasing lock...
[2025-01-13 07:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:04:04] Production.ERROR: done
[2025-01-13 07:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:04:04] Production.ERROR: done
[2025-01-13 07:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:04:05
[end_date_ymd] => 2025-01-13 07:04:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:04:05' and `end` < '2025-01-13 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-13 07:04:11] Production.ERROR: CronJobId end10
[2025-01-13 07:04:11] Production.INFO: ==7572== Releasing lock...
[2025-01-13 07:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:04:13] Production.INFO: call_cost start
[2025-01-13 07:04:13] Production.INFO: call_cost end
[2025-01-13 07:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:04:14] Production.INFO: ==7568== Releasing lock...
[2025-01-13 07:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:04:18] Production.INFO: count ==74
[2025-01-13 07:04:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:04:05 - End Time 2025-01-13 07:04:05
[2025-01-13 07:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237290', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237290', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237290', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237290', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:04:18] Production.INFO: ProcessCDR(1,14237290,1,1,2)
[2025-01-13 07:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237290', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237290', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:04:22] Production.INFO: ==7576== Releasing lock...
[2025-01-13 07:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:04:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:05:02] Production.INFO: ==7715== Lock acquired, processing the job...
[2025-01-13 12:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:05:02] Production.INFO: neon service started
[2025-01-13 12:05:02] Production.INFO: neon service started
[2025-01-13 12:05:02] Production.INFO: ==7715== Releasing lock...
[2025-01-13 12:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:05:02] Production.INFO: ==7717== Lock acquired, processing the job...
[2025-01-13 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:05:02] Production.INFO: ==7719== Lock acquired, processing the job...
[2025-01-13 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:05:03] Production.INFO: ==7719== Releasing lock...
[2025-01-13 12:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:05:03] Production.INFO: ==7717== Releasing lock...
[2025-01-13 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:05:04] Production.INFO: ==7726== Lock acquired, processing the job...
[2025-01-13 07:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:05:04] Production.INFO: ==7730== Lock acquired, processing the job...
[2025-01-13 07:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:05:04] Production.INFO: ==7722== Lock acquired, processing the job...
[2025-01-13 07:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:05:04] Production.INFO: ==7724== Lock acquired, processing the job...
[2025-01-13 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:05:04] Production.INFO: ==7728== Lock acquired, processing the job...
[2025-01-13 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:05:04] Production.INFO: ==7732== Lock acquired, processing the job...
[2025-01-13 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:05:04] Production.ERROR: done
[2025-01-13 07:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:05:04] Production.INFO: Account Balance Start.
[2025-01-13 07:05:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:05:04] Production.INFO: 117
[2025-01-13 07:05:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:05:04] Production.ERROR: done
[2025-01-13 07:05:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:05:04] Production.INFO: count ==21
[2025-01-13 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-13 07:05:04] Production.INFO: count ==21
[2025-01-13 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237294') start
[2025-01-13 07:05:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:05:04] Production.INFO: ==7724== Releasing lock...
[2025-01-13 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:05:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:05:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:05:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237294') end
[2025-01-13 07:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:05:04] Production.INFO: 1
[2025-01-13 07:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:05:04] Production.INFO: ==7732== Releasing lock...
[2025-01-13 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:05:04] Production.INFO: Total Charge 0
[2025-01-13 07:05:04] Production.INFO: CreateAllLog End
[2025-01-13 07:05:05] Production.INFO: Account Balance End.
[2025-01-13 07:05:05] Production.ERROR: CronJobId end 12
[2025-01-13 07:05:05] Production.INFO: ==7728== Releasing lock...
[2025-01-13 07:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:05:05
[end_date_ymd] => 2025-01-13 07:05:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:05:05' and `end` < '2025-01-13 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-13 07:05:11] Production.ERROR: CronJobId end10
[2025-01-13 07:05:11] Production.INFO: ==7726== Releasing lock...
[2025-01-13 07:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:05:13] Production.INFO: call_cost start
[2025-01-13 07:05:13] Production.INFO: call_cost end
[2025-01-13 07:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:05:14] Production.INFO: ==7722== Releasing lock...
[2025-01-13 07:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:05:20] Production.INFO: count ==74
[2025-01-13 07:05:20] Production.ERROR: pbx CDR StartTime 2025-01-13 04:05:05 - End Time 2025-01-13 07:05:05
[2025-01-13 07:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237295', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237295', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237295', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237295', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:05:20] Production.INFO: ProcessCDR(1,14237295,1,1,2)
[2025-01-13 07:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237295', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237295', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:05:23] Production.INFO: ==7730== Releasing lock...
[2025-01-13 07:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:05:23] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:06:01] Production.INFO: ==7793== Lock acquired, processing the job...
[2025-01-13 12:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:06:01] Production.INFO: neon service started
[2025-01-13 12:06:01] Production.INFO: neon service started
[2025-01-13 12:06:01] Production.INFO: ==7793== Releasing lock...
[2025-01-13 12:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:06:02] Production.INFO: ==7795== Lock acquired, processing the job...
[2025-01-13 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:06:02] Production.INFO: ==7795== Releasing lock...
[2025-01-13 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:06:02] Production.INFO: ==7797== Lock acquired, processing the job...
[2025-01-13 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:06:02] Production.INFO: ==7797== Releasing lock...
[2025-01-13 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:06:03] Production.INFO: ==7799== Lock acquired, processing the job...
[2025-01-13 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:06:03] Production.INFO: ==7807== Lock acquired, processing the job...
[2025-01-13 07:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:06:03] Production.INFO: ==7801== Lock acquired, processing the job...
[2025-01-13 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:06:03] Production.INFO: ==7803== Lock acquired, processing the job...
[2025-01-13 07:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:06:03] Production.INFO: ==7805== Lock acquired, processing the job...
[2025-01-13 07:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:06:03] Production.INFO: ==7809== Lock acquired, processing the job...
[2025-01-13 07:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:06:03] Production.ERROR: done
[2025-01-13 07:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:06:03] Production.INFO: Account Balance Start.
[2025-01-13 07:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:06:03] Production.INFO: 117
[2025-01-13 07:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:06:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:06:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:06:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:06:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:06:04] Production.INFO: count ==21
[2025-01-13 07:06:04] Production.ERROR: done
[2025-01-13 07:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:06:04] Production.INFO: count ==21
[2025-01-13 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237298') start
[2025-01-13 07:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:06:04] Production.INFO: ==7801== Releasing lock...
[2025-01-13 07:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:06:04] Production.INFO: Total Charge 0
[2025-01-13 07:06:04] Production.INFO: CreateAllLog End
[2025-01-13 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237298') end
[2025-01-13 07:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:06:04] Production.INFO: 1
[2025-01-13 07:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:06:04] Production.INFO: ==7809== Releasing lock...
[2025-01-13 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:06:04] Production.INFO: Account Balance End.
[2025-01-13 07:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:06:04] Production.INFO: ==7805== Releasing lock...
[2025-01-13 07:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:06:05
[end_date_ymd] => 2025-01-13 07:06:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:06:05' and `end` < '2025-01-13 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-13 07:06:11] Production.ERROR: CronJobId end10
[2025-01-13 07:06:11] Production.INFO: ==7803== Releasing lock...
[2025-01-13 07:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:06:13] Production.INFO: call_cost start
[2025-01-13 07:06:13] Production.INFO: call_cost end
[2025-01-13 07:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:06:14] Production.INFO: ==7799== Releasing lock...
[2025-01-13 07:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:06:22] Production.INFO: count ==76
[2025-01-13 07:06:22] Production.ERROR: pbx CDR StartTime 2025-01-13 04:06:05 - End Time 2025-01-13 07:06:05
[2025-01-13 07:06:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237300', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237300', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237300', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237300', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:06:22] Production.INFO: ProcessCDR(1,14237300,1,1,2)
[2025-01-13 07:06:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237300', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:06:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237300', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:06:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:06:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:06:27] Production.INFO: ==7807== Releasing lock...
[2025-01-13 07:06:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:06:27] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:07:02] Production.INFO: ==7862== Lock acquired, processing the job...
[2025-01-13 12:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:07:02] Production.INFO: neon service started
[2025-01-13 12:07:02] Production.INFO: neon service started
[2025-01-13 12:07:02] Production.INFO: ==7862== Releasing lock...
[2025-01-13 12:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:07:02] Production.INFO: ==7866== Lock acquired, processing the job...
[2025-01-13 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:07:02] Production.INFO: ==7866== Releasing lock...
[2025-01-13 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:07:02] Production.INFO: ==7864== Lock acquired, processing the job...
[2025-01-13 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:07:03] Production.INFO: ==7864== Releasing lock...
[2025-01-13 07:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:07:03] Production.INFO: ==7873== Lock acquired, processing the job...
[2025-01-13 07:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:07:04] Production.INFO: ==7869== Lock acquired, processing the job...
[2025-01-13 07:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:07:04] Production.INFO: ==7871== Lock acquired, processing the job...
[2025-01-13 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:07:04] Production.INFO: ==7879== Lock acquired, processing the job...
[2025-01-13 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:07:04] Production.INFO: ==7875== Lock acquired, processing the job...
[2025-01-13 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:07:04] Production.INFO: ==7877== Lock acquired, processing the job...
[2025-01-13 07:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:07:04] Production.INFO: Account Balance Start.
[2025-01-13 07:07:04] Production.INFO: CreateAllLog Start
[2025-01-13 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-13 07:07:04] Production.INFO: 117
[2025-01-13 07:07:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:07:04] Production.INFO: ==7871== Releasing lock...
[2025-01-13 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:07:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:07:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:07:04] Production.INFO: count ==21
[2025-01-13 07:07:04] Production.ERROR: done
[2025-01-13 07:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:07:04] Production.INFO: Date 2025-01-11
[2025-01-13 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-13 07:07:04] Production.INFO: count ==21
[2025-01-13 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237303') start
[2025-01-13 07:07:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:07:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:07:04] Production.INFO: Total Charge 0
[2025-01-13 07:07:04] Production.INFO: CreateAllLog End
[2025-01-13 07:07:04] Production.ERROR: done
[2025-01-13 07:07:05] Production.ERROR: PBX CALL prc_importPBXExtension('14237303') end
[2025-01-13 07:07:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:07:05] Production.INFO: 1
[2025-01-13 07:07:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:07:05] Production.INFO: ==7879== Releasing lock...
[2025-01-13 07:07:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:07:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:07:05] Production.INFO: Account Balance End.
[2025-01-13 07:07:05] Production.ERROR: CronJobId end 12
[2025-01-13 07:07:05] Production.INFO: ==7875== Releasing lock...
[2025-01-13 07:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:07:05
[end_date_ymd] => 2025-01-13 07:07:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:07:05' and `end` < '2025-01-13 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-13 07:07:11] Production.ERROR: CronJobId end10
[2025-01-13 07:07:11] Production.INFO: ==7873== Releasing lock...
[2025-01-13 07:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:07:12] Production.INFO: call_cost start
[2025-01-13 07:07:12] Production.INFO: call_cost end
[2025-01-13 07:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:07:13] Production.INFO: ==7869== Releasing lock...
[2025-01-13 07:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:07:19] Production.INFO: count ==76
[2025-01-13 07:07:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:07:05 - End Time 2025-01-13 07:07:05
[2025-01-13 07:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237305', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237305', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237305', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237305', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:07:19] Production.INFO: ProcessCDR(1,14237305,1,1,2)
[2025-01-13 07:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237305', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237305', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:07:22] Production.INFO: ==7877== Releasing lock...
[2025-01-13 07:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:07:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:08:01] Production.INFO: ==7933== Lock acquired, processing the job...
[2025-01-13 12:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:08:01] Production.INFO: neon service started
[2025-01-13 12:08:01] Production.INFO: neon service started
[2025-01-13 12:08:01] Production.INFO: ==7933== Releasing lock...
[2025-01-13 12:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:08:02] Production.INFO: ==7937== Lock acquired, processing the job...
[2025-01-13 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:08:02] Production.INFO: ==7937== Releasing lock...
[2025-01-13 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:08:02] Production.INFO: ==7935== Lock acquired, processing the job...
[2025-01-13 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:08:02] Production.INFO: ==7935== Releasing lock...
[2025-01-13 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:08:03] Production.INFO: ==7939== Lock acquired, processing the job...
[2025-01-13 07:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:08:03] Production.INFO: ==7941== Lock acquired, processing the job...
[2025-01-13 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:08:03] Production.INFO: ==7943== Lock acquired, processing the job...
[2025-01-13 07:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:08:03] Production.INFO: ==7945== Lock acquired, processing the job...
[2025-01-13 07:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:08:03] Production.INFO: Account Balance Start.
[2025-01-13 07:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:08:03] Production.INFO: 117
[2025-01-13 07:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:08:03] Production.INFO: ==7948== Lock acquired, processing the job...
[2025-01-13 07:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:08:03] Production.INFO: ==7941== Releasing lock...
[2025-01-13 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:08:03] Production.INFO: ==7950== Lock acquired, processing the job...
[2025-01-13 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:08:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:08:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:08:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:08:04] Production.INFO: Total Charge 0
[2025-01-13 07:08:04] Production.INFO: count ==21
[2025-01-13 07:08:04] Production.ERROR: done
[2025-01-13 07:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:08:04] Production.INFO: CreateAllLog End
[2025-01-13 07:08:04] Production.ERROR: done
[2025-01-13 07:08:04] Production.INFO: Account Balance End.
[2025-01-13 07:08:04] Production.INFO: count ==21
[2025-01-13 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237309') start
[2025-01-13 07:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:08:04] Production.INFO: ==7945== Releasing lock...
[2025-01-13 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237309') end
[2025-01-13 07:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:08:04] Production.INFO: 1
[2025-01-13 07:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:08:04] Production.INFO: ==7950== Releasing lock...
[2025-01-13 07:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:08:05
[end_date_ymd] => 2025-01-13 07:08:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:08:05' and `end` < '2025-01-13 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-13 07:08:10] Production.ERROR: CronJobId end10
[2025-01-13 07:08:10] Production.INFO: ==7943== Releasing lock...
[2025-01-13 07:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:08:12] Production.INFO: call_cost start
[2025-01-13 07:08:12] Production.INFO: call_cost end
[2025-01-13 07:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:08:13] Production.INFO: ==7939== Releasing lock...
[2025-01-13 07:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:08:20] Production.INFO: count ==77
[2025-01-13 07:08:20] Production.ERROR: pbx CDR StartTime 2025-01-13 04:08:05 - End Time 2025-01-13 07:08:05
[2025-01-13 07:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237310', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237310', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237310', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237310', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:08:20] Production.INFO: ProcessCDR(1,14237310,1,1,2)
[2025-01-13 07:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:08:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:08:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237310', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237310', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:08:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:08:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:08:25] Production.INFO: ==7948== Releasing lock...
[2025-01-13 07:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:08:25] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:09:02] Production.INFO: ==8081== Lock acquired, processing the job...
[2025-01-13 12:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:09:02] Production.INFO: neon service started
[2025-01-13 12:09:02] Production.INFO: neon service started
[2025-01-13 12:09:02] Production.INFO: ==8081== Releasing lock...
[2025-01-13 12:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:09:02] Production.INFO: ==8083== Lock acquired, processing the job...
[2025-01-13 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:09:02] Production.INFO: ==8083== Releasing lock...
[2025-01-13 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:09:02] Production.INFO: ==8085== Lock acquired, processing the job...
[2025-01-13 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:09:03] Production.INFO: ==8085== Releasing lock...
[2025-01-13 12:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:09:03] Production.INFO: ==8088== Lock acquired, processing the job...
[2025-01-13 07:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:09:03] Production.INFO: ==8094== Lock acquired, processing the job...
[2025-01-13 07:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:09:03] Production.INFO: ==8096== Lock acquired, processing the job...
[2025-01-13 07:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:09:03] Production.INFO: ==8090== Lock acquired, processing the job...
[2025-01-13 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:09:03] Production.INFO: Account Balance Start.
[2025-01-13 07:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:09:03] Production.INFO: 117
[2025-01-13 07:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:09:03] Production.INFO: ==8092== Lock acquired, processing the job...
[2025-01-13 07:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:09:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:09:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:09:04] Production.INFO: ==8098== Lock acquired, processing the job...
[2025-01-13 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:09:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:09:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:09:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:09:04] Production.INFO: Total Charge 0
[2025-01-13 07:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:09:04] Production.INFO: CreateAllLog End
[2025-01-13 07:09:04] Production.INFO: count ==21
[2025-01-13 07:09:04] Production.INFO: ==8090== Releasing lock...
[2025-01-13 07:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:09:04] Production.ERROR: done
[2025-01-13 07:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:09:04] Production.INFO: count ==21
[2025-01-13 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237314') start
[2025-01-13 07:09:04] Production.ERROR: done
[2025-01-13 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237314') end
[2025-01-13 07:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:09:04] Production.INFO: 1
[2025-01-13 07:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:09:04] Production.INFO: ==8098== Releasing lock...
[2025-01-13 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:09:04] Production.INFO: Account Balance End.
[2025-01-13 07:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:09:04] Production.INFO: ==8094== Releasing lock...
[2025-01-13 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:09:05
[end_date_ymd] => 2025-01-13 07:09:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:09:05' and `end` < '2025-01-13 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-13 07:09:11] Production.ERROR: CronJobId end10
[2025-01-13 07:09:11] Production.INFO: ==8092== Releasing lock...
[2025-01-13 07:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:09:13] Production.INFO: call_cost start
[2025-01-13 07:09:13] Production.INFO: call_cost end
[2025-01-13 07:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:09:14] Production.INFO: ==8088== Releasing lock...
[2025-01-13 07:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:09:19] Production.INFO: count ==82
[2025-01-13 07:09:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:09:05 - End Time 2025-01-13 07:09:05
[2025-01-13 07:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237315', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237315', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237315', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237315', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:09:19] Production.INFO: ProcessCDR(1,14237315,1,1,2)
[2025-01-13 07:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237315', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237315', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:09:22] Production.INFO: ==8096== Releasing lock...
[2025-01-13 07:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:09:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:10:01] Production.INFO: ==8152== Lock acquired, processing the job...
[2025-01-13 12:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:10:01] Production.INFO: neon service started
[2025-01-13 12:10:01] Production.INFO: neon service started
[2025-01-13 12:10:01] Production.INFO: ==8152== Releasing lock...
[2025-01-13 12:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:10:02] Production.INFO: ==8156== Lock acquired, processing the job...
[2025-01-13 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:10:02] Production.INFO: ==8156== Releasing lock...
[2025-01-13 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:10:02] Production.INFO: ==8154== Lock acquired, processing the job...
[2025-01-13 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:10:02] Production.INFO: ==8154== Releasing lock...
[2025-01-13 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:10:03] Production.INFO: ==8163== Lock acquired, processing the job...
[2025-01-13 07:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:10:03] Production.INFO: ==8167== Lock acquired, processing the job...
[2025-01-13 07:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:10:03] Production.INFO: ==8173== Lock acquired, processing the job...
[2025-01-13 07:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:10:03] Production.INFO: ==8161== Lock acquired, processing the job...
[2025-01-13 07:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:10:03] Production.INFO: ==8159== Lock acquired, processing the job...
[2025-01-13 07:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 07:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 07:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:10:03] Production.ERROR: CronJob PID - 8161
[2025-01-13 07:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 07:10:03] Production.ERROR: CronJob ID - 5
[2025-01-13 07:10:03] Production.ERROR: CronJob Last Run Time 2025-01-13 07:10:00
[2025-01-13 07:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:10:03] Production.ERROR: CronJob PID - 8167
[2025-01-13 07:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 07:10:03] Production.ERROR: CronJob ID - 12
[2025-01-13 07:10:03] Production.ERROR: CronJob Last Run Time 2025-01-13 07:10:00
[2025-01-13 07:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:10:03] Production.ERROR: CronJob PID - 8173
[2025-01-13 07:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 07:10:03] Production.ERROR: CronJob ID - 19
[2025-01-13 07:10:03] Production.ERROR: CronJob Last Run Time 2025-01-13 07:10:00
[2025-01-13 07:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:10:03] Production.INFO: ==8163== Releasing lock...
[2025-01-13 07:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07: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-13 07:10:03] Production.INFO: ==8165== Lock acquired, processing the job...
[2025-01-13 07:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:10:03] Production.INFO: Account Balance Start.
[2025-01-13 07:10:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 07:10:03] Production.INFO: ==8159== Releasing lock...
[2025-01-13 07:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 07:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 07:10:03] Production.INFO: 117
[2025-01-13 07:10:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:10:03] Production.INFO: count ==21
[2025-01-13 07: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-13 07:10:03] Production.INFO: count ==21
[2025-01-13 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:10:04] Production.INFO: ==8171== Lock acquired, processing the job...
[2025-01-13 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237318') start
[2025-01-13 07:10:04] Production.INFO: ==8169== Lock acquired, processing the job...
[2025-01-13 07:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237318') end
[2025-01-13 07:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:10:04] Production.INFO: 1
[2025-01-13 07:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:10:04] Production.INFO: ==8173== Releasing lock...
[2025-01-13 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:10:04] Production.ERROR: done
[2025-01-13 07:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:10:04] Production.INFO: Total Charge 0
[2025-01-13 07:10:04] Production.INFO: CreateAllLog End
[2025-01-13 07:10:04] Production.ERROR: done
[2025-01-13 07:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 07:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237320', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 07:10:04] Production.ERROR: done
[2025-01-13 07:10:04] Production.INFO: Account Balance End.
[2025-01-13 07:10:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:10:04] Production.INFO: ==8167== Releasing lock...
[2025-01-13 07:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:10:05
[end_date_ymd] => 2025-01-13 07:10:05
[RateCDR] => 1
)
[2025-01-13 07:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:10:05' and `end` < '2025-01-13 07:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237320', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 07:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 07:10:09] Production.INFO: ProcessCDR(1,14237320,1,1,2)
[2025-01-13 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237320,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237320,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:10:09] Production.INFO: ==8171== Releasing lock...
[2025-01-13 07:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 07:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 07:10:12] Production.ERROR: CronJobId end10
[2025-01-13 07:10:12] Production.INFO: ==8165== Releasing lock...
[2025-01-13 07:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:10:14] Production.INFO: call_cost start
[2025-01-13 07:10:14] Production.INFO: call_cost end
[2025-01-13 07:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:10:15] Production.INFO: ==8161== Releasing lock...
[2025-01-13 07:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:10:19] Production.INFO: count ==82
[2025-01-13 07:10:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:10:05 - End Time 2025-01-13 07:10:05
[2025-01-13 07:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237321', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237321', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237321', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237321', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:10:19] Production.INFO: ProcessCDR(1,14237321,1,1,2)
[2025-01-13 07:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237321', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237321', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:10:22] Production.INFO: ==8169== Releasing lock...
[2025-01-13 07:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:10:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:11:02] Production.INFO: ==8228== Lock acquired, processing the job...
[2025-01-13 12:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:11:02] Production.INFO: neon service started
[2025-01-13 12:11:02] Production.INFO: neon service started
[2025-01-13 12:11:02] Production.INFO: ==8228== Releasing lock...
[2025-01-13 12:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:11:02] Production.INFO: ==8230== Lock acquired, processing the job...
[2025-01-13 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:11:02] Production.INFO: ==8230== Releasing lock...
[2025-01-13 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:11:02] Production.INFO: ==8232== Lock acquired, processing the job...
[2025-01-13 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:11:02] Production.INFO: ==8232== Releasing lock...
[2025-01-13 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:11:03] Production.INFO: ==8241== Lock acquired, processing the job...
[2025-01-13 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:11:03] Production.INFO: ==8235== Lock acquired, processing the job...
[2025-01-13 07:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:11:03] Production.INFO: Account Balance Start.
[2025-01-13 07:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:11:03] Production.INFO: 117
[2025-01-13 07:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:11:03] Production.INFO: ==8243== Lock acquired, processing the job...
[2025-01-13 07:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:11:03] Production.INFO: ==8237== Lock acquired, processing the job...
[2025-01-13 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:11:03] Production.INFO: ==8239== Lock acquired, processing the job...
[2025-01-13 07:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:11:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:11:03] Production.INFO: ==8245== Lock acquired, processing the job...
[2025-01-13 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:11:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:11:04] Production.INFO: count ==21
[2025-01-13 07:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:11:04] Production.INFO: count ==21
[2025-01-13 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237325') start
[2025-01-13 07:11:04] Production.INFO: Total Charge 0
[2025-01-13 07:11:04] Production.INFO: CreateAllLog End
[2025-01-13 07:11:04] Production.ERROR: done
[2025-01-13 07:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:11:04] Production.INFO: ==8237== Releasing lock...
[2025-01-13 07:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237325') end
[2025-01-13 07:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:11:04] Production.INFO: 1
[2025-01-13 07:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:11:04] Production.INFO: ==8245== Releasing lock...
[2025-01-13 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:11:04] Production.ERROR: done
[2025-01-13 07:11:04] Production.INFO: Account Balance End.
[2025-01-13 07:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:11:04] Production.INFO: ==8241== Releasing lock...
[2025-01-13 07:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:11:05
[end_date_ymd] => 2025-01-13 07:11:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:11:05' and `end` < '2025-01-13 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-13 07:11:10] Production.ERROR: CronJobId end10
[2025-01-13 07:11:10] Production.INFO: ==8239== Releasing lock...
[2025-01-13 07:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:11:13] Production.INFO: call_cost start
[2025-01-13 07:11:13] Production.INFO: call_cost end
[2025-01-13 07:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:11:14] Production.INFO: ==8235== Releasing lock...
[2025-01-13 07:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:11:20] Production.INFO: count ==82
[2025-01-13 07:11:20] Production.ERROR: pbx CDR StartTime 2025-01-13 04:11:05 - End Time 2025-01-13 07:11:05
[2025-01-13 07:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237326', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237326', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237326', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237326', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:11:20] Production.INFO: ProcessCDR(1,14237326,1,1,2)
[2025-01-13 07:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237326', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237326', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:11:23] Production.INFO: ==8243== Releasing lock...
[2025-01-13 07:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:11:23] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:12:01] Production.INFO: ==8381== Lock acquired, processing the job...
[2025-01-13 12:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:12:01] Production.INFO: neon service started
[2025-01-13 12:12:01] Production.INFO: neon service started
[2025-01-13 12:12:01] Production.INFO: ==8381== Releasing lock...
[2025-01-13 12:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:12:01] Production.INFO: ==8385== Lock acquired, processing the job...
[2025-01-13 12:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:12:01] Production.INFO: ==8385== Releasing lock...
[2025-01-13 12:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:12:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:12:02] Production.INFO: ==8383== Lock acquired, processing the job...
[2025-01-13 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:12:02] Production.INFO: ==8383== Releasing lock...
[2025-01-13 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:12:03] Production.INFO: ==8388== Lock acquired, processing the job...
[2025-01-13 07:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:12:03] Production.INFO: ==8398== Lock acquired, processing the job...
[2025-01-13 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:12:03] Production.INFO: ==8390== Lock acquired, processing the job...
[2025-01-13 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:12:03] Production.INFO: ==8392== Lock acquired, processing the job...
[2025-01-13 07:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:12:03] Production.INFO: ==8394== Lock acquired, processing the job...
[2025-01-13 07:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:12:03] Production.INFO: ==8396== Lock acquired, processing the job...
[2025-01-13 07:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:12:03] Production.INFO: Account Balance Start.
[2025-01-13 07:12:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:12:03] Production.INFO: 117
[2025-01-13 07:12:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:12:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:12:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:12:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:12:03] Production.INFO: ==8390== Releasing lock...
[2025-01-13 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:12:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:12:03] Production.INFO: count ==21
[2025-01-13 07:12:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:12:03] Production.INFO: count ==21
[2025-01-13 07:12:03] Production.INFO: Total Charge 0
[2025-01-13 07:12:03] Production.ERROR: done
[2025-01-13 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237328') start
[2025-01-13 07:12:04] Production.INFO: CreateAllLog End
[2025-01-13 07:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:12:04] Production.ERROR: done
[2025-01-13 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237328') end
[2025-01-13 07:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:12:04] Production.INFO: 1
[2025-01-13 07:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:12:04] Production.INFO: Account Balance End.
[2025-01-13 07:12:04] Production.INFO: ==8398== Releasing lock...
[2025-01-13 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:12:04] Production.INFO: ==8394== Releasing lock...
[2025-01-13 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:12:05
[end_date_ymd] => 2025-01-13 07:12:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:12:05' and `end` < '2025-01-13 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-13 07:12:11] Production.ERROR: CronJobId end10
[2025-01-13 07:12:11] Production.INFO: ==8392== Releasing lock...
[2025-01-13 07:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:12:13] Production.INFO: call_cost start
[2025-01-13 07:12:13] Production.INFO: call_cost end
[2025-01-13 07:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:12:14] Production.INFO: ==8388== Releasing lock...
[2025-01-13 07:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:12:18] Production.INFO: count ==82
[2025-01-13 07:12:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:12:05 - End Time 2025-01-13 07:12:05
[2025-01-13 07:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237331', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237331', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237331', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237331', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:12:18] Production.INFO: ProcessCDR(1,14237331,1,1,2)
[2025-01-13 07:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237331', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237331', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:12:21] Production.INFO: ==8396== Releasing lock...
[2025-01-13 07:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:12:21] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:13:01] Production.INFO: ==8491== Lock acquired, processing the job...
[2025-01-13 12:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:13:01] Production.INFO: neon service started
[2025-01-13 12:13:01] Production.INFO: neon service started
[2025-01-13 12:13:01] Production.INFO: ==8491== Releasing lock...
[2025-01-13 12:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:13:02] Production.INFO: ==8495== Lock acquired, processing the job...
[2025-01-13 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:13:02] Production.INFO: ==8495== Releasing lock...
[2025-01-13 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:13:02] Production.INFO: ==8493== Lock acquired, processing the job...
[2025-01-13 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:13:02] Production.INFO: ==8493== Releasing lock...
[2025-01-13 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:13:03] Production.INFO: ==8500== Lock acquired, processing the job...
[2025-01-13 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:13:03] Production.INFO: ==8498== Lock acquired, processing the job...
[2025-01-13 07:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:13:03] Production.INFO: ==8508== Lock acquired, processing the job...
[2025-01-13 07:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:13:03] Production.INFO: ==8502== Lock acquired, processing the job...
[2025-01-13 07:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 07:13:03] Production.INFO: count ==21
[2025-01-13 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-13 07:13:03] Production.INFO: count ==21
[2025-01-13 07:13:03] Production.INFO: ==8504== Lock acquired, processing the job...
[2025-01-13 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237334') start
[2025-01-13 07:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:13:04] Production.INFO: ==8506== Lock acquired, processing the job...
[2025-01-13 07:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:13:04] Production.INFO: Account Balance Start.
[2025-01-13 07:13:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:13:04] Production.INFO: 117
[2025-01-13 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237334') end
[2025-01-13 07:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:13:04] Production.INFO: 1
[2025-01-13 07:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:13:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:13:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:13:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:13:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:13:04] Production.INFO: ==8508== Releasing lock...
[2025-01-13 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:13:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:13:04] Production.INFO: ==8500== Releasing lock...
[2025-01-13 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:13:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:13:04] Production.INFO: Total Charge 0
[2025-01-13 07:13:04] Production.INFO: CreateAllLog End
[2025-01-13 07:13:04] Production.ERROR: done
[2025-01-13 07:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:13:04] Production.ERROR: done
[2025-01-13 07:13:04] Production.INFO: Account Balance End.
[2025-01-13 07:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:13:04] Production.INFO: ==8504== Releasing lock...
[2025-01-13 07:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:13:05
[end_date_ymd] => 2025-01-13 07:13:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:13:05' and `end` < '2025-01-13 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-13 07:13:10] Production.ERROR: CronJobId end10
[2025-01-13 07:13:10] Production.INFO: ==8502== Releasing lock...
[2025-01-13 07:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:13:13] Production.INFO: call_cost start
[2025-01-13 07:13:13] Production.INFO: call_cost end
[2025-01-13 07:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:13:14] Production.INFO: ==8498== Releasing lock...
[2025-01-13 07:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:13:18] Production.INFO: count ==82
[2025-01-13 07:13:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:13:05 - End Time 2025-01-13 07:13:05
[2025-01-13 07:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237336', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237336', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237336', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237336', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:13:18] Production.INFO: ProcessCDR(1,14237336,1,1,2)
[2025-01-13 07:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237336', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237336', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:13:22] Production.INFO: ==8506== Releasing lock...
[2025-01-13 07:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:13:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:14:02] Production.INFO: ==8563== Lock acquired, processing the job...
[2025-01-13 12:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:14:02] Production.INFO: neon service started
[2025-01-13 12:14:02] Production.INFO: neon service started
[2025-01-13 12:14:02] Production.INFO: ==8563== Releasing lock...
[2025-01-13 12:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:14:02] Production.INFO: ==8565== Lock acquired, processing the job...
[2025-01-13 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:14:02] Production.INFO: ==8565== Releasing lock...
[2025-01-13 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:14:03] Production.INFO: ==8567== Lock acquired, processing the job...
[2025-01-13 12:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:14:03] Production.INFO: ==8567== Releasing lock...
[2025-01-13 12:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:14:03] Production.INFO: ==8577== Lock acquired, processing the job...
[2025-01-13 07:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:14:03] Production.INFO: ==8579== Lock acquired, processing the job...
[2025-01-13 07:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 07:14:04] Production.INFO: count ==21
[2025-01-13 07:14:04] Production.INFO: ==8571== Lock acquired, processing the job...
[2025-01-13 07:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:14:04] Production.INFO: ==8569== Lock acquired, processing the job...
[2025-01-13 07:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 07:14:04] Production.INFO: count ==21
[2025-01-13 07:14:04] Production.INFO: ==8573== Lock acquired, processing the job...
[2025-01-13 07:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:14:04] Production.INFO: ==8575== Lock acquired, processing the job...
[2025-01-13 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237337') start
[2025-01-13 07:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237337') end
[2025-01-13 07:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:14:04] Production.INFO: 1
[2025-01-13 07:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:14:04] Production.ERROR: done
[2025-01-13 07:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:14:04] Production.INFO: ==8579== Releasing lock...
[2025-01-13 07:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:14:04] Production.INFO: Account Balance Start.
[2025-01-13 07:14:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:14:04] Production.INFO: 117
[2025-01-13 07:14:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:14:04] Production.ERROR: done
[2025-01-13 07:14:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:14:04] Production.INFO: ==8571== Releasing lock...
[2025-01-13 07:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:14:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:14:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:14:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:14:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:14:04] Production.INFO: Total Charge 0
[2025-01-13 07:14:04] Production.INFO: CreateAllLog End
[2025-01-13 07:14:04] Production.INFO: Account Balance End.
[2025-01-13 07:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:14:04] Production.INFO: ==8575== Releasing lock...
[2025-01-13 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:14:05
[end_date_ymd] => 2025-01-13 07:14:05
[RateCDR] => 1
)
[2025-01-13 07:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:14:05' and `end` < '2025-01-13 07:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:14:11] Production.ERROR: CronJobId end10
[2025-01-13 07:14:11] Production.INFO: ==8573== Releasing lock...
[2025-01-13 07:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:14:13] Production.INFO: call_cost start
[2025-01-13 07:14:13] Production.INFO: call_cost end
[2025-01-13 07:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:14:14] Production.INFO: ==8569== Releasing lock...
[2025-01-13 07:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:14:19] Production.INFO: count ==82
[2025-01-13 07:14:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:14:05 - End Time 2025-01-13 07:14:05
[2025-01-13 07:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237341', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237341', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237341', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237341', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:14:19] Production.INFO: ProcessCDR(1,14237341,1,1,2)
[2025-01-13 07:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237341', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237341', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:14:22] Production.INFO: ==8577== Releasing lock...
[2025-01-13 07:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:14:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:15:01] Production.INFO: ==8670== Lock acquired, processing the job...
[2025-01-13 12:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:15:01] Production.INFO: neon service started
[2025-01-13 12:15:01] Production.INFO: neon service started
[2025-01-13 12:15:01] Production.INFO: ==8670== Releasing lock...
[2025-01-13 12:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:15:02] Production.INFO: ==8673== Lock acquired, processing the job...
[2025-01-13 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:15:02] Production.INFO: ==8675== Lock acquired, processing the job...
[2025-01-13 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:15:02] Production.INFO: ==8675== Releasing lock...
[2025-01-13 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:15:02] Production.INFO: ==8673== Releasing lock...
[2025-01-13 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:15:03] Production.INFO: ==8677== Lock acquired, processing the job...
[2025-01-13 07:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:15:03] Production.INFO: ==8685== Lock acquired, processing the job...
[2025-01-13 07:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:15:03] Production.INFO: ==8683== Lock acquired, processing the job...
[2025-01-13 07:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:15:03] Production.INFO: Account Balance Start.
[2025-01-13 07:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:15:03] Production.INFO: 117
[2025-01-13 07:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:15:03] Production.INFO: ==8679== Lock acquired, processing the job...
[2025-01-13 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:15:03] Production.INFO: ==8681== Lock acquired, processing the job...
[2025-01-13 07:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:15:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:15:03] Production.INFO: ==8687== Lock acquired, processing the job...
[2025-01-13 07:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:15:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:15:03] Production.ERROR: done
[2025-01-13 07:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:15:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:15:04] Production.ERROR: done
[2025-01-13 07:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:15:04] Production.INFO: ==8679== Releasing lock...
[2025-01-13 07:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:15:04] Production.INFO: count ==21
[2025-01-13 07:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:15:04] Production.INFO: count ==21
[2025-01-13 07:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237345') start
[2025-01-13 07:15:04] Production.INFO: Total Charge 0
[2025-01-13 07:15:04] Production.INFO: CreateAllLog End
[2025-01-13 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237345') end
[2025-01-13 07:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:15:04] Production.INFO: 1
[2025-01-13 07:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:15:04] Production.INFO: ==8687== Releasing lock...
[2025-01-13 07:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:15:04] Production.INFO: Account Balance End.
[2025-01-13 07:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:15:04] Production.INFO: ==8683== Releasing lock...
[2025-01-13 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:15:05
[end_date_ymd] => 2025-01-13 07:15:05
[RateCDR] => 1
)
[2025-01-13 07:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:15:05' and `end` < '2025-01-13 07:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:15:11] Production.ERROR: CronJobId end10
[2025-01-13 07:15:11] Production.INFO: ==8681== Releasing lock...
[2025-01-13 07:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:15:13] Production.INFO: call_cost start
[2025-01-13 07:15:13] Production.INFO: call_cost end
[2025-01-13 07:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:15:14] Production.INFO: ==8677== Releasing lock...
[2025-01-13 07:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:15:19] Production.INFO: count ==82
[2025-01-13 07:15:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:15:05 - End Time 2025-01-13 07:15:05
[2025-01-13 07:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237346', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237346', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237346', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237346', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:15:19] Production.INFO: ProcessCDR(1,14237346,1,1,2)
[2025-01-13 07:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237346', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237346', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:15:22] Production.INFO: ==8685== Releasing lock...
[2025-01-13 07:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:15:22] Production.INFO: 28 MB #Memory Used#
[2025-01-13 12:16:02] Production.INFO: ==8782== Lock acquired, processing the job...
[2025-01-13 12:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:16:02] Production.INFO: neon service started
[2025-01-13 12:16:02] Production.INFO: neon service started
[2025-01-13 12:16:02] Production.INFO: ==8782== Releasing lock...
[2025-01-13 12:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:16:02] Production.INFO: ==8784== Lock acquired, processing the job...
[2025-01-13 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:16:02] Production.INFO: ==8784== Releasing lock...
[2025-01-13 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:16:03] Production.INFO: ==8786== Lock acquired, processing the job...
[2025-01-13 12:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:16:03] Production.INFO: ==8786== Releasing lock...
[2025-01-13 12:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:16:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:16:03] Production.INFO: ==8789== Lock acquired, processing the job...
[2025-01-13 07:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:16:03] Production.INFO: ==8793== Lock acquired, processing the job...
[2025-01-13 07:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:16:03] Production.INFO: ==8791== Lock acquired, processing the job...
[2025-01-13 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:16:03] Production.INFO: ==8795== Lock acquired, processing the job...
[2025-01-13 07:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:16:03] Production.INFO: ==8799== Lock acquired, processing the job...
[2025-01-13 07:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:16:04] Production.INFO: ==8797== Lock acquired, processing the job...
[2025-01-13 07:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:16:04] Production.INFO: Account Balance Start.
[2025-01-13 07:16:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:16:04] Production.INFO: 117
[2025-01-13 07:16:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:16:04] Production.INFO: count ==21
[2025-01-13 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-13 07:16:04] Production.INFO: count ==21
[2025-01-13 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237350') start
[2025-01-13 07:16:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:16:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:16:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:16:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237350') end
[2025-01-13 07:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:16:04] Production.INFO: 1
[2025-01-13 07:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:16:04] Production.INFO: ==8791== Releasing lock...
[2025-01-13 07:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:16:04] Production.INFO: ==8799== Releasing lock...
[2025-01-13 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:16:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:16:04] Production.INFO: Total Charge 0
[2025-01-13 07:16:04] Production.INFO: CreateAllLog End
[2025-01-13 07:16:04] Production.ERROR: done
[2025-01-13 07:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:16:04] Production.ERROR: done
[2025-01-13 07:16:04] Production.INFO: Account Balance End.
[2025-01-13 07:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:16:04] Production.INFO: ==8795== Releasing lock...
[2025-01-13 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:16:05
[end_date_ymd] => 2025-01-13 07:16:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:16:05' and `end` < '2025-01-13 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-13 07:16:12] Production.ERROR: CronJobId end10
[2025-01-13 07:16:12] Production.INFO: ==8793== Releasing lock...
[2025-01-13 07:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:16:14] Production.INFO: call_cost start
[2025-01-13 07:16:14] Production.INFO: call_cost end
[2025-01-13 07:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:16:14] Production.INFO: ==8789== Releasing lock...
[2025-01-13 07:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:16:19] Production.INFO: count ==83
[2025-01-13 07:16:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:16:05 - End Time 2025-01-13 07:16:05
[2025-01-13 07:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237351', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237351', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237351', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237351', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:16:19] Production.INFO: ProcessCDR(1,14237351,1,1,2)
[2025-01-13 07:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237351', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237351', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:16:23] Production.INFO: ==8797== Releasing lock...
[2025-01-13 07:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:16:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:17:01] Production.INFO: ==8860== Lock acquired, processing the job...
[2025-01-13 12:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:17:01] Production.INFO: neon service started
[2025-01-13 12:17:01] Production.INFO: neon service started
[2025-01-13 12:17:01] Production.INFO: ==8860== Releasing lock...
[2025-01-13 12:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:17:02] Production.INFO: ==8864== Lock acquired, processing the job...
[2025-01-13 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:17:02] Production.INFO: ==8864== Releasing lock...
[2025-01-13 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:17:02] Production.INFO: ==8862== Lock acquired, processing the job...
[2025-01-13 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:17:02] Production.INFO: ==8862== Releasing lock...
[2025-01-13 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:17:03] Production.INFO: ==8866== Lock acquired, processing the job...
[2025-01-13 07:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:17:03] Production.INFO: ==8868== Lock acquired, processing the job...
[2025-01-13 07:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:17:03] Production.INFO: ==8870== Lock acquired, processing the job...
[2025-01-13 07:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:17:03] Production.INFO: ==8868== Releasing lock...
[2025-01-13 07:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:17:03] Production.INFO: ==8872== Lock acquired, processing the job...
[2025-01-13 07:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:17:03] Production.INFO: Account Balance Start.
[2025-01-13 07:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:17:03] Production.INFO: 117
[2025-01-13 07:17:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:17:03] Production.INFO: ==8874== Lock acquired, processing the job...
[2025-01-13 07:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:17:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:17:03] Production.INFO: ==8877== Lock acquired, processing the job...
[2025-01-13 07:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:17:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:17:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:17:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:17:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:17:03] Production.INFO: Total Charge 0
[2025-01-13 07:17:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 07:17:04] Production.ERROR: done
[2025-01-13 07:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:17:04] Production.ERROR: done
[2025-01-13 07:17:04] Production.INFO: Account Balance End.
[2025-01-13 07:17:04] Production.INFO: count ==21
[2025-01-13 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-13 07:17:04] Production.INFO: count ==21
[2025-01-13 07:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:17:04] Production.INFO: ==8872== Releasing lock...
[2025-01-13 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237355') start
[2025-01-13 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237355') end
[2025-01-13 07:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:17:04] Production.INFO: 1
[2025-01-13 07:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:17:04] Production.INFO: ==8877== Releasing lock...
[2025-01-13 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:17:04
[end_date_ymd] => 2025-01-13 07:17:04
[RateCDR] => 1
)
[2025-01-13 07: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-13 04:17:04' and `end` < '2025-01-13 07: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-13 07:17:11] Production.ERROR: CronJobId end10
[2025-01-13 07:17:11] Production.INFO: ==8870== Releasing lock...
[2025-01-13 07:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:17:13] Production.INFO: call_cost start
[2025-01-13 07:17:13] Production.INFO: call_cost end
[2025-01-13 07:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:17:13] Production.INFO: ==8866== Releasing lock...
[2025-01-13 07:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:17:20] Production.INFO: count ==84
[2025-01-13 07:17:20] Production.ERROR: pbx CDR StartTime 2025-01-13 04:17:04 - End Time 2025-01-13 07:17:04
[2025-01-13 07:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237356', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237356', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237356', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237356', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:17:20] Production.INFO: ProcessCDR(1,14237356,1,1,2)
[2025-01-13 07:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:17:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:17:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237356', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237356', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:17:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:17:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:17:24] Production.INFO: ==8874== Releasing lock...
[2025-01-13 07:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:17:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:18:02] Production.INFO: ==8938== Lock acquired, processing the job...
[2025-01-13 12:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:18:02] Production.INFO: neon service started
[2025-01-13 12:18:02] Production.INFO: neon service started
[2025-01-13 12:18:02] Production.INFO: ==8938== Releasing lock...
[2025-01-13 12:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:18:02] Production.INFO: ==8942== Lock acquired, processing the job...
[2025-01-13 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:18:02] Production.INFO: ==8942== Releasing lock...
[2025-01-13 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:18:02] Production.INFO: ==8940== Lock acquired, processing the job...
[2025-01-13 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:18:02] Production.INFO: ==8940== Releasing lock...
[2025-01-13 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:18:03] Production.INFO: ==8944== Lock acquired, processing the job...
[2025-01-13 07:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:18:03] Production.INFO: ==8947== Lock acquired, processing the job...
[2025-01-13 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:18:03] Production.INFO: ==8955== Lock acquired, processing the job...
[2025-01-13 07:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:18:03] Production.INFO: ==8949== Lock acquired, processing the job...
[2025-01-13 07:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:18:04] Production.INFO: ==8951== Lock acquired, processing the job...
[2025-01-13 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:18:04] Production.INFO: ==8947== Releasing lock...
[2025-01-13 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:18:04] Production.INFO: ==8953== Lock acquired, processing the job...
[2025-01-13 07:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:18:04] Production.INFO: count ==21
[2025-01-13 07:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 07:18:04] Production.INFO: count ==21
[2025-01-13 07:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237359') start
[2025-01-13 07:18:04] Production.INFO: Account Balance Start.
[2025-01-13 07:18:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:18:04] Production.INFO: 117
[2025-01-13 07:18:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:18:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237359') end
[2025-01-13 07:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:18:04] Production.INFO: 1
[2025-01-13 07:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:18:04] Production.ERROR: done
[2025-01-13 07:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:18:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:18:04] Production.INFO: ==8955== Releasing lock...
[2025-01-13 07:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:18:04] Production.ERROR: done
[2025-01-13 07:18:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:18:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:18:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:18:04] Production.INFO: Total Charge 0
[2025-01-13 07:18:04] Production.INFO: CreateAllLog End
[2025-01-13 07:18:04] Production.INFO: Account Balance End.
[2025-01-13 07:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:18:04] Production.INFO: ==8951== Releasing lock...
[2025-01-13 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:18:05
[end_date_ymd] => 2025-01-13 07:18:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:18:05' and `end` < '2025-01-13 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-13 07:18:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-13 07:18:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:18:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:18:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:18:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:18:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:18:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:18:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:18:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:18:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:18:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:18:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:18:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:18:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:18:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:18:12] Production.INFO: call_cost start
[2025-01-13 07:18:12] Production.INFO: call_cost end
[2025-01-13 07:18:13] Production.ERROR: CronJobId end10
[2025-01-13 07:18:13] Production.INFO: ==8949== Releasing lock...
[2025-01-13 07:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:18:13] Production.INFO: ==8944== Releasing lock...
[2025-01-13 07:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:18:19] Production.INFO: count ==84
[2025-01-13 07:18:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:18:05 - End Time 2025-01-13 07:18:05
[2025-01-13 07:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237361', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237361', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237361', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237361', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:18:19] Production.INFO: ProcessCDR(1,14237361,1,1,2)
[2025-01-13 07:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237361', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237361', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:18:22] Production.INFO: ==8953== Releasing lock...
[2025-01-13 07:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:18:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:19:01] Production.INFO: ==9019== Lock acquired, processing the job...
[2025-01-13 12:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:19:01] Production.INFO: neon service started
[2025-01-13 12:19:01] Production.INFO: neon service started
[2025-01-13 12:19:01] Production.INFO: ==9019== Releasing lock...
[2025-01-13 12:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:19:01] Production.INFO: ==9023== Lock acquired, processing the job...
[2025-01-13 12:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:19:01] Production.INFO: ==9023== Releasing lock...
[2025-01-13 12:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:19:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:19:02] Production.INFO: ==9021== Lock acquired, processing the job...
[2025-01-13 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:19:02] Production.INFO: ==9021== Releasing lock...
[2025-01-13 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:19:03] Production.INFO: ==9030== Lock acquired, processing the job...
[2025-01-13 07:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:19:03] Production.INFO: ==9026== Lock acquired, processing the job...
[2025-01-13 07:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:19:03] Production.INFO: ==9034== Lock acquired, processing the job...
[2025-01-13 07:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:19:03] Production.INFO: ==9032== Lock acquired, processing the job...
[2025-01-13 07:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:19:03] Production.INFO: ==9028== Lock acquired, processing the job...
[2025-01-13 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:19:03] Production.INFO: ==9036== Lock acquired, processing the job...
[2025-01-13 07:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 07:19:03] Production.INFO: count ==21
[2025-01-13 07:19:03] Production.INFO: Account Balance Start.
[2025-01-13 07:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:19:03] Production.ERROR: done
[2025-01-13 07:19:03] Production.INFO: 117
[2025-01-13 07:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:19:03] Production.INFO: count ==21
[2025-01-13 07:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237364') start
[2025-01-13 07:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237364') end
[2025-01-13 07:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:19:03] Production.INFO: 1
[2025-01-13 07:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:19:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:19:03] Production.ERROR: done
[2025-01-13 07:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:19:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:19:03] Production.INFO: ==9036== Releasing lock...
[2025-01-13 07:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:19:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:19:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:19:03] Production.INFO: ==9028== Releasing lock...
[2025-01-13 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:19:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:19:04] Production.INFO: Total Charge 0
[2025-01-13 07:19:04] Production.INFO: CreateAllLog End
[2025-01-13 07:19:04] Production.INFO: Account Balance End.
[2025-01-13 07:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:19:04] Production.INFO: ==9032== Releasing lock...
[2025-01-13 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:19:04
[end_date_ymd] => 2025-01-13 07:19:04
[RateCDR] => 1
)
[2025-01-13 07: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-13 04:19:04' and `end` < '2025-01-13 07: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-13 07:19:10] Production.ERROR: CronJobId end10
[2025-01-13 07:19:10] Production.INFO: ==9030== Releasing lock...
[2025-01-13 07:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:19:13] Production.INFO: call_cost start
[2025-01-13 07:19:13] Production.INFO: call_cost end
[2025-01-13 07:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:19:14] Production.INFO: ==9026== Releasing lock...
[2025-01-13 07:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:19:17] Production.INFO: count ==84
[2025-01-13 07:19:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:19:04 - End Time 2025-01-13 07:19:04
[2025-01-13 07:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237366', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237366', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237366', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237366', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:19:17] Production.INFO: ProcessCDR(1,14237366,1,1,2)
[2025-01-13 07:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237366', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237366', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:19:20] Production.INFO: ==9034== Releasing lock...
[2025-01-13 07:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:19:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:20:01] Production.INFO: ==9096== Lock acquired, processing the job...
[2025-01-13 12:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:20:01] Production.INFO: neon service started
[2025-01-13 12:20:02] Production.INFO: neon service started
[2025-01-13 12:20:02] Production.INFO: ==9096== Releasing lock...
[2025-01-13 12:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:20:02] Production.INFO: ==9098== Lock acquired, processing the job...
[2025-01-13 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:20:02] Production.INFO: ==9098== Releasing lock...
[2025-01-13 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:20:02] Production.INFO: ==9100== Lock acquired, processing the job...
[2025-01-13 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:20:02] Production.INFO: ==9100== Releasing lock...
[2025-01-13 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:20:03] Production.INFO: ==9102== Lock acquired, processing the job...
[2025-01-13 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 07:20:03] Production.INFO: ==9106== Lock acquired, processing the job...
[2025-01-13 07:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:20:03] Production.INFO: ==9108== Lock acquired, processing the job...
[2025-01-13 07:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 07:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:20:03] Production.ERROR: CronJob PID - 9106
[2025-01-13 07:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 07:20:03] Production.ERROR: CronJob ID - 7
[2025-01-13 07:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 07:20:00
[2025-01-13 07:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 07:20:03] Production.INFO: ==9102== Releasing lock...
[2025-01-13 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 07:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 07:20:03] Production.INFO: ==9116== Lock acquired, processing the job...
[2025-01-13 07:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:20:03] Production.INFO: ==9104== Lock acquired, processing the job...
[2025-01-13 07:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:20:04] Production.INFO: ==9110== Lock acquired, processing the job...
[2025-01-13 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:20:04] Production.INFO: ==9114== Lock acquired, processing the job...
[2025-01-13 07:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 07:20:04] Production.INFO: ==9112== Lock acquired, processing the job...
[2025-01-13 07:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:20:04] Production.INFO: Account Balance Start.
[2025-01-13 07:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:20:04] Production.INFO: 117
[2025-01-13 07:20:04] Production.INFO: count ==21
[2025-01-13 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-13 07:20:04] Production.INFO: count ==21
[2025-01-13 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237369') start
[2025-01-13 07:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:20:04] Production.INFO: ==9106== Releasing lock...
[2025-01-13 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237369') end
[2025-01-13 07:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:20:04] Production.INFO: 1
[2025-01-13 07:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:20:04] Production.ERROR: done
[2025-01-13 07:20:04] Production.INFO: ==9116== Releasing lock...
[2025-01-13 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 07:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237371', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 07:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:20:04] Production.INFO: Total Charge 0
[2025-01-13 07:20:04] Production.INFO: CreateAllLog End
[2025-01-13 07:20:04] Production.ERROR: done
[2025-01-13 07:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:20:05] Production.INFO: Account Balance End.
[2025-01-13 07:20:05] Production.ERROR: done
[2025-01-13 07:20:05] Production.ERROR: CronJobId end 12
[2025-01-13 07:20:05] Production.INFO: ==9110== Releasing lock...
[2025-01-13 07:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:20:05
[end_date_ymd] => 2025-01-13 07:20:05
[RateCDR] => 1
)
[2025-01-13 07: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-13 04:20:05' and `end` < '2025-01-13 07: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-13 07:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237371', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 07:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 07:20:09] Production.INFO: ProcessCDR(1,14237371,1,1,2)
[2025-01-13 07:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237371,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237371,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:20:09] Production.INFO: ==9114== Releasing lock...
[2025-01-13 07:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 07:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 07:20:12] Production.ERROR: CronJobId end10
[2025-01-13 07:20:12] Production.INFO: ==9108== Releasing lock...
[2025-01-13 07:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:20:15] Production.INFO: call_cost start
[2025-01-13 07:20:15] Production.INFO: call_cost end
[2025-01-13 07:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:20:16] Production.INFO: ==9104== Releasing lock...
[2025-01-13 07:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:20:19] Production.INFO: count ==83
[2025-01-13 07:20:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:20:05 - End Time 2025-01-13 07:20:05
[2025-01-13 07:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237372', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237372', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237372', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237372', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:20:19] Production.INFO: ProcessCDR(1,14237372,1,1,2)
[2025-01-13 07:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237372', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237372', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:20:22] Production.INFO: ==9112== Releasing lock...
[2025-01-13 07:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:20:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:21:01] Production.INFO: ==9174== Lock acquired, processing the job...
[2025-01-13 12:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:21:01] Production.INFO: neon service started
[2025-01-13 12:21:01] Production.INFO: neon service started
[2025-01-13 12:21:01] Production.INFO: ==9174== Releasing lock...
[2025-01-13 12:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:21:01] Production.INFO: ==9178== Lock acquired, processing the job...
[2025-01-13 12:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:21:01] Production.INFO: ==9178== Releasing lock...
[2025-01-13 12:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:21:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:21:01] Production.INFO: ==9176== Lock acquired, processing the job...
[2025-01-13 07:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:21:02] Production.INFO: ==9176== Releasing lock...
[2025-01-13 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:21:02] Production.INFO: ==9182== Lock acquired, processing the job...
[2025-01-13 07:21:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:21:02] Production.INFO: ==9186== Lock acquired, processing the job...
[2025-01-13 07:21:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:21:02] Production.INFO: ==9189== Lock acquired, processing the job...
[2025-01-13 07:21:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:21:03] Production.INFO: Account Balance Start.
[2025-01-13 07:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:21:03] Production.INFO: 117
[2025-01-13 07:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:21:03] Production.INFO: ==9180== Lock acquired, processing the job...
[2025-01-13 07:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:21:03] Production.INFO: ==9184== Lock acquired, processing the job...
[2025-01-13 07:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:21:03] Production.INFO: ==9182== Releasing lock...
[2025-01-13 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:21:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:21:03] Production.INFO: ==9191== Lock acquired, processing the job...
[2025-01-13 07:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:21:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:21:03] Production.ERROR: done
[2025-01-13 07:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 07:21:03] Production.ERROR: done
[2025-01-13 07:21:03] Production.INFO: count ==21
[2025-01-13 07:21:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:21:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:21:03] Production.INFO: count ==21
[2025-01-13 07:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237376') start
[2025-01-13 07:21:03] Production.INFO: Total Charge 0
[2025-01-13 07:21:03] Production.INFO: CreateAllLog End
[2025-01-13 07:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237376') end
[2025-01-13 07:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:21:03] Production.INFO: 1
[2025-01-13 07:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:21:03] Production.INFO: Account Balance End.
[2025-01-13 07:21:03] Production.ERROR: CronJobId end 12
[2025-01-13 07:21:03] Production.INFO: ==9186== Releasing lock...
[2025-01-13 07:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:21:03] Production.INFO: ==9191== Releasing lock...
[2025-01-13 07:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:21:04
[end_date_ymd] => 2025-01-13 07:21:04
[RateCDR] => 1
)
[2025-01-13 07: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-13 04:21:04' and `end` < '2025-01-13 07: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-13 07:21:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-13 07:21:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:21:10] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:21:10] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:21:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:21:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:21:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:21:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:21:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:21:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:21:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:21:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:21:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:21:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:21:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:21:11] Production.INFO: call_cost start
[2025-01-13 07:21:11] Production.INFO: call_cost end
[2025-01-13 07:21:11] Production.ERROR: CronJobId end10
[2025-01-13 07:21:11] Production.INFO: ==9184== Releasing lock...
[2025-01-13 07:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:21:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:21:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:21:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:21:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:21:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:21:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:21:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:21:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:21:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:21:12] Production.INFO: ==9180== Releasing lock...
[2025-01-13 07:21:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:21:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:21:21] Production.INFO: count ==81
[2025-01-13 07:21:21] Production.ERROR: pbx CDR StartTime 2025-01-13 04:21:04 - End Time 2025-01-13 07:21:04
[2025-01-13 07:21:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237377', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237377', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237377', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237377', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:21:21] Production.INFO: ProcessCDR(1,14237377,1,1,2)
[2025-01-13 07:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:21:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:21:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237377', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237377', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:21:25] Production.INFO: ==9189== Releasing lock...
[2025-01-13 07:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:21:25] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:22:01] Production.INFO: ==9249== Lock acquired, processing the job...
[2025-01-13 12:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:22:01] Production.INFO: neon service started
[2025-01-13 12:22:01] Production.INFO: neon service started
[2025-01-13 12:22:01] Production.INFO: ==9249== Releasing lock...
[2025-01-13 12:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:22:02] Production.INFO: ==9251== Lock acquired, processing the job...
[2025-01-13 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:22:02] Production.INFO: ==9253== Lock acquired, processing the job...
[2025-01-13 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:22:02] Production.INFO: ==9253== Releasing lock...
[2025-01-13 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:22:02] Production.INFO: ==9251== Releasing lock...
[2025-01-13 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:22:03] Production.INFO: ==9274== Lock acquired, processing the job...
[2025-01-13 07:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:22:03] Production.INFO: ==9278== Lock acquired, processing the job...
[2025-01-13 07:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:22:03] Production.INFO: ==9280== Lock acquired, processing the job...
[2025-01-13 07:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:22:03] Production.INFO: ==9276== Lock acquired, processing the job...
[2025-01-13 07:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:22:03] Production.INFO: Account Balance Start.
[2025-01-13 07:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:22:03] Production.INFO: 117
[2025-01-13 07:22:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:22:03] Production.INFO: ==9282== Lock acquired, processing the job...
[2025-01-13 07:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:22:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:22:03] Production.INFO: ==9284== Lock acquired, processing the job...
[2025-01-13 07:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:22:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:22:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:22:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:22:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:22:03] Production.INFO: ==9276== Releasing lock...
[2025-01-13 07:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:22:03] Production.INFO: count ==21
[2025-01-13 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-13 07:22:03] Production.INFO: count ==21
[2025-01-13 07:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237381') start
[2025-01-13 07:22:04] Production.INFO: Total Charge 0
[2025-01-13 07:22:04] Production.INFO: CreateAllLog End
[2025-01-13 07:22:04] Production.ERROR: done
[2025-01-13 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237381') end
[2025-01-13 07:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:22:04] Production.INFO: 1
[2025-01-13 07:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:22:04] Production.INFO: ==9284== Releasing lock...
[2025-01-13 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:22:04] Production.INFO: Account Balance End.
[2025-01-13 07:22:04] Production.ERROR: done
[2025-01-13 07:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:22:04] Production.INFO: ==9280== Releasing lock...
[2025-01-13 07:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:22:05
[end_date_ymd] => 2025-01-13 07:22:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:22:05' and `end` < '2025-01-13 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-13 07:22:11] Production.ERROR: CronJobId end10
[2025-01-13 07:22:11] Production.INFO: ==9278== Releasing lock...
[2025-01-13 07:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:22:12] Production.INFO: call_cost start
[2025-01-13 07:22:12] Production.INFO: call_cost end
[2025-01-13 07:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:22:13] Production.INFO: ==9274== Releasing lock...
[2025-01-13 07:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:22:18] Production.INFO: count ==81
[2025-01-13 07:22:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:22:05 - End Time 2025-01-13 07:22:05
[2025-01-13 07:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237382', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237382', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237382', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237382', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:22:18] Production.INFO: ProcessCDR(1,14237382,1,1,2)
[2025-01-13 07:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237382', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237382', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:22:21] Production.INFO: ==9282== Releasing lock...
[2025-01-13 07:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:22:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:23:02] Production.INFO: ==9347== Lock acquired, processing the job...
[2025-01-13 12:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:23:02] Production.INFO: neon service started
[2025-01-13 12:23:02] Production.INFO: neon service started
[2025-01-13 12:23:02] Production.INFO: ==9347== Releasing lock...
[2025-01-13 12:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:23:02] Production.INFO: ==9349== Lock acquired, processing the job...
[2025-01-13 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:23:02] Production.INFO: ==9349== Releasing lock...
[2025-01-13 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:23:03] Production.INFO: ==9351== Lock acquired, processing the job...
[2025-01-13 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:23:03] Production.INFO: ==9351== Releasing lock...
[2025-01-13 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:23:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:23:03] Production.INFO: ==9353== Lock acquired, processing the job...
[2025-01-13 07:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:23:03] Production.INFO: ==9357== Lock acquired, processing the job...
[2025-01-13 07:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:23:03] Production.INFO: ==9360== Lock acquired, processing the job...
[2025-01-13 07:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:23:03] Production.INFO: Account Balance Start.
[2025-01-13 07:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:23:03] Production.INFO: 117
[2025-01-13 07:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:23:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:23:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:23:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:23:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:23:04] Production.INFO: ==9355== Lock acquired, processing the job...
[2025-01-13 07:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:23:04] Production.INFO: Total Charge 0
[2025-01-13 07:23:04] Production.INFO: CreateAllLog End
[2025-01-13 07:23:04] Production.INFO: ==9362== Lock acquired, processing the job...
[2025-01-13 07:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:23:04] Production.INFO: ==9364== Lock acquired, processing the job...
[2025-01-13 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:23:04] Production.INFO: Account Balance End.
[2025-01-13 07:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:23:04] Production.INFO: ==9360== Releasing lock...
[2025-01-13 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:23:04] Production.INFO: count ==21
[2025-01-13 07:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:23:04] Production.INFO: ==9355== Releasing lock...
[2025-01-13 07:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:23:04] Production.INFO: count ==21
[2025-01-13 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237386') start
[2025-01-13 07:23:04] Production.ERROR: done
[2025-01-13 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237386') end
[2025-01-13 07:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:23:04] Production.INFO: 1
[2025-01-13 07:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:23:04] Production.INFO: ==9364== Releasing lock...
[2025-01-13 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:23:04] Production.ERROR: done
[2025-01-13 07:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:23:05
[end_date_ymd] => 2025-01-13 07:23:05
[RateCDR] => 1
)
[2025-01-13 07:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:23:05' and `end` < '2025-01-13 07:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:23:11] Production.ERROR: CronJobId end10
[2025-01-13 07:23:11] Production.INFO: ==9357== Releasing lock...
[2025-01-13 07:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:23:13] Production.INFO: call_cost start
[2025-01-13 07:23:13] Production.INFO: call_cost end
[2025-01-13 07:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:23:14] Production.INFO: ==9353== Releasing lock...
[2025-01-13 07:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:23:18] Production.INFO: count ==81
[2025-01-13 07:23:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:23:05 - End Time 2025-01-13 07:23:05
[2025-01-13 07:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237387', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237387', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237387', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237387', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:23:18] Production.INFO: ProcessCDR(1,14237387,1,1,2)
[2025-01-13 07:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237387', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237387', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:23:21] Production.INFO: ==9362== Releasing lock...
[2025-01-13 07:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:23:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:24:01] Production.INFO: ==9423== Lock acquired, processing the job...
[2025-01-13 12:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:24:01] Production.INFO: neon service started
[2025-01-13 12:24:01] Production.INFO: neon service started
[2025-01-13 12:24:01] Production.INFO: ==9423== Releasing lock...
[2025-01-13 12:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:24:02] Production.INFO: ==9425== Lock acquired, processing the job...
[2025-01-13 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:24:02] Production.INFO: ==9427== Lock acquired, processing the job...
[2025-01-13 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:24:02] Production.INFO: ==9427== Releasing lock...
[2025-01-13 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:24:02] Production.INFO: ==9425== Releasing lock...
[2025-01-13 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:24:03] Production.INFO: ==9430== Lock acquired, processing the job...
[2025-01-13 07:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:24:03] Production.INFO: ==9432== Lock acquired, processing the job...
[2025-01-13 07:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:24:03] Production.INFO: ==9438== Lock acquired, processing the job...
[2025-01-13 07:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:24:03] Production.INFO: ==9432== Releasing lock...
[2025-01-13 07:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:24:03] Production.INFO: ==9434== Lock acquired, processing the job...
[2025-01-13 07:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:24:03] Production.INFO: ==9436== Lock acquired, processing the job...
[2025-01-13 07:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:24:04] Production.INFO: ==9440== Lock acquired, processing the job...
[2025-01-13 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:24:04] Production.INFO: Account Balance Start.
[2025-01-13 07:24:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:24:04] Production.INFO: 117
[2025-01-13 07:24:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:24:04] Production.ERROR: done
[2025-01-13 07:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:24:04] Production.INFO: count ==21
[2025-01-13 07:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 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-13 07:24:04] Production.INFO: count ==21
[2025-01-13 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:24:04] Production.ERROR: done
[2025-01-13 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237391') start
[2025-01-13 07:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237391') end
[2025-01-13 07:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:24:04] Production.INFO: 1
[2025-01-13 07:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:24:04] Production.INFO: Total Charge 0
[2025-01-13 07:24:04] Production.INFO: CreateAllLog End
[2025-01-13 07:24:04] Production.INFO: ==9440== Releasing lock...
[2025-01-13 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:24:04] Production.INFO: Account Balance End.
[2025-01-13 07:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:24:04] Production.INFO: ==9436== Releasing lock...
[2025-01-13 07:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:24:05
[end_date_ymd] => 2025-01-13 07:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:24:05' and `end` < '2025-01-13 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-13 07:24:11] Production.ERROR: CronJobId end10
[2025-01-13 07:24:11] Production.INFO: ==9434== Releasing lock...
[2025-01-13 07:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:24:13] Production.INFO: call_cost start
[2025-01-13 07:24:13] Production.INFO: call_cost end
[2025-01-13 07:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:24:14] Production.INFO: ==9430== Releasing lock...
[2025-01-13 07:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:24:17] Production.INFO: count ==81
[2025-01-13 07:24:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:24:05 - End Time 2025-01-13 07:24:05
[2025-01-13 07:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237392', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237392', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237392', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237392', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:24:17] Production.INFO: ProcessCDR(1,14237392,1,1,2)
[2025-01-13 07:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237392', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237392', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:24:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:24:21] Production.INFO: ==9438== Releasing lock...
[2025-01-13 07:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:24:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:25:02] Production.INFO: ==9497== Lock acquired, processing the job...
[2025-01-13 12:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:25:02] Production.INFO: neon service started
[2025-01-13 12:25:02] Production.INFO: neon service started
[2025-01-13 12:25:02] Production.INFO: ==9497== Releasing lock...
[2025-01-13 12:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:25:03] Production.INFO: ==9500== Lock acquired, processing the job...
[2025-01-13 07:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:25:03] Production.INFO: ==9502== Lock acquired, processing the job...
[2025-01-13 12:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:25:03] Production.INFO: ==9502== Releasing lock...
[2025-01-13 12:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:25:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:25:03] Production.INFO: ==9500== Releasing lock...
[2025-01-13 07:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:25:04] Production.INFO: ==9504== Lock acquired, processing the job...
[2025-01-13 07:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:25:04] Production.INFO: ==9506== Lock acquired, processing the job...
[2025-01-13 07:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:25:04] Production.INFO: ==9510== Lock acquired, processing the job...
[2025-01-13 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:25:04] Production.INFO: ==9508== Lock acquired, processing the job...
[2025-01-13 07:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:25:04] Production.INFO: Account Balance Start.
[2025-01-13 07:25:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:25:04] Production.INFO: 117
[2025-01-13 07:25:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:25:04] Production.INFO: ==9514== Lock acquired, processing the job...
[2025-01-13 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:25:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:25:04] Production.INFO: ==9506== Releasing lock...
[2025-01-13 07:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:25:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:25:04] Production.INFO: ==9512== Lock acquired, processing the job...
[2025-01-13 07:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:25:04] Production.INFO: count ==21
[2025-01-13 07:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:25:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:25:04] Production.INFO: count ==21
[2025-01-13 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237396') start
[2025-01-13 07:25:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237396') end
[2025-01-13 07:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:25:04] Production.INFO: 1
[2025-01-13 07:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:25:04] Production.INFO: Total Charge 0
[2025-01-13 07:25:04] Production.INFO: ==9514== Releasing lock...
[2025-01-13 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:25:04] Production.INFO: CreateAllLog End
[2025-01-13 07:25:04] Production.ERROR: done
[2025-01-13 07:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:25:05] Production.INFO: Account Balance End.
[2025-01-13 07:25:05] Production.ERROR: done
[2025-01-13 07:25:05] Production.ERROR: CronJobId end 12
[2025-01-13 07:25:05] Production.INFO: ==9510== Releasing lock...
[2025-01-13 07:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:25:05
[end_date_ymd] => 2025-01-13 07:25:05
[RateCDR] => 1
)
[2025-01-13 07:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:25:05' and `end` < '2025-01-13 07:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:25:12] Production.ERROR: CronJobId end10
[2025-01-13 07:25:12] Production.INFO: ==9508== Releasing lock...
[2025-01-13 07:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:25:13] Production.INFO: call_cost start
[2025-01-13 07:25:13] Production.INFO: call_cost end
[2025-01-13 07:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:25:14] Production.INFO: ==9504== Releasing lock...
[2025-01-13 07:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:25:18] Production.INFO: count ==81
[2025-01-13 07:25:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:25:05 - End Time 2025-01-13 07:25:05
[2025-01-13 07:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237397', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237397', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237397', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237397', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:25:18] Production.INFO: ProcessCDR(1,14237397,1,1,2)
[2025-01-13 07:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237397', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237397', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:25:21] Production.INFO: ==9512== Releasing lock...
[2025-01-13 07:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:25:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:26:01] Production.INFO: ==9572== Lock acquired, processing the job...
[2025-01-13 12:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:26:02] Production.INFO: neon service started
[2025-01-13 12:26:02] Production.INFO: neon service started
[2025-01-13 12:26:02] Production.INFO: ==9572== Releasing lock...
[2025-01-13 12:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:26:02] Production.INFO: ==9574== Lock acquired, processing the job...
[2025-01-13 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:26:02] Production.INFO: ==9574== Releasing lock...
[2025-01-13 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:26:02] Production.INFO: ==9576== Lock acquired, processing the job...
[2025-01-13 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:26:02] Production.INFO: ==9576== Releasing lock...
[2025-01-13 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:26:03] Production.INFO: ==9583== Lock acquired, processing the job...
[2025-01-13 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:26:03] Production.INFO: ==9589== Lock acquired, processing the job...
[2025-01-13 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:26:03] Production.INFO: ==9579== Lock acquired, processing the job...
[2025-01-13 07:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:26:03] Production.INFO: ==9581== Lock acquired, processing the job...
[2025-01-13 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:26:04] Production.INFO: count ==21
[2025-01-13 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-13 07:26:04] Production.INFO: count ==21
[2025-01-13 07:26:04] Production.INFO: ==9585== Lock acquired, processing the job...
[2025-01-13 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237398') start
[2025-01-13 07:26:04] Production.INFO: Account Balance Start.
[2025-01-13 07:26:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:26:04] Production.INFO: 117
[2025-01-13 07:26:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:26:04] Production.INFO: ==9587== Lock acquired, processing the job...
[2025-01-13 07:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237398') end
[2025-01-13 07:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:26:04] Production.INFO: 1
[2025-01-13 07:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:26:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:26:04] Production.INFO: ==9589== Releasing lock...
[2025-01-13 07:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:26:04] Production.INFO: ==9581== Releasing lock...
[2025-01-13 07:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:26:04] Production.ERROR: done
[2025-01-13 07:26:04] Production.INFO: Total Charge 0
[2025-01-13 07:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:26:04] Production.INFO: CreateAllLog End
[2025-01-13 07:26:04] Production.ERROR: done
[2025-01-13 07:26:04] Production.INFO: Account Balance End.
[2025-01-13 07:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:26:04] Production.INFO: ==9585== Releasing lock...
[2025-01-13 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:26:05
[end_date_ymd] => 2025-01-13 07:26:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:26:05' and `end` < '2025-01-13 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-13 07:26:12] Production.ERROR: CronJobId end10
[2025-01-13 07:26:12] Production.INFO: ==9583== Releasing lock...
[2025-01-13 07:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:26:13] Production.INFO: call_cost start
[2025-01-13 07:26:13] Production.INFO: call_cost end
[2025-01-13 07:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:26:14] Production.INFO: ==9579== Releasing lock...
[2025-01-13 07:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:26:18] Production.INFO: count ==81
[2025-01-13 07:26:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:26:05 - End Time 2025-01-13 07:26:05
[2025-01-13 07:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237402', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237402', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237402', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237402', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:26:18] Production.INFO: ProcessCDR(1,14237402,1,1,2)
[2025-01-13 07:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237402', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237402', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:26:21] Production.INFO: ==9587== Releasing lock...
[2025-01-13 07:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:26:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:27:01] Production.INFO: ==9648== Lock acquired, processing the job...
[2025-01-13 12:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:27:01] Production.INFO: neon service started
[2025-01-13 12:27:01] Production.INFO: neon service started
[2025-01-13 12:27:01] Production.INFO: ==9648== Releasing lock...
[2025-01-13 12:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:27:01] Production.INFO: ==9650== Lock acquired, processing the job...
[2025-01-13 07:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:27:02] Production.INFO: ==9650== Releasing lock...
[2025-01-13 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:27:02] Production.INFO: ==9652== Lock acquired, processing the job...
[2025-01-13 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:27:02] Production.INFO: ==9652== Releasing lock...
[2025-01-13 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:27:02] Production.INFO: ==9655== Lock acquired, processing the job...
[2025-01-13 07:27:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:27:02] Production.INFO: ==9661== Lock acquired, processing the job...
[2025-01-13 07:27:02] Production.INFO: ==9659== Lock acquired, processing the job...
[2025-01-13 07:27:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:27:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:27:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:27:03] Production.INFO: ==9657== Lock acquired, processing the job...
[2025-01-13 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:27:03] Production.INFO: Account Balance Start.
[2025-01-13 07:27:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:27:03] Production.INFO: 117
[2025-01-13 07:27:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:27:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:27:03] Production.INFO: ==9665== Lock acquired, processing the job...
[2025-01-13 07:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:27:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:27:03] Production.INFO: ==9663== Lock acquired, processing the job...
[2025-01-13 07:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:27:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:27:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:27:03] Production.INFO: count ==21
[2025-01-13 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-13 07:27:03] Production.INFO: count ==21
[2025-01-13 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237406') start
[2025-01-13 07:27:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:27:03] Production.INFO: Total Charge 0
[2025-01-13 07:27:03] Production.INFO: CreateAllLog End
[2025-01-13 07:27:03] Production.INFO: ==9657== Releasing lock...
[2025-01-13 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237406') end
[2025-01-13 07:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:27:03] Production.INFO: 1
[2025-01-13 07:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:27:03] Production.INFO: ==9665== Releasing lock...
[2025-01-13 07:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:27:03] Production.ERROR: done
[2025-01-13 07:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:27:03] Production.ERROR: done
[2025-01-13 07:27:03] Production.INFO: Account Balance End.
[2025-01-13 07:27:03] Production.ERROR: CronJobId end 12
[2025-01-13 07:27:03] Production.INFO: ==9661== Releasing lock...
[2025-01-13 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:27:04
[end_date_ymd] => 2025-01-13 07:27:04
[RateCDR] => 1
)
[2025-01-13 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-13 04:27:04' and `end` < '2025-01-13 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-13 07:27:10] Production.ERROR: CronJobId end10
[2025-01-13 07:27:10] Production.INFO: ==9659== Releasing lock...
[2025-01-13 07:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:27:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:27:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:27:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:27:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:27:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:27:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:27:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:27:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:27:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:27:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:27:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:27:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:27:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:27:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:27:12] Production.INFO: call_cost start
[2025-01-13 07:27:12] Production.INFO: call_cost end
[2025-01-13 07:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:27:13] Production.INFO: ==9655== Releasing lock...
[2025-01-13 07:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:27:19] Production.INFO: count ==81
[2025-01-13 07:27:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:27:04 - End Time 2025-01-13 07:27:04
[2025-01-13 07:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237407', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237407', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237407', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237407', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:27:19] Production.INFO: ProcessCDR(1,14237407,1,1,2)
[2025-01-13 07:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237407', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237407', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:27:22] Production.INFO: ==9663== Releasing lock...
[2025-01-13 07:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:27:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:28:01] Production.INFO: ==9725== Lock acquired, processing the job...
[2025-01-13 12:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:28:01] Production.INFO: neon service started
[2025-01-13 12:28:01] Production.INFO: neon service started
[2025-01-13 12:28:01] Production.INFO: ==9725== Releasing lock...
[2025-01-13 12:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:28:02] Production.INFO: ==9727== Lock acquired, processing the job...
[2025-01-13 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:28:02] Production.INFO: ==9727== Releasing lock...
[2025-01-13 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:28:02] Production.INFO: ==9729== Lock acquired, processing the job...
[2025-01-13 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:28:02] Production.INFO: ==9729== Releasing lock...
[2025-01-13 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:28:03] Production.INFO: ==9732== Lock acquired, processing the job...
[2025-01-13 07:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:28:03] Production.INFO: ==9734== Lock acquired, processing the job...
[2025-01-13 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:28:03] Production.INFO: ==9740== Lock acquired, processing the job...
[2025-01-13 07:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:28:03] Production.INFO: ==9736== Lock acquired, processing the job...
[2025-01-13 07:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:28:03] Production.INFO: ==9738== Lock acquired, processing the job...
[2025-01-13 07:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:28:03] Production.INFO: ==9742== Lock acquired, processing the job...
[2025-01-13 07:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:28:03] Production.INFO: ==9734== Releasing lock...
[2025-01-13 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:28:03] Production.ERROR: done
[2025-01-13 07:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:28:03] Production.INFO: Account Balance Start.
[2025-01-13 07:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:28:03] Production.INFO: 117
[2025-01-13 07:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:28:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:28:03] Production.INFO: count ==21
[2025-01-13 07:28:03] Production.ERROR: done
[2025-01-13 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-13 07:28:03] Production.INFO: count ==21
[2025-01-13 07:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237411') start
[2025-01-13 07:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:28:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:28:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:28:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237411') end
[2025-01-13 07:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:28:04] Production.INFO: 1
[2025-01-13 07:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:28:04] Production.INFO: ==9742== Releasing lock...
[2025-01-13 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:28:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:28:04] Production.INFO: Total Charge 0
[2025-01-13 07:28:04] Production.INFO: CreateAllLog End
[2025-01-13 07:28:04] Production.INFO: Account Balance End.
[2025-01-13 07:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:28:04] Production.INFO: ==9738== Releasing lock...
[2025-01-13 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:28:04
[end_date_ymd] => 2025-01-13 07:28:04
[RateCDR] => 1
)
[2025-01-13 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-13 04:28:04' and `end` < '2025-01-13 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-13 07:28:11] Production.ERROR: CronJobId end10
[2025-01-13 07:28:11] Production.INFO: ==9736== Releasing lock...
[2025-01-13 07:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:28:12] Production.INFO: call_cost start
[2025-01-13 07:28:12] Production.INFO: call_cost end
[2025-01-13 07:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:28:13] Production.INFO: ==9732== Releasing lock...
[2025-01-13 07:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:28:19] Production.INFO: count ==81
[2025-01-13 07:28:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:28:04 - End Time 2025-01-13 07:28:04
[2025-01-13 07:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237412', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237412', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237412', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237412', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:28:19] Production.INFO: ProcessCDR(1,14237412,1,1,2)
[2025-01-13 07:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237412', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237412', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:28:22] Production.INFO: ==9740== Releasing lock...
[2025-01-13 07:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:28:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:29:02] Production.INFO: ==9842== Lock acquired, processing the job...
[2025-01-13 12:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:29:02] Production.INFO: neon service started
[2025-01-13 12:29:02] Production.INFO: neon service started
[2025-01-13 12:29:02] Production.INFO: ==9842== Releasing lock...
[2025-01-13 12:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:29:02] Production.INFO: ==9844== Lock acquired, processing the job...
[2025-01-13 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:29:02] Production.INFO: ==9844== Releasing lock...
[2025-01-13 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:29:03] Production.INFO: ==9846== Lock acquired, processing the job...
[2025-01-13 12:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:29:03] Production.INFO: ==9846== Releasing lock...
[2025-01-13 12:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:29:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:29:03] Production.INFO: ==9856== Lock acquired, processing the job...
[2025-01-13 07:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:29:03] Production.INFO: ==9854== Lock acquired, processing the job...
[2025-01-13 07:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:29:04] Production.INFO: ==9848== Lock acquired, processing the job...
[2025-01-13 07:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:29:04] Production.INFO: Account Balance Start.
[2025-01-13 07:29:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:29:04] Production.INFO: ==9850== Lock acquired, processing the job...
[2025-01-13 07:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:29:04] Production.INFO: 117
[2025-01-13 07:29:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:29:04] Production.INFO: ==9852== Lock acquired, processing the job...
[2025-01-13 07:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:29:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:29:04] Production.INFO: ==9858== Lock acquired, processing the job...
[2025-01-13 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:29:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:29:04] Production.ERROR: done
[2025-01-13 07:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:29:04] Production.INFO: count ==21
[2025-01-13 07:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:29:04] Production.INFO: count ==21
[2025-01-13 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237416') start
[2025-01-13 07:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:29:04] Production.ERROR: done
[2025-01-13 07:29:04] Production.INFO: ==9850== Releasing lock...
[2025-01-13 07:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237416') end
[2025-01-13 07:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:29:04] Production.INFO: 1
[2025-01-13 07:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:29:04] Production.INFO: Total Charge 0
[2025-01-13 07:29:04] Production.INFO: CreateAllLog End
[2025-01-13 07:29:04] Production.INFO: ==9858== Releasing lock...
[2025-01-13 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:29:04] Production.INFO: Account Balance End.
[2025-01-13 07:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:29:04] Production.INFO: ==9854== Releasing lock...
[2025-01-13 07:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:29:05
[end_date_ymd] => 2025-01-13 07:29:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:29:05' and `end` < '2025-01-13 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-13 07:29:11] Production.ERROR: CronJobId end10
[2025-01-13 07:29:11] Production.INFO: ==9852== Releasing lock...
[2025-01-13 07:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:29:13] Production.INFO: call_cost start
[2025-01-13 07:29:13] Production.INFO: call_cost end
[2025-01-13 07:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:29:14] Production.INFO: ==9848== Releasing lock...
[2025-01-13 07:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:29:18] Production.INFO: count ==81
[2025-01-13 07:29:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:29:05 - End Time 2025-01-13 07:29:05
[2025-01-13 07:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237417', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237417', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237417', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237417', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:29:18] Production.INFO: ProcessCDR(1,14237417,1,1,2)
[2025-01-13 07:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237417', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237417', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:29:21] Production.INFO: ==9856== Releasing lock...
[2025-01-13 07:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:29:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:30:01] Production.INFO: ==9922== Lock acquired, processing the job...
[2025-01-13 12:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:30:01] Production.INFO: neon service started
[2025-01-13 12:30:01] Production.INFO: neon service started
[2025-01-13 12:30:01] Production.INFO: ==9922== Releasing lock...
[2025-01-13 12:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:30:02] Production.INFO: ==9926== Lock acquired, processing the job...
[2025-01-13 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:30:02] Production.INFO: ==9926== Releasing lock...
[2025-01-13 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:30:02] Production.INFO: ==9924== Lock acquired, processing the job...
[2025-01-13 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:30:02] Production.INFO: ==9924== Releasing lock...
[2025-01-13 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:30:03] Production.INFO: ==9929== Lock acquired, processing the job...
[2025-01-13 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 07:30:03] Production.INFO: ==9931== Lock acquired, processing the job...
[2025-01-13 07:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 07:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 07:30:03] Production.INFO: ==9929== Releasing lock...
[2025-01-13 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 07:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 07:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:30:03] Production.INFO: ==9937== Lock acquired, processing the job...
[2025-01-13 07:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:30:03] Production.INFO: ==9943== Lock acquired, processing the job...
[2025-01-13 07:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:30:03] Production.INFO: Account Balance Start.
[2025-01-13 07:30:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:30:03] Production.INFO: 117
[2025-01-13 07:30:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:30:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:30:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:30:04] Production.INFO: count ==21
[2025-01-13 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-13 07:30:04] Production.INFO: count ==21
[2025-01-13 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237420') start
[2025-01-13 07:30:04] Production.INFO: ==9935== Lock acquired, processing the job...
[2025-01-13 07:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:30:04] Production.INFO: ==9933== Lock acquired, processing the job...
[2025-01-13 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:30:04] Production.INFO: Total Charge 0
[2025-01-13 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237420') end
[2025-01-13 07:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:30:04] Production.INFO: 1
[2025-01-13 07:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:30:04] Production.INFO: CreateAllLog End
[2025-01-13 07:30:04] Production.INFO: ==9941== Lock acquired, processing the job...
[2025-01-13 07:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 07:30:04] Production.INFO: ==9939== Lock acquired, processing the job...
[2025-01-13 07:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:30:04] Production.INFO: ==9943== Releasing lock...
[2025-01-13 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:30:04] Production.INFO: Account Balance End.
[2025-01-13 07:30:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:30:04] Production.INFO: ==9937== Releasing lock...
[2025-01-13 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:30:04] Production.INFO: ==9933== Releasing lock...
[2025-01-13 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:30:04] Production.ERROR: done
[2025-01-13 07:30:04] Production.ERROR: done
[2025-01-13 07:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 07:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237422', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 07:30:05] Production.ERROR: done
[2025-01-13 07:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:30:06
[end_date_ymd] => 2025-01-13 07:30:06
[RateCDR] => 1
)
[2025-01-13 07:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:30:06' and `end` < '2025-01-13 07:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237422', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 07:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 07:30:09] Production.INFO: ProcessCDR(1,14237422,1,1,2)
[2025-01-13 07:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237422,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237422,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:30:09] Production.INFO: ==9941== Releasing lock...
[2025-01-13 07:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 07:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 07:30:13] Production.ERROR: CronJobId end10
[2025-01-13 07:30:13] Production.INFO: ==9935== Releasing lock...
[2025-01-13 07:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:30:15] Production.INFO: call_cost start
[2025-01-13 07:30:15] Production.INFO: call_cost end
[2025-01-13 07:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:30:16] Production.INFO: ==9931== Releasing lock...
[2025-01-13 07:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:30:18] Production.INFO: count ==77
[2025-01-13 07:30:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:30:06 - End Time 2025-01-13 07:30:06
[2025-01-13 07:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237423', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237423', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237423', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237423', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:30:18] Production.INFO: ProcessCDR(1,14237423,1,1,2)
[2025-01-13 07:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237423', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237423', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:30:21] Production.INFO: ==9939== Releasing lock...
[2025-01-13 07:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:30:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:31:02] Production.INFO: ==10002== Lock acquired, processing the job...
[2025-01-13 12:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:31:02] Production.INFO: neon service started
[2025-01-13 12:31:02] Production.INFO: neon service started
[2025-01-13 12:31:02] Production.INFO: ==10002== Releasing lock...
[2025-01-13 12:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:31:02] Production.INFO: ==10004== Lock acquired, processing the job...
[2025-01-13 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:31:02] Production.INFO: ==10004== Releasing lock...
[2025-01-13 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:31:03] Production.INFO: ==10006== Lock acquired, processing the job...
[2025-01-13 12:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:31:03] Production.INFO: ==10006== Releasing lock...
[2025-01-13 12:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:31:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:31:03] Production.INFO: ==10019== Lock acquired, processing the job...
[2025-01-13 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:31:03] Production.INFO: ==10017== Lock acquired, processing the job...
[2025-01-13 07:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:31:03] Production.INFO: ==10011== Lock acquired, processing the job...
[2025-01-13 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:31:03] Production.INFO: ==10009== Lock acquired, processing the job...
[2025-01-13 07:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 07:31:04] Production.INFO: ==10013== Lock acquired, processing the job...
[2025-01-13 07:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:31:04] Production.INFO: ==10015== Lock acquired, processing the job...
[2025-01-13 07:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:31:04] Production.INFO: count ==21
[2025-01-13 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-13 07:31:04] Production.INFO: count ==21
[2025-01-13 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237424') start
[2025-01-13 07:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:31:04] Production.INFO: Account Balance Start.
[2025-01-13 07:31:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:31:04] Production.INFO: 117
[2025-01-13 07:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:31:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:31:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237424') end
[2025-01-13 07:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:31:04] Production.INFO: 1
[2025-01-13 07:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:31:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:31:04] Production.ERROR: done
[2025-01-13 07:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:31:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:31:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:31:04] Production.INFO: ==10019== Releasing lock...
[2025-01-13 07:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:31:04] Production.INFO: Total Charge 0
[2025-01-13 07:31:04] Production.INFO: CreateAllLog End
[2025-01-13 07:31:04] Production.ERROR: done
[2025-01-13 07:31:04] Production.INFO: ==10011== Releasing lock...
[2025-01-13 07:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:31:04] Production.INFO: Account Balance End.
[2025-01-13 07:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:31:04] Production.INFO: ==10015== Releasing lock...
[2025-01-13 07:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:31:05
[end_date_ymd] => 2025-01-13 07:31:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:31:05' and `end` < '2025-01-13 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-13 07:31:11] Production.ERROR: CronJobId end10
[2025-01-13 07:31:11] Production.INFO: ==10013== Releasing lock...
[2025-01-13 07:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:31:12] Production.INFO: call_cost start
[2025-01-13 07:31:12] Production.INFO: call_cost end
[2025-01-13 07:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:31:13] Production.INFO: ==10009== Releasing lock...
[2025-01-13 07:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:31:19] Production.INFO: count ==77
[2025-01-13 07:31:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:31:05 - End Time 2025-01-13 07:31:05
[2025-01-13 07:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237428', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237428', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237428', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237428', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:31:19] Production.INFO: ProcessCDR(1,14237428,1,1,2)
[2025-01-13 07:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237428', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237428', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:31:22] Production.INFO: ==10017== Releasing lock...
[2025-01-13 07:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:31:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:32:01] Production.INFO: ==10078== Lock acquired, processing the job...
[2025-01-13 12:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:32:01] Production.INFO: neon service started
[2025-01-13 12:32:01] Production.INFO: neon service started
[2025-01-13 12:32:01] Production.INFO: ==10078== Releasing lock...
[2025-01-13 12:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:32:02] Production.INFO: ==10082== Lock acquired, processing the job...
[2025-01-13 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:32:02] Production.INFO: ==10082== Releasing lock...
[2025-01-13 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:32:02] Production.INFO: ==10080== Lock acquired, processing the job...
[2025-01-13 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:32:02] Production.INFO: ==10080== Releasing lock...
[2025-01-13 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:32:03] Production.INFO: ==10087== Lock acquired, processing the job...
[2025-01-13 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:32:03] Production.INFO: ==10089== Lock acquired, processing the job...
[2025-01-13 07:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:32:03] Production.INFO: ==10095== Lock acquired, processing the job...
[2025-01-13 07:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:32:03] Production.INFO: ==10087== Releasing lock...
[2025-01-13 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 07:32:03] Production.INFO: ==10091== Lock acquired, processing the job...
[2025-01-13 07:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:32:03] Production.INFO: ==10085== Lock acquired, processing the job...
[2025-01-13 07:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:32:03] Production.INFO: count ==21
[2025-01-13 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-13 07:32:03] Production.INFO: count ==21
[2025-01-13 07:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237430') start
[2025-01-13 07:32:03] Production.INFO: ==10093== Lock acquired, processing the job...
[2025-01-13 07:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:32:03] Production.INFO: Account Balance Start.
[2025-01-13 07:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:32:03] Production.INFO: 117
[2025-01-13 07:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237430') end
[2025-01-13 07:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:32:04] Production.INFO: 1
[2025-01-13 07:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:32:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:32:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:32:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:32:04] Production.INFO: ==10095== Releasing lock...
[2025-01-13 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:32:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:32:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:32:04] Production.INFO: Total Charge 0
[2025-01-13 07:32:04] Production.INFO: CreateAllLog End
[2025-01-13 07:32:04] Production.ERROR: done
[2025-01-13 07:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:32:04] Production.ERROR: done
[2025-01-13 07:32:04] Production.INFO: Account Balance End.
[2025-01-13 07:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:32:04] Production.INFO: ==10091== Releasing lock...
[2025-01-13 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:32:05
[end_date_ymd] => 2025-01-13 07:32:05
[RateCDR] => 1
)
[2025-01-13 07:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:32:05' and `end` < '2025-01-13 07:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:32:11] Production.ERROR: CronJobId end10
[2025-01-13 07:32:11] Production.INFO: ==10089== Releasing lock...
[2025-01-13 07:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:32:14] Production.INFO: call_cost start
[2025-01-13 07:32:14] Production.INFO: call_cost end
[2025-01-13 07:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:32:15] Production.INFO: ==10085== Releasing lock...
[2025-01-13 07:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:32:18] Production.INFO: count ==77
[2025-01-13 07:32:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:32:05 - End Time 2025-01-13 07:32:05
[2025-01-13 07:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237433', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237433', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237433', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237433', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:32:18] Production.INFO: ProcessCDR(1,14237433,1,1,2)
[2025-01-13 07:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237433', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237433', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:32:21] Production.INFO: ==10093== Releasing lock...
[2025-01-13 07:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:32:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:33:02] Production.INFO: ==10153== Lock acquired, processing the job...
[2025-01-13 12:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:33:02] Production.INFO: neon service started
[2025-01-13 12:33:02] Production.INFO: neon service started
[2025-01-13 12:33:02] Production.INFO: ==10153== Releasing lock...
[2025-01-13 12:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:33:02] Production.INFO: ==10155== Lock acquired, processing the job...
[2025-01-13 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:33:02] Production.INFO: ==10155== Releasing lock...
[2025-01-13 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:33:03] Production.INFO: ==10157== Lock acquired, processing the job...
[2025-01-13 12:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:33:03] Production.INFO: ==10157== Releasing lock...
[2025-01-13 12:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:33:03] Production.INFO: ==10159== Lock acquired, processing the job...
[2025-01-13 07:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:33:03] Production.INFO: ==10165== Lock acquired, processing the job...
[2025-01-13 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:33:03] Production.INFO: ==10161== Lock acquired, processing the job...
[2025-01-13 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:33:04] Production.INFO: Account Balance Start.
[2025-01-13 07:33:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:33:04] Production.INFO: 117
[2025-01-13 07:33:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:33:04] Production.INFO: ==10163== Lock acquired, processing the job...
[2025-01-13 07:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:33:04] Production.INFO: ==10169== Lock acquired, processing the job...
[2025-01-13 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:33:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:33:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:33:04] Production.INFO: count ==21
[2025-01-13 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-13 07:33:04] Production.INFO: count ==21
[2025-01-13 07:33:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237437') start
[2025-01-13 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:33:04] Production.INFO: ==10167== Lock acquired, processing the job...
[2025-01-13 07:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237437') end
[2025-01-13 07:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:33:04] Production.INFO: 1
[2025-01-13 07:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:33:04] Production.INFO: Total Charge 0
[2025-01-13 07:33:04] Production.INFO: CreateAllLog End
[2025-01-13 07:33:04] Production.INFO: ==10161== Releasing lock...
[2025-01-13 07:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:33:04] Production.INFO: ==10169== Releasing lock...
[2025-01-13 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:33:04] Production.INFO: Account Balance End.
[2025-01-13 07:33:04] Production.ERROR: done
[2025-01-13 07:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:33:04] Production.INFO: ==10165== Releasing lock...
[2025-01-13 07:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:33:05] Production.ERROR: done
[2025-01-13 07:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:33:06
[end_date_ymd] => 2025-01-13 07:33:06
[RateCDR] => 1
)
[2025-01-13 07:33:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:33:06' and `end` < '2025-01-13 07:33:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:33:11] Production.ERROR: CronJobId end10
[2025-01-13 07:33:11] Production.INFO: ==10163== Releasing lock...
[2025-01-13 07:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:33:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:33:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:33:14] Production.INFO: call_cost start
[2025-01-13 07:33:14] Production.INFO: call_cost end
[2025-01-13 07:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:33:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:33:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:33:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:33:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:33:15] Production.INFO: ==10159== Releasing lock...
[2025-01-13 07:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:33:18] Production.INFO: count ==77
[2025-01-13 07:33:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:33:06 - End Time 2025-01-13 07:33:06
[2025-01-13 07:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237438', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237438', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237438', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237438', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:33:18] Production.INFO: ProcessCDR(1,14237438,1,1,2)
[2025-01-13 07:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237438', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237438', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:33:21] Production.INFO: ==10167== Releasing lock...
[2025-01-13 07:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:33:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:34:01] Production.INFO: ==10241== Lock acquired, processing the job...
[2025-01-13 12:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:34:01] Production.INFO: neon service started
[2025-01-13 12:34:01] Production.INFO: neon service started
[2025-01-13 12:34:01] Production.INFO: ==10241== Releasing lock...
[2025-01-13 12:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:34:02] Production.INFO: ==10246== Lock acquired, processing the job...
[2025-01-13 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:34:02] Production.INFO: ==10246== Releasing lock...
[2025-01-13 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:34:02] Production.INFO: ==10244== Lock acquired, processing the job...
[2025-01-13 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:34:02] Production.INFO: ==10244== Releasing lock...
[2025-01-13 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:34:03] Production.INFO: ==10252== Lock acquired, processing the job...
[2025-01-13 07:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:34:03] Production.INFO: ==10259== Lock acquired, processing the job...
[2025-01-13 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:34:03] Production.INFO: ==10248== Lock acquired, processing the job...
[2025-01-13 07:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:34:03] Production.INFO: ==10250== Lock acquired, processing the job...
[2025-01-13 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:34:03] Production.INFO: count ==21
[2025-01-13 07:34:03] Production.INFO: ==10254== Lock acquired, processing the job...
[2025-01-13 07:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:34:03] Production.INFO: ==10256== Lock acquired, processing the job...
[2025-01-13 07:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:34:03] Production.INFO: count ==21
[2025-01-13 07:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237439') start
[2025-01-13 07:34:03] Production.INFO: Account Balance Start.
[2025-01-13 07:34:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:34:03] Production.INFO: 117
[2025-01-13 07:34:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:34:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:34:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:34:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237439') end
[2025-01-13 07:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:34:03] Production.INFO: 1
[2025-01-13 07:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:34:04] Production.INFO: ==10259== Releasing lock...
[2025-01-13 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:34:04] Production.INFO: ==10250== Releasing lock...
[2025-01-13 07:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:34:04] Production.INFO: Total Charge 0
[2025-01-13 07:34:04] Production.INFO: CreateAllLog End
[2025-01-13 07:34:04] Production.ERROR: done
[2025-01-13 07:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:34:04] Production.INFO: Account Balance End.
[2025-01-13 07:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:34:04] Production.INFO: ==10254== Releasing lock...
[2025-01-13 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:34:04] Production.ERROR: done
[2025-01-13 07:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:34:05
[end_date_ymd] => 2025-01-13 07:34:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:34:05' and `end` < '2025-01-13 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-13 07:34:14] Production.ERROR: CronJobId end10
[2025-01-13 07:34:14] Production.INFO: ==10252== Releasing lock...
[2025-01-13 07:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:34:15] Production.INFO: call_cost start
[2025-01-13 07:34:15] Production.INFO: call_cost end
[2025-01-13 07:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:34:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:34:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:34:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:34:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:34:16] Production.INFO: ==10248== Releasing lock...
[2025-01-13 07:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:34:19] Production.INFO: count ==77
[2025-01-13 07:34:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:34:05 - End Time 2025-01-13 07:34:05
[2025-01-13 07:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237443', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237443', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237443', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237443', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:34:19] Production.INFO: ProcessCDR(1,14237443,1,1,2)
[2025-01-13 07:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237443', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237443', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:34:23] Production.INFO: ==10256== Releasing lock...
[2025-01-13 07:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:34:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:35:02] Production.INFO: ==10313== Lock acquired, processing the job...
[2025-01-13 12:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:35:02] Production.INFO: neon service started
[2025-01-13 12:35:02] Production.INFO: neon service started
[2025-01-13 12:35:02] Production.INFO: ==10313== Releasing lock...
[2025-01-13 12:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:35:02] Production.INFO: ==10315== Lock acquired, processing the job...
[2025-01-13 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:35:03] Production.INFO: ==10317== Lock acquired, processing the job...
[2025-01-13 12:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:35:03] Production.INFO: ==10315== Releasing lock...
[2025-01-13 07:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:35:03] Production.INFO: ==10317== Releasing lock...
[2025-01-13 12:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:35:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:35:04] Production.INFO: ==10328== Lock acquired, processing the job...
[2025-01-13 07:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:35:04] Production.INFO: ==10320== Lock acquired, processing the job...
[2025-01-13 07:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:35:04] Production.INFO: ==10322== Lock acquired, processing the job...
[2025-01-13 07:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:35:04] Production.INFO: ==10326== Lock acquired, processing the job...
[2025-01-13 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:35:04] Production.INFO: ==10324== Lock acquired, processing the job...
[2025-01-13 07:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:35:04] Production.INFO: ==10330== Lock acquired, processing the job...
[2025-01-13 07:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:35:04] Production.INFO: Account Balance Start.
[2025-01-13 07:35:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:35:04] Production.INFO: 117
[2025-01-13 07:35:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:35:04] Production.INFO: count ==21
[2025-01-13 07:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:35:04] Production.INFO: count ==21
[2025-01-13 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237447') start
[2025-01-13 07:35:04] Production.ERROR: done
[2025-01-13 07:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:35:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:35:04] Production.INFO: ==10322== Releasing lock...
[2025-01-13 07:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:35:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:35:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237447') end
[2025-01-13 07:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:35:04] Production.INFO: 1
[2025-01-13 07:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:35:04] Production.INFO: ==10330== Releasing lock...
[2025-01-13 07:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:35:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:35:04] Production.ERROR: done
[2025-01-13 07:35:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:35:04] Production.INFO: Total Charge 0
[2025-01-13 07:35:04] Production.INFO: CreateAllLog End
[2025-01-13 07:35:05] Production.INFO: Account Balance End.
[2025-01-13 07:35:05] Production.ERROR: CronJobId end 12
[2025-01-13 07:35:05] Production.INFO: ==10326== Releasing lock...
[2025-01-13 07:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:35:05
[end_date_ymd] => 2025-01-13 07:35:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:35:05' and `end` < '2025-01-13 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-13 07:35:11] Production.ERROR: CronJobId end10
[2025-01-13 07:35:11] Production.INFO: ==10324== Releasing lock...
[2025-01-13 07:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:35:13] Production.INFO: call_cost start
[2025-01-13 07:35:13] Production.INFO: call_cost end
[2025-01-13 07:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:35:14] Production.INFO: ==10320== Releasing lock...
[2025-01-13 07:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:35:18] Production.INFO: count ==77
[2025-01-13 07:35:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:35:05 - End Time 2025-01-13 07:35:05
[2025-01-13 07:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237448', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237448', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237448', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237448', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:35:18] Production.INFO: ProcessCDR(1,14237448,1,1,2)
[2025-01-13 07:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237448', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237448', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:35:21] Production.INFO: ==10328== Releasing lock...
[2025-01-13 07:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:35:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:36:02] Production.INFO: ==10385== Lock acquired, processing the job...
[2025-01-13 12:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:36:02] Production.INFO: neon service started
[2025-01-13 12:36:02] Production.INFO: neon service started
[2025-01-13 12:36:02] Production.INFO: ==10385== Releasing lock...
[2025-01-13 12:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:36:02] Production.INFO: ==10387== Lock acquired, processing the job...
[2025-01-13 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:36:02] Production.INFO: ==10387== Releasing lock...
[2025-01-13 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:36:02] Production.INFO: ==10389== Lock acquired, processing the job...
[2025-01-13 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:36:02] Production.INFO: ==10389== Releasing lock...
[2025-01-13 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:36:03] Production.INFO: ==10397== Lock acquired, processing the job...
[2025-01-13 07:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:36:03] Production.INFO: ==10401== Lock acquired, processing the job...
[2025-01-13 07:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:36:03] Production.INFO: ==10391== Lock acquired, processing the job...
[2025-01-13 07:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:36:03] Production.INFO: Account Balance Start.
[2025-01-13 07:36:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:36:03] Production.INFO: 117
[2025-01-13 07:36:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:36:03] Production.INFO: ==10393== Lock acquired, processing the job...
[2025-01-13 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:36:03] Production.INFO: count ==21
[2025-01-13 07:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:36:03] Production.INFO: count ==21
[2025-01-13 07:36:03] Production.INFO: ==10395== Lock acquired, processing the job...
[2025-01-13 07:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237450') start
[2025-01-13 07:36:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:36:03] Production.INFO: ==10399== Lock acquired, processing the job...
[2025-01-13 07:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:36:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:36:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237450') end
[2025-01-13 07:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:36:03] Production.INFO: 1
[2025-01-13 07:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:36:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:36:04] Production.INFO: Total Charge 0
[2025-01-13 07:36:04] Production.INFO: CreateAllLog End
[2025-01-13 07:36:04] Production.INFO: ==10401== Releasing lock...
[2025-01-13 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:36:04] Production.INFO: ==10393== Releasing lock...
[2025-01-13 07:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:36:04] Production.ERROR: done
[2025-01-13 07:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:36:04] Production.ERROR: done
[2025-01-13 07:36:04] Production.INFO: Account Balance End.
[2025-01-13 07:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:36:04] Production.INFO: ==10397== Releasing lock...
[2025-01-13 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:36:05
[end_date_ymd] => 2025-01-13 07:36:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:36:05' and `end` < '2025-01-13 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-13 07:36:10] Production.ERROR: CronJobId end10
[2025-01-13 07:36:10] Production.INFO: ==10395== Releasing lock...
[2025-01-13 07:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:36:13] Production.INFO: call_cost start
[2025-01-13 07:36:13] Production.INFO: call_cost end
[2025-01-13 07:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:36:14] Production.INFO: ==10391== Releasing lock...
[2025-01-13 07:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:36:17] Production.INFO: count ==78
[2025-01-13 07:36:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:36:05 - End Time 2025-01-13 07:36:05
[2025-01-13 07:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237453', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237453', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237453', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237453', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:36:17] Production.INFO: ProcessCDR(1,14237453,1,1,2)
[2025-01-13 07:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237453', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237453', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:36:21] Production.INFO: ==10399== Releasing lock...
[2025-01-13 07:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:36:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:37:01] Production.INFO: ==10455== Lock acquired, processing the job...
[2025-01-13 12:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:37:01] Production.INFO: neon service started
[2025-01-13 12:37:01] Production.INFO: neon service started
[2025-01-13 12:37:01] Production.INFO: ==10455== Releasing lock...
[2025-01-13 12:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:37:01] Production.INFO: ==10457== Lock acquired, processing the job...
[2025-01-13 07:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:37:02] Production.INFO: ==10457== Releasing lock...
[2025-01-13 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:37:02] Production.INFO: ==10459== Lock acquired, processing the job...
[2025-01-13 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:37:02] Production.INFO: ==10459== Releasing lock...
[2025-01-13 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:37:03] Production.INFO: ==10465== Lock acquired, processing the job...
[2025-01-13 07:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:37:03] Production.INFO: ==10467== Lock acquired, processing the job...
[2025-01-13 07:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:37:03] Production.INFO: Account Balance Start.
[2025-01-13 07:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:37:03] Production.INFO: 117
[2025-01-13 07:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:37:03] Production.INFO: ==10461== Lock acquired, processing the job...
[2025-01-13 07:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:37:03] Production.INFO: ==10463== Lock acquired, processing the job...
[2025-01-13 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:37:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:37:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:37:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:37:03] Production.INFO: Total Charge 0
[2025-01-13 07:37:03] Production.INFO: ==10469== Lock acquired, processing the job...
[2025-01-13 07:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:37:03] Production.INFO: CreateAllLog End
[2025-01-13 07:37:03] Production.INFO: ==10471== Lock acquired, processing the job...
[2025-01-13 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 07:37:03] Production.INFO: count ==21
[2025-01-13 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-13 07:37:03] Production.INFO: count ==21
[2025-01-13 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237457') start
[2025-01-13 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237457') end
[2025-01-13 07:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:37:03] Production.INFO: 1
[2025-01-13 07:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:37:03] Production.INFO: ==10463== Releasing lock...
[2025-01-13 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:37:03] Production.INFO: Account Balance End.
[2025-01-13 07:37:03] Production.ERROR: done
[2025-01-13 07:37:03] Production.INFO: ==10471== Releasing lock...
[2025-01-13 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:37:03] Production.ERROR: CronJobId end 12
[2025-01-13 07:37:03] Production.INFO: ==10467== Releasing lock...
[2025-01-13 07:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:37:04] Production.ERROR: done
[2025-01-13 07:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:37:04
[end_date_ymd] => 2025-01-13 07:37:04
[RateCDR] => 1
)
[2025-01-13 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-13 04:37:04' and `end` < '2025-01-13 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-13 07:37:11] Production.ERROR: CronJobId end10
[2025-01-13 07:37:11] Production.INFO: ==10465== Releasing lock...
[2025-01-13 07:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:37:13] Production.INFO: call_cost start
[2025-01-13 07:37:13] Production.INFO: call_cost end
[2025-01-13 07:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:37:14] Production.INFO: ==10461== Releasing lock...
[2025-01-13 07:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:37:18] Production.INFO: count ==83
[2025-01-13 07:37:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:37:04 - End Time 2025-01-13 07:37:04
[2025-01-13 07:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237458', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237458', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237458', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237458', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:37:18] Production.INFO: ProcessCDR(1,14237458,1,1,2)
[2025-01-13 07:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237458', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237458', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:37:22] Production.INFO: ==10469== Releasing lock...
[2025-01-13 07:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:37:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:38:01] Production.INFO: ==10525== Lock acquired, processing the job...
[2025-01-13 12:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:38:01] Production.INFO: neon service started
[2025-01-13 12:38:01] Production.INFO: neon service started
[2025-01-13 12:38:01] Production.INFO: ==10525== Releasing lock...
[2025-01-13 12:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:38:02] Production.INFO: ==10529== Lock acquired, processing the job...
[2025-01-13 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:38:02] Production.INFO: ==10529== Releasing lock...
[2025-01-13 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:38:02] Production.INFO: ==10527== Lock acquired, processing the job...
[2025-01-13 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:38:02] Production.INFO: ==10527== Releasing lock...
[2025-01-13 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:38:03] Production.INFO: ==10534== Lock acquired, processing the job...
[2025-01-13 07:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:38:03] Production.INFO: ==10540== Lock acquired, processing the job...
[2025-01-13 07:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:38:03] Production.INFO: ==10532== Lock acquired, processing the job...
[2025-01-13 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:38:03] Production.INFO: ==10536== Lock acquired, processing the job...
[2025-01-13 07:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:38:03] Production.INFO: ==10538== Lock acquired, processing the job...
[2025-01-13 07:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:38:03] Production.INFO: ==10542== Lock acquired, processing the job...
[2025-01-13 07:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:38:04] Production.INFO: ==10534== Releasing lock...
[2025-01-13 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:38:04] Production.ERROR: done
[2025-01-13 07:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:38:04] Production.INFO: Account Balance Start.
[2025-01-13 07:38:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:38:04] Production.INFO: 117
[2025-01-13 07:38:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:38:04] Production.ERROR: done
[2025-01-13 07:38:04] Production.INFO: count ==21
[2025-01-13 07:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:38:04] Production.INFO: count ==21
[2025-01-13 07:38:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237462') start
[2025-01-13 07:38:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237462') end
[2025-01-13 07:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:38:04] Production.INFO: 1
[2025-01-13 07:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:38:04] Production.INFO: ==10542== Releasing lock...
[2025-01-13 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:38:04] Production.INFO: Total Charge 0
[2025-01-13 07:38:04] Production.INFO: CreateAllLog End
[2025-01-13 07:38:04] Production.INFO: Account Balance End.
[2025-01-13 07:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:38:04] Production.INFO: ==10538== Releasing lock...
[2025-01-13 07:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:38:05
[end_date_ymd] => 2025-01-13 07:38:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:38:05' and `end` < '2025-01-13 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-13 07:38:10] Production.ERROR: CronJobId end10
[2025-01-13 07:38:10] Production.INFO: ==10536== Releasing lock...
[2025-01-13 07:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:38:13] Production.INFO: call_cost start
[2025-01-13 07:38:13] Production.INFO: call_cost end
[2025-01-13 07:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:38:14] Production.INFO: ==10532== Releasing lock...
[2025-01-13 07:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:38:18] Production.INFO: count ==83
[2025-01-13 07:38:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:38:05 - End Time 2025-01-13 07:38:05
[2025-01-13 07:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237463', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237463', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237463', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237463', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:38:18] Production.INFO: ProcessCDR(1,14237463,1,1,2)
[2025-01-13 07:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237463', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237463', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:38:21] Production.INFO: ==10540== Releasing lock...
[2025-01-13 07:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:38:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:39:02] Production.INFO: ==10596== Lock acquired, processing the job...
[2025-01-13 12:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:39:02] Production.INFO: neon service started
[2025-01-13 12:39:02] Production.INFO: neon service started
[2025-01-13 12:39:02] Production.INFO: ==10596== Releasing lock...
[2025-01-13 12:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:39:02] Production.INFO: ==10598== Lock acquired, processing the job...
[2025-01-13 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:39:02] Production.INFO: ==10598== Releasing lock...
[2025-01-13 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:39:03] Production.INFO: ==10600== Lock acquired, processing the job...
[2025-01-13 12:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:39:03] Production.INFO: ==10600== Releasing lock...
[2025-01-13 12:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:39:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:39:03] Production.INFO: ==10613== Lock acquired, processing the job...
[2025-01-13 07:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:39:03] Production.INFO: ==10611== Lock acquired, processing the job...
[2025-01-13 07:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:39:03] Production.INFO: ==10605== Lock acquired, processing the job...
[2025-01-13 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:39:03] Production.INFO: ==10603== Lock acquired, processing the job...
[2025-01-13 07:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:39:04] Production.INFO: ==10609== Lock acquired, processing the job...
[2025-01-13 07:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:39:04] Production.INFO: count ==21
[2025-01-13 07:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:39:04] Production.INFO: ==10607== Lock acquired, processing the job...
[2025-01-13 07:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:39:04] Production.INFO: count ==21
[2025-01-13 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237464') start
[2025-01-13 07:39:04] Production.INFO: Account Balance Start.
[2025-01-13 07:39:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:39:04] Production.INFO: 117
[2025-01-13 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237464') end
[2025-01-13 07:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:39:04] Production.INFO: 1
[2025-01-13 07:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:39:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:39:04] Production.INFO: ==10613== Releasing lock...
[2025-01-13 07:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:39:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:39:04] Production.INFO: ==10605== Releasing lock...
[2025-01-13 07:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:39:04] Production.ERROR: done
[2025-01-13 07:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:39:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:39:04] Production.ERROR: done
[2025-01-13 07:39:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:39:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:39:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:39:04] Production.INFO: Total Charge 0
[2025-01-13 07:39:04] Production.INFO: CreateAllLog End
[2025-01-13 07:39:04] Production.INFO: Account Balance End.
[2025-01-13 07:39:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:39:04] Production.INFO: ==10609== Releasing lock...
[2025-01-13 07:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:39:05
[end_date_ymd] => 2025-01-13 07:39:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:39:05' and `end` < '2025-01-13 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-13 07:39:11] Production.ERROR: CronJobId end10
[2025-01-13 07:39:11] Production.INFO: ==10607== Releasing lock...
[2025-01-13 07:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:39:13] Production.INFO: call_cost start
[2025-01-13 07:39:13] Production.INFO: call_cost end
[2025-01-13 07:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:39:14] Production.INFO: ==10603== Releasing lock...
[2025-01-13 07:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:39:17] Production.INFO: count ==83
[2025-01-13 07:39:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:39:05 - End Time 2025-01-13 07:39:05
[2025-01-13 07:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237468', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237468', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237468', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237468', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:39:17] Production.INFO: ProcessCDR(1,14237468,1,1,2)
[2025-01-13 07:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237468', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237468', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:39:21] Production.INFO: ==10611== Releasing lock...
[2025-01-13 07:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:39:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:40:01] Production.INFO: ==10666== Lock acquired, processing the job...
[2025-01-13 12:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:40:01] Production.INFO: neon service started
[2025-01-13 12:40:01] Production.INFO: neon service started
[2025-01-13 12:40:01] Production.INFO: ==10666== Releasing lock...
[2025-01-13 12:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:40:02] Production.INFO: ==10670== Lock acquired, processing the job...
[2025-01-13 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:40:02] Production.INFO: ==10668== Lock acquired, processing the job...
[2025-01-13 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:40:02] Production.INFO: ==10670== Releasing lock...
[2025-01-13 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:40:02] Production.INFO: ==10668== Releasing lock...
[2025-01-13 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:40:04] Production.INFO: ==10675== Lock acquired, processing the job...
[2025-01-13 07:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:40:04] Production.INFO: ==10683== Lock acquired, processing the job...
[2025-01-13 07:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:40:04] Production.INFO: ==10673== Lock acquired, processing the job...
[2025-01-13 07:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 07:40:04] Production.INFO: ==10685== Lock acquired, processing the job...
[2025-01-13 07:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 07:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:40:04] Production.INFO: ==10677== Lock acquired, processing the job...
[2025-01-13 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:40:04] Production.ERROR: CronJob PID - 10675
[2025-01-13 07:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 07:40:04] Production.ERROR: CronJob ID - 5
[2025-01-13 07:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 07:40:00
[2025-01-13 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:40:04] Production.ERROR: CronJob PID - 10683
[2025-01-13 07:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 07:40:04] Production.ERROR: CronJob ID - 16
[2025-01-13 07:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 07:40:00
[2025-01-13 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:40:04] Production.ERROR: CronJob PID - 10685
[2025-01-13 07:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 07:40:04] Production.ERROR: CronJob ID - 17
[2025-01-13 07:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 07:40:00
[2025-01-13 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:40:04] Production.INFO: ==10679== Lock acquired, processing the job...
[2025-01-13 07:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:40:04] Production.INFO: ==10687== Lock acquired, processing the job...
[2025-01-13 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 07:40:04] Production.INFO: ==10673== Releasing lock...
[2025-01-13 07:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 07:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 07:40:04] Production.INFO: ==10681== Lock acquired, processing the job...
[2025-01-13 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 07:40:04] Production.INFO: Account Balance Start.
[2025-01-13 07:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:40:04] Production.INFO: 117
[2025-01-13 07:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:40:04] Production.INFO: count ==21
[2025-01-13 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-13 07:40:04] Production.INFO: count ==21
[2025-01-13 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237470') start
[2025-01-13 07:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:40:04] Production.ERROR: done
[2025-01-13 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237470') end
[2025-01-13 07:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:40:04] Production.INFO: 1
[2025-01-13 07:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:40:04] Production.ERROR: done
[2025-01-13 07:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:40:04] Production.INFO: ==10677== Releasing lock...
[2025-01-13 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 07:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237473', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 07:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:40:05] Production.INFO: ==10687== Releasing lock...
[2025-01-13 07:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:40:05] Production.ERROR: done
[2025-01-13 07:40:05] Production.INFO: Date 2025-01-12
[2025-01-13 07:40:05] Production.INFO: Reseller ==> 0
[2025-01-13 07:40:05] Production.INFO: Date 2025-01-13
[2025-01-13 07:40:05] Production.INFO: Reseller ==> 0
[2025-01-13 07:40:05] Production.INFO: Total Charge 0
[2025-01-13 07:40:05] Production.INFO: CreateAllLog End
[2025-01-13 07:40:05] Production.INFO: Account Balance End.
[2025-01-13 07:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 07:40:05] Production.INFO: ==10681== Releasing lock...
[2025-01-13 07:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:40:06
[end_date_ymd] => 2025-01-13 07:40:06
[RateCDR] => 1
)
[2025-01-13 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-13 04:40:06' and `end` < '2025-01-13 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-13 07:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237473', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 07:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 07:40:09] Production.INFO: ProcessCDR(1,14237473,1,1,2)
[2025-01-13 07:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237473,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237473,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:40:09] Production.INFO: ==10685== Releasing lock...
[2025-01-13 07:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 07:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 07:40:13] Production.ERROR: CronJobId end10
[2025-01-13 07:40:13] Production.INFO: ==10679== Releasing lock...
[2025-01-13 07:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:40:14] Production.INFO: call_cost start
[2025-01-13 07:40:14] Production.INFO: call_cost end
[2025-01-13 07:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:40:15] Production.INFO: ==10675== Releasing lock...
[2025-01-13 07:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:40:18] Production.INFO: count ==80
[2025-01-13 07:40:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:40:06 - End Time 2025-01-13 07:40:06
[2025-01-13 07:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237474', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237474', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237474', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237474', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:40:19] Production.INFO: ProcessCDR(1,14237474,1,1,2)
[2025-01-13 07:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237474', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237474', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:40:22] Production.INFO: ==10683== Releasing lock...
[2025-01-13 07:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:40:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:41:01] Production.INFO: ==10744== Lock acquired, processing the job...
[2025-01-13 12:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:41:01] Production.INFO: neon service started
[2025-01-13 12:41:01] Production.INFO: neon service started
[2025-01-13 12:41:01] Production.INFO: ==10744== Releasing lock...
[2025-01-13 12:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:41:01] Production.INFO: ==10746== Lock acquired, processing the job...
[2025-01-13 07:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:41:01] Production.INFO: ==10746== Releasing lock...
[2025-01-13 07:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:41:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:41:02] Production.INFO: ==10748== Lock acquired, processing the job...
[2025-01-13 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:41:02] Production.INFO: ==10748== Releasing lock...
[2025-01-13 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:41:02] Production.INFO: ==10755== Lock acquired, processing the job...
[2025-01-13 07:41:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:41:02] Production.INFO: ==10753== Lock acquired, processing the job...
[2025-01-13 07:41:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:41:02] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:41:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:41:02] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:41:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:41:02] Production.INFO: ==10761== Lock acquired, processing the job...
[2025-01-13 07:41:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 07:41:03] Production.INFO: count ==21
[2025-01-13 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-13 07:41:03] Production.INFO: count ==21
[2025-01-13 07:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237475') start
[2025-01-13 07:41:03] Production.INFO: ==10753== Releasing lock...
[2025-01-13 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:41:03] Production.INFO: ==10751== Lock acquired, processing the job...
[2025-01-13 07:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:41:03] Production.INFO: ==10757== Lock acquired, processing the job...
[2025-01-13 07:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237475') end
[2025-01-13 07:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:41:03] Production.INFO: 1
[2025-01-13 07:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:41:03] Production.INFO: ==10759== Lock acquired, processing the job...
[2025-01-13 07:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:41:03] Production.INFO: Account Balance Start.
[2025-01-13 07:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:41:03] Production.INFO: ==10761== Releasing lock...
[2025-01-13 07:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:41:03] Production.INFO: 117
[2025-01-13 07:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:41:03] Production.ERROR: done
[2025-01-13 07:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:41:03] Production.ERROR: done
[2025-01-13 07:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:41:03] Production.INFO: Total Charge 0
[2025-01-13 07:41:03] Production.INFO: CreateAllLog End
[2025-01-13 07:41:03] Production.INFO: Account Balance End.
[2025-01-13 07:41:03] Production.ERROR: CronJobId end 12
[2025-01-13 07:41:03] Production.INFO: ==10757== Releasing lock...
[2025-01-13 07:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:41:04
[end_date_ymd] => 2025-01-13 07:41:04
[RateCDR] => 1
)
[2025-01-13 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-13 04:41:04' and `end` < '2025-01-13 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-13 07:41:11] Production.ERROR: CronJobId end10
[2025-01-13 07:41:11] Production.INFO: ==10755== Releasing lock...
[2025-01-13 07:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:41:13] Production.INFO: call_cost start
[2025-01-13 07:41:13] Production.INFO: call_cost end
[2025-01-13 07:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:41:14] Production.INFO: ==10751== Releasing lock...
[2025-01-13 07:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:41:18] Production.INFO: count ==80
[2025-01-13 07:41:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:41:04 - End Time 2025-01-13 07:41:04
[2025-01-13 07:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237479', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237479', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237479', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237479', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:41:18] Production.INFO: ProcessCDR(1,14237479,1,1,2)
[2025-01-13 07:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237479', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237479', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:41:21] Production.INFO: ==10759== Releasing lock...
[2025-01-13 07:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:41:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:42:01] Production.INFO: ==10816== Lock acquired, processing the job...
[2025-01-13 12:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:42:01] Production.INFO: neon service started
[2025-01-13 12:42:01] Production.INFO: neon service started
[2025-01-13 12:42:01] Production.INFO: ==10816== Releasing lock...
[2025-01-13 12:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:42:02] Production.INFO: ==10820== Lock acquired, processing the job...
[2025-01-13 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:42:02] Production.INFO: ==10822== Lock acquired, processing the job...
[2025-01-13 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:42:02] Production.INFO: ==10820== Releasing lock...
[2025-01-13 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:42:02] Production.INFO: ==10822== Releasing lock...
[2025-01-13 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:42:02] Production.INFO: 26 MB #Memory Used#
[2025-01-13 07:42:03] Production.INFO: ==10824== Lock acquired, processing the job...
[2025-01-13 07:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:42:03] Production.INFO: ==10826== Lock acquired, processing the job...
[2025-01-13 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:42:03] Production.INFO: ==10828== Lock acquired, processing the job...
[2025-01-13 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:42:03] Production.INFO: ==10826== Releasing lock...
[2025-01-13 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:42:03] Production.INFO: ==10830== Lock acquired, processing the job...
[2025-01-13 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:42:03] Production.INFO: Account Balance Start.
[2025-01-13 07:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:42:03] Production.INFO: 117
[2025-01-13 07:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:42:03] Production.INFO: ==10832== Lock acquired, processing the job...
[2025-01-13 07:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:42:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:42:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:42:03] Production.INFO: ==10835== Lock acquired, processing the job...
[2025-01-13 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:42:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:42:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:42:03] Production.INFO: Total Charge 0
[2025-01-13 07:42:04] Production.INFO: CreateAllLog End
[2025-01-13 07:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:42:04] Production.INFO: count ==21
[2025-01-13 07:42:04] Production.INFO: Account Balance End.
[2025-01-13 07:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:42:04] Production.ERROR: done
[2025-01-13 07:42:04] Production.INFO: count ==21
[2025-01-13 07:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:42:04] Production.INFO: ==10830== Releasing lock...
[2025-01-13 07:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237483') start
[2025-01-13 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237483') end
[2025-01-13 07:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:42:04] Production.INFO: 1
[2025-01-13 07:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:42:04] Production.ERROR: done
[2025-01-13 07:42:04] Production.INFO: ==10835== Releasing lock...
[2025-01-13 07:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:42:05
[end_date_ymd] => 2025-01-13 07:42:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:42:05' and `end` < '2025-01-13 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-13 07:42:10] Production.ERROR: CronJobId end10
[2025-01-13 07:42:10] Production.INFO: ==10828== Releasing lock...
[2025-01-13 07:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:42:13] Production.INFO: call_cost start
[2025-01-13 07:42:13] Production.INFO: call_cost end
[2025-01-13 07:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:42:14] Production.INFO: ==10824== Releasing lock...
[2025-01-13 07:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:42:17] Production.INFO: count ==80
[2025-01-13 07:42:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:42:05 - End Time 2025-01-13 07:42:05
[2025-01-13 07:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237484', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237484', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237484', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237484', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:42:17] Production.INFO: ProcessCDR(1,14237484,1,1,2)
[2025-01-13 07:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237484', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237484', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:42:21] Production.INFO: ==10832== Releasing lock...
[2025-01-13 07:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:42:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:43:02] Production.INFO: ==10889== Lock acquired, processing the job...
[2025-01-13 12:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:43:02] Production.INFO: neon service started
[2025-01-13 12:43:02] Production.INFO: neon service started
[2025-01-13 12:43:02] Production.INFO: ==10889== Releasing lock...
[2025-01-13 12:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:43:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 07:43:02] Production.INFO: ==10891== Lock acquired, processing the job...
[2025-01-13 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:43:02] Production.INFO: ==10891== Releasing lock...
[2025-01-13 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:43:03] Production.INFO: ==10893== Lock acquired, processing the job...
[2025-01-13 12:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:43:03] Production.INFO: ==10893== Releasing lock...
[2025-01-13 12:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:43:03] Production.INFO: ==10903== Lock acquired, processing the job...
[2025-01-13 07:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:43:03] Production.INFO: ==10905== Lock acquired, processing the job...
[2025-01-13 07:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:43:03] Production.INFO: ==10895== Lock acquired, processing the job...
[2025-01-13 07:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 07:43:03] Production.INFO: ==10897== Lock acquired, processing the job...
[2025-01-13 07:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:43:04] Production.INFO: count ==21
[2025-01-13 07:43:04] Production.INFO: ==10899== Lock acquired, processing the job...
[2025-01-13 07:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:43:04] Production.INFO: ==10901== Lock acquired, processing the job...
[2025-01-13 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 07:43:04] Production.INFO: count ==21
[2025-01-13 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237485') start
[2025-01-13 07:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237485') end
[2025-01-13 07:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:43:04] Production.INFO: 1
[2025-01-13 07:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:43:04] Production.INFO: Account Balance Start.
[2025-01-13 07:43:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:43:04] Production.INFO: 117
[2025-01-13 07:43:04] Production.INFO: ==10905== Releasing lock...
[2025-01-13 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:43:04] Production.ERROR: done
[2025-01-13 07:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:43:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:43:04] Production.ERROR: done
[2025-01-13 07:43:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:43:04] Production.INFO: ==10897== Releasing lock...
[2025-01-13 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:43:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:43:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:43:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:43:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:43:04] Production.INFO: Total Charge 0
[2025-01-13 07:43:04] Production.INFO: CreateAllLog End
[2025-01-13 07:43:04] Production.INFO: Account Balance End.
[2025-01-13 07:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:43:04] Production.INFO: ==10901== Releasing lock...
[2025-01-13 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:43:05
[end_date_ymd] => 2025-01-13 07:43:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:43:05' and `end` < '2025-01-13 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-13 07:43:10] Production.ERROR: CronJobId end10
[2025-01-13 07:43:10] Production.INFO: ==10899== Releasing lock...
[2025-01-13 07:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:43:13] Production.INFO: call_cost start
[2025-01-13 07:43:13] Production.INFO: call_cost end
[2025-01-13 07:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:43:14] Production.INFO: ==10895== Releasing lock...
[2025-01-13 07:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:43:19] Production.INFO: count ==80
[2025-01-13 07:43:19] Production.ERROR: pbx CDR StartTime 2025-01-13 04:43:05 - End Time 2025-01-13 07:43:05
[2025-01-13 07:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237489', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237489', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237489', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237489', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:43:19] Production.INFO: ProcessCDR(1,14237489,1,1,2)
[2025-01-13 07:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237489', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237489', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:43:22] Production.INFO: ==10903== Releasing lock...
[2025-01-13 07:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:43:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:44:02] Production.INFO: ==10998== Lock acquired, processing the job...
[2025-01-13 12:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:44:02] Production.INFO: neon service started
[2025-01-13 12:44:02] Production.INFO: neon service started
[2025-01-13 12:44:02] Production.INFO: ==10998== Releasing lock...
[2025-01-13 12:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:44:02] Production.INFO: ==11000== Lock acquired, processing the job...
[2025-01-13 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:44:02] Production.INFO: ==11000== Releasing lock...
[2025-01-13 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:44:02] Production.INFO: ==11002== Lock acquired, processing the job...
[2025-01-13 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:44:02] Production.INFO: ==11002== Releasing lock...
[2025-01-13 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:44:03] Production.INFO: ==11005== Lock acquired, processing the job...
[2025-01-13 07:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:44:03] Production.INFO: ==11013== Lock acquired, processing the job...
[2025-01-13 07:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:44:03] Production.INFO: ==11009== Lock acquired, processing the job...
[2025-01-13 07:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:44:03] Production.INFO: ==11007== Lock acquired, processing the job...
[2025-01-13 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:44:03] Production.INFO: ==11011== Lock acquired, processing the job...
[2025-01-13 07:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:44:03] Production.INFO: ==11015== Lock acquired, processing the job...
[2025-01-13 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:44:04] Production.ERROR: done
[2025-01-13 07:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:44:04] Production.INFO: Account Balance Start.
[2025-01-13 07:44:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:44:04] Production.INFO: 117
[2025-01-13 07:44:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:44:04] Production.INFO: count ==21
[2025-01-13 07:44:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:44:04] Production.INFO: count ==21
[2025-01-13 07:44:04] Production.ERROR: done
[2025-01-13 07:44:04] Production.INFO: ==11007== Releasing lock...
[2025-01-13 07:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:44:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237493') start
[2025-01-13 07:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237493') end
[2025-01-13 07:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:44:04] Production.INFO: 1
[2025-01-13 07:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:44:04] Production.INFO: ==11015== Releasing lock...
[2025-01-13 07:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:44:04] Production.INFO: Total Charge 0
[2025-01-13 07:44:04] Production.INFO: CreateAllLog End
[2025-01-13 07:44:04] Production.INFO: Account Balance End.
[2025-01-13 07:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:44:04] Production.INFO: ==11011== Releasing lock...
[2025-01-13 07:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:44:05
[end_date_ymd] => 2025-01-13 07:44:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:44:05' and `end` < '2025-01-13 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-13 07:44:11] Production.ERROR: CronJobId end10
[2025-01-13 07:44:11] Production.INFO: ==11009== Releasing lock...
[2025-01-13 07:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:44:13] Production.INFO: call_cost start
[2025-01-13 07:44:13] Production.INFO: call_cost end
[2025-01-13 07:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:44:13] Production.INFO: ==11005== Releasing lock...
[2025-01-13 07:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:44:17] Production.INFO: count ==80
[2025-01-13 07:44:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:44:05 - End Time 2025-01-13 07:44:05
[2025-01-13 07:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237494', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237494', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237494', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237494', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:44:17] Production.INFO: ProcessCDR(1,14237494,1,1,2)
[2025-01-13 07:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237494', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237494', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:44:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:44:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:44:20] Production.INFO: ==11013== Releasing lock...
[2025-01-13 07:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:44:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:45:01] Production.INFO: ==11068== Lock acquired, processing the job...
[2025-01-13 12:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:45:01] Production.INFO: neon service started
[2025-01-13 12:45:01] Production.INFO: neon service started
[2025-01-13 12:45:01] Production.INFO: ==11068== Releasing lock...
[2025-01-13 12:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:45:02] Production.INFO: ==11070== Lock acquired, processing the job...
[2025-01-13 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:45:02] Production.INFO: ==11070== Releasing lock...
[2025-01-13 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:45:02] Production.INFO: ==11072== Lock acquired, processing the job...
[2025-01-13 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:45:02] Production.INFO: ==11072== Releasing lock...
[2025-01-13 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:45:03] Production.INFO: ==11075== Lock acquired, processing the job...
[2025-01-13 07:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:45:03] Production.INFO: ==11081== Lock acquired, processing the job...
[2025-01-13 07:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:45:03] Production.INFO: ==11085== Lock acquired, processing the job...
[2025-01-13 07:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:45:03] Production.INFO: Account Balance Start.
[2025-01-13 07:45:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:45:03] Production.INFO: 117
[2025-01-13 07:45:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:45:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:45:03] Production.INFO: ==11077== Lock acquired, processing the job...
[2025-01-13 07:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:45:03] Production.INFO: ==11079== Lock acquired, processing the job...
[2025-01-13 07:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:45:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:45:03] Production.INFO: count ==21
[2025-01-13 07:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:45:03] Production.INFO: count ==21
[2025-01-13 07:45:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237497') start
[2025-01-13 07:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:45:03] Production.INFO: ==11083== Lock acquired, processing the job...
[2025-01-13 07:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:45:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:45:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237497') end
[2025-01-13 07:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:45:03] Production.INFO: 1
[2025-01-13 07:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:45:03] Production.INFO: Total Charge 0
[2025-01-13 07:45:03] Production.INFO: CreateAllLog End
[2025-01-13 07:45:03] Production.INFO: ==11085== Releasing lock...
[2025-01-13 07:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:45:03] Production.INFO: Account Balance End.
[2025-01-13 07:45:03] Production.ERROR: CronJobId end 12
[2025-01-13 07:45:03] Production.INFO: ==11081== Releasing lock...
[2025-01-13 07:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:45:04] Production.INFO: ==11077== Releasing lock...
[2025-01-13 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:45:04] Production.ERROR: done
[2025-01-13 07:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:45:04] Production.ERROR: done
[2025-01-13 07:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:45:05
[end_date_ymd] => 2025-01-13 07:45:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:45:05' and `end` < '2025-01-13 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-13 07:45:10] Production.ERROR: CronJobId end10
[2025-01-13 07:45:10] Production.INFO: ==11079== Releasing lock...
[2025-01-13 07:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:45:12] Production.INFO: call_cost start
[2025-01-13 07:45:12] Production.INFO: call_cost end
[2025-01-13 07:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:45:13] Production.INFO: ==11075== Releasing lock...
[2025-01-13 07:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:45:17] Production.INFO: count ==80
[2025-01-13 07:45:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:45:05 - End Time 2025-01-13 07:45:05
[2025-01-13 07:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237499', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237499', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237499', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237499', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:45:17] Production.INFO: ProcessCDR(1,14237499,1,1,2)
[2025-01-13 07:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237499', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237499', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:45:20] Production.INFO: ==11083== Releasing lock...
[2025-01-13 07:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:45:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:46:02] Production.INFO: ==11145== Lock acquired, processing the job...
[2025-01-13 12:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:46:02] Production.INFO: neon service started
[2025-01-13 12:46:02] Production.INFO: neon service started
[2025-01-13 12:46:02] Production.INFO: ==11145== Releasing lock...
[2025-01-13 12:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:46:02] Production.INFO: ==11149== Lock acquired, processing the job...
[2025-01-13 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:46:02] Production.INFO: ==11149== Releasing lock...
[2025-01-13 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:46:02] Production.INFO: ==11147== Lock acquired, processing the job...
[2025-01-13 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:46:02] Production.INFO: ==11147== Releasing lock...
[2025-01-13 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:46:03] Production.INFO: ==11159== Lock acquired, processing the job...
[2025-01-13 07:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:46:03] Production.INFO: ==11157== Lock acquired, processing the job...
[2025-01-13 07:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:46:03] Production.INFO: Account Balance Start.
[2025-01-13 07:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:46:03] Production.INFO: 117
[2025-01-13 07:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:46:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:46:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:46:04] Production.INFO: ==11151== Lock acquired, processing the job...
[2025-01-13 07:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:46:04] Production.INFO: ==11155== Lock acquired, processing the job...
[2025-01-13 07:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:46:04] Production.INFO: ==11153== Lock acquired, processing the job...
[2025-01-13 07:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:46:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:46:04] Production.INFO: ==11161== Lock acquired, processing the job...
[2025-01-13 07:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:46:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:46:04] Production.ERROR: done
[2025-01-13 07:46:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:46:04] Production.INFO: Total Charge 0
[2025-01-13 07:46:04] Production.INFO: CreateAllLog End
[2025-01-13 07:46:04] Production.INFO: count ==21
[2025-01-13 07:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:46:04] Production.INFO: count ==21
[2025-01-13 07:46:04] Production.ERROR: done
[2025-01-13 07:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237502') start
[2025-01-13 07:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237502') end
[2025-01-13 07:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:46:04] Production.INFO: 1
[2025-01-13 07:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:46:04] Production.INFO: Account Balance End.
[2025-01-13 07:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:46:04] Production.INFO: ==11157== Releasing lock...
[2025-01-13 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:46:04] Production.INFO: ==11161== Releasing lock...
[2025-01-13 07:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:46:04] Production.INFO: ==11153== Releasing lock...
[2025-01-13 07:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:46:05
[end_date_ymd] => 2025-01-13 07:46:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:46:05' and `end` < '2025-01-13 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-13 07:46:11] Production.ERROR: CronJobId end10
[2025-01-13 07:46:11] Production.INFO: ==11155== Releasing lock...
[2025-01-13 07:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:46:14] Production.INFO: call_cost start
[2025-01-13 07:46:14] Production.INFO: call_cost end
[2025-01-13 07:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:46:15] Production.INFO: ==11151== Releasing lock...
[2025-01-13 07:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:46:18] Production.INFO: count ==80
[2025-01-13 07:46:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:46:05 - End Time 2025-01-13 07:46:05
[2025-01-13 07:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237504', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237504', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237504', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237504', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:46:18] Production.INFO: ProcessCDR(1,14237504,1,1,2)
[2025-01-13 07:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237504', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237504', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:46:21] Production.INFO: ==11159== Releasing lock...
[2025-01-13 07:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:46:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:47:01] Production.INFO: ==11215== Lock acquired, processing the job...
[2025-01-13 12:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:47:01] Production.INFO: neon service started
[2025-01-13 12:47:01] Production.INFO: neon service started
[2025-01-13 12:47:01] Production.INFO: ==11215== Releasing lock...
[2025-01-13 12:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:47:01] Production.INFO: ==11217== Lock acquired, processing the job...
[2025-01-13 07:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:47:02] Production.INFO: ==11217== Releasing lock...
[2025-01-13 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:47:02] Production.INFO: ==11219== Lock acquired, processing the job...
[2025-01-13 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:47:02] Production.INFO: ==11219== Releasing lock...
[2025-01-13 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:47:03] Production.INFO: ==11225== Lock acquired, processing the job...
[2025-01-13 07:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:47:03] Production.INFO: ==11221== Lock acquired, processing the job...
[2025-01-13 07:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:47:03] Production.INFO: ==11232== Lock acquired, processing the job...
[2025-01-13 07:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:47:03] Production.INFO: ==11223== Lock acquired, processing the job...
[2025-01-13 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 07:47:03] Production.INFO: count ==21
[2025-01-13 07:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07: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-13 07:47:03] Production.INFO: count ==21
[2025-01-13 07:47:03] Production.INFO: ==11227== Lock acquired, processing the job...
[2025-01-13 07:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237505') start
[2025-01-13 07:47:03] Production.INFO: ==11229== Lock acquired, processing the job...
[2025-01-13 07:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:47:03] Production.INFO: Account Balance Start.
[2025-01-13 07:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:47:03] Production.INFO: 117
[2025-01-13 07:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237505') end
[2025-01-13 07:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:47:03] Production.INFO: 1
[2025-01-13 07:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:47:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:47:03] Production.INFO: ==11232== Releasing lock...
[2025-01-13 07:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:47:03] Production.INFO: ==11223== Releasing lock...
[2025-01-13 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:47:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:47:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:47:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:47:04] Production.ERROR: done
[2025-01-13 07:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:47:04] Production.INFO: Total Charge 0
[2025-01-13 07:47:04] Production.INFO: CreateAllLog End
[2025-01-13 07:47:04] Production.ERROR: done
[2025-01-13 07:47:04] Production.INFO: Account Balance End.
[2025-01-13 07:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:47:04] Production.INFO: ==11227== Releasing lock...
[2025-01-13 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:47:05
[end_date_ymd] => 2025-01-13 07:47:05
[RateCDR] => 1
)
[2025-01-13 07:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:47:05' and `end` < '2025-01-13 07:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:47:11] Production.ERROR: CronJobId end10
[2025-01-13 07:47:11] Production.INFO: ==11225== Releasing lock...
[2025-01-13 07:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:47:13] Production.INFO: call_cost start
[2025-01-13 07:47:13] Production.INFO: call_cost end
[2025-01-13 07:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:47:14] Production.INFO: ==11221== Releasing lock...
[2025-01-13 07:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:47:18] Production.INFO: count ==80
[2025-01-13 07:47:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:47:05 - End Time 2025-01-13 07:47:05
[2025-01-13 07:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237509', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237509', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237509', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237509', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:47:18] Production.INFO: ProcessCDR(1,14237509,1,1,2)
[2025-01-13 07:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237509', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237509', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:47:21] Production.INFO: ==11229== Releasing lock...
[2025-01-13 07:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:47:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:48:02] Production.INFO: ==11285== Lock acquired, processing the job...
[2025-01-13 12:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:48:02] Production.INFO: neon service started
[2025-01-13 12:48:02] Production.INFO: neon service started
[2025-01-13 12:48:02] Production.INFO: ==11285== Releasing lock...
[2025-01-13 12:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:48:02] Production.INFO: ==11288== Lock acquired, processing the job...
[2025-01-13 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:48:02] Production.INFO: ==11290== Lock acquired, processing the job...
[2025-01-13 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 07:48:02] Production.INFO: ==11288== Releasing lock...
[2025-01-13 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:48:02] Production.INFO: ==11290== Releasing lock...
[2025-01-13 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:48:03] Production.INFO: ==11292== Lock acquired, processing the job...
[2025-01-13 07:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:48:03] Production.INFO: ==11300== Lock acquired, processing the job...
[2025-01-13 07:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:48:03] Production.INFO: ==11294== Lock acquired, processing the job...
[2025-01-13 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:48:03] Production.INFO: ==11302== Lock acquired, processing the job...
[2025-01-13 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:48:03] Production.INFO: ==11298== Lock acquired, processing the job...
[2025-01-13 07:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:48:03] Production.INFO: ==11296== Lock acquired, processing the job...
[2025-01-13 07:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:48:03] Production.INFO: Account Balance Start.
[2025-01-13 07:48:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:48:03] Production.INFO: 117
[2025-01-13 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-13 07:48:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:48:03] Production.INFO: count ==21
[2025-01-13 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-13 07:48:03] Production.INFO: count ==21
[2025-01-13 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237511') start
[2025-01-13 07:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:48:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:48:04] Production.ERROR: done
[2025-01-13 07:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237511') end
[2025-01-13 07:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:48:04] Production.INFO: 1
[2025-01-13 07:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:48:04] Production.INFO: ==11302== Releasing lock...
[2025-01-13 07:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:48:04] Production.INFO: ==11294== Releasing lock...
[2025-01-13 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:48:04] Production.ERROR: done
[2025-01-13 07:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:48:04] Production.INFO: Total Charge 0
[2025-01-13 07:48:04] Production.INFO: CreateAllLog End
[2025-01-13 07:48:04] Production.INFO: Account Balance End.
[2025-01-13 07:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:48:04] Production.INFO: ==11298== Releasing lock...
[2025-01-13 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:48:05
[end_date_ymd] => 2025-01-13 07:48:05
[RateCDR] => 1
)
[2025-01-13 07:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:48:05' and `end` < '2025-01-13 07:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:48:11] Production.ERROR: CronJobId end10
[2025-01-13 07:48:11] Production.INFO: ==11296== Releasing lock...
[2025-01-13 07:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:48:13] Production.INFO: call_cost start
[2025-01-13 07:48:13] Production.INFO: call_cost end
[2025-01-13 07:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:48:14] Production.INFO: ==11292== Releasing lock...
[2025-01-13 07:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:48:18] Production.INFO: count ==80
[2025-01-13 07:48:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:48:05 - End Time 2025-01-13 07:48:05
[2025-01-13 07:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237514', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237514', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237514', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237514', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:48:18] Production.INFO: ProcessCDR(1,14237514,1,1,2)
[2025-01-13 07:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237514', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237514', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:48:21] Production.INFO: ==11300== Releasing lock...
[2025-01-13 07:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:48:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:49:01] Production.INFO: ==11356== Lock acquired, processing the job...
[2025-01-13 12:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:49:01] Production.INFO: neon service started
[2025-01-13 12:49:01] Production.INFO: neon service started
[2025-01-13 12:49:01] Production.INFO: ==11356== Releasing lock...
[2025-01-13 12:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:49:01] Production.INFO: ==11358== Lock acquired, processing the job...
[2025-01-13 07:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:49:01] Production.INFO: ==11360== Lock acquired, processing the job...
[2025-01-13 12:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:49:01] Production.INFO: ==11360== Releasing lock...
[2025-01-13 12:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:49:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:49:02] Production.INFO: ==11358== Releasing lock...
[2025-01-13 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:49:02] Production.INFO: ==11365== Lock acquired, processing the job...
[2025-01-13 07:49:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:49:03] Production.INFO: ==11371== Lock acquired, processing the job...
[2025-01-13 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:49:03] Production.INFO: ==11363== Lock acquired, processing the job...
[2025-01-13 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:49:03] Production.INFO: ==11367== Lock acquired, processing the job...
[2025-01-13 07:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:49:03] Production.INFO: ==11369== Lock acquired, processing the job...
[2025-01-13 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:49:03] Production.INFO: ==11373== Lock acquired, processing the job...
[2025-01-13 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:49:03] Production.INFO: Account Balance Start.
[2025-01-13 07:49:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:49:03] Production.INFO: 117
[2025-01-13 07:49:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:49:03] Production.INFO: count ==21
[2025-01-13 07:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:49:03] Production.INFO: count ==21
[2025-01-13 07:49:03] Production.INFO: ==11365== Releasing lock...
[2025-01-13 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237518') start
[2025-01-13 07:49:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:49:03] Production.ERROR: done
[2025-01-13 07:49:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:49:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237518') end
[2025-01-13 07:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:49:03] Production.INFO: 1
[2025-01-13 07:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:49:03] Production.INFO: ==11373== Releasing lock...
[2025-01-13 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:49:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:49:03] Production.ERROR: done
[2025-01-13 07:49:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:49:03] Production.INFO: Total Charge 0
[2025-01-13 07:49:03] Production.INFO: CreateAllLog End
[2025-01-13 07:49:03] Production.INFO: Account Balance End.
[2025-01-13 07:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:49:04] Production.INFO: ==11369== Releasing lock...
[2025-01-13 07:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:49:04
[end_date_ymd] => 2025-01-13 07:49:04
[RateCDR] => 1
)
[2025-01-13 07:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:49:04' and `end` < '2025-01-13 07:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:49:10] Production.ERROR: CronJobId end10
[2025-01-13 07:49:10] Production.INFO: ==11367== Releasing lock...
[2025-01-13 07:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:49:12] Production.INFO: call_cost start
[2025-01-13 07:49:12] Production.INFO: call_cost end
[2025-01-13 07:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:49:13] Production.INFO: ==11363== Releasing lock...
[2025-01-13 07:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:49:17] Production.INFO: count ==81
[2025-01-13 07:49:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:49:04 - End Time 2025-01-13 07:49:04
[2025-01-13 07:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237519', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237519', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237519', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237519', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:49:17] Production.INFO: ProcessCDR(1,14237519,1,1,2)
[2025-01-13 07:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237519', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237519', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:49:20] Production.INFO: ==11371== Releasing lock...
[2025-01-13 07:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:49:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:50:02] Production.INFO: ==11429== Lock acquired, processing the job...
[2025-01-13 12:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:50:02] Production.INFO: neon service started
[2025-01-13 12:50:02] Production.INFO: neon service started
[2025-01-13 12:50:02] Production.INFO: ==11429== Releasing lock...
[2025-01-13 12:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:50:02] Production.INFO: ==11431== Lock acquired, processing the job...
[2025-01-13 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:50:02] Production.INFO: ==11431== Releasing lock...
[2025-01-13 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:50:02] Production.INFO: ==11433== Lock acquired, processing the job...
[2025-01-13 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:50:03] Production.INFO: ==11433== Releasing lock...
[2025-01-13 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:50:03] Production.INFO: ==11440== Lock acquired, processing the job...
[2025-01-13 07:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:50:04] Production.INFO: ==11444== Lock acquired, processing the job...
[2025-01-13 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:50:04] Production.INFO: ==11446== Lock acquired, processing the job...
[2025-01-13 07:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:50:04] Production.INFO: ==11436== Lock acquired, processing the job...
[2025-01-13 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 07:50:04] Production.INFO: ==11438== Lock acquired, processing the job...
[2025-01-13 07:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:50:04] Production.INFO: Account Balance Start.
[2025-01-13 07:50:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:50:04] Production.INFO: 117
[2025-01-13 07:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:50:04] Production.INFO: ==11442== Lock acquired, processing the job...
[2025-01-13 07:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:50:04] Production.INFO: ==11448== Lock acquired, processing the job...
[2025-01-13 07:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 07:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:50:04] Production.ERROR: CronJob PID - 11438
[2025-01-13 07:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 07:50:04] Production.ERROR: CronJob ID - 5
[2025-01-13 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 07:50:00
[2025-01-13 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:50:04] Production.ERROR: CronJob PID - 11440
[2025-01-13 07:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 07:50:04] Production.ERROR: CronJob ID - 7
[2025-01-13 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 07:50:00
[2025-01-13 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:50:04] Production.ERROR: CronJob PID - 11444
[2025-01-13 07:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 07:50:04] Production.ERROR: CronJob ID - 12
[2025-01-13 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 07:50:00
[2025-01-13 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 07:50:04] Production.ERROR: CronJob PID - 11446
[2025-01-13 07:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 07:50:04] Production.ERROR: CronJob ID - 16
[2025-01-13 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 07:50:00
[2025-01-13 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 07:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:50:04] Production.INFO: ==11450== Lock acquired, processing the job...
[2025-01-13 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 07:50:04] Production.INFO: ==11436== Releasing lock...
[2025-01-13 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 07:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 07:50:04] Production.ERROR: done
[2025-01-13 07:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 07:50:04] Production.INFO: count ==21
[2025-01-13 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-13 07:50:04] Production.ERROR: done
[2025-01-13 07:50:04] Production.INFO: count ==21
[2025-01-13 07:50:04] Production.INFO: ==11440== Releasing lock...
[2025-01-13 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237523') start
[2025-01-13 07:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237523') end
[2025-01-13 07:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:50:04] Production.INFO: 1
[2025-01-13 07:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:50:04] Production.INFO: ==11450== Releasing lock...
[2025-01-13 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:50:04] Production.ERROR: done
[2025-01-13 07:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:50:04] Production.INFO: Total Charge 0
[2025-01-13 07:50:04] Production.INFO: CreateAllLog End
[2025-01-13 07:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 07:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237525', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 07:50:05] Production.INFO: Account Balance End.
[2025-01-13 07:50:05] Production.ERROR: CronJobId end 12
[2025-01-13 07:50:05] Production.INFO: ==11444== Releasing lock...
[2025-01-13 07:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:50:05
[end_date_ymd] => 2025-01-13 07:50:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:50:05' and `end` < '2025-01-13 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-13 07:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237525', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 07:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 07:50:09] Production.INFO: ProcessCDR(1,14237525,1,1,2)
[2025-01-13 07:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237525,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237525,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:50:09] Production.INFO: ==11448== Releasing lock...
[2025-01-13 07:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 07:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 07:50:13] Production.ERROR: CronJobId end10
[2025-01-13 07:50:13] Production.INFO: ==11442== Releasing lock...
[2025-01-13 07:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:50:15] Production.INFO: call_cost start
[2025-01-13 07:50:15] Production.INFO: call_cost end
[2025-01-13 07:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:50:16] Production.INFO: ==11438== Releasing lock...
[2025-01-13 07:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:50:18] Production.INFO: count ==88
[2025-01-13 07:50:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:50:05 - End Time 2025-01-13 07:50:05
[2025-01-13 07:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237524', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237524', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237524', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237524', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:50:18] Production.INFO: ProcessCDR(1,14237524,1,1,2)
[2025-01-13 07:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237524', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237524', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:50:21] Production.INFO: ==11446== Releasing lock...
[2025-01-13 07:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:50:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:51:01] Production.INFO: ==11504== Lock acquired, processing the job...
[2025-01-13 12:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:51:01] Production.INFO: neon service started
[2025-01-13 12:51:01] Production.INFO: neon service started
[2025-01-13 12:51:01] Production.INFO: ==11504== Releasing lock...
[2025-01-13 12:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:51:01] Production.INFO: ==11506== Lock acquired, processing the job...
[2025-01-13 07:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:51:02] Production.INFO: ==11506== Releasing lock...
[2025-01-13 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:51:02] Production.INFO: ==11508== Lock acquired, processing the job...
[2025-01-13 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:51:02] Production.INFO: ==11508== Releasing lock...
[2025-01-13 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:51:03] Production.INFO: ==11519== Lock acquired, processing the job...
[2025-01-13 07:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:51:03] Production.INFO: ==11522== Lock acquired, processing the job...
[2025-01-13 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:51:03] Production.INFO: ==11511== Lock acquired, processing the job...
[2025-01-13 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:51:03] Production.INFO: ==11513== Lock acquired, processing the job...
[2025-01-13 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:51:03] Production.INFO: ==11517== Lock acquired, processing the job...
[2025-01-13 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 07:51:03] Production.INFO: ==11515== Lock acquired, processing the job...
[2025-01-13 07:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:51:03] Production.INFO: Account Balance Start.
[2025-01-13 07:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:51:03] Production.INFO: 117
[2025-01-13 07:51:03] Production.INFO: count ==21
[2025-01-13 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-13 07:51:03] Production.INFO: count ==21
[2025-01-13 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237526') start
[2025-01-13 07:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237526') end
[2025-01-13 07:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:51:03] Production.INFO: 1
[2025-01-13 07:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:51:03] Production.ERROR: done
[2025-01-13 07:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:51:03] Production.INFO: ==11522== Releasing lock...
[2025-01-13 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:51:03] Production.INFO: ==11513== Releasing lock...
[2025-01-13 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:51:03] Production.ERROR: done
[2025-01-13 07:51:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:51:03] Production.INFO: Total Charge 0
[2025-01-13 07:51:03] Production.INFO: CreateAllLog End
[2025-01-13 07:51:04] Production.INFO: Account Balance End.
[2025-01-13 07:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:51:04] Production.INFO: ==11517== Releasing lock...
[2025-01-13 07:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:51:04
[end_date_ymd] => 2025-01-13 07:51:04
[RateCDR] => 1
)
[2025-01-13 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-13 04:51:04' and `end` < '2025-01-13 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-13 07:51:10] Production.ERROR: CronJobId end10
[2025-01-13 07:51:10] Production.INFO: ==11515== Releasing lock...
[2025-01-13 07:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:51:12] Production.INFO: call_cost start
[2025-01-13 07:51:12] Production.INFO: call_cost end
[2025-01-13 07:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:51:13] Production.INFO: ==11511== Releasing lock...
[2025-01-13 07:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:51:17] Production.INFO: count ==88
[2025-01-13 07:51:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:51:04 - End Time 2025-01-13 07:51:04
[2025-01-13 07:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237530', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237530', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237530', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237530', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:51:17] Production.INFO: ProcessCDR(1,14237530,1,1,2)
[2025-01-13 07:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237530', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237530', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:51:20] Production.INFO: ==11519== Releasing lock...
[2025-01-13 07:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:51:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:52:02] Production.INFO: ==11575== Lock acquired, processing the job...
[2025-01-13 12:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:52:02] Production.INFO: neon service started
[2025-01-13 12:52:02] Production.INFO: neon service started
[2025-01-13 12:52:02] Production.INFO: ==11575== Releasing lock...
[2025-01-13 12:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:52:02] Production.INFO: ==11577== Lock acquired, processing the job...
[2025-01-13 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:52:02] Production.INFO: ==11577== Releasing lock...
[2025-01-13 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:52:02] Production.INFO: ==11579== Lock acquired, processing the job...
[2025-01-13 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:52:02] Production.INFO: ==11579== Releasing lock...
[2025-01-13 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:52:03] Production.INFO: ==11585== Lock acquired, processing the job...
[2025-01-13 07:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:52:03] Production.INFO: ==11591== Lock acquired, processing the job...
[2025-01-13 07:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:52:03] Production.INFO: ==11583== Lock acquired, processing the job...
[2025-01-13 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:52:03] Production.INFO: ==11581== Lock acquired, processing the job...
[2025-01-13 07:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:52:03] Production.INFO: ==11589== Lock acquired, processing the job...
[2025-01-13 07:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:52:03] Production.INFO: count ==21
[2025-01-13 07:52:03] Production.INFO: ==11587== Lock acquired, processing the job...
[2025-01-13 07:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:52:03] Production.INFO: count ==21
[2025-01-13 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237531') start
[2025-01-13 07:52:04] Production.INFO: Account Balance Start.
[2025-01-13 07:52:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237531') end
[2025-01-13 07:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:52:04] Production.INFO: 1
[2025-01-13 07:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:52:04] Production.INFO: 117
[2025-01-13 07:52:04] Production.INFO: ==11591== Releasing lock...
[2025-01-13 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:52:04] Production.ERROR: done
[2025-01-13 07:52:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:52:04] Production.INFO: ==11583== Releasing lock...
[2025-01-13 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:52:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:52:04] Production.ERROR: done
[2025-01-13 07:52:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:52:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:52:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:52:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:52:04] Production.INFO: Total Charge 0
[2025-01-13 07:52:04] Production.INFO: CreateAllLog End
[2025-01-13 07:52:04] Production.INFO: Account Balance End.
[2025-01-13 07:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:52:04] Production.INFO: ==11587== Releasing lock...
[2025-01-13 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:52:05
[end_date_ymd] => 2025-01-13 07:52:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:52:05' and `end` < '2025-01-13 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-13 07:52:10] Production.ERROR: CronJobId end10
[2025-01-13 07:52:10] Production.INFO: ==11585== Releasing lock...
[2025-01-13 07:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:52:14] Production.INFO: call_cost start
[2025-01-13 07:52:14] Production.INFO: call_cost end
[2025-01-13 07:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:52:15] Production.INFO: ==11581== Releasing lock...
[2025-01-13 07:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:52:18] Production.INFO: count ==88
[2025-01-13 07:52:18] Production.ERROR: pbx CDR StartTime 2025-01-13 04:52:05 - End Time 2025-01-13 07:52:05
[2025-01-13 07:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237535', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237535', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237535', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237535', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:52:18] Production.INFO: ProcessCDR(1,14237535,1,1,2)
[2025-01-13 07:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237535', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237535', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:52:21] Production.INFO: ==11589== Releasing lock...
[2025-01-13 07:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:52:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:53:01] Production.INFO: ==11649== Lock acquired, processing the job...
[2025-01-13 12:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:53:01] Production.INFO: neon service started
[2025-01-13 12:53:01] Production.INFO: neon service started
[2025-01-13 12:53:01] Production.INFO: ==11649== Releasing lock...
[2025-01-13 12:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:53:02] Production.INFO: ==11651== Lock acquired, processing the job...
[2025-01-13 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:53:02] Production.INFO: ==11653== Lock acquired, processing the job...
[2025-01-13 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:53:02] Production.INFO: ==11653== Releasing lock...
[2025-01-13 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:53:02] Production.INFO: ==11651== Releasing lock...
[2025-01-13 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:53:03] Production.INFO: ==11656== Lock acquired, processing the job...
[2025-01-13 07:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:53:03] Production.INFO: ==11662== Lock acquired, processing the job...
[2025-01-13 07:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:53:03] Production.INFO: Account Balance Start.
[2025-01-13 07:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:53:03] Production.INFO: ==11664== Lock acquired, processing the job...
[2025-01-13 07:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:53:03] Production.INFO: 117
[2025-01-13 07:53:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:53:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:53:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:53:03] Production.INFO: ==11658== Lock acquired, processing the job...
[2025-01-13 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:53:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:53:03] Production.INFO: ==11660== Lock acquired, processing the job...
[2025-01-13 07:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:53:03] Production.INFO: ==11666== Lock acquired, processing the job...
[2025-01-13 07:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:53:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:53:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:53:03] Production.INFO: Total Charge 0
[2025-01-13 07:53:03] Production.INFO: CreateAllLog End
[2025-01-13 07:53:03] Production.ERROR: done
[2025-01-13 07:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 07:53:03] Production.ERROR: done
[2025-01-13 07:53:03] Production.INFO: count ==21
[2025-01-13 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-13 07:53:03] Production.INFO: count ==21
[2025-01-13 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237539') start
[2025-01-13 07:53:04] Production.INFO: Account Balance End.
[2025-01-13 07:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:53:04] Production.INFO: ==11662== Releasing lock...
[2025-01-13 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:53:04] Production.INFO: ==11658== Releasing lock...
[2025-01-13 07:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237539') end
[2025-01-13 07:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:53:04] Production.INFO: 1
[2025-01-13 07:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:53:04] Production.INFO: ==11666== Releasing lock...
[2025-01-13 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:53:05
[end_date_ymd] => 2025-01-13 07:53:05
[RateCDR] => 1
)
[2025-01-13 07:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:53:05' and `end` < '2025-01-13 07:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:53:11] Production.ERROR: CronJobId end10
[2025-01-13 07:53:11] Production.INFO: ==11660== Releasing lock...
[2025-01-13 07:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:53:13] Production.INFO: call_cost start
[2025-01-13 07:53:13] Production.INFO: call_cost end
[2025-01-13 07:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:53:14] Production.INFO: ==11656== Releasing lock...
[2025-01-13 07:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:53:17] Production.INFO: count ==88
[2025-01-13 07:53:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:53:05 - End Time 2025-01-13 07:53:05
[2025-01-13 07:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237540', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237540', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237540', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237540', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:53:17] Production.INFO: ProcessCDR(1,14237540,1,1,2)
[2025-01-13 07:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237540', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237540', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:53:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:53:20] Production.INFO: ==11664== Releasing lock...
[2025-01-13 07:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:53:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:54:02] Production.INFO: ==11720== Lock acquired, processing the job...
[2025-01-13 12:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:54:02] Production.INFO: neon service started
[2025-01-13 12:54:02] Production.INFO: neon service started
[2025-01-13 12:54:02] Production.INFO: ==11720== Releasing lock...
[2025-01-13 12:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:54:02] Production.INFO: ==11724== Lock acquired, processing the job...
[2025-01-13 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:54:02] Production.INFO: ==11724== Releasing lock...
[2025-01-13 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:54:02] Production.INFO: ==11722== Lock acquired, processing the job...
[2025-01-13 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:54:02] Production.INFO: ==11722== Releasing lock...
[2025-01-13 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:54:03] Production.INFO: ==11737== Lock acquired, processing the job...
[2025-01-13 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:54:03] Production.INFO: ==11735== Lock acquired, processing the job...
[2025-01-13 07:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:54:03] Production.INFO: ==11727== Lock acquired, processing the job...
[2025-01-13 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 07:54:03] Production.INFO: ==11729== Lock acquired, processing the job...
[2025-01-13 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:54:03] Production.INFO: count ==21
[2025-01-13 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-13 07:54:04] Production.INFO: ==11731== Lock acquired, processing the job...
[2025-01-13 07:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:54:04] Production.INFO: count ==21
[2025-01-13 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237541') start
[2025-01-13 07:54:04] Production.INFO: ==11733== Lock acquired, processing the job...
[2025-01-13 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237541') end
[2025-01-13 07:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:54:04] Production.INFO: 1
[2025-01-13 07:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:54:04] Production.INFO: Account Balance Start.
[2025-01-13 07:54:04] Production.INFO: CreateAllLog Start
[2025-01-13 07:54:04] Production.INFO: 117
[2025-01-13 07:54:04] Production.INFO: Date 2025-01-08
[2025-01-13 07:54:04] Production.ERROR: done
[2025-01-13 07:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:54:04] Production.INFO: Date 2025-01-09
[2025-01-13 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:54:04] Production.INFO: ==11737== Releasing lock...
[2025-01-13 07:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:54:04] Production.INFO: Date 2025-01-10
[2025-01-13 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:54:04] Production.ERROR: done
[2025-01-13 07:54:04] Production.INFO: ==11729== Releasing lock...
[2025-01-13 07:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:54:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:54:04] Production.INFO: Total Charge 0
[2025-01-13 07:54:04] Production.INFO: CreateAllLog End
[2025-01-13 07:54:04] Production.INFO: Account Balance End.
[2025-01-13 07:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:54:04] Production.INFO: ==11733== Releasing lock...
[2025-01-13 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:54:05
[end_date_ymd] => 2025-01-13 07:54:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:54:05' and `end` < '2025-01-13 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-13 07:54:11] Production.ERROR: CronJobId end10
[2025-01-13 07:54:11] Production.INFO: ==11731== Releasing lock...
[2025-01-13 07:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:54:14] Production.INFO: call_cost start
[2025-01-13 07:54:14] Production.INFO: call_cost end
[2025-01-13 07:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:54:14] Production.INFO: ==11727== Releasing lock...
[2025-01-13 07:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:54:17] Production.INFO: count ==88
[2025-01-13 07:54:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:54:05 - End Time 2025-01-13 07:54:05
[2025-01-13 07:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237545', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237545', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237545', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237545', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:54:17] Production.INFO: ProcessCDR(1,14237545,1,1,2)
[2025-01-13 07:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237545', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237545', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:54:21] Production.INFO: ==11735== Releasing lock...
[2025-01-13 07:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:54:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:55:01] Production.INFO: ==11792== Lock acquired, processing the job...
[2025-01-13 12:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:55:01] Production.INFO: neon service started
[2025-01-13 12:55:01] Production.INFO: neon service started
[2025-01-13 12:55:01] Production.INFO: ==11792== Releasing lock...
[2025-01-13 12:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:55:01] Production.INFO: ==11796== Lock acquired, processing the job...
[2025-01-13 12:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:55:01] Production.INFO: ==11796== Releasing lock...
[2025-01-13 12:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:55:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:55:02] Production.INFO: ==11794== Lock acquired, processing the job...
[2025-01-13 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:55:02] Production.INFO: ==11794== Releasing lock...
[2025-01-13 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:55:03] Production.INFO: ==11805== Lock acquired, processing the job...
[2025-01-13 07:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:55:03] Production.INFO: ==11799== Lock acquired, processing the job...
[2025-01-13 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:55:03] Production.INFO: Account Balance Start.
[2025-01-13 07:55:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:55:03] Production.INFO: 117
[2025-01-13 07:55:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:55:03] Production.INFO: ==11801== Lock acquired, processing the job...
[2025-01-13 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:55:03] Production.INFO: ==11803== Lock acquired, processing the job...
[2025-01-13 07:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:55:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:55:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:55:03] Production.INFO: ==11807== Lock acquired, processing the job...
[2025-01-13 07:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:55:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:55:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:55:03] Production.INFO: ==11809== Lock acquired, processing the job...
[2025-01-13 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:55:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:55:03] Production.INFO: Total Charge 0
[2025-01-13 07:55:03] Production.INFO: CreateAllLog End
[2025-01-13 07:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 07:55:03] Production.INFO: count ==21
[2025-01-13 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-13 07:55:03] Production.INFO: ==11801== Releasing lock...
[2025-01-13 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:55:03] Production.INFO: count ==21
[2025-01-13 07:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237549') start
[2025-01-13 07:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237549') end
[2025-01-13 07:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:55:03] Production.INFO: 1
[2025-01-13 07:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:55:03] Production.INFO: ==11809== Releasing lock...
[2025-01-13 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:55:03] Production.INFO: Account Balance End.
[2025-01-13 07:55:03] Production.ERROR: done
[2025-01-13 07:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:55:04] Production.INFO: ==11805== Releasing lock...
[2025-01-13 07:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:55:04] Production.ERROR: done
[2025-01-13 07:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:55:05
[end_date_ymd] => 2025-01-13 07:55:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:55:05' and `end` < '2025-01-13 07:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:55:10] Production.ERROR: CronJobId end10
[2025-01-13 07:55:10] Production.INFO: ==11803== Releasing lock...
[2025-01-13 07:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:55:12] Production.INFO: call_cost start
[2025-01-13 07:55:12] Production.INFO: call_cost end
[2025-01-13 07:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:55:13] Production.INFO: ==11799== Releasing lock...
[2025-01-13 07:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:55:17] Production.INFO: count ==88
[2025-01-13 07:55:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:55:05 - End Time 2025-01-13 07:55:05
[2025-01-13 07:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237550', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237550', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237550', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237550', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:55:17] Production.INFO: ProcessCDR(1,14237550,1,1,2)
[2025-01-13 07:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237550', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237550', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:55:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:55:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:55:20] Production.INFO: ==11807== Releasing lock...
[2025-01-13 07:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:55:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:56:01] Production.INFO: ==11864== Lock acquired, processing the job...
[2025-01-13 12:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:56:01] Production.INFO: neon service started
[2025-01-13 12:56:01] Production.INFO: neon service started
[2025-01-13 12:56:01] Production.INFO: ==11864== Releasing lock...
[2025-01-13 12:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:56:02] Production.INFO: ==11868== Lock acquired, processing the job...
[2025-01-13 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:56:02] Production.INFO: ==11868== Releasing lock...
[2025-01-13 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:56:02] Production.INFO: ==11866== Lock acquired, processing the job...
[2025-01-13 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:56:02] Production.INFO: ==11866== Releasing lock...
[2025-01-13 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:56:03] Production.INFO: ==11877== Lock acquired, processing the job...
[2025-01-13 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:56:03] Production.INFO: ==11881== Lock acquired, processing the job...
[2025-01-13 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:56:03] Production.INFO: ==11875== Lock acquired, processing the job...
[2025-01-13 07:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 07:56:03] Production.INFO: Account Balance Start.
[2025-01-13 07:56:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:56:03] Production.INFO: 117
[2025-01-13 07:56:03] Production.INFO: ==11871== Lock acquired, processing the job...
[2025-01-13 07:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:56:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:56:03] Production.INFO: count ==21
[2025-01-13 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:56:03] Production.INFO: count ==21
[2025-01-13 07:56:03] Production.INFO: ==11873== Lock acquired, processing the job...
[2025-01-13 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237551') start
[2025-01-13 07:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:56:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:56:03] Production.INFO: ==11879== Lock acquired, processing the job...
[2025-01-13 07:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:56:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237551') end
[2025-01-13 07:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:56:03] Production.INFO: 1
[2025-01-13 07:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:56:03] Production.INFO: ==11881== Releasing lock...
[2025-01-13 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:56:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:56:04] Production.INFO: ==11873== Releasing lock...
[2025-01-13 07:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:56:04] Production.ERROR: done
[2025-01-13 07:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:56:04] Production.INFO: Total Charge 0
[2025-01-13 07:56:04] Production.INFO: CreateAllLog End
[2025-01-13 07:56:04] Production.ERROR: done
[2025-01-13 07:56:04] Production.INFO: Account Balance End.
[2025-01-13 07:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:56:04] Production.INFO: ==11877== Releasing lock...
[2025-01-13 07:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:56:05
[end_date_ymd] => 2025-01-13 07:56:05
[RateCDR] => 1
)
[2025-01-13 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-13 04:56:05' and `end` < '2025-01-13 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-13 07:56:10] Production.ERROR: CronJobId end10
[2025-01-13 07:56:10] Production.INFO: ==11875== Releasing lock...
[2025-01-13 07:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:56:12] Production.INFO: call_cost start
[2025-01-13 07:56:12] Production.INFO: call_cost end
[2025-01-13 07:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:56:13] Production.INFO: ==11871== Releasing lock...
[2025-01-13 07:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:56:17] Production.INFO: count ==88
[2025-01-13 07:56:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:56:05 - End Time 2025-01-13 07:56:05
[2025-01-13 07:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237555', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237555', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237555', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237555', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:56:17] Production.INFO: ProcessCDR(1,14237555,1,1,2)
[2025-01-13 07:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237555', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237555', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:56:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:56:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:56:20] Production.INFO: ==11879== Releasing lock...
[2025-01-13 07:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:56:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:57:01] Production.INFO: ==11936== Lock acquired, processing the job...
[2025-01-13 12:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:57:01] Production.INFO: neon service started
[2025-01-13 12:57:01] Production.INFO: neon service started
[2025-01-13 12:57:01] Production.INFO: ==11936== Releasing lock...
[2025-01-13 12:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:57:01] Production.INFO: ==11938== Lock acquired, processing the job...
[2025-01-13 07:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:57:02] Production.INFO: ==11938== Releasing lock...
[2025-01-13 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:57:02] Production.INFO: ==11940== Lock acquired, processing the job...
[2025-01-13 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:57:02] Production.INFO: ==11940== Releasing lock...
[2025-01-13 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:57:03] Production.INFO: ==11946== Lock acquired, processing the job...
[2025-01-13 07:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:57:03] Production.INFO: ==11950== Lock acquired, processing the job...
[2025-01-13 07:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:57:03] Production.INFO: ==11942== Lock acquired, processing the job...
[2025-01-13 07:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:57:03] Production.INFO: ==11944== Lock acquired, processing the job...
[2025-01-13 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:57:03] Production.INFO: ==11948== Lock acquired, processing the job...
[2025-01-13 07:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:57:03] Production.INFO: ==11952== Lock acquired, processing the job...
[2025-01-13 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:57:03] Production.INFO: Account Balance Start.
[2025-01-13 07:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:57:03] Production.INFO: 117
[2025-01-13 07:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:57:03] Production.ERROR: done
[2025-01-13 07:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:57:03] Production.INFO: count ==21
[2025-01-13 07:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:57:03] Production.INFO: count ==21
[2025-01-13 07:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237559') start
[2025-01-13 07:57:03] Production.INFO: ==11944== Releasing lock...
[2025-01-13 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:57:03] Production.ERROR: done
[2025-01-13 07:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:57:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237559') end
[2025-01-13 07:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:57:03] Production.INFO: 1
[2025-01-13 07:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:57:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:57:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:57:03] Production.INFO: ==11952== Releasing lock...
[2025-01-13 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:57:03] Production.INFO: Total Charge 0
[2025-01-13 07:57:03] Production.INFO: CreateAllLog End
[2025-01-13 07:57:04] Production.INFO: Account Balance End.
[2025-01-13 07:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:57:04] Production.INFO: ==11948== Releasing lock...
[2025-01-13 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:57:04
[end_date_ymd] => 2025-01-13 07:57:04
[RateCDR] => 1
)
[2025-01-13 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-13 04:57:04' and `end` < '2025-01-13 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-13 07:57:10] Production.ERROR: CronJobId end10
[2025-01-13 07:57:10] Production.INFO: ==11946== Releasing lock...
[2025-01-13 07:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:57:12] Production.INFO: call_cost start
[2025-01-13 07:57:12] Production.INFO: call_cost end
[2025-01-13 07:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:57:13] Production.INFO: ==11942== Releasing lock...
[2025-01-13 07:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:57:17] Production.INFO: count ==89
[2025-01-13 07:57:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:57:04 - End Time 2025-01-13 07:57:04
[2025-01-13 07:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237560', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237560', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237560', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237560', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:57:17] Production.INFO: ProcessCDR(1,14237560,1,1,2)
[2025-01-13 07:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237560', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237560', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:57:20] Production.INFO: ==11950== Releasing lock...
[2025-01-13 07:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:57:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:58:01] Production.INFO: ==12008== Lock acquired, processing the job...
[2025-01-13 12:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:58:01] Production.INFO: neon service started
[2025-01-13 12:58:01] Production.INFO: neon service started
[2025-01-13 12:58:01] Production.INFO: ==12008== Releasing lock...
[2025-01-13 12:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:58:02] Production.INFO: ==12010== Lock acquired, processing the job...
[2025-01-13 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:58:02] Production.INFO: ==12012== Lock acquired, processing the job...
[2025-01-13 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:58:02] Production.INFO: ==12012== Releasing lock...
[2025-01-13 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:58:02] Production.INFO: ==12010== Releasing lock...
[2025-01-13 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 07:58:03] Production.INFO: ==12017== Lock acquired, processing the job...
[2025-01-13 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:58:03] Production.INFO: ==12021== Lock acquired, processing the job...
[2025-01-13 07:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:58:03] Production.INFO: Account Balance Start.
[2025-01-13 07:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:58:03] Production.INFO: 117
[2025-01-13 07:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:58:03] Production.INFO: ==12015== Lock acquired, processing the job...
[2025-01-13 07:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:58:04] Production.INFO: Date 2025-01-11
[2025-01-13 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:58:04] Production.INFO: Date 2025-01-12
[2025-01-13 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:58:04] Production.INFO: ==12019== Lock acquired, processing the job...
[2025-01-13 07:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:58:04] Production.INFO: ==12017== Releasing lock...
[2025-01-13 07:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:58:04] Production.INFO: Date 2025-01-13
[2025-01-13 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 07:58:04] Production.INFO: Total Charge 0
[2025-01-13 07:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:58:04] Production.INFO: ==12023== Lock acquired, processing the job...
[2025-01-13 07:58:04] Production.INFO: ==12025== Lock acquired, processing the job...
[2025-01-13 07:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:58:04] Production.INFO: CreateAllLog End
[2025-01-13 07:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:58:04] Production.INFO: count ==21
[2025-01-13 07:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:58:04] Production.INFO: Account Balance End.
[2025-01-13 07:58:04] Production.INFO: count ==21
[2025-01-13 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237564') start
[2025-01-13 07:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:58:04] Production.INFO: ==12021== Releasing lock...
[2025-01-13 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237564') end
[2025-01-13 07:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:58:04] Production.INFO: 1
[2025-01-13 07:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:58:04] Production.ERROR: done
[2025-01-13 07:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:58:04] Production.INFO: ==12025== Releasing lock...
[2025-01-13 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:58:04] Production.ERROR: done
[2025-01-13 07:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:58:05
[end_date_ymd] => 2025-01-13 07:58:05
[RateCDR] => 1
)
[2025-01-13 07:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:58:05' and `end` < '2025-01-13 07:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:58:11] Production.ERROR: CronJobId end10
[2025-01-13 07:58:11] Production.INFO: ==12019== Releasing lock...
[2025-01-13 07:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:58:13] Production.INFO: call_cost start
[2025-01-13 07:58:14] Production.INFO: call_cost end
[2025-01-13 07:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:58:14] Production.INFO: ==12015== Releasing lock...
[2025-01-13 07:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:58:20] Production.INFO: count ==96
[2025-01-13 07:58:20] Production.ERROR: pbx CDR StartTime 2025-01-13 04:58:05 - End Time 2025-01-13 07:58:05
[2025-01-13 07:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237565', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237565', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237565', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237565', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:58:20] Production.INFO: ProcessCDR(1,14237565,1,1,2)
[2025-01-13 07:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237565', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237565', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:58:23] Production.INFO: ==12023== Releasing lock...
[2025-01-13 07:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:58:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:59:01] Production.INFO: ==12082== Lock acquired, processing the job...
[2025-01-13 12:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 12:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 12:59:01] Production.INFO: neon service started
[2025-01-13 12:59:01] Production.INFO: neon service started
[2025-01-13 12:59:01] Production.INFO: ==12082== Releasing lock...
[2025-01-13 12:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 12:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 07:59:01] Production.INFO: ==12084== Lock acquired, processing the job...
[2025-01-13 07:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 07:59:02] Production.INFO: ==12084== Releasing lock...
[2025-01-13 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 07:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:59:02] Production.INFO: ==12086== Lock acquired, processing the job...
[2025-01-13 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:59:02] Production.INFO: ==12086== Releasing lock...
[2025-01-13 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 12:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 07:59:02] Production.INFO: ==12088== Lock acquired, processing the job...
[2025-01-13 07:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 07:59:02] Production.INFO: ==12090== Lock acquired, processing the job...
[2025-01-13 07:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 07:59:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 07:59:02] Production.INFO: ==12094== Lock acquired, processing the job...
[2025-01-13 07:59:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 07:59:03] Production.INFO: ==12090== Releasing lock...
[2025-01-13 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 07:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 07:59:03] Production.INFO: ==12092== Lock acquired, processing the job...
[2025-01-13 07:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 07:59:03] Production.INFO: Account Balance Start.
[2025-01-13 07:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 07:59:03] Production.INFO: 117
[2025-01-13 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 07:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 07:59:03] Production.INFO: ==12096== Lock acquired, processing the job...
[2025-01-13 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:59:03] Production.INFO: ==12098== Lock acquired, processing the job...
[2025-01-13 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 07:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 07:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 07:59:03] Production.INFO: count ==21
[2025-01-13 07:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 07:59:03] Production.INFO: count ==21
[2025-01-13 07:59:03] Production.INFO: Date 2025-01-12
[2025-01-13 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237569') start
[2025-01-13 07:59:03] Production.ERROR: done
[2025-01-13 07:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 07:59:03] Production.INFO: Date 2025-01-13
[2025-01-13 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237569') end
[2025-01-13 07:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 07:59:03] Production.INFO: 1
[2025-01-13 07:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 07:59:03] Production.INFO: Total Charge 0
[2025-01-13 07:59:03] Production.INFO: CreateAllLog End
[2025-01-13 07:59:03] Production.INFO: ==12098== Releasing lock...
[2025-01-13 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 07:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 07:59:03] Production.ERROR: done
[2025-01-13 07:59:04] Production.INFO: Account Balance End.
[2025-01-13 07:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 07:59:04] Production.INFO: ==12094== Releasing lock...
[2025-01-13 07:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 07:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 07:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 04:59:04
[end_date_ymd] => 2025-01-13 07:59:04
[RateCDR] => 1
)
[2025-01-13 07:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 04:59:04' and `end` < '2025-01-13 07:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 07:59:11] Production.ERROR: CronJobId end10
[2025-01-13 07:59:11] Production.INFO: ==12092== Releasing lock...
[2025-01-13 07:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 07:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 07:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 07:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 07:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 07:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 07:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 07:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 07:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 07:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 07:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 07:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 07:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 07:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 07:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 07:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 07:59:12] Production.INFO: call_cost start
[2025-01-13 07:59:12] Production.INFO: call_cost end
[2025-01-13 07:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 07:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 07:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 07:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 07:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 07:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 07:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 07:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 07:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 07:59:13] Production.INFO: ==12088== Releasing lock...
[2025-01-13 07:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 07:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 07:59:17] Production.INFO: count ==104
[2025-01-13 07:59:17] Production.ERROR: pbx CDR StartTime 2025-01-13 04:59:04 - End Time 2025-01-13 07:59:04
[2025-01-13 07:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237570', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237570', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237570', 'tblTempVendorCDR_20' ) start
[2025-01-13 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237570', 'tblTempVendorCDR_20' ) end
[2025-01-13 07:59:17] Production.INFO: ProcessCDR(1,14237570,1,1,2)
[2025-01-13 07:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 07:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 07:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237570', 'tblTempUsageDetail_20' ) start
[2025-01-13 07:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237570', 'tblTempUsageDetail_20' ) end
[2025-01-13 07:59:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 07:59:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 07:59:20] Production.INFO: ==12096== Releasing lock...
[2025-01-13 07:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 07:59:20] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 13:00:01] Production.INFO: ==12193== Lock acquired, processing the job...
[2025-01-13 13:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:00:01] Production.INFO: neon service started
[2025-01-13 13:00:01] Production.INFO: neon service started
[2025-01-13 13:00:01] Production.INFO: ==12193== Releasing lock...
[2025-01-13 13:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:00:02] Production.INFO: ==12195== Lock acquired, processing the job...
[2025-01-13 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:00:02] Production.INFO: ==12197== Lock acquired, processing the job...
[2025-01-13 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:00:02] Production.INFO: ==12197== Releasing lock...
[2025-01-13 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:00:02] Production.INFO: ==12195== Releasing lock...
[2025-01-13 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:00:03] Production.INFO: ==12200== Lock acquired, processing the job...
[2025-01-13 08:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 08:00:03] Production.INFO: ==12202== Lock acquired, processing the job...
[2025-01-13 08:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:00:03] Production.INFO: ==12204== Lock acquired, processing the job...
[2025-01-13 08:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 08:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 08:00:03] Production.ERROR: CronJob PID - 12202
[2025-01-13 08:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 08:00:03] Production.ERROR: CronJob ID - 5
[2025-01-13 08:00:03] Production.ERROR: CronJob Last Run Time 2025-01-13 08:00:00
[2025-01-13 08:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 08:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 08:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 08:00:03] Production.INFO: ==12200== Releasing lock...
[2025-01-13 08:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 08:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 08:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:00:03] Production.INFO: ==12212== Lock acquired, processing the job...
[2025-01-13 08:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 08:00:03] Production.INFO: ==12206== Lock acquired, processing the job...
[2025-01-13 08:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:00:04] Production.INFO: ==12208== Lock acquired, processing the job...
[2025-01-13 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:00:04] Production.INFO: ==12210== Lock acquired, processing the job...
[2025-01-13 08:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:00:04] Production.INFO: Account Balance Start.
[2025-01-13 08:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:00:04] Production.INFO: 117
[2025-01-13 08:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:00:04] Production.INFO: ==12214== Lock acquired, processing the job...
[2025-01-13 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:00:04] Production.INFO: ==12204== Releasing lock...
[2025-01-13 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:00:04] Production.ERROR: done
[2025-01-13 08:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 08:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237575', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 08:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:00:04] Production.INFO: count ==21
[2025-01-13 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:00:04] Production.INFO: count ==21
[2025-01-13 08:00:04] Production.ERROR: done
[2025-01-13 08:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:00:04] Production.INFO: Total Charge 0
[2025-01-13 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237574') start
[2025-01-13 08:00:04] Production.INFO: CreateAllLog End
[2025-01-13 08:00:04] Production.ERROR: done
[2025-01-13 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237574') end
[2025-01-13 08:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:00:04] Production.INFO: 1
[2025-01-13 08:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:00:05] Production.INFO: ==12214== Releasing lock...
[2025-01-13 08:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:00:05] Production.INFO: Account Balance End.
[2025-01-13 08:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 08:00:05] Production.INFO: ==12208== Releasing lock...
[2025-01-13 08:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:00:06
[end_date_ymd] => 2025-01-13 08:00:06
[RateCDR] => 1
)
[2025-01-13 08:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:00:06' and `end` < '2025-01-13 08:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237575', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 08:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 08:00:08] Production.INFO: ProcessCDR(1,14237575,1,1,2)
[2025-01-13 08:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237575,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237575,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:00:08] Production.INFO: ==12212== Releasing lock...
[2025-01-13 08:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 08:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 08:00:12] Production.ERROR: CronJobId end10
[2025-01-13 08:00:12] Production.INFO: ==12206== Releasing lock...
[2025-01-13 08:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:00:15] Production.INFO: call_cost start
[2025-01-13 08:00:15] Production.INFO: call_cost end
[2025-01-13 08:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:00:16] Production.INFO: ==12202== Releasing lock...
[2025-01-13 08:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:00:18] Production.INFO: count ==118
[2025-01-13 08:00:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:00:06 - End Time 2025-01-13 08:00:06
[2025-01-13 08:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237576', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237576', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237576', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237576', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:00:18] Production.INFO: ProcessCDR(1,14237576,1,1,2)
[2025-01-13 08:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237576', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237576', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:00:21] Production.INFO: ==12210== Releasing lock...
[2025-01-13 08:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:00:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-13 13:01:02] Production.INFO: ==12273== Lock acquired, processing the job...
[2025-01-13 13:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:01:02] Production.INFO: neon service started
[2025-01-13 13:01:02] Production.INFO: neon service started
[2025-01-13 13:01:02] Production.INFO: ==12273== Releasing lock...
[2025-01-13 13:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:01:02] Production.INFO: ==12286== Lock acquired, processing the job...
[2025-01-13 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:01:02] Production.INFO: ==12286== Releasing lock...
[2025-01-13 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:01:03] Production.INFO: ==12288== Lock acquired, processing the job...
[2025-01-13 13:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:01:03] Production.INFO: ==12288== Releasing lock...
[2025-01-13 13:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:01:03] Production.INFO: ==12290== Lock acquired, processing the job...
[2025-01-13 08:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:01:03] Production.INFO: ==12292== Lock acquired, processing the job...
[2025-01-13 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:01:03] Production.INFO: ==12296== Lock acquired, processing the job...
[2025-01-13 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:01:03] Production.INFO: ==12294== Lock acquired, processing the job...
[2025-01-13 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:01:03] Production.INFO: ==12298== Lock acquired, processing the job...
[2025-01-13 08:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:01:04] Production.INFO: Account Balance Start.
[2025-01-13 08:01:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:01:04] Production.INFO: 117
[2025-01-13 08:01:04] Production.INFO: ==12300== Lock acquired, processing the job...
[2025-01-13 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:01:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 08:01:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:01:04] Production.INFO: count ==21
[2025-01-13 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-13 08:01:04] Production.INFO: count ==21
[2025-01-13 08:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237580') start
[2025-01-13 08:01:04] Production.INFO: ==12292== Releasing lock...
[2025-01-13 08:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:01:04] Production.ERROR: done
[2025-01-13 08:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237580') end
[2025-01-13 08:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:01:04] Production.INFO: 1
[2025-01-13 08:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:01:04] Production.INFO: ==12300== Releasing lock...
[2025-01-13 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:01:04] Production.ERROR: done
[2025-01-13 08:01:04] Production.INFO: Total Charge 0
[2025-01-13 08:01:04] Production.INFO: CreateAllLog End
[2025-01-13 08:01:04] Production.INFO: Account Balance End.
[2025-01-13 08:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:01:04] Production.INFO: ==12296== Releasing lock...
[2025-01-13 08:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:01:05
[end_date_ymd] => 2025-01-13 08:01:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:01:05' and `end` < '2025-01-13 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-13 08:01:11] Production.ERROR: CronJobId end10
[2025-01-13 08:01:11] Production.INFO: ==12294== Releasing lock...
[2025-01-13 08:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:01:13] Production.INFO: call_cost start
[2025-01-13 08:01:13] Production.INFO: call_cost end
[2025-01-13 08:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:01:14] Production.INFO: ==12290== Releasing lock...
[2025-01-13 08:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:01:17] Production.INFO: count ==127
[2025-01-13 08:01:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:01:05 - End Time 2025-01-13 08:01:05
[2025-01-13 08:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237581', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237581', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237581', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237581', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:01:17] Production.INFO: ProcessCDR(1,14237581,1,1,2)
[2025-01-13 08:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237581', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237581', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:01:22] Production.INFO: ==12298== Releasing lock...
[2025-01-13 08:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:01:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-13 13:02:01] Production.INFO: ==12353== Lock acquired, processing the job...
[2025-01-13 13:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:02:01] Production.INFO: neon service started
[2025-01-13 13:02:01] Production.INFO: neon service started
[2025-01-13 13:02:01] Production.INFO: ==12353== Releasing lock...
[2025-01-13 13:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:02:02] Production.INFO: ==12355== Lock acquired, processing the job...
[2025-01-13 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:02:02] Production.INFO: ==12357== Lock acquired, processing the job...
[2025-01-13 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:02:02] Production.INFO: ==12357== Releasing lock...
[2025-01-13 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:02:02] Production.INFO: ==12355== Releasing lock...
[2025-01-13 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:02:03] Production.INFO: ==12359== Lock acquired, processing the job...
[2025-01-13 08:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:02:03] Production.INFO: ==12361== Lock acquired, processing the job...
[2025-01-13 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:02:03] Production.INFO: ==12361== Releasing lock...
[2025-01-13 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:02:03] Production.INFO: ==12369== Lock acquired, processing the job...
[2025-01-13 08:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:02:03] Production.INFO: ==12363== Lock acquired, processing the job...
[2025-01-13 08:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:02:03] Production.INFO: ==12365== Lock acquired, processing the job...
[2025-01-13 08:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 08:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:02:03] Production.INFO: ==12367== Lock acquired, processing the job...
[2025-01-13 08:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:02:03] Production.INFO: count ==21
[2025-01-13 08:02:03] Production.INFO: Account Balance Start.
[2025-01-13 08:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:02:03] Production.INFO: 117
[2025-01-13 08:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 08:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:02:03] Production.INFO: count ==21
[2025-01-13 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237584') start
[2025-01-13 08:02:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:02:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:02:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:02:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:02:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237584') end
[2025-01-13 08:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:02:03] Production.INFO: 1
[2025-01-13 08:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:02:03] Production.INFO: Total Charge 0
[2025-01-13 08:02:04] Production.INFO: CreateAllLog End
[2025-01-13 08:02:04] Production.INFO: ==12369== Releasing lock...
[2025-01-13 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:02:04] Production.ERROR: done
[2025-01-13 08:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:02:04] Production.INFO: Account Balance End.
[2025-01-13 08:02:04] Production.ERROR: done
[2025-01-13 08:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:02:04] Production.INFO: ==12365== Releasing lock...
[2025-01-13 08:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:02:05
[end_date_ymd] => 2025-01-13 08:02:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:02:05' and `end` < '2025-01-13 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-13 08:02:10] Production.ERROR: CronJobId end10
[2025-01-13 08:02:10] Production.INFO: ==12363== Releasing lock...
[2025-01-13 08:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:02:12] Production.INFO: call_cost start
[2025-01-13 08:02:12] Production.INFO: call_cost end
[2025-01-13 08:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:02:13] Production.INFO: ==12359== Releasing lock...
[2025-01-13 08:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:02:17] Production.INFO: count ==141
[2025-01-13 08:02:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:02:05 - End Time 2025-01-13 08:02:05
[2025-01-13 08:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237586', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237586', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237586', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237586', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:02:17] Production.INFO: ProcessCDR(1,14237586,1,1,2)
[2025-01-13 08:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:02:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237586', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237586', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:02:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:02:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:02:21] Production.INFO: ==12367== Releasing lock...
[2025-01-13 08:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:02:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 13:03:02] Production.INFO: ==12425== Lock acquired, processing the job...
[2025-01-13 13:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:03:02] Production.INFO: neon service started
[2025-01-13 13:03:02] Production.INFO: neon service started
[2025-01-13 13:03:02] Production.INFO: ==12425== Releasing lock...
[2025-01-13 13:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:03:02] Production.INFO: ==12427== Lock acquired, processing the job...
[2025-01-13 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:03:02] Production.INFO: ==12427== Releasing lock...
[2025-01-13 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:03:02] Production.INFO: ==12429== Lock acquired, processing the job...
[2025-01-13 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:03:02] Production.INFO: ==12429== Releasing lock...
[2025-01-13 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:03:03] Production.INFO: ==12437== Lock acquired, processing the job...
[2025-01-13 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:03:03] Production.INFO: Account Balance Start.
[2025-01-13 08:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:03:03] Production.INFO: 117
[2025-01-13 08:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:03:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:03:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:03:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:03:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:03:03] Production.INFO: Total Charge 0
[2025-01-13 08:03:03] Production.INFO: CreateAllLog End
[2025-01-13 08:03:03] Production.INFO: Account Balance End.
[2025-01-13 08:03:03] Production.ERROR: CronJobId end 12
[2025-01-13 08:03:03] Production.INFO: ==12437== Releasing lock...
[2025-01-13 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:03:04] Production.INFO: ==12431== Lock acquired, processing the job...
[2025-01-13 08:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:03:04] Production.INFO: ==12433== Lock acquired, processing the job...
[2025-01-13 08:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:03:04] Production.INFO: ==12441== Lock acquired, processing the job...
[2025-01-13 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:03:04] Production.INFO: ==12435== Lock acquired, processing the job...
[2025-01-13 08:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:03:04] Production.INFO: ==12439== Lock acquired, processing the job...
[2025-01-13 08:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:03:04] Production.INFO: count ==21
[2025-01-13 08:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:03:04] Production.INFO: count ==21
[2025-01-13 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237590') start
[2025-01-13 08:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237590') end
[2025-01-13 08:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:03:04] Production.INFO: 1
[2025-01-13 08:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:03:04] Production.INFO: ==12441== Releasing lock...
[2025-01-13 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:03:04] Production.INFO: ==12433== Releasing lock...
[2025-01-13 08:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:03:04] Production.ERROR: done
[2025-01-13 08:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:03:04] Production.ERROR: done
[2025-01-13 08:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:03:05
[end_date_ymd] => 2025-01-13 08:03:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:03:05' and `end` < '2025-01-13 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-13 08:03:11] Production.ERROR: CronJobId end10
[2025-01-13 08:03:11] Production.INFO: ==12435== Releasing lock...
[2025-01-13 08:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:03:13] Production.INFO: call_cost start
[2025-01-13 08:03:13] Production.INFO: call_cost end
[2025-01-13 08:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:03:14] Production.INFO: ==12431== Releasing lock...
[2025-01-13 08:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:03:17] Production.INFO: count ==141
[2025-01-13 08:03:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:03:05 - End Time 2025-01-13 08:03:05
[2025-01-13 08:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237591', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237591', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237591', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237591', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:03:17] Production.INFO: ProcessCDR(1,14237591,1,1,2)
[2025-01-13 08:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237591', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237591', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:03:21] Production.INFO: ==12439== Releasing lock...
[2025-01-13 08:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:03:21] Production.INFO: 29 MB #Memory Used#
[2025-01-13 13:04:01] Production.INFO: ==12494== Lock acquired, processing the job...
[2025-01-13 13:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:04:01] Production.INFO: neon service started
[2025-01-13 13:04:01] Production.INFO: neon service started
[2025-01-13 13:04:01] Production.INFO: ==12494== Releasing lock...
[2025-01-13 13:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:04:02] Production.INFO: ==12498== Lock acquired, processing the job...
[2025-01-13 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:04:02] Production.INFO: ==12498== Releasing lock...
[2025-01-13 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:04:02] Production.INFO: ==12496== Lock acquired, processing the job...
[2025-01-13 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:04:02] Production.INFO: ==12496== Releasing lock...
[2025-01-13 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:04:03] Production.INFO: ==12505== Lock acquired, processing the job...
[2025-01-13 08:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:04:03] Production.INFO: ==12509== Lock acquired, processing the job...
[2025-01-13 08:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:04:03] Production.INFO: ==12501== Lock acquired, processing the job...
[2025-01-13 08:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:04:03] Production.INFO: ==12503== Lock acquired, processing the job...
[2025-01-13 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:04:03] Production.INFO: ==12507== Lock acquired, processing the job...
[2025-01-13 08:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:04:03] Production.INFO: Account Balance Start.
[2025-01-13 08:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:04:03] Production.INFO: 117
[2025-01-13 08:04:03] Production.INFO: ==12511== Lock acquired, processing the job...
[2025-01-13 08:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:04:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:04:03] Production.INFO: count ==21
[2025-01-13 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-13 08:04:03] Production.INFO: count ==21
[2025-01-13 08:04:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237595') start
[2025-01-13 08:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:04:04] Production.INFO: ==12503== Releasing lock...
[2025-01-13 08:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:04:04] Production.INFO: Total Charge 0
[2025-01-13 08:04:04] Production.INFO: CreateAllLog End
[2025-01-13 08:04:04] Production.ERROR: done
[2025-01-13 08:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237595') end
[2025-01-13 08:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:04:04] Production.INFO: 1
[2025-01-13 08:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:04:04] Production.INFO: ==12511== Releasing lock...
[2025-01-13 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:04:04] Production.ERROR: done
[2025-01-13 08:04:04] Production.INFO: Account Balance End.
[2025-01-13 08:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:04:04] Production.INFO: ==12507== Releasing lock...
[2025-01-13 08:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:04:05
[end_date_ymd] => 2025-01-13 08:04:05
[RateCDR] => 1
)
[2025-01-13 08:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:04:05' and `end` < '2025-01-13 08:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:04:11] Production.ERROR: CronJobId end10
[2025-01-13 08:04:11] Production.INFO: ==12505== Releasing lock...
[2025-01-13 08:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:04:13] Production.INFO: call_cost start
[2025-01-13 08:04:13] Production.INFO: call_cost end
[2025-01-13 08:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:04:14] Production.INFO: ==12501== Releasing lock...
[2025-01-13 08:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:04:19] Production.INFO: count ==144
[2025-01-13 08:04:19] Production.ERROR: pbx CDR StartTime 2025-01-13 05:04:05 - End Time 2025-01-13 08:04:05
[2025-01-13 08:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237596', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237596', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237596', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237596', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:04:19] Production.INFO: ProcessCDR(1,14237596,1,1,2)
[2025-01-13 08:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237596', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237596', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:04:24] Production.INFO: ==12509== Releasing lock...
[2025-01-13 08:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:04:24] Production.INFO: 29 MB #Memory Used#
[2025-01-13 13:05:02] Production.INFO: ==12567== Lock acquired, processing the job...
[2025-01-13 13:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:05:02] Production.INFO: neon service started
[2025-01-13 13:05:02] Production.INFO: neon service started
[2025-01-13 13:05:02] Production.INFO: ==12567== Releasing lock...
[2025-01-13 13:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:05:02] Production.INFO: ==12569== Lock acquired, processing the job...
[2025-01-13 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:05:02] Production.INFO: ==12571== Lock acquired, processing the job...
[2025-01-13 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:05:02] Production.INFO: ==12571== Releasing lock...
[2025-01-13 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:05:03] Production.INFO: ==12569== Releasing lock...
[2025-01-13 08:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:05:03] Production.INFO: ==12574== Lock acquired, processing the job...
[2025-01-13 08:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:05:03] Production.INFO: ==12578== Lock acquired, processing the job...
[2025-01-13 08:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:05:03] Production.INFO: ==12580== Lock acquired, processing the job...
[2025-01-13 08:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:05:04] Production.INFO: Account Balance Start.
[2025-01-13 08:05:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:05:04] Production.INFO: 117
[2025-01-13 08:05:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:05:04] Production.INFO: ==12576== Lock acquired, processing the job...
[2025-01-13 08:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:05:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:05:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:05:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:05:04] Production.INFO: ==12582== Lock acquired, processing the job...
[2025-01-13 08:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:05:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:05:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:05:04] Production.INFO: Total Charge 0
[2025-01-13 08:05:04] Production.INFO: ==12584== Lock acquired, processing the job...
[2025-01-13 08:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:05:04] Production.INFO: CreateAllLog End
[2025-01-13 08:05:04] Production.INFO: ==12576== Releasing lock...
[2025-01-13 08:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 08:05:04] Production.INFO: count ==21
[2025-01-13 08:05:04] Production.ERROR: done
[2025-01-13 08:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 08:05:04] Production.INFO: count ==21
[2025-01-13 08:05:04] Production.INFO: Account Balance End.
[2025-01-13 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237600') start
[2025-01-13 08:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:05:04] Production.INFO: ==12580== Releasing lock...
[2025-01-13 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:05:04] Production.ERROR: done
[2025-01-13 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237600') end
[2025-01-13 08:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:05:04] Production.INFO: 1
[2025-01-13 08:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:05:05] Production.INFO: ==12584== Releasing lock...
[2025-01-13 08:05:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:05:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:05:05
[end_date_ymd] => 2025-01-13 08:05:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:05:05' and `end` < '2025-01-13 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-13 08:05:11] Production.ERROR: CronJobId end10
[2025-01-13 08:05:11] Production.INFO: ==12578== Releasing lock...
[2025-01-13 08:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:05:13] Production.INFO: call_cost start
[2025-01-13 08:05:13] Production.INFO: call_cost end
[2025-01-13 08:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:05:14] Production.INFO: ==12574== Releasing lock...
[2025-01-13 08:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:05:19] Production.INFO: count ==147
[2025-01-13 08:05:19] Production.ERROR: pbx CDR StartTime 2025-01-13 05:05:05 - End Time 2025-01-13 08:05:05
[2025-01-13 08:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237601', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237601', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237601', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237601', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:05:19] Production.INFO: ProcessCDR(1,14237601,1,1,2)
[2025-01-13 08:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237601', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237601', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:05:24] Production.INFO: ==12582== Releasing lock...
[2025-01-13 08:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:05:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 13:06:01] Production.INFO: ==12636== Lock acquired, processing the job...
[2025-01-13 13:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:06:01] Production.INFO: neon service started
[2025-01-13 13:06:01] Production.INFO: neon service started
[2025-01-13 13:06:01] Production.INFO: ==12636== Releasing lock...
[2025-01-13 13:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:06:02] Production.INFO: ==12640== Lock acquired, processing the job...
[2025-01-13 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:06:02] Production.INFO: ==12638== Lock acquired, processing the job...
[2025-01-13 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:06:02] Production.INFO: ==12640== Releasing lock...
[2025-01-13 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:06:02] Production.INFO: ==12638== Releasing lock...
[2025-01-13 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:06:03] Production.INFO: ==12643== Lock acquired, processing the job...
[2025-01-13 08:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:06:03] Production.INFO: ==12645== Lock acquired, processing the job...
[2025-01-13 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:06:03] Production.INFO: ==12653== Lock acquired, processing the job...
[2025-01-13 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:06:03] Production.INFO: ==12647== Lock acquired, processing the job...
[2025-01-13 08:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:06:03] Production.INFO: ==12649== Lock acquired, processing the job...
[2025-01-13 08:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:06:03] Production.INFO: Account Balance Start.
[2025-01-13 08:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:06:03] Production.INFO: count ==21
[2025-01-13 08:06:03] Production.INFO: 117
[2025-01-13 08:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:06:03] Production.INFO: count ==21
[2025-01-13 08:06:03] Production.INFO: ==12651== Lock acquired, processing the job...
[2025-01-13 08:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237604') start
[2025-01-13 08:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:06:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:06:04] Production.INFO: ==12645== Releasing lock...
[2025-01-13 08:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:06:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:06:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237604') end
[2025-01-13 08:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:06:04] Production.INFO: 1
[2025-01-13 08:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:06:04] Production.INFO: ==12653== Releasing lock...
[2025-01-13 08:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:06:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:06:04] Production.INFO: Total Charge 0
[2025-01-13 08:06:04] Production.ERROR: done
[2025-01-13 08:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:06:04] Production.INFO: CreateAllLog End
[2025-01-13 08:06:04] Production.ERROR: done
[2025-01-13 08:06:04] Production.INFO: Account Balance End.
[2025-01-13 08:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:06:04] Production.INFO: ==12649== Releasing lock...
[2025-01-13 08:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:06:05
[end_date_ymd] => 2025-01-13 08:06:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:06:05' and `end` < '2025-01-13 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-13 08:06:11] Production.ERROR: CronJobId end10
[2025-01-13 08:06:11] Production.INFO: ==12647== Releasing lock...
[2025-01-13 08:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:06:13] Production.INFO: call_cost start
[2025-01-13 08:06:13] Production.INFO: call_cost end
[2025-01-13 08:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:06:14] Production.INFO: ==12643== Releasing lock...
[2025-01-13 08:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:06:18] Production.INFO: count ==148
[2025-01-13 08:06:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:06:05 - End Time 2025-01-13 08:06:05
[2025-01-13 08:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237606', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237606', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237606', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237606', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:06:18] Production.INFO: ProcessCDR(1,14237606,1,1,2)
[2025-01-13 08:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237606', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237606', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:06:21] Production.INFO: ==12651== Releasing lock...
[2025-01-13 08:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:06:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 13:07:02] Production.INFO: ==12709== Lock acquired, processing the job...
[2025-01-13 13:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:07:02] Production.INFO: neon service started
[2025-01-13 13:07:02] Production.INFO: neon service started
[2025-01-13 13:07:02] Production.INFO: ==12709== Releasing lock...
[2025-01-13 13:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:07:02] Production.INFO: ==12713== Lock acquired, processing the job...
[2025-01-13 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:07:02] Production.INFO: ==12713== Releasing lock...
[2025-01-13 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:07:02] Production.INFO: ==12711== Lock acquired, processing the job...
[2025-01-13 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:07:03] Production.INFO: ==12711== Releasing lock...
[2025-01-13 08:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:07:03] Production.INFO: ==12716== Lock acquired, processing the job...
[2025-01-13 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:07:03] Production.INFO: ==12718== Lock acquired, processing the job...
[2025-01-13 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:07:03] Production.INFO: ==12720== Lock acquired, processing the job...
[2025-01-13 08:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:07:03] Production.INFO: ==12718== Releasing lock...
[2025-01-13 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:07:04] Production.INFO: ==12722== Lock acquired, processing the job...
[2025-01-13 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:07:04] Production.INFO: ==12726== Lock acquired, processing the job...
[2025-01-13 08:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:07:04] Production.INFO: Account Balance Start.
[2025-01-13 08:07:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:07:04] Production.INFO: 117
[2025-01-13 08:07:04] Production.INFO: ==12724== Lock acquired, processing the job...
[2025-01-13 08:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:07:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:07:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:07:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:07:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:07:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:07:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:07:04] Production.INFO: Total Charge 0
[2025-01-13 08:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:07:04] Production.INFO: CreateAllLog End
[2025-01-13 08:07:04] Production.INFO: count ==21
[2025-01-13 08:07:04] Production.ERROR: done
[2025-01-13 08:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:07:04] Production.INFO: count ==21
[2025-01-13 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237610') start
[2025-01-13 08:07:04] Production.INFO: Account Balance End.
[2025-01-13 08:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:07:04] Production.INFO: ==12722== Releasing lock...
[2025-01-13 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:07:04] Production.ERROR: done
[2025-01-13 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237610') end
[2025-01-13 08:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:07:04] Production.INFO: 1
[2025-01-13 08:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:07:04] Production.INFO: ==12726== Releasing lock...
[2025-01-13 08:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:07:05
[end_date_ymd] => 2025-01-13 08:07:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:07:05' and `end` < '2025-01-13 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-13 08:07:12] Production.ERROR: CronJobId end10
[2025-01-13 08:07:12] Production.INFO: ==12720== Releasing lock...
[2025-01-13 08:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:07:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:07:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:07:14] Production.INFO: call_cost start
[2025-01-13 08:07:14] Production.INFO: call_cost end
[2025-01-13 08:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:07:15] Production.INFO: ==12716== Releasing lock...
[2025-01-13 08:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:07:18] Production.INFO: count ==155
[2025-01-13 08:07:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:07:05 - End Time 2025-01-13 08:07:05
[2025-01-13 08:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237611', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237611', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237611', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237611', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:07:18] Production.INFO: ProcessCDR(1,14237611,1,1,2)
[2025-01-13 08:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237611', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237611', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:07:21] Production.INFO: ==12724== Releasing lock...
[2025-01-13 08:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:07:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 13:08:01] Production.INFO: ==12782== Lock acquired, processing the job...
[2025-01-13 13:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:08:01] Production.INFO: neon service started
[2025-01-13 13:08:01] Production.INFO: neon service started
[2025-01-13 13:08:01] Production.INFO: ==12782== Releasing lock...
[2025-01-13 13:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:08:02] Production.INFO: ==12784== Lock acquired, processing the job...
[2025-01-13 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:08:02] Production.INFO: ==12786== Lock acquired, processing the job...
[2025-01-13 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:08:02] Production.INFO: ==12786== Releasing lock...
[2025-01-13 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:08:02] Production.INFO: ==12784== Releasing lock...
[2025-01-13 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:08:03] Production.INFO: ==12789== Lock acquired, processing the job...
[2025-01-13 08:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:08:03] Production.INFO: ==12795== Lock acquired, processing the job...
[2025-01-13 08:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:08:03] Production.INFO: ==12799== Lock acquired, processing the job...
[2025-01-13 08:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:08:03] Production.INFO: ==12793== Lock acquired, processing the job...
[2025-01-13 08:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:08:03] Production.INFO: ==12791== Lock acquired, processing the job...
[2025-01-13 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:08:03] Production.INFO: Account Balance Start.
[2025-01-13 08:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:08:03] Production.INFO: 117
[2025-01-13 08:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:08:03] Production.INFO: ==12797== Lock acquired, processing the job...
[2025-01-13 08:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:08:03] Production.INFO: count ==21
[2025-01-13 08:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:08:03] Production.INFO: count ==21
[2025-01-13 08:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237614') start
[2025-01-13 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:08:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:08:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237614') end
[2025-01-13 08:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:08:04] Production.INFO: 1
[2025-01-13 08:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:08:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:08:04] Production.INFO: ==12791== Releasing lock...
[2025-01-13 08:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:08:04] Production.INFO: Total Charge 0
[2025-01-13 08:08:04] Production.INFO: ==12799== Releasing lock...
[2025-01-13 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:08:04] Production.INFO: CreateAllLog End
[2025-01-13 08:08:04] Production.ERROR: done
[2025-01-13 08:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:08:04] Production.INFO: Account Balance End.
[2025-01-13 08:08:04] Production.ERROR: done
[2025-01-13 08:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:08:04] Production.INFO: ==12795== Releasing lock...
[2025-01-13 08:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:08:05
[end_date_ymd] => 2025-01-13 08:08:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:08:05' and `end` < '2025-01-13 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-13 08:08:11] Production.ERROR: CronJobId end10
[2025-01-13 08:08:11] Production.INFO: ==12793== Releasing lock...
[2025-01-13 08:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:08:13] Production.INFO: call_cost start
[2025-01-13 08:08:13] Production.INFO: call_cost end
[2025-01-13 08:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:08:14] Production.INFO: ==12789== Releasing lock...
[2025-01-13 08:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:08:17] Production.INFO: count ==156
[2025-01-13 08:08:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:08:05 - End Time 2025-01-13 08:08:05
[2025-01-13 08:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237616', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237616', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237616', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237616', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:08:17] Production.INFO: ProcessCDR(1,14237616,1,1,2)
[2025-01-13 08:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237616', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237616', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:08:21] Production.INFO: ==12797== Releasing lock...
[2025-01-13 08:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:08:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 13:09:02] Production.INFO: ==12851== Lock acquired, processing the job...
[2025-01-13 13:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:09:02] Production.INFO: neon service started
[2025-01-13 13:09:02] Production.INFO: neon service started
[2025-01-13 13:09:02] Production.INFO: ==12851== Releasing lock...
[2025-01-13 13:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:09:02] Production.INFO: ==12855== Lock acquired, processing the job...
[2025-01-13 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:09:02] Production.INFO: ==12855== Releasing lock...
[2025-01-13 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:09:02] Production.INFO: ==12853== Lock acquired, processing the job...
[2025-01-13 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:09:02] Production.INFO: ==12853== Releasing lock...
[2025-01-13 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:09:03] Production.INFO: ==12862== Lock acquired, processing the job...
[2025-01-13 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:09:03] Production.INFO: ==12864== Lock acquired, processing the job...
[2025-01-13 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:09:03] Production.INFO: ==12858== Lock acquired, processing the job...
[2025-01-13 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:09:03] Production.INFO: Account Balance Start.
[2025-01-13 08:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:09:03] Production.INFO: 117
[2025-01-13 08:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:09:03] Production.INFO: ==12860== Lock acquired, processing the job...
[2025-01-13 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:09:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:09:03] Production.INFO: ==12866== Lock acquired, processing the job...
[2025-01-13 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:09:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:09:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:09:03] Production.INFO: Total Charge 0
[2025-01-13 08:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:09:03] Production.INFO: ==12868== Lock acquired, processing the job...
[2025-01-13 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:09:03] Production.INFO: CreateAllLog End
[2025-01-13 08:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:09:04] Production.INFO: count ==21
[2025-01-13 08:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:09:04] Production.INFO: count ==21
[2025-01-13 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237620') start
[2025-01-13 08:09:04] Production.INFO: ==12860== Releasing lock...
[2025-01-13 08:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:09:04] Production.ERROR: done
[2025-01-13 08:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237620') end
[2025-01-13 08:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:09:04] Production.INFO: 1
[2025-01-13 08:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:09:04] Production.INFO: Account Balance End.
[2025-01-13 08:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:09:04] Production.INFO: ==12864== Releasing lock...
[2025-01-13 08:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:09:04] Production.INFO: ==12868== Releasing lock...
[2025-01-13 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:09:04] Production.ERROR: done
[2025-01-13 08:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:09:05
[end_date_ymd] => 2025-01-13 08:09:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:09:05' and `end` < '2025-01-13 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-13 08:09:11] Production.ERROR: CronJobId end10
[2025-01-13 08:09:11] Production.INFO: ==12862== Releasing lock...
[2025-01-13 08:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:09:14] Production.INFO: call_cost start
[2025-01-13 08:09:14] Production.INFO: call_cost end
[2025-01-13 08:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:09:15] Production.INFO: ==12858== Releasing lock...
[2025-01-13 08:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:09:17] Production.INFO: count ==158
[2025-01-13 08:09:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:09:05 - End Time 2025-01-13 08:09:05
[2025-01-13 08:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237621', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237621', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237621', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237621', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:09:17] Production.INFO: ProcessCDR(1,14237621,1,1,2)
[2025-01-13 08:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237621', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237621', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:09:22] Production.INFO: ==12866== Releasing lock...
[2025-01-13 08:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:09:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-13 13:10:01] Production.INFO: ==12922== Lock acquired, processing the job...
[2025-01-13 13:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:10:01] Production.INFO: neon service started
[2025-01-13 13:10:01] Production.INFO: neon service started
[2025-01-13 13:10:01] Production.INFO: ==12922== Releasing lock...
[2025-01-13 13:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:10:01] Production.INFO: ==12926== Lock acquired, processing the job...
[2025-01-13 13:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:10:01] Production.INFO: ==12926== Releasing lock...
[2025-01-13 13:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:10:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:10:02] Production.INFO: ==12924== Lock acquired, processing the job...
[2025-01-13 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:10:02] Production.INFO: ==12924== Releasing lock...
[2025-01-13 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:10:03] Production.INFO: ==12932== Lock acquired, processing the job...
[2025-01-13 08:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:10:03] Production.INFO: ==12928== Lock acquired, processing the job...
[2025-01-13 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 08:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 08:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 08:10:03] Production.ERROR: CronJob PID - 12932
[2025-01-13 08:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 08:10:03] Production.ERROR: CronJob ID - 7
[2025-01-13 08:10:03] Production.ERROR: CronJob Last Run Time 2025-01-13 08:10:00
[2025-01-13 08:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 08:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 08:10:03] Production.INFO: ==12939== Lock acquired, processing the job...
[2025-01-13 08:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:10:03] Production.INFO: ==12930== Lock acquired, processing the job...
[2025-01-13 08:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 08:10:03] Production.INFO: ==12928== Releasing lock...
[2025-01-13 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 08:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 08:10:03] Production.INFO: ==12934== Lock acquired, processing the job...
[2025-01-13 08:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:10:03] Production.INFO: ==12937== Lock acquired, processing the job...
[2025-01-13 08:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:10:03] Production.INFO: ==12943== Lock acquired, processing the job...
[2025-01-13 08:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:10:03] Production.INFO: ==12941== Lock acquired, processing the job...
[2025-01-13 08:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 08:10:03] Production.INFO: Account Balance Start.
[2025-01-13 08:10:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:10:03] Production.INFO: 117
[2025-01-13 08:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:10:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:10:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:10:03] Production.INFO: ==12932== Releasing lock...
[2025-01-13 08:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:10:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:10:03] Production.INFO: count ==21
[2025-01-13 08:10:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:10:03] Production.INFO: count ==21
[2025-01-13 08:10:04] Production.ERROR: done
[2025-01-13 08:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237625') start
[2025-01-13 08:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:10:04] Production.ERROR: done
[2025-01-13 08:10:04] Production.ERROR: done
[2025-01-13 08:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 08:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237626', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 08:10:04] Production.INFO: Total Charge 0
[2025-01-13 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237625') end
[2025-01-13 08:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:10:04] Production.INFO: 1
[2025-01-13 08:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:10:04] Production.INFO: CreateAllLog End
[2025-01-13 08:10:04] Production.INFO: ==12943== Releasing lock...
[2025-01-13 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:10:04] Production.INFO: Account Balance End.
[2025-01-13 08:10:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:10:04] Production.INFO: ==12937== Releasing lock...
[2025-01-13 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:10:05
[end_date_ymd] => 2025-01-13 08:10:05
[RateCDR] => 1
)
[2025-01-13 08:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:10:05' and `end` < '2025-01-13 08:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237626', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 08:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 08:10:08] Production.INFO: ProcessCDR(1,14237626,1,1,2)
[2025-01-13 08:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237626,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237626,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:10:08] Production.INFO: ==12941== Releasing lock...
[2025-01-13 08:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 08:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 08:10:12] Production.ERROR: CronJobId end10
[2025-01-13 08:10:12] Production.INFO: ==12934== Releasing lock...
[2025-01-13 08:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:10:14] Production.INFO: call_cost start
[2025-01-13 08:10:14] Production.INFO: call_cost end
[2025-01-13 08:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:10:15] Production.INFO: ==12930== Releasing lock...
[2025-01-13 08:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:10:18] Production.INFO: count ==185
[2025-01-13 08:10:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:10:05 - End Time 2025-01-13 08:10:05
[2025-01-13 08:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237627', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237627', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237627', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237627', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:10:18] Production.INFO: ProcessCDR(1,14237627,1,1,2)
[2025-01-13 08:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237627', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237627', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:10:21] Production.INFO: ==12939== Releasing lock...
[2025-01-13 08:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:10:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-13 13:11:01] Production.INFO: ==12999== Lock acquired, processing the job...
[2025-01-13 13:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:11:01] Production.INFO: neon service started
[2025-01-13 13:11:01] Production.INFO: neon service started
[2025-01-13 13:11:01] Production.INFO: ==12999== Releasing lock...
[2025-01-13 13:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:11:02] Production.INFO: ==13001== Lock acquired, processing the job...
[2025-01-13 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:11:02] Production.INFO: ==13003== Lock acquired, processing the job...
[2025-01-13 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:11:02] Production.INFO: ==13001== Releasing lock...
[2025-01-13 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:11:02] Production.INFO: ==13003== Releasing lock...
[2025-01-13 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:11:03] Production.INFO: ==13005== Lock acquired, processing the job...
[2025-01-13 08:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:11:03] Production.INFO: ==13009== Lock acquired, processing the job...
[2025-01-13 08:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:11:03] Production.INFO: ==13016== Lock acquired, processing the job...
[2025-01-13 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:11:03] Production.INFO: ==13007== Lock acquired, processing the job...
[2025-01-13 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:11:03] Production.INFO: ==13011== Lock acquired, processing the job...
[2025-01-13 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 08:11:03] Production.INFO: Account Balance Start.
[2025-01-13 08:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:11:03] Production.INFO: ==13014== Lock acquired, processing the job...
[2025-01-13 08:11:03] Production.INFO: 117
[2025-01-13 08:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:11:03] Production.INFO: count ==21
[2025-01-13 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-13 08:11:03] Production.INFO: count ==21
[2025-01-13 08:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237629') start
[2025-01-13 08:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:11:03] Production.INFO: ==13007== Releasing lock...
[2025-01-13 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237629') end
[2025-01-13 08:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:11:04] Production.INFO: 1
[2025-01-13 08:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:11:04] Production.INFO: ==13016== Releasing lock...
[2025-01-13 08:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:11:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:11:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:11:04] Production.ERROR: done
[2025-01-13 08:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:11:04] Production.INFO: Total Charge 0
[2025-01-13 08:11:04] Production.INFO: CreateAllLog End
[2025-01-13 08:11:04] Production.ERROR: done
[2025-01-13 08:11:04] Production.INFO: Account Balance End.
[2025-01-13 08:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:11:04] Production.INFO: ==13011== Releasing lock...
[2025-01-13 08:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:11:05
[end_date_ymd] => 2025-01-13 08:11:05
[RateCDR] => 1
)
[2025-01-13 08:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:11:05' and `end` < '2025-01-13 08:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08: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-13 08:11:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:11:10] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:11:10] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:11:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:11:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:11:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:11:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:11:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:11:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:11:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:11:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:11:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:11:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:11:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:11:10] Production.INFO: call_cost start
[2025-01-13 08:11:10] Production.INFO: call_cost end
[2025-01-13 08:11:11] Production.ERROR: CronJobId end10
[2025-01-13 08:11:11] Production.INFO: ==13009== Releasing lock...
[2025-01-13 08:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:11:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:11:11] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:11:11] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:11:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:11:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:11:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:11:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:11:11] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:11:11] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:11:11] Production.INFO: ==13005== Releasing lock...
[2025-01-13 08:11:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:11:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:11:17] Production.INFO: count ==234
[2025-01-13 08:11:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:11:05 - End Time 2025-01-13 08:11:05
[2025-01-13 08:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237632', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237632', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237632', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237632', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:11:17] Production.INFO: ProcessCDR(1,14237632,1,1,2)
[2025-01-13 08:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237632', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237632', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:11:21] Production.INFO: ==13014== Releasing lock...
[2025-01-13 08:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:11:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-13 13:12:02] Production.INFO: ==13069== Lock acquired, processing the job...
[2025-01-13 13:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:12:02] Production.INFO: neon service started
[2025-01-13 13:12:02] Production.INFO: neon service started
[2025-01-13 13:12:02] Production.INFO: ==13069== Releasing lock...
[2025-01-13 13:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:12:02] Production.INFO: ==13073== Lock acquired, processing the job...
[2025-01-13 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:12:02] Production.INFO: ==13073== Releasing lock...
[2025-01-13 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:12:02] Production.INFO: ==13071== Lock acquired, processing the job...
[2025-01-13 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:12:03] Production.INFO: ==13071== Releasing lock...
[2025-01-13 08:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:12:04] Production.INFO: ==13081== Lock acquired, processing the job...
[2025-01-13 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:12:04] Production.INFO: ==13083== Lock acquired, processing the job...
[2025-01-13 08:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:12:04] Production.INFO: Account Balance Start.
[2025-01-13 08:12:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:12:04] Production.INFO: 117
[2025-01-13 08:12:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:12:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:12:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:12:04] Production.INFO: ==13077== Lock acquired, processing the job...
[2025-01-13 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:12:04] Production.INFO: ==13075== Lock acquired, processing the job...
[2025-01-13 08:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:12:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:12:04] Production.INFO: ==13079== Lock acquired, processing the job...
[2025-01-13 08:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:12:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:12:04] Production.INFO: ==13085== Lock acquired, processing the job...
[2025-01-13 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:12:04] Production.INFO: Total Charge 0
[2025-01-13 08:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:12:04] Production.INFO: CreateAllLog End
[2025-01-13 08:12:04] Production.ERROR: done
[2025-01-13 08:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 08:12:04] Production.INFO: count ==21
[2025-01-13 08:12:04] Production.INFO: Account Balance End.
[2025-01-13 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-13 08:12:04] Production.INFO: count ==21
[2025-01-13 08:12:04] Production.ERROR: done
[2025-01-13 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237636') start
[2025-01-13 08:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:12:04] Production.INFO: ==13081== Releasing lock...
[2025-01-13 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:12:04] Production.INFO: ==13077== Releasing lock...
[2025-01-13 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237636') end
[2025-01-13 08:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:12:04] Production.INFO: 1
[2025-01-13 08:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:12:05] Production.INFO: ==13085== Releasing lock...
[2025-01-13 08:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:12:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:12:05
[end_date_ymd] => 2025-01-13 08:12:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:12:05' and `end` < '2025-01-13 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-13 08:12:11] Production.ERROR: CronJobId end10
[2025-01-13 08:12:11] Production.INFO: ==13079== Releasing lock...
[2025-01-13 08:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:12:14] Production.INFO: call_cost start
[2025-01-13 08:12:14] Production.INFO: call_cost end
[2025-01-13 08:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:12:15] Production.INFO: ==13075== Releasing lock...
[2025-01-13 08:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:12:18] Production.INFO: count ==253
[2025-01-13 08:12:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:12:05 - End Time 2025-01-13 08:12:05
[2025-01-13 08:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237637', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237637', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237637', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237637', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:12:18] Production.INFO: ProcessCDR(1,14237637,1,1,2)
[2025-01-13 08:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237637', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237637', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:12:21] Production.INFO: ==13083== Releasing lock...
[2025-01-13 08:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:12:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-13 13:13:01] Production.INFO: ==13148== Lock acquired, processing the job...
[2025-01-13 13:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:13:01] Production.INFO: neon service started
[2025-01-13 13:13:01] Production.INFO: neon service started
[2025-01-13 13:13:01] Production.INFO: ==13148== Releasing lock...
[2025-01-13 13:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:13:02] Production.INFO: ==13150== Lock acquired, processing the job...
[2025-01-13 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:13:02] Production.INFO: ==13150== Releasing lock...
[2025-01-13 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:13:02] Production.INFO: ==13152== Lock acquired, processing the job...
[2025-01-13 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:13:02] Production.INFO: ==13152== Releasing lock...
[2025-01-13 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:13:03] Production.INFO: ==13155== Lock acquired, processing the job...
[2025-01-13 08:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:13:03] Production.INFO: ==13157== Lock acquired, processing the job...
[2025-01-13 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:13:03] Production.INFO: ==13165== Lock acquired, processing the job...
[2025-01-13 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:13:03] Production.INFO: ==13159== Lock acquired, processing the job...
[2025-01-13 08:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 08:13:03] Production.INFO: ==13161== Lock acquired, processing the job...
[2025-01-13 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:13:03] Production.INFO: count ==21
[2025-01-13 08:13:03] Production.INFO: ==13163== Lock acquired, processing the job...
[2025-01-13 08:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 08:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:13:03] Production.INFO: count ==21
[2025-01-13 08:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237640') start
[2025-01-13 08:13:03] Production.INFO: Account Balance Start.
[2025-01-13 08:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:13:03] Production.INFO: ==13157== Releasing lock...
[2025-01-13 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:13:03] Production.INFO: 117
[2025-01-13 08:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237640') end
[2025-01-13 08:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:13:03] Production.INFO: 1
[2025-01-13 08:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:13:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:13:03] Production.INFO: ==13165== Releasing lock...
[2025-01-13 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:13:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:13:04] Production.ERROR: done
[2025-01-13 08:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:13:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:13:04] Production.ERROR: done
[2025-01-13 08:13:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:13:04] Production.INFO: Total Charge 0
[2025-01-13 08:13:04] Production.INFO: CreateAllLog End
[2025-01-13 08:13:04] Production.INFO: Account Balance End.
[2025-01-13 08:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:13:04] Production.INFO: ==13161== Releasing lock...
[2025-01-13 08:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:13:05
[end_date_ymd] => 2025-01-13 08:13:05
[RateCDR] => 1
)
[2025-01-13 08:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:13:05' and `end` < '2025-01-13 08:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:13:11] Production.ERROR: CronJobId end10
[2025-01-13 08:13:11] Production.INFO: ==13159== Releasing lock...
[2025-01-13 08:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:13:13] Production.INFO: call_cost start
[2025-01-13 08:13:13] Production.INFO: call_cost end
[2025-01-13 08:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:13:14] Production.INFO: ==13155== Releasing lock...
[2025-01-13 08:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:13:17] Production.INFO: count ==260
[2025-01-13 08:13:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:13:05 - End Time 2025-01-13 08:13:05
[2025-01-13 08:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237642', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237642', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237642', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237642', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:13:17] Production.INFO: ProcessCDR(1,14237642,1,1,2)
[2025-01-13 08:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237642', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237642', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:13:21] Production.INFO: ==13163== Releasing lock...
[2025-01-13 08:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:13:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-13 13:14:02] Production.INFO: ==13220== Lock acquired, processing the job...
[2025-01-13 13:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:14:02] Production.INFO: neon service started
[2025-01-13 13:14:02] Production.INFO: neon service started
[2025-01-13 13:14:02] Production.INFO: ==13220== Releasing lock...
[2025-01-13 13:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:14:02] Production.INFO: ==13224== Lock acquired, processing the job...
[2025-01-13 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:14:02] Production.INFO: ==13224== Releasing lock...
[2025-01-13 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:14:02] Production.INFO: ==13222== Lock acquired, processing the job...
[2025-01-13 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:14:03] Production.INFO: ==13222== Releasing lock...
[2025-01-13 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:14:04] Production.INFO: ==13233== Lock acquired, processing the job...
[2025-01-13 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:14:04] Production.INFO: ==13237== Lock acquired, processing the job...
[2025-01-13 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:14:04] Production.INFO: ==13227== Lock acquired, processing the job...
[2025-01-13 08:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:14:04] Production.INFO: count ==21
[2025-01-13 08:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:14:04] Production.INFO: ==13229== Lock acquired, processing the job...
[2025-01-13 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:14:04] Production.INFO: count ==21
[2025-01-13 08:14:04] Production.INFO: Account Balance Start.
[2025-01-13 08:14:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:14:04] Production.INFO: 117
[2025-01-13 08:14:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237643') start
[2025-01-13 08:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:14:04] Production.INFO: ==13231== Lock acquired, processing the job...
[2025-01-13 08:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:14:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:14:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:14:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:14:04] Production.INFO: ==13235== Lock acquired, processing the job...
[2025-01-13 08:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:14:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237643') end
[2025-01-13 08:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:14:04] Production.INFO: 1
[2025-01-13 08:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:14:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:14:04] Production.INFO: Total Charge 0
[2025-01-13 08:14:04] Production.INFO: ==13237== Releasing lock...
[2025-01-13 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:14:04] Production.INFO: CreateAllLog End
[2025-01-13 08:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:14:04] Production.INFO: ==13229== Releasing lock...
[2025-01-13 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:14:05] Production.ERROR: done
[2025-01-13 08:14:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:14:05] Production.INFO: Account Balance End.
[2025-01-13 08:14:05] Production.ERROR: CronJobId end 12
[2025-01-13 08:14:05] Production.INFO: ==13233== Releasing lock...
[2025-01-13 08:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:14:05] Production.ERROR: done
[2025-01-13 08:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:14:06
[end_date_ymd] => 2025-01-13 08:14:06
[RateCDR] => 1
)
[2025-01-13 08:14:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:14:06' and `end` < '2025-01-13 08:14:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:14:12] Production.ERROR: CronJobId end10
[2025-01-13 08:14:12] Production.INFO: ==13231== Releasing lock...
[2025-01-13 08:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:14:14] Production.INFO: call_cost start
[2025-01-13 08:14:14] Production.INFO: call_cost end
[2025-01-13 08:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:14:14] Production.INFO: ==13227== Releasing lock...
[2025-01-13 08:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:14:18] Production.INFO: count ==298
[2025-01-13 08:14:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:14:06 - End Time 2025-01-13 08:14:06
[2025-01-13 08:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237647', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237647', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237647', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237647', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:14:18] Production.INFO: ProcessCDR(1,14237647,1,1,2)
[2025-01-13 08:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237647', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237647', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:14:21] Production.INFO: ==13235== Releasing lock...
[2025-01-13 08:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:14:21] Production.INFO: 31 MB #Memory Used#
[2025-01-13 13:15:01] Production.INFO: ==13329== Lock acquired, processing the job...
[2025-01-13 13:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:15:01] Production.INFO: neon service started
[2025-01-13 13:15:01] Production.INFO: neon service started
[2025-01-13 13:15:01] Production.INFO: ==13329== Releasing lock...
[2025-01-13 13:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:15:02] Production.INFO: ==13333== Lock acquired, processing the job...
[2025-01-13 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:15:02] Production.INFO: ==13333== Releasing lock...
[2025-01-13 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:15:02] Production.INFO: ==13331== Lock acquired, processing the job...
[2025-01-13 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:15:02] Production.INFO: ==13331== Releasing lock...
[2025-01-13 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:15:03] Production.INFO: ==13336== Lock acquired, processing the job...
[2025-01-13 08:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:15:03] Production.INFO: ==13338== Lock acquired, processing the job...
[2025-01-13 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:15:03] Production.INFO: ==13340== Lock acquired, processing the job...
[2025-01-13 08:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:15:03] Production.INFO: ==13338== Releasing lock...
[2025-01-13 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:15:03] Production.INFO: ==13344== Lock acquired, processing the job...
[2025-01-13 08:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:15:03] Production.INFO: ==13342== Lock acquired, processing the job...
[2025-01-13 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:15:03] Production.INFO: ==13346== Lock acquired, processing the job...
[2025-01-13 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:15:03] Production.INFO: Account Balance Start.
[2025-01-13 08:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:15:03] Production.INFO: 117
[2025-01-13 08:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:15:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:15:04] Production.INFO: count ==21
[2025-01-13 08:15:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 08: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-13 08:15:04] Production.INFO: count ==21
[2025-01-13 08:15:04] Production.ERROR: done
[2025-01-13 08:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:15:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237651') start
[2025-01-13 08:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:15:04] Production.ERROR: done
[2025-01-13 08:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237651') end
[2025-01-13 08:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:15:04] Production.INFO: 1
[2025-01-13 08:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:15:04] Production.INFO: Total Charge 0
[2025-01-13 08:15:04] Production.INFO: ==13346== Releasing lock...
[2025-01-13 08:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:15:04] Production.INFO: CreateAllLog End
[2025-01-13 08:15:04] Production.INFO: Account Balance End.
[2025-01-13 08:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:15:04] Production.INFO: ==13342== Releasing lock...
[2025-01-13 08:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:15:05
[end_date_ymd] => 2025-01-13 08:15:05
[RateCDR] => 1
)
[2025-01-13 08:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:15:05' and `end` < '2025-01-13 08:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:15:11] Production.ERROR: CronJobId end10
[2025-01-13 08:15:11] Production.INFO: ==13340== Releasing lock...
[2025-01-13 08:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:15:13] Production.INFO: call_cost start
[2025-01-13 08:15:13] Production.INFO: call_cost end
[2025-01-13 08:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:15:14] Production.INFO: ==13336== Releasing lock...
[2025-01-13 08:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:15:17] Production.INFO: count ==304
[2025-01-13 08:15:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:15:05 - End Time 2025-01-13 08:15:05
[2025-01-13 08:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237652', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237652', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237652', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237652', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:15:17] Production.INFO: ProcessCDR(1,14237652,1,1,2)
[2025-01-13 08:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237652', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237652', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:15:21] Production.INFO: ==13344== Releasing lock...
[2025-01-13 08:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:15:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-13 13:16:02] Production.INFO: ==13403== Lock acquired, processing the job...
[2025-01-13 13:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:16:02] Production.INFO: neon service started
[2025-01-13 13:16:02] Production.INFO: neon service started
[2025-01-13 13:16:02] Production.INFO: ==13403== Releasing lock...
[2025-01-13 13:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:16:02] Production.INFO: ==13407== Lock acquired, processing the job...
[2025-01-13 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:16:02] Production.INFO: ==13407== Releasing lock...
[2025-01-13 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:16:02] Production.INFO: ==13405== Lock acquired, processing the job...
[2025-01-13 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:16:02] Production.INFO: ==13405== Releasing lock...
[2025-01-13 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:16:03] Production.INFO: ==13412== Lock acquired, processing the job...
[2025-01-13 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:16:03] Production.INFO: ==13416== Lock acquired, processing the job...
[2025-01-13 08:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:16:03] Production.INFO: ==13410== Lock acquired, processing the job...
[2025-01-13 08:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:16:03] Production.INFO: ==13412== Releasing lock...
[2025-01-13 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:16:03] Production.INFO: Account Balance Start.
[2025-01-13 08:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:16:03] Production.INFO: 117
[2025-01-13 08:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:16:03] Production.INFO: ==13414== Lock acquired, processing the job...
[2025-01-13 08:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:16:03] Production.INFO: ==13418== Lock acquired, processing the job...
[2025-01-13 08:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:16:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:16:04] Production.INFO: ==13420== Lock acquired, processing the job...
[2025-01-13 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:16:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:16:04] Production.INFO: count ==21
[2025-01-13 08:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:16:04] Production.INFO: count ==21
[2025-01-13 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237656') start
[2025-01-13 08:16:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:16:04] Production.ERROR: done
[2025-01-13 08:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237656') end
[2025-01-13 08:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:16:04] Production.INFO: 1
[2025-01-13 08:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:16:04] Production.INFO: ==13420== Releasing lock...
[2025-01-13 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:16:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:16:04] Production.ERROR: done
[2025-01-13 08:16:04] Production.INFO: Total Charge 0
[2025-01-13 08:16:04] Production.INFO: CreateAllLog End
[2025-01-13 08:16:04] Production.INFO: Account Balance End.
[2025-01-13 08:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:16:04] Production.INFO: ==13416== Releasing lock...
[2025-01-13 08:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:16:05
[end_date_ymd] => 2025-01-13 08:16:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:16:05' and `end` < '2025-01-13 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-13 08:16:11] Production.ERROR: CronJobId end10
[2025-01-13 08:16:11] Production.INFO: ==13414== Releasing lock...
[2025-01-13 08:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:16:13] Production.INFO: call_cost start
[2025-01-13 08:16:13] Production.INFO: call_cost end
[2025-01-13 08:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:16:14] Production.INFO: ==13410== Releasing lock...
[2025-01-13 08:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:16:17] Production.INFO: count ==317
[2025-01-13 08:16:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:16:05 - End Time 2025-01-13 08:16:05
[2025-01-13 08:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237657', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237657', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237657', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237657', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:16:18] Production.INFO: ProcessCDR(1,14237657,1,1,2)
[2025-01-13 08:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237657', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237657', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:16:22] Production.INFO: ==13418== Releasing lock...
[2025-01-13 08:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:16:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-13 13:17:01] Production.INFO: ==13476== Lock acquired, processing the job...
[2025-01-13 13:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:17:01] Production.INFO: neon service started
[2025-01-13 13:17:01] Production.INFO: neon service started
[2025-01-13 13:17:01] Production.INFO: ==13476== Releasing lock...
[2025-01-13 13:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:17:01] Production.INFO: ==13478== Lock acquired, processing the job...
[2025-01-13 08:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:17:02] Production.INFO: ==13478== Releasing lock...
[2025-01-13 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:17:02] Production.INFO: ==13480== Lock acquired, processing the job...
[2025-01-13 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:17:02] Production.INFO: ==13480== Releasing lock...
[2025-01-13 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:17:02] Production.INFO: ==13483== Lock acquired, processing the job...
[2025-01-13 08:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:17:02] Production.INFO: ==13491== Lock acquired, processing the job...
[2025-01-13 08:17:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:17:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:17:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:17:02] Production.INFO: ==13493== Lock acquired, processing the job...
[2025-01-13 08:17:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:17:03] Production.INFO: ==13485== Lock acquired, processing the job...
[2025-01-13 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:17:03] Production.INFO: count ==21
[2025-01-13 08:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:17:03] Production.INFO: ==13489== Lock acquired, processing the job...
[2025-01-13 08:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:17:03] Production.INFO: count ==21
[2025-01-13 08:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237659') start
[2025-01-13 08:17:03] Production.ERROR: done
[2025-01-13 08:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:17:03] Production.INFO: ==13487== Lock acquired, processing the job...
[2025-01-13 08:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237659') end
[2025-01-13 08:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:17:03] Production.INFO: 1
[2025-01-13 08:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:17:03] Production.INFO: ==13493== Releasing lock...
[2025-01-13 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:17:03] Production.ERROR: done
[2025-01-13 08:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:17:03] Production.INFO: Account Balance Start.
[2025-01-13 08:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:17:03] Production.INFO: 117
[2025-01-13 08:17:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:17:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:17:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:17:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:17:03] Production.INFO: ==13485== Releasing lock...
[2025-01-13 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:17:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:17:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:17:03] Production.INFO: Total Charge 0
[2025-01-13 08:17:03] Production.INFO: CreateAllLog End
[2025-01-13 08:17:03] Production.INFO: Account Balance End.
[2025-01-13 08:17:03] Production.ERROR: CronJobId end 12
[2025-01-13 08:17:03] Production.INFO: ==13489== Releasing lock...
[2025-01-13 08:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:17:04
[end_date_ymd] => 2025-01-13 08:17:04
[RateCDR] => 1
)
[2025-01-13 08: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-13 05:17:04' and `end` < '2025-01-13 08: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-13 08:17:10] Production.ERROR: CronJobId end10
[2025-01-13 08:17:10] Production.INFO: ==13487== Releasing lock...
[2025-01-13 08:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:17:12] Production.INFO: call_cost start
[2025-01-13 08:17:12] Production.INFO: call_cost end
[2025-01-13 08:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:17:13] Production.INFO: ==13483== Releasing lock...
[2025-01-13 08:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:17:16] Production.INFO: count ==321
[2025-01-13 08:17:16] Production.ERROR: pbx CDR StartTime 2025-01-13 05:17:04 - End Time 2025-01-13 08:17:04
[2025-01-13 08:17:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237662', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237662', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237662', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237662', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:17:16] Production.INFO: ProcessCDR(1,14237662,1,1,2)
[2025-01-13 08:17:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:17:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:17:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:17:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:17:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237662', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:17:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237662', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:17:19] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:17:19] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:17:19] Production.INFO: ==13491== Releasing lock...
[2025-01-13 08:17:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:17:19] Production.INFO: 31.5 MB #Memory Used#
[2025-01-13 13:18:01] Production.INFO: ==13557== Lock acquired, processing the job...
[2025-01-13 13:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:18:01] Production.INFO: neon service started
[2025-01-13 13:18:01] Production.INFO: neon service started
[2025-01-13 13:18:01] Production.INFO: ==13557== Releasing lock...
[2025-01-13 13:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:18:02] Production.INFO: ==13559== Lock acquired, processing the job...
[2025-01-13 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:18:02] Production.INFO: ==13559== Releasing lock...
[2025-01-13 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:18:02] Production.INFO: ==13561== Lock acquired, processing the job...
[2025-01-13 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:18:02] Production.INFO: ==13561== Releasing lock...
[2025-01-13 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:18:03] Production.INFO: ==13568== Lock acquired, processing the job...
[2025-01-13 08:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:18:03] Production.INFO: ==13564== Lock acquired, processing the job...
[2025-01-13 08:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:18:03] Production.INFO: ==13574== Lock acquired, processing the job...
[2025-01-13 08:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:18:03] Production.INFO: ==13566== Lock acquired, processing the job...
[2025-01-13 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:18:03] Production.INFO: ==13570== Lock acquired, processing the job...
[2025-01-13 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:18:03] Production.INFO: ==13572== Lock acquired, processing the job...
[2025-01-13 08:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:18:03] Production.INFO: count ==21
[2025-01-13 08:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:18:03] Production.INFO: count ==21
[2025-01-13 08:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:18:03] Production.INFO: Account Balance Start.
[2025-01-13 08:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237663') start
[2025-01-13 08:18:03] Production.INFO: 117
[2025-01-13 08:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:18:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:18:04] Production.INFO: ==13566== Releasing lock...
[2025-01-13 08:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:18:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237663') end
[2025-01-13 08:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:18:04] Production.INFO: 1
[2025-01-13 08:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:18:04] Production.INFO: ==13574== Releasing lock...
[2025-01-13 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:18:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:18:04] Production.ERROR: done
[2025-01-13 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:18:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:18:04] Production.INFO: Total Charge 0
[2025-01-13 08:18:04] Production.INFO: CreateAllLog End
[2025-01-13 08:18:04] Production.ERROR: done
[2025-01-13 08:18:04] Production.INFO: Account Balance End.
[2025-01-13 08:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:18:04] Production.INFO: ==13570== Releasing lock...
[2025-01-13 08:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:18:05
[end_date_ymd] => 2025-01-13 08:18:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:18:05' and `end` < '2025-01-13 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-13 08:18:11] Production.ERROR: CronJobId end10
[2025-01-13 08:18:11] Production.INFO: ==13568== Releasing lock...
[2025-01-13 08:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:18:13] Production.INFO: call_cost start
[2025-01-13 08:18:13] Production.INFO: call_cost end
[2025-01-13 08:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:18:14] Production.INFO: ==13564== Releasing lock...
[2025-01-13 08:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:18:18] Production.INFO: count ==328
[2025-01-13 08:18:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:18:05 - End Time 2025-01-13 08:18:05
[2025-01-13 08:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237667', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237667', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237667', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237667', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:18:18] Production.INFO: ProcessCDR(1,14237667,1,1,2)
[2025-01-13 08:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237667', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237667', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:18:23] Production.INFO: ==13572== Releasing lock...
[2025-01-13 08:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:18:23] Production.INFO: 31 MB #Memory Used#
[2025-01-13 13:19:02] Production.INFO: ==13631== Lock acquired, processing the job...
[2025-01-13 13:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:19:02] Production.INFO: neon service started
[2025-01-13 13:19:02] Production.INFO: neon service started
[2025-01-13 13:19:02] Production.INFO: ==13631== Releasing lock...
[2025-01-13 13:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:19:02] Production.INFO: ==13635== Lock acquired, processing the job...
[2025-01-13 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:19:02] Production.INFO: ==13635== Releasing lock...
[2025-01-13 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:19:02] Production.INFO: ==13633== Lock acquired, processing the job...
[2025-01-13 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:19:03] Production.INFO: ==13633== Releasing lock...
[2025-01-13 08:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:19:04] Production.INFO: ==13646== Lock acquired, processing the job...
[2025-01-13 08:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:19:04] Production.INFO: ==13638== Lock acquired, processing the job...
[2025-01-13 08:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:19:04] Production.INFO: ==13648== Lock acquired, processing the job...
[2025-01-13 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:19:04] Production.INFO: ==13640== Lock acquired, processing the job...
[2025-01-13 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:19:04] Production.INFO: ==13644== Lock acquired, processing the job...
[2025-01-13 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:19:04] Production.INFO: ==13642== Lock acquired, processing the job...
[2025-01-13 08:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:19:04] Production.INFO: Account Balance Start.
[2025-01-13 08:19:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:19:04] Production.INFO: 117
[2025-01-13 08:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 08:19:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:19:04] Production.INFO: count ==21
[2025-01-13 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-13 08:19:04] Production.INFO: count ==21
[2025-01-13 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237670') start
[2025-01-13 08:19:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237670') end
[2025-01-13 08:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:19:04] Production.INFO: 1
[2025-01-13 08:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:19:04] Production.ERROR: done
[2025-01-13 08:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:19:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:19:04] Production.INFO: ==13648== Releasing lock...
[2025-01-13 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:19:04] Production.INFO: ==13640== Releasing lock...
[2025-01-13 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:19:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:19:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:19:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:19:04] Production.ERROR: done
[2025-01-13 08:19:04] Production.INFO: Total Charge 0
[2025-01-13 08:19:04] Production.INFO: CreateAllLog End
[2025-01-13 08:19:05] Production.INFO: Account Balance End.
[2025-01-13 08:19:05] Production.ERROR: CronJobId end 12
[2025-01-13 08:19:05] Production.INFO: ==13644== Releasing lock...
[2025-01-13 08:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:19:05
[end_date_ymd] => 2025-01-13 08:19:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:19:05' and `end` < '2025-01-13 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-13 08:19:12] Production.ERROR: CronJobId end10
[2025-01-13 08:19:12] Production.INFO: ==13642== Releasing lock...
[2025-01-13 08:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:19:14] Production.INFO: call_cost start
[2025-01-13 08:19:14] Production.INFO: call_cost end
[2025-01-13 08:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:19:14] Production.INFO: ==13638== Releasing lock...
[2025-01-13 08:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:19:19] Production.INFO: count ==330
[2025-01-13 08:19:19] Production.ERROR: pbx CDR StartTime 2025-01-13 05:19:05 - End Time 2025-01-13 08:19:05
[2025-01-13 08:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237672', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237672', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237672', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237672', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:19:19] Production.INFO: ProcessCDR(1,14237672,1,1,2)
[2025-01-13 08:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237672', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237672', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:19:23] Production.INFO: ==13646== Releasing lock...
[2025-01-13 08:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:19:23] Production.INFO: 31 MB #Memory Used#
[2025-01-13 13:20:01] Production.INFO: ==13701== Lock acquired, processing the job...
[2025-01-13 13:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:20:01] Production.INFO: neon service started
[2025-01-13 13:20:01] Production.INFO: neon service started
[2025-01-13 13:20:01] Production.INFO: ==13701== Releasing lock...
[2025-01-13 13:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:20:02] Production.INFO: ==13703== Lock acquired, processing the job...
[2025-01-13 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:20:02] Production.INFO: ==13703== Releasing lock...
[2025-01-13 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:20:02] Production.INFO: ==13705== Lock acquired, processing the job...
[2025-01-13 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:20:02] Production.INFO: ==13705== Releasing lock...
[2025-01-13 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:20:03] Production.INFO: ==13707== Lock acquired, processing the job...
[2025-01-13 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 08:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 08:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 08:20:03] Production.INFO: ==13707== Releasing lock...
[2025-01-13 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 08:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 08:20:03] Production.INFO: ==13711== Lock acquired, processing the job...
[2025-01-13 08:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:20:03] Production.INFO: ==13709== Lock acquired, processing the job...
[2025-01-13 08:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:20:03] Production.INFO: ==13715== Lock acquired, processing the job...
[2025-01-13 08:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:20:03] Production.INFO: ==13713== Lock acquired, processing the job...
[2025-01-13 08:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:20:03] Production.INFO: Account Balance Start.
[2025-01-13 08:20:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:20:03] Production.INFO: 117
[2025-01-13 08:20:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:20:03] Production.INFO: ==13719== Lock acquired, processing the job...
[2025-01-13 08:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 08:20:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:20:04] Production.INFO: ==13717== Lock acquired, processing the job...
[2025-01-13 08:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:20:04] Production.INFO: ==13721== Lock acquired, processing the job...
[2025-01-13 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:20:04] Production.INFO: ==13711== Releasing lock...
[2025-01-13 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:20:04] Production.INFO: Total Charge 0
[2025-01-13 08:20:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 08:20:04] Production.INFO: count ==21
[2025-01-13 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-13 08:20:04] Production.ERROR: done
[2025-01-13 08:20:04] Production.INFO: count ==21
[2025-01-13 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237676') start
[2025-01-13 08:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 08:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237677', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 08:20:04] Production.ERROR: done
[2025-01-13 08:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:20:04] Production.INFO: Account Balance End.
[2025-01-13 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237676') end
[2025-01-13 08:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:20:04] Production.INFO: 1
[2025-01-13 08:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:20:04] Production.ERROR: done
[2025-01-13 08:20:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:20:04] Production.INFO: ==13715== Releasing lock...
[2025-01-13 08:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:20:04] Production.INFO: ==13721== Releasing lock...
[2025-01-13 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:20:06
[end_date_ymd] => 2025-01-13 08:20:06
[RateCDR] => 1
)
[2025-01-13 08:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:20:06' and `end` < '2025-01-13 08:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237677', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 08:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 08:20:08] Production.INFO: ProcessCDR(1,14237677,1,1,2)
[2025-01-13 08:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237677,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237677,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:20:08] Production.INFO: ==13719== Releasing lock...
[2025-01-13 08:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 08:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 08:20:13] Production.ERROR: CronJobId end10
[2025-01-13 08:20:13] Production.INFO: ==13713== Releasing lock...
[2025-01-13 08:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:20:15] Production.INFO: call_cost start
[2025-01-13 08:20:15] Production.INFO: call_cost end
[2025-01-13 08:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:20:16] Production.INFO: ==13709== Releasing lock...
[2025-01-13 08:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:20:18] Production.INFO: count ==347
[2025-01-13 08:20:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:20:06 - End Time 2025-01-13 08:20:06
[2025-01-13 08:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237678', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237678', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237678', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237678', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:20:18] Production.INFO: ProcessCDR(1,14237678,1,1,2)
[2025-01-13 08:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237678', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237678', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:20:23] Production.INFO: ==13717== Releasing lock...
[2025-01-13 08:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:20:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-13 13:21:02] Production.INFO: ==13775== Lock acquired, processing the job...
[2025-01-13 13:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:21:02] Production.INFO: neon service started
[2025-01-13 13:21:02] Production.INFO: neon service started
[2025-01-13 13:21:02] Production.INFO: ==13775== Releasing lock...
[2025-01-13 13:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:21:02] Production.INFO: ==13777== Lock acquired, processing the job...
[2025-01-13 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:21:02] Production.INFO: ==13779== Lock acquired, processing the job...
[2025-01-13 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:21:02] Production.INFO: ==13779== Releasing lock...
[2025-01-13 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:21:03] Production.INFO: ==13777== Releasing lock...
[2025-01-13 08:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:21:03] Production.INFO: ==13782== Lock acquired, processing the job...
[2025-01-13 08:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:21:03] Production.INFO: ==13788== Lock acquired, processing the job...
[2025-01-13 08:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:21:03] Production.INFO: ==13792== Lock acquired, processing the job...
[2025-01-13 08:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:21:03] Production.INFO: Account Balance Start.
[2025-01-13 08:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:21:04] Production.INFO: 117
[2025-01-13 08:21:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:21:04] Production.INFO: count ==21
[2025-01-13 08:21:04] Production.INFO: ==13784== Lock acquired, processing the job...
[2025-01-13 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:21:04] Production.INFO: count ==21
[2025-01-13 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237681') start
[2025-01-13 08:21:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:21:04] Production.INFO: ==13786== Lock acquired, processing the job...
[2025-01-13 08:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:21:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:21:04] Production.INFO: ==13790== Lock acquired, processing the job...
[2025-01-13 08:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:21:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:21:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237681') end
[2025-01-13 08:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:21:04] Production.INFO: 1
[2025-01-13 08:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:21:04] Production.INFO: ==13792== Releasing lock...
[2025-01-13 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:21:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:21:04] Production.INFO: Total Charge 0
[2025-01-13 08:21:04] Production.INFO: CreateAllLog End
[2025-01-13 08:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:21:04] Production.INFO: ==13784== Releasing lock...
[2025-01-13 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:21:04] Production.INFO: Account Balance End.
[2025-01-13 08:21:04] Production.ERROR: done
[2025-01-13 08:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:21:04] Production.INFO: ==13788== Releasing lock...
[2025-01-13 08:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:21:05] Production.ERROR: done
[2025-01-13 08:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:21:05
[end_date_ymd] => 2025-01-13 08:21:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:21:05' and `end` < '2025-01-13 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-13 08:21:12] Production.ERROR: CronJobId end10
[2025-01-13 08:21:12] Production.INFO: ==13786== Releasing lock...
[2025-01-13 08:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:21:14] Production.INFO: call_cost start
[2025-01-13 08:21:14] Production.INFO: call_cost end
[2025-01-13 08:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:21:15] Production.INFO: ==13782== Releasing lock...
[2025-01-13 08:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:21:18] Production.INFO: count ==375
[2025-01-13 08:21:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:21:05 - End Time 2025-01-13 08:21:05
[2025-01-13 08:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237683', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237683', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237683', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237683', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:21:18] Production.INFO: ProcessCDR(1,14237683,1,1,2)
[2025-01-13 08:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237683', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237683', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:21:23] Production.INFO: ==13790== Releasing lock...
[2025-01-13 08:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:21:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-13 13:22:01] Production.INFO: ==13846== Lock acquired, processing the job...
[2025-01-13 13:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:22:01] Production.INFO: neon service started
[2025-01-13 13:22:01] Production.INFO: neon service started
[2025-01-13 13:22:01] Production.INFO: ==13846== Releasing lock...
[2025-01-13 13:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:22:02] Production.INFO: ==13848== Lock acquired, processing the job...
[2025-01-13 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:22:02] Production.INFO: ==13848== Releasing lock...
[2025-01-13 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:22:02] Production.INFO: ==13850== Lock acquired, processing the job...
[2025-01-13 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:22:02] Production.INFO: ==13850== Releasing lock...
[2025-01-13 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:22:03] Production.INFO: ==13859== Lock acquired, processing the job...
[2025-01-13 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:22:03] Production.INFO: ==13861== Lock acquired, processing the job...
[2025-01-13 08:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:22:03] Production.INFO: ==13853== Lock acquired, processing the job...
[2025-01-13 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:22:03] Production.INFO: ==13855== Lock acquired, processing the job...
[2025-01-13 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:22:03] Production.INFO: ==13857== Lock acquired, processing the job...
[2025-01-13 08:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:22:03] Production.INFO: Account Balance Start.
[2025-01-13 08:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:22:03] Production.INFO: 117
[2025-01-13 08:22:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:22:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:22:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:22:03] Production.INFO: ==13863== Lock acquired, processing the job...
[2025-01-13 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:22:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:22:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:22:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:22:03] Production.INFO: Total Charge 0
[2025-01-13 08:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:22:03] Production.INFO: count ==21
[2025-01-13 08:22:03] Production.INFO: CreateAllLog End
[2025-01-13 08:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:22:03] Production.INFO: count ==21
[2025-01-13 08:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237687') start
[2025-01-13 08:22:03] Production.ERROR: done
[2025-01-13 08:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:22:03] Production.INFO: ==13855== Releasing lock...
[2025-01-13 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237687') end
[2025-01-13 08:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:22:03] Production.INFO: 1
[2025-01-13 08:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:22:04] Production.INFO: ==13863== Releasing lock...
[2025-01-13 08:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:22:04] Production.ERROR: done
[2025-01-13 08:22:04] Production.INFO: Account Balance End.
[2025-01-13 08:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:22:04] Production.INFO: ==13859== Releasing lock...
[2025-01-13 08:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:22:04
[end_date_ymd] => 2025-01-13 08:22:04
[RateCDR] => 1
)
[2025-01-13 08: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-13 05:22:04' and `end` < '2025-01-13 08: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-13 08:22:12] Production.ERROR: CronJobId end10
[2025-01-13 08:22:12] Production.INFO: ==13857== Releasing lock...
[2025-01-13 08:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:22:13] Production.INFO: call_cost start
[2025-01-13 08:22:13] Production.INFO: call_cost end
[2025-01-13 08:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:22:14] Production.INFO: ==13853== Releasing lock...
[2025-01-13 08:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:22:17] Production.INFO: count ==376
[2025-01-13 08:22:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:22:04 - End Time 2025-01-13 08:22:04
[2025-01-13 08:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237688', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237688', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237688', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237688', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:22:17] Production.INFO: ProcessCDR(1,14237688,1,1,2)
[2025-01-13 08:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237688', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237688', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:22:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:22:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:22:20] Production.INFO: ==13861== Releasing lock...
[2025-01-13 08:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:22:20] Production.INFO: 31.25 MB #Memory Used#
[2025-01-13 13:23:02] Production.INFO: ==13920== Lock acquired, processing the job...
[2025-01-13 13:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:23:02] Production.INFO: neon service started
[2025-01-13 13:23:02] Production.INFO: neon service started
[2025-01-13 13:23:02] Production.INFO: ==13920== Releasing lock...
[2025-01-13 13:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:23:02] Production.INFO: ==13924== Lock acquired, processing the job...
[2025-01-13 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:23:02] Production.INFO: ==13924== Releasing lock...
[2025-01-13 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:23:02] Production.INFO: ==13922== Lock acquired, processing the job...
[2025-01-13 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:23:02] Production.INFO: ==13922== Releasing lock...
[2025-01-13 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:23:03] Production.INFO: ==13930== Lock acquired, processing the job...
[2025-01-13 08:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:23:03] Production.INFO: ==13926== Lock acquired, processing the job...
[2025-01-13 08:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:23:03] Production.INFO: ==13928== Lock acquired, processing the job...
[2025-01-13 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:23:03] Production.INFO: ==13932== Lock acquired, processing the job...
[2025-01-13 08:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:23:03] Production.INFO: ==13936== Lock acquired, processing the job...
[2025-01-13 08:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:23:04] Production.INFO: ==13934== Lock acquired, processing the job...
[2025-01-13 08:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:23:04] Production.INFO: Account Balance Start.
[2025-01-13 08:23:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:23:04] Production.INFO: 117
[2025-01-13 08:23:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:23:04] Production.INFO: count ==21
[2025-01-13 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-13 08:23:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:23:04] Production.INFO: count ==21
[2025-01-13 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237690') start
[2025-01-13 08:23:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237690') end
[2025-01-13 08:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:23:04] Production.INFO: 1
[2025-01-13 08:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:23:04] Production.ERROR: done
[2025-01-13 08:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:23:04] Production.INFO: ==13928== Releasing lock...
[2025-01-13 08:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:23:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:23:04] Production.INFO: ==13936== Releasing lock...
[2025-01-13 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:23:04] Production.ERROR: done
[2025-01-13 08:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:23:04] Production.INFO: Total Charge 0
[2025-01-13 08:23:04] Production.INFO: CreateAllLog End
[2025-01-13 08:23:04] Production.INFO: Account Balance End.
[2025-01-13 08:23:05] Production.ERROR: CronJobId end 12
[2025-01-13 08:23:05] Production.INFO: ==13932== Releasing lock...
[2025-01-13 08:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:23:05
[end_date_ymd] => 2025-01-13 08:23:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:23:05' and `end` < '2025-01-13 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-13 08:23:11] Production.ERROR: CronJobId end10
[2025-01-13 08:23:11] Production.INFO: ==13930== Releasing lock...
[2025-01-13 08:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:23:13] Production.INFO: call_cost start
[2025-01-13 08:23:13] Production.INFO: call_cost end
[2025-01-13 08:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:23:14] Production.INFO: ==13926== Releasing lock...
[2025-01-13 08:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:23:19] Production.INFO: count ==394
[2025-01-13 08:23:19] Production.ERROR: pbx CDR StartTime 2025-01-13 05:23:05 - End Time 2025-01-13 08:23:05
[2025-01-13 08:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237693', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237693', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237693', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237693', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:23:19] Production.INFO: ProcessCDR(1,14237693,1,1,2)
[2025-01-13 08:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237693', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237693', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:23:23] Production.INFO: ==13934== Releasing lock...
[2025-01-13 08:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:23:23] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 13:24:01] Production.INFO: ==13989== Lock acquired, processing the job...
[2025-01-13 13:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:24:01] Production.INFO: neon service started
[2025-01-13 13:24:01] Production.INFO: neon service started
[2025-01-13 13:24:01] Production.INFO: ==13989== Releasing lock...
[2025-01-13 13:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:24:01] Production.INFO: ==13991== Lock acquired, processing the job...
[2025-01-13 08:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:24:02] Production.INFO: ==13991== Releasing lock...
[2025-01-13 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:24:02] Production.INFO: ==13993== Lock acquired, processing the job...
[2025-01-13 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:24:02] Production.INFO: ==13993== Releasing lock...
[2025-01-13 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:24:03] Production.INFO: ==13996== Lock acquired, processing the job...
[2025-01-13 08:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:24:03] Production.INFO: ==13998== Lock acquired, processing the job...
[2025-01-13 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:24:03] Production.INFO: ==14002== Lock acquired, processing the job...
[2025-01-13 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:24:03] Production.INFO: ==14000== Lock acquired, processing the job...
[2025-01-13 08:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:24:03] Production.INFO: ==14006== Lock acquired, processing the job...
[2025-01-13 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:24:03] Production.INFO: Account Balance Start.
[2025-01-13 08:24:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:24:03] Production.INFO: 117
[2025-01-13 08:24:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:24:03] Production.INFO: ==14004== Lock acquired, processing the job...
[2025-01-13 08:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 08:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:24:03] Production.INFO: count ==21
[2025-01-13 08:24:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:24:03] Production.INFO: count ==21
[2025-01-13 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237696') start
[2025-01-13 08:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:24:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237696') end
[2025-01-13 08:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:24:03] Production.INFO: 1
[2025-01-13 08:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:24:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:24:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:24:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:24:03] Production.INFO: ==14006== Releasing lock...
[2025-01-13 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:24:03] Production.INFO: ==13998== Releasing lock...
[2025-01-13 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:24:03] Production.ERROR: done
[2025-01-13 08:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:24:03] Production.INFO: Total Charge 0
[2025-01-13 08:24:03] Production.INFO: CreateAllLog End
[2025-01-13 08:24:04] Production.ERROR: done
[2025-01-13 08:24:04] Production.INFO: Account Balance End.
[2025-01-13 08:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:24:04] Production.INFO: ==14002== Releasing lock...
[2025-01-13 08:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:24:05
[end_date_ymd] => 2025-01-13 08:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:24:05' and `end` < '2025-01-13 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-13 08:24:11] Production.ERROR: CronJobId end10
[2025-01-13 08:24:11] Production.INFO: ==14000== Releasing lock...
[2025-01-13 08:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:24:12] Production.INFO: call_cost start
[2025-01-13 08:24:12] Production.INFO: call_cost end
[2025-01-13 08:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:24:13] Production.INFO: ==13996== Releasing lock...
[2025-01-13 08:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:24:18] Production.INFO: count ==396
[2025-01-13 08:24:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:24:05 - End Time 2025-01-13 08:24:05
[2025-01-13 08:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237698', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237698', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237698', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237698', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:24:18] Production.INFO: ProcessCDR(1,14237698,1,1,2)
[2025-01-13 08:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237698', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237698', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:24:21] Production.INFO: ==14004== Releasing lock...
[2025-01-13 08:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:24:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 13:25:01] Production.INFO: ==14062== Lock acquired, processing the job...
[2025-01-13 13:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:25:01] Production.INFO: neon service started
[2025-01-13 13:25:01] Production.INFO: neon service started
[2025-01-13 13:25:01] Production.INFO: ==14062== Releasing lock...
[2025-01-13 13:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:25:02] Production.INFO: ==14064== Lock acquired, processing the job...
[2025-01-13 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:25:02] Production.INFO: ==14064== Releasing lock...
[2025-01-13 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:25:02] Production.INFO: ==14066== Lock acquired, processing the job...
[2025-01-13 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:25:02] Production.INFO: ==14066== Releasing lock...
[2025-01-13 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:25:03] Production.INFO: ==14073== Lock acquired, processing the job...
[2025-01-13 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:25:03] Production.INFO: ==14079== Lock acquired, processing the job...
[2025-01-13 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:25:03] Production.INFO: ==14069== Lock acquired, processing the job...
[2025-01-13 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:25:03] Production.INFO: ==14071== Lock acquired, processing the job...
[2025-01-13 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:25:03] Production.INFO: ==14075== Lock acquired, processing the job...
[2025-01-13 08:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:25:03] Production.INFO: ==14077== Lock acquired, processing the job...
[2025-01-13 08:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:25:03] Production.INFO: Account Balance Start.
[2025-01-13 08:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:25:03] Production.INFO: 117
[2025-01-13 08:25:03] Production.INFO: count ==21
[2025-01-13 08:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:25:03] Production.INFO: count ==21
[2025-01-13 08:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237699') start
[2025-01-13 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:25:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:25:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:25:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237699') end
[2025-01-13 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:25:03] Production.INFO: 1
[2025-01-13 08:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:25:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:25:04] Production.INFO: Total Charge 0
[2025-01-13 08:25:04] Production.INFO: CreateAllLog End
[2025-01-13 08:25:04] Production.INFO: ==14079== Releasing lock...
[2025-01-13 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:25:04] Production.INFO: ==14071== Releasing lock...
[2025-01-13 08:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:25:04] Production.ERROR: done
[2025-01-13 08:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:25:04] Production.INFO: Account Balance End.
[2025-01-13 08:25:04] Production.ERROR: done
[2025-01-13 08:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:25:04] Production.INFO: ==14075== Releasing lock...
[2025-01-13 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:25:05
[end_date_ymd] => 2025-01-13 08:25:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:25:05' and `end` < '2025-01-13 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-13 08:25:11] Production.ERROR: CronJobId end10
[2025-01-13 08:25:11] Production.INFO: ==14073== Releasing lock...
[2025-01-13 08:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:25:13] Production.INFO: call_cost start
[2025-01-13 08:25:13] Production.INFO: call_cost end
[2025-01-13 08:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:25:14] Production.INFO: ==14069== Releasing lock...
[2025-01-13 08:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:25:17] Production.INFO: count ==430
[2025-01-13 08:25:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:25:05 - End Time 2025-01-13 08:25:05
[2025-01-13 08:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237703', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237703', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237703', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237703', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:25:17] Production.INFO: ProcessCDR(1,14237703,1,1,2)
[2025-01-13 08:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237703', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237703', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:25:21] Production.INFO: ==14077== Releasing lock...
[2025-01-13 08:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:25:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 13:26:01] Production.INFO: ==14134== Lock acquired, processing the job...
[2025-01-13 13:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:26:01] Production.INFO: neon service started
[2025-01-13 13:26:01] Production.INFO: neon service started
[2025-01-13 13:26:01] Production.INFO: ==14134== Releasing lock...
[2025-01-13 13:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:26:01] Production.INFO: ==14138== Lock acquired, processing the job...
[2025-01-13 13:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:26:01] Production.INFO: ==14138== Releasing lock...
[2025-01-13 13:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:26:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:26:01] Production.INFO: ==14136== Lock acquired, processing the job...
[2025-01-13 08:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:26:02] Production.INFO: ==14136== Releasing lock...
[2025-01-13 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:26:02] Production.INFO: ==14141== Lock acquired, processing the job...
[2025-01-13 08:26:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:26:03] Production.INFO: ==14145== Lock acquired, processing the job...
[2025-01-13 08:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:26:03] Production.INFO: ==14149== Lock acquired, processing the job...
[2025-01-13 08:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:26:03] Production.INFO: ==14143== Lock acquired, processing the job...
[2025-01-13 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:26:03] Production.INFO: ==14151== Lock acquired, processing the job...
[2025-01-13 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:26:03] Production.INFO: ==14147== Lock acquired, processing the job...
[2025-01-13 08:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 08:26:03] Production.INFO: Account Balance Start.
[2025-01-13 08:26:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:26:03] Production.INFO: 117
[2025-01-13 08:26:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:26:03] Production.INFO: count ==21
[2025-01-13 08:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:26:03] Production.INFO: count ==21
[2025-01-13 08:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237705') start
[2025-01-13 08:26:03] Production.ERROR: done
[2025-01-13 08:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:26:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:26:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:26:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:26:03] Production.ERROR: done
[2025-01-13 08:26:03] Production.INFO: ==14143== Releasing lock...
[2025-01-13 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:26:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237705') end
[2025-01-13 08:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:26:03] Production.INFO: 1
[2025-01-13 08:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:26:03] Production.INFO: ==14151== Releasing lock...
[2025-01-13 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:26:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:26:03] Production.INFO: Total Charge 0
[2025-01-13 08:26:03] Production.INFO: CreateAllLog End
[2025-01-13 08:26:04] Production.INFO: Account Balance End.
[2025-01-13 08:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:26:04] Production.INFO: ==14147== Releasing lock...
[2025-01-13 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:26:04
[end_date_ymd] => 2025-01-13 08:26:04
[RateCDR] => 1
)
[2025-01-13 08: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-13 05:26:04' and `end` < '2025-01-13 08: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-13 08:26:11] Production.ERROR: CronJobId end10
[2025-01-13 08:26:11] Production.INFO: ==14145== Releasing lock...
[2025-01-13 08:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:26:13] Production.INFO: call_cost start
[2025-01-13 08:26:13] Production.INFO: call_cost end
[2025-01-13 08:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:26:14] Production.INFO: ==14141== Releasing lock...
[2025-01-13 08:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:26:17] Production.INFO: count ==434
[2025-01-13 08:26:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:26:04 - End Time 2025-01-13 08:26:04
[2025-01-13 08:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237708', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237708', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237708', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237708', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:26:17] Production.INFO: ProcessCDR(1,14237708,1,1,2)
[2025-01-13 08:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237708', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237708', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:26:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:26:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:26:20] Production.INFO: ==14149== Releasing lock...
[2025-01-13 08:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:26:20] Production.INFO: 32 MB #Memory Used#
[2025-01-13 13:27:01] Production.INFO: ==14209== Lock acquired, processing the job...
[2025-01-13 13:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:27:01] Production.INFO: neon service started
[2025-01-13 13:27:01] Production.INFO: neon service started
[2025-01-13 13:27:01] Production.INFO: ==14209== Releasing lock...
[2025-01-13 13:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:27:02] Production.INFO: ==14211== Lock acquired, processing the job...
[2025-01-13 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:27:02] Production.INFO: ==14211== Releasing lock...
[2025-01-13 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:27:02] Production.INFO: ==14213== Lock acquired, processing the job...
[2025-01-13 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:27:02] Production.INFO: ==14213== Releasing lock...
[2025-01-13 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:27:03] Production.INFO: ==14221== Lock acquired, processing the job...
[2025-01-13 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:27:03] Production.INFO: Account Balance Start.
[2025-01-13 08:27:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:27:03] Production.INFO: 117
[2025-01-13 08:27:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:27:03] Production.INFO: ==14225== Lock acquired, processing the job...
[2025-01-13 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:27:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:27:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:27:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:27:03] Production.INFO: count ==21
[2025-01-13 08:27:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:27:03] Production.INFO: count ==21
[2025-01-13 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237710') start
[2025-01-13 08:27:03] Production.INFO: ==14217== Lock acquired, processing the job...
[2025-01-13 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:27:03] Production.INFO: ==14219== Lock acquired, processing the job...
[2025-01-13 08:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:27:03] Production.INFO: ==14215== Lock acquired, processing the job...
[2025-01-13 08:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:27:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:27:03] Production.INFO: Total Charge 0
[2025-01-13 08:27:03] Production.INFO: ==14223== Lock acquired, processing the job...
[2025-01-13 08:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237710') end
[2025-01-13 08:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:27:03] Production.INFO: 1
[2025-01-13 08:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:27:03] Production.INFO: CreateAllLog End
[2025-01-13 08:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:27:03] Production.INFO: ==14225== Releasing lock...
[2025-01-13 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:27:03] Production.INFO: ==14217== Releasing lock...
[2025-01-13 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:27:03] Production.ERROR: done
[2025-01-13 08:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:27:03] Production.INFO: Account Balance End.
[2025-01-13 08:27:03] Production.ERROR: CronJobId end 12
[2025-01-13 08:27:03] Production.INFO: ==14221== Releasing lock...
[2025-01-13 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:27:03] Production.ERROR: done
[2025-01-13 08:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:27:04
[end_date_ymd] => 2025-01-13 08:27:04
[RateCDR] => 1
)
[2025-01-13 08: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-13 05:27:04' and `end` < '2025-01-13 08: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-13 08:27:11] Production.ERROR: CronJobId end10
[2025-01-13 08:27:11] Production.INFO: ==14219== Releasing lock...
[2025-01-13 08:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:27:13] Production.INFO: call_cost start
[2025-01-13 08:27:13] Production.INFO: call_cost end
[2025-01-13 08:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:27:14] Production.INFO: ==14215== Releasing lock...
[2025-01-13 08:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:27:17] Production.INFO: count ==443
[2025-01-13 08:27:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:27:04 - End Time 2025-01-13 08:27:04
[2025-01-13 08:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237713', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237713', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237713', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237713', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:27:17] Production.INFO: ProcessCDR(1,14237713,1,1,2)
[2025-01-13 08:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237713', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237713', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:27:22] Production.INFO: ==14223== Releasing lock...
[2025-01-13 08:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:27:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 13:28:02] Production.INFO: ==14280== Lock acquired, processing the job...
[2025-01-13 13:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:28:02] Production.INFO: neon service started
[2025-01-13 13:28:02] Production.INFO: neon service started
[2025-01-13 13:28:02] Production.INFO: ==14280== Releasing lock...
[2025-01-13 13:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:28:02] Production.INFO: ==14282== Lock acquired, processing the job...
[2025-01-13 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:28:02] Production.INFO: ==14284== Lock acquired, processing the job...
[2025-01-13 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:28:02] Production.INFO: ==14284== Releasing lock...
[2025-01-13 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:28:03] Production.INFO: ==14282== Releasing lock...
[2025-01-13 08:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:28:03] Production.INFO: ==14287== Lock acquired, processing the job...
[2025-01-13 08:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:28:03] Production.INFO: ==14289== Lock acquired, processing the job...
[2025-01-13 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:28:04] Production.INFO: ==14295== Lock acquired, processing the job...
[2025-01-13 08:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:28:04] Production.INFO: ==14291== Lock acquired, processing the job...
[2025-01-13 08:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:28:04] Production.INFO: ==14289== Releasing lock...
[2025-01-13 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:28:04] Production.INFO: ==14297== Lock acquired, processing the job...
[2025-01-13 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:28:04] Production.INFO: ==14293== Lock acquired, processing the job...
[2025-01-13 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:28:04] Production.ERROR: done
[2025-01-13 08:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:28:04] Production.INFO: Account Balance Start.
[2025-01-13 08:28:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:28:04] Production.INFO: 117
[2025-01-13 08:28:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:28:04] Production.INFO: count ==21
[2025-01-13 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-13 08:28:04] Production.INFO: count ==21
[2025-01-13 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237717') start
[2025-01-13 08:28:04] Production.ERROR: done
[2025-01-13 08:28:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:28:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:28:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:28:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237717') end
[2025-01-13 08:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:28:04] Production.INFO: 1
[2025-01-13 08:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:28:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:28:04] Production.INFO: ==14297== Releasing lock...
[2025-01-13 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:28:04] Production.INFO: Total Charge 0
[2025-01-13 08:28:04] Production.INFO: CreateAllLog End
[2025-01-13 08:28:04] Production.INFO: Account Balance End.
[2025-01-13 08:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:28:04] Production.INFO: ==14293== Releasing lock...
[2025-01-13 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:28:05
[end_date_ymd] => 2025-01-13 08:28:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:28:05' and `end` < '2025-01-13 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-13 08:28:11] Production.ERROR: CronJobId end10
[2025-01-13 08:28:11] Production.INFO: ==14291== Releasing lock...
[2025-01-13 08:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:28:14] Production.INFO: call_cost start
[2025-01-13 08:28:14] Production.INFO: call_cost end
[2025-01-13 08:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:28:14] Production.INFO: ==14287== Releasing lock...
[2025-01-13 08:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:28:19] Production.INFO: count ==460
[2025-01-13 08:28:19] Production.ERROR: pbx CDR StartTime 2025-01-13 05:28:05 - End Time 2025-01-13 08:28:05
[2025-01-13 08:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237718', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237718', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237718', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237718', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:28:19] Production.INFO: ProcessCDR(1,14237718,1,1,2)
[2025-01-13 08:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237718', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237718', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:28:24] Production.INFO: ==14295== Releasing lock...
[2025-01-13 08:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:28:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 13:29:01] Production.INFO: ==14351== Lock acquired, processing the job...
[2025-01-13 13:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:29:01] Production.INFO: neon service started
[2025-01-13 13:29:01] Production.INFO: neon service started
[2025-01-13 13:29:01] Production.INFO: ==14351== Releasing lock...
[2025-01-13 13:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:29:02] Production.INFO: ==14353== Lock acquired, processing the job...
[2025-01-13 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:29:02] Production.INFO: ==14355== Lock acquired, processing the job...
[2025-01-13 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:29:02] Production.INFO: ==14355== Releasing lock...
[2025-01-13 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:29:02] Production.INFO: ==14353== Releasing lock...
[2025-01-13 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:29:03] Production.INFO: ==14362== Lock acquired, processing the job...
[2025-01-13 08:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:29:03] Production.INFO: ==14358== Lock acquired, processing the job...
[2025-01-13 08:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:29:03] Production.INFO: ==14366== Lock acquired, processing the job...
[2025-01-13 08:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:29:03] Production.INFO: ==14360== Lock acquired, processing the job...
[2025-01-13 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:29:03] Production.INFO: ==14364== Lock acquired, processing the job...
[2025-01-13 08:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:29:03] Production.INFO: ==14368== Lock acquired, processing the job...
[2025-01-13 08:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:29:03] Production.INFO: Account Balance Start.
[2025-01-13 08:29:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:29:03] Production.INFO: 117
[2025-01-13 08:29:03] Production.ERROR: done
[2025-01-13 08:29:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:29:03] Production.INFO: ==14360== Releasing lock...
[2025-01-13 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:29:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:29:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:29:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:29:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:29:04] Production.INFO: count ==21
[2025-01-13 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-13 08:29:04] Production.INFO: count ==21
[2025-01-13 08:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237722') start
[2025-01-13 08:29:04] Production.INFO: Total Charge 0
[2025-01-13 08:29:04] Production.ERROR: done
[2025-01-13 08:29:04] Production.INFO: CreateAllLog End
[2025-01-13 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237722') end
[2025-01-13 08:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:29:04] Production.INFO: 1
[2025-01-13 08:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:29:04] Production.INFO: ==14368== Releasing lock...
[2025-01-13 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:29:04] Production.INFO: Account Balance End.
[2025-01-13 08:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:29:04] Production.INFO: ==14364== Releasing lock...
[2025-01-13 08:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:29:05
[end_date_ymd] => 2025-01-13 08:29:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:29:05' and `end` < '2025-01-13 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-13 08:29:10] Production.ERROR: CronJobId end10
[2025-01-13 08:29:10] Production.INFO: ==14362== Releasing lock...
[2025-01-13 08:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:29:13] Production.INFO: call_cost start
[2025-01-13 08:29:13] Production.INFO: call_cost end
[2025-01-13 08:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:29:14] Production.INFO: ==14358== Releasing lock...
[2025-01-13 08:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:29:17] Production.INFO: count ==472
[2025-01-13 08:29:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:29:05 - End Time 2025-01-13 08:29:05
[2025-01-13 08:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237723', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237723', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237723', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237723', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:29:17] Production.INFO: ProcessCDR(1,14237723,1,1,2)
[2025-01-13 08:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237723', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237723', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:29:21] Production.INFO: ==14366== Releasing lock...
[2025-01-13 08:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:29:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-13 13:30:02] Production.INFO: ==14422== Lock acquired, processing the job...
[2025-01-13 13:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:30:02] Production.INFO: neon service started
[2025-01-13 13:30:02] Production.INFO: neon service started
[2025-01-13 13:30:02] Production.INFO: ==14422== Releasing lock...
[2025-01-13 13:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:30:02] Production.INFO: ==14426== Lock acquired, processing the job...
[2025-01-13 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:30:02] Production.INFO: ==14426== Releasing lock...
[2025-01-13 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:30:02] Production.INFO: ==14424== Lock acquired, processing the job...
[2025-01-13 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:30:03] Production.INFO: ==14424== Releasing lock...
[2025-01-13 08:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:30:04] Production.INFO: ==14429== Lock acquired, processing the job...
[2025-01-13 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 08:30:04] Production.INFO: ==14435== Lock acquired, processing the job...
[2025-01-13 08:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 08:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 08:30:04] Production.ERROR: CronJob PID - 14435
[2025-01-13 08:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 08:30:04] Production.ERROR: CronJob ID - 10
[2025-01-13 08:30:04] Production.ERROR: CronJob Last Run Time 2025-01-13 08:30:00
[2025-01-13 08:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 08:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 08:30:04] Production.INFO: ==14431== Lock acquired, processing the job...
[2025-01-13 08:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:30:04] Production.INFO: ==14437== Lock acquired, processing the job...
[2025-01-13 08:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 08:30:04] Production.INFO: ==14429== Releasing lock...
[2025-01-13 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 08:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 08:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:30:04] Production.INFO: ==14433== Lock acquired, processing the job...
[2025-01-13 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:30:04] Production.INFO: Account Balance Start.
[2025-01-13 08:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:30:04] Production.INFO: 117
[2025-01-13 08:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:30:04] Production.INFO: ==14439== Lock acquired, processing the job...
[2025-01-13 08:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:30:04] Production.INFO: ==14443== Lock acquired, processing the job...
[2025-01-13 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:30:04] Production.INFO: ==14441== Lock acquired, processing the job...
[2025-01-13 08:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 08:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:30:04] Production.INFO: Total Charge 0
[2025-01-13 08:30:04] Production.INFO: count ==21
[2025-01-13 08:30:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 08:30:04] Production.INFO: count ==21
[2025-01-13 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237727') start
[2025-01-13 08:30:04] Production.INFO: ==14433== Releasing lock...
[2025-01-13 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:30:04] Production.ERROR: done
[2025-01-13 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237727') end
[2025-01-13 08:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:30:04] Production.INFO: 1
[2025-01-13 08:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:30:04] Production.ERROR: done
[2025-01-13 08:30:05] Production.INFO: ==14443== Releasing lock...
[2025-01-13 08:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 08:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237728', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 08:30:05] Production.ERROR: done
[2025-01-13 08:30:05] Production.INFO: Account Balance End.
[2025-01-13 08:30:05] Production.ERROR: CronJobId end 12
[2025-01-13 08:30:05] Production.INFO: ==14437== Releasing lock...
[2025-01-13 08:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:30:06
[end_date_ymd] => 2025-01-13 08:30:06
[RateCDR] => 1
)
[2025-01-13 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-13 05:30:06' and `end` < '2025-01-13 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-13 08:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237728', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 08:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 08:30:08] Production.INFO: ProcessCDR(1,14237728,1,1,2)
[2025-01-13 08:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237728,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237728,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:30:08] Production.INFO: ==14441== Releasing lock...
[2025-01-13 08:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 08:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 08:30:13] Production.ERROR: CronJobId end10
[2025-01-13 08:30:13] Production.INFO: ==14435== Releasing lock...
[2025-01-13 08:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:30:16] Production.INFO: call_cost start
[2025-01-13 08:30:16] Production.INFO: call_cost end
[2025-01-13 08:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:30:16] Production.INFO: ==14431== Releasing lock...
[2025-01-13 08:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:30:18] Production.INFO: count ==481
[2025-01-13 08:30:19] Production.ERROR: pbx CDR StartTime 2025-01-13 05:30:06 - End Time 2025-01-13 08:30:06
[2025-01-13 08:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237729', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237729', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237729', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237729', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:30:19] Production.INFO: ProcessCDR(1,14237729,1,1,2)
[2025-01-13 08:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237729', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237729', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:30:22] Production.INFO: ==14439== Releasing lock...
[2025-01-13 08:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:30:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 13:31:01] Production.INFO: ==14537== Lock acquired, processing the job...
[2025-01-13 13:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:31:01] Production.INFO: neon service started
[2025-01-13 13:31:01] Production.INFO: neon service started
[2025-01-13 13:31:01] Production.INFO: ==14537== Releasing lock...
[2025-01-13 13:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:31:02] Production.INFO: ==14539== Lock acquired, processing the job...
[2025-01-13 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:31:02] Production.INFO: ==14541== Lock acquired, processing the job...
[2025-01-13 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:31:02] Production.INFO: ==14541== Releasing lock...
[2025-01-13 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:31:02] Production.INFO: ==14539== Releasing lock...
[2025-01-13 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:31:03] Production.INFO: ==14554== Lock acquired, processing the job...
[2025-01-13 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:31:03] Production.INFO: ==14550== Lock acquired, processing the job...
[2025-01-13 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:31:03] Production.INFO: ==14544== Lock acquired, processing the job...
[2025-01-13 08:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 08:31:03] Production.INFO: count ==21
[2025-01-13 08:31:03] Production.INFO: Account Balance Start.
[2025-01-13 08:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:31:03] Production.INFO: 117
[2025-01-13 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-13 08:31:03] Production.INFO: count ==21
[2025-01-13 08:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237730') start
[2025-01-13 08:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:31:03] Production.INFO: ==14546== Lock acquired, processing the job...
[2025-01-13 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:31:03] Production.INFO: ==14548== Lock acquired, processing the job...
[2025-01-13 08:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:31:03] Production.INFO: ==14552== Lock acquired, processing the job...
[2025-01-13 08:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237730') end
[2025-01-13 08:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:31:03] Production.INFO: 1
[2025-01-13 08:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:31:03] Production.INFO: ==14554== Releasing lock...
[2025-01-13 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:31:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:31:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:31:03] Production.INFO: Total Charge 0
[2025-01-13 08:31:03] Production.ERROR: done
[2025-01-13 08:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:31:03] Production.INFO: CreateAllLog End
[2025-01-13 08:31:03] Production.ERROR: done
[2025-01-13 08:31:04] Production.INFO: ==14546== Releasing lock...
[2025-01-13 08:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:31:04] Production.INFO: Account Balance End.
[2025-01-13 08:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:31:04] Production.INFO: ==14550== Releasing lock...
[2025-01-13 08:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:31:04
[end_date_ymd] => 2025-01-13 08:31:04
[RateCDR] => 1
)
[2025-01-13 08: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-13 05:31:04' and `end` < '2025-01-13 08: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-13 08:31:11] Production.ERROR: CronJobId end10
[2025-01-13 08:31:11] Production.INFO: ==14548== Releasing lock...
[2025-01-13 08:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:31:13] Production.INFO: call_cost start
[2025-01-13 08:31:13] Production.INFO: call_cost end
[2025-01-13 08:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:31:14] Production.INFO: ==14544== Releasing lock...
[2025-01-13 08:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:31:18] Production.INFO: count ==499
[2025-01-13 08:31:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:31:04 - End Time 2025-01-13 08:31:04
[2025-01-13 08:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237734', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237734', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237734', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237734', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:31:18] Production.INFO: ProcessCDR(1,14237734,1,1,2)
[2025-01-13 08:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237734', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237734', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:31:21] Production.INFO: ==14552== Releasing lock...
[2025-01-13 08:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:31:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 13:32:02] Production.INFO: ==14609== Lock acquired, processing the job...
[2025-01-13 13:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:32:02] Production.INFO: neon service started
[2025-01-13 13:32:02] Production.INFO: neon service started
[2025-01-13 13:32:02] Production.INFO: ==14609== Releasing lock...
[2025-01-13 13:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:32:02] Production.INFO: ==14611== Lock acquired, processing the job...
[2025-01-13 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:32:03] Production.INFO: ==14613== Lock acquired, processing the job...
[2025-01-13 13:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:32:03] Production.INFO: ==14613== Releasing lock...
[2025-01-13 13:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:32:03] Production.INFO: ==14611== Releasing lock...
[2025-01-13 08:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:32:04] Production.INFO: ==14616== Lock acquired, processing the job...
[2025-01-13 08:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:32:04] Production.INFO: ==14618== Lock acquired, processing the job...
[2025-01-13 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:32:04] Production.INFO: ==14624== Lock acquired, processing the job...
[2025-01-13 08:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:32:04] Production.INFO: ==14620== Lock acquired, processing the job...
[2025-01-13 08:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:32:04] Production.INFO: ==14622== Lock acquired, processing the job...
[2025-01-13 08:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:32:04] Production.INFO: ==14618== Releasing lock...
[2025-01-13 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:32:04] Production.INFO: ==14626== Lock acquired, processing the job...
[2025-01-13 08:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:32:04] Production.INFO: Account Balance Start.
[2025-01-13 08:32:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:32:04] Production.INFO: 117
[2025-01-13 08:32:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:32:04] Production.ERROR: done
[2025-01-13 08:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:32:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:32:04] Production.ERROR: done
[2025-01-13 08:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:32:04] Production.INFO: count ==21
[2025-01-13 08:32:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:32:04] Production.INFO: count ==21
[2025-01-13 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237738') start
[2025-01-13 08:32:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:32:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:32:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:32:05] Production.INFO: Total Charge 0
[2025-01-13 08:32:05] Production.INFO: CreateAllLog End
[2025-01-13 08:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14237738') end
[2025-01-13 08:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:32:05] Production.INFO: 1
[2025-01-13 08:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:32:05] Production.INFO: ==14626== Releasing lock...
[2025-01-13 08:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:32:05] Production.INFO: Account Balance End.
[2025-01-13 08:32:05] Production.ERROR: CronJobId end 12
[2025-01-13 08:32:05] Production.INFO: ==14622== Releasing lock...
[2025-01-13 08:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:32:05
[end_date_ymd] => 2025-01-13 08:32:05
[RateCDR] => 1
)
[2025-01-13 08:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:32:05' and `end` < '2025-01-13 08:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:32:12] Production.ERROR: CronJobId end10
[2025-01-13 08:32:12] Production.INFO: ==14620== Releasing lock...
[2025-01-13 08:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:32:14] Production.INFO: call_cost start
[2025-01-13 08:32:14] Production.INFO: call_cost end
[2025-01-13 08:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:32:15] Production.INFO: ==14616== Releasing lock...
[2025-01-13 08:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:32:19] Production.INFO: count ==505
[2025-01-13 08:32:19] Production.ERROR: pbx CDR StartTime 2025-01-13 05:32:05 - End Time 2025-01-13 08:32:05
[2025-01-13 08:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237739', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237739', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237739', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237739', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:32:19] Production.INFO: ProcessCDR(1,14237739,1,1,2)
[2025-01-13 08:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237739', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237739', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:32:24] Production.INFO: ==14624== Releasing lock...
[2025-01-13 08:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:32:24] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 13:33:01] Production.INFO: ==14680== Lock acquired, processing the job...
[2025-01-13 13:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:33:01] Production.INFO: neon service started
[2025-01-13 13:33:01] Production.INFO: neon service started
[2025-01-13 13:33:01] Production.INFO: ==14680== Releasing lock...
[2025-01-13 13:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:33:02] Production.INFO: ==14684== Lock acquired, processing the job...
[2025-01-13 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:33:02] Production.INFO: ==14684== Releasing lock...
[2025-01-13 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:33:02] Production.INFO: ==14682== Lock acquired, processing the job...
[2025-01-13 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:33:02] Production.INFO: ==14682== Releasing lock...
[2025-01-13 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:33:03] Production.INFO: ==14690== Lock acquired, processing the job...
[2025-01-13 08:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:33:03] Production.INFO: ==14694== Lock acquired, processing the job...
[2025-01-13 08:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:33:03] Production.INFO: ==14686== Lock acquired, processing the job...
[2025-01-13 08:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:33:03] Production.INFO: ==14688== Lock acquired, processing the job...
[2025-01-13 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:33:03] Production.INFO: ==14692== Lock acquired, processing the job...
[2025-01-13 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:33:03] Production.INFO: ==14697== Lock acquired, processing the job...
[2025-01-13 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:33:03] Production.ERROR: done
[2025-01-13 08:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:33:03] Production.INFO: Account Balance Start.
[2025-01-13 08:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:33:03] Production.INFO: 117
[2025-01-13 08:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:33:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:33:03] Production.INFO: count ==21
[2025-01-13 08:33:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:33:04] Production.INFO: count ==21
[2025-01-13 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237743') start
[2025-01-13 08:33:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:33:04] Production.ERROR: done
[2025-01-13 08:33:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:33:04] Production.INFO: ==14688== Releasing lock...
[2025-01-13 08:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:33:04] Production.INFO: Total Charge 0
[2025-01-13 08:33:04] Production.INFO: CreateAllLog End
[2025-01-13 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237743') end
[2025-01-13 08:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:33:04] Production.INFO: 1
[2025-01-13 08:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:33:04] Production.INFO: Account Balance End.
[2025-01-13 08:33:04] Production.INFO: ==14697== Releasing lock...
[2025-01-13 08:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:33:04] Production.INFO: ==14692== Releasing lock...
[2025-01-13 08:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:33:04
[end_date_ymd] => 2025-01-13 08:33:04
[RateCDR] => 1
)
[2025-01-13 08:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:33:04' and `end` < '2025-01-13 08:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:33:10] Production.ERROR: CronJobId end10
[2025-01-13 08:33:10] Production.INFO: ==14690== Releasing lock...
[2025-01-13 08:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:33:13] Production.INFO: call_cost start
[2025-01-13 08:33:13] Production.INFO: call_cost end
[2025-01-13 08:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:33:13] Production.INFO: ==14686== Releasing lock...
[2025-01-13 08:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:33:17] Production.INFO: count ==511
[2025-01-13 08:33:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:33:04 - End Time 2025-01-13 08:33:04
[2025-01-13 08:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237744', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237744', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237744', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237744', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:33:17] Production.INFO: ProcessCDR(1,14237744,1,1,2)
[2025-01-13 08:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237744', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237744', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:33:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:33:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:33:20] Production.INFO: ==14694== Releasing lock...
[2025-01-13 08:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:33:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 13:34:02] Production.INFO: ==14750== Lock acquired, processing the job...
[2025-01-13 13:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:34:02] Production.INFO: neon service started
[2025-01-13 13:34:02] Production.INFO: neon service started
[2025-01-13 13:34:02] Production.INFO: ==14750== Releasing lock...
[2025-01-13 13:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:34:02] Production.INFO: ==14752== Lock acquired, processing the job...
[2025-01-13 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:34:02] Production.INFO: ==14754== Lock acquired, processing the job...
[2025-01-13 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:34:02] Production.INFO: ==14754== Releasing lock...
[2025-01-13 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:34:03] Production.INFO: ==14752== Releasing lock...
[2025-01-13 08:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:34:03] Production.INFO: ==14763== Lock acquired, processing the job...
[2025-01-13 08:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:34:04] Production.INFO: Account Balance Start.
[2025-01-13 08:34:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:34:04] Production.INFO: ==14765== Lock acquired, processing the job...
[2025-01-13 08:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:34:04] Production.INFO: ==14757== Lock acquired, processing the job...
[2025-01-13 08:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:34:04] Production.INFO: 117
[2025-01-13 08:34:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:34:04] Production.INFO: ==14759== Lock acquired, processing the job...
[2025-01-13 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:34:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:34:04] Production.INFO: ==14761== Lock acquired, processing the job...
[2025-01-13 08:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:34:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:34:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:34:04] Production.INFO: ==14767== Lock acquired, processing the job...
[2025-01-13 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:34:04] Production.INFO: count ==21
[2025-01-13 08:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:34:04] Production.INFO: count ==21
[2025-01-13 08:34:04] Production.INFO: Total Charge 0
[2025-01-13 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237748') start
[2025-01-13 08:34:04] Production.INFO: CreateAllLog End
[2025-01-13 08:34:04] Production.ERROR: done
[2025-01-13 08:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237748') end
[2025-01-13 08:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:34:04] Production.INFO: 1
[2025-01-13 08:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:34:04] Production.INFO: Account Balance End.
[2025-01-13 08:34:04] Production.INFO: ==14767== Releasing lock...
[2025-01-13 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:34:04] Production.ERROR: done
[2025-01-13 08:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:34:04] Production.INFO: ==14763== Releasing lock...
[2025-01-13 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:34:04] Production.INFO: ==14759== Releasing lock...
[2025-01-13 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:34:05
[end_date_ymd] => 2025-01-13 08:34:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:34:05' and `end` < '2025-01-13 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-13 08:34:11] Production.ERROR: CronJobId end10
[2025-01-13 08:34:11] Production.INFO: ==14761== Releasing lock...
[2025-01-13 08:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:34:13] Production.INFO: call_cost start
[2025-01-13 08:34:13] Production.INFO: call_cost end
[2025-01-13 08:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:34:14] Production.INFO: ==14757== Releasing lock...
[2025-01-13 08:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:34:18] Production.INFO: count ==511
[2025-01-13 08:34:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:34:05 - End Time 2025-01-13 08:34:05
[2025-01-13 08:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237749', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237749', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237749', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237749', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:34:18] Production.INFO: ProcessCDR(1,14237749,1,1,2)
[2025-01-13 08:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237749', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237749', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:34:21] Production.INFO: ==14765== Releasing lock...
[2025-01-13 08:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:34:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-13 13:35:01] Production.INFO: ==14824== Lock acquired, processing the job...
[2025-01-13 13:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:35:01] Production.INFO: neon service started
[2025-01-13 13:35:01] Production.INFO: neon service started
[2025-01-13 13:35:01] Production.INFO: ==14824== Releasing lock...
[2025-01-13 13:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:35:01] Production.INFO: ==14826== Lock acquired, processing the job...
[2025-01-13 08:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:35:02] Production.INFO: ==14828== Lock acquired, processing the job...
[2025-01-13 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:35:02] Production.INFO: ==14828== Releasing lock...
[2025-01-13 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:35:02] Production.INFO: ==14826== Releasing lock...
[2025-01-13 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:35:03] Production.INFO: ==14834== Lock acquired, processing the job...
[2025-01-13 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:35:03] Production.INFO: ==14832== Lock acquired, processing the job...
[2025-01-13 08:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:35:03] Production.INFO: ==14836== Lock acquired, processing the job...
[2025-01-13 08:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:35:03] Production.INFO: ==14838== Lock acquired, processing the job...
[2025-01-13 08:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:35:03] Production.INFO: ==14843== Lock acquired, processing the job...
[2025-01-13 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:35:03] Production.INFO: ==14840== Lock acquired, processing the job...
[2025-01-13 08:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:35:03] Production.INFO: Account Balance Start.
[2025-01-13 08:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:35:03] Production.INFO: 117
[2025-01-13 08:35:03] Production.INFO: ==14834== Releasing lock...
[2025-01-13 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:35:03] Production.INFO: count ==21
[2025-01-13 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-13 08:35:03] Production.INFO: count ==21
[2025-01-13 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237753') start
[2025-01-13 08:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237753') end
[2025-01-13 08:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:35:03] Production.INFO: 1
[2025-01-13 08:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:35:03] Production.ERROR: done
[2025-01-13 08:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:35:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:35:04] Production.INFO: ==14843== Releasing lock...
[2025-01-13 08:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:35:04] Production.ERROR: done
[2025-01-13 08:35:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:35:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:35:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:35:04] Production.INFO: Total Charge 0
[2025-01-13 08:35:04] Production.INFO: CreateAllLog End
[2025-01-13 08:35:04] Production.INFO: Account Balance End.
[2025-01-13 08:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:35:04
[end_date_ymd] => 2025-01-13 08:35:04
[RateCDR] => 1
)
[2025-01-13 08:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:35:04' and `end` < '2025-01-13 08:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:35:04] Production.INFO: ==14838== Releasing lock...
[2025-01-13 08:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:35:10] Production.ERROR: CronJobId end10
[2025-01-13 08:35:10] Production.INFO: ==14836== Releasing lock...
[2025-01-13 08:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:35:13] Production.INFO: call_cost start
[2025-01-13 08:35:13] Production.INFO: call_cost end
[2025-01-13 08:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:35:14] Production.INFO: ==14832== Releasing lock...
[2025-01-13 08:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:35:17] Production.INFO: count ==524
[2025-01-13 08:35:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:35:04 - End Time 2025-01-13 08:35:04
[2025-01-13 08:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237754', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237754', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237754', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237754', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:35:17] Production.INFO: ProcessCDR(1,14237754,1,1,2)
[2025-01-13 08:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237754', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237754', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:35:21] Production.INFO: ==14840== Releasing lock...
[2025-01-13 08:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:35:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 13:36:02] Production.INFO: ==14897== Lock acquired, processing the job...
[2025-01-13 13:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:36:02] Production.INFO: neon service started
[2025-01-13 13:36:02] Production.INFO: neon service started
[2025-01-13 13:36:02] Production.INFO: ==14897== Releasing lock...
[2025-01-13 13:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:36:02] Production.INFO: ==14899== Lock acquired, processing the job...
[2025-01-13 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:36:02] Production.INFO: ==14901== Lock acquired, processing the job...
[2025-01-13 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:36:02] Production.INFO: ==14901== Releasing lock...
[2025-01-13 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:36:03] Production.INFO: ==14899== Releasing lock...
[2025-01-13 08:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:36:03] Production.INFO: ==14906== Lock acquired, processing the job...
[2025-01-13 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:36:03] Production.INFO: ==14904== Lock acquired, processing the job...
[2025-01-13 08:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:36:03] Production.INFO: ==14910== Lock acquired, processing the job...
[2025-01-13 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:36:04] Production.INFO: ==14906== Releasing lock...
[2025-01-13 08:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:36:04] Production.INFO: ==14908== Lock acquired, processing the job...
[2025-01-13 08:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:36:04] Production.INFO: Account Balance Start.
[2025-01-13 08:36:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:36:04] Production.INFO: 117
[2025-01-13 08:36:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:36:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:36:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:36:04] Production.INFO: ==14912== Lock acquired, processing the job...
[2025-01-13 08:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:36:04] Production.INFO: ==14914== Lock acquired, processing the job...
[2025-01-13 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:36:04] Production.INFO: Total Charge 0
[2025-01-13 08:36:04] Production.INFO: CreateAllLog End
[2025-01-13 08:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:36:04] Production.INFO: Account Balance End.
[2025-01-13 08:36:04] Production.ERROR: done
[2025-01-13 08:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:36:04] Production.INFO: count ==21
[2025-01-13 08:36:04] Production.INFO: ==14910== Releasing lock...
[2025-01-13 08:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:36:04] Production.INFO: count ==21
[2025-01-13 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237758') start
[2025-01-13 08:36:04] Production.ERROR: done
[2025-01-13 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237758') end
[2025-01-13 08:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:36:04] Production.INFO: 1
[2025-01-13 08:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:36:04] Production.INFO: ==14914== Releasing lock...
[2025-01-13 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:36:05
[end_date_ymd] => 2025-01-13 08:36:05
[RateCDR] => 1
)
[2025-01-13 08:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:36:05' and `end` < '2025-01-13 08:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:36:11] Production.ERROR: CronJobId end10
[2025-01-13 08:36:11] Production.INFO: ==14908== Releasing lock...
[2025-01-13 08:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:36:13] Production.INFO: call_cost start
[2025-01-13 08:36:13] Production.INFO: call_cost end
[2025-01-13 08:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:36:14] Production.INFO: ==14904== Releasing lock...
[2025-01-13 08:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:36:18] Production.INFO: count ==532
[2025-01-13 08:36:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:36:05 - End Time 2025-01-13 08:36:05
[2025-01-13 08:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237759', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237759', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237759', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237759', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:36:18] Production.INFO: ProcessCDR(1,14237759,1,1,2)
[2025-01-13 08:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237759', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237759', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:36:21] Production.INFO: ==14912== Releasing lock...
[2025-01-13 08:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:36:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 13:37:01] Production.INFO: ==14967== Lock acquired, processing the job...
[2025-01-13 13:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:37:01] Production.INFO: neon service started
[2025-01-13 13:37:01] Production.INFO: neon service started
[2025-01-13 13:37:01] Production.INFO: ==14967== Releasing lock...
[2025-01-13 13:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:37:01] Production.INFO: ==14969== Lock acquired, processing the job...
[2025-01-13 08:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:37:02] Production.INFO: ==14969== Releasing lock...
[2025-01-13 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:37:02] Production.INFO: ==14971== Lock acquired, processing the job...
[2025-01-13 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:37:02] Production.INFO: ==14971== Releasing lock...
[2025-01-13 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:37:03] Production.INFO: ==14982== Lock acquired, processing the job...
[2025-01-13 08:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:37:03] Production.INFO: ==14984== Lock acquired, processing the job...
[2025-01-13 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:37:03] Production.INFO: ==14974== Lock acquired, processing the job...
[2025-01-13 08:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:37:03] Production.INFO: ==14976== Lock acquired, processing the job...
[2025-01-13 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 08:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:37:03] Production.INFO: ==14978== Lock acquired, processing the job...
[2025-01-13 08:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:37:03] Production.INFO: count ==21
[2025-01-13 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-13 08:37:03] Production.INFO: count ==21
[2025-01-13 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237760') start
[2025-01-13 08:37:03] Production.INFO: ==14980== Lock acquired, processing the job...
[2025-01-13 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:37:03] Production.ERROR: done
[2025-01-13 08:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237760') end
[2025-01-13 08:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:37:03] Production.INFO: 1
[2025-01-13 08:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:37:03] Production.ERROR: done
[2025-01-13 08:37:03] Production.INFO: ==14984== Releasing lock...
[2025-01-13 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:37:03] Production.INFO: Account Balance Start.
[2025-01-13 08:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:37:03] Production.INFO: 117
[2025-01-13 08:37:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:37:04] Production.INFO: ==14976== Releasing lock...
[2025-01-13 08:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:37:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:37:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:37:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:37:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:37:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:37:04] Production.INFO: Total Charge 0
[2025-01-13 08:37:04] Production.INFO: CreateAllLog End
[2025-01-13 08:37:04] Production.INFO: Account Balance End.
[2025-01-13 08:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:37:04] Production.INFO: ==14980== Releasing lock...
[2025-01-13 08:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:37:05
[end_date_ymd] => 2025-01-13 08:37:05
[RateCDR] => 1
)
[2025-01-13 08:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:37:05' and `end` < '2025-01-13 08:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:37:11] Production.ERROR: CronJobId end10
[2025-01-13 08:37:11] Production.INFO: ==14978== Releasing lock...
[2025-01-13 08:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:37:13] Production.INFO: call_cost start
[2025-01-13 08:37:13] Production.INFO: call_cost end
[2025-01-13 08:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:37:14] Production.INFO: ==14974== Releasing lock...
[2025-01-13 08:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:37:18] Production.INFO: count ==545
[2025-01-13 08:37:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:37:05 - End Time 2025-01-13 08:37:05
[2025-01-13 08:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237764', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237764', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237764', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237764', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:37:18] Production.INFO: ProcessCDR(1,14237764,1,1,2)
[2025-01-13 08:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237764', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237764', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:37:21] Production.INFO: ==14982== Releasing lock...
[2025-01-13 08:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:37:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 13:38:02] Production.INFO: ==15040== Lock acquired, processing the job...
[2025-01-13 13:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:38:02] Production.INFO: neon service started
[2025-01-13 13:38:02] Production.INFO: neon service started
[2025-01-13 13:38:02] Production.INFO: ==15040== Releasing lock...
[2025-01-13 13:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:38:02] Production.INFO: ==15042== Lock acquired, processing the job...
[2025-01-13 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:38:02] Production.INFO: ==15042== Releasing lock...
[2025-01-13 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:38:02] Production.INFO: ==15044== Lock acquired, processing the job...
[2025-01-13 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:38:02] Production.INFO: ==15044== Releasing lock...
[2025-01-13 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:38:03] Production.INFO: ==15052== Lock acquired, processing the job...
[2025-01-13 08:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:38:03] Production.INFO: ==15056== Lock acquired, processing the job...
[2025-01-13 08:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:38:03] Production.INFO: Account Balance Start.
[2025-01-13 08:38:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:38:03] Production.INFO: 117
[2025-01-13 08:38:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:38:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:38:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:38:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:38:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:38:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:38:03] Production.INFO: ==15046== Lock acquired, processing the job...
[2025-01-13 08:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:38:03] Production.INFO: Total Charge 0
[2025-01-13 08:38:03] Production.INFO: CreateAllLog End
[2025-01-13 08:38:04] Production.INFO: count ==21
[2025-01-13 08:38:04] Production.INFO: ==15048== Lock acquired, processing the job...
[2025-01-13 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 08:38:04] Production.INFO: count ==21
[2025-01-13 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237766') start
[2025-01-13 08:38:04] Production.INFO: ==15050== Lock acquired, processing the job...
[2025-01-13 08:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:38:04] Production.INFO: ==15054== Lock acquired, processing the job...
[2025-01-13 08:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:38:04] Production.INFO: Account Balance End.
[2025-01-13 08:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:38:04] Production.INFO: ==15052== Releasing lock...
[2025-01-13 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237766') end
[2025-01-13 08:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:38:04] Production.INFO: 1
[2025-01-13 08:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:38:04] Production.INFO: ==15056== Releasing lock...
[2025-01-13 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:38:04] Production.ERROR: done
[2025-01-13 08:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:38:04] Production.INFO: ==15048== Releasing lock...
[2025-01-13 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:38:04] Production.ERROR: done
[2025-01-13 08:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:38:05
[end_date_ymd] => 2025-01-13 08:38:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:38:05' and `end` < '2025-01-13 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-13 08:38:11] Production.ERROR: CronJobId end10
[2025-01-13 08:38:11] Production.INFO: ==15050== Releasing lock...
[2025-01-13 08:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:38:13] Production.INFO: call_cost start
[2025-01-13 08:38:13] Production.INFO: call_cost end
[2025-01-13 08:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:38:14] Production.INFO: ==15046== Releasing lock...
[2025-01-13 08:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:38:18] Production.INFO: count ==545
[2025-01-13 08:38:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:38:05 - End Time 2025-01-13 08:38:05
[2025-01-13 08:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237769', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237769', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237769', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237769', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:38:18] Production.INFO: ProcessCDR(1,14237769,1,1,2)
[2025-01-13 08:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237769', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237769', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:38:21] Production.INFO: ==15054== Releasing lock...
[2025-01-13 08:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:38:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-13 13:39:01] Production.INFO: ==15109== Lock acquired, processing the job...
[2025-01-13 13:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:39:01] Production.INFO: neon service started
[2025-01-13 13:39:01] Production.INFO: neon service started
[2025-01-13 13:39:01] Production.INFO: ==15109== Releasing lock...
[2025-01-13 13:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:39:02] Production.INFO: ==15111== Lock acquired, processing the job...
[2025-01-13 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:39:02] Production.INFO: ==15113== Lock acquired, processing the job...
[2025-01-13 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:39:02] Production.INFO: ==15113== Releasing lock...
[2025-01-13 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:39:02] Production.INFO: ==15111== Releasing lock...
[2025-01-13 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:39:03] Production.INFO: ==15120== Lock acquired, processing the job...
[2025-01-13 08:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:39:03] Production.INFO: ==15116== Lock acquired, processing the job...
[2025-01-13 08:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:39:03] Production.INFO: ==15118== Lock acquired, processing the job...
[2025-01-13 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:39:03] Production.INFO: ==15122== Lock acquired, processing the job...
[2025-01-13 08:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:39:03] Production.INFO: Account Balance Start.
[2025-01-13 08:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:39:03] Production.INFO: 117
[2025-01-13 08:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:39:03] Production.INFO: ==15124== Lock acquired, processing the job...
[2025-01-13 08:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:39:03] Production.INFO: ==15126== Lock acquired, processing the job...
[2025-01-13 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:39:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:39:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:39:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:39:03] Production.INFO: count ==21
[2025-01-13 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-13 08:39:03] Production.INFO: count ==21
[2025-01-13 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237773') start
[2025-01-13 08:39:03] Production.INFO: ==15118== Releasing lock...
[2025-01-13 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237773') end
[2025-01-13 08:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:39:04] Production.INFO: 1
[2025-01-13 08:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:39:04] Production.INFO: Total Charge 0
[2025-01-13 08:39:04] Production.INFO: CreateAllLog End
[2025-01-13 08:39:04] Production.INFO: ==15126== Releasing lock...
[2025-01-13 08:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:39:04] Production.ERROR: done
[2025-01-13 08:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:39:04] Production.INFO: Account Balance End.
[2025-01-13 08:39:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:39:04] Production.INFO: ==15122== Releasing lock...
[2025-01-13 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:39:04] Production.ERROR: done
[2025-01-13 08:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:39:05
[end_date_ymd] => 2025-01-13 08:39:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:39:05' and `end` < '2025-01-13 08:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:39:11] Production.ERROR: CronJobId end10
[2025-01-13 08:39:11] Production.INFO: ==15120== Releasing lock...
[2025-01-13 08:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:39:13] Production.INFO: call_cost start
[2025-01-13 08:39:13] Production.INFO: call_cost end
[2025-01-13 08:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:39:14] Production.INFO: ==15116== Releasing lock...
[2025-01-13 08:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:39:17] Production.INFO: count ==554
[2025-01-13 08:39:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:39:05 - End Time 2025-01-13 08:39:05
[2025-01-13 08:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237774', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237774', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237774', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237774', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:39:17] Production.INFO: ProcessCDR(1,14237774,1,1,2)
[2025-01-13 08:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237774', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237774', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:39:21] Production.INFO: ==15124== Releasing lock...
[2025-01-13 08:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:39:21] Production.INFO: 33 MB #Memory Used#
[2025-01-13 13:40:02] Production.INFO: ==15184== Lock acquired, processing the job...
[2025-01-13 13:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:40:02] Production.INFO: neon service started
[2025-01-13 13:40:02] Production.INFO: neon service started
[2025-01-13 13:40:02] Production.INFO: ==15184== Releasing lock...
[2025-01-13 13:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:40:02] Production.INFO: ==15186== Lock acquired, processing the job...
[2025-01-13 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:40:02] Production.INFO: ==15188== Lock acquired, processing the job...
[2025-01-13 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:40:02] Production.INFO: ==15186== Releasing lock...
[2025-01-13 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:40:03] Production.INFO: ==15188== Releasing lock...
[2025-01-13 13:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:40:03] Production.INFO: ==15190== Lock acquired, processing the job...
[2025-01-13 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 08:40:03] Production.INFO: ==15196== Lock acquired, processing the job...
[2025-01-13 08:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:40:03] Production.INFO: ==15192== Lock acquired, processing the job...
[2025-01-13 08:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:40:03] Production.INFO: ==15194== Lock acquired, processing the job...
[2025-01-13 08:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 08:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 08:40:03] Production.ERROR: CronJob PID - 15192
[2025-01-13 08:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 08:40:03] Production.ERROR: CronJob ID - 5
[2025-01-13 08:40:03] Production.ERROR: CronJob Last Run Time 2025-01-13 08:40:00
[2025-01-13 08:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 08:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 08:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 08:40:03] Production.ERROR: CronJob PID - 15194
[2025-01-13 08:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 08:40:03] Production.ERROR: CronJob ID - 7
[2025-01-13 08:40:03] Production.ERROR: CronJob Last Run Time 2025-01-13 08:40:00
[2025-01-13 08:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 08:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 08:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 08:40:03] Production.ERROR: CronJob PID - 15196
[2025-01-13 08:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 08:40:03] Production.ERROR: CronJob ID - 10
[2025-01-13 08:40:03] Production.ERROR: CronJob Last Run Time 2025-01-13 08:40:00
[2025-01-13 08:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 08:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 08:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 08:40:04] Production.INFO: ==15190== Releasing lock...
[2025-01-13 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 08:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 08:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:40:04] Production.INFO: ==15198== Lock acquired, processing the job...
[2025-01-13 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:40:04] Production.INFO: ==15194== Releasing lock...
[2025-01-13 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:40:04] Production.INFO: ==15205== Lock acquired, processing the job...
[2025-01-13 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:40:04] Production.INFO: ==15200== Lock acquired, processing the job...
[2025-01-13 08:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:40:04] Production.INFO: Account Balance Start.
[2025-01-13 08:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:40:04] Production.INFO: 117
[2025-01-13 08:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:40:04] Production.INFO: ==15203== Lock acquired, processing the job...
[2025-01-13 08:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 08:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:40:04] Production.INFO: count ==21
[2025-01-13 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-13 08:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:40:04] Production.INFO: count ==21
[2025-01-13 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237778') start
[2025-01-13 08:40:04] Production.INFO: Total Charge 0
[2025-01-13 08:40:04] Production.INFO: CreateAllLog End
[2025-01-13 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237778') end
[2025-01-13 08:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:40:04] Production.INFO: 1
[2025-01-13 08:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:40:04] Production.INFO: ==15205== Releasing lock...
[2025-01-13 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:40:04] Production.INFO: Account Balance End.
[2025-01-13 08:40:04] Production.ERROR: done
[2025-01-13 08:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:40:05] Production.ERROR: done
[2025-01-13 08:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 08:40:05] Production.INFO: ==15198== Releasing lock...
[2025-01-13 08:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 08:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237779', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 08:40:05] Production.ERROR: done
[2025-01-13 08:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:40:06
[end_date_ymd] => 2025-01-13 08:40:06
[RateCDR] => 1
)
[2025-01-13 08:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:40:06' and `end` < '2025-01-13 08:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237779', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 08:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 08:40:09] Production.INFO: ProcessCDR(1,14237779,1,1,2)
[2025-01-13 08:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237779,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237779,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:40:09] Production.INFO: ==15203== Releasing lock...
[2025-01-13 08:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 08:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 08:40:13] Production.ERROR: CronJobId end10
[2025-01-13 08:40:13] Production.INFO: ==15196== Releasing lock...
[2025-01-13 08:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:40:15] Production.INFO: call_cost start
[2025-01-13 08:40:15] Production.INFO: call_cost end
[2025-01-13 08:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:40:16] Production.INFO: ==15192== Releasing lock...
[2025-01-13 08:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:40:18] Production.INFO: count ==582
[2025-01-13 08:40:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:40:06 - End Time 2025-01-13 08:40:06
[2025-01-13 08:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237780', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237780', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237780', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237780', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:40:18] Production.INFO: ProcessCDR(1,14237780,1,1,2)
[2025-01-13 08:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237780', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237780', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:40:21] Production.INFO: ==15200== Releasing lock...
[2025-01-13 08:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:40:21] Production.INFO: 33 MB #Memory Used#
[2025-01-13 13:41:01] Production.INFO: ==15262== Lock acquired, processing the job...
[2025-01-13 13:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:41:01] Production.INFO: neon service started
[2025-01-13 13:41:01] Production.INFO: neon service started
[2025-01-13 13:41:01] Production.INFO: ==15262== Releasing lock...
[2025-01-13 13:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:41:02] Production.INFO: ==15264== Lock acquired, processing the job...
[2025-01-13 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:41:02] Production.INFO: ==15266== Lock acquired, processing the job...
[2025-01-13 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:41:02] Production.INFO: ==15266== Releasing lock...
[2025-01-13 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:41:02] Production.INFO: ==15264== Releasing lock...
[2025-01-13 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:41:03] Production.INFO: ==15271== Lock acquired, processing the job...
[2025-01-13 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:41:03] Production.INFO: ==15273== Lock acquired, processing the job...
[2025-01-13 08:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:41:03] Production.INFO: ==15269== Lock acquired, processing the job...
[2025-01-13 08:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:41:03] Production.INFO: ==15275== Lock acquired, processing the job...
[2025-01-13 08:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:41:03] Production.INFO: ==15277== Lock acquired, processing the job...
[2025-01-13 08:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:41:03] Production.INFO: ==15271== Releasing lock...
[2025-01-13 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:41:03] Production.INFO: Account Balance Start.
[2025-01-13 08:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:41:03] Production.INFO: 117
[2025-01-13 08:41:03] Production.INFO: ==15279== Lock acquired, processing the job...
[2025-01-13 08:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:41:03] Production.INFO: count ==21
[2025-01-13 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-13 08:41:03] Production.INFO: count ==21
[2025-01-13 08:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237784') start
[2025-01-13 08:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:41:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237784') end
[2025-01-13 08:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:41:04] Production.INFO: 1
[2025-01-13 08:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:41:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:41:04] Production.INFO: Total Charge 0
[2025-01-13 08:41:04] Production.INFO: CreateAllLog End
[2025-01-13 08:41:04] Production.INFO: ==15279== Releasing lock...
[2025-01-13 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:41:04] Production.ERROR: done
[2025-01-13 08:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:41:04] Production.INFO: Account Balance End.
[2025-01-13 08:41:04] Production.ERROR: done
[2025-01-13 08:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:41:04] Production.INFO: ==15275== Releasing lock...
[2025-01-13 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:41:05
[end_date_ymd] => 2025-01-13 08:41:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:41:05' and `end` < '2025-01-13 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-13 08:41:11] Production.ERROR: CronJobId end10
[2025-01-13 08:41:11] Production.INFO: ==15273== Releasing lock...
[2025-01-13 08:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:41:13] Production.INFO: call_cost start
[2025-01-13 08:41:13] Production.INFO: call_cost end
[2025-01-13 08:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:41:14] Production.INFO: ==15269== Releasing lock...
[2025-01-13 08:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:41:17] Production.INFO: count ==622
[2025-01-13 08:41:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:41:05 - End Time 2025-01-13 08:41:05
[2025-01-13 08:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237785', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237785', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237785', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237785', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:41:18] Production.INFO: ProcessCDR(1,14237785,1,1,2)
[2025-01-13 08:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237785', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237785', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:41:22] Production.INFO: ==15277== Releasing lock...
[2025-01-13 08:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:41:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-13 13:42:01] Production.INFO: ==15332== Lock acquired, processing the job...
[2025-01-13 13:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:42:02] Production.INFO: neon service started
[2025-01-13 13:42:02] Production.INFO: neon service started
[2025-01-13 13:42:02] Production.INFO: ==15332== Releasing lock...
[2025-01-13 13:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:42:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 08:42:02] Production.INFO: ==15334== Lock acquired, processing the job...
[2025-01-13 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:42:02] Production.INFO: ==15336== Lock acquired, processing the job...
[2025-01-13 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:42:02] Production.INFO: ==15334== Releasing lock...
[2025-01-13 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:42:02] Production.INFO: ==15336== Releasing lock...
[2025-01-13 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:42:03] Production.INFO: ==15345== Lock acquired, processing the job...
[2025-01-13 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:42:03] Production.INFO: ==15339== Lock acquired, processing the job...
[2025-01-13 08:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:42:03] Production.INFO: ==15347== Lock acquired, processing the job...
[2025-01-13 08:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:42:03] Production.INFO: Account Balance Start.
[2025-01-13 08:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:42:03] Production.INFO: 117
[2025-01-13 08:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:42:03] Production.INFO: ==15341== Lock acquired, processing the job...
[2025-01-13 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:42:03] Production.INFO: ==15343== Lock acquired, processing the job...
[2025-01-13 08:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:42:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:42:03] Production.INFO: ==15349== Lock acquired, processing the job...
[2025-01-13 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:42:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:42:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:42:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:42:04] Production.INFO: Total Charge 0
[2025-01-13 08:42:04] Production.INFO: count ==21
[2025-01-13 08:42:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 08:42:04] Production.INFO: count ==21
[2025-01-13 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237788') start
[2025-01-13 08:42:04] Production.ERROR: done
[2025-01-13 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237788') end
[2025-01-13 08:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:42:04] Production.INFO: 1
[2025-01-13 08:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:42:04] Production.INFO: ==15341== Releasing lock...
[2025-01-13 08:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:42:04] Production.INFO: ==15349== Releasing lock...
[2025-01-13 08:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:42:04] Production.INFO: Account Balance End.
[2025-01-13 08:42:04] Production.ERROR: done
[2025-01-13 08:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:42:04] Production.INFO: ==15345== Releasing lock...
[2025-01-13 08:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:42:05
[end_date_ymd] => 2025-01-13 08:42:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:42:05' and `end` < '2025-01-13 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-13 08:42:11] Production.ERROR: CronJobId end10
[2025-01-13 08:42:11] Production.INFO: ==15343== Releasing lock...
[2025-01-13 08:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:42:13] Production.INFO: call_cost start
[2025-01-13 08:42:13] Production.INFO: call_cost end
[2025-01-13 08:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:42:14] Production.INFO: ==15339== Releasing lock...
[2025-01-13 08:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:42:18] Production.INFO: count ==640
[2025-01-13 08:42:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:42:05 - End Time 2025-01-13 08:42:05
[2025-01-13 08:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237790', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237790', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237790', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237790', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:42:18] Production.INFO: ProcessCDR(1,14237790,1,1,2)
[2025-01-13 08:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237790', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237790', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:42:21] Production.INFO: ==15347== Releasing lock...
[2025-01-13 08:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:42:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-13 13:43:01] Production.INFO: ==15402== Lock acquired, processing the job...
[2025-01-13 13:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:43:01] Production.INFO: neon service started
[2025-01-13 13:43:01] Production.INFO: neon service started
[2025-01-13 13:43:01] Production.INFO: ==15402== Releasing lock...
[2025-01-13 13:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:43:02] Production.INFO: ==15407== Lock acquired, processing the job...
[2025-01-13 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:43:02] Production.INFO: ==15407== Releasing lock...
[2025-01-13 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:43:02] Production.INFO: ==15405== Lock acquired, processing the job...
[2025-01-13 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:43:02] Production.INFO: ==15405== Releasing lock...
[2025-01-13 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:43:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:43:03] Production.INFO: ==15413== Lock acquired, processing the job...
[2025-01-13 08:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:43:03] Production.INFO: ==15409== Lock acquired, processing the job...
[2025-01-13 08:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:43:03] Production.INFO: ==15419== Lock acquired, processing the job...
[2025-01-13 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:43:03] Production.INFO: ==15411== Lock acquired, processing the job...
[2025-01-13 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:43:03] Production.INFO: ==15415== Lock acquired, processing the job...
[2025-01-13 08:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:43:03] Production.INFO: ==15417== Lock acquired, processing the job...
[2025-01-13 08:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:43:03] Production.INFO: Account Balance Start.
[2025-01-13 08:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:43:03] Production.INFO: 117
[2025-01-13 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-13 08:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:43:03] Production.INFO: count ==21
[2025-01-13 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-13 08:43:03] Production.INFO: count ==21
[2025-01-13 08:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237793') start
[2025-01-13 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:43:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:43:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:43:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:43:03] Production.INFO: Total Charge 0
[2025-01-13 08:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237793') end
[2025-01-13 08:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:43:03] Production.INFO: 1
[2025-01-13 08:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:43:03] Production.INFO: CreateAllLog End
[2025-01-13 08:43:03] Production.INFO: ==15411== Releasing lock...
[2025-01-13 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:43:03] Production.INFO: ==15419== Releasing lock...
[2025-01-13 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:43:03] Production.ERROR: done
[2025-01-13 08:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:43:04] Production.ERROR: done
[2025-01-13 08:43:04] Production.INFO: Account Balance End.
[2025-01-13 08:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:43:04] Production.INFO: ==15415== Releasing lock...
[2025-01-13 08:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:43:05
[end_date_ymd] => 2025-01-13 08:43:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:43:05' and `end` < '2025-01-13 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-13 08:43:11] Production.ERROR: CronJobId end10
[2025-01-13 08:43:11] Production.INFO: ==15413== Releasing lock...
[2025-01-13 08:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:43:13] Production.INFO: call_cost start
[2025-01-13 08:43:13] Production.INFO: call_cost end
[2025-01-13 08:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:43:13] Production.INFO: ==15409== Releasing lock...
[2025-01-13 08:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:43:17] Production.INFO: count ==642
[2025-01-13 08:43:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:43:05 - End Time 2025-01-13 08:43:05
[2025-01-13 08:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237795', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237795', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237795', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237795', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:43:17] Production.INFO: ProcessCDR(1,14237795,1,1,2)
[2025-01-13 08:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237795', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237795', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:43:21] Production.INFO: ==15417== Releasing lock...
[2025-01-13 08:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:43:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-13 13:44:02] Production.INFO: ==15474== Lock acquired, processing the job...
[2025-01-13 13:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:44:02] Production.INFO: neon service started
[2025-01-13 13:44:02] Production.INFO: neon service started
[2025-01-13 13:44:02] Production.INFO: ==15474== Releasing lock...
[2025-01-13 13:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:44:02] Production.INFO: ==15476== Lock acquired, processing the job...
[2025-01-13 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:44:03] Production.INFO: ==15476== Releasing lock...
[2025-01-13 08:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:44:03] Production.INFO: ==15478== Lock acquired, processing the job...
[2025-01-13 13:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:44:03] Production.INFO: ==15478== Releasing lock...
[2025-01-13 13:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:44:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:44:03] Production.INFO: ==15485== Lock acquired, processing the job...
[2025-01-13 08:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:44:04] Production.INFO: ==15481== Lock acquired, processing the job...
[2025-01-13 08:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:44:04] Production.INFO: ==15483== Lock acquired, processing the job...
[2025-01-13 08:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:44:04] Production.INFO: ==15487== Lock acquired, processing the job...
[2025-01-13 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:44:04] Production.INFO: ==15489== Lock acquired, processing the job...
[2025-01-13 08:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:44:04] Production.INFO: ==15491== Lock acquired, processing the job...
[2025-01-13 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:44:04] Production.INFO: Account Balance Start.
[2025-01-13 08:44:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:44:04] Production.INFO: 117
[2025-01-13 08:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:44:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:44:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:44:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:44:04] Production.INFO: ==15483== Releasing lock...
[2025-01-13 08:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:44:04] Production.INFO: count ==21
[2025-01-13 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-13 08:44:04] Production.INFO: count ==21
[2025-01-13 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237799') start
[2025-01-13 08:44:04] Production.ERROR: done
[2025-01-13 08:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:44:04] Production.INFO: Total Charge 0
[2025-01-13 08:44:04] Production.INFO: CreateAllLog End
[2025-01-13 08:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14237799') end
[2025-01-13 08:44:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:44:05] Production.INFO: 1
[2025-01-13 08:44:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:44:05] Production.INFO: ==15491== Releasing lock...
[2025-01-13 08:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:44:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:44:05] Production.ERROR: done
[2025-01-13 08:44:05] Production.INFO: Account Balance End.
[2025-01-13 08:44:05] Production.ERROR: CronJobId end 12
[2025-01-13 08:44:05] Production.INFO: ==15487== Releasing lock...
[2025-01-13 08:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:44:06
[end_date_ymd] => 2025-01-13 08:44:06
[RateCDR] => 1
)
[2025-01-13 08: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-13 05:44:06' and `end` < '2025-01-13 08: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-13 08:44:11] Production.ERROR: CronJobId end10
[2025-01-13 08:44:11] Production.INFO: ==15485== Releasing lock...
[2025-01-13 08:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:44:14] Production.INFO: call_cost start
[2025-01-13 08:44:14] Production.INFO: call_cost end
[2025-01-13 08:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:44:15] Production.INFO: ==15481== Releasing lock...
[2025-01-13 08:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:44:19] Production.INFO: count ==643
[2025-01-13 08:44:19] Production.ERROR: pbx CDR StartTime 2025-01-13 05:44:06 - End Time 2025-01-13 08:44:06
[2025-01-13 08:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237800', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237800', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237800', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237800', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:44:19] Production.INFO: ProcessCDR(1,14237800,1,1,2)
[2025-01-13 08:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237800', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237800', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:44:23] Production.INFO: ==15489== Releasing lock...
[2025-01-13 08:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:44:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-13 13:45:02] Production.INFO: ==15544== Lock acquired, processing the job...
[2025-01-13 13:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:45:02] Production.INFO: neon service started
[2025-01-13 13:45:02] Production.INFO: neon service started
[2025-01-13 13:45:02] Production.INFO: ==15544== Releasing lock...
[2025-01-13 13:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:45:02] Production.INFO: ==15546== Lock acquired, processing the job...
[2025-01-13 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:45:02] Production.INFO: ==15548== Lock acquired, processing the job...
[2025-01-13 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:45:02] Production.INFO: ==15548== Releasing lock...
[2025-01-13 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:45:03] Production.INFO: ==15546== Releasing lock...
[2025-01-13 08:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:45:03] Production.INFO: ==15551== Lock acquired, processing the job...
[2025-01-13 08:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:45:03] Production.INFO: ==15553== Lock acquired, processing the job...
[2025-01-13 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:45:04] Production.INFO: ==15557== Lock acquired, processing the job...
[2025-01-13 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:45:04] Production.INFO: Account Balance Start.
[2025-01-13 08:45:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:45:04] Production.INFO: 117
[2025-01-13 08:45:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:45:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:45:04] Production.INFO: ==15555== Lock acquired, processing the job...
[2025-01-13 08:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:45:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:45:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:45:04] Production.INFO: ==15559== Lock acquired, processing the job...
[2025-01-13 08:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:45:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:45:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:45:04] Production.INFO: ==15553== Releasing lock...
[2025-01-13 08:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:45:04] Production.INFO: ==15561== Lock acquired, processing the job...
[2025-01-13 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:45:04] Production.INFO: Total Charge 0
[2025-01-13 08:45:04] Production.INFO: CreateAllLog End
[2025-01-13 08:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:45:04] Production.INFO: Account Balance End.
[2025-01-13 08:45:04] Production.INFO: count ==21
[2025-01-13 08:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:45:04] Production.INFO: ==15557== Releasing lock...
[2025-01-13 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:45:04] Production.INFO: count ==21
[2025-01-13 08:45:04] Production.ERROR: done
[2025-01-13 08:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237804') start
[2025-01-13 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237804') end
[2025-01-13 08:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:45:04] Production.INFO: 1
[2025-01-13 08:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:45:04] Production.INFO: ==15561== Releasing lock...
[2025-01-13 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:45:05] Production.ERROR: done
[2025-01-13 08:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:45:06
[end_date_ymd] => 2025-01-13 08:45:06
[RateCDR] => 1
)
[2025-01-13 08:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:45:06' and `end` < '2025-01-13 08:45:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:45:11] Production.ERROR: CronJobId end10
[2025-01-13 08:45:11] Production.INFO: ==15555== Releasing lock...
[2025-01-13 08:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:45:14] Production.INFO: call_cost start
[2025-01-13 08:45:14] Production.INFO: call_cost end
[2025-01-13 08:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:45:14] Production.INFO: ==15551== Releasing lock...
[2025-01-13 08:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:45:18] Production.INFO: count ==644
[2025-01-13 08:45:19] Production.ERROR: pbx CDR StartTime 2025-01-13 05:45:06 - End Time 2025-01-13 08:45:06
[2025-01-13 08:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237805', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237805', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237805', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237805', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:45:19] Production.INFO: ProcessCDR(1,14237805,1,1,2)
[2025-01-13 08:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237805', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237805', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:45:23] Production.INFO: ==15559== Releasing lock...
[2025-01-13 08:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:45:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-13 13:46:01] Production.INFO: ==15614== Lock acquired, processing the job...
[2025-01-13 13:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:46:01] Production.INFO: neon service started
[2025-01-13 13:46:01] Production.INFO: neon service started
[2025-01-13 13:46:01] Production.INFO: ==15614== Releasing lock...
[2025-01-13 13:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:46:02] Production.INFO: ==15616== Lock acquired, processing the job...
[2025-01-13 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:46:02] Production.INFO: ==15618== Lock acquired, processing the job...
[2025-01-13 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:46:02] Production.INFO: ==15618== Releasing lock...
[2025-01-13 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:46:02] Production.INFO: ==15616== Releasing lock...
[2025-01-13 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:46:03] Production.INFO: ==15620== Lock acquired, processing the job...
[2025-01-13 08:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:46:03] Production.INFO: ==15623== Lock acquired, processing the job...
[2025-01-13 08:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:46:03] Production.INFO: ==15625== Lock acquired, processing the job...
[2025-01-13 08:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:46:03] Production.INFO: ==15631== Lock acquired, processing the job...
[2025-01-13 08:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:46:03] Production.INFO: ==15627== Lock acquired, processing the job...
[2025-01-13 08:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:46:03] Production.INFO: ==15629== Lock acquired, processing the job...
[2025-01-13 08:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:46:03] Production.INFO: ==15623== Releasing lock...
[2025-01-13 08:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:46:03] Production.INFO: Account Balance Start.
[2025-01-13 08:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:46:03] Production.INFO: 117
[2025-01-13 08:46:03] Production.INFO: count ==21
[2025-01-13 08:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:46:03] Production.INFO: count ==21
[2025-01-13 08:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237808') start
[2025-01-13 08:46:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237808') end
[2025-01-13 08:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:46:04] Production.INFO: 1
[2025-01-13 08:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:46:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:46:04] Production.ERROR: done
[2025-01-13 08:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:46:04] Production.INFO: ==15631== Releasing lock...
[2025-01-13 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:46:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:46:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:46:04] Production.ERROR: done
[2025-01-13 08:46:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:46:04] Production.INFO: Total Charge 0
[2025-01-13 08:46:04] Production.INFO: CreateAllLog End
[2025-01-13 08:46:04] Production.INFO: Account Balance End.
[2025-01-13 08:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:46:04] Production.INFO: ==15627== Releasing lock...
[2025-01-13 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:46:05
[end_date_ymd] => 2025-01-13 08:46:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:46:05' and `end` < '2025-01-13 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-13 08:46:11] Production.ERROR: CronJobId end10
[2025-01-13 08:46:11] Production.INFO: ==15625== Releasing lock...
[2025-01-13 08:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:46:14] Production.INFO: call_cost start
[2025-01-13 08:46:14] Production.INFO: call_cost end
[2025-01-13 08:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:46:15] Production.INFO: ==15620== Releasing lock...
[2025-01-13 08:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:46:18] Production.INFO: count ==648
[2025-01-13 08:46:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:46:05 - End Time 2025-01-13 08:46:05
[2025-01-13 08:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237810', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237810', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237810', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237810', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:46:18] Production.INFO: ProcessCDR(1,14237810,1,1,2)
[2025-01-13 08:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237810', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237810', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:46:23] Production.INFO: ==15629== Releasing lock...
[2025-01-13 08:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:46:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-13 13:47:01] Production.INFO: ==15724== Lock acquired, processing the job...
[2025-01-13 13:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:47:02] Production.INFO: neon service started
[2025-01-13 13:47:02] Production.INFO: neon service started
[2025-01-13 13:47:02] Production.INFO: ==15724== Releasing lock...
[2025-01-13 13:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:47:02] Production.INFO: ==15726== Lock acquired, processing the job...
[2025-01-13 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:47:02] Production.INFO: ==15726== Releasing lock...
[2025-01-13 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:47:02] Production.INFO: ==15728== Lock acquired, processing the job...
[2025-01-13 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:47:02] Production.INFO: ==15728== Releasing lock...
[2025-01-13 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:47:03] Production.INFO: ==15736== Lock acquired, processing the job...
[2025-01-13 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:47:03] Production.INFO: ==15738== Lock acquired, processing the job...
[2025-01-13 08:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:47:03] Production.INFO: ==15730== Lock acquired, processing the job...
[2025-01-13 08:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:47:03] Production.INFO: Account Balance Start.
[2025-01-13 08:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:47:03] Production.INFO: 117
[2025-01-13 08:47:03] Production.INFO: ==15732== Lock acquired, processing the job...
[2025-01-13 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:47:03] Production.INFO: ==15734== Lock acquired, processing the job...
[2025-01-13 08:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:47:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:47:03] Production.INFO: ==15740== Lock acquired, processing the job...
[2025-01-13 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:47:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:47:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:47:03] Production.ERROR: done
[2025-01-13 08:47:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:47:03] Production.INFO: count ==21
[2025-01-13 08:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:47:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:47:04] Production.INFO: count ==21
[2025-01-13 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237813') start
[2025-01-13 08:47:04] Production.ERROR: done
[2025-01-13 08:47:04] Production.INFO: Total Charge 0
[2025-01-13 08:47:04] Production.INFO: CreateAllLog End
[2025-01-13 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237813') end
[2025-01-13 08:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:47:04] Production.INFO: 1
[2025-01-13 08:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:47:04] Production.INFO: ==15740== Releasing lock...
[2025-01-13 08:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:47:04] Production.INFO: ==15732== Releasing lock...
[2025-01-13 08:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:47:04] Production.INFO: Account Balance End.
[2025-01-13 08:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:47:04] Production.INFO: ==15736== Releasing lock...
[2025-01-13 08:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:47:05
[end_date_ymd] => 2025-01-13 08:47:05
[RateCDR] => 1
)
[2025-01-13 08:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:47:05' and `end` < '2025-01-13 08:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:47:13] Production.ERROR: CronJobId end10
[2025-01-13 08:47:13] Production.INFO: ==15734== Releasing lock...
[2025-01-13 08:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:47:13] Production.INFO: call_cost start
[2025-01-13 08:47:13] Production.INFO: call_cost end
[2025-01-13 08:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:47:14] Production.INFO: ==15730== Releasing lock...
[2025-01-13 08:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:47:17] Production.INFO: count ==668
[2025-01-13 08:47:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:47:05 - End Time 2025-01-13 08:47:05
[2025-01-13 08:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237815', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237815', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237815', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237815', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:47:17] Production.INFO: ProcessCDR(1,14237815,1,1,2)
[2025-01-13 08:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237815', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237815', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:47:21] Production.INFO: ==15738== Releasing lock...
[2025-01-13 08:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:47:21] Production.INFO: 34 MB #Memory Used#
[2025-01-13 13:48:01] Production.INFO: ==15799== Lock acquired, processing the job...
[2025-01-13 13:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:48:01] Production.INFO: neon service started
[2025-01-13 13:48:01] Production.INFO: neon service started
[2025-01-13 13:48:01] Production.INFO: ==15799== Releasing lock...
[2025-01-13 13:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:48:02] Production.INFO: ==15801== Lock acquired, processing the job...
[2025-01-13 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:48:02] Production.INFO: ==15803== Lock acquired, processing the job...
[2025-01-13 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:48:02] Production.INFO: ==15803== Releasing lock...
[2025-01-13 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:48:02] Production.INFO: ==15801== Releasing lock...
[2025-01-13 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:48:03] Production.INFO: ==15806== Lock acquired, processing the job...
[2025-01-13 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:48:03] Production.INFO: ==15808== Lock acquired, processing the job...
[2025-01-13 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:48:03] Production.INFO: ==15814== Lock acquired, processing the job...
[2025-01-13 08:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:48:03] Production.INFO: ==15810== Lock acquired, processing the job...
[2025-01-13 08:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:48:03] Production.INFO: ==15812== Lock acquired, processing the job...
[2025-01-13 08:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:48:03] Production.INFO: ==15816== Lock acquired, processing the job...
[2025-01-13 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:48:03] Production.INFO: ==15808== Releasing lock...
[2025-01-13 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:48:03] Production.INFO: Account Balance Start.
[2025-01-13 08:48:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:48:03] Production.INFO: 117
[2025-01-13 08:48:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:48:03] Production.ERROR: done
[2025-01-13 08:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:48:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:48:03] Production.INFO: count ==21
[2025-01-13 08:48:04] Production.ERROR: done
[2025-01-13 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-13 08:48:04] Production.INFO: count ==21
[2025-01-13 08:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237819') start
[2025-01-13 08:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237819') end
[2025-01-13 08:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:48:04] Production.INFO: 1
[2025-01-13 08:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:48:04] Production.INFO: Total Charge 0
[2025-01-13 08:48:04] Production.INFO: CreateAllLog End
[2025-01-13 08:48:04] Production.INFO: ==15816== Releasing lock...
[2025-01-13 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:48:04] Production.INFO: Account Balance End.
[2025-01-13 08:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:48:04] Production.INFO: ==15812== Releasing lock...
[2025-01-13 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:48:05
[end_date_ymd] => 2025-01-13 08:48:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:48:05' and `end` < '2025-01-13 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-13 08:48:11] Production.ERROR: CronJobId end10
[2025-01-13 08:48:11] Production.INFO: ==15810== Releasing lock...
[2025-01-13 08:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:48:13] Production.INFO: call_cost start
[2025-01-13 08:48:13] Production.INFO: call_cost end
[2025-01-13 08:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:48:14] Production.INFO: ==15806== Releasing lock...
[2025-01-13 08:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:48:17] Production.INFO: count ==675
[2025-01-13 08:48:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:48:05 - End Time 2025-01-13 08:48:05
[2025-01-13 08:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237820', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237820', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237820', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237820', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:48:17] Production.INFO: ProcessCDR(1,14237820,1,1,2)
[2025-01-13 08:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237820', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237820', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:48:22] Production.INFO: ==15814== Releasing lock...
[2025-01-13 08:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:48:22] Production.INFO: 34 MB #Memory Used#
[2025-01-13 13:49:01] Production.INFO: ==15871== Lock acquired, processing the job...
[2025-01-13 13:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:49:01] Production.INFO: neon service started
[2025-01-13 13:49:01] Production.INFO: neon service started
[2025-01-13 13:49:01] Production.INFO: ==15871== Releasing lock...
[2025-01-13 13:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:49:02] Production.INFO: ==15875== Lock acquired, processing the job...
[2025-01-13 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:49:02] Production.INFO: ==15875== Releasing lock...
[2025-01-13 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:49:02] Production.INFO: ==15873== Lock acquired, processing the job...
[2025-01-13 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:49:02] Production.INFO: ==15873== Releasing lock...
[2025-01-13 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:49:03] Production.INFO: ==15879== Lock acquired, processing the job...
[2025-01-13 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:49:03] Production.INFO: ==15881== Lock acquired, processing the job...
[2025-01-13 08:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:49:03] Production.INFO: ==15887== Lock acquired, processing the job...
[2025-01-13 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 08:49:03] Production.INFO: ==15879== Releasing lock...
[2025-01-13 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:49:03] Production.INFO: count ==21
[2025-01-13 08:49:03] Production.INFO: ==15877== Lock acquired, processing the job...
[2025-01-13 08:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 08:49:03] Production.INFO: count ==21
[2025-01-13 08:49:03] Production.INFO: ==15883== Lock acquired, processing the job...
[2025-01-13 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:49:03] Production.INFO: ==15885== Lock acquired, processing the job...
[2025-01-13 08:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237822') start
[2025-01-13 08:49:03] Production.INFO: Account Balance Start.
[2025-01-13 08:49:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:49:03] Production.INFO: 117
[2025-01-13 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237822') end
[2025-01-13 08:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:49:03] Production.INFO: 1
[2025-01-13 08:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:49:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:49:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:49:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:49:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:49:04] Production.INFO: ==15887== Releasing lock...
[2025-01-13 08:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:49:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:49:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:49:04] Production.INFO: Total Charge 0
[2025-01-13 08:49:04] Production.INFO: CreateAllLog End
[2025-01-13 08:49:04] Production.ERROR: done
[2025-01-13 08:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:49:04] Production.ERROR: done
[2025-01-13 08:49:04] Production.INFO: Account Balance End.
[2025-01-13 08:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:49:04] Production.INFO: ==15883== Releasing lock...
[2025-01-13 08:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:49:05
[end_date_ymd] => 2025-01-13 08:49:05
[RateCDR] => 1
)
[2025-01-13 08:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:49:05' and `end` < '2025-01-13 08:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:49:11] Production.ERROR: CronJobId end10
[2025-01-13 08:49:11] Production.INFO: ==15881== Releasing lock...
[2025-01-13 08:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:49:13] Production.INFO: call_cost start
[2025-01-13 08:49:13] Production.INFO: call_cost end
[2025-01-13 08:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:49:14] Production.INFO: ==15877== Releasing lock...
[2025-01-13 08:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:49:18] Production.INFO: count ==687
[2025-01-13 08:49:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:49:05 - End Time 2025-01-13 08:49:05
[2025-01-13 08:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237825', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237825', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237825', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237825', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:49:18] Production.INFO: ProcessCDR(1,14237825,1,1,2)
[2025-01-13 08:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237825', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237825', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:49:23] Production.INFO: ==15885== Releasing lock...
[2025-01-13 08:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:49:23] Production.INFO: 33.75 MB #Memory Used#
[2025-01-13 13:50:02] Production.INFO: ==15945== Lock acquired, processing the job...
[2025-01-13 13:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:50:02] Production.INFO: neon service started
[2025-01-13 13:50:02] Production.INFO: neon service started
[2025-01-13 13:50:02] Production.INFO: ==15945== Releasing lock...
[2025-01-13 13:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:50:02] Production.INFO: ==15947== Lock acquired, processing the job...
[2025-01-13 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:50:03] Production.INFO: ==15949== Lock acquired, processing the job...
[2025-01-13 13:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:50:03] Production.INFO: ==15947== Releasing lock...
[2025-01-13 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:50:03] Production.INFO: ==15949== Releasing lock...
[2025-01-13 13:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:50:04] Production.INFO: ==15951== Lock acquired, processing the job...
[2025-01-13 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 08:50:04] Production.INFO: ==15953== Lock acquired, processing the job...
[2025-01-13 08:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 08:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 08:50:04] Production.INFO: ==15951== Releasing lock...
[2025-01-13 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 08:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 08:50:04] Production.INFO: ==15955== Lock acquired, processing the job...
[2025-01-13 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:50:04] Production.INFO: ==15959== Lock acquired, processing the job...
[2025-01-13 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:50:04] Production.INFO: Account Balance Start.
[2025-01-13 08:50:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:50:04] Production.INFO: 117
[2025-01-13 08:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:50:04] Production.INFO: ==15957== Lock acquired, processing the job...
[2025-01-13 08:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:50:04] Production.INFO: ==15955== Releasing lock...
[2025-01-13 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:50:04] Production.INFO: ==15961== Lock acquired, processing the job...
[2025-01-13 08:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:50:04] Production.INFO: Total Charge 0
[2025-01-13 08:50:04] Production.INFO: ==15965== Lock acquired, processing the job...
[2025-01-13 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:50:04] Production.INFO: CreateAllLog End
[2025-01-13 08:50:04] Production.INFO: ==15963== Lock acquired, processing the job...
[2025-01-13 08:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 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-13 08:50:04] Production.INFO: count ==21
[2025-01-13 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 08:50:04] Production.INFO: count ==21
[2025-01-13 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237829') start
[2025-01-13 08:50:05] Production.ERROR: done
[2025-01-13 08:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14237829') end
[2025-01-13 08:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:50:05] Production.INFO: 1
[2025-01-13 08:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:50:05] Production.INFO: ==15965== Releasing lock...
[2025-01-13 08:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:50:05] Production.ERROR: done
[2025-01-13 08:50:05] Production.INFO: Account Balance End.
[2025-01-13 08:50:05] Production.ERROR: done
[2025-01-13 08:50:05] Production.ERROR: CronJobId end 12
[2025-01-13 08:50:05] Production.INFO: ==15959== Releasing lock...
[2025-01-13 08:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 08:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237831', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 08:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:50:06
[end_date_ymd] => 2025-01-13 08:50:06
[RateCDR] => 1
)
[2025-01-13 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-13 05:50:06' and `end` < '2025-01-13 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-13 08:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237831', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 08:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 08:50:09] Production.INFO: ProcessCDR(1,14237831,1,1,2)
[2025-01-13 08:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237831,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237831,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:50:09] Production.INFO: ==15963== Releasing lock...
[2025-01-13 08:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 08:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 08:50:15] Production.ERROR: CronJobId end10
[2025-01-13 08:50:15] Production.INFO: ==15957== Releasing lock...
[2025-01-13 08:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:50:16] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:50:16] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:50:16] Production.INFO: call_cost start
[2025-01-13 08:50:16] Production.INFO: call_cost end
[2025-01-13 08:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:50:17] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:50:17] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:50:17] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:50:17] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:50:17] Production.INFO: ==15953== Releasing lock...
[2025-01-13 08:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:50:19] Production.INFO: count ==701
[2025-01-13 08:50:19] Production.ERROR: pbx CDR StartTime 2025-01-13 05:50:06 - End Time 2025-01-13 08:50:06
[2025-01-13 08:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237830', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237830', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237830', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237830', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:50:19] Production.INFO: ProcessCDR(1,14237830,1,1,2)
[2025-01-13 08:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237830', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237830', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:50:22] Production.INFO: ==15961== Releasing lock...
[2025-01-13 08:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:50:22] Production.INFO: 34 MB #Memory Used#
[2025-01-13 13:51:01] Production.INFO: ==16019== Lock acquired, processing the job...
[2025-01-13 13:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:51:01] Production.INFO: neon service started
[2025-01-13 13:51:01] Production.INFO: neon service started
[2025-01-13 13:51:01] Production.INFO: ==16019== Releasing lock...
[2025-01-13 13:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:51:02] Production.INFO: ==16021== Lock acquired, processing the job...
[2025-01-13 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:51:02] Production.INFO: ==16023== Lock acquired, processing the job...
[2025-01-13 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:51:02] Production.INFO: ==16021== Releasing lock...
[2025-01-13 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:51:02] Production.INFO: ==16023== Releasing lock...
[2025-01-13 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:51:03] Production.INFO: ==16026== Lock acquired, processing the job...
[2025-01-13 08:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:51:03] Production.INFO: ==16032== Lock acquired, processing the job...
[2025-01-13 08:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:51:03] Production.INFO: ==16028== Lock acquired, processing the job...
[2025-01-13 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:51:03] Production.INFO: ==16036== Lock acquired, processing the job...
[2025-01-13 08:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:51:03] Production.INFO: Account Balance Start.
[2025-01-13 08:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:51:03] Production.INFO: 117
[2025-01-13 08:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:51:03] Production.INFO: ==16030== Lock acquired, processing the job...
[2025-01-13 08:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:51:03] Production.INFO: count ==21
[2025-01-13 08:51:03] Production.INFO: ==16034== Lock acquired, processing the job...
[2025-01-13 08:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 08:51:03] Production.INFO: count ==21
[2025-01-13 08:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237835') start
[2025-01-13 08:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:51:03] Production.INFO: ==16028== Releasing lock...
[2025-01-13 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237835') end
[2025-01-13 08:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:51:03] Production.INFO: 1
[2025-01-13 08:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:51:04] Production.INFO: ==16036== Releasing lock...
[2025-01-13 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:51:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:51:04] Production.ERROR: done
[2025-01-13 08:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:51:04] Production.ERROR: done
[2025-01-13 08:51:04] Production.INFO: Total Charge 0
[2025-01-13 08:51:04] Production.INFO: CreateAllLog End
[2025-01-13 08:51:04] Production.INFO: Account Balance End.
[2025-01-13 08:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:51:04] Production.INFO: ==16032== Releasing lock...
[2025-01-13 08:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:51:05
[end_date_ymd] => 2025-01-13 08:51:05
[RateCDR] => 1
)
[2025-01-13 08:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:51:05' and `end` < '2025-01-13 08:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:51:12] Production.ERROR: CronJobId end10
[2025-01-13 08:51:12] Production.INFO: ==16030== Releasing lock...
[2025-01-13 08:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:51:14] Production.INFO: call_cost start
[2025-01-13 08:51:14] Production.INFO: call_cost end
[2025-01-13 08:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:51:15] Production.INFO: ==16026== Releasing lock...
[2025-01-13 08:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:51:18] Production.INFO: count ==767
[2025-01-13 08:51:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:51:05 - End Time 2025-01-13 08:51:05
[2025-01-13 08:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237836', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237836', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237836', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237836', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:51:19] Production.INFO: ProcessCDR(1,14237836,1,1,2)
[2025-01-13 08:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237836', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237836', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:51:22] Production.INFO: ==16034== Releasing lock...
[2025-01-13 08:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:51:22] Production.INFO: 34.25 MB #Memory Used#
[2025-01-13 13:52:01] Production.INFO: ==16090== Lock acquired, processing the job...
[2025-01-13 13:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:52:01] Production.INFO: neon service started
[2025-01-13 13:52:01] Production.INFO: neon service started
[2025-01-13 13:52:01] Production.INFO: ==16090== Releasing lock...
[2025-01-13 13:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:52:02] Production.INFO: ==16094== Lock acquired, processing the job...
[2025-01-13 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:52:02] Production.INFO: ==16092== Lock acquired, processing the job...
[2025-01-13 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:52:02] Production.INFO: ==16094== Releasing lock...
[2025-01-13 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:52:02] Production.INFO: ==16092== Releasing lock...
[2025-01-13 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:52:03] Production.INFO: ==16101== Lock acquired, processing the job...
[2025-01-13 08:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:52:03] Production.INFO: ==16099== Lock acquired, processing the job...
[2025-01-13 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:52:03] Production.INFO: ==16103== Lock acquired, processing the job...
[2025-01-13 08:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:52:03] Production.INFO: Account Balance Start.
[2025-01-13 08:52:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:52:03] Production.INFO: 117
[2025-01-13 08:52:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:52:03] Production.INFO: ==16097== Lock acquired, processing the job...
[2025-01-13 08:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:52:03] Production.INFO: ==16107== Lock acquired, processing the job...
[2025-01-13 08:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:52:03] Production.INFO: ==16105== Lock acquired, processing the job...
[2025-01-13 08:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:52:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:52:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:52:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:52:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:52:03] Production.INFO: ==16099== Releasing lock...
[2025-01-13 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:52:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:52:03] Production.INFO: count ==21
[2025-01-13 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:52:03] Production.INFO: count ==21
[2025-01-13 08:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237840') start
[2025-01-13 08:52:03] Production.INFO: Total Charge 0
[2025-01-13 08:52:03] Production.INFO: CreateAllLog End
[2025-01-13 08:52:03] Production.ERROR: done
[2025-01-13 08:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237840') end
[2025-01-13 08:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:52:03] Production.INFO: 1
[2025-01-13 08:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:52:04] Production.INFO: ==16107== Releasing lock...
[2025-01-13 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:52:04] Production.ERROR: done
[2025-01-13 08:52:04] Production.INFO: Account Balance End.
[2025-01-13 08:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:52:04] Production.INFO: ==16103== Releasing lock...
[2025-01-13 08:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:52:05
[end_date_ymd] => 2025-01-13 08:52:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:52:05' and `end` < '2025-01-13 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-13 08:52:10] Production.ERROR: CronJobId end10
[2025-01-13 08:52:10] Production.INFO: ==16101== Releasing lock...
[2025-01-13 08:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:52:13] Production.INFO: call_cost start
[2025-01-13 08:52:13] Production.INFO: call_cost end
[2025-01-13 08:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:52:13] Production.INFO: ==16097== Releasing lock...
[2025-01-13 08:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:52:17] Production.INFO: count ==774
[2025-01-13 08:52:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:52:05 - End Time 2025-01-13 08:52:05
[2025-01-13 08:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237841', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237841', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237841', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237841', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:52:18] Production.INFO: ProcessCDR(1,14237841,1,1,2)
[2025-01-13 08:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237841', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237841', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:52:22] Production.INFO: ==16105== Releasing lock...
[2025-01-13 08:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:52:22] Production.INFO: 34 MB #Memory Used#
[2025-01-13 13:53:01] Production.INFO: ==16162== Lock acquired, processing the job...
[2025-01-13 13:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:53:01] Production.INFO: neon service started
[2025-01-13 13:53:01] Production.INFO: neon service started
[2025-01-13 13:53:01] Production.INFO: ==16162== Releasing lock...
[2025-01-13 13:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:53:02] Production.INFO: ==16164== Lock acquired, processing the job...
[2025-01-13 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:53:02] Production.INFO: ==16164== Releasing lock...
[2025-01-13 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:53:02] Production.INFO: ==16166== Lock acquired, processing the job...
[2025-01-13 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:53:02] Production.INFO: ==16166== Releasing lock...
[2025-01-13 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:53:03] Production.INFO: ==16169== Lock acquired, processing the job...
[2025-01-13 08:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:53:03] Production.INFO: ==16179== Lock acquired, processing the job...
[2025-01-13 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:53:03] Production.INFO: ==16177== Lock acquired, processing the job...
[2025-01-13 08:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 08:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:53:03] Production.INFO: count ==21
[2025-01-13 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-13 08:53:03] Production.INFO: count ==21
[2025-01-13 08:53:03] Production.INFO: ==16171== Lock acquired, processing the job...
[2025-01-13 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237843') start
[2025-01-13 08:53:03] Production.INFO: ==16173== Lock acquired, processing the job...
[2025-01-13 08:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:53:03] Production.INFO: ==16175== Lock acquired, processing the job...
[2025-01-13 08:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237843') end
[2025-01-13 08:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:53:03] Production.INFO: 1
[2025-01-13 08:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:53:03] Production.INFO: Account Balance Start.
[2025-01-13 08:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:53:03] Production.INFO: ==16179== Releasing lock...
[2025-01-13 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:53:03] Production.INFO: 117
[2025-01-13 08:53:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:53:03] Production.ERROR: done
[2025-01-13 08:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:53:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:53:04] Production.ERROR: done
[2025-01-13 08:53:04] Production.INFO: ==16171== Releasing lock...
[2025-01-13 08:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:53:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:53:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:53:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:53:04] Production.INFO: Total Charge 0
[2025-01-13 08:53:04] Production.INFO: CreateAllLog End
[2025-01-13 08:53:04] Production.INFO: Account Balance End.
[2025-01-13 08:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:53:04] Production.INFO: ==16175== Releasing lock...
[2025-01-13 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:53:05
[end_date_ymd] => 2025-01-13 08:53:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:53:05' and `end` < '2025-01-13 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-13 08:53:11] Production.ERROR: CronJobId end10
[2025-01-13 08:53:11] Production.INFO: ==16173== Releasing lock...
[2025-01-13 08:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:53:13] Production.INFO: call_cost start
[2025-01-13 08:53:13] Production.INFO: call_cost end
[2025-01-13 08:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:53:14] Production.INFO: ==16169== Releasing lock...
[2025-01-13 08:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:53:17] Production.INFO: count ==785
[2025-01-13 08:53:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:53:05 - End Time 2025-01-13 08:53:05
[2025-01-13 08:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237846', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237846', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237846', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237846', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:53:18] Production.INFO: ProcessCDR(1,14237846,1,1,2)
[2025-01-13 08:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237846', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237846', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:53:21] Production.INFO: ==16177== Releasing lock...
[2025-01-13 08:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:53:21] Production.INFO: 34 MB #Memory Used#
[2025-01-13 13:54:02] Production.INFO: ==16236== Lock acquired, processing the job...
[2025-01-13 13:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:54:02] Production.INFO: neon service started
[2025-01-13 13:54:02] Production.INFO: neon service started
[2025-01-13 13:54:02] Production.INFO: ==16236== Releasing lock...
[2025-01-13 13:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:54:02] Production.INFO: ==16239== Lock acquired, processing the job...
[2025-01-13 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:54:02] Production.INFO: ==16239== Releasing lock...
[2025-01-13 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:54:03] Production.INFO: ==16241== Lock acquired, processing the job...
[2025-01-13 13:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:54:03] Production.INFO: ==16241== Releasing lock...
[2025-01-13 13:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:54:03] Production.INFO: ==16245== Lock acquired, processing the job...
[2025-01-13 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:54:03] Production.INFO: ==16247== Lock acquired, processing the job...
[2025-01-13 08:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:54:03] Production.INFO: ==16249== Lock acquired, processing the job...
[2025-01-13 08:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:54:03] Production.INFO: ==16243== Lock acquired, processing the job...
[2025-01-13 08:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:54:03] Production.INFO: ==16251== Lock acquired, processing the job...
[2025-01-13 08:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:54:04] Production.INFO: Account Balance Start.
[2025-01-13 08:54:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:54:04] Production.INFO: 117
[2025-01-13 08:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:54:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:54:04] Production.INFO: ==16253== Lock acquired, processing the job...
[2025-01-13 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:54:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:54:04] Production.INFO: ==16245== Releasing lock...
[2025-01-13 08:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:54:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:54:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:54:04] Production.ERROR: done
[2025-01-13 08:54:04] Production.INFO: Total Charge 0
[2025-01-13 08:54:04] Production.INFO: CreateAllLog End
[2025-01-13 08:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:54:04] Production.INFO: count ==21
[2025-01-13 08:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:54:04] Production.INFO: count ==21
[2025-01-13 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237850') start
[2025-01-13 08:54:04] Production.ERROR: done
[2025-01-13 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237850') end
[2025-01-13 08:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:54:04] Production.INFO: 1
[2025-01-13 08:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:54:04] Production.INFO: ==16253== Releasing lock...
[2025-01-13 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:54:04] Production.INFO: Account Balance End.
[2025-01-13 08:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:54:04] Production.INFO: ==16249== Releasing lock...
[2025-01-13 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:54:05
[end_date_ymd] => 2025-01-13 08:54:05
[RateCDR] => 1
)
[2025-01-13 08:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:54:05' and `end` < '2025-01-13 08:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:54:11] Production.ERROR: CronJobId end10
[2025-01-13 08:54:11] Production.INFO: ==16247== Releasing lock...
[2025-01-13 08:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:54:13] Production.INFO: call_cost start
[2025-01-13 08:54:13] Production.INFO: call_cost end
[2025-01-13 08:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:54:14] Production.INFO: ==16243== Releasing lock...
[2025-01-13 08:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:54:18] Production.INFO: count ==789
[2025-01-13 08:54:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:54:05 - End Time 2025-01-13 08:54:05
[2025-01-13 08:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237851', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237851', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237851', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237851', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:54:18] Production.INFO: ProcessCDR(1,14237851,1,1,2)
[2025-01-13 08:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237851', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237851', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:54:23] Production.INFO: ==16251== Releasing lock...
[2025-01-13 08:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:54:23] Production.INFO: 33.75 MB #Memory Used#
[2025-01-13 13:55:01] Production.INFO: ==16307== Lock acquired, processing the job...
[2025-01-13 13:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:55:01] Production.INFO: neon service started
[2025-01-13 13:55:01] Production.INFO: neon service started
[2025-01-13 13:55:01] Production.INFO: ==16307== Releasing lock...
[2025-01-13 13:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:55:02] Production.INFO: ==16309== Lock acquired, processing the job...
[2025-01-13 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:55:02] Production.INFO: ==16311== Lock acquired, processing the job...
[2025-01-13 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 08:55:02] Production.INFO: ==16309== Releasing lock...
[2025-01-13 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:55:02] Production.INFO: ==16311== Releasing lock...
[2025-01-13 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:55:03] Production.INFO: ==16321== Lock acquired, processing the job...
[2025-01-13 08:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:55:03] Production.INFO: ==16324== Lock acquired, processing the job...
[2025-01-13 08:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:55:03] Production.INFO: ==16313== Lock acquired, processing the job...
[2025-01-13 08:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:55:03] Production.INFO: ==16315== Lock acquired, processing the job...
[2025-01-13 08:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:55:03] Production.ERROR: done
[2025-01-13 08:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:55:03] Production.INFO: count ==21
[2025-01-13 08:55:03] Production.INFO: ==16317== Lock acquired, processing the job...
[2025-01-13 08:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:55:03] Production.INFO: ==16319== Lock acquired, processing the job...
[2025-01-13 08:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:55:03] Production.INFO: count ==21
[2025-01-13 08:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237852') start
[2025-01-13 08:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:55:03] Production.ERROR: done
[2025-01-13 08:55:03] Production.INFO: Account Balance Start.
[2025-01-13 08:55:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:55:03] Production.INFO: 117
[2025-01-13 08:55:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:55:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237852') end
[2025-01-13 08:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:55:04] Production.INFO: 1
[2025-01-13 08:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:55:04] Production.INFO: ==16324== Releasing lock...
[2025-01-13 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:55:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:55:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:55:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:55:04] Production.INFO: ==16315== Releasing lock...
[2025-01-13 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:55:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:55:04] Production.INFO: Total Charge 0
[2025-01-13 08:55:04] Production.INFO: CreateAllLog End
[2025-01-13 08:55:04] Production.INFO: Account Balance End.
[2025-01-13 08:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:55:04] Production.INFO: ==16319== Releasing lock...
[2025-01-13 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:55:04
[end_date_ymd] => 2025-01-13 08:55:04
[RateCDR] => 1
)
[2025-01-13 08: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-13 05:55:04' and `end` < '2025-01-13 08: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-13 08:55:12] Production.ERROR: CronJobId end10
[2025-01-13 08:55:12] Production.INFO: ==16317== Releasing lock...
[2025-01-13 08:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:55:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:55:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:55:14] Production.INFO: call_cost start
[2025-01-13 08:55:14] Production.INFO: call_cost end
[2025-01-13 08:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:55:15] Production.INFO: ==16313== Releasing lock...
[2025-01-13 08:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:55:17] Production.INFO: count ==790
[2025-01-13 08:55:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:55:04 - End Time 2025-01-13 08:55:04
[2025-01-13 08:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237856', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237856', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237856', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237856', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:55:17] Production.INFO: ProcessCDR(1,14237856,1,1,2)
[2025-01-13 08:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237856', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237856', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:55:22] Production.INFO: ==16321== Releasing lock...
[2025-01-13 08:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:55:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-13 13:56:02] Production.INFO: ==16381== Lock acquired, processing the job...
[2025-01-13 13:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:56:02] Production.INFO: neon service started
[2025-01-13 13:56:02] Production.INFO: neon service started
[2025-01-13 13:56:02] Production.INFO: ==16381== Releasing lock...
[2025-01-13 13:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:56:02] Production.INFO: ==16383== Lock acquired, processing the job...
[2025-01-13 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:56:02] Production.INFO: ==16385== Lock acquired, processing the job...
[2025-01-13 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:56:02] Production.INFO: ==16385== Releasing lock...
[2025-01-13 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:56:02] Production.INFO: ==16383== Releasing lock...
[2025-01-13 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:56:03] Production.INFO: ==16389== Lock acquired, processing the job...
[2025-01-13 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:56:03] Production.INFO: ==16392== Lock acquired, processing the job...
[2025-01-13 08:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:56:03] Production.INFO: ==16398== Lock acquired, processing the job...
[2025-01-13 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 08:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:56:03] Production.INFO: ==16389== Releasing lock...
[2025-01-13 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:56:03] Production.INFO: count ==21
[2025-01-13 08:56:03] Production.INFO: ==16387== Lock acquired, processing the job...
[2025-01-13 08:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 08:56:03] Production.INFO: count ==21
[2025-01-13 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237858') start
[2025-01-13 08:56:03] Production.INFO: ==16394== Lock acquired, processing the job...
[2025-01-13 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:56:04] Production.INFO: ==16396== Lock acquired, processing the job...
[2025-01-13 08:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237858') end
[2025-01-13 08:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:56:04] Production.INFO: 1
[2025-01-13 08:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:56:04] Production.INFO: Account Balance Start.
[2025-01-13 08:56:04] Production.INFO: CreateAllLog Start
[2025-01-13 08:56:04] Production.INFO: ==16398== Releasing lock...
[2025-01-13 08:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:56:04] Production.INFO: 117
[2025-01-13 08:56:04] Production.INFO: Date 2025-01-08
[2025-01-13 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:56:04] Production.ERROR: done
[2025-01-13 08:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:56:04] Production.ERROR: done
[2025-01-13 08:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:56:04] Production.INFO: Total Charge 0
[2025-01-13 08:56:04] Production.INFO: CreateAllLog End
[2025-01-13 08:56:04] Production.INFO: Account Balance End.
[2025-01-13 08:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:56:04] Production.INFO: ==16394== Releasing lock...
[2025-01-13 08:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:56:05
[end_date_ymd] => 2025-01-13 08:56:05
[RateCDR] => 1
)
[2025-01-13 08:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:56:05' and `end` < '2025-01-13 08:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:56:11] Production.ERROR: CronJobId end10
[2025-01-13 08:56:11] Production.INFO: ==16392== Releasing lock...
[2025-01-13 08:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:56:13] Production.INFO: call_cost start
[2025-01-13 08:56:13] Production.INFO: call_cost end
[2025-01-13 08:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:56:14] Production.INFO: ==16387== Releasing lock...
[2025-01-13 08:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:56:18] Production.INFO: count ==798
[2025-01-13 08:56:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:56:05 - End Time 2025-01-13 08:56:05
[2025-01-13 08:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237861', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237861', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237861', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237861', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:56:18] Production.INFO: ProcessCDR(1,14237861,1,1,2)
[2025-01-13 08:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237861', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237861', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:56:22] Production.INFO: ==16396== Releasing lock...
[2025-01-13 08:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:56:22] Production.INFO: 34.5 MB #Memory Used#
[2025-01-13 13:57:01] Production.INFO: ==16450== Lock acquired, processing the job...
[2025-01-13 13:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:57:01] Production.INFO: neon service started
[2025-01-13 13:57:01] Production.INFO: neon service started
[2025-01-13 13:57:01] Production.INFO: ==16450== Releasing lock...
[2025-01-13 13:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 08:57:02] Production.INFO: ==16452== Lock acquired, processing the job...
[2025-01-13 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:57:02] Production.INFO: ==16454== Lock acquired, processing the job...
[2025-01-13 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:57:02] Production.INFO: ==16454== Releasing lock...
[2025-01-13 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:57:02] Production.INFO: ==16452== Releasing lock...
[2025-01-13 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:57:03] Production.INFO: ==16457== Lock acquired, processing the job...
[2025-01-13 08:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:57:03] Production.INFO: ==16463== Lock acquired, processing the job...
[2025-01-13 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:57:03] Production.INFO: ==16461== Lock acquired, processing the job...
[2025-01-13 08:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:57:03] Production.INFO: Account Balance Start.
[2025-01-13 08:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:57:03] Production.INFO: 117
[2025-01-13 08:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:57:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:57:03] Production.INFO: ==16459== Lock acquired, processing the job...
[2025-01-13 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:57:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:57:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:57:03] Production.INFO: Total Charge 0
[2025-01-13 08:57:03] Production.INFO: CreateAllLog End
[2025-01-13 08:57:03] Production.INFO: ==16465== Lock acquired, processing the job...
[2025-01-13 08:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:57:03] Production.INFO: ==16467== Lock acquired, processing the job...
[2025-01-13 08:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:57:03] Production.INFO: Account Balance End.
[2025-01-13 08:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:57:03] Production.ERROR: CronJobId end 12
[2025-01-13 08:57:03] Production.INFO: ==16463== Releasing lock...
[2025-01-13 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:57:03] Production.INFO: ==16459== Releasing lock...
[2025-01-13 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:57:03] Production.INFO: count ==21
[2025-01-13 08:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:57:03] Production.INFO: count ==21
[2025-01-13 08:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237865') start
[2025-01-13 08:57:04] Production.ERROR: done
[2025-01-13 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237865') end
[2025-01-13 08:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:57:04] Production.INFO: 1
[2025-01-13 08:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:57:04] Production.INFO: ==16467== Releasing lock...
[2025-01-13 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:57:04] Production.ERROR: done
[2025-01-13 08:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:57:05
[end_date_ymd] => 2025-01-13 08:57:05
[RateCDR] => 1
)
[2025-01-13 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-13 05:57:05' and `end` < '2025-01-13 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-13 08:57:10] Production.ERROR: CronJobId end10
[2025-01-13 08:57:10] Production.INFO: ==16461== Releasing lock...
[2025-01-13 08:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:57:12] Production.INFO: call_cost start
[2025-01-13 08:57:12] Production.INFO: call_cost end
[2025-01-13 08:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:57:13] Production.INFO: ==16457== Releasing lock...
[2025-01-13 08:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:57:17] Production.INFO: count ==812
[2025-01-13 08:57:18] Production.ERROR: pbx CDR StartTime 2025-01-13 05:57:05 - End Time 2025-01-13 08:57:05
[2025-01-13 08:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237866', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237866', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237866', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237866', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:57:18] Production.INFO: ProcessCDR(1,14237866,1,1,2)
[2025-01-13 08:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237866', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237866', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:57:23] Production.INFO: ==16465== Releasing lock...
[2025-01-13 08:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:57:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-13 13:58:02] Production.INFO: ==16523== Lock acquired, processing the job...
[2025-01-13 13:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:58:02] Production.INFO: neon service started
[2025-01-13 13:58:02] Production.INFO: neon service started
[2025-01-13 13:58:02] Production.INFO: ==16523== Releasing lock...
[2025-01-13 13:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:58:02] Production.INFO: ==16527== Lock acquired, processing the job...
[2025-01-13 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:58:02] Production.INFO: ==16527== Releasing lock...
[2025-01-13 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:58:02] Production.INFO: ==16525== Lock acquired, processing the job...
[2025-01-13 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:58:02] Production.INFO: ==16525== Releasing lock...
[2025-01-13 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:58:03] Production.INFO: ==16530== Lock acquired, processing the job...
[2025-01-13 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:58:03] Production.INFO: ==16536== Lock acquired, processing the job...
[2025-01-13 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:58:03] Production.INFO: ==16538== Lock acquired, processing the job...
[2025-01-13 08:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:58:03] Production.INFO: Account Balance Start.
[2025-01-13 08:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:58:03] Production.INFO: 117
[2025-01-13 08:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:58:03] Production.INFO: ==16532== Lock acquired, processing the job...
[2025-01-13 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:58:04] Production.INFO: ==16534== Lock acquired, processing the job...
[2025-01-13 08:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:58:04] Production.INFO: ==16540== Lock acquired, processing the job...
[2025-01-13 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:58:04] Production.INFO: Date 2025-01-10
[2025-01-13 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:58:04] Production.INFO: Date 2025-01-11
[2025-01-13 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:58:04] Production.INFO: Date 2025-01-12
[2025-01-13 08:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:58:04] Production.ERROR: done
[2025-01-13 08:58:04] Production.INFO: Date 2025-01-13
[2025-01-13 08:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 08:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:58:04] Production.INFO: Total Charge 0
[2025-01-13 08:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 08:58:04] Production.INFO: CreateAllLog End
[2025-01-13 08:58:04] Production.INFO: count ==21
[2025-01-13 08:58:04] Production.ERROR: done
[2025-01-13 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-13 08:58:04] Production.INFO: count ==21
[2025-01-13 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237869') start
[2025-01-13 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237869') end
[2025-01-13 08:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:58:04] Production.INFO: 1
[2025-01-13 08:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:58:04] Production.INFO: Account Balance End.
[2025-01-13 08:58:04] Production.INFO: ==16540== Releasing lock...
[2025-01-13 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:58:04] Production.INFO: ==16532== Releasing lock...
[2025-01-13 08:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:58:04] Production.INFO: ==16536== Releasing lock...
[2025-01-13 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:58:05
[end_date_ymd] => 2025-01-13 08:58:05
[RateCDR] => 1
)
[2025-01-13 08:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:58:05' and `end` < '2025-01-13 08:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:58:11] Production.ERROR: CronJobId end10
[2025-01-13 08:58:11] Production.INFO: ==16534== Releasing lock...
[2025-01-13 08:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:58:14] Production.INFO: call_cost start
[2025-01-13 08:58:14] Production.INFO: call_cost end
[2025-01-13 08:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:58:15] Production.INFO: ==16530== Releasing lock...
[2025-01-13 08:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:58:19] Production.INFO: count ==829
[2025-01-13 08:58:20] Production.ERROR: pbx CDR StartTime 2025-01-13 05:58:05 - End Time 2025-01-13 08:58:05
[2025-01-13 08:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237871', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237871', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237871', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237871', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:58:20] Production.INFO: ProcessCDR(1,14237871,1,1,2)
[2025-01-13 08:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237871', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237871', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:58:24] Production.INFO: ==16538== Releasing lock...
[2025-01-13 08:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:58:24] Production.INFO: 34.75 MB #Memory Used#
[2025-01-13 13:59:01] Production.INFO: ==16595== Lock acquired, processing the job...
[2025-01-13 13:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 13:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 13:59:01] Production.INFO: neon service started
[2025-01-13 13:59:01] Production.INFO: neon service started
[2025-01-13 13:59:01] Production.INFO: ==16595== Releasing lock...
[2025-01-13 13:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 13:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:59:01] Production.INFO: ==16599== Lock acquired, processing the job...
[2025-01-13 13:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:59:01] Production.INFO: ==16599== Releasing lock...
[2025-01-13 13:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 13:59:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 08:59:02] Production.INFO: ==16597== Lock acquired, processing the job...
[2025-01-13 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 08:59:02] Production.INFO: ==16597== Releasing lock...
[2025-01-13 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 08:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 08:59:03] Production.INFO: ==16608== Lock acquired, processing the job...
[2025-01-13 08:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 08:59:03] Production.INFO: Account Balance Start.
[2025-01-13 08:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 08:59:03] Production.INFO: 117
[2025-01-13 08:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:59:03] Production.INFO: ==16612== Lock acquired, processing the job...
[2025-01-13 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 08:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:59:03] Production.INFO: ==16604== Lock acquired, processing the job...
[2025-01-13 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 08:59:03] Production.INFO: ==16602== Lock acquired, processing the job...
[2025-01-13 08:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 08:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 08:59:03] Production.INFO: count ==21
[2025-01-13 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-13 08:59:03] Production.INFO: Date 2025-01-12
[2025-01-13 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:59:03] Production.INFO: count ==21
[2025-01-13 08:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 08:59:03] Production.INFO: ==16610== Lock acquired, processing the job...
[2025-01-13 08:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 08:59:03] Production.INFO: ==16606== Lock acquired, processing the job...
[2025-01-13 08:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 08:59:03] Production.INFO: Date 2025-01-13
[2025-01-13 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 08:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237873') start
[2025-01-13 08:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 08:59:03] Production.INFO: Total Charge 0
[2025-01-13 08:59:03] Production.INFO: CreateAllLog End
[2025-01-13 08:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237873') end
[2025-01-13 08:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 08:59:03] Production.INFO: 1
[2025-01-13 08:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 08:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 08:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 08:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 08:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 08:59:03] Production.INFO: ==16612== Releasing lock...
[2025-01-13 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 08:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 08:59:03] Production.INFO: ==16604== Releasing lock...
[2025-01-13 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 08:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 08:59:03] Production.INFO: Account Balance End.
[2025-01-13 08:59:03] Production.ERROR: done
[2025-01-13 08:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 08:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 08:59:04] Production.INFO: ==16608== Releasing lock...
[2025-01-13 08:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 08:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 08:59:04] Production.ERROR: done
[2025-01-13 08:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 05:59:05
[end_date_ymd] => 2025-01-13 08:59:05
[RateCDR] => 1
)
[2025-01-13 08:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 05:59:05' and `end` < '2025-01-13 08:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 08:59:11] Production.ERROR: CronJobId end10
[2025-01-13 08:59:11] Production.INFO: ==16606== Releasing lock...
[2025-01-13 08:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 08:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 08:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 08:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 08:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 08:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 08:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 08:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 08:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 08:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 08:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 08:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 08:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 08:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 08:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 08:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 08:59:13] Production.INFO: call_cost start
[2025-01-13 08:59:13] Production.INFO: call_cost end
[2025-01-13 08:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 08:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 08:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 08:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 08:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 08:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 08:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 08:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 08:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 08:59:14] Production.INFO: ==16602== Releasing lock...
[2025-01-13 08:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 08:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 08:59:17] Production.INFO: count ==830
[2025-01-13 08:59:17] Production.ERROR: pbx CDR StartTime 2025-01-13 05:59:05 - End Time 2025-01-13 08:59:05
[2025-01-13 08:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 08:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237876', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237876', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237876', 'tblTempVendorCDR_20' ) start
[2025-01-13 08:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237876', 'tblTempVendorCDR_20' ) end
[2025-01-13 08:59:17] Production.INFO: ProcessCDR(1,14237876,1,1,2)
[2025-01-13 08:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 08:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 08:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237876', 'tblTempUsageDetail_20' ) start
[2025-01-13 08:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237876', 'tblTempUsageDetail_20' ) end
[2025-01-13 08:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 08:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 08:59:21] Production.INFO: ==16610== Releasing lock...
[2025-01-13 08:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 08:59:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-13 14:00:01] Production.INFO: ==16665== Lock acquired, processing the job...
[2025-01-13 14:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:00:01] Production.INFO: neon service started
[2025-01-13 14:00:01] Production.INFO: neon service started
[2025-01-13 14:00:01] Production.INFO: ==16665== Releasing lock...
[2025-01-13 14:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:00:02] Production.INFO: ==16667== Lock acquired, processing the job...
[2025-01-13 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:00:02] Production.INFO: ==16669== Lock acquired, processing the job...
[2025-01-13 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:00:02] Production.INFO: ==16669== Releasing lock...
[2025-01-13 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:00:02] Production.INFO: ==16667== Releasing lock...
[2025-01-13 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:00:03] Production.INFO: ==16671== Lock acquired, processing the job...
[2025-01-13 09:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 09:00:03] Production.INFO: ==16679== Lock acquired, processing the job...
[2025-01-13 09:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:00:03] Production.INFO: ==16673== Lock acquired, processing the job...
[2025-01-13 09:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 09:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 09:00:03] Production.ERROR: CronJob PID - 16679
[2025-01-13 09:00:03] Production.INFO: ==16681== Lock acquired, processing the job...
[2025-01-13 09:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 09:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:00:03] Production.ERROR: CronJob ID - 12
[2025-01-13 09:00:03] Production.ERROR: CronJob Last Run Time 2025-01-13 09:00:00
[2025-01-13 09:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 09:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 09:00:03] Production.INFO: ==16686== Lock acquired, processing the job...
[2025-01-13 09:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:00:03] Production.INFO: Account Balance Start.
[2025-01-13 09:00:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:00:03] Production.INFO: 117
[2025-01-13 09:00:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:00:03] Production.INFO: ==16675== Lock acquired, processing the job...
[2025-01-13 09:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 09:00:03] Production.INFO: ==16671== Releasing lock...
[2025-01-13 09:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 09:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 09:00:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:00:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:00:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:00:04] Production.INFO: ==16677== Lock acquired, processing the job...
[2025-01-13 09:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:00:04] Production.INFO: count ==21
[2025-01-13 09:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:00:04] Production.INFO: count ==21
[2025-01-13 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237879') start
[2025-01-13 09:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:00:04] Production.INFO: ==16683== Lock acquired, processing the job...
[2025-01-13 09:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 09:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:00:04] Production.ERROR: done
[2025-01-13 09:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:00:04] Production.INFO: Total Charge 0
[2025-01-13 09:00:04] Production.INFO: CreateAllLog End
[2025-01-13 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237879') end
[2025-01-13 09:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:00:04] Production.INFO: 1
[2025-01-13 09:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:00:04] Production.INFO: ==16686== Releasing lock...
[2025-01-13 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:00:04] Production.ERROR: done
[2025-01-13 09:00:04] Production.INFO: ==16675== Releasing lock...
[2025-01-13 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:00:04] Production.ERROR: done
[2025-01-13 09:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 09:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237882', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 09:00:04] Production.INFO: Account Balance End.
[2025-01-13 09:00:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:00:04] Production.INFO: ==16679== Releasing lock...
[2025-01-13 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:00:05
[end_date_ymd] => 2025-01-13 09:00:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:00:05' and `end` < '2025-01-13 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-13 09:00:05] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:05] Production.INFO: =diffInterval=0
[2025-01-13 09:00:07] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:07] Production.INFO: =diffInterval=0
[2025-01-13 09:00:08] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:08] Production.INFO: =diffInterval=0
[2025-01-13 09:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237882', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 09:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 09:00:08] Production.INFO: ProcessCDR(1,14237882,1,1,2)
[2025-01-13 09:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237882,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237882,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:00:08] Production.INFO: ==16683== Releasing lock...
[2025-01-13 09:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 09:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 09:00:09] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:09] Production.INFO: =diffInterval=0
[2025-01-13 09:00:10] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:10] Production.INFO: =diffInterval=0
[2025-01-13 09:00:11] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:11] Production.INFO: =diffInterval=0
[2025-01-13 09:00:11] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:11] Production.INFO: =diffInterval=0
[2025-01-13 09:00:12] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:12] Production.INFO: =diffInterval=0
[2025-01-13 09:00:12] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:12] Production.INFO: =diffInterval=0
[2025-01-13 09:00:13] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:13] Production.INFO: =diffInterval=0
[2025-01-13 09:00:13] Production.ERROR: CronJobId end10
[2025-01-13 09:00:13] Production.INFO: ==16677== Releasing lock...
[2025-01-13 09:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:00:14] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:14] Production.INFO: =diffInterval=0
[2025-01-13 09:00:14] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:14] Production.INFO: =diffInterval=0
[2025-01-13 09:00:15] Production.INFO: helper-LastRunTime===2025-01-13 09:00:00
[2025-01-13 09:00:15] Production.INFO: =diffInterval=0
[2025-01-13 09:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:00:15] Production.INFO: call_cost start
[2025-01-13 09:00:15] Production.INFO: call_cost end
[2025-01-13 09:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:00:16] Production.INFO: ==16673== Releasing lock...
[2025-01-13 09:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:00:18] Production.INFO: count ==855
[2025-01-13 09:00:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:00:05 - End Time 2025-01-13 09:00:05
[2025-01-13 09:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237881', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237881', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237881', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237881', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:00:18] Production.INFO: ProcessCDR(1,14237881,1,1,2)
[2025-01-13 09:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237881', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237881', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:00:21] Production.INFO: ==16681== Releasing lock...
[2025-01-13 09:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:00:21] Production.INFO: 34.5 MB #Memory Used#
[2025-01-13 14:01:01] Production.INFO: ==16746== Lock acquired, processing the job...
[2025-01-13 14:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:01:01] Production.INFO: neon service started
[2025-01-13 14:01:01] Production.INFO: neon service started
[2025-01-13 14:01:01] Production.INFO: ==16746== Releasing lock...
[2025-01-13 14:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:01:01] Production.INFO: ==16757== Lock acquired, processing the job...
[2025-01-13 09:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:01:02] Production.INFO: ==16759== Lock acquired, processing the job...
[2025-01-13 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:01:02] Production.INFO: ==16757== Releasing lock...
[2025-01-13 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:01:02] Production.INFO: ==16759== Releasing lock...
[2025-01-13 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:01:03] Production.INFO: ==16769== Lock acquired, processing the job...
[2025-01-13 09:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:01:03] Production.INFO: ==16771== Lock acquired, processing the job...
[2025-01-13 09:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:01:03] Production.INFO: ==16761== Lock acquired, processing the job...
[2025-01-13 09:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:01:03] Production.INFO: ==16767== Lock acquired, processing the job...
[2025-01-13 09:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:01:03] Production.INFO: ==16763== Lock acquired, processing the job...
[2025-01-13 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:01:03] Production.INFO: ==16765== Lock acquired, processing the job...
[2025-01-13 09:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:01:03] Production.INFO: Account Balance Start.
[2025-01-13 09:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:01:03] Production.INFO: 117
[2025-01-13 09: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-13 09:01:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:01:03] Production.INFO: count ==21
[2025-01-13 09:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09: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-13 09:01:03] Production.INFO: count ==21
[2025-01-13 09:01:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:01:03] Production.ERROR: done
[2025-01-13 09:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237883') start
[2025-01-13 09:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:01:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:01:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:01:03] Production.ERROR: done
[2025-01-13 09:01:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:01:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:01:03] Production.INFO: Total Charge 0
[2025-01-13 09:01:03] Production.INFO: CreateAllLog End
[2025-01-13 09:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237883') end
[2025-01-13 09:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:01:03] Production.INFO: 1
[2025-01-13 09:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:01:03] Production.INFO: ==16763== Releasing lock...
[2025-01-13 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:01:03] Production.INFO: ==16771== Releasing lock...
[2025-01-13 09:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:01:03] Production.INFO: Account Balance End.
[2025-01-13 09:01:03] Production.ERROR: CronJobId end 12
[2025-01-13 09:01:03] Production.INFO: ==16767== Releasing lock...
[2025-01-13 09:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:01:04
[end_date_ymd] => 2025-01-13 09:01:04
[RateCDR] => 1
)
[2025-01-13 09: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-13 06:01:04' and `end` < '2025-01-13 09: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-13 09:01:11] Production.ERROR: CronJobId end10
[2025-01-13 09:01:11] Production.INFO: ==16765== Releasing lock...
[2025-01-13 09:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:01:13] Production.INFO: call_cost start
[2025-01-13 09:01:13] Production.INFO: call_cost end
[2025-01-13 09:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:01:14] Production.INFO: ==16761== Releasing lock...
[2025-01-13 09:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:01:17] Production.INFO: count ==905
[2025-01-13 09:01:17] Production.ERROR: pbx CDR StartTime 2025-01-13 06:01:04 - End Time 2025-01-13 09:01:04
[2025-01-13 09:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237887', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237887', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237887', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237887', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:01:17] Production.INFO: ProcessCDR(1,14237887,1,1,2)
[2025-01-13 09:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237887', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237887', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:01:22] Production.INFO: ==16769== Releasing lock...
[2025-01-13 09:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:01:22] Production.INFO: 35.75 MB #Memory Used#
[2025-01-13 14:02:02] Production.INFO: ==16868== Lock acquired, processing the job...
[2025-01-13 14:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:02:02] Production.INFO: neon service started
[2025-01-13 14:02:02] Production.INFO: neon service started
[2025-01-13 14:02:02] Production.INFO: ==16868== Releasing lock...
[2025-01-13 14:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:02:02] Production.INFO: ==16873== Lock acquired, processing the job...
[2025-01-13 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:02:02] Production.INFO: ==16873== Releasing lock...
[2025-01-13 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:02:02] Production.INFO: ==16871== Lock acquired, processing the job...
[2025-01-13 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:02:02] Production.INFO: ==16871== Releasing lock...
[2025-01-13 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:02:03] Production.INFO: ==16879== Lock acquired, processing the job...
[2025-01-13 09:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:02:03] Production.INFO: ==16881== Lock acquired, processing the job...
[2025-01-13 09:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:02:03] Production.INFO: ==16883== Lock acquired, processing the job...
[2025-01-13 09:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:02:03] Production.INFO: Account Balance Start.
[2025-01-13 09:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:02:03] Production.INFO: 117
[2025-01-13 09:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:02:04] Production.INFO: ==16877== Lock acquired, processing the job...
[2025-01-13 09:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:02:04] Production.INFO: ==16875== Lock acquired, processing the job...
[2025-01-13 09:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:02:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:02:04] Production.INFO: ==16885== Lock acquired, processing the job...
[2025-01-13 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:02:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:02:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:02:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:02:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:02:04] Production.ERROR: done
[2025-01-13 09:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:02:04] Production.INFO: count ==21
[2025-01-13 09:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:02:04] Production.INFO: count ==21
[2025-01-13 09:02:04] Production.INFO: Total Charge 0
[2025-01-13 09:02:04] Production.ERROR: done
[2025-01-13 09:02:04] Production.INFO: CreateAllLog End
[2025-01-13 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237891') start
[2025-01-13 09:02:04] Production.INFO: ==16877== Releasing lock...
[2025-01-13 09:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:02:04] Production.INFO: Account Balance End.
[2025-01-13 09:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:02:04] Production.INFO: ==16881== Releasing lock...
[2025-01-13 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237891') end
[2025-01-13 09:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:02:04] Production.INFO: 1
[2025-01-13 09:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:02:04] Production.INFO: ==16885== Releasing lock...
[2025-01-13 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:02:05
[end_date_ymd] => 2025-01-13 09:02:05
[RateCDR] => 1
)
[2025-01-13 09:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:02:05' and `end` < '2025-01-13 09:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:02:10] Production.ERROR: CronJobId end10
[2025-01-13 09:02:10] Production.INFO: ==16879== Releasing lock...
[2025-01-13 09:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:02:13] Production.INFO: call_cost start
[2025-01-13 09:02:13] Production.INFO: call_cost end
[2025-01-13 09:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:02:14] Production.INFO: ==16875== Releasing lock...
[2025-01-13 09:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:02:17] Production.INFO: count ==924
[2025-01-13 09:02:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:02:05 - End Time 2025-01-13 09:02:05
[2025-01-13 09:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237892', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237892', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237892', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237892', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:02:18] Production.INFO: ProcessCDR(1,14237892,1,1,2)
[2025-01-13 09:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237892', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237892', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:02:21] Production.INFO: ==16883== Releasing lock...
[2025-01-13 09:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:02:21] Production.INFO: 35 MB #Memory Used#
[2025-01-13 14:03:01] Production.INFO: ==16938== Lock acquired, processing the job...
[2025-01-13 14:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:03:01] Production.INFO: neon service started
[2025-01-13 14:03:01] Production.INFO: neon service started
[2025-01-13 14:03:01] Production.INFO: ==16938== Releasing lock...
[2025-01-13 14:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:03:01] Production.INFO: ==16940== Lock acquired, processing the job...
[2025-01-13 09:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:03:02] Production.INFO: ==16940== Releasing lock...
[2025-01-13 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:03:02] Production.INFO: ==16942== Lock acquired, processing the job...
[2025-01-13 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:03:02] Production.INFO: ==16942== Releasing lock...
[2025-01-13 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:03:03] Production.INFO: ==16945== Lock acquired, processing the job...
[2025-01-13 09:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:03:03] Production.INFO: ==16953== Lock acquired, processing the job...
[2025-01-13 09:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:03:03] Production.INFO: ==16947== Lock acquired, processing the job...
[2025-01-13 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:03:03] Production.INFO: ==16949== Lock acquired, processing the job...
[2025-01-13 09:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:03:03] Production.INFO: ==16951== Lock acquired, processing the job...
[2025-01-13 09:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:03:03] Production.INFO: ==16955== Lock acquired, processing the job...
[2025-01-13 09:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:03:03] Production.INFO: Account Balance Start.
[2025-01-13 09:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:03:03] Production.INFO: 117
[2025-01-13 09:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:03:03] Production.ERROR: done
[2025-01-13 09:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:03:03] Production.INFO: ==16947== Releasing lock...
[2025-01-13 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:03:03] Production.INFO: count ==21
[2025-01-13 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-13 09:03:03] Production.INFO: count ==21
[2025-01-13 09:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237896') start
[2025-01-13 09:03:03] Production.ERROR: done
[2025-01-13 09:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237896') end
[2025-01-13 09:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:03:03] Production.INFO: 1
[2025-01-13 09:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:03:03] Production.INFO: ==16955== Releasing lock...
[2025-01-13 09:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:03:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:03:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:03:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:03:04] Production.INFO: Total Charge 0
[2025-01-13 09:03:04] Production.INFO: CreateAllLog End
[2025-01-13 09:03:04] Production.INFO: Account Balance End.
[2025-01-13 09:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:03:04] Production.INFO: ==16951== Releasing lock...
[2025-01-13 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:03:05
[end_date_ymd] => 2025-01-13 09:03:05
[RateCDR] => 1
)
[2025-01-13 09:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:03:05' and `end` < '2025-01-13 09:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:03:11] Production.ERROR: CronJobId end10
[2025-01-13 09:03:11] Production.INFO: ==16949== Releasing lock...
[2025-01-13 09:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:03:13] Production.INFO: call_cost start
[2025-01-13 09:03:13] Production.INFO: call_cost end
[2025-01-13 09:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:03:14] Production.INFO: ==16945== Releasing lock...
[2025-01-13 09:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:03:17] Production.INFO: count ==945
[2025-01-13 09:03:17] Production.ERROR: pbx CDR StartTime 2025-01-13 06:03:05 - End Time 2025-01-13 09:03:05
[2025-01-13 09:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237897', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237897', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237897', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237897', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:03:17] Production.INFO: ProcessCDR(1,14237897,1,1,2)
[2025-01-13 09:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237897', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237897', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:03:22] Production.INFO: ==16953== Releasing lock...
[2025-01-13 09:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:03:22] Production.INFO: 35.5 MB #Memory Used#
[2025-01-13 14:04:02] Production.INFO: ==17011== Lock acquired, processing the job...
[2025-01-13 14:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:04:02] Production.INFO: neon service started
[2025-01-13 14:04:02] Production.INFO: neon service started
[2025-01-13 14:04:02] Production.INFO: ==17011== Releasing lock...
[2025-01-13 14:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:04:02] Production.INFO: ==17016== Lock acquired, processing the job...
[2025-01-13 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:04:02] Production.INFO: ==17016== Releasing lock...
[2025-01-13 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:04:02] Production.INFO: ==17014== Lock acquired, processing the job...
[2025-01-13 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:04:02] Production.INFO: ==17014== Releasing lock...
[2025-01-13 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:04:03] Production.INFO: ==17018== Lock acquired, processing the job...
[2025-01-13 09:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:04:03] Production.INFO: ==17022== Lock acquired, processing the job...
[2025-01-13 09:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:04:03] Production.INFO: ==17020== Lock acquired, processing the job...
[2025-01-13 09:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:04:03] Production.INFO: ==17026== Lock acquired, processing the job...
[2025-01-13 09:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:04:04] Production.INFO: ==17024== Lock acquired, processing the job...
[2025-01-13 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:04:04] Production.INFO: ==17028== Lock acquired, processing the job...
[2025-01-13 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:04:04] Production.ERROR: done
[2025-01-13 09:04:04] Production.INFO: ==17020== Releasing lock...
[2025-01-13 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:04:04] Production.INFO: Account Balance Start.
[2025-01-13 09:04:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:04:04] Production.INFO: 117
[2025-01-13 09:04:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:04:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:04:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:04:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:04:04] Production.INFO: count ==21
[2025-01-13 09:04:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:04:04] Production.INFO: count ==21
[2025-01-13 09:04:04] Production.ERROR: done
[2025-01-13 09:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237901') start
[2025-01-13 09:04:04] Production.INFO: Total Charge 0
[2025-01-13 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237901') end
[2025-01-13 09:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:04:04] Production.INFO: 1
[2025-01-13 09:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:04:04] Production.INFO: CreateAllLog End
[2025-01-13 09:04:04] Production.INFO: Account Balance End.
[2025-01-13 09:04:04] Production.INFO: ==17028== Releasing lock...
[2025-01-13 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:04:04] Production.INFO: ==17024== Releasing lock...
[2025-01-13 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:04:05
[end_date_ymd] => 2025-01-13 09:04:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:04:05' and `end` < '2025-01-13 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-13 09:04:12] Production.ERROR: CronJobId end10
[2025-01-13 09:04:12] Production.INFO: ==17022== Releasing lock...
[2025-01-13 09:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:04:14] Production.INFO: call_cost start
[2025-01-13 09:04:14] Production.INFO: call_cost end
[2025-01-13 09:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:04:15] Production.INFO: ==17018== Releasing lock...
[2025-01-13 09:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:04:18] Production.INFO: count ==958
[2025-01-13 09:04:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:04:05 - End Time 2025-01-13 09:04:05
[2025-01-13 09:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237902', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237902', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237902', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237902', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:04:18] Production.INFO: ProcessCDR(1,14237902,1,1,2)
[2025-01-13 09:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237902', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237902', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:04:23] Production.INFO: ==17026== Releasing lock...
[2025-01-13 09:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:04:23] Production.INFO: 35.75 MB #Memory Used#
[2025-01-13 14:05:01] Production.INFO: ==17081== Lock acquired, processing the job...
[2025-01-13 14:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:05:01] Production.INFO: neon service started
[2025-01-13 14:05:01] Production.INFO: neon service started
[2025-01-13 14:05:01] Production.INFO: ==17081== Releasing lock...
[2025-01-13 14:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:05:01] Production.INFO: ==17085== Lock acquired, processing the job...
[2025-01-13 14:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:05:01] Production.INFO: ==17085== Releasing lock...
[2025-01-13 14:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:05:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:05:02] Production.INFO: ==17083== Lock acquired, processing the job...
[2025-01-13 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:05:02] Production.INFO: ==17083== Releasing lock...
[2025-01-13 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:05:03] Production.INFO: ==17094== Lock acquired, processing the job...
[2025-01-13 09:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:05:03] Production.INFO: ==17088== Lock acquired, processing the job...
[2025-01-13 09:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:05:03] Production.INFO: ==17096== Lock acquired, processing the job...
[2025-01-13 09:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:05:03] Production.INFO: ==17090== Lock acquired, processing the job...
[2025-01-13 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:05:03] Production.INFO: Account Balance Start.
[2025-01-13 09:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:05:03] Production.INFO: 117
[2025-01-13 09:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:05:03] Production.INFO: ==17092== Lock acquired, processing the job...
[2025-01-13 09:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:05:03] Production.INFO: ==17098== Lock acquired, processing the job...
[2025-01-13 09:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:05:03] Production.ERROR: done
[2025-01-13 09:05:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:05:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:05:03] Production.INFO: count ==21
[2025-01-13 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-13 09:05:03] Production.INFO: count ==21
[2025-01-13 09:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237906') start
[2025-01-13 09:05:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:05:03] Production.INFO: Total Charge 0
[2025-01-13 09:05:03] Production.INFO: CreateAllLog End
[2025-01-13 09:05:03] Production.INFO: ==17090== Releasing lock...
[2025-01-13 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:05:03] Production.ERROR: done
[2025-01-13 09:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237906') end
[2025-01-13 09:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:05:03] Production.INFO: 1
[2025-01-13 09:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:05:03] Production.INFO: ==17098== Releasing lock...
[2025-01-13 09:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:05:03] Production.INFO: Account Balance End.
[2025-01-13 09:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:05:04] Production.INFO: ==17094== Releasing lock...
[2025-01-13 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:05:04
[end_date_ymd] => 2025-01-13 09:05:04
[RateCDR] => 1
)
[2025-01-13 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-13 06:05:04' and `end` < '2025-01-13 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-13 09:05:11] Production.ERROR: CronJobId end10
[2025-01-13 09:05:11] Production.INFO: ==17092== Releasing lock...
[2025-01-13 09:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:05:13] Production.INFO: call_cost start
[2025-01-13 09:05:13] Production.INFO: call_cost end
[2025-01-13 09:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:05:14] Production.INFO: ==17088== Releasing lock...
[2025-01-13 09:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:05:17] Production.INFO: count ==1002
[2025-01-13 09:05:17] Production.ERROR: pbx CDR StartTime 2025-01-13 06:05:04 - End Time 2025-01-13 09:05:04
[2025-01-13 09:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237907', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237907', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237907', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237907', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:05:17] Production.INFO: ProcessCDR(1,14237907,1,1,2)
[2025-01-13 09:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237907', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237907', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:05:21] Production.INFO: ==17096== Releasing lock...
[2025-01-13 09:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:05:21] Production.INFO: 36 MB #Memory Used#
[2025-01-13 14:06:01] Production.INFO: ==17154== Lock acquired, processing the job...
[2025-01-13 14:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:06:01] Production.INFO: neon service started
[2025-01-13 14:06:01] Production.INFO: neon service started
[2025-01-13 14:06:01] Production.INFO: ==17154== Releasing lock...
[2025-01-13 14:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:06:02] Production.INFO: ==17156== Lock acquired, processing the job...
[2025-01-13 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:06:02] Production.INFO: ==17156== Releasing lock...
[2025-01-13 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:06:02] Production.INFO: ==17158== Lock acquired, processing the job...
[2025-01-13 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:06:02] Production.INFO: ==17158== Releasing lock...
[2025-01-13 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:06:03] Production.INFO: ==17161== Lock acquired, processing the job...
[2025-01-13 09:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:06:03] Production.INFO: ==17163== Lock acquired, processing the job...
[2025-01-13 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:06:03] Production.INFO: ==17169== Lock acquired, processing the job...
[2025-01-13 09:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:06:03] Production.INFO: ==17165== Lock acquired, processing the job...
[2025-01-13 09:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:06:03] Production.INFO: ==17167== Lock acquired, processing the job...
[2025-01-13 09:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:06:03] Production.INFO: ==17171== Lock acquired, processing the job...
[2025-01-13 09:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:06:03] Production.INFO: Account Balance Start.
[2025-01-13 09:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:06:03] Production.ERROR: done
[2025-01-13 09:06:03] Production.INFO: ==17163== Releasing lock...
[2025-01-13 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:06:03] Production.INFO: 117
[2025-01-13 09:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:06:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:06:04] Production.INFO: count ==21
[2025-01-13 09:06:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:06:04] Production.INFO: count ==21
[2025-01-13 09:06:04] Production.ERROR: done
[2025-01-13 09:06:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:06:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237911') start
[2025-01-13 09:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:06:04] Production.INFO: Total Charge 0
[2025-01-13 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237911') end
[2025-01-13 09:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:06:04] Production.INFO: 1
[2025-01-13 09:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:06:04] Production.INFO: CreateAllLog End
[2025-01-13 09:06:04] Production.INFO: ==17171== Releasing lock...
[2025-01-13 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:06:04] Production.INFO: Account Balance End.
[2025-01-13 09:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:06:04] Production.INFO: ==17167== Releasing lock...
[2025-01-13 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:06:05
[end_date_ymd] => 2025-01-13 09:06:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:06:05' and `end` < '2025-01-13 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-13 09:06:10] Production.ERROR: CronJobId end10
[2025-01-13 09:06:10] Production.INFO: ==17165== Releasing lock...
[2025-01-13 09:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:06:13] Production.INFO: call_cost start
[2025-01-13 09:06:13] Production.INFO: call_cost end
[2025-01-13 09:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:06:14] Production.INFO: ==17161== Releasing lock...
[2025-01-13 09:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:06:17] Production.INFO: count ==1024
[2025-01-13 09:06:17] Production.ERROR: pbx CDR StartTime 2025-01-13 06:06:05 - End Time 2025-01-13 09:06:05
[2025-01-13 09:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237912', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237912', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237912', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237912', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:06:17] Production.INFO: ProcessCDR(1,14237912,1,1,2)
[2025-01-13 09:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237912', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237912', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:06:22] Production.INFO: ==17169== Releasing lock...
[2025-01-13 09:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:06:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-13 14:07:01] Production.INFO: ==17230== Lock acquired, processing the job...
[2025-01-13 14:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:07:01] Production.INFO: neon service started
[2025-01-13 14:07:01] Production.INFO: neon service started
[2025-01-13 14:07:01] Production.INFO: ==17230== Releasing lock...
[2025-01-13 14:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:07:02] Production.INFO: ==17232== Lock acquired, processing the job...
[2025-01-13 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:07:02] Production.INFO: ==17234== Lock acquired, processing the job...
[2025-01-13 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:07:02] Production.INFO: ==17234== Releasing lock...
[2025-01-13 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:07:02] Production.INFO: ==17232== Releasing lock...
[2025-01-13 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:07:03] Production.INFO: ==17237== Lock acquired, processing the job...
[2025-01-13 09:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:07:03] Production.INFO: ==17241== Lock acquired, processing the job...
[2025-01-13 09:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:07:03] Production.INFO: ==17243== Lock acquired, processing the job...
[2025-01-13 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:07:03] Production.INFO: ==17239== Lock acquired, processing the job...
[2025-01-13 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:07:03] Production.INFO: Account Balance Start.
[2025-01-13 09:07:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:07:03] Production.INFO: 117
[2025-01-13 09:07:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:07:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:07:03] Production.INFO: ==17245== Lock acquired, processing the job...
[2025-01-13 09:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:07:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:07:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:07:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:07:03] Production.INFO: ==17247== Lock acquired, processing the job...
[2025-01-13 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:07:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:07:03] Production.INFO: Total Charge 0
[2025-01-13 09:07:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 09:07:03] Production.INFO: count ==21
[2025-01-13 09:07:03] Production.ERROR: done
[2025-01-13 09:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 09:07:03] Production.INFO: count ==21
[2025-01-13 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237916') start
[2025-01-13 09:07:03] Production.ERROR: done
[2025-01-13 09:07:03] Production.INFO: ==17239== Releasing lock...
[2025-01-13 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237916') end
[2025-01-13 09:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:07:04] Production.INFO: 1
[2025-01-13 09:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:07:04] Production.INFO: Account Balance End.
[2025-01-13 09:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:07:04] Production.INFO: ==17243== Releasing lock...
[2025-01-13 09:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:07:04] Production.INFO: ==17247== Releasing lock...
[2025-01-13 09:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:07:04
[end_date_ymd] => 2025-01-13 09:07:04
[RateCDR] => 1
)
[2025-01-13 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-13 06:07:04' and `end` < '2025-01-13 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-13 09:07:11] Production.ERROR: CronJobId end10
[2025-01-13 09:07:11] Production.INFO: ==17241== Releasing lock...
[2025-01-13 09:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:07:13] Production.INFO: call_cost start
[2025-01-13 09:07:13] Production.INFO: call_cost end
[2025-01-13 09:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:07:13] Production.INFO: ==17237== Releasing lock...
[2025-01-13 09:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:07:17] Production.INFO: count ==1051
[2025-01-13 09:07:17] Production.ERROR: pbx CDR StartTime 2025-01-13 06:07:04 - End Time 2025-01-13 09:07:04
[2025-01-13 09:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237917', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237917', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237917', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237917', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:07:17] Production.INFO: ProcessCDR(1,14237917,1,1,2)
[2025-01-13 09:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237917', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237917', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:07:22] Production.INFO: ==17245== Releasing lock...
[2025-01-13 09:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:07:22] Production.INFO: 36.25 MB #Memory Used#
[2025-01-13 14:08:01] Production.INFO: ==17302== Lock acquired, processing the job...
[2025-01-13 14:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:08:01] Production.INFO: neon service started
[2025-01-13 14:08:01] Production.INFO: neon service started
[2025-01-13 14:08:01] Production.INFO: ==17302== Releasing lock...
[2025-01-13 14:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:08:02] Production.INFO: ==17304== Lock acquired, processing the job...
[2025-01-13 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:08:02] Production.INFO: ==17304== Releasing lock...
[2025-01-13 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:08:02] Production.INFO: ==17306== Lock acquired, processing the job...
[2025-01-13 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:08:02] Production.INFO: ==17306== Releasing lock...
[2025-01-13 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:08:03] Production.INFO: ==17313== Lock acquired, processing the job...
[2025-01-13 09:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:08:03] Production.INFO: ==17317== Lock acquired, processing the job...
[2025-01-13 09:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:08:03] Production.INFO: ==17309== Lock acquired, processing the job...
[2025-01-13 09:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:08:03] Production.INFO: ==17311== Lock acquired, processing the job...
[2025-01-13 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:08:03] Production.INFO: ==17315== Lock acquired, processing the job...
[2025-01-13 09:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:08:03] Production.INFO: ==17319== Lock acquired, processing the job...
[2025-01-13 09:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:08:03] Production.ERROR: done
[2025-01-13 09:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:08:03] Production.INFO: Account Balance Start.
[2025-01-13 09:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:08:03] Production.INFO: 117
[2025-01-13 09:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:08:03] Production.INFO: count ==21
[2025-01-13 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:08:04] Production.ERROR: done
[2025-01-13 09:08:04] Production.INFO: count ==21
[2025-01-13 09:08:04] Production.INFO: ==17311== Releasing lock...
[2025-01-13 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:08:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237920') start
[2025-01-13 09:08:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:08:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:08:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237920') end
[2025-01-13 09:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:08:04] Production.INFO: 1
[2025-01-13 09:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:08:04] Production.INFO: ==17319== Releasing lock...
[2025-01-13 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:08:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:08:04] Production.INFO: Total Charge 0
[2025-01-13 09:08:04] Production.INFO: CreateAllLog End
[2025-01-13 09:08:04] Production.INFO: Account Balance End.
[2025-01-13 09:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:08:04] Production.INFO: ==17315== Releasing lock...
[2025-01-13 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:08:05
[end_date_ymd] => 2025-01-13 09:08:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:08:05' and `end` < '2025-01-13 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-13 09:08:09] Production.ERROR: CronJobId end10
[2025-01-13 09:08:09] Production.INFO: ==17313== Releasing lock...
[2025-01-13 09:08:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:08:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:08:13] Production.INFO: call_cost start
[2025-01-13 09:08:13] Production.INFO: call_cost end
[2025-01-13 09:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:08:13] Production.INFO: ==17309== Releasing lock...
[2025-01-13 09:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:08:17] Production.INFO: count ==1073
[2025-01-13 09:08:17] Production.ERROR: pbx CDR StartTime 2025-01-13 06:08:05 - End Time 2025-01-13 09:08:05
[2025-01-13 09:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237922', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237922', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237922', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237922', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:08:18] Production.INFO: ProcessCDR(1,14237922,1,1,2)
[2025-01-13 09:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237922', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237922', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:08:22] Production.INFO: ==17317== Releasing lock...
[2025-01-13 09:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:08:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-13 14:09:02] Production.INFO: ==17374== Lock acquired, processing the job...
[2025-01-13 14:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:09:02] Production.INFO: neon service started
[2025-01-13 14:09:02] Production.INFO: neon service started
[2025-01-13 14:09:02] Production.INFO: ==17374== Releasing lock...
[2025-01-13 14:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:09:02] Production.INFO: ==17376== Lock acquired, processing the job...
[2025-01-13 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:09:02] Production.INFO: ==17378== Lock acquired, processing the job...
[2025-01-13 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:09:03] Production.INFO: ==17378== Releasing lock...
[2025-01-13 14:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:09:03] Production.INFO: ==17376== Releasing lock...
[2025-01-13 09:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:09:03] Production.INFO: ==17385== Lock acquired, processing the job...
[2025-01-13 09:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:09:04] Production.INFO: ==17381== Lock acquired, processing the job...
[2025-01-13 09:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:09:04] Production.INFO: ==17383== Lock acquired, processing the job...
[2025-01-13 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:09:04] Production.INFO: ==17389== Lock acquired, processing the job...
[2025-01-13 09:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:09:04] Production.INFO: ==17387== Lock acquired, processing the job...
[2025-01-13 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:09:04] Production.INFO: ==17391== Lock acquired, processing the job...
[2025-01-13 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:09:04] Production.INFO: Account Balance Start.
[2025-01-13 09:09:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:09:04] Production.INFO: 117
[2025-01-13 09:09:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:09:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:09:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:09:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:09:04] Production.ERROR: done
[2025-01-13 09:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:09:04] Production.INFO: ==17383== Releasing lock...
[2025-01-13 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:09:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:09:04] Production.INFO: count ==21
[2025-01-13 09:09:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:09:04] Production.INFO: count ==21
[2025-01-13 09:09:04] Production.INFO: Total Charge 0
[2025-01-13 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237926') start
[2025-01-13 09:09:04] Production.INFO: CreateAllLog End
[2025-01-13 09:09:04] Production.ERROR: done
[2025-01-13 09:09:05] Production.ERROR: PBX CALL prc_importPBXExtension('14237926') end
[2025-01-13 09:09:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:09:05] Production.INFO: 1
[2025-01-13 09:09:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:09:05] Production.INFO: Account Balance End.
[2025-01-13 09:09:05] Production.INFO: ==17391== Releasing lock...
[2025-01-13 09:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:09:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:09:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:09:05] Production.INFO: ==17387== Releasing lock...
[2025-01-13 09:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:09:05
[end_date_ymd] => 2025-01-13 09:09:05
[RateCDR] => 1
)
[2025-01-13 09:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:09:05' and `end` < '2025-01-13 09:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:09:12] Production.ERROR: CronJobId end10
[2025-01-13 09:09:12] Production.INFO: ==17385== Releasing lock...
[2025-01-13 09:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:09:14] Production.INFO: call_cost start
[2025-01-13 09:09:14] Production.INFO: call_cost end
[2025-01-13 09:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:09:15] Production.INFO: ==17381== Releasing lock...
[2025-01-13 09:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:09:18] Production.INFO: count ==1080
[2025-01-13 09:09:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:09:05 - End Time 2025-01-13 09:09:05
[2025-01-13 09:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237927', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237927', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237927', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237927', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:09:18] Production.INFO: ProcessCDR(1,14237927,1,1,2)
[2025-01-13 09:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237927', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237927', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:09:23] Production.INFO: ==17389== Releasing lock...
[2025-01-13 09:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:09:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-13 14:10:01] Production.INFO: ==17443== Lock acquired, processing the job...
[2025-01-13 14:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:10:01] Production.INFO: neon service started
[2025-01-13 14:10:01] Production.INFO: neon service started
[2025-01-13 14:10:01] Production.INFO: ==17443== Releasing lock...
[2025-01-13 14:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:10:02] Production.INFO: ==17445== Lock acquired, processing the job...
[2025-01-13 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:10:02] Production.INFO: ==17447== Lock acquired, processing the job...
[2025-01-13 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:10:02] Production.INFO: ==17447== Releasing lock...
[2025-01-13 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:10:02] Production.INFO: ==17445== Releasing lock...
[2025-01-13 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:10:03] Production.INFO: ==17450== Lock acquired, processing the job...
[2025-01-13 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 09:10:03] Production.INFO: ==17452== Lock acquired, processing the job...
[2025-01-13 09:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 09:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 09:10:03] Production.ERROR: CronJob PID - 17452
[2025-01-13 09:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 09:10:03] Production.ERROR: CronJob ID - 5
[2025-01-13 09:10:03] Production.ERROR: CronJob Last Run Time 2025-01-13 09:10:00
[2025-01-13 09:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 09:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 09:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 09:10:03] Production.INFO: ==17450== Releasing lock...
[2025-01-13 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 09:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 09:10:03] Production.INFO: ==17456== Lock acquired, processing the job...
[2025-01-13 09:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:10:04] Production.INFO: ==17464== Lock acquired, processing the job...
[2025-01-13 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:10:04] Production.INFO: ==17454== Lock acquired, processing the job...
[2025-01-13 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:10:04] Production.INFO: ==17458== Lock acquired, processing the job...
[2025-01-13 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 09:10:04] Production.INFO: count ==21
[2025-01-13 09:10:04] Production.INFO: ==17460== Lock acquired, processing the job...
[2025-01-13 09:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 09:10:04] Production.INFO: Account Balance Start.
[2025-01-13 09:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:10:04] Production.INFO: count ==21
[2025-01-13 09:10:04] Production.INFO: 117
[2025-01-13 09:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:10:04] Production.INFO: ==17462== Lock acquired, processing the job...
[2025-01-13 09:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237929') start
[2025-01-13 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237929') end
[2025-01-13 09:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:10:04] Production.INFO: 1
[2025-01-13 09:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:10:04] Production.INFO: ==17454== Releasing lock...
[2025-01-13 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:10:04] Production.INFO: ==17464== Releasing lock...
[2025-01-13 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:10:04] Production.INFO: Total Charge 0
[2025-01-13 09:10:04] Production.INFO: CreateAllLog End
[2025-01-13 09:10:05] Production.ERROR: done
[2025-01-13 09:10:05] Production.ERROR: done
[2025-01-13 09:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 09:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237932', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 09:10:05] Production.INFO: Account Balance End.
[2025-01-13 09:10:05] Production.ERROR: done
[2025-01-13 09:10:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:10:05] Production.INFO: ==17458== Releasing lock...
[2025-01-13 09:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:10:06
[end_date_ymd] => 2025-01-13 09:10:06
[RateCDR] => 1
)
[2025-01-13 09:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:10:06' and `end` < '2025-01-13 09:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237932', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 09:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 09:10:08] Production.INFO: ProcessCDR(1,14237932,1,1,2)
[2025-01-13 09:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237932,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237932,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:10:08] Production.INFO: ==17462== Releasing lock...
[2025-01-13 09:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 09:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 09:10:13] Production.ERROR: CronJobId end10
[2025-01-13 09:10:13] Production.INFO: ==17456== Releasing lock...
[2025-01-13 09:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:10:15] Production.INFO: call_cost start
[2025-01-13 09:10:15] Production.INFO: call_cost end
[2025-01-13 09:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:10:15] Production.INFO: ==17452== Releasing lock...
[2025-01-13 09:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:10:19] Production.INFO: count ==1095
[2025-01-13 09:10:19] Production.ERROR: pbx CDR StartTime 2025-01-13 06:10:06 - End Time 2025-01-13 09:10:06
[2025-01-13 09:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237933', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237933', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237933', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237933', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:10:19] Production.INFO: ProcessCDR(1,14237933,1,1,2)
[2025-01-13 09:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237933', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237933', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:10:24] Production.INFO: ==17460== Releasing lock...
[2025-01-13 09:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:10:24] Production.INFO: 36.25 MB #Memory Used#
[2025-01-13 14:11:02] Production.INFO: ==17520== Lock acquired, processing the job...
[2025-01-13 14:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:11:02] Production.INFO: neon service started
[2025-01-13 14:11:02] Production.INFO: neon service started
[2025-01-13 14:11:02] Production.INFO: ==17520== Releasing lock...
[2025-01-13 14:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:11:02] Production.INFO: ==17522== Lock acquired, processing the job...
[2025-01-13 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:11:02] Production.INFO: ==17524== Lock acquired, processing the job...
[2025-01-13 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:11:02] Production.INFO: ==17524== Releasing lock...
[2025-01-13 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:11:03] Production.INFO: ==17522== Releasing lock...
[2025-01-13 09:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:11:03] Production.INFO: ==17533== Lock acquired, processing the job...
[2025-01-13 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:11:03] Production.INFO: ==17537== Lock acquired, processing the job...
[2025-01-13 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:11:03] Production.INFO: ==17527== Lock acquired, processing the job...
[2025-01-13 09:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:11:04] Production.INFO: Account Balance Start.
[2025-01-13 09:11:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:11:04] Production.INFO: 117
[2025-01-13 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-13 09:11:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:11:04] Production.INFO: count ==21
[2025-01-13 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-13 09:11:04] Production.INFO: count ==21
[2025-01-13 09:11:04] Production.INFO: ==17529== Lock acquired, processing the job...
[2025-01-13 09:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237935') start
[2025-01-13 09:11:04] Production.INFO: ==17531== Lock acquired, processing the job...
[2025-01-13 09:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:11:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:11:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:11:04] Production.INFO: ==17535== Lock acquired, processing the job...
[2025-01-13 09:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:11:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237935') end
[2025-01-13 09:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:11:04] Production.INFO: 1
[2025-01-13 09:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:11:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:11:04] Production.INFO: ==17537== Releasing lock...
[2025-01-13 09:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:11:04] Production.INFO: Total Charge 0
[2025-01-13 09:11:04] Production.ERROR: done
[2025-01-13 09:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:11:04] Production.INFO: CreateAllLog End
[2025-01-13 09:11:04] Production.INFO: ==17529== Releasing lock...
[2025-01-13 09:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:11:04] Production.ERROR: done
[2025-01-13 09:11:04] Production.INFO: Account Balance End.
[2025-01-13 09:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:11:04] Production.INFO: ==17533== Releasing lock...
[2025-01-13 09:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:11:05
[end_date_ymd] => 2025-01-13 09:11:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:11:05' and `end` < '2025-01-13 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-13 09:11:10] Production.ERROR: CronJobId end10
[2025-01-13 09:11:10] Production.INFO: ==17531== Releasing lock...
[2025-01-13 09:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:11:13] Production.INFO: call_cost start
[2025-01-13 09:11:13] Production.INFO: call_cost end
[2025-01-13 09:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:11:14] Production.INFO: ==17527== Releasing lock...
[2025-01-13 09:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:11:18] Production.INFO: count ==1160
[2025-01-13 09:11:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:11:05 - End Time 2025-01-13 09:11:05
[2025-01-13 09:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237938', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237938', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237938', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237938', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:11:18] Production.INFO: ProcessCDR(1,14237938,1,1,2)
[2025-01-13 09:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237938', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237938', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:11:23] Production.INFO: ==17535== Releasing lock...
[2025-01-13 09:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:11:23] Production.INFO: 37 MB #Memory Used#
[2025-01-13 14:12:01] Production.INFO: ==17592== Lock acquired, processing the job...
[2025-01-13 14:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:12:01] Production.INFO: neon service started
[2025-01-13 14:12:01] Production.INFO: neon service started
[2025-01-13 14:12:01] Production.INFO: ==17592== Releasing lock...
[2025-01-13 14:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:12:02] Production.INFO: ==17594== Lock acquired, processing the job...
[2025-01-13 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:12:02] Production.INFO: ==17594== Releasing lock...
[2025-01-13 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:12:02] Production.INFO: ==17596== Lock acquired, processing the job...
[2025-01-13 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:12:02] Production.INFO: ==17596== Releasing lock...
[2025-01-13 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:12:03] Production.INFO: ==17607== Lock acquired, processing the job...
[2025-01-13 09:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:12:03] Production.INFO: ==17609== Lock acquired, processing the job...
[2025-01-13 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:12:03] Production.INFO: ==17598== Lock acquired, processing the job...
[2025-01-13 09:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:12:03] Production.INFO: ==17600== Lock acquired, processing the job...
[2025-01-13 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:12:03] Production.ERROR: done
[2025-01-13 09:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:12:03] Production.INFO: ==17602== Lock acquired, processing the job...
[2025-01-13 09:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:12:03] Production.INFO: ==17604== Lock acquired, processing the job...
[2025-01-13 09:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 09:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:12:03] Production.INFO: count ==21
[2025-01-13 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-13 09:12:03] Production.INFO: count ==21
[2025-01-13 09:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237939') start
[2025-01-13 09:12:03] Production.ERROR: done
[2025-01-13 09:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:12:03] Production.INFO: Account Balance Start.
[2025-01-13 09:12:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:12:03] Production.INFO: 117
[2025-01-13 09:12:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:12:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237939') end
[2025-01-13 09:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:12:03] Production.INFO: 1
[2025-01-13 09:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:12:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:12:03] Production.INFO: ==17609== Releasing lock...
[2025-01-13 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:12:03] Production.INFO: ==17600== Releasing lock...
[2025-01-13 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:12:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:12:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:12:04] Production.INFO: Total Charge 0
[2025-01-13 09:12:04] Production.INFO: CreateAllLog End
[2025-01-13 09:12:04] Production.INFO: Account Balance End.
[2025-01-13 09:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:12:04] Production.INFO: ==17604== Releasing lock...
[2025-01-13 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:12:04
[end_date_ymd] => 2025-01-13 09:12:04
[RateCDR] => 1
)
[2025-01-13 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-13 06:12:04' and `end` < '2025-01-13 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-13 09:12:11] Production.ERROR: CronJobId end10
[2025-01-13 09:12:11] Production.INFO: ==17602== Releasing lock...
[2025-01-13 09:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:12:13] Production.INFO: call_cost start
[2025-01-13 09:12:13] Production.INFO: call_cost end
[2025-01-13 09:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:12:14] Production.INFO: ==17598== Releasing lock...
[2025-01-13 09:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:12:17] Production.INFO: count ==1179
[2025-01-13 09:12:17] Production.ERROR: pbx CDR StartTime 2025-01-13 06:12:04 - End Time 2025-01-13 09:12:04
[2025-01-13 09:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237943', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237943', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237943', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237943', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:12:17] Production.INFO: ProcessCDR(1,14237943,1,1,2)
[2025-01-13 09:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237943', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237943', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:12:22] Production.INFO: ==17607== Releasing lock...
[2025-01-13 09:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:12:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 14:13:02] Production.INFO: ==17666== Lock acquired, processing the job...
[2025-01-13 14:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:13:02] Production.INFO: neon service started
[2025-01-13 14:13:02] Production.INFO: neon service started
[2025-01-13 14:13:02] Production.INFO: ==17666== Releasing lock...
[2025-01-13 14:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:13:02] Production.INFO: ==17669== Lock acquired, processing the job...
[2025-01-13 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:13:02] Production.INFO: ==17669== Releasing lock...
[2025-01-13 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:13:02] Production.INFO: ==17672== Lock acquired, processing the job...
[2025-01-13 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:13:02] Production.INFO: ==17672== Releasing lock...
[2025-01-13 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:13:03] Production.INFO: ==17684== Lock acquired, processing the job...
[2025-01-13 09:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:13:03] Production.INFO: ==17682== Lock acquired, processing the job...
[2025-01-13 09:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:13:03] Production.INFO: ==17674== Lock acquired, processing the job...
[2025-01-13 09:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:13:04] Production.INFO: ==17676== Lock acquired, processing the job...
[2025-01-13 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:13:04] Production.INFO: ==17678== Lock acquired, processing the job...
[2025-01-13 09:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:13:04] Production.INFO: ==17680== Lock acquired, processing the job...
[2025-01-13 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:13:04] Production.INFO: count ==21
[2025-01-13 09:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:13:04] Production.INFO: count ==21
[2025-01-13 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237944') start
[2025-01-13 09:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:13:04] Production.ERROR: done
[2025-01-13 09:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237944') end
[2025-01-13 09:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:13:04] Production.INFO: 1
[2025-01-13 09:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:13:04] Production.INFO: Account Balance Start.
[2025-01-13 09:13:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:13:04] Production.INFO: 117
[2025-01-13 09:13:04] Production.INFO: ==17684== Releasing lock...
[2025-01-13 09:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:13:04] Production.ERROR: done
[2025-01-13 09:13:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:13:04] Production.INFO: ==17676== Releasing lock...
[2025-01-13 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:13:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:13:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:13:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:13:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:13:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:13:04] Production.INFO: Total Charge 0
[2025-01-13 09:13:04] Production.INFO: CreateAllLog End
[2025-01-13 09:13:05] Production.INFO: Account Balance End.
[2025-01-13 09:13:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:13:05] Production.INFO: ==17680== Releasing lock...
[2025-01-13 09:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:13:05
[end_date_ymd] => 2025-01-13 09:13:05
[RateCDR] => 1
)
[2025-01-13 09:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:13:05' and `end` < '2025-01-13 09:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:13:11] Production.ERROR: CronJobId end10
[2025-01-13 09:13:11] Production.INFO: ==17678== Releasing lock...
[2025-01-13 09:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:13:13] Production.INFO: call_cost start
[2025-01-13 09:13:13] Production.INFO: call_cost end
[2025-01-13 09:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:13:14] Production.INFO: ==17674== Releasing lock...
[2025-01-13 09:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:13:18] Production.INFO: count ==1190
[2025-01-13 09:13:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:13:05 - End Time 2025-01-13 09:13:05
[2025-01-13 09:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237948', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237948', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237948', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237948', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:13:18] Production.INFO: ProcessCDR(1,14237948,1,1,2)
[2025-01-13 09:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237948', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237948', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:13:23] Production.INFO: ==17682== Releasing lock...
[2025-01-13 09:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:13:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 14:14:01] Production.INFO: ==17748== Lock acquired, processing the job...
[2025-01-13 14:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:14:01] Production.INFO: neon service started
[2025-01-13 14:14:01] Production.INFO: neon service started
[2025-01-13 14:14:01] Production.INFO: ==17748== Releasing lock...
[2025-01-13 14:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:14:01] Production.INFO: ==17752== Lock acquired, processing the job...
[2025-01-13 14:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:14:01] Production.INFO: ==17752== Releasing lock...
[2025-01-13 14:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:14:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:14:02] Production.INFO: ==17750== Lock acquired, processing the job...
[2025-01-13 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:14:02] Production.INFO: ==17750== Releasing lock...
[2025-01-13 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:14:03] Production.INFO: ==17755== Lock acquired, processing the job...
[2025-01-13 09:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:14:03] Production.INFO: ==17757== Lock acquired, processing the job...
[2025-01-13 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:14:03] Production.INFO: ==17765== Lock acquired, processing the job...
[2025-01-13 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:14:03] Production.INFO: ==17759== Lock acquired, processing the job...
[2025-01-13 09:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 09:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:14:03] Production.INFO: ==17763== Lock acquired, processing the job...
[2025-01-13 09:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:14:03] Production.INFO: count ==21
[2025-01-13 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-13 09:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:14:03] Production.INFO: ==17761== Lock acquired, processing the job...
[2025-01-13 09:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:14:03] Production.INFO: count ==21
[2025-01-13 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237951') start
[2025-01-13 09:14:03] Production.INFO: ==17757== Releasing lock...
[2025-01-13 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237951') end
[2025-01-13 09:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:14:03] Production.INFO: 1
[2025-01-13 09:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:14:03] Production.INFO: ==17765== Releasing lock...
[2025-01-13 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:14:03] Production.INFO: Account Balance Start.
[2025-01-13 09:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:14:03] Production.INFO: 117
[2025-01-13 09:14:03] Production.ERROR: done
[2025-01-13 09:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:14:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:14:03] Production.ERROR: done
[2025-01-13 09:14:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:14:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:14:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:14:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:14:04] Production.INFO: Total Charge 0
[2025-01-13 09:14:04] Production.INFO: CreateAllLog End
[2025-01-13 09:14:04] Production.INFO: Account Balance End.
[2025-01-13 09:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:14:04] Production.INFO: ==17761== Releasing lock...
[2025-01-13 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:14:04
[end_date_ymd] => 2025-01-13 09:14:04
[RateCDR] => 1
)
[2025-01-13 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-13 06:14:04' and `end` < '2025-01-13 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-13 09:14:10] Production.ERROR: CronJobId end10
[2025-01-13 09:14:10] Production.INFO: ==17759== Releasing lock...
[2025-01-13 09:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:14:12] Production.INFO: call_cost start
[2025-01-13 09:14:12] Production.INFO: call_cost end
[2025-01-13 09:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:14:13] Production.INFO: ==17755== Releasing lock...
[2025-01-13 09:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:14:17] Production.INFO: count ==1217
[2025-01-13 09:14:17] Production.ERROR: pbx CDR StartTime 2025-01-13 06:14:04 - End Time 2025-01-13 09:14:04
[2025-01-13 09:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237953', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237953', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237953', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237953', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:14:17] Production.INFO: ProcessCDR(1,14237953,1,1,2)
[2025-01-13 09:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237953', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237953', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:14:22] Production.INFO: ==17763== Releasing lock...
[2025-01-13 09:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:14:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-13 14:15:01] Production.INFO: ==17823== Lock acquired, processing the job...
[2025-01-13 14:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:15:02] Production.INFO: neon service started
[2025-01-13 14:15:02] Production.INFO: neon service started
[2025-01-13 14:15:02] Production.INFO: ==17823== Releasing lock...
[2025-01-13 14:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:15:02] Production.INFO: ==17825== Lock acquired, processing the job...
[2025-01-13 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:15:02] Production.INFO: ==17827== Lock acquired, processing the job...
[2025-01-13 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:15:02] Production.INFO: ==17827== Releasing lock...
[2025-01-13 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:15:02] Production.INFO: ==17825== Releasing lock...
[2025-01-13 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:15:03] Production.INFO: ==17830== Lock acquired, processing the job...
[2025-01-13 09:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:15:03] Production.INFO: ==17832== Lock acquired, processing the job...
[2025-01-13 09:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:15:03] Production.INFO: ==17836== Lock acquired, processing the job...
[2025-01-13 09:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:15:03] Production.INFO: Account Balance Start.
[2025-01-13 09:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:15:03] Production.INFO: 117
[2025-01-13 09:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:15:03] Production.INFO: ==17838== Lock acquired, processing the job...
[2025-01-13 09:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:15:03] Production.INFO: ==17834== Lock acquired, processing the job...
[2025-01-13 09:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:15:03] Production.INFO: ==17840== Lock acquired, processing the job...
[2025-01-13 09:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:15:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:15:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:15:04] Production.INFO: count ==21
[2025-01-13 09:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:15:04] Production.INFO: count ==21
[2025-01-13 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237957') start
[2025-01-13 09:15:04] Production.INFO: ==17832== Releasing lock...
[2025-01-13 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:15:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237957') end
[2025-01-13 09:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:15:04] Production.INFO: 1
[2025-01-13 09:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:15:04] Production.INFO: ==17840== Releasing lock...
[2025-01-13 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:15:04] Production.ERROR: done
[2025-01-13 09:15:04] Production.INFO: Total Charge 0
[2025-01-13 09:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:15:04] Production.INFO: CreateAllLog End
[2025-01-13 09:15:04] Production.ERROR: done
[2025-01-13 09:15:04] Production.INFO: Account Balance End.
[2025-01-13 09:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:15:04] Production.INFO: ==17836== Releasing lock...
[2025-01-13 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:15:05
[end_date_ymd] => 2025-01-13 09:15:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:15:05' and `end` < '2025-01-13 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-13 09:15:11] Production.ERROR: CronJobId end10
[2025-01-13 09:15:11] Production.INFO: ==17834== Releasing lock...
[2025-01-13 09:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:15:12] Production.INFO: call_cost start
[2025-01-13 09:15:12] Production.INFO: call_cost end
[2025-01-13 09:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:15:13] Production.INFO: ==17830== Releasing lock...
[2025-01-13 09:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:15:20] Production.INFO: count ==1249
[2025-01-13 09:15:20] Production.ERROR: pbx CDR StartTime 2025-01-13 06:15:05 - End Time 2025-01-13 09:15:05
[2025-01-13 09:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237958', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237958', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237958', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237958', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:15:20] Production.INFO: ProcessCDR(1,14237958,1,1,2)
[2025-01-13 09:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:15:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:15:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:15:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237958', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237958', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:15:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:15:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:15:25] Production.INFO: ==17838== Releasing lock...
[2025-01-13 09:15:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:15:25] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 14:16:01] Production.INFO: ==17896== Lock acquired, processing the job...
[2025-01-13 14:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:16:01] Production.INFO: neon service started
[2025-01-13 14:16:01] Production.INFO: neon service started
[2025-01-13 14:16:01] Production.INFO: ==17896== Releasing lock...
[2025-01-13 14:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:16:01] Production.INFO: ==17900== Lock acquired, processing the job...
[2025-01-13 14:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:16:01] Production.INFO: ==17900== Releasing lock...
[2025-01-13 14:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:16:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:16:02] Production.INFO: ==17898== Lock acquired, processing the job...
[2025-01-13 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:16:02] Production.INFO: ==17898== Releasing lock...
[2025-01-13 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:16:03] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-01-13 09:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:16:03] Production.INFO: ==17911== Lock acquired, processing the job...
[2025-01-13 09:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:16:03] Production.INFO: Account Balance Start.
[2025-01-13 09:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:16:03] Production.INFO: 117
[2025-01-13 09:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:16:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:16:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:16:03] Production.INFO: ==17913== Lock acquired, processing the job...
[2025-01-13 09:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:16:03] Production.INFO: ==17904== Lock acquired, processing the job...
[2025-01-13 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:16:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:16:03] Production.INFO: ==17906== Lock acquired, processing the job...
[2025-01-13 09:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:16:03] Production.INFO: ==17902== Lock acquired, processing the job...
[2025-01-13 09:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:16:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:16:03] Production.ERROR: done
[2025-01-13 09:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:16:03] Production.INFO: Total Charge 0
[2025-01-13 09:16:03] Production.INFO: CreateAllLog End
[2025-01-13 09:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:16:03] Production.INFO: count ==21
[2025-01-13 09:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:16:03] Production.INFO: count ==21
[2025-01-13 09:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237961') start
[2025-01-13 09:16:03] Production.ERROR: done
[2025-01-13 09:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237961') end
[2025-01-13 09:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:16:03] Production.INFO: 1
[2025-01-13 09:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:16:03] Production.INFO: Account Balance End.
[2025-01-13 09:16:04] Production.INFO: ==17913== Releasing lock...
[2025-01-13 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:16:04] Production.INFO: ==17908== Releasing lock...
[2025-01-13 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:16:04] Production.INFO: ==17904== Releasing lock...
[2025-01-13 09:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:16:04
[end_date_ymd] => 2025-01-13 09:16:04
[RateCDR] => 1
)
[2025-01-13 09: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-13 06:16:04' and `end` < '2025-01-13 09: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-13 09: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-13 09:16:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:16:10] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:16:10] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:16:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:16:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:16:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:16:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:16:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:16:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:16:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:16:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:16:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:16:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:16:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:16:11] Production.INFO: call_cost start
[2025-01-13 09:16:11] Production.INFO: call_cost end
[2025-01-13 09:16:11] Production.ERROR: CronJobId end10
[2025-01-13 09:16:11] Production.INFO: ==17906== Releasing lock...
[2025-01-13 09:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:16:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:16:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:16:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:16:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:16:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:16:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:16:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:16:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:16:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:16:12] Production.INFO: ==17902== Releasing lock...
[2025-01-13 09:16:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:16:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:16:19] Production.INFO: count ==1267
[2025-01-13 09:16:19] Production.ERROR: pbx CDR StartTime 2025-01-13 06:16:04 - End Time 2025-01-13 09:16:04
[2025-01-13 09:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237963', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237963', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237963', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237963', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:16:19] Production.INFO: ProcessCDR(1,14237963,1,1,2)
[2025-01-13 09:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:16:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:16:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237963', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237963', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:16:24] Production.INFO: ==17911== Releasing lock...
[2025-01-13 09:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:16:24] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 14:17:01] Production.INFO: ==17969== Lock acquired, processing the job...
[2025-01-13 14:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:17:01] Production.INFO: neon service started
[2025-01-13 14:17:01] Production.INFO: neon service started
[2025-01-13 14:17:01] Production.INFO: ==17969== Releasing lock...
[2025-01-13 14:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:17:02] Production.INFO: ==17971== Lock acquired, processing the job...
[2025-01-13 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:17:02] Production.INFO: ==17971== Releasing lock...
[2025-01-13 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:17:02] Production.INFO: ==17973== Lock acquired, processing the job...
[2025-01-13 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:17:02] Production.INFO: ==17973== Releasing lock...
[2025-01-13 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:17:03] Production.INFO: ==17980== Lock acquired, processing the job...
[2025-01-13 09:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:17:03] Production.INFO: ==17982== Lock acquired, processing the job...
[2025-01-13 09:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:17:03] Production.INFO: ==17976== Lock acquired, processing the job...
[2025-01-13 09:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:17:03] Production.INFO: ==17978== Lock acquired, processing the job...
[2025-01-13 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:17:03] Production.INFO: ==17984== Lock acquired, processing the job...
[2025-01-13 09:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:17:03] Production.INFO: Account Balance Start.
[2025-01-13 09:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:17:03] Production.INFO: 117
[2025-01-13 09:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:17:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:17:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:17:03] Production.INFO: ==17986== Lock acquired, processing the job...
[2025-01-13 09:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:17:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:17:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:17:03] Production.INFO: ==17978== Releasing lock...
[2025-01-13 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:17:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:17:03] Production.INFO: count ==21
[2025-01-13 09:17:03] Production.INFO: Date 2025-01-13
[2025-01-13 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-13 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:17:03] Production.INFO: count ==21
[2025-01-13 09:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237967') start
[2025-01-13 09:17:04] Production.INFO: Total Charge 0
[2025-01-13 09:17:04] Production.ERROR: done
[2025-01-13 09:17:04] Production.INFO: CreateAllLog End
[2025-01-13 09:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237967') end
[2025-01-13 09:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:17:04] Production.INFO: 1
[2025-01-13 09:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:17:04] Production.INFO: ==17986== Releasing lock...
[2025-01-13 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:17:04] Production.ERROR: done
[2025-01-13 09:17:04] Production.INFO: Account Balance End.
[2025-01-13 09:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:17:04] Production.INFO: ==17982== Releasing lock...
[2025-01-13 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:17:05
[end_date_ymd] => 2025-01-13 09:17:05
[RateCDR] => 1
)
[2025-01-13 09:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:17:05' and `end` < '2025-01-13 09:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:17:10] Production.ERROR: CronJobId end10
[2025-01-13 09:17:10] Production.INFO: ==17980== Releasing lock...
[2025-01-13 09:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:17:13] Production.INFO: call_cost start
[2025-01-13 09:17:13] Production.INFO: call_cost end
[2025-01-13 09:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:17:14] Production.INFO: ==17976== Releasing lock...
[2025-01-13 09:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:17:18] Production.INFO: count ==1292
[2025-01-13 09:17:19] Production.ERROR: pbx CDR StartTime 2025-01-13 06:17:05 - End Time 2025-01-13 09:17:05
[2025-01-13 09:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237968', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237968', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237968', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237968', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:17:19] Production.INFO: ProcessCDR(1,14237968,1,1,2)
[2025-01-13 09:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237968', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237968', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:17:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:17:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:17:24] Production.INFO: ==17984== Releasing lock...
[2025-01-13 09:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:17:24] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 14:18:01] Production.INFO: ==18079== Lock acquired, processing the job...
[2025-01-13 14:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:18:01] Production.INFO: neon service started
[2025-01-13 14:18:01] Production.INFO: neon service started
[2025-01-13 14:18:01] Production.INFO: ==18079== Releasing lock...
[2025-01-13 14:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:18:01] Production.INFO: ==18083== Lock acquired, processing the job...
[2025-01-13 14:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:18:01] Production.INFO: ==18083== Releasing lock...
[2025-01-13 14:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:18:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:18:02] Production.INFO: ==18081== Lock acquired, processing the job...
[2025-01-13 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:18:02] Production.INFO: ==18081== Releasing lock...
[2025-01-13 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:18:03] Production.INFO: ==18087== Lock acquired, processing the job...
[2025-01-13 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:18:03] Production.INFO: ==18091== Lock acquired, processing the job...
[2025-01-13 09:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:18:03] Production.INFO: ==18085== Lock acquired, processing the job...
[2025-01-13 09:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:18:03] Production.INFO: ==18089== Lock acquired, processing the job...
[2025-01-13 09:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:18:03] Production.INFO: Account Balance Start.
[2025-01-13 09:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:18:03] Production.INFO: 117
[2025-01-13 09:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:18:03] Production.INFO: ==18095== Lock acquired, processing the job...
[2025-01-13 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 09:18:03] Production.INFO: ==18093== Lock acquired, processing the job...
[2025-01-13 09:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:18:03] Production.INFO: ==18087== Releasing lock...
[2025-01-13 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:18:03] Production.INFO: count ==21
[2025-01-13 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-13 09:18:03] Production.INFO: count ==21
[2025-01-13 09:18:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237972') start
[2025-01-13 09:18:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:18:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:18:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237972') end
[2025-01-13 09:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:18:03] Production.INFO: 1
[2025-01-13 09:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:18:03] Production.INFO: ==18095== Releasing lock...
[2025-01-13 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:18:04] Production.INFO: Total Charge 0
[2025-01-13 09:18:04] Production.ERROR: done
[2025-01-13 09:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:18:04] Production.INFO: CreateAllLog End
[2025-01-13 09:18:04] Production.ERROR: done
[2025-01-13 09:18:04] Production.INFO: Account Balance End.
[2025-01-13 09:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:18:04] Production.INFO: ==18091== Releasing lock...
[2025-01-13 09:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:18:05
[end_date_ymd] => 2025-01-13 09:18:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:18:05' and `end` < '2025-01-13 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-13 09:18:10] Production.ERROR: CronJobId end10
[2025-01-13 09:18:10] Production.INFO: ==18089== Releasing lock...
[2025-01-13 09:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:18:12] Production.INFO: call_cost start
[2025-01-13 09:18:12] Production.INFO: call_cost end
[2025-01-13 09:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:18:13] Production.INFO: ==18085== Releasing lock...
[2025-01-13 09:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:18:17] Production.INFO: count ==1311
[2025-01-13 09:18:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:18:05 - End Time 2025-01-13 09:18:05
[2025-01-13 09:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237973', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237973', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237973', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237973', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:18:18] Production.INFO: ProcessCDR(1,14237973,1,1,2)
[2025-01-13 09:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237973', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237973', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:18:22] Production.INFO: ==18093== Releasing lock...
[2025-01-13 09:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:18:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-13 14:19:01] Production.INFO: ==18148== Lock acquired, processing the job...
[2025-01-13 14:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:19:01] Production.INFO: neon service started
[2025-01-13 14:19:01] Production.INFO: neon service started
[2025-01-13 14:19:01] Production.INFO: ==18148== Releasing lock...
[2025-01-13 14:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:19:02] Production.INFO: ==18150== Lock acquired, processing the job...
[2025-01-13 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:19:02] Production.INFO: ==18150== Releasing lock...
[2025-01-13 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:19:02] Production.INFO: ==18152== Lock acquired, processing the job...
[2025-01-13 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:19:02] Production.INFO: ==18152== Releasing lock...
[2025-01-13 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:19:03] Production.INFO: ==18159== Lock acquired, processing the job...
[2025-01-13 09:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:19:03] Production.INFO: ==18163== Lock acquired, processing the job...
[2025-01-13 09:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:19:03] Production.INFO: ==18155== Lock acquired, processing the job...
[2025-01-13 09:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:19:03] Production.INFO: ==18157== Lock acquired, processing the job...
[2025-01-13 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:19:03] Production.INFO: ==18161== Lock acquired, processing the job...
[2025-01-13 09:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:19:03] Production.INFO: ==18165== Lock acquired, processing the job...
[2025-01-13 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:19:03] Production.INFO: Account Balance Start.
[2025-01-13 09:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:19:03] Production.INFO: 117
[2025-01-13 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-13 09:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:19:03] Production.INFO: count ==21
[2025-01-13 09:19:03] Production.ERROR: done
[2025-01-13 09:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 09:19:03] Production.INFO: count ==21
[2025-01-13 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237976') start
[2025-01-13 09:19:04] Production.ERROR: done
[2025-01-13 09:19:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:19:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:19:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:19:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237976') end
[2025-01-13 09:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:19:04] Production.INFO: 1
[2025-01-13 09:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:19:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:19:04] Production.INFO: ==18165== Releasing lock...
[2025-01-13 09:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:19:04] Production.INFO: Total Charge 0
[2025-01-13 09:19:04] Production.INFO: ==18157== Releasing lock...
[2025-01-13 09:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:19:04] Production.INFO: CreateAllLog End
[2025-01-13 09:19:04] Production.INFO: Account Balance End.
[2025-01-13 09:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:19:04] Production.INFO: ==18161== Releasing lock...
[2025-01-13 09:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:19:05
[end_date_ymd] => 2025-01-13 09:19:05
[RateCDR] => 1
)
[2025-01-13 09:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:19:05' and `end` < '2025-01-13 09:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:19:10] Production.ERROR: CronJobId end10
[2025-01-13 09:19:10] Production.INFO: ==18159== Releasing lock...
[2025-01-13 09:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:19:13] Production.INFO: call_cost start
[2025-01-13 09:19:13] Production.INFO: call_cost end
[2025-01-13 09:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:19:14] Production.INFO: ==18155== Releasing lock...
[2025-01-13 09:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:19:17] Production.INFO: count ==1377
[2025-01-13 09:19:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:19:05 - End Time 2025-01-13 09:19:05
[2025-01-13 09:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237978', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237978', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237978', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237978', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:19:18] Production.INFO: ProcessCDR(1,14237978,1,1,2)
[2025-01-13 09:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237978', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237978', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:19:23] Production.INFO: ==18163== Releasing lock...
[2025-01-13 09:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:19:23] Production.INFO: 39 MB #Memory Used#
[2025-01-13 14:20:02] Production.INFO: ==18224== Lock acquired, processing the job...
[2025-01-13 14:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:20:02] Production.INFO: neon service started
[2025-01-13 14:20:02] Production.INFO: neon service started
[2025-01-13 14:20:02] Production.INFO: ==18224== Releasing lock...
[2025-01-13 14:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:20:02] Production.INFO: ==18226== Lock acquired, processing the job...
[2025-01-13 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:20:03] Production.INFO: ==18226== Releasing lock...
[2025-01-13 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:20:03] Production.INFO: ==18228== Lock acquired, processing the job...
[2025-01-13 14:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:20:03] Production.INFO: ==18228== Releasing lock...
[2025-01-13 14:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:20:04] Production.INFO: ==18237== Lock acquired, processing the job...
[2025-01-13 09:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:20:04] Production.INFO: ==18233== Lock acquired, processing the job...
[2025-01-13 09:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:20:04] Production.INFO: ==18235== Lock acquired, processing the job...
[2025-01-13 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:20:04] Production.INFO: ==18231== Lock acquired, processing the job...
[2025-01-13 09:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 09:20:04] Production.INFO: ==18243== Lock acquired, processing the job...
[2025-01-13 09:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 09:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 09:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 09:20:04] Production.ERROR: CronJob PID - 18233
[2025-01-13 09:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 09:20:04] Production.ERROR: CronJob ID - 5
[2025-01-13 09:20:04] Production.ERROR: CronJob Last Run Time 2025-01-13 09:20:00
[2025-01-13 09:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 09:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 09:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 09:20:04] Production.ERROR: CronJob PID - 18235
[2025-01-13 09:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 09:20:04] Production.ERROR: CronJob ID - 7
[2025-01-13 09:20:04] Production.ERROR: CronJob Last Run Time 2025-01-13 09:20:00
[2025-01-13 09:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 09:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 09:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 09:20:04] Production.ERROR: CronJob PID - 18237
[2025-01-13 09:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 09:20:04] Production.ERROR: CronJob ID - 10
[2025-01-13 09:20:04] Production.ERROR: CronJob Last Run Time 2025-01-13 09:20:00
[2025-01-13 09:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 09:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 09:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 09:20:04] Production.INFO: ==18231== Releasing lock...
[2025-01-13 09:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 09:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:20:04] Production.INFO: ==18239== Lock acquired, processing the job...
[2025-01-13 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:20:04] Production.INFO: ==18241== Lock acquired, processing the job...
[2025-01-13 09:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:20:04] Production.INFO: ==18245== Lock acquired, processing the job...
[2025-01-13 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:20:04] Production.INFO: Account Balance Start.
[2025-01-13 09:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:20:04] Production.INFO: 117
[2025-01-13 09:20:04] Production.INFO: ==18235== Releasing lock...
[2025-01-13 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:20:04] Production.ERROR: done
[2025-01-13 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-13 09:20:04] Production.INFO: count ==21
[2025-01-13 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-13 09:20:04] Production.INFO: count ==21
[2025-01-13 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237982') start
[2025-01-13 09:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:20:04] Production.ERROR: done
[2025-01-13 09:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 09:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237983', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 09:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:20:05] Production.INFO: Date 2025-01-10
[2025-01-13 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 09:20:05] Production.INFO: Date 2025-01-11
[2025-01-13 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 09:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14237982') end
[2025-01-13 09:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:20:05] Production.INFO: 1
[2025-01-13 09:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:20:05] Production.INFO: Date 2025-01-12
[2025-01-13 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 09:20:05] Production.INFO: ==18245== Releasing lock...
[2025-01-13 09:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:20:05] Production.INFO: Date 2025-01-13
[2025-01-13 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 09:20:05] Production.ERROR: done
[2025-01-13 09:20:05] Production.INFO: Total Charge 0
[2025-01-13 09:20:05] Production.INFO: CreateAllLog End
[2025-01-13 09:20:05] Production.INFO: Account Balance End.
[2025-01-13 09:20:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:20:05] Production.INFO: ==18239== Releasing lock...
[2025-01-13 09:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:20:06
[end_date_ymd] => 2025-01-13 09:20:06
[RateCDR] => 1
)
[2025-01-13 09:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:20:06' and `end` < '2025-01-13 09:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14237983', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 09:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 09:20:09] Production.INFO: ProcessCDR(1,14237983,1,1,2)
[2025-01-13 09:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14237983,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14237983,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:20:09] Production.INFO: ==18243== Releasing lock...
[2025-01-13 09:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 09:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 09:20:13] Production.ERROR: CronJobId end10
[2025-01-13 09:20:13] Production.INFO: ==18237== Releasing lock...
[2025-01-13 09:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:20:15] Production.INFO: call_cost start
[2025-01-13 09:20:15] Production.INFO: call_cost end
[2025-01-13 09:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:20:16] Production.INFO: ==18233== Releasing lock...
[2025-01-13 09:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:20:19] Production.INFO: count ==1399
[2025-01-13 09:20:20] Production.ERROR: pbx CDR StartTime 2025-01-13 06:20:06 - End Time 2025-01-13 09:20:06
[2025-01-13 09:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237984', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237984', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237984', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237984', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:20:20] Production.INFO: ProcessCDR(1,14237984,1,1,2)
[2025-01-13 09:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:20:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:20:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237984', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:20:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237984', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:20:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:20:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:20:25] Production.INFO: ==18241== Releasing lock...
[2025-01-13 09:20:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:20:25] Production.INFO: 38.5 MB #Memory Used#
[2025-01-13 14:21:01] Production.INFO: ==18300== Lock acquired, processing the job...
[2025-01-13 14:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:21:01] Production.INFO: neon service started
[2025-01-13 14:21:01] Production.INFO: neon service started
[2025-01-13 14:21:01] Production.INFO: ==18300== Releasing lock...
[2025-01-13 14:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:21:02] Production.INFO: ==18304== Lock acquired, processing the job...
[2025-01-13 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:21:02] Production.INFO: ==18304== Releasing lock...
[2025-01-13 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:21:02] Production.INFO: ==18302== Lock acquired, processing the job...
[2025-01-13 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:21:02] Production.INFO: ==18302== Releasing lock...
[2025-01-13 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:21:03] Production.INFO: ==18310== Lock acquired, processing the job...
[2025-01-13 09:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:21:03] Production.INFO: ==18312== Lock acquired, processing the job...
[2025-01-13 09:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:21:03] Production.INFO: Account Balance Start.
[2025-01-13 09:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:21:03] Production.INFO: 117
[2025-01-13 09:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:21:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:21:03] Production.INFO: ==18306== Lock acquired, processing the job...
[2025-01-13 09:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:21:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:21:03] Production.INFO: ==18308== Lock acquired, processing the job...
[2025-01-13 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:21:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:21:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:21:03] Production.INFO: Total Charge 0
[2025-01-13 09:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:21:03] Production.INFO: CreateAllLog End
[2025-01-13 09:21:03] Production.INFO: ==18314== Lock acquired, processing the job...
[2025-01-13 09:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:21:03] Production.INFO: ==18317== Lock acquired, processing the job...
[2025-01-13 09:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:21:03] Production.INFO: Account Balance End.
[2025-01-13 09:21:03] Production.ERROR: CronJobId end 12
[2025-01-13 09:21:03] Production.INFO: ==18312== Releasing lock...
[2025-01-13 09:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 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-13 09:21:04] Production.INFO: ==18308== Releasing lock...
[2025-01-13 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:21:04] Production.INFO: count ==21
[2025-01-13 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-13 09:21:04] Production.INFO: count ==21
[2025-01-13 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237988') start
[2025-01-13 09:21:04] Production.ERROR: done
[2025-01-13 09:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237988') end
[2025-01-13 09:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:21:04] Production.INFO: 1
[2025-01-13 09:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:21:04] Production.INFO: ==18317== Releasing lock...
[2025-01-13 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:21:04] Production.ERROR: done
[2025-01-13 09:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:21:05
[end_date_ymd] => 2025-01-13 09:21:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:21:05' and `end` < '2025-01-13 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-13 09:21:10] Production.ERROR: CronJobId end10
[2025-01-13 09:21:10] Production.INFO: ==18310== Releasing lock...
[2025-01-13 09:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:21:12] Production.INFO: call_cost start
[2025-01-13 09:21:12] Production.INFO: call_cost end
[2025-01-13 09:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:21:13] Production.INFO: ==18306== Releasing lock...
[2025-01-13 09:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:21:20] Production.INFO: count ==1494
[2025-01-13 09:21:21] Production.ERROR: pbx CDR StartTime 2025-01-13 06:21:05 - End Time 2025-01-13 09:21:05
[2025-01-13 09:21:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237989', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237989', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237989', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237989', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:21:21] Production.INFO: ProcessCDR(1,14237989,1,1,2)
[2025-01-13 09:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237989', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237989', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:21:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:21:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:21:26] Production.INFO: ==18314== Releasing lock...
[2025-01-13 09:21:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:21:26] Production.INFO: 39.25 MB #Memory Used#
[2025-01-13 14:22:02] Production.INFO: ==18371== Lock acquired, processing the job...
[2025-01-13 14:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:22:02] Production.INFO: neon service started
[2025-01-13 14:22:02] Production.INFO: neon service started
[2025-01-13 14:22:02] Production.INFO: ==18371== Releasing lock...
[2025-01-13 14:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:22:02] Production.INFO: ==18373== Lock acquired, processing the job...
[2025-01-13 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:22:02] Production.INFO: ==18375== Lock acquired, processing the job...
[2025-01-13 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:22:02] Production.INFO: ==18373== Releasing lock...
[2025-01-13 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:22:03] Production.INFO: ==18375== Releasing lock...
[2025-01-13 14:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:22:03] Production.INFO: ==18378== Lock acquired, processing the job...
[2025-01-13 09:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:22:03] Production.INFO: ==18380== Lock acquired, processing the job...
[2025-01-13 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:22:03] Production.INFO: ==18388== Lock acquired, processing the job...
[2025-01-13 09:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:22:03] Production.INFO: ==18382== Lock acquired, processing the job...
[2025-01-13 09:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:22:03] Production.INFO: ==18380== Releasing lock...
[2025-01-13 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:22:04] Production.INFO: count ==21
[2025-01-13 09:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 09:22:04] Production.INFO: count ==21
[2025-01-13 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237992') start
[2025-01-13 09:22:04] Production.INFO: ==18384== Lock acquired, processing the job...
[2025-01-13 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:22:04] Production.INFO: ==18386== Lock acquired, processing the job...
[2025-01-13 09:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14237992') end
[2025-01-13 09:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:22:04] Production.INFO: 1
[2025-01-13 09:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:22:04] Production.INFO: ==18388== Releasing lock...
[2025-01-13 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:22:04] Production.INFO: Account Balance Start.
[2025-01-13 09:22:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:22:04] Production.INFO: 117
[2025-01-13 09:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:22:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:22:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:22:04] Production.ERROR: done
[2025-01-13 09:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:22:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:22:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:22:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:22:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:22:04] Production.INFO: Total Charge 0
[2025-01-13 09:22:04] Production.ERROR: done
[2025-01-13 09:22:04] Production.INFO: CreateAllLog End
[2025-01-13 09:22:05] Production.INFO: Account Balance End.
[2025-01-13 09:22:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:22:05] Production.INFO: ==18384== Releasing lock...
[2025-01-13 09:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:22:05
[end_date_ymd] => 2025-01-13 09:22:05
[RateCDR] => 1
)
[2025-01-13 09:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:22:05' and `end` < '2025-01-13 09:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:22:11] Production.ERROR: CronJobId end10
[2025-01-13 09:22:11] Production.INFO: ==18382== Releasing lock...
[2025-01-13 09:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:22:13] Production.INFO: call_cost start
[2025-01-13 09:22:13] Production.INFO: call_cost end
[2025-01-13 09:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:22:14] Production.INFO: ==18378== Releasing lock...
[2025-01-13 09:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:22:27] Production.INFO: count ==1519
[2025-01-13 09:22:27] Production.ERROR: pbx CDR StartTime 2025-01-13 06:22:05 - End Time 2025-01-13 09:22:05
[2025-01-13 09:22:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237994', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237994', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237994', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237994', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:22:27] Production.INFO: ProcessCDR(1,14237994,1,1,2)
[2025-01-13 09:22:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:22:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:22:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:22:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:22:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237994', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:22:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237994', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:22:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:22:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:22:32] Production.INFO: ==18386== Releasing lock...
[2025-01-13 09:22:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:22:32] Production.INFO: 39.5 MB #Memory Used#
[2025-01-13 14:23:01] Production.INFO: ==18441== Lock acquired, processing the job...
[2025-01-13 14:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:23:01] Production.INFO: neon service started
[2025-01-13 14:23:01] Production.INFO: neon service started
[2025-01-13 14:23:01] Production.INFO: ==18441== Releasing lock...
[2025-01-13 14:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:23:02] Production.INFO: ==18443== Lock acquired, processing the job...
[2025-01-13 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:23:02] Production.INFO: ==18443== Releasing lock...
[2025-01-13 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:23:02] Production.INFO: ==18446== Lock acquired, processing the job...
[2025-01-13 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:23:02] Production.INFO: ==18446== Releasing lock...
[2025-01-13 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:23:03] Production.INFO: ==18454== Lock acquired, processing the job...
[2025-01-13 09:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:23:03] Production.INFO: ==18458== Lock acquired, processing the job...
[2025-01-13 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:23:03] Production.INFO: Account Balance Start.
[2025-01-13 09:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:23:03] Production.INFO: 117
[2025-01-13 09:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:23:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:23:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:23:03] Production.INFO: ==18448== Lock acquired, processing the job...
[2025-01-13 09:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:23:03] Production.INFO: count ==21
[2025-01-13 09:23:03] Production.INFO: ==18450== Lock acquired, processing the job...
[2025-01-13 09:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 09:23:03] Production.INFO: count ==21
[2025-01-13 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237996') start
[2025-01-13 09:23:03] Production.INFO: ==18452== Lock acquired, processing the job...
[2025-01-13 09:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:23:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:23:03] Production.INFO: ==18456== Lock acquired, processing the job...
[2025-01-13 09:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:23:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:23:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:23:03] Production.INFO: Total Charge 0
[2025-01-13 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14237996') end
[2025-01-13 09:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:23:03] Production.INFO: 1
[2025-01-13 09:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:23:03] Production.INFO: CreateAllLog End
[2025-01-13 09:23:03] Production.INFO: ==18458== Releasing lock...
[2025-01-13 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:23:04] Production.INFO: ==18450== Releasing lock...
[2025-01-13 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:23:04] Production.ERROR: done
[2025-01-13 09:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:23:04] Production.INFO: Account Balance End.
[2025-01-13 09:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:23:04] Production.INFO: ==18454== Releasing lock...
[2025-01-13 09:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:23:04] Production.ERROR: done
[2025-01-13 09:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:23:05
[end_date_ymd] => 2025-01-13 09:23:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:23:05' and `end` < '2025-01-13 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-13 09:23:11] Production.ERROR: CronJobId end10
[2025-01-13 09:23:11] Production.INFO: ==18452== Releasing lock...
[2025-01-13 09:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:23:13] Production.INFO: call_cost start
[2025-01-13 09:23:13] Production.INFO: call_cost end
[2025-01-13 09:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:23:14] Production.INFO: ==18448== Releasing lock...
[2025-01-13 09:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:23:31] Production.INFO: count ==1573
[2025-01-13 09:23:31] Production.ERROR: pbx CDR StartTime 2025-01-13 06:23:05 - End Time 2025-01-13 09:23:05
[2025-01-13 09:23:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:23:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237999', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:23:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14237999', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:23:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237999', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:23:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14237999', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:23:31] Production.INFO: ProcessCDR(1,14237999,1,1,2)
[2025-01-13 09:23:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14237999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:23:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14237999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:23:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14237999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:23:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14237999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:23:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237999', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:23:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14237999', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:23:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:23:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:23:36] Production.INFO: ==18456== Releasing lock...
[2025-01-13 09:23:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:23:36] Production.INFO: 40 MB #Memory Used#
[2025-01-13 14:24:02] Production.INFO: ==18512== Lock acquired, processing the job...
[2025-01-13 14:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:24:02] Production.INFO: neon service started
[2025-01-13 14:24:02] Production.INFO: neon service started
[2025-01-13 14:24:02] Production.INFO: ==18512== Releasing lock...
[2025-01-13 14:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:24:02] Production.INFO: ==18516== Lock acquired, processing the job...
[2025-01-13 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:24:02] Production.INFO: ==18516== Releasing lock...
[2025-01-13 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:24:02] Production.INFO: ==18514== Lock acquired, processing the job...
[2025-01-13 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:24:03] Production.INFO: ==18514== Releasing lock...
[2025-01-13 09:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:24:04] Production.INFO: ==18525== Lock acquired, processing the job...
[2025-01-13 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:24:04] Production.INFO: ==18527== Lock acquired, processing the job...
[2025-01-13 09:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:24:04] Production.INFO: ==18519== Lock acquired, processing the job...
[2025-01-13 09:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:24:04] Production.INFO: Account Balance Start.
[2025-01-13 09:24:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:24:04] Production.INFO: 117
[2025-01-13 09:24:04] Production.INFO: ==18521== Lock acquired, processing the job...
[2025-01-13 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:24:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:24:04] Production.INFO: ==18523== Lock acquired, processing the job...
[2025-01-13 09:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:24:04] Production.INFO: ==18529== Lock acquired, processing the job...
[2025-01-13 09:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:24:04] Production.ERROR: done
[2025-01-13 09:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:24:04] Production.ERROR: done
[2025-01-13 09:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:24:04] Production.INFO: count ==21
[2025-01-13 09:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:24:04] Production.INFO: count ==21
[2025-01-13 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238003') start
[2025-01-13 09:24:04] Production.INFO: Total Charge 0
[2025-01-13 09:24:04] Production.INFO: CreateAllLog End
[2025-01-13 09:24:04] Production.INFO: ==18521== Releasing lock...
[2025-01-13 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238003') end
[2025-01-13 09:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:24:04] Production.INFO: 1
[2025-01-13 09:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:24:05] Production.INFO: Account Balance End.
[2025-01-13 09:24:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:24:05] Production.INFO: ==18525== Releasing lock...
[2025-01-13 09:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:24:05] Production.INFO: ==18529== Releasing lock...
[2025-01-13 09:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:24:05
[end_date_ymd] => 2025-01-13 09:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:24:05' and `end` < '2025-01-13 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-13 09:24:11] Production.ERROR: CronJobId end10
[2025-01-13 09:24:11] Production.INFO: ==18523== Releasing lock...
[2025-01-13 09:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:24:14] Production.INFO: call_cost start
[2025-01-13 09:24:14] Production.INFO: call_cost end
[2025-01-13 09:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:24:15] Production.INFO: ==18519== Releasing lock...
[2025-01-13 09:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:24:27] Production.INFO: count ==1619
[2025-01-13 09:24:27] Production.ERROR: pbx CDR StartTime 2025-01-13 06:24:05 - End Time 2025-01-13 09:24:05
[2025-01-13 09:24:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238004', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238004', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238004', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238004', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:24:27] Production.INFO: ProcessCDR(1,14238004,1,1,2)
[2025-01-13 09:24:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:24:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:24:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:24:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:24:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238004', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:24:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238004', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:24:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:24:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:24:32] Production.INFO: ==18527== Releasing lock...
[2025-01-13 09:24:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:24:32] Production.INFO: 40.25 MB #Memory Used#
[2025-01-13 14:25:01] Production.INFO: ==18583== Lock acquired, processing the job...
[2025-01-13 14:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:25:01] Production.INFO: neon service started
[2025-01-13 14:25:01] Production.INFO: neon service started
[2025-01-13 14:25:01] Production.INFO: ==18583== Releasing lock...
[2025-01-13 14:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:25:02] Production.INFO: ==18585== Lock acquired, processing the job...
[2025-01-13 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:25:02] Production.INFO: ==18585== Releasing lock...
[2025-01-13 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:25:02] Production.INFO: ==18587== Lock acquired, processing the job...
[2025-01-13 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:25:02] Production.INFO: ==18587== Releasing lock...
[2025-01-13 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:25:03] Production.INFO: ==18598== Lock acquired, processing the job...
[2025-01-13 09:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:25:03] Production.INFO: ==18600== Lock acquired, processing the job...
[2025-01-13 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 09:25:03] Production.INFO: ==18592== Lock acquired, processing the job...
[2025-01-13 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:25:03] Production.INFO: ==18590== Lock acquired, processing the job...
[2025-01-13 09:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:25:03] Production.INFO: count ==21
[2025-01-13 09:25:03] Production.ERROR: done
[2025-01-13 09:25:03] Production.INFO: ==18594== Lock acquired, processing the job...
[2025-01-13 09:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 09:25:03] Production.INFO: ==18596== Lock acquired, processing the job...
[2025-01-13 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:25:03] Production.INFO: count ==21
[2025-01-13 09:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238005') start
[2025-01-13 09:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:25:03] Production.INFO: Account Balance Start.
[2025-01-13 09:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:25:03] Production.INFO: 117
[2025-01-13 09:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238005') end
[2025-01-13 09:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:25:03] Production.INFO: 1
[2025-01-13 09:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:25:03] Production.INFO: ==18600== Releasing lock...
[2025-01-13 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:25:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:25:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:25:04] Production.ERROR: done
[2025-01-13 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:25:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:25:04] Production.INFO: ==18592== Releasing lock...
[2025-01-13 09:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:25:04] Production.INFO: Total Charge 0
[2025-01-13 09:25:04] Production.INFO: CreateAllLog End
[2025-01-13 09:25:04] Production.INFO: Account Balance End.
[2025-01-13 09:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:25:04] Production.INFO: ==18596== Releasing lock...
[2025-01-13 09:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:25:05
[end_date_ymd] => 2025-01-13 09:25:05
[RateCDR] => 1
)
[2025-01-13 09:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:25:05' and `end` < '2025-01-13 09:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:25:11] Production.ERROR: CronJobId end10
[2025-01-13 09:25:11] Production.INFO: ==18594== Releasing lock...
[2025-01-13 09:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:25:13] Production.INFO: call_cost start
[2025-01-13 09:25:13] Production.INFO: call_cost end
[2025-01-13 09:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:25:14] Production.INFO: ==18590== Releasing lock...
[2025-01-13 09:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:25:19] Production.INFO: count ==1643
[2025-01-13 09:25:19] Production.ERROR: pbx CDR StartTime 2025-01-13 06:25:05 - End Time 2025-01-13 09:25:05
[2025-01-13 09:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238009', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238009', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238009', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238009', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:25:19] Production.INFO: ProcessCDR(1,14238009,1,1,2)
[2025-01-13 09:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238009', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238009', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:25:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:25:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:25:24] Production.INFO: ==18598== Releasing lock...
[2025-01-13 09:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:25:24] Production.INFO: 40.25 MB #Memory Used#
[2025-01-13 14:26:02] Production.INFO: ==18654== Lock acquired, processing the job...
[2025-01-13 14:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:26:02] Production.INFO: neon service started
[2025-01-13 14:26:02] Production.INFO: neon service started
[2025-01-13 14:26:02] Production.INFO: ==18654== Releasing lock...
[2025-01-13 14:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:26:02] Production.INFO: ==18656== Lock acquired, processing the job...
[2025-01-13 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:26:02] Production.INFO: ==18656== Releasing lock...
[2025-01-13 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:26:02] Production.INFO: ==18658== Lock acquired, processing the job...
[2025-01-13 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:26:03] Production.INFO: ==18658== Releasing lock...
[2025-01-13 14:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:26:03] Production.INFO: ==18667== Lock acquired, processing the job...
[2025-01-13 09:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:26:03] Production.INFO: ==18671== Lock acquired, processing the job...
[2025-01-13 09:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:26:03] Production.INFO: ==18663== Lock acquired, processing the job...
[2025-01-13 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:26:03] Production.INFO: ==18661== Lock acquired, processing the job...
[2025-01-13 09:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:26:03] Production.INFO: Account Balance Start.
[2025-01-13 09:26:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:26:03] Production.INFO: 117
[2025-01-13 09:26:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:26:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:26:03] Production.INFO: count ==21
[2025-01-13 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-13 09:26:04] Production.INFO: count ==21
[2025-01-13 09:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238011') start
[2025-01-13 09:26:04] Production.INFO: ==18665== Lock acquired, processing the job...
[2025-01-13 09:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:26:04] Production.INFO: ==18669== Lock acquired, processing the job...
[2025-01-13 09:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238011') end
[2025-01-13 09:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:26:04] Production.INFO: 1
[2025-01-13 09:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:26:04] Production.INFO: ==18671== Releasing lock...
[2025-01-13 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:26:04] Production.INFO: Total Charge 0
[2025-01-13 09:26:04] Production.INFO: CreateAllLog End
[2025-01-13 09:26:04] Production.INFO: ==18663== Releasing lock...
[2025-01-13 09:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:26:04] Production.INFO: Account Balance End.
[2025-01-13 09:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:26:04] Production.INFO: ==18667== Releasing lock...
[2025-01-13 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:26:04] Production.ERROR: done
[2025-01-13 09:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:26:04] Production.ERROR: done
[2025-01-13 09:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:26:05
[end_date_ymd] => 2025-01-13 09:26:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:26:05' and `end` < '2025-01-13 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-13 09:26:11] Production.ERROR: CronJobId end10
[2025-01-13 09:26:11] Production.INFO: ==18665== Releasing lock...
[2025-01-13 09:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:26:13] Production.INFO: call_cost start
[2025-01-13 09:26:13] Production.INFO: call_cost end
[2025-01-13 09:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:26:14] Production.INFO: ==18661== Releasing lock...
[2025-01-13 09:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:26:18] Production.INFO: count ==1664
[2025-01-13 09:26:19] Production.ERROR: pbx CDR StartTime 2025-01-13 06:26:05 - End Time 2025-01-13 09:26:05
[2025-01-13 09:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238014', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238014', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238014', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238014', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:26:19] Production.INFO: ProcessCDR(1,14238014,1,1,2)
[2025-01-13 09:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238014', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238014', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:26:23] Production.INFO: ==18669== Releasing lock...
[2025-01-13 09:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:26:23] Production.INFO: 40.75 MB #Memory Used#
[2025-01-13 14:27:01] Production.INFO: ==18731== Lock acquired, processing the job...
[2025-01-13 14:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:27:01] Production.INFO: neon service started
[2025-01-13 14:27:01] Production.INFO: neon service started
[2025-01-13 14:27:01] Production.INFO: ==18731== Releasing lock...
[2025-01-13 14:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:27:01] Production.INFO: ==18733== Lock acquired, processing the job...
[2025-01-13 09:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:27:02] Production.INFO: ==18733== Releasing lock...
[2025-01-13 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:27:02] Production.INFO: ==18735== Lock acquired, processing the job...
[2025-01-13 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:27:02] Production.INFO: ==18735== Releasing lock...
[2025-01-13 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:27:03] Production.INFO: ==18738== Lock acquired, processing the job...
[2025-01-13 09:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:27:03] Production.INFO: ==18744== Lock acquired, processing the job...
[2025-01-13 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:27:03] Production.INFO: ==18746== Lock acquired, processing the job...
[2025-01-13 09:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:27:03] Production.INFO: ==18740== Lock acquired, processing the job...
[2025-01-13 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:27:03] Production.INFO: Account Balance Start.
[2025-01-13 09:27:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:27:03] Production.INFO: 117
[2025-01-13 09:27:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:27:03] Production.INFO: ==18742== Lock acquired, processing the job...
[2025-01-13 09:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:27:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:27:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:27:03] Production.INFO: ==18748== Lock acquired, processing the job...
[2025-01-13 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:27:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:27:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:27:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:27:03] Production.ERROR: done
[2025-01-13 09:27:03] Production.INFO: Total Charge 0
[2025-01-13 09:27:03] Production.INFO: count ==21
[2025-01-13 09:27:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 09:27:03] Production.INFO: count ==21
[2025-01-13 09:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238018') start
[2025-01-13 09:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:27:03] Production.INFO: ==18740== Releasing lock...
[2025-01-13 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:27:03] Production.ERROR: done
[2025-01-13 09:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238018') end
[2025-01-13 09:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:27:03] Production.INFO: 1
[2025-01-13 09:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:27:04] Production.INFO: Account Balance End.
[2025-01-13 09:27:04] Production.INFO: ==18748== Releasing lock...
[2025-01-13 09:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:27:04] Production.INFO: ==18744== Releasing lock...
[2025-01-13 09:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:27:04
[end_date_ymd] => 2025-01-13 09:27:04
[RateCDR] => 1
)
[2025-01-13 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-13 06:27:04' and `end` < '2025-01-13 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-13 09:27:10] Production.ERROR: CronJobId end10
[2025-01-13 09:27:10] Production.INFO: ==18742== Releasing lock...
[2025-01-13 09:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:27:13] Production.INFO: call_cost start
[2025-01-13 09:27:13] Production.INFO: call_cost end
[2025-01-13 09:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:27:13] Production.INFO: ==18738== Releasing lock...
[2025-01-13 09:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:27:21] Production.INFO: count ==1709
[2025-01-13 09:27:21] Production.ERROR: pbx CDR StartTime 2025-01-13 06:27:04 - End Time 2025-01-13 09:27:04
[2025-01-13 09:27:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238019', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238019', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238019', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238019', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:27:21] Production.INFO: ProcessCDR(1,14238019,1,1,2)
[2025-01-13 09:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238019', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238019', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:27:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:27:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:27:26] Production.INFO: ==18746== Releasing lock...
[2025-01-13 09:27:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:27:26] Production.INFO: 41 MB #Memory Used#
[2025-01-13 14:28:02] Production.INFO: ==18805== Lock acquired, processing the job...
[2025-01-13 14:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:28:02] Production.INFO: neon service started
[2025-01-13 14:28:02] Production.INFO: neon service started
[2025-01-13 14:28:02] Production.INFO: ==18805== Releasing lock...
[2025-01-13 14:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:28:02] Production.INFO: ==18809== Lock acquired, processing the job...
[2025-01-13 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:28:02] Production.INFO: ==18809== Releasing lock...
[2025-01-13 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:28:02] Production.INFO: ==18807== Lock acquired, processing the job...
[2025-01-13 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:28:02] Production.INFO: ==18807== Releasing lock...
[2025-01-13 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:28:03] Production.INFO: ==18815== Lock acquired, processing the job...
[2025-01-13 09:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:28:03] Production.INFO: ==18822== Lock acquired, processing the job...
[2025-01-13 09:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:28:03] Production.INFO: ==18811== Lock acquired, processing the job...
[2025-01-13 09:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:28:03] Production.INFO: ==18813== Lock acquired, processing the job...
[2025-01-13 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:28:03] Production.INFO: count ==21
[2025-01-13 09:28:03] Production.INFO: ==18818== Lock acquired, processing the job...
[2025-01-13 09:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:28:04] Production.INFO: count ==21
[2025-01-13 09:28:04] Production.INFO: ==18820== Lock acquired, processing the job...
[2025-01-13 09:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238020') start
[2025-01-13 09:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:28:04] Production.INFO: Account Balance Start.
[2025-01-13 09:28:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:28:04] Production.INFO: 117
[2025-01-13 09:28:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:28:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238020') end
[2025-01-13 09:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:28:04] Production.INFO: 1
[2025-01-13 09:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:28:04] Production.INFO: ==18822== Releasing lock...
[2025-01-13 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:28:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:28:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:28:04] Production.INFO: ==18813== Releasing lock...
[2025-01-13 09:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:28:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:28:04] Production.ERROR: done
[2025-01-13 09:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:28:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:28:04] Production.INFO: Total Charge 0
[2025-01-13 09:28:04] Production.INFO: CreateAllLog End
[2025-01-13 09:28:04] Production.ERROR: done
[2025-01-13 09:28:04] Production.INFO: Account Balance End.
[2025-01-13 09:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:28:04] Production.INFO: ==18818== Releasing lock...
[2025-01-13 09:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:28:05
[end_date_ymd] => 2025-01-13 09:28:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:28:05' and `end` < '2025-01-13 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-13 09:28:11] Production.ERROR: CronJobId end10
[2025-01-13 09:28:11] Production.INFO: ==18815== Releasing lock...
[2025-01-13 09:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:28:13] Production.INFO: call_cost start
[2025-01-13 09:28:13] Production.INFO: call_cost end
[2025-01-13 09:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:28:14] Production.INFO: ==18811== Releasing lock...
[2025-01-13 09:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:28:21] Production.INFO: count ==1747
[2025-01-13 09:28:21] Production.ERROR: pbx CDR StartTime 2025-01-13 06:28:05 - End Time 2025-01-13 09:28:05
[2025-01-13 09:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238024', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238024', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238024', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238024', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:28:21] Production.INFO: ProcessCDR(1,14238024,1,1,2)
[2025-01-13 09:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:28:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:28:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238024', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238024', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:28:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:28:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:28:26] Production.INFO: ==18820== Releasing lock...
[2025-01-13 09:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:28:26] Production.INFO: 41.25 MB #Memory Used#
[2025-01-13 14:29:01] Production.INFO: ==18874== Lock acquired, processing the job...
[2025-01-13 14:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:29:01] Production.INFO: neon service started
[2025-01-13 14:29:01] Production.INFO: neon service started
[2025-01-13 14:29:01] Production.INFO: ==18874== Releasing lock...
[2025-01-13 14:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:29:01] Production.INFO: ==18876== Lock acquired, processing the job...
[2025-01-13 09:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:29:02] Production.INFO: ==18878== Lock acquired, processing the job...
[2025-01-13 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:29:02] Production.INFO: ==18878== Releasing lock...
[2025-01-13 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:29:02] Production.INFO: ==18876== Releasing lock...
[2025-01-13 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:29:03] Production.INFO: ==18882== Lock acquired, processing the job...
[2025-01-13 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:29:03] Production.INFO: ==18889== Lock acquired, processing the job...
[2025-01-13 09:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:29:03] Production.INFO: ==18880== Lock acquired, processing the job...
[2025-01-13 09:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:29:03] Production.INFO: ==18885== Lock acquired, processing the job...
[2025-01-13 09:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:29:03] Production.INFO: ==18887== Lock acquired, processing the job...
[2025-01-13 09:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:29:03] Production.INFO: ==18882== Releasing lock...
[2025-01-13 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:29:03] Production.INFO: ==18891== Lock acquired, processing the job...
[2025-01-13 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:29:03] Production.INFO: Account Balance Start.
[2025-01-13 09:29:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:29:03] Production.INFO: 117
[2025-01-13 09:29:03] Production.ERROR: done
[2025-01-13 09:29:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:29:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:29:03] Production.INFO: count ==21
[2025-01-13 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-13 09:29:03] Production.INFO: count ==21
[2025-01-13 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238028') start
[2025-01-13 09:29:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:29:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:29:03] Production.ERROR: done
[2025-01-13 09:29:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:29:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238028') end
[2025-01-13 09:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:29:03] Production.INFO: 1
[2025-01-13 09:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:29:03] Production.INFO: Total Charge 0
[2025-01-13 09:29:03] Production.INFO: CreateAllLog End
[2025-01-13 09:29:03] Production.INFO: ==18891== Releasing lock...
[2025-01-13 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:29:03] Production.INFO: Account Balance End.
[2025-01-13 09:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:29:04] Production.INFO: ==18887== Releasing lock...
[2025-01-13 09:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:29:04
[end_date_ymd] => 2025-01-13 09:29:04
[RateCDR] => 1
)
[2025-01-13 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-13 06:29:04' and `end` < '2025-01-13 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-13 09:29:11] Production.ERROR: CronJobId end10
[2025-01-13 09:29:11] Production.INFO: ==18885== Releasing lock...
[2025-01-13 09:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:29:12] Production.INFO: call_cost start
[2025-01-13 09:29:12] Production.INFO: call_cost end
[2025-01-13 09:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:29:13] Production.INFO: ==18880== Releasing lock...
[2025-01-13 09:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:29:19] Production.INFO: count ==1771
[2025-01-13 09:29:20] Production.ERROR: pbx CDR StartTime 2025-01-13 06:29:04 - End Time 2025-01-13 09:29:04
[2025-01-13 09:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238029', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238029', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238029', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238029', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:29:20] Production.INFO: ProcessCDR(1,14238029,1,1,2)
[2025-01-13 09:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238029', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238029', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:29:24] Production.INFO: ==18889== Releasing lock...
[2025-01-13 09:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:29:24] Production.INFO: 41.25 MB #Memory Used#
[2025-01-13 14:30:01] Production.INFO: ==18945== Lock acquired, processing the job...
[2025-01-13 14:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:30:01] Production.INFO: neon service started
[2025-01-13 14:30:01] Production.INFO: neon service started
[2025-01-13 14:30:01] Production.INFO: ==18945== Releasing lock...
[2025-01-13 14:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:30:02] Production.INFO: ==18949== Lock acquired, processing the job...
[2025-01-13 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:30:02] Production.INFO: ==18949== Releasing lock...
[2025-01-13 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:30:02] Production.INFO: ==18947== Lock acquired, processing the job...
[2025-01-13 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:30:02] Production.INFO: ==18947== Releasing lock...
[2025-01-13 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:30:03] Production.INFO: ==18953== Lock acquired, processing the job...
[2025-01-13 09:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:30:03] Production.INFO: ==18951== Lock acquired, processing the job...
[2025-01-13 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 09:30:03] Production.INFO: ==18955== Lock acquired, processing the job...
[2025-01-13 09:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:30:04] Production.INFO: ==18959== Lock acquired, processing the job...
[2025-01-13 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 09:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 09:30:04] Production.ERROR: CronJob PID - 18953
[2025-01-13 09:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 09:30:04] Production.ERROR: CronJob ID - 5
[2025-01-13 09:30:04] Production.ERROR: CronJob Last Run Time 2025-01-13 09:30:00
[2025-01-13 09:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 09:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 09:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 09:30:04] Production.ERROR: CronJob PID - 18955
[2025-01-13 09:30:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 09:30:04] Production.ERROR: CronJob ID - 7
[2025-01-13 09:30:04] Production.ERROR: CronJob Last Run Time 2025-01-13 09:30:00
[2025-01-13 09:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 09:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 09:30:04] Production.INFO: ==18957== Lock acquired, processing the job...
[2025-01-13 09:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 09:30:04] Production.INFO: ==18951== Releasing lock...
[2025-01-13 09:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 09:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 09:30:04] Production.INFO: ==18962== Lock acquired, processing the job...
[2025-01-13 09:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:30:04] Production.INFO: Account Balance Start.
[2025-01-13 09:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:30:04] Production.INFO: 117
[2025-01-13 09:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:30:04] Production.INFO: ==18964== Lock acquired, processing the job...
[2025-01-13 09:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 09:30:04] Production.INFO: ==18966== Lock acquired, processing the job...
[2025-01-13 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:30:04] Production.INFO: ==18955== Releasing lock...
[2025-01-13 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:30:04] Production.ERROR: done
[2025-01-13 09:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:30:04] Production.INFO: count ==21
[2025-01-13 09:30:04] Production.INFO: Total Charge 0
[2025-01-13 09:30:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 09:30:04] Production.INFO: count ==21
[2025-01-13 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238033') start
[2025-01-13 09:30:04] Production.ERROR: done
[2025-01-13 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238033') end
[2025-01-13 09:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:30:04] Production.INFO: 1
[2025-01-13 09:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:30:04] Production.INFO: ==18966== Releasing lock...
[2025-01-13 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:30:04] Production.ERROR: done
[2025-01-13 09:30:05] Production.INFO: Account Balance End.
[2025-01-13 09:30:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:30:05] Production.INFO: ==18959== Releasing lock...
[2025-01-13 09:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 09:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238035', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 09:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:30:06
[end_date_ymd] => 2025-01-13 09:30:06
[RateCDR] => 1
)
[2025-01-13 09:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:30:06' and `end` < '2025-01-13 09:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238035', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 09:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 09:30:08] Production.INFO: ProcessCDR(1,14238035,1,1,2)
[2025-01-13 09:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238035,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238035,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:30:08] Production.INFO: ==18964== Releasing lock...
[2025-01-13 09:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 09:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 09:30:13] Production.ERROR: CronJobId end10
[2025-01-13 09:30:13] Production.INFO: ==18957== Releasing lock...
[2025-01-13 09:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:30:15] Production.INFO: call_cost start
[2025-01-13 09:30:15] Production.INFO: call_cost end
[2025-01-13 09:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:30:16] Production.INFO: ==18953== Releasing lock...
[2025-01-13 09:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:30:23] Production.INFO: count ==1775
[2025-01-13 09:30:23] Production.ERROR: pbx CDR StartTime 2025-01-13 06:30:06 - End Time 2025-01-13 09:30:06
[2025-01-13 09:30:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238034', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238034', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238034', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238034', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:30:24] Production.INFO: ProcessCDR(1,14238034,1,1,2)
[2025-01-13 09:30:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:30:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:30:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:30:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238034', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238034', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:30:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:30:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:30:28] Production.INFO: ==18962== Releasing lock...
[2025-01-13 09:30:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:30:28] Production.INFO: 41.5 MB #Memory Used#
[2025-01-13 14:31:01] Production.INFO: ==19019== Lock acquired, processing the job...
[2025-01-13 14:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:31:01] Production.INFO: neon service started
[2025-01-13 14:31:01] Production.INFO: neon service started
[2025-01-13 14:31:01] Production.INFO: ==19019== Releasing lock...
[2025-01-13 14:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:31:01] Production.INFO: ==19021== Lock acquired, processing the job...
[2025-01-13 09:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:31:01] Production.INFO: ==19021== Releasing lock...
[2025-01-13 09:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:31:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:31:02] Production.INFO: ==19023== Lock acquired, processing the job...
[2025-01-13 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:31:02] Production.INFO: ==19023== Releasing lock...
[2025-01-13 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:31:02] Production.INFO: ==19027== Lock acquired, processing the job...
[2025-01-13 09:31:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:31:02] Production.INFO: ==19025== Lock acquired, processing the job...
[2025-01-13 09:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:31:02] Production.INFO: ==19029== Lock acquired, processing the job...
[2025-01-13 09:31:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:31:02] Production.INFO: ==19035== Lock acquired, processing the job...
[2025-01-13 09:31:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:31:02] Production.INFO: ==19031== Lock acquired, processing the job...
[2025-01-13 09:31:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:31:03] Production.INFO: ==19033== Lock acquired, processing the job...
[2025-01-13 09:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:31:03] Production.INFO: Account Balance Start.
[2025-01-13 09:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:31:03] Production.INFO: 117
[2025-01-13 09:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:31:03] Production.INFO: count ==21
[2025-01-13 09:31:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:31:03] Production.INFO: count ==21
[2025-01-13 09:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238039') start
[2025-01-13 09:31:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:31:03] Production.INFO: Total Charge 0
[2025-01-13 09:31:03] Production.INFO: CreateAllLog End
[2025-01-13 09:31:03] Production.INFO: ==19027== Releasing lock...
[2025-01-13 09:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:31:03] Production.ERROR: done
[2025-01-13 09:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238039') end
[2025-01-13 09:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:31:03] Production.INFO: 1
[2025-01-13 09:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:31:03] Production.INFO: Account Balance End.
[2025-01-13 09:31:03] Production.INFO: ==19035== Releasing lock...
[2025-01-13 09:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:31:03] Production.ERROR: done
[2025-01-13 09:31:03] Production.ERROR: CronJobId end 12
[2025-01-13 09:31:03] Production.INFO: ==19031== Releasing lock...
[2025-01-13 09:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:31:04
[end_date_ymd] => 2025-01-13 09:31:04
[RateCDR] => 1
)
[2025-01-13 09: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-13 06:31:04' and `end` < '2025-01-13 09: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-13 09:31:10] Production.ERROR: CronJobId end10
[2025-01-13 09:31:10] Production.INFO: ==19029== Releasing lock...
[2025-01-13 09:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:31:12] Production.INFO: call_cost start
[2025-01-13 09:31:12] Production.INFO: call_cost end
[2025-01-13 09:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:31:13] Production.INFO: ==19025== Releasing lock...
[2025-01-13 09:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:31:17] Production.INFO: count ==1891
[2025-01-13 09:31:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:31:04 - End Time 2025-01-13 09:31:04
[2025-01-13 09:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238040', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238040', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238040', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238040', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:31:18] Production.INFO: ProcessCDR(1,14238040,1,1,2)
[2025-01-13 09:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238040', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238040', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:31:23] Production.INFO: ==19033== Releasing lock...
[2025-01-13 09:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:31:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-13 14:32:01] Production.INFO: ==19088== Lock acquired, processing the job...
[2025-01-13 14:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:32:01] Production.INFO: neon service started
[2025-01-13 14:32:01] Production.INFO: neon service started
[2025-01-13 14:32:01] Production.INFO: ==19088== Releasing lock...
[2025-01-13 14:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:32:02] Production.INFO: ==19090== Lock acquired, processing the job...
[2025-01-13 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:32:02] Production.INFO: ==19090== Releasing lock...
[2025-01-13 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:32:02] Production.INFO: ==19092== Lock acquired, processing the job...
[2025-01-13 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:32:02] Production.INFO: ==19092== Releasing lock...
[2025-01-13 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:32:03] Production.INFO: ==19095== Lock acquired, processing the job...
[2025-01-13 09:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:32:03] Production.INFO: ==19097== Lock acquired, processing the job...
[2025-01-13 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:32:03] Production.INFO: ==19099== Lock acquired, processing the job...
[2025-01-13 09:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:32:03] Production.INFO: ==19103== Lock acquired, processing the job...
[2025-01-13 09:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:32:03] Production.INFO: ==19101== Lock acquired, processing the job...
[2025-01-13 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:32:03] Production.INFO: ==19105== Lock acquired, processing the job...
[2025-01-13 09:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:32:03] Production.INFO: Account Balance Start.
[2025-01-13 09:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:32:03] Production.INFO: 117
[2025-01-13 09:32:03] Production.INFO: ==19097== Releasing lock...
[2025-01-13 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 09:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:32:03] Production.INFO: count ==21
[2025-01-13 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-13 09:32:03] Production.INFO: count ==21
[2025-01-13 09:32:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:32:03] Production.ERROR: done
[2025-01-13 09:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238044') start
[2025-01-13 09:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:32:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:32:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:32:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238044') end
[2025-01-13 09:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:32:04] Production.INFO: 1
[2025-01-13 09:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:32:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:32:04] Production.ERROR: done
[2025-01-13 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:32:04] Production.INFO: Total Charge 0
[2025-01-13 09:32:04] Production.INFO: ==19105== Releasing lock...
[2025-01-13 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:32:04] Production.INFO: CreateAllLog End
[2025-01-13 09:32:04] Production.INFO: Account Balance End.
[2025-01-13 09:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:32:04] Production.INFO: ==19101== Releasing lock...
[2025-01-13 09:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:32:05
[end_date_ymd] => 2025-01-13 09:32:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:32:05' and `end` < '2025-01-13 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-13 09:32:11] Production.ERROR: CronJobId end10
[2025-01-13 09:32:11] Production.INFO: ==19099== Releasing lock...
[2025-01-13 09:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:32:13] Production.INFO: call_cost start
[2025-01-13 09:32:13] Production.INFO: call_cost end
[2025-01-13 09:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:32:13] Production.INFO: ==19095== Releasing lock...
[2025-01-13 09:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:32:19] Production.INFO: count ==1900
[2025-01-13 09:32:20] Production.ERROR: pbx CDR StartTime 2025-01-13 06:32:05 - End Time 2025-01-13 09:32:05
[2025-01-13 09:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238045', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238045', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238045', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238045', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:32:20] Production.INFO: ProcessCDR(1,14238045,1,1,2)
[2025-01-13 09:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238045', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238045', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:32:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:32:25] Production.INFO: ==19103== Releasing lock...
[2025-01-13 09:32:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:32:25] Production.INFO: 42.5 MB #Memory Used#
[2025-01-13 14:33:02] Production.INFO: ==19198== Lock acquired, processing the job...
[2025-01-13 14:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:33:02] Production.INFO: neon service started
[2025-01-13 14:33:02] Production.INFO: neon service started
[2025-01-13 14:33:02] Production.INFO: ==19198== Releasing lock...
[2025-01-13 14:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:33:02] Production.INFO: ==19202== Lock acquired, processing the job...
[2025-01-13 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:33:02] Production.INFO: ==19202== Releasing lock...
[2025-01-13 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:33:02] Production.INFO: ==19200== Lock acquired, processing the job...
[2025-01-13 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:33:02] Production.INFO: ==19200== Releasing lock...
[2025-01-13 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:33:03] Production.INFO: ==19207== Lock acquired, processing the job...
[2025-01-13 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:33:03] Production.INFO: ==19215== Lock acquired, processing the job...
[2025-01-13 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:33:03] Production.INFO: ==19209== Lock acquired, processing the job...
[2025-01-13 09:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:33:03] Production.INFO: ==19205== Lock acquired, processing the job...
[2025-01-13 09:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:33:04] Production.INFO: ==19211== Lock acquired, processing the job...
[2025-01-13 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 09:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:33:04] Production.INFO: ==19207== Releasing lock...
[2025-01-13 09:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:33:04] Production.INFO: count ==21
[2025-01-13 09:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:33:04] Production.INFO: ==19213== Lock acquired, processing the job...
[2025-01-13 09:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 09:33:04] Production.INFO: count ==21
[2025-01-13 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238047') start
[2025-01-13 09:33:04] Production.INFO: Account Balance Start.
[2025-01-13 09:33:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:33:04] Production.INFO: 117
[2025-01-13 09:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:33:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238047') end
[2025-01-13 09:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:33:04] Production.INFO: 1
[2025-01-13 09:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:33:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:33:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:33:04] Production.INFO: ==19215== Releasing lock...
[2025-01-13 09:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:33:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:33:04] Production.ERROR: done
[2025-01-13 09:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:33:04] Production.INFO: Total Charge 0
[2025-01-13 09:33:04] Production.INFO: CreateAllLog End
[2025-01-13 09:33:04] Production.ERROR: done
[2025-01-13 09:33:04] Production.INFO: Account Balance End.
[2025-01-13 09:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:33:04] Production.INFO: ==19211== Releasing lock...
[2025-01-13 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:33:05
[end_date_ymd] => 2025-01-13 09:33:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:33:05' and `end` < '2025-01-13 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-13 09:33:10] Production.ERROR: CronJobId end10
[2025-01-13 09:33:10] Production.INFO: ==19209== Releasing lock...
[2025-01-13 09:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:33:14] Production.INFO: call_cost start
[2025-01-13 09:33:14] Production.INFO: call_cost end
[2025-01-13 09:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:33:14] Production.INFO: ==19205== Releasing lock...
[2025-01-13 09:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:33:28] Production.INFO: count ==1914
[2025-01-13 09:33:28] Production.ERROR: pbx CDR StartTime 2025-01-13 06:33:05 - End Time 2025-01-13 09:33:05
[2025-01-13 09:33:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:33:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238050', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:33:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238050', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:33:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238050', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:33:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238050', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:33:28] Production.INFO: ProcessCDR(1,14238050,1,1,2)
[2025-01-13 09:33:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:33:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:33:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:33:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:33:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238050', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:33:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238050', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:33:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:33:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:33:33] Production.INFO: ==19213== Releasing lock...
[2025-01-13 09:33:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:33:33] Production.INFO: 42.5 MB #Memory Used#
[2025-01-13 14:34:01] Production.INFO: ==19271== Lock acquired, processing the job...
[2025-01-13 14:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:34:01] Production.INFO: neon service started
[2025-01-13 14:34:01] Production.INFO: neon service started
[2025-01-13 14:34:01] Production.INFO: ==19271== Releasing lock...
[2025-01-13 14:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:34:01] Production.INFO: ==19273== Lock acquired, processing the job...
[2025-01-13 09:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:34:02] Production.INFO: ==19273== Releasing lock...
[2025-01-13 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:34:02] Production.INFO: ==19275== Lock acquired, processing the job...
[2025-01-13 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:34:02] Production.INFO: ==19275== Releasing lock...
[2025-01-13 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:34:03] Production.INFO: ==19280== Lock acquired, processing the job...
[2025-01-13 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:34:03] Production.INFO: ==19288== Lock acquired, processing the job...
[2025-01-13 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:34:03] Production.INFO: ==19278== Lock acquired, processing the job...
[2025-01-13 09:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 09:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:34:03] Production.INFO: count ==21
[2025-01-13 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-13 09:34:03] Production.INFO: count ==21
[2025-01-13 09:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238052') start
[2025-01-13 09:34:03] Production.INFO: ==19282== Lock acquired, processing the job...
[2025-01-13 09:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:34:03] Production.INFO: ==19284== Lock acquired, processing the job...
[2025-01-13 09:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:34:03] Production.INFO: ==19280== Releasing lock...
[2025-01-13 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238052') end
[2025-01-13 09:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:34:03] Production.INFO: 1
[2025-01-13 09:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:34:03] Production.INFO: ==19286== Lock acquired, processing the job...
[2025-01-13 09:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:34:03] Production.INFO: ==19288== Releasing lock...
[2025-01-13 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:34:03] Production.INFO: Account Balance Start.
[2025-01-13 09:34:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:34:03] Production.INFO: 117
[2025-01-13 09:34:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:34:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:34:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:34:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:34:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:34:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:34:03] Production.ERROR: done
[2025-01-13 09:34:03] Production.INFO: Total Charge 0
[2025-01-13 09:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:34:03] Production.INFO: CreateAllLog End
[2025-01-13 09:34:04] Production.ERROR: done
[2025-01-13 09:34:04] Production.INFO: Account Balance End.
[2025-01-13 09:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:34:04] Production.INFO: ==19284== Releasing lock...
[2025-01-13 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:34:04
[end_date_ymd] => 2025-01-13 09:34:04
[RateCDR] => 1
)
[2025-01-13 09: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-13 06:34:04' and `end` < '2025-01-13 09: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-13 09:34:10] Production.ERROR: CronJobId end10
[2025-01-13 09:34:10] Production.INFO: ==19282== Releasing lock...
[2025-01-13 09:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:34:12] Production.INFO: call_cost start
[2025-01-13 09:34:12] Production.INFO: call_cost end
[2025-01-13 09:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:34:13] Production.INFO: ==19278== Releasing lock...
[2025-01-13 09:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:34:21] Production.INFO: count ==1929
[2025-01-13 09:34:22] Production.ERROR: pbx CDR StartTime 2025-01-13 06:34:04 - End Time 2025-01-13 09:34:04
[2025-01-13 09:34:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238055', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238055', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238055', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238055', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:34:22] Production.INFO: ProcessCDR(1,14238055,1,1,2)
[2025-01-13 09:34:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:34:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:34:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:34:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238055', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238055', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:34:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:34:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:34:25] Production.INFO: ==19286== Releasing lock...
[2025-01-13 09:34:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:34:25] Production.INFO: 42.5 MB #Memory Used#
[2025-01-13 14:35:01] Production.INFO: ==19341== Lock acquired, processing the job...
[2025-01-13 14:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:35:01] Production.INFO: neon service started
[2025-01-13 14:35:01] Production.INFO: neon service started
[2025-01-13 14:35:01] Production.INFO: ==19341== Releasing lock...
[2025-01-13 14:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:35:02] Production.INFO: ==19345== Lock acquired, processing the job...
[2025-01-13 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:35:02] Production.INFO: ==19345== Releasing lock...
[2025-01-13 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:35:02] Production.INFO: ==19343== Lock acquired, processing the job...
[2025-01-13 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:35:02] Production.INFO: ==19343== Releasing lock...
[2025-01-13 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:35:03] Production.INFO: ==19353== Lock acquired, processing the job...
[2025-01-13 09:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:35:03] Production.INFO: ==19351== Lock acquired, processing the job...
[2025-01-13 09:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:35:03] Production.INFO: Account Balance Start.
[2025-01-13 09:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:35:03] Production.INFO: 117
[2025-01-13 09:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:35:03] Production.INFO: ==19349== Lock acquired, processing the job...
[2025-01-13 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:35:03] Production.INFO: ==19347== Lock acquired, processing the job...
[2025-01-13 09:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:35:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:35:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:35:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:35:03] Production.INFO: ==19355== Lock acquired, processing the job...
[2025-01-13 09:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:35:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:35:03] Production.INFO: Total Charge 0
[2025-01-13 09:35:03] Production.INFO: ==19357== Lock acquired, processing the job...
[2025-01-13 09:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:35:03] Production.INFO: CreateAllLog End
[2025-01-13 09:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 09:35:04] Production.INFO: count ==21
[2025-01-13 09:35:04] Production.INFO: ==19349== Releasing lock...
[2025-01-13 09:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 09:35:04] Production.INFO: count ==21
[2025-01-13 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238059') start
[2025-01-13 09:35:04] Production.ERROR: done
[2025-01-13 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238059') end
[2025-01-13 09:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:35:04] Production.INFO: 1
[2025-01-13 09:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:35:04] Production.INFO: Account Balance End.
[2025-01-13 09:35:04] Production.INFO: ==19357== Releasing lock...
[2025-01-13 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:35:04] Production.INFO: ==19353== Releasing lock...
[2025-01-13 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:35:04] Production.ERROR: done
[2025-01-13 09:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:35:05
[end_date_ymd] => 2025-01-13 09:35:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:35:05' and `end` < '2025-01-13 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-13 09:35:10] Production.ERROR: CronJobId end10
[2025-01-13 09:35:10] Production.INFO: ==19351== Releasing lock...
[2025-01-13 09:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:35:13] Production.INFO: call_cost start
[2025-01-13 09:35:13] Production.INFO: call_cost end
[2025-01-13 09:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:35:14] Production.INFO: ==19347== Releasing lock...
[2025-01-13 09:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:35:18] Production.INFO: count ==1955
[2025-01-13 09:35:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:35:05 - End Time 2025-01-13 09:35:05
[2025-01-13 09:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238060', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238060', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238060', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238060', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:35:19] Production.INFO: ProcessCDR(1,14238060,1,1,2)
[2025-01-13 09:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238060', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238060', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:35:23] Production.INFO: ==19355== Releasing lock...
[2025-01-13 09:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:35:23] Production.INFO: 43 MB #Memory Used#
[2025-01-13 14:36:01] Production.INFO: ==19411== Lock acquired, processing the job...
[2025-01-13 14:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:36:01] Production.INFO: neon service started
[2025-01-13 14:36:01] Production.INFO: neon service started
[2025-01-13 14:36:01] Production.INFO: ==19411== Releasing lock...
[2025-01-13 14:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:36:01] Production.INFO: ==19413== Lock acquired, processing the job...
[2025-01-13 09:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:36:02] Production.INFO: ==19413== Releasing lock...
[2025-01-13 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:36:02] Production.INFO: ==19415== Lock acquired, processing the job...
[2025-01-13 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:36:02] Production.INFO: ==19415== Releasing lock...
[2025-01-13 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:36:02] Production.INFO: ==19419== Lock acquired, processing the job...
[2025-01-13 09:36:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:36:02] Production.INFO: ==19417== Lock acquired, processing the job...
[2025-01-13 09:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:36:03] Production.INFO: ==19421== Lock acquired, processing the job...
[2025-01-13 09:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:36:03] Production.INFO: ==19423== Lock acquired, processing the job...
[2025-01-13 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:36:03] Production.INFO: ==19427== Lock acquired, processing the job...
[2025-01-13 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:36:03] Production.INFO: Account Balance Start.
[2025-01-13 09:36:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:36:03] Production.INFO: 117
[2025-01-13 09:36:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 09:36:03] Production.INFO: ==19425== Lock acquired, processing the job...
[2025-01-13 09:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:36:03] Production.INFO: count ==21
[2025-01-13 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-13 09:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:36:03] Production.INFO: count ==21
[2025-01-13 09:36:03] Production.INFO: ==19419== Releasing lock...
[2025-01-13 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238064') start
[2025-01-13 09:36:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:36:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:36:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:36:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238064') end
[2025-01-13 09:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:36:03] Production.INFO: 1
[2025-01-13 09:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:36:03] Production.ERROR: done
[2025-01-13 09:36:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:36:03] Production.INFO: ==19427== Releasing lock...
[2025-01-13 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:36:03] Production.INFO: Total Charge 0
[2025-01-13 09:36:03] Production.INFO: CreateAllLog End
[2025-01-13 09:36:03] Production.ERROR: done
[2025-01-13 09:36:03] Production.INFO: Account Balance End.
[2025-01-13 09:36:03] Production.ERROR: CronJobId end 12
[2025-01-13 09:36:03] Production.INFO: ==19423== Releasing lock...
[2025-01-13 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:36:04
[end_date_ymd] => 2025-01-13 09:36:04
[RateCDR] => 1
)
[2025-01-13 09: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-13 06:36:04' and `end` < '2025-01-13 09: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-13 09:36:11] Production.ERROR: CronJobId end10
[2025-01-13 09:36:11] Production.INFO: ==19421== Releasing lock...
[2025-01-13 09:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:36:12] Production.INFO: call_cost start
[2025-01-13 09:36:12] Production.INFO: call_cost end
[2025-01-13 09:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:36:13] Production.INFO: ==19417== Releasing lock...
[2025-01-13 09:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:36:19] Production.INFO: count ==1965
[2025-01-13 09:36:20] Production.ERROR: pbx CDR StartTime 2025-01-13 06:36:04 - End Time 2025-01-13 09:36:04
[2025-01-13 09:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238065', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238065', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238065', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238065', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:36:20] Production.INFO: ProcessCDR(1,14238065,1,1,2)
[2025-01-13 09:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:36:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:36:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238065', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:36:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238065', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:36:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:36:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:36:25] Production.INFO: ==19425== Releasing lock...
[2025-01-13 09:36:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:36:25] Production.INFO: 42.75 MB #Memory Used#
[2025-01-13 14:37:01] Production.INFO: ==19481== Lock acquired, processing the job...
[2025-01-13 14:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:37:01] Production.INFO: neon service started
[2025-01-13 14:37:01] Production.INFO: neon service started
[2025-01-13 14:37:01] Production.INFO: ==19481== Releasing lock...
[2025-01-13 14:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:37:02] Production.INFO: ==19485== Lock acquired, processing the job...
[2025-01-13 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:37:02] Production.INFO: ==19485== Releasing lock...
[2025-01-13 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:37:02] Production.INFO: ==19483== Lock acquired, processing the job...
[2025-01-13 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:37:02] Production.INFO: ==19483== Releasing lock...
[2025-01-13 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:37:03] Production.INFO: ==19494== Lock acquired, processing the job...
[2025-01-13 09:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:37:03] Production.INFO: ==19492== Lock acquired, processing the job...
[2025-01-13 09:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:37:03] Production.INFO: Account Balance Start.
[2025-01-13 09:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:37:03] Production.INFO: 117
[2025-01-13 09:37:03] Production.INFO: ==19488== Lock acquired, processing the job...
[2025-01-13 09:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:37:03] Production.INFO: ==19490== Lock acquired, processing the job...
[2025-01-13 09:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:37:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:37:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:37:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:37:03] Production.INFO: ==19496== Lock acquired, processing the job...
[2025-01-13 09:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:37:03] Production.INFO: Total Charge 0
[2025-01-13 09:37:03] Production.INFO: ==19498== Lock acquired, processing the job...
[2025-01-13 09:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:37:04] Production.INFO: CreateAllLog End
[2025-01-13 09:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 09:37:04] Production.INFO: count ==21
[2025-01-13 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-13 09:37:04] Production.INFO: count ==21
[2025-01-13 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238069') start
[2025-01-13 09:37:04] Production.INFO: ==19490== Releasing lock...
[2025-01-13 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:37:04] Production.INFO: Account Balance End.
[2025-01-13 09:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:37:04] Production.INFO: ==19494== Releasing lock...
[2025-01-13 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238069') end
[2025-01-13 09:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:37:04] Production.INFO: 1
[2025-01-13 09:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:37:04] Production.ERROR: done
[2025-01-13 09:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:37:04] Production.INFO: ==19498== Releasing lock...
[2025-01-13 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:37:04] Production.ERROR: done
[2025-01-13 09:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:37:05
[end_date_ymd] => 2025-01-13 09:37:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:37:05' and `end` < '2025-01-13 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-13 09:37:11] Production.ERROR: CronJobId end10
[2025-01-13 09:37:11] Production.INFO: ==19492== Releasing lock...
[2025-01-13 09:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:37:12] Production.INFO: call_cost start
[2025-01-13 09:37:12] Production.INFO: call_cost end
[2025-01-13 09:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:37:13] Production.INFO: ==19488== Releasing lock...
[2025-01-13 09:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:37:21] Production.INFO: count ==1975
[2025-01-13 09:37:22] Production.ERROR: pbx CDR StartTime 2025-01-13 06:37:05 - End Time 2025-01-13 09:37:05
[2025-01-13 09:37:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238070', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238070', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238070', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238070', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:37:22] Production.INFO: ProcessCDR(1,14238070,1,1,2)
[2025-01-13 09:37:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238070', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238070', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:37:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:37:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:37:25] Production.INFO: ==19496== Releasing lock...
[2025-01-13 09:37:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:37:25] Production.INFO: 42.75 MB #Memory Used#
[2025-01-13 14:38:02] Production.INFO: ==19554== Lock acquired, processing the job...
[2025-01-13 14:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:38:02] Production.INFO: neon service started
[2025-01-13 14:38:02] Production.INFO: neon service started
[2025-01-13 14:38:02] Production.INFO: ==19554== Releasing lock...
[2025-01-13 14:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:38:02] Production.INFO: ==19556== Lock acquired, processing the job...
[2025-01-13 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:38:03] Production.INFO: ==19556== Releasing lock...
[2025-01-13 09:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:38:03] Production.INFO: ==19558== Lock acquired, processing the job...
[2025-01-13 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:38:03] Production.INFO: ==19558== Releasing lock...
[2025-01-13 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:38:03] Production.INFO: ==19564== Lock acquired, processing the job...
[2025-01-13 09:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:38:03] Production.INFO: ==19570== Lock acquired, processing the job...
[2025-01-13 09:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:38:03] Production.INFO: ==19560== Lock acquired, processing the job...
[2025-01-13 09:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:38:03] Production.INFO: ==19562== Lock acquired, processing the job...
[2025-01-13 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:38:04] Production.INFO: count ==21
[2025-01-13 09:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:38:04] Production.INFO: count ==21
[2025-01-13 09:38:04] Production.INFO: ==19566== Lock acquired, processing the job...
[2025-01-13 09:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238072') start
[2025-01-13 09:38:04] Production.INFO: ==19568== Lock acquired, processing the job...
[2025-01-13 09:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:38:04] Production.INFO: Account Balance Start.
[2025-01-13 09:38:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:38:04] Production.INFO: 117
[2025-01-13 09:38:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:38:04] Production.INFO: ==19562== Releasing lock...
[2025-01-13 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238072') end
[2025-01-13 09:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:38:04] Production.INFO: 1
[2025-01-13 09:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:38:04] Production.INFO: ==19570== Releasing lock...
[2025-01-13 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:38:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:38:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:38:04] Production.ERROR: done
[2025-01-13 09:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:38:04] Production.ERROR: done
[2025-01-13 09:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:38:05] Production.INFO: Total Charge 0
[2025-01-13 09:38:05] Production.INFO: CreateAllLog End
[2025-01-13 09:38:05] Production.INFO: Account Balance End.
[2025-01-13 09:38:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:38:05] Production.INFO: ==19566== Releasing lock...
[2025-01-13 09:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:38:05
[end_date_ymd] => 2025-01-13 09:38:05
[RateCDR] => 1
)
[2025-01-13 09:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:38:05' and `end` < '2025-01-13 09:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:38:11] Production.ERROR: CronJobId end10
[2025-01-13 09:38:11] Production.INFO: ==19564== Releasing lock...
[2025-01-13 09:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:38:13] Production.INFO: call_cost start
[2025-01-13 09:38:13] Production.INFO: call_cost end
[2025-01-13 09:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:38:14] Production.INFO: ==19560== Releasing lock...
[2025-01-13 09:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:38:19] Production.INFO: count ==2022
[2025-01-13 09:38:19] Production.ERROR: pbx CDR StartTime 2025-01-13 06:38:05 - End Time 2025-01-13 09:38:05
[2025-01-13 09:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238075', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238075', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238075', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238075', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:38:19] Production.INFO: ProcessCDR(1,14238075,1,1,2)
[2025-01-13 09:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238075', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238075', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:38:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:38:24] Production.INFO: ==19568== Releasing lock...
[2025-01-13 09:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:38:24] Production.INFO: 43.5 MB #Memory Used#
[2025-01-13 14:39:01] Production.INFO: ==19625== Lock acquired, processing the job...
[2025-01-13 14:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:39:01] Production.INFO: neon service started
[2025-01-13 14:39:01] Production.INFO: neon service started
[2025-01-13 14:39:01] Production.INFO: ==19625== Releasing lock...
[2025-01-13 14:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:39:02] Production.INFO: ==19629== Lock acquired, processing the job...
[2025-01-13 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:39:02] Production.INFO: ==19629== Releasing lock...
[2025-01-13 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:39:02] Production.INFO: ==19627== Lock acquired, processing the job...
[2025-01-13 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:39:02] Production.INFO: ==19627== Releasing lock...
[2025-01-13 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:39:03] Production.INFO: ==19631== Lock acquired, processing the job...
[2025-01-13 09:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:39:03] Production.INFO: ==19635== Lock acquired, processing the job...
[2025-01-13 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:39:03] Production.INFO: ==19637== Lock acquired, processing the job...
[2025-01-13 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:39:03] Production.INFO: Account Balance Start.
[2025-01-13 09:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:39:03] Production.INFO: 117
[2025-01-13 09:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:39:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:39:03] Production.INFO: ==19633== Lock acquired, processing the job...
[2025-01-13 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:39:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:39:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:39:03] Production.INFO: Total Charge 0
[2025-01-13 09:39:03] Production.INFO: CreateAllLog End
[2025-01-13 09:39:03] Production.INFO: ==19639== Lock acquired, processing the job...
[2025-01-13 09:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:39:03] Production.INFO: ==19642== Lock acquired, processing the job...
[2025-01-13 09:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:39:03] Production.INFO: ==19633== Releasing lock...
[2025-01-13 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:39:03] Production.INFO: Account Balance End.
[2025-01-13 09:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:39:04] Production.INFO: count ==21
[2025-01-13 09:39:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:39:04] Production.INFO: ==19637== Releasing lock...
[2025-01-13 09:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:39:04] Production.ERROR: done
[2025-01-13 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-13 09:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:39:04] Production.INFO: count ==21
[2025-01-13 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238079') start
[2025-01-13 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238079') end
[2025-01-13 09:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:39:04] Production.INFO: 1
[2025-01-13 09:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:39:04] Production.ERROR: done
[2025-01-13 09:39:04] Production.INFO: ==19642== Releasing lock...
[2025-01-13 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:39:05
[end_date_ymd] => 2025-01-13 09:39:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:39:05' and `end` < '2025-01-13 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-13 09:39:11] Production.ERROR: CronJobId end10
[2025-01-13 09:39:11] Production.INFO: ==19635== Releasing lock...
[2025-01-13 09:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:39:13] Production.INFO: call_cost start
[2025-01-13 09:39:13] Production.INFO: call_cost end
[2025-01-13 09:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:39:14] Production.INFO: ==19631== Releasing lock...
[2025-01-13 09:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:39:21] Production.INFO: count ==2039
[2025-01-13 09:39:21] Production.ERROR: pbx CDR StartTime 2025-01-13 06:39:05 - End Time 2025-01-13 09:39:05
[2025-01-13 09:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238080', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238080', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238080', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238080', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:39:22] Production.INFO: ProcessCDR(1,14238080,1,1,2)
[2025-01-13 09:39:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238080', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238080', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:39:26] Production.INFO: ==19639== Releasing lock...
[2025-01-13 09:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:39:26] Production.INFO: 43.25 MB #Memory Used#
[2025-01-13 14:40:02] Production.INFO: ==19697== Lock acquired, processing the job...
[2025-01-13 14:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:40:02] Production.INFO: neon service started
[2025-01-13 14:40:02] Production.INFO: neon service started
[2025-01-13 14:40:02] Production.INFO: ==19697== Releasing lock...
[2025-01-13 14:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:40:02] Production.INFO: ==19699== Lock acquired, processing the job...
[2025-01-13 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:40:02] Production.INFO: ==19701== Lock acquired, processing the job...
[2025-01-13 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:40:02] Production.INFO: ==19701== Releasing lock...
[2025-01-13 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:40:03] Production.INFO: ==19699== Releasing lock...
[2025-01-13 09:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:40:03] Production.INFO: ==19704== Lock acquired, processing the job...
[2025-01-13 09:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 09:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 09:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 09:40:04] Production.INFO: ==19704== Releasing lock...
[2025-01-13 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 09:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 09:40:04] Production.INFO: ==19708== Lock acquired, processing the job...
[2025-01-13 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:40:04] Production.INFO: ==19712== Lock acquired, processing the job...
[2025-01-13 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:40:04] Production.INFO: ==19716== Lock acquired, processing the job...
[2025-01-13 09:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 09:40:04] Production.INFO: Account Balance Start.
[2025-01-13 09:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:40:04] Production.INFO: 117
[2025-01-13 09:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:40:04] Production.INFO: ==19706== Lock acquired, processing the job...
[2025-01-13 09:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:40:04] Production.INFO: ==19710== Lock acquired, processing the job...
[2025-01-13 09:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:40:04] Production.ERROR: done
[2025-01-13 09:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 09:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238084', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 09:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:40:04] Production.INFO: ==19714== Lock acquired, processing the job...
[2025-01-13 09:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:40:04] Production.INFO: ==19708== Releasing lock...
[2025-01-13 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:40:04] Production.INFO: Total Charge 0
[2025-01-13 09:40:04] Production.INFO: CreateAllLog End
[2025-01-13 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:40:04] Production.INFO: ==19718== Lock acquired, processing the job...
[2025-01-13 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:40:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:40:05] Production.INFO: Account Balance End.
[2025-01-13 09:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:40:05] Production.INFO: ==19712== Releasing lock...
[2025-01-13 09:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:40:05] Production.INFO: count ==21
[2025-01-13 09:40:05] Production.ERROR: done
[2025-01-13 09: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-13 09:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:40:05] Production.INFO: count ==21
[2025-01-13 09:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14238085') start
[2025-01-13 09:40:05] Production.ERROR: done
[2025-01-13 09:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14238085') end
[2025-01-13 09:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:40:05] Production.INFO: 1
[2025-01-13 09:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:40:05] Production.INFO: ==19718== Releasing lock...
[2025-01-13 09:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:40:06
[end_date_ymd] => 2025-01-13 09:40:06
[RateCDR] => 1
)
[2025-01-13 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-13 06:40:06' and `end` < '2025-01-13 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-13 09:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238084', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 09:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 09:40:08] Production.INFO: ProcessCDR(1,14238084,1,1,2)
[2025-01-13 09:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238084,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238084,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:40:09] Production.INFO: ==19716== Releasing lock...
[2025-01-13 09:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 09:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 09:40:13] Production.ERROR: CronJobId end10
[2025-01-13 09:40:13] Production.INFO: ==19710== Releasing lock...
[2025-01-13 09:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:40:15] Production.INFO: call_cost start
[2025-01-13 09:40:15] Production.INFO: call_cost end
[2025-01-13 09:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:40:16] Production.INFO: ==19706== Releasing lock...
[2025-01-13 09:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:40:26] Production.INFO: count ==2053
[2025-01-13 09:40:27] Production.ERROR: pbx CDR StartTime 2025-01-13 06:40:06 - End Time 2025-01-13 09:40:06
[2025-01-13 09:40:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238086', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238086', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238086', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238086', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:40:27] Production.INFO: ProcessCDR(1,14238086,1,1,2)
[2025-01-13 09:40:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:40:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:40:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:40:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:40:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238086', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:40:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238086', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:40:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:40:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:40:32] Production.INFO: ==19714== Releasing lock...
[2025-01-13 09:40:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:40:32] Production.INFO: 43.75 MB #Memory Used#
[2025-01-13 14:41:01] Production.INFO: ==19772== Lock acquired, processing the job...
[2025-01-13 14:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:41:01] Production.INFO: neon service started
[2025-01-13 14:41:01] Production.INFO: neon service started
[2025-01-13 14:41:01] Production.INFO: ==19772== Releasing lock...
[2025-01-13 14:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:41:01] Production.INFO: ==19774== Lock acquired, processing the job...
[2025-01-13 09:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:41:02] Production.INFO: ==19774== Releasing lock...
[2025-01-13 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:41:02] Production.INFO: ==19776== Lock acquired, processing the job...
[2025-01-13 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:41:02] Production.INFO: ==19776== Releasing lock...
[2025-01-13 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:41:02] Production.INFO: ==19782== Lock acquired, processing the job...
[2025-01-13 09:41:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:41:03] Production.INFO: ==19778== Lock acquired, processing the job...
[2025-01-13 09:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:41:03] Production.INFO: ==19780== Lock acquired, processing the job...
[2025-01-13 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:41:03] Production.INFO: ==19784== Lock acquired, processing the job...
[2025-01-13 09:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:41:03] Production.INFO: ==19786== Lock acquired, processing the job...
[2025-01-13 09:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:41:03] Production.INFO: Account Balance Start.
[2025-01-13 09:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:41:03] Production.INFO: 117
[2025-01-13 09:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:41:03] Production.INFO: ==19788== Lock acquired, processing the job...
[2025-01-13 09:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:41:03] Production.INFO: ==19780== Releasing lock...
[2025-01-13 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:41:04] Production.INFO: count ==21
[2025-01-13 09:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:41:04] Production.INFO: count ==21
[2025-01-13 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238090') start
[2025-01-13 09:41:04] Production.INFO: Total Charge 0
[2025-01-13 09:41:04] Production.ERROR: done
[2025-01-13 09:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238090') end
[2025-01-13 09:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:41:04] Production.INFO: 1
[2025-01-13 09:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:41:04] Production.INFO: CreateAllLog End
[2025-01-13 09:41:04] Production.INFO: ==19788== Releasing lock...
[2025-01-13 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:41:04] Production.ERROR: done
[2025-01-13 09:41:04] Production.INFO: Account Balance End.
[2025-01-13 09:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:41:04] Production.INFO: ==19784== Releasing lock...
[2025-01-13 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:41:05
[end_date_ymd] => 2025-01-13 09:41:05
[RateCDR] => 1
)
[2025-01-13 09:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:41:05' and `end` < '2025-01-13 09:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:41:10] Production.ERROR: CronJobId end10
[2025-01-13 09:41:10] Production.INFO: ==19782== Releasing lock...
[2025-01-13 09:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:41:13] Production.INFO: call_cost start
[2025-01-13 09:41:13] Production.INFO: call_cost end
[2025-01-13 09:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:41:13] Production.INFO: ==19778== Releasing lock...
[2025-01-13 09:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:41:17] Production.INFO: count ==2136
[2025-01-13 09:41:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:41:05 - End Time 2025-01-13 09:41:05
[2025-01-13 09:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238091', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238091', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238091', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238091', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:41:18] Production.INFO: ProcessCDR(1,14238091,1,1,2)
[2025-01-13 09:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238091', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238091', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:41:23] Production.INFO: ==19786== Releasing lock...
[2025-01-13 09:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:41:23] Production.INFO: 44 MB #Memory Used#
[2025-01-13 14:42:02] Production.INFO: ==19842== Lock acquired, processing the job...
[2025-01-13 14:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:42:02] Production.INFO: neon service started
[2025-01-13 14:42:02] Production.INFO: neon service started
[2025-01-13 14:42:02] Production.INFO: ==19842== Releasing lock...
[2025-01-13 14:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:42:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 14:42:02] Production.INFO: ==19847== Lock acquired, processing the job...
[2025-01-13 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:42:02] Production.INFO: ==19847== Releasing lock...
[2025-01-13 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:42:02] Production.INFO: ==19845== Lock acquired, processing the job...
[2025-01-13 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:42:02] Production.INFO: ==19845== Releasing lock...
[2025-01-13 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:42:03] Production.INFO: ==19855== Lock acquired, processing the job...
[2025-01-13 09:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:42:03] Production.INFO: ==19849== Lock acquired, processing the job...
[2025-01-13 09:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:42:03] Production.INFO: ==19859== Lock acquired, processing the job...
[2025-01-13 09:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:42:03] Production.INFO: Account Balance Start.
[2025-01-13 09:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:42:03] Production.INFO: 117
[2025-01-13 09:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:42:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:42:04] Production.INFO: ==19851== Lock acquired, processing the job...
[2025-01-13 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 09:42:04] Production.INFO: ==19857== Lock acquired, processing the job...
[2025-01-13 09:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:42:04] Production.INFO: ==19853== Lock acquired, processing the job...
[2025-01-13 09:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:42:04] Production.INFO: count ==21
[2025-01-13 09:42:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:42:04] Production.INFO: count ==21
[2025-01-13 09:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238094') start
[2025-01-13 09:42:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:42:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238094') end
[2025-01-13 09:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:42:04] Production.INFO: 1
[2025-01-13 09:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:42:04] Production.INFO: ==19859== Releasing lock...
[2025-01-13 09:42:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:42:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:42:04] Production.INFO: ==19851== Releasing lock...
[2025-01-13 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:42:04] Production.INFO: Total Charge 0
[2025-01-13 09:42:04] Production.ERROR: done
[2025-01-13 09:42:04] Production.INFO: CreateAllLog End
[2025-01-13 09:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:42:04] Production.ERROR: done
[2025-01-13 09:42:04] Production.INFO: Account Balance End.
[2025-01-13 09:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:42:04] Production.INFO: ==19855== Releasing lock...
[2025-01-13 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:42:05
[end_date_ymd] => 2025-01-13 09:42:05
[RateCDR] => 1
)
[2025-01-13 09:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:42:05' and `end` < '2025-01-13 09:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:42:11] Production.ERROR: CronJobId end10
[2025-01-13 09:42:11] Production.INFO: ==19853== Releasing lock...
[2025-01-13 09:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:42:13] Production.INFO: call_cost start
[2025-01-13 09:42:13] Production.INFO: call_cost end
[2025-01-13 09:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:42:14] Production.INFO: ==19849== Releasing lock...
[2025-01-13 09:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:42:18] Production.INFO: count ==2142
[2025-01-13 09:42:19] Production.ERROR: pbx CDR StartTime 2025-01-13 06:42:05 - End Time 2025-01-13 09:42:05
[2025-01-13 09:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238096', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238096', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238096', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238096', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:42:19] Production.INFO: ProcessCDR(1,14238096,1,1,2)
[2025-01-13 09:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238096', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238096', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:42:24] Production.INFO: ==19857== Releasing lock...
[2025-01-13 09:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:42:24] Production.INFO: 44.25 MB #Memory Used#
[2025-01-13 14:43:01] Production.INFO: ==19912== Lock acquired, processing the job...
[2025-01-13 14:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:43:01] Production.INFO: neon service started
[2025-01-13 14:43:01] Production.INFO: neon service started
[2025-01-13 14:43:01] Production.INFO: ==19912== Releasing lock...
[2025-01-13 14:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:43:02] Production.INFO: ==19915== Lock acquired, processing the job...
[2025-01-13 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:43:02] Production.INFO: ==19917== Lock acquired, processing the job...
[2025-01-13 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:43:02] Production.INFO: ==19917== Releasing lock...
[2025-01-13 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:43:02] Production.INFO: ==19915== Releasing lock...
[2025-01-13 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:43:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:43:03] Production.INFO: ==19921== Lock acquired, processing the job...
[2025-01-13 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:43:03] Production.INFO: ==19925== Lock acquired, processing the job...
[2025-01-13 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:43:03] Production.INFO: ==19919== Lock acquired, processing the job...
[2025-01-13 09:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:43:03] Production.INFO: Account Balance Start.
[2025-01-13 09:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:43:03] Production.INFO: 117
[2025-01-13 09:43:03] Production.INFO: ==19923== Lock acquired, processing the job...
[2025-01-13 09:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:43:03] Production.INFO: ==19927== Lock acquired, processing the job...
[2025-01-13 09:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:43:03] Production.INFO: ==19929== Lock acquired, processing the job...
[2025-01-13 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:43:03] Production.INFO: ==19921== Releasing lock...
[2025-01-13 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:43:03] Production.INFO: count ==21
[2025-01-13 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-13 09:43:03] Production.INFO: count ==21
[2025-01-13 09:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238100') start
[2025-01-13 09:43:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:43:03] Production.ERROR: done
[2025-01-13 09:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:43:04] Production.ERROR: done
[2025-01-13 09:43:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238100') end
[2025-01-13 09:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:43:04] Production.INFO: 1
[2025-01-13 09:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:43:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:43:04] Production.INFO: ==19929== Releasing lock...
[2025-01-13 09:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:43:04] Production.INFO: Total Charge 0
[2025-01-13 09:43:04] Production.INFO: CreateAllLog End
[2025-01-13 09:43:04] Production.INFO: Account Balance End.
[2025-01-13 09:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:43:04] Production.INFO: ==19925== Releasing lock...
[2025-01-13 09:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:43:05
[end_date_ymd] => 2025-01-13 09:43:05
[RateCDR] => 1
)
[2025-01-13 09:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:43:05' and `end` < '2025-01-13 09:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:43:11] Production.ERROR: CronJobId end10
[2025-01-13 09:43:11] Production.INFO: ==19923== Releasing lock...
[2025-01-13 09:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:43:13] Production.INFO: call_cost start
[2025-01-13 09:43:13] Production.INFO: call_cost end
[2025-01-13 09:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:43:14] Production.INFO: ==19919== Releasing lock...
[2025-01-13 09:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:43:17] Production.INFO: count ==2149
[2025-01-13 09:43:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:43:05 - End Time 2025-01-13 09:43:05
[2025-01-13 09:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238101', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238101', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238101', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238101', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:43:18] Production.INFO: ProcessCDR(1,14238101,1,1,2)
[2025-01-13 09:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238101', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238101', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:43:23] Production.INFO: ==19927== Releasing lock...
[2025-01-13 09:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:43:23] Production.INFO: 44.25 MB #Memory Used#
[2025-01-13 14:44:02] Production.INFO: ==19983== Lock acquired, processing the job...
[2025-01-13 14:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:44:02] Production.INFO: neon service started
[2025-01-13 14:44:02] Production.INFO: neon service started
[2025-01-13 14:44:02] Production.INFO: ==19983== Releasing lock...
[2025-01-13 14:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:44:02] Production.INFO: ==19985== Lock acquired, processing the job...
[2025-01-13 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:44:02] Production.INFO: ==19985== Releasing lock...
[2025-01-13 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:44:02] Production.INFO: ==19987== Lock acquired, processing the job...
[2025-01-13 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:44:02] Production.INFO: ==19987== Releasing lock...
[2025-01-13 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:44:03] Production.INFO: ==19994== Lock acquired, processing the job...
[2025-01-13 09:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:44:03] Production.INFO: ==19998== Lock acquired, processing the job...
[2025-01-13 09:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:44:03] Production.INFO: ==19992== Lock acquired, processing the job...
[2025-01-13 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:44:04] Production.INFO: ==20000== Lock acquired, processing the job...
[2025-01-13 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:44:04] Production.INFO: ==19996== Lock acquired, processing the job...
[2025-01-13 09:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:44:04] Production.INFO: ==19990== Lock acquired, processing the job...
[2025-01-13 09:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 09:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:44:04] Production.INFO: count ==21
[2025-01-13 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-13 09:44:04] Production.INFO: count ==21
[2025-01-13 09:44:04] Production.ERROR: done
[2025-01-13 09:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238102') start
[2025-01-13 09:44:04] Production.INFO: Account Balance Start.
[2025-01-13 09:44:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:44:04] Production.INFO: 117
[2025-01-13 09:44:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238102') end
[2025-01-13 09:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:44:04] Production.INFO: 1
[2025-01-13 09:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:44:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:44:04] Production.ERROR: done
[2025-01-13 09:44:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:44:04] Production.INFO: ==20000== Releasing lock...
[2025-01-13 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:44:04] Production.INFO: ==19992== Releasing lock...
[2025-01-13 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:44:04] Production.INFO: Total Charge 0
[2025-01-13 09:44:04] Production.INFO: CreateAllLog End
[2025-01-13 09:44:04] Production.INFO: Account Balance End.
[2025-01-13 09:44:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:44:05] Production.INFO: ==19996== Releasing lock...
[2025-01-13 09:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:44:05
[end_date_ymd] => 2025-01-13 09:44:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:44:05' and `end` < '2025-01-13 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-13 09: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_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-13 09:44:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:44:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:44:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:44:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:44:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:44:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:44:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:44:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:44:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:44:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:44:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:44:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:44:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:44:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:44:11] Production.INFO: call_cost start
[2025-01-13 09:44:11] Production.INFO: call_cost end
[2025-01-13 09:44:11] Production.ERROR: CronJobId end10
[2025-01-13 09:44:11] Production.INFO: ==19994== Releasing lock...
[2025-01-13 09:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:44:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:44:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:44:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:44:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:44:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:44:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:44:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:44:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:44:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:44:12] Production.INFO: ==19990== Releasing lock...
[2025-01-13 09:44:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:44:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:44:21] Production.INFO: count ==2156
[2025-01-13 09:44:22] Production.ERROR: pbx CDR StartTime 2025-01-13 06:44:05 - End Time 2025-01-13 09:44:05
[2025-01-13 09:44:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238106', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238106', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238106', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238106', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:44:22] Production.INFO: ProcessCDR(1,14238106,1,1,2)
[2025-01-13 09:44:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:44:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:44:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:44:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238106', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238106', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:44:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:44:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:44:26] Production.INFO: ==19998== Releasing lock...
[2025-01-13 09:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:44:26] Production.INFO: 44.5 MB #Memory Used#
[2025-01-13 14:45:01] Production.INFO: ==20053== Lock acquired, processing the job...
[2025-01-13 14:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:45:01] Production.INFO: neon service started
[2025-01-13 14:45:01] Production.INFO: neon service started
[2025-01-13 14:45:01] Production.INFO: ==20053== Releasing lock...
[2025-01-13 14:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:45:01] Production.INFO: ==20055== Lock acquired, processing the job...
[2025-01-13 09:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:45:02] Production.INFO: ==20055== Releasing lock...
[2025-01-13 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:45:02] Production.INFO: ==20057== Lock acquired, processing the job...
[2025-01-13 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:45:02] Production.INFO: ==20057== Releasing lock...
[2025-01-13 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:45:03] Production.INFO: ==20066== Lock acquired, processing the job...
[2025-01-13 09:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:45:03] Production.INFO: ==20070== Lock acquired, processing the job...
[2025-01-13 09:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:45:03] Production.INFO: ==20060== Lock acquired, processing the job...
[2025-01-13 09:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:45:03] Production.INFO: Account Balance Start.
[2025-01-13 09:45:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:45:03] Production.INFO: 117
[2025-01-13 09:45:03] Production.INFO: ==20062== Lock acquired, processing the job...
[2025-01-13 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 09:45:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:45:03] Production.INFO: ==20064== Lock acquired, processing the job...
[2025-01-13 09:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:45:03] Production.INFO: count ==21
[2025-01-13 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-13 09:45:03] Production.INFO: count ==21
[2025-01-13 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238108') start
[2025-01-13 09:45:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:45:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:45:03] Production.INFO: ==20068== Lock acquired, processing the job...
[2025-01-13 09:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:45:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:45:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238108') end
[2025-01-13 09:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:45:03] Production.INFO: 1
[2025-01-13 09:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:45:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:45:03] Production.INFO: Total Charge 0
[2025-01-13 09:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:45:03] Production.INFO: CreateAllLog End
[2025-01-13 09:45:03] Production.INFO: ==20062== Releasing lock...
[2025-01-13 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:45:03] Production.INFO: ==20070== Releasing lock...
[2025-01-13 09:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:45:03] Production.INFO: Account Balance End.
[2025-01-13 09:45:03] Production.ERROR: done
[2025-01-13 09:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:45:03] Production.ERROR: CronJobId end 12
[2025-01-13 09:45:03] Production.INFO: ==20066== Releasing lock...
[2025-01-13 09:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:45:04] Production.ERROR: done
[2025-01-13 09:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:45:04
[end_date_ymd] => 2025-01-13 09:45:04
[RateCDR] => 1
)
[2025-01-13 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-13 06:45:04' and `end` < '2025-01-13 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-13 09:45:10] Production.ERROR: CronJobId end10
[2025-01-13 09:45:10] Production.INFO: ==20064== Releasing lock...
[2025-01-13 09:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:45:13] Production.INFO: call_cost start
[2025-01-13 09:45:13] Production.INFO: call_cost end
[2025-01-13 09:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:45:13] Production.INFO: ==20060== Releasing lock...
[2025-01-13 09:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:45:23] Production.INFO: count ==2173
[2025-01-13 09:45:24] Production.ERROR: pbx CDR StartTime 2025-01-13 06:45:04 - End Time 2025-01-13 09:45:04
[2025-01-13 09:45:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238111', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238111', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238111', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238111', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:45:24] Production.INFO: ProcessCDR(1,14238111,1,1,2)
[2025-01-13 09:45:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:45:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:45:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:45:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:45:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238111', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:45:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238111', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:45:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:45:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:45:29] Production.INFO: ==20068== Releasing lock...
[2025-01-13 09:45:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:45:29] Production.INFO: 44.25 MB #Memory Used#
[2025-01-13 14:46:01] Production.INFO: ==20123== Lock acquired, processing the job...
[2025-01-13 14:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:46:01] Production.INFO: neon service started
[2025-01-13 14:46:02] Production.INFO: neon service started
[2025-01-13 14:46:02] Production.INFO: ==20123== Releasing lock...
[2025-01-13 14:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:46:02] Production.INFO: ==20125== Lock acquired, processing the job...
[2025-01-13 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:46:02] Production.INFO: ==20125== Releasing lock...
[2025-01-13 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:46:02] Production.INFO: ==20127== Lock acquired, processing the job...
[2025-01-13 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:46:02] Production.INFO: ==20127== Releasing lock...
[2025-01-13 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:46:03] Production.INFO: ==20136== Lock acquired, processing the job...
[2025-01-13 09:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:46:03] Production.INFO: Account Balance Start.
[2025-01-13 09:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:46:03] Production.INFO: 117
[2025-01-13 09:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:46:03] Production.INFO: ==20140== Lock acquired, processing the job...
[2025-01-13 09:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:46:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:46:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:46:03] Production.INFO: ==20129== Lock acquired, processing the job...
[2025-01-13 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:46:03] Production.INFO: ==20131== Lock acquired, processing the job...
[2025-01-13 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:46:03] Production.INFO: count ==21
[2025-01-13 09:46:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:46:03] Production.INFO: count ==21
[2025-01-13 09:46:03] Production.INFO: ==20133== Lock acquired, processing the job...
[2025-01-13 09:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238113') start
[2025-01-13 09:46:03] Production.INFO: ==20138== Lock acquired, processing the job...
[2025-01-13 09:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:46:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:46:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238113') end
[2025-01-13 09:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:46:03] Production.INFO: 1
[2025-01-13 09:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:46:03] Production.INFO: Total Charge 0
[2025-01-13 09:46:03] Production.INFO: CreateAllLog End
[2025-01-13 09:46:04] Production.INFO: ==20140== Releasing lock...
[2025-01-13 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:46:04] Production.INFO: ==20131== Releasing lock...
[2025-01-13 09:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:46:04] Production.ERROR: done
[2025-01-13 09:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:46:04] Production.ERROR: done
[2025-01-13 09:46:04] Production.INFO: Account Balance End.
[2025-01-13 09:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:46:04] Production.INFO: ==20136== Releasing lock...
[2025-01-13 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:46:05
[end_date_ymd] => 2025-01-13 09:46:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:46:05' and `end` < '2025-01-13 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-13 09:46:12] Production.ERROR: CronJobId end10
[2025-01-13 09:46:12] Production.INFO: ==20133== Releasing lock...
[2025-01-13 09:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:46:14] Production.INFO: call_cost start
[2025-01-13 09:46:14] Production.INFO: call_cost end
[2025-01-13 09:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:46:15] Production.INFO: ==20129== Releasing lock...
[2025-01-13 09:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:46:36] Production.INFO: count ==2207
[2025-01-13 09:46:37] Production.ERROR: pbx CDR StartTime 2025-01-13 06:46:05 - End Time 2025-01-13 09:46:05
[2025-01-13 09:46:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:46:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238116', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:46:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238116', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:46:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238116', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:46:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238116', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:46:37] Production.INFO: ProcessCDR(1,14238116,1,1,2)
[2025-01-13 09:46:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:46:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:46:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:46:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:46:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238116', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:46:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238116', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:46:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:46:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:46:42] Production.INFO: ==20138== Releasing lock...
[2025-01-13 09:46:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:46:42] Production.INFO: 44.75 MB #Memory Used#
[2025-01-13 14:47:01] Production.INFO: ==20194== Lock acquired, processing the job...
[2025-01-13 14:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:47:01] Production.INFO: neon service started
[2025-01-13 14:47:01] Production.INFO: neon service started
[2025-01-13 14:47:01] Production.INFO: ==20194== Releasing lock...
[2025-01-13 14:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:47:01] Production.INFO: ==20196== Lock acquired, processing the job...
[2025-01-13 09:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:47:02] Production.INFO: ==20196== Releasing lock...
[2025-01-13 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:47:02] Production.INFO: ==20198== Lock acquired, processing the job...
[2025-01-13 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:47:02] Production.INFO: ==20198== Releasing lock...
[2025-01-13 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:47:02] Production.INFO: ==20206== Lock acquired, processing the job...
[2025-01-13 09:47:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:47:03] Production.INFO: ==20210== Lock acquired, processing the job...
[2025-01-13 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:47:03] Production.INFO: Account Balance Start.
[2025-01-13 09:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:47:03] Production.INFO: 117
[2025-01-13 09:47:03] Production.INFO: ==20200== Lock acquired, processing the job...
[2025-01-13 09:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:47:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:47:03] Production.INFO: count ==21
[2025-01-13 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-13 09:47:03] Production.INFO: count ==21
[2025-01-13 09:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238118') start
[2025-01-13 09:47:03] Production.INFO: ==20204== Lock acquired, processing the job...
[2025-01-13 09:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:47:03] Production.INFO: ==20202== Lock acquired, processing the job...
[2025-01-13 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:47:03] Production.INFO: ==20208== Lock acquired, processing the job...
[2025-01-13 09:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:47:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:47:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238118') end
[2025-01-13 09:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:47:03] Production.INFO: 1
[2025-01-13 09:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:47:03] Production.INFO: ==20210== Releasing lock...
[2025-01-13 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:47:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:47:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:47:03] Production.INFO: Total Charge 0
[2025-01-13 09:47:03] Production.INFO: CreateAllLog End
[2025-01-13 09:47:03] Production.ERROR: done
[2025-01-13 09:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:47:03] Production.INFO: ==20202== Releasing lock...
[2025-01-13 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:47:03] Production.ERROR: done
[2025-01-13 09:47:03] Production.INFO: Account Balance End.
[2025-01-13 09:47:03] Production.ERROR: CronJobId end 12
[2025-01-13 09:47:03] Production.INFO: ==20206== Releasing lock...
[2025-01-13 09:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:47:05
[end_date_ymd] => 2025-01-13 09:47:05
[RateCDR] => 1
)
[2025-01-13 09:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:47:05' and `end` < '2025-01-13 09:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:47:11] Production.ERROR: CronJobId end10
[2025-01-13 09:47:11] Production.INFO: ==20204== Releasing lock...
[2025-01-13 09:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:47:13] Production.INFO: call_cost start
[2025-01-13 09:47:13] Production.INFO: call_cost end
[2025-01-13 09:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:47:14] Production.INFO: ==20200== Releasing lock...
[2025-01-13 09:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:47:23] Production.INFO: count ==2219
[2025-01-13 09:47:24] Production.ERROR: pbx CDR StartTime 2025-01-13 06:47:05 - End Time 2025-01-13 09:47:05
[2025-01-13 09:47:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:47:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238121', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:47:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238121', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:47:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238121', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:47:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238121', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:47:24] Production.INFO: ProcessCDR(1,14238121,1,1,2)
[2025-01-13 09:47:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:47:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:47:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:47:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:47:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238121', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:47:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238121', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:47:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:47:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:47:29] Production.INFO: ==20208== Releasing lock...
[2025-01-13 09:47:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:47:29] Production.INFO: 45 MB #Memory Used#
[2025-01-13 14:48:02] Production.INFO: ==20271== Lock acquired, processing the job...
[2025-01-13 14:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:48:02] Production.INFO: neon service started
[2025-01-13 14:48:02] Production.INFO: neon service started
[2025-01-13 14:48:02] Production.INFO: ==20271== Releasing lock...
[2025-01-13 14:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:48:02] Production.INFO: ==20273== Lock acquired, processing the job...
[2025-01-13 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:48:02] Production.INFO: ==20273== Releasing lock...
[2025-01-13 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:48:03] Production.INFO: ==20275== Lock acquired, processing the job...
[2025-01-13 14:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:48:03] Production.INFO: ==20275== Releasing lock...
[2025-01-13 14:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:48:03] Production.INFO: ==20280== Lock acquired, processing the job...
[2025-01-13 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:48:03] Production.INFO: ==20284== Lock acquired, processing the job...
[2025-01-13 09:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:48:03] Production.INFO: ==20286== Lock acquired, processing the job...
[2025-01-13 09:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:48:03] Production.INFO: Account Balance Start.
[2025-01-13 09:48:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:48:03] Production.INFO: 117
[2025-01-13 09:48:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:48:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:48:04] Production.INFO: ==20282== Lock acquired, processing the job...
[2025-01-13 09:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:48:04] Production.INFO: ==20278== Lock acquired, processing the job...
[2025-01-13 09:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:48:04] Production.INFO: ==20288== Lock acquired, processing the job...
[2025-01-13 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:48:04] Production.INFO: Total Charge 0
[2025-01-13 09:48:04] Production.INFO: CreateAllLog End
[2025-01-13 09:48:04] Production.INFO: ==20280== Releasing lock...
[2025-01-13 09:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:48:04] Production.ERROR: done
[2025-01-13 09:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:48:04] Production.INFO: Account Balance End.
[2025-01-13 09:48:04] Production.INFO: count ==21
[2025-01-13 09:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:48:04] Production.INFO: count ==21
[2025-01-13 09:48:04] Production.ERROR: done
[2025-01-13 09:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:48:04] Production.INFO: ==20284== Releasing lock...
[2025-01-13 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238124') start
[2025-01-13 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238124') end
[2025-01-13 09:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:48:04] Production.INFO: 1
[2025-01-13 09:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:48:04] Production.INFO: ==20288== Releasing lock...
[2025-01-13 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:48:05
[end_date_ymd] => 2025-01-13 09:48:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:48:05' and `end` < '2025-01-13 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-13 09:48:12] Production.ERROR: CronJobId end10
[2025-01-13 09:48:12] Production.INFO: ==20282== Releasing lock...
[2025-01-13 09:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:48:14] Production.INFO: call_cost start
[2025-01-13 09:48:14] Production.INFO: call_cost end
[2025-01-13 09:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:48:14] Production.INFO: ==20278== Releasing lock...
[2025-01-13 09:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:48:25] Production.INFO: count ==2238
[2025-01-13 09:48:25] Production.ERROR: pbx CDR StartTime 2025-01-13 06:48:05 - End Time 2025-01-13 09:48:05
[2025-01-13 09:48:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:48:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238126', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238126', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238126', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:48:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238126', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:48:26] Production.INFO: ProcessCDR(1,14238126,1,1,2)
[2025-01-13 09:48:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:48:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:48:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:48:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238126', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238126', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:48:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:48:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:48:30] Production.INFO: ==20286== Releasing lock...
[2025-01-13 09:48:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:48:30] Production.INFO: 44.75 MB #Memory Used#
[2025-01-13 14:49:01] Production.INFO: ==20380== Lock acquired, processing the job...
[2025-01-13 14:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:49:01] Production.INFO: neon service started
[2025-01-13 14:49:01] Production.INFO: neon service started
[2025-01-13 14:49:01] Production.INFO: ==20380== Releasing lock...
[2025-01-13 14:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:49:02] Production.INFO: ==20382== Lock acquired, processing the job...
[2025-01-13 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:49:02] Production.INFO: ==20382== Releasing lock...
[2025-01-13 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:49:02] Production.INFO: ==20384== Lock acquired, processing the job...
[2025-01-13 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:49:02] Production.INFO: ==20384== Releasing lock...
[2025-01-13 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:49:03] Production.INFO: ==20393== Lock acquired, processing the job...
[2025-01-13 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:49:03] Production.INFO: ==20395== Lock acquired, processing the job...
[2025-01-13 09:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:49:03] Production.INFO: ==20387== Lock acquired, processing the job...
[2025-01-13 09:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:49:03] Production.INFO: ==20389== Lock acquired, processing the job...
[2025-01-13 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:49:03] Production.INFO: Account Balance Start.
[2025-01-13 09:49:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:49:03] Production.INFO: 117
[2025-01-13 09:49:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:49:03] Production.INFO: ==20391== Lock acquired, processing the job...
[2025-01-13 09:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:49:03] Production.INFO: ==20397== Lock acquired, processing the job...
[2025-01-13 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:49:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:49:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:49:03] Production.ERROR: done
[2025-01-13 09:49:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 09:49:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:49:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:49:03] Production.INFO: count ==21
[2025-01-13 09:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 09:49:03] Production.INFO: count ==21
[2025-01-13 09:49:03] Production.INFO: Total Charge 0
[2025-01-13 09:49:03] Production.INFO: CreateAllLog End
[2025-01-13 09:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238130') start
[2025-01-13 09:49:03] Production.INFO: ==20389== Releasing lock...
[2025-01-13 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:49:03] Production.ERROR: done
[2025-01-13 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238130') end
[2025-01-13 09:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:49:04] Production.INFO: 1
[2025-01-13 09:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:49:04] Production.INFO: Account Balance End.
[2025-01-13 09:49:04] Production.INFO: ==20397== Releasing lock...
[2025-01-13 09:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:49:04] Production.INFO: ==20393== Releasing lock...
[2025-01-13 09:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:49:04
[end_date_ymd] => 2025-01-13 09:49:04
[RateCDR] => 1
)
[2025-01-13 09:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:49:04' and `end` < '2025-01-13 09:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:49:10] Production.ERROR: CronJobId end10
[2025-01-13 09:49:10] Production.INFO: ==20391== Releasing lock...
[2025-01-13 09:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:49:13] Production.INFO: call_cost start
[2025-01-13 09:49:13] Production.INFO: call_cost end
[2025-01-13 09:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:49:14] Production.INFO: ==20387== Releasing lock...
[2025-01-13 09:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:49:20] Production.INFO: count ==2249
[2025-01-13 09:49:21] Production.ERROR: pbx CDR StartTime 2025-01-13 06:49:04 - End Time 2025-01-13 09:49:04
[2025-01-13 09:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238131', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238131', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238131', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238131', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:49:21] Production.INFO: ProcessCDR(1,14238131,1,1,2)
[2025-01-13 09:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:49:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:49:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238131', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238131', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:49:26] Production.INFO: ==20395== Releasing lock...
[2025-01-13 09:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:49:26] Production.INFO: 45 MB #Memory Used#
[2025-01-13 14:50:02] Production.INFO: ==20451== Lock acquired, processing the job...
[2025-01-13 14:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:50:02] Production.INFO: neon service started
[2025-01-13 14:50:02] Production.INFO: neon service started
[2025-01-13 14:50:02] Production.INFO: ==20451== Releasing lock...
[2025-01-13 14:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:50:02] Production.INFO: ==20455== Lock acquired, processing the job...
[2025-01-13 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:50:02] Production.INFO: ==20455== Releasing lock...
[2025-01-13 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:50:02] Production.INFO: ==20453== Lock acquired, processing the job...
[2025-01-13 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:50:03] Production.INFO: ==20453== Releasing lock...
[2025-01-13 09:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:50:03] Production.INFO: ==20464== Lock acquired, processing the job...
[2025-01-13 09:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:50:04] Production.INFO: ==20468== Lock acquired, processing the job...
[2025-01-13 09:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:50:04] Production.INFO: ==20458== Lock acquired, processing the job...
[2025-01-13 09:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 09:50:04] Production.INFO: ==20472== Lock acquired, processing the job...
[2025-01-13 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:50:04] Production.INFO: ==20460== Lock acquired, processing the job...
[2025-01-13 09:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 09:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 09:50:04] Production.ERROR: CronJob PID - 20464
[2025-01-13 09:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 09:50:04] Production.ERROR: CronJob ID - 10
[2025-01-13 09:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 09:50:00
[2025-01-13 09:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 09:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 09:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 09:50:04] Production.ERROR: CronJob PID - 20468
[2025-01-13 09:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 09:50:04] Production.ERROR: CronJob ID - 16
[2025-01-13 09:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 09:50:00
[2025-01-13 09:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 09:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 09:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 09:50:04] Production.ERROR: CronJob PID - 20472
[2025-01-13 09:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 09:50:04] Production.ERROR: CronJob ID - 19
[2025-01-13 09:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 09:50:00
[2025-01-13 09:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 09:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 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-13 09:50:04] Production.INFO: ==20466== Lock acquired, processing the job...
[2025-01-13 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:50:04] Production.INFO: ==20462== Lock acquired, processing the job...
[2025-01-13 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:50:04] Production.INFO: count ==21
[2025-01-13 09:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 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-13 09:50:04] Production.INFO: ==20458== Releasing lock...
[2025-01-13 09:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 09:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 09:50:04] Production.INFO: count ==21
[2025-01-13 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238132') start
[2025-01-13 09:50:04] Production.ERROR: done
[2025-01-13 09:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:50:04] Production.INFO: Account Balance Start.
[2025-01-13 09:50:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:50:04] Production.INFO: 117
[2025-01-13 09:50:04] Production.INFO: ==20470== Lock acquired, processing the job...
[2025-01-13 09:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 09:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238132') end
[2025-01-13 09:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:50:04] Production.INFO: 1
[2025-01-13 09:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:50:04] Production.ERROR: done
[2025-01-13 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:50:04] Production.INFO: ==20472== Releasing lock...
[2025-01-13 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:50:04] Production.INFO: ==20462== Releasing lock...
[2025-01-13 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:50:04] Production.ERROR: done
[2025-01-13 09:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 09:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238137', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 09:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:50:05] Production.INFO: Date 2025-01-13
[2025-01-13 09:50:05] Production.INFO: Reseller ==> 0
[2025-01-13 09:50:05] Production.INFO: Total Charge 0
[2025-01-13 09:50:05] Production.INFO: CreateAllLog End
[2025-01-13 09:50:05] Production.INFO: Account Balance End.
[2025-01-13 09:50:05] Production.ERROR: CronJobId end 12
[2025-01-13 09:50:05] Production.INFO: ==20466== Releasing lock...
[2025-01-13 09:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:50:05
[end_date_ymd] => 2025-01-13 09:50:05
[RateCDR] => 1
)
[2025-01-13 09:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:50:05' and `end` < '2025-01-13 09:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238137', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 09:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 09:50:09] Production.INFO: ProcessCDR(1,14238137,1,1,2)
[2025-01-13 09:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238137,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238137,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:50:09] Production.INFO: ==20470== Releasing lock...
[2025-01-13 09:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 09:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 09:50:13] Production.ERROR: CronJobId end10
[2025-01-13 09:50:13] Production.INFO: ==20464== Releasing lock...
[2025-01-13 09:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:50:15] Production.INFO: call_cost start
[2025-01-13 09:50:15] Production.INFO: call_cost end
[2025-01-13 09:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:50:16] Production.INFO: ==20460== Releasing lock...
[2025-01-13 09:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:50:18] Production.INFO: count ==2262
[2025-01-13 09:50:19] Production.ERROR: pbx CDR StartTime 2025-01-13 06:50:05 - End Time 2025-01-13 09:50:05
[2025-01-13 09:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238136', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238136', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238136', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238136', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:50:19] Production.INFO: ProcessCDR(1,14238136,1,1,2)
[2025-01-13 09:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238136', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238136', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:50:24] Production.INFO: ==20468== Releasing lock...
[2025-01-13 09:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:50:24] Production.INFO: 45 MB #Memory Used#
[2025-01-13 14:51:01] Production.INFO: ==20531== Lock acquired, processing the job...
[2025-01-13 14:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:51:01] Production.INFO: neon service started
[2025-01-13 14:51:01] Production.INFO: neon service started
[2025-01-13 14:51:01] Production.INFO: ==20531== Releasing lock...
[2025-01-13 14:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:51:01] Production.INFO: ==20533== Lock acquired, processing the job...
[2025-01-13 09:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:51:02] Production.INFO: ==20533== Releasing lock...
[2025-01-13 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:51:02] Production.INFO: ==20535== Lock acquired, processing the job...
[2025-01-13 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:51:02] Production.INFO: ==20535== Releasing lock...
[2025-01-13 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:51:03] Production.INFO: ==20537== Lock acquired, processing the job...
[2025-01-13 09:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:51:03] Production.INFO: ==20539== Lock acquired, processing the job...
[2025-01-13 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:51:03] Production.INFO: ==20543== Lock acquired, processing the job...
[2025-01-13 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:51:03] Production.INFO: ==20541== Lock acquired, processing the job...
[2025-01-13 09:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:51:03] Production.INFO: ==20547== Lock acquired, processing the job...
[2025-01-13 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:51:03] Production.INFO: Account Balance Start.
[2025-01-13 09:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:51:03] Production.INFO: 117
[2025-01-13 09:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:51:03] Production.INFO: ==20545== Lock acquired, processing the job...
[2025-01-13 09:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:51:03] Production.INFO: count ==21
[2025-01-13 09:51:03] Production.INFO: ==20539== Releasing lock...
[2025-01-13 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:51:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:51:03] Production.INFO: count ==21
[2025-01-13 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238141') start
[2025-01-13 09:51:03] Production.INFO: Total Charge 0
[2025-01-13 09:51:03] Production.INFO: CreateAllLog End
[2025-01-13 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238141') end
[2025-01-13 09:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:51:03] Production.INFO: 1
[2025-01-13 09:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:51:03] Production.INFO: ==20547== Releasing lock...
[2025-01-13 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:51:03] Production.ERROR: done
[2025-01-13 09:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:51:03] Production.INFO: Account Balance End.
[2025-01-13 09:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:51:04] Production.INFO: ==20543== Releasing lock...
[2025-01-13 09:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:51:04] Production.ERROR: done
[2025-01-13 09:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:51:05
[end_date_ymd] => 2025-01-13 09:51:05
[RateCDR] => 1
)
[2025-01-13 09:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 06:51:05' and `end` < '2025-01-13 09:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 09:51:10] Production.ERROR: CronJobId end10
[2025-01-13 09:51:10] Production.INFO: ==20541== Releasing lock...
[2025-01-13 09:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:51:13] Production.INFO: call_cost start
[2025-01-13 09:51:13] Production.INFO: call_cost end
[2025-01-13 09:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:51:14] Production.INFO: ==20537== Releasing lock...
[2025-01-13 09:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:51:28] Production.INFO: count ==2376
[2025-01-13 09:51:29] Production.ERROR: pbx CDR StartTime 2025-01-13 06:51:05 - End Time 2025-01-13 09:51:05
[2025-01-13 09:51:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:51:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238142', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:51:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238142', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:51:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238142', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:51:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238142', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:51:29] Production.INFO: ProcessCDR(1,14238142,1,1,2)
[2025-01-13 09:51:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:51:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:51:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:51:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:51:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238142', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:51:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238142', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:51:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:51:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:51:34] Production.INFO: ==20545== Releasing lock...
[2025-01-13 09:51:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:51:34] Production.INFO: 46 MB #Memory Used#
[2025-01-13 14:52:02] Production.INFO: ==20607== Lock acquired, processing the job...
[2025-01-13 14:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:52:02] Production.INFO: neon service started
[2025-01-13 14:52:02] Production.INFO: neon service started
[2025-01-13 14:52:02] Production.INFO: ==20607== Releasing lock...
[2025-01-13 14:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:52:02] Production.INFO: ==20609== Lock acquired, processing the job...
[2025-01-13 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:52:02] Production.INFO: ==20611== Lock acquired, processing the job...
[2025-01-13 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:52:02] Production.INFO: ==20611== Releasing lock...
[2025-01-13 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:52:03] Production.INFO: ==20609== Releasing lock...
[2025-01-13 09:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:52:03] Production.INFO: ==20614== Lock acquired, processing the job...
[2025-01-13 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:52:03] Production.INFO: ==20616== Lock acquired, processing the job...
[2025-01-13 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:52:03] Production.INFO: ==20620== Lock acquired, processing the job...
[2025-01-13 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:52:04] Production.INFO: ==20618== Lock acquired, processing the job...
[2025-01-13 09:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:52:04] Production.INFO: Account Balance Start.
[2025-01-13 09:52:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:52:04] Production.INFO: 117
[2025-01-13 09:52:04] Production.INFO: Date 2025-01-08
[2025-01-13 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:52:04] Production.INFO: ==20622== Lock acquired, processing the job...
[2025-01-13 09:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:52:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:52:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:52:04] Production.INFO: ==20624== Lock acquired, processing the job...
[2025-01-13 09:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:52:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:52:04] Production.INFO: ==20616== Releasing lock...
[2025-01-13 09:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:52:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:52:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:52:04] Production.INFO: Total Charge 0
[2025-01-13 09:52:04] Production.INFO: CreateAllLog End
[2025-01-13 09:52:04] Production.ERROR: done
[2025-01-13 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-13 09:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:52:04] Production.INFO: count ==21
[2025-01-13 09:52:04] Production.INFO: Account Balance End.
[2025-01-13 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-13 09:52:04] Production.INFO: count ==21
[2025-01-13 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238146') start
[2025-01-13 09:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:52:04] Production.INFO: ==20620== Releasing lock...
[2025-01-13 09:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:52:04] Production.ERROR: done
[2025-01-13 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238146') end
[2025-01-13 09:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:52:04] Production.INFO: 1
[2025-01-13 09:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:52:04] Production.INFO: ==20624== Releasing lock...
[2025-01-13 09:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:52:05
[end_date_ymd] => 2025-01-13 09:52:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:52:05' and `end` < '2025-01-13 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-13 09:52:12] Production.ERROR: CronJobId end10
[2025-01-13 09:52:12] Production.INFO: ==20618== Releasing lock...
[2025-01-13 09:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:52:13] Production.INFO: call_cost start
[2025-01-13 09:52:13] Production.INFO: call_cost end
[2025-01-13 09:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:52:14] Production.INFO: ==20614== Releasing lock...
[2025-01-13 09:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:52:24] Production.INFO: count ==2400
[2025-01-13 09:52:25] Production.ERROR: pbx CDR StartTime 2025-01-13 06:52:05 - End Time 2025-01-13 09:52:05
[2025-01-13 09:52:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238147', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238147', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238147', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238147', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:52:25] Production.INFO: ProcessCDR(1,14238147,1,1,2)
[2025-01-13 09:52:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:52:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:52:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:52:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:52:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238147', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:52:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238147', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:52:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:52:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:52:30] Production.INFO: ==20622== Releasing lock...
[2025-01-13 09:52:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:52:30] Production.INFO: 46 MB #Memory Used#
[2025-01-13 14:53:01] Production.INFO: ==20682== Lock acquired, processing the job...
[2025-01-13 14:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:53:01] Production.INFO: neon service started
[2025-01-13 14:53:01] Production.INFO: neon service started
[2025-01-13 14:53:01] Production.INFO: ==20682== Releasing lock...
[2025-01-13 14:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:53:02] Production.INFO: ==20684== Lock acquired, processing the job...
[2025-01-13 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:53:02] Production.INFO: ==20686== Lock acquired, processing the job...
[2025-01-13 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:53:02] Production.INFO: ==20686== Releasing lock...
[2025-01-13 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:53:02] Production.INFO: ==20684== Releasing lock...
[2025-01-13 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 09:53:03] Production.INFO: ==20690== Lock acquired, processing the job...
[2025-01-13 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:53:03] Production.INFO: ==20696== Lock acquired, processing the job...
[2025-01-13 09:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:53:03] Production.INFO: ==20699== Lock acquired, processing the job...
[2025-01-13 09:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:53:03] Production.INFO: ==20694== Lock acquired, processing the job...
[2025-01-13 09:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:53:03] Production.INFO: ==20688== Lock acquired, processing the job...
[2025-01-13 09:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:53:03] Production.INFO: Account Balance Start.
[2025-01-13 09:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:53:03] Production.INFO: ==20692== Lock acquired, processing the job...
[2025-01-13 09:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:53:03] Production.INFO: 117
[2025-01-13 09:53:03] Production.INFO: count ==21
[2025-01-13 09:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:53:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:53:03] Production.INFO: count ==21
[2025-01-13 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238149') start
[2025-01-13 09:53:03] Production.INFO: ==20690== Releasing lock...
[2025-01-13 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:53:03] Production.ERROR: done
[2025-01-13 09:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:53:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:53:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:53:03] Production.ERROR: done
[2025-01-13 09:53:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:53:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238149') end
[2025-01-13 09:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:53:03] Production.INFO: 1
[2025-01-13 09:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:53:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:53:03] Production.INFO: Total Charge 0
[2025-01-13 09:53:03] Production.INFO: CreateAllLog End
[2025-01-13 09:53:03] Production.INFO: ==20699== Releasing lock...
[2025-01-13 09:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:53:03] Production.INFO: Account Balance End.
[2025-01-13 09:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:53:04] Production.INFO: ==20694== Releasing lock...
[2025-01-13 09:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:53:04
[end_date_ymd] => 2025-01-13 09:53:04
[RateCDR] => 1
)
[2025-01-13 09: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-13 06:53:04' and `end` < '2025-01-13 09: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-13 09:53:11] Production.ERROR: CronJobId end10
[2025-01-13 09:53:11] Production.INFO: ==20692== Releasing lock...
[2025-01-13 09:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:53:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:53:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:53:14] Production.INFO: call_cost start
[2025-01-13 09:53:14] Production.INFO: call_cost end
[2025-01-13 09:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:53:15] Production.INFO: ==20688== Releasing lock...
[2025-01-13 09:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:53:17] Production.INFO: count ==2442
[2025-01-13 09:53:18] Production.ERROR: pbx CDR StartTime 2025-01-13 06:53:04 - End Time 2025-01-13 09:53:04
[2025-01-13 09:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238152', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238152', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238152', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238152', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:53:18] Production.INFO: ProcessCDR(1,14238152,1,1,2)
[2025-01-13 09:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238152', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238152', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:53:23] Production.INFO: ==20696== Releasing lock...
[2025-01-13 09:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:53:23] Production.INFO: 46.25 MB #Memory Used#
[2025-01-13 14:54:02] Production.INFO: ==20759== Lock acquired, processing the job...
[2025-01-13 14:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:54:02] Production.INFO: neon service started
[2025-01-13 14:54:02] Production.INFO: neon service started
[2025-01-13 14:54:02] Production.INFO: ==20759== Releasing lock...
[2025-01-13 14:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:54:02] Production.INFO: ==20762== Lock acquired, processing the job...
[2025-01-13 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:54:02] Production.INFO: ==20762== Releasing lock...
[2025-01-13 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:54:02] Production.INFO: ==20764== Lock acquired, processing the job...
[2025-01-13 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:54:03] Production.INFO: ==20764== Releasing lock...
[2025-01-13 14:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:54:03] Production.INFO: ==20774== Lock acquired, processing the job...
[2025-01-13 09:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:54:03] Production.INFO: ==20766== Lock acquired, processing the job...
[2025-01-13 09:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:54:03] Production.INFO: ==20772== Lock acquired, processing the job...
[2025-01-13 09:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:54:03] Production.INFO: ==20768== Lock acquired, processing the job...
[2025-01-13 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:54:03] Production.INFO: ==20776== Lock acquired, processing the job...
[2025-01-13 09:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:54:03] Production.INFO: ==20770== Lock acquired, processing the job...
[2025-01-13 09:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:54:03] Production.INFO: Account Balance Start.
[2025-01-13 09:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:54:03] Production.INFO: 117
[2025-01-13 09:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:54:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:54:04] Production.INFO: count ==21
[2025-01-13 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-13 09:54:04] Production.INFO: count ==21
[2025-01-13 09:54:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238154') start
[2025-01-13 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:54:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238154') end
[2025-01-13 09:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:54:04] Production.INFO: 1
[2025-01-13 09:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:54:04] Production.INFO: Total Charge 0
[2025-01-13 09:54:04] Production.ERROR: done
[2025-01-13 09:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:54:04] Production.INFO: CreateAllLog End
[2025-01-13 09:54:04] Production.INFO: ==20776== Releasing lock...
[2025-01-13 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:54:04] Production.INFO: ==20768== Releasing lock...
[2025-01-13 09:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:54:04] Production.ERROR: done
[2025-01-13 09:54:04] Production.INFO: Account Balance End.
[2025-01-13 09:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:54:04] Production.INFO: ==20772== Releasing lock...
[2025-01-13 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:54:05
[end_date_ymd] => 2025-01-13 09:54:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:54:05' and `end` < '2025-01-13 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-13 09:54:12] Production.ERROR: CronJobId end10
[2025-01-13 09:54:12] Production.INFO: ==20770== Releasing lock...
[2025-01-13 09:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:54:14] Production.INFO: call_cost start
[2025-01-13 09:54:14] Production.INFO: call_cost end
[2025-01-13 09:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:54:15] Production.INFO: ==20766== Releasing lock...
[2025-01-13 09:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:54:18] Production.INFO: count ==2481
[2025-01-13 09:54:19] Production.ERROR: pbx CDR StartTime 2025-01-13 06:54:05 - End Time 2025-01-13 09:54:05
[2025-01-13 09:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238157', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238157', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238157', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238157', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:54:19] Production.INFO: ProcessCDR(1,14238157,1,1,2)
[2025-01-13 09:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:54:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238157', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238157', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:54:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:54:24] Production.INFO: ==20774== Releasing lock...
[2025-01-13 09:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:54:24] Production.INFO: 46.75 MB #Memory Used#
[2025-01-13 14:55:01] Production.INFO: ==20840== Lock acquired, processing the job...
[2025-01-13 14:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:55:01] Production.INFO: neon service started
[2025-01-13 14:55:01] Production.INFO: neon service started
[2025-01-13 14:55:01] Production.INFO: ==20840== Releasing lock...
[2025-01-13 14:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:55:01] Production.INFO: ==20843== Lock acquired, processing the job...
[2025-01-13 09:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:55:02] Production.INFO: ==20843== Releasing lock...
[2025-01-13 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:55:02] Production.INFO: ==20845== Lock acquired, processing the job...
[2025-01-13 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:55:02] Production.INFO: ==20845== Releasing lock...
[2025-01-13 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:55:03] Production.INFO: ==20847== Lock acquired, processing the job...
[2025-01-13 09:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:55:03] Production.INFO: ==20849== Lock acquired, processing the job...
[2025-01-13 09:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:55:03] Production.INFO: ==20851== Lock acquired, processing the job...
[2025-01-13 09:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:55:03] Production.INFO: ==20853== Lock acquired, processing the job...
[2025-01-13 09:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:55:03] Production.INFO: ==20855== Lock acquired, processing the job...
[2025-01-13 09:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:55:03] Production.INFO: Account Balance Start.
[2025-01-13 09:55:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:55:03] Production.INFO: 117
[2025-01-13 09:55:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:55:03] Production.INFO: ==20849== Releasing lock...
[2025-01-13 09:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:55:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:55:03] Production.INFO: ==20857== Lock acquired, processing the job...
[2025-01-13 09:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:55:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:55:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:55:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:55:03] Production.ERROR: done
[2025-01-13 09:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:55:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:55:03] Production.INFO: Total Charge 0
[2025-01-13 09:55:03] Production.INFO: count ==21
[2025-01-13 09:55:03] Production.INFO: CreateAllLog End
[2025-01-13 09:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 09:55:03] Production.INFO: count ==21
[2025-01-13 09:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238161') start
[2025-01-13 09:55:04] Production.ERROR: done
[2025-01-13 09:55:04] Production.INFO: Account Balance End.
[2025-01-13 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238161') end
[2025-01-13 09:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:55:04] Production.INFO: 1
[2025-01-13 09:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:55:04] Production.INFO: ==20853== Releasing lock...
[2025-01-13 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:55:04] Production.INFO: ==20857== Releasing lock...
[2025-01-13 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:55:04
[end_date_ymd] => 2025-01-13 09:55:04
[RateCDR] => 1
)
[2025-01-13 09: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-13 06:55:04' and `end` < '2025-01-13 09: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-13 09:55:10] Production.ERROR: CronJobId end10
[2025-01-13 09:55:10] Production.INFO: ==20851== Releasing lock...
[2025-01-13 09:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:55:13] Production.INFO: call_cost start
[2025-01-13 09:55:13] Production.INFO: call_cost end
[2025-01-13 09:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:55:14] Production.INFO: ==20847== Releasing lock...
[2025-01-13 09:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:55:32] Production.INFO: count ==2502
[2025-01-13 09:55:33] Production.ERROR: pbx CDR StartTime 2025-01-13 06:55:04 - End Time 2025-01-13 09:55:04
[2025-01-13 09:55:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:55:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238162', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:55:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238162', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:55:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238162', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:55:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238162', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:55:33] Production.INFO: ProcessCDR(1,14238162,1,1,2)
[2025-01-13 09:55:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:55:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:55:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:55:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:55:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238162', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:55:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238162', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:55:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:55:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:55:38] Production.INFO: ==20855== Releasing lock...
[2025-01-13 09:55:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:55:38] Production.INFO: 46.75 MB #Memory Used#
[2025-01-13 14:56:02] Production.INFO: ==20924== Lock acquired, processing the job...
[2025-01-13 14:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:56:02] Production.INFO: neon service started
[2025-01-13 14:56:02] Production.INFO: neon service started
[2025-01-13 14:56:02] Production.INFO: ==20924== Releasing lock...
[2025-01-13 14:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:56:02] Production.INFO: ==20926== Lock acquired, processing the job...
[2025-01-13 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:56:02] Production.INFO: ==20926== Releasing lock...
[2025-01-13 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:56:02] Production.INFO: ==20928== Lock acquired, processing the job...
[2025-01-13 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:56:02] Production.INFO: ==20928== Releasing lock...
[2025-01-13 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:56:03] Production.INFO: ==20941== Lock acquired, processing the job...
[2025-01-13 09:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:56:03] Production.INFO: ==20933== Lock acquired, processing the job...
[2025-01-13 09:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:56:03] Production.INFO: ==20943== Lock acquired, processing the job...
[2025-01-13 09:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:56:03] Production.INFO: ==20935== Lock acquired, processing the job...
[2025-01-13 09:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:56:03] Production.INFO: ==20939== Lock acquired, processing the job...
[2025-01-13 09:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:56:03] Production.INFO: ==20937== Lock acquired, processing the job...
[2025-01-13 09:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:56:04] Production.INFO: Account Balance Start.
[2025-01-13 09:56:04] Production.INFO: CreateAllLog Start
[2025-01-13 09:56:04] Production.INFO: 117
[2025-01-13 09:56:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:56:04] Production.INFO: count ==21
[2025-01-13 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-13 09:56:04] Production.INFO: count ==21
[2025-01-13 09:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238164') start
[2025-01-13 09:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 09:56:04] Production.ERROR: done
[2025-01-13 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:56:04] Production.INFO: ==20935== Releasing lock...
[2025-01-13 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238164') end
[2025-01-13 09:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:56:04] Production.INFO: 1
[2025-01-13 09:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 09:56:04] Production.INFO: ==20943== Releasing lock...
[2025-01-13 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:56:04] Production.INFO: Total Charge 0
[2025-01-13 09:56:04] Production.INFO: CreateAllLog End
[2025-01-13 09:56:04] Production.ERROR: done
[2025-01-13 09:56:04] Production.INFO: Account Balance End.
[2025-01-13 09:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:56:04] Production.INFO: ==20939== Releasing lock...
[2025-01-13 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:56:05
[end_date_ymd] => 2025-01-13 09:56:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:56:05' and `end` < '2025-01-13 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-13 09:56:12] Production.ERROR: CronJobId end10
[2025-01-13 09:56:12] Production.INFO: ==20937== Releasing lock...
[2025-01-13 09:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:56:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:56:14] Production.INFO: call_cost start
[2025-01-13 09:56:14] Production.INFO: call_cost end
[2025-01-13 09:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:56:15] Production.INFO: ==20933== Releasing lock...
[2025-01-13 09:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:56:21] Production.INFO: count ==2523
[2025-01-13 09:56:22] Production.ERROR: pbx CDR StartTime 2025-01-13 06:56:05 - End Time 2025-01-13 09:56:05
[2025-01-13 09:56:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238167', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238167', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238167', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238167', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:56:23] Production.INFO: ProcessCDR(1,14238167,1,1,2)
[2025-01-13 09:56:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:56:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:56:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:56:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238167', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238167', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:56:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:56:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:56:27] Production.INFO: ==20941== Releasing lock...
[2025-01-13 09:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:56:27] Production.INFO: 47 MB #Memory Used#
[2025-01-13 14:57:01] Production.INFO: ==21008== Lock acquired, processing the job...
[2025-01-13 14:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:57:01] Production.INFO: neon service started
[2025-01-13 14:57:01] Production.INFO: neon service started
[2025-01-13 14:57:01] Production.INFO: ==21008== Releasing lock...
[2025-01-13 14:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:57:01] Production.INFO: ==21010== Lock acquired, processing the job...
[2025-01-13 09:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:57:02] Production.INFO: ==21010== Releasing lock...
[2025-01-13 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:57:02] Production.INFO: ==21012== Lock acquired, processing the job...
[2025-01-13 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:57:02] Production.INFO: ==21012== Releasing lock...
[2025-01-13 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:57:03] Production.INFO: ==21016== Lock acquired, processing the job...
[2025-01-13 09:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:57:03] Production.INFO: ==21014== Lock acquired, processing the job...
[2025-01-13 09:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:57:03] Production.INFO: ==21022== Lock acquired, processing the job...
[2025-01-13 09:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:57:03] Production.INFO: ==21018== Lock acquired, processing the job...
[2025-01-13 09:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:57:03] Production.INFO: ==21020== Lock acquired, processing the job...
[2025-01-13 09:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:57:03] Production.INFO: ==21024== Lock acquired, processing the job...
[2025-01-13 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:57:03] Production.INFO: ==21016== Releasing lock...
[2025-01-13 09:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:57:03] Production.INFO: Account Balance Start.
[2025-01-13 09:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:57:03] Production.INFO: 117
[2025-01-13 09:57:03] Production.ERROR: done
[2025-01-13 09:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:57:03] Production.INFO: count ==21
[2025-01-13 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-13 09:57:03] Production.INFO: count ==21
[2025-01-13 09:57:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238171') start
[2025-01-13 09:57:03] Production.ERROR: done
[2025-01-13 09:57:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238171') end
[2025-01-13 09:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:57:03] Production.INFO: 1
[2025-01-13 09:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:57:03] Production.INFO: ==21024== Releasing lock...
[2025-01-13 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:57:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:57:03] Production.INFO: Total Charge 0
[2025-01-13 09:57:03] Production.INFO: CreateAllLog End
[2025-01-13 09:57:04] Production.INFO: Account Balance End.
[2025-01-13 09:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:57:04] Production.INFO: ==21020== Releasing lock...
[2025-01-13 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:57:04
[end_date_ymd] => 2025-01-13 09:57:04
[RateCDR] => 1
)
[2025-01-13 09: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-13 06:57:04' and `end` < '2025-01-13 09: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-13 09:57:11] Production.ERROR: CronJobId end10
[2025-01-13 09:57:11] Production.INFO: ==21018== Releasing lock...
[2025-01-13 09:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:57:13] Production.INFO: call_cost start
[2025-01-13 09:57:13] Production.INFO: call_cost end
[2025-01-13 09:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:57:14] Production.INFO: ==21014== Releasing lock...
[2025-01-13 09:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:57:30] Production.INFO: count ==2544
[2025-01-13 09:57:31] Production.ERROR: pbx CDR StartTime 2025-01-13 06:57:04 - End Time 2025-01-13 09:57:04
[2025-01-13 09:57:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:57:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238172', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:57:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238172', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:57:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238172', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:57:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238172', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:57:31] Production.INFO: ProcessCDR(1,14238172,1,1,2)
[2025-01-13 09:57:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:57:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:57:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:57:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:57:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238172', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:57:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238172', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:57:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:57:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:57:36] Production.INFO: ==21022== Releasing lock...
[2025-01-13 09:57:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:57:36] Production.INFO: 47.25 MB #Memory Used#
[2025-01-13 14:58:01] Production.INFO: ==21089== Lock acquired, processing the job...
[2025-01-13 14:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:58:02] Production.INFO: neon service started
[2025-01-13 14:58:02] Production.INFO: neon service started
[2025-01-13 14:58:02] Production.INFO: ==21089== Releasing lock...
[2025-01-13 14:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:58:02] Production.INFO: ==21091== Lock acquired, processing the job...
[2025-01-13 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:58:02] Production.INFO: ==21093== Lock acquired, processing the job...
[2025-01-13 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 09:58:02] Production.INFO: ==21091== Releasing lock...
[2025-01-13 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:58:02] Production.INFO: ==21093== Releasing lock...
[2025-01-13 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:58:03] Production.INFO: ==21102== Lock acquired, processing the job...
[2025-01-13 09:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:58:03] Production.INFO: ==21095== Lock acquired, processing the job...
[2025-01-13 09:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:58:03] Production.INFO: ==21104== Lock acquired, processing the job...
[2025-01-13 09:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:58:03] Production.INFO: Account Balance Start.
[2025-01-13 09:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:58:03] Production.INFO: 117
[2025-01-13 09:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:58:03] Production.INFO: ==21098== Lock acquired, processing the job...
[2025-01-13 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:58:03] Production.INFO: ==21100== Lock acquired, processing the job...
[2025-01-13 09:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:58:03] Production.INFO: ==21106== Lock acquired, processing the job...
[2025-01-13 09:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:58:03] Production.ERROR: done
[2025-01-13 09:58:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 09:58:04] Production.INFO: Total Charge 0
[2025-01-13 09:58:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 09:58:04] Production.INFO: count ==21
[2025-01-13 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-13 09:58:04] Production.INFO: count ==21
[2025-01-13 09:58:04] Production.ERROR: done
[2025-01-13 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238176') start
[2025-01-13 09:58:04] Production.INFO: ==21098== Releasing lock...
[2025-01-13 09:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238176') end
[2025-01-13 09:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:58:04] Production.INFO: 1
[2025-01-13 09:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:58:04] Production.INFO: ==21106== Releasing lock...
[2025-01-13 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:58:04] Production.INFO: Account Balance End.
[2025-01-13 09:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 09:58:04] Production.INFO: ==21102== Releasing lock...
[2025-01-13 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:58:05
[end_date_ymd] => 2025-01-13 09:58:05
[RateCDR] => 1
)
[2025-01-13 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-13 06:58:05' and `end` < '2025-01-13 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-13 09:58:12] Production.ERROR: CronJobId end10
[2025-01-13 09:58:12] Production.INFO: ==21100== Releasing lock...
[2025-01-13 09:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:58:14] Production.INFO: call_cost start
[2025-01-13 09:58:14] Production.INFO: call_cost end
[2025-01-13 09:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:58:15] Production.INFO: ==21095== Releasing lock...
[2025-01-13 09:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:58:21] Production.INFO: count ==2549
[2025-01-13 09:58:22] Production.ERROR: pbx CDR StartTime 2025-01-13 06:58:05 - End Time 2025-01-13 09:58:05
[2025-01-13 09:58:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238177', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238177', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238177', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238177', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:58:22] Production.INFO: ProcessCDR(1,14238177,1,1,2)
[2025-01-13 09:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:58:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:58:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:58:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238177', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238177', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:58:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:58:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:58:27] Production.INFO: ==21104== Releasing lock...
[2025-01-13 09:58:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:58:27] Production.INFO: 47.25 MB #Memory Used#
[2025-01-13 14:59:01] Production.INFO: ==21171== Lock acquired, processing the job...
[2025-01-13 14:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 14:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 14:59:01] Production.INFO: neon service started
[2025-01-13 14:59:01] Production.INFO: neon service started
[2025-01-13 14:59:01] Production.INFO: ==21171== Releasing lock...
[2025-01-13 14:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 14:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 09:59:01] Production.INFO: ==21173== Lock acquired, processing the job...
[2025-01-13 09:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 09:59:02] Production.INFO: ==21173== Releasing lock...
[2025-01-13 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 09:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:59:02] Production.INFO: ==21175== Lock acquired, processing the job...
[2025-01-13 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:59:02] Production.INFO: ==21175== Releasing lock...
[2025-01-13 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 14:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 09:59:03] Production.INFO: ==21188== Lock acquired, processing the job...
[2025-01-13 09:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 09:59:03] Production.INFO: ==21180== Lock acquired, processing the job...
[2025-01-13 09:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 09:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 09:59:03] Production.INFO: ==21182== Lock acquired, processing the job...
[2025-01-13 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 09:59:03] Production.INFO: ==21190== Lock acquired, processing the job...
[2025-01-13 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 09:59:03] Production.INFO: ==21184== Lock acquired, processing the job...
[2025-01-13 09:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 09:59:03] Production.INFO: ==21186== Lock acquired, processing the job...
[2025-01-13 09:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 09:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 09:59:03] Production.INFO: Account Balance Start.
[2025-01-13 09:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 09:59:03] Production.INFO: 117
[2025-01-13 09:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 09:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 09:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 09:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 09:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:59:03] Production.INFO: count ==21
[2025-01-13 09:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 09:59:03] Production.INFO: count ==21
[2025-01-13 09:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:59:03] Production.ERROR: done
[2025-01-13 09:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 09:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238180') start
[2025-01-13 09:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:59:03] Production.INFO: ==21182== Releasing lock...
[2025-01-13 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 09:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 09:59:03] Production.INFO: Date 2025-01-12
[2025-01-13 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:59:03] Production.INFO: Date 2025-01-13
[2025-01-13 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 09:59:03] Production.INFO: Total Charge 0
[2025-01-13 09:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238180') end
[2025-01-13 09:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 09:59:03] Production.INFO: 1
[2025-01-13 09:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 09:59:03] Production.INFO: CreateAllLog End
[2025-01-13 09:59:03] Production.ERROR: done
[2025-01-13 09:59:03] Production.INFO: ==21190== Releasing lock...
[2025-01-13 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 09:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 09:59:03] Production.INFO: Account Balance End.
[2025-01-13 09:59:03] Production.ERROR: CronJobId end 12
[2025-01-13 09:59:03] Production.INFO: ==21186== Releasing lock...
[2025-01-13 09:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 09:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 09:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 06:59:04
[end_date_ymd] => 2025-01-13 09:59:04
[RateCDR] => 1
)
[2025-01-13 09: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-13 06:59:04' and `end` < '2025-01-13 09: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-13 09:59:11] Production.ERROR: CronJobId end10
[2025-01-13 09:59:11] Production.INFO: ==21184== Releasing lock...
[2025-01-13 09:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 09:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 09:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 09:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 09:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 09:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 09:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 09:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 09:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 09:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 09:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 09:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 09:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 09:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 09:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 09:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 09:59:13] Production.INFO: call_cost start
[2025-01-13 09:59:13] Production.INFO: call_cost end
[2025-01-13 09:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 09:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 09:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 09:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 09:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 09:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 09:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 09:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 09:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 09:59:14] Production.INFO: ==21180== Releasing lock...
[2025-01-13 09:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 09:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 09:59:20] Production.INFO: count ==2565
[2025-01-13 09:59:21] Production.ERROR: pbx CDR StartTime 2025-01-13 06:59:04 - End Time 2025-01-13 09:59:04
[2025-01-13 09:59:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 09:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238182', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238182', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238182', 'tblTempVendorCDR_20' ) start
[2025-01-13 09:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238182', 'tblTempVendorCDR_20' ) end
[2025-01-13 09:59:21] Production.INFO: ProcessCDR(1,14238182,1,1,2)
[2025-01-13 09:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 09:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:59:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 09:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238182', 'tblTempUsageDetail_20' ) start
[2025-01-13 09:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238182', 'tblTempUsageDetail_20' ) end
[2025-01-13 09:59:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 09:59:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 09:59:26] Production.INFO: ==21188== Releasing lock...
[2025-01-13 09:59:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 09:59:26] Production.INFO: 47.25 MB #Memory Used#
[2025-01-13 15:00:01] Production.INFO: ==21258== Lock acquired, processing the job...
[2025-01-13 15:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:00:01] Production.INFO: neon service started
[2025-01-13 15:00:01] Production.INFO: neon service started
[2025-01-13 15:00:01] Production.INFO: ==21258== Releasing lock...
[2025-01-13 15:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:00:02] Production.INFO: ==21260== Lock acquired, processing the job...
[2025-01-13 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:00:02] Production.INFO: ==21262== Lock acquired, processing the job...
[2025-01-13 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:00:02] Production.INFO: ==21262== Releasing lock...
[2025-01-13 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:00:02] Production.INFO: ==21260== Releasing lock...
[2025-01-13 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:00:03] Production.INFO: ==21265== Lock acquired, processing the job...
[2025-01-13 10:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 10:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 10:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 10:00:03] Production.INFO: ==21265== Releasing lock...
[2025-01-13 10:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 10:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 10:00:03] Production.INFO: ==21267== Lock acquired, processing the job...
[2025-01-13 10:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:00:03] Production.INFO: ==21271== Lock acquired, processing the job...
[2025-01-13 10:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:00:03] Production.INFO: ==21269== Lock acquired, processing the job...
[2025-01-13 10:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:00:04] Production.INFO: ==21273== Lock acquired, processing the job...
[2025-01-13 10:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-01-13 10:00:04] Production.INFO: ==21281== Lock acquired, processing the job...
[2025-01-13 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:00:04] Production.INFO: ==21275== Lock acquired, processing the job...
[2025-01-13 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:00:04] Production.INFO: ==21269== Releasing lock...
[2025-01-13 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:00:04] Production.INFO: ==21277== Lock acquired, processing the job...
[2025-01-13 10:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 10:00:04] Production.INFO: ==21279== Lock acquired, processing the job...
[2025-01-13 10:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: count ==21
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: Account Balance Start.
[2025-01-13 10:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: count ==21
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: 117
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-01-13 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238185') start
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-01-13 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-01-13 10:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-13 10:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:00:04] Production.INFO: Outstanding Amount 94.16
[2025-01-13 10:00:04] Production.INFO: Invoice Full Number INV11356
[2025-01-13 10:00:04] Production.INFO: Transaction start
[2025-01-13 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238185') end
[2025-01-13 10:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:00:04] Production.INFO: 1
[2025-01-13 10:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:00:04] Production.INFO: ==21281== Releasing lock...
[2025-01-13 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:00:04] Production.INFO: Total Charge 0
[2025-01-13 10:00:04] Production.INFO: CreateAllLog End
[2025-01-13 10:00:04] Production.ERROR: done
[2025-01-13 10:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:00:04] Production.ERROR: done
[2025-01-13 10:00:04] Production.INFO: Account Balance End.
[2025-01-13 10:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 10:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238187', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 10:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 10:00:05] Production.INFO: ==21275== Releasing lock...
[2025-01-13 10:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:00:05] Production.ERROR: done
[2025-01-13 10:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:00:06
[end_date_ymd] => 2025-01-13 10:00:06
[RateCDR] => 1
)
[2025-01-13 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-13 07:00:06' and `end` < '2025-01-13 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-13 10:00:06] Production.INFO: Transaction end
[2025-01-13 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-01-13 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-01-13 10:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-13 10:00:07] Production.INFO: Outstanding Amount 417.19
[2025-01-13 10:00:07] Production.INFO: Invoice Full Number INV11357
[2025-01-13 10:00:07] Production.INFO: Transaction start
[2025-01-13 10:00:08] Production.ERROR: exception 'Cartalyst\Stripe\Exception\CardErrorException' with message 'Your card has insufficient funds.' in /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php:121
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php(91): Cartalyst\Stripe\Exception\Handler->handleException('Your card has i...', 402, 'card_error', 'card_declined', NULL)
#1 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Http/Client.php(100): Cartalyst\Stripe\Exception\Handler->__construct(Object(GuzzleHttp\Exception\ClientException))
#2 /var/www/html/onswitch.neon.service/vendor/guzzlehttp/guzzle/src/Client.php(150): Cartalyst\Stripe\Http\Client->send(Object(GuzzleHttp\Message\Request))
#3 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(154): GuzzleHttp\Client->post('v1/charges', Array)
#4 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(136): Cartalyst\Stripe\Api\Api->execute('post', 'charges', Array)
#5 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Charges.php(33): Cartalyst\Stripe\Api\Api->_post('charges', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/StripeBilling.php(0): Cartalyst\Stripe\Api\Charges->create()
#7 /var/www/html/onswitch.neon.service/app/lib/PaymentGateway.php(0): App\Lib\StripeBilling::createchargebycustomer()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/BulkAutoPaymentCapture.php(0): App\Lib\PaymentGateway::addTransaction()
#9 [internal function]: App\Console\Commands\BulkAutoPaymentCapture->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\BulkAutoPaymentCapture), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-01-13 10:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-13 10:00:08] Production.INFO: Outstanding Amount 36.11
[2025-01-13 10:00:08] Production.INFO: Invoice Full Number INV11359
[2025-01-13 10:00:08] Production.INFO: Transaction start
[2025-01-13 10:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238187', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 10:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 10:00:09] Production.INFO: ProcessCDR(1,14238187,1,1,2)
[2025-01-13 10:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238187,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238187,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:00:09] Production.INFO: ==21279== Releasing lock...
[2025-01-13 10:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 10:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 10:00:10] Production.INFO: Transaction end
[2025-01-13 10:00:11] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-01-13 10:00:11] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-13 10:00:11] Production.INFO: Outstanding Amount 67.80
[2025-01-13 10:00:11] Production.INFO: Invoice Full Number INV11360
[2025-01-13 10:00:11] Production.INFO: Transaction start
[2025-01-13 10:00:12] Production.INFO: Transaction end
[2025-01-13 10:00:13] Production.ERROR: CronJobId end10
[2025-01-13 10:00:13] Production.INFO: ==21271== Releasing lock...
[2025-01-13 10:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:00:13] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-01-13 10:00:13] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-13 10:00:13] Production.INFO: Outstanding Amount 59.33
[2025-01-13 10:00:13] Production.INFO: Invoice Full Number INV11361
[2025-01-13 10:00:13] Production.INFO: Transaction start
[2025-01-13 10:00:15] Production.INFO: Transaction end
[2025-01-13 10:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:00:15] Production.INFO: call_cost start
[2025-01-13 10:00:15] Production.INFO: call_cost end
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 3
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:16] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-01-13 10:00:16] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-13 10:00:16] Production.INFO: Outstanding Amount 5.65
[2025-01-13 10:00:16] Production.INFO: Invoice Full Number INV11362
[2025-01-13 10:00:16] Production.INFO: Transaction start
[2025-01-13 10:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:00:16] Production.INFO: ==21267== Releasing lock...
[2025-01-13 10:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:00:17] Production.INFO: Transaction end
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 5
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 0
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '207', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 20
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 17
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:18] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:18] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-01-13 10:00:18] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-13 10:00:18] Production.INFO: Outstanding Amount 249.96
[2025-01-13 10:00:18] Production.INFO: Invoice Full Number INV11364
[2025-01-13 10:00:18] Production.INFO: Transaction start
[2025-01-13 10:00:19] Production.INFO: Transaction end
[2025-01-13 10:00:20] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:20] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-01-13 10:00:20] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:20] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:20] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-01-13 10:00:20] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:20] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:20] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-01-13 10:00:20] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:20] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:20] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-01-13 10:00:20] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:20] Production.INFO: PaymentMethod - 0
[2025-01-13 10:00:20] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-01-13 10:00:20] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:20] Production.INFO: PaymentMethod - 1
[2025-01-13 10:00:20] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-01-13 10:00:20] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-13 10:00:21] Production.ERROR: CronJobId end11
[2025-01-13 10:00:21] Production.INFO: ==21273== Releasing lock...
[2025-01-13 10:00:21] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-01-13 10:00:21] Production.INFO: 34.25 MB #Memory Used#
[2025-01-13 10:00:27] Production.INFO: count ==2596
[2025-01-13 10:00:28] Production.ERROR: pbx CDR StartTime 2025-01-13 07:00:06 - End Time 2025-01-13 10:00:06
[2025-01-13 10:00:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238188', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238188', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238188', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238188', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:00:28] Production.INFO: ProcessCDR(1,14238188,1,1,2)
[2025-01-13 10:00:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:00:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:00:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:00:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:00:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238188', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:00:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238188', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:00:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:00:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:00:32] Production.INFO: ==21277== Releasing lock...
[2025-01-13 10:00:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:00:32] Production.INFO: 47.75 MB #Memory Used#
[2025-01-13 15:01:02] Production.INFO: ==21366== Lock acquired, processing the job...
[2025-01-13 15:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:01:02] Production.INFO: neon service started
[2025-01-13 15:01:02] Production.INFO: neon service started
[2025-01-13 15:01:02] Production.INFO: ==21366== Releasing lock...
[2025-01-13 15:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:01:02] Production.INFO: ==21371== Lock acquired, processing the job...
[2025-01-13 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:01:02] Production.INFO: ==21371== Releasing lock...
[2025-01-13 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:01:03] Production.INFO: ==21373== Lock acquired, processing the job...
[2025-01-13 15:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:01:03] Production.INFO: ==21373== Releasing lock...
[2025-01-13 15:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:01:03] Production.INFO: ==21376== Lock acquired, processing the job...
[2025-01-13 10:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:01:03] Production.INFO: ==21378== Lock acquired, processing the job...
[2025-01-13 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:01:03] Production.INFO: ==21380== Lock acquired, processing the job...
[2025-01-13 10:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:01:03] Production.INFO: ==21382== Lock acquired, processing the job...
[2025-01-13 10:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:01:03] Production.INFO: ==21384== Lock acquired, processing the job...
[2025-01-13 10:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:01:04] Production.INFO: Account Balance Start.
[2025-01-13 10:01:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:01:04] Production.INFO: 117
[2025-01-13 10:01:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:01:04] Production.INFO: ==21386== Lock acquired, processing the job...
[2025-01-13 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:01:04] Production.INFO: ==21378== Releasing lock...
[2025-01-13 10:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:01:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:01:04] Production.INFO: count ==21
[2025-01-13 10:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:01:04] Production.INFO: count ==21
[2025-01-13 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238192') start
[2025-01-13 10:01:04] Production.ERROR: done
[2025-01-13 10:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:01:04] Production.INFO: Total Charge 0
[2025-01-13 10:01:04] Production.INFO: CreateAllLog End
[2025-01-13 10:01:04] Production.ERROR: done
[2025-01-13 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238192') end
[2025-01-13 10:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:01:04] Production.INFO: 1
[2025-01-13 10:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:01:04] Production.INFO: ==21386== Releasing lock...
[2025-01-13 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:01:04] Production.INFO: Account Balance End.
[2025-01-13 10:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:01:04] Production.INFO: ==21382== Releasing lock...
[2025-01-13 10:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:01:05
[end_date_ymd] => 2025-01-13 10:01:05
[RateCDR] => 1
)
[2025-01-13 10:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:01:05' and `end` < '2025-01-13 10:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:01:13] Production.ERROR: CronJobId end10
[2025-01-13 10:01:13] Production.INFO: ==21380== Releasing lock...
[2025-01-13 10:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:01:14] Production.INFO: call_cost start
[2025-01-13 10:01:14] Production.INFO: call_cost end
[2025-01-13 10:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:01:15] Production.INFO: ==21376== Releasing lock...
[2025-01-13 10:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:01:19] Production.INFO: count ==2647
[2025-01-13 10:01:21] Production.ERROR: pbx CDR StartTime 2025-01-13 07:01:05 - End Time 2025-01-13 10:01:05
[2025-01-13 10:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238193', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238193', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238193', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238193', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:01:21] Production.INFO: ProcessCDR(1,14238193,1,1,2)
[2025-01-13 10:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238193', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238193', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:01:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:01:25] Production.INFO: ==21384== Releasing lock...
[2025-01-13 10:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:01:25] Production.INFO: 48 MB #Memory Used#
[2025-01-13 15:02:02] Production.INFO: ==21455== Lock acquired, processing the job...
[2025-01-13 15:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:02:02] Production.INFO: neon service started
[2025-01-13 15:02:02] Production.INFO: neon service started
[2025-01-13 15:02:02] Production.INFO: ==21455== Releasing lock...
[2025-01-13 15:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:02:02] Production.INFO: ==21460== Lock acquired, processing the job...
[2025-01-13 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:02:02] Production.INFO: ==21460== Releasing lock...
[2025-01-13 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:02:02] Production.INFO: ==21458== Lock acquired, processing the job...
[2025-01-13 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:02:02] Production.INFO: ==21458== Releasing lock...
[2025-01-13 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:02:03] Production.INFO: ==21462== Lock acquired, processing the job...
[2025-01-13 10:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:02:03] Production.INFO: ==21466== Lock acquired, processing the job...
[2025-01-13 10:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:02:03] Production.INFO: ==21468== Lock acquired, processing the job...
[2025-01-13 10:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:02:04] Production.INFO: Account Balance Start.
[2025-01-13 10:02:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:02:04] Production.INFO: ==21464== Lock acquired, processing the job...
[2025-01-13 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:02:04] Production.INFO: 117
[2025-01-13 10:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:02:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:02:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:02:04] Production.INFO: ==21470== Lock acquired, processing the job...
[2025-01-13 10:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:02:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:02:04] Production.INFO: ==21472== Lock acquired, processing the job...
[2025-01-13 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:02:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:02:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:02:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:02:04] Production.INFO: Total Charge 0
[2025-01-13 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-13 10:02:04] Production.INFO: CreateAllLog End
[2025-01-13 10:02:04] Production.INFO: count ==21
[2025-01-13 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-13 10:02:04] Production.ERROR: done
[2025-01-13 10:02:04] Production.INFO: ==21464== Releasing lock...
[2025-01-13 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:02:04] Production.INFO: count ==21
[2025-01-13 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238197') start
[2025-01-13 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238197') end
[2025-01-13 10:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:02:04] Production.INFO: 1
[2025-01-13 10:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:02:04] Production.INFO: ==21472== Releasing lock...
[2025-01-13 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:02:04] Production.INFO: Account Balance End.
[2025-01-13 10:02:04] Production.ERROR: done
[2025-01-13 10:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:02:04] Production.INFO: ==21468== Releasing lock...
[2025-01-13 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:02:05
[end_date_ymd] => 2025-01-13 10:02:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:02:05' and `end` < '2025-01-13 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-13 10:02:12] Production.ERROR: CronJobId end10
[2025-01-13 10:02:12] Production.INFO: ==21466== Releasing lock...
[2025-01-13 10:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:02:14] Production.INFO: call_cost start
[2025-01-13 10:02:14] Production.INFO: call_cost end
[2025-01-13 10:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:02:15] Production.INFO: ==21462== Releasing lock...
[2025-01-13 10:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:02:24] Production.INFO: count ==2657
[2025-01-13 10:02:25] Production.ERROR: pbx CDR StartTime 2025-01-13 07:02:05 - End Time 2025-01-13 10:02:05
[2025-01-13 10:02:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238198', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238198', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238198', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238198', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:02:25] Production.INFO: ProcessCDR(1,14238198,1,1,2)
[2025-01-13 10:02:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:02:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:02:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238198', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:02:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238198', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:02:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:02:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:02:30] Production.INFO: ==21470== Releasing lock...
[2025-01-13 10:02:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:02:30] Production.INFO: 48 MB #Memory Used#
[2025-01-13 15:03:01] Production.INFO: ==21537== Lock acquired, processing the job...
[2025-01-13 15:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:03:01] Production.INFO: neon service started
[2025-01-13 15:03:01] Production.INFO: neon service started
[2025-01-13 15:03:01] Production.INFO: ==21537== Releasing lock...
[2025-01-13 15:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:03:01] Production.INFO: ==21539== Lock acquired, processing the job...
[2025-01-13 10:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:03:02] Production.INFO: ==21539== Releasing lock...
[2025-01-13 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:03:02] Production.INFO: ==21541== Lock acquired, processing the job...
[2025-01-13 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:03:02] Production.INFO: ==21541== Releasing lock...
[2025-01-13 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:03:02] Production.INFO: ==21543== Lock acquired, processing the job...
[2025-01-13 10:03:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:03:02] Production.INFO: ==21545== Lock acquired, processing the job...
[2025-01-13 10:03:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:03:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:03:03] Production.INFO: ==21551== Lock acquired, processing the job...
[2025-01-13 10:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:03:03] Production.INFO: ==21547== Lock acquired, processing the job...
[2025-01-13 10:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:03:03] Production.INFO: ==21545== Releasing lock...
[2025-01-13 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:03:03] Production.INFO: ==21549== Lock acquired, processing the job...
[2025-01-13 10:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:03:03] Production.INFO: ==21553== Lock acquired, processing the job...
[2025-01-13 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:03:03] Production.INFO: Account Balance Start.
[2025-01-13 10:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:03:03] Production.INFO: 117
[2025-01-13 10:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:03:03] Production.ERROR: done
[2025-01-13 10:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:03:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:03:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:03:03] Production.ERROR: done
[2025-01-13 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-13 10:03:03] Production.INFO: count ==21
[2025-01-13 10:03:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 10:03:03] Production.INFO: count ==21
[2025-01-13 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238202') start
[2025-01-13 10:03:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:03:03] Production.INFO: Total Charge 0
[2025-01-13 10:03:03] Production.INFO: CreateAllLog End
[2025-01-13 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238202') end
[2025-01-13 10:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:03:03] Production.INFO: 1
[2025-01-13 10:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:03:03] Production.INFO: ==21553== Releasing lock...
[2025-01-13 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:03:04] Production.INFO: Account Balance End.
[2025-01-13 10:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:03:04] Production.INFO: ==21549== Releasing lock...
[2025-01-13 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:03:04
[end_date_ymd] => 2025-01-13 10:03:04
[RateCDR] => 1
)
[2025-01-13 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-13 07:03:04' and `end` < '2025-01-13 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-13 10:03:11] Production.ERROR: CronJobId end10
[2025-01-13 10:03:11] Production.INFO: ==21547== Releasing lock...
[2025-01-13 10:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:03:12] Production.INFO: call_cost start
[2025-01-13 10:03:12] Production.INFO: call_cost end
[2025-01-13 10:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:03:13] Production.INFO: ==21543== Releasing lock...
[2025-01-13 10:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:03:25] Production.INFO: count ==2672
[2025-01-13 10:03:26] Production.ERROR: pbx CDR StartTime 2025-01-13 07:03:04 - End Time 2025-01-13 10:03:04
[2025-01-13 10:03:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238203', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238203', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238203', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238203', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:03:26] Production.INFO: ProcessCDR(1,14238203,1,1,2)
[2025-01-13 10:03:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:03:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:03:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:03:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:03:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238203', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:03:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238203', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:03:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:03:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:03:31] Production.INFO: ==21551== Releasing lock...
[2025-01-13 10:03:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:03:31] Production.INFO: 48 MB #Memory Used#
[2025-01-13 15:04:01] Production.INFO: ==21619== Lock acquired, processing the job...
[2025-01-13 15:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:04:01] Production.INFO: neon service started
[2025-01-13 15:04:01] Production.INFO: neon service started
[2025-01-13 15:04:01] Production.INFO: ==21619== Releasing lock...
[2025-01-13 15:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:04:02] Production.INFO: ==21621== Lock acquired, processing the job...
[2025-01-13 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:04:02] Production.INFO: ==21623== Lock acquired, processing the job...
[2025-01-13 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:04:02] Production.INFO: ==21623== Releasing lock...
[2025-01-13 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:04:02] Production.INFO: ==21621== Releasing lock...
[2025-01-13 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:04:03] Production.INFO: ==21630== Lock acquired, processing the job...
[2025-01-13 10:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:04:03] Production.INFO: ==21634== Lock acquired, processing the job...
[2025-01-13 10:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:04:04] Production.INFO: ==21626== Lock acquired, processing the job...
[2025-01-13 10:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:04:04] Production.INFO: ==21628== Lock acquired, processing the job...
[2025-01-13 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:04:04] Production.INFO: ==21632== Lock acquired, processing the job...
[2025-01-13 10:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:04:04] Production.INFO: ==21636== Lock acquired, processing the job...
[2025-01-13 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:04:04] Production.ERROR: done
[2025-01-13 10:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:04:04] Production.INFO: Account Balance Start.
[2025-01-13 10:04:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:04:04] Production.INFO: 117
[2025-01-13 10:04:04] Production.ERROR: done
[2025-01-13 10:04:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:04:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:04:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:04:04] Production.INFO: count ==21
[2025-01-13 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-13 10:04:04] Production.INFO: count ==21
[2025-01-13 10:04:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238207') start
[2025-01-13 10:04:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:04:04] Production.INFO: ==21628== Releasing lock...
[2025-01-13 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:04:04] Production.INFO: Total Charge 0
[2025-01-13 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238207') end
[2025-01-13 10:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:04:04] Production.INFO: 1
[2025-01-13 10:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:04:04] Production.INFO: CreateAllLog End
[2025-01-13 10:04:04] Production.INFO: ==21636== Releasing lock...
[2025-01-13 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:04:05] Production.INFO: Account Balance End.
[2025-01-13 10:04:05] Production.ERROR: CronJobId end 12
[2025-01-13 10:04:05] Production.INFO: ==21632== Releasing lock...
[2025-01-13 10:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:04:05
[end_date_ymd] => 2025-01-13 10:04:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:04:05' and `end` < '2025-01-13 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-13 10:04:12] Production.ERROR: CronJobId end10
[2025-01-13 10:04:12] Production.INFO: ==21630== Releasing lock...
[2025-01-13 10:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:04:14] Production.INFO: call_cost start
[2025-01-13 10:04:14] Production.INFO: call_cost end
[2025-01-13 10:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:04:15] Production.INFO: ==21626== Releasing lock...
[2025-01-13 10:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:04:19] Production.INFO: count ==2728
[2025-01-13 10:04:20] Production.ERROR: pbx CDR StartTime 2025-01-13 07:04:05 - End Time 2025-01-13 10:04:05
[2025-01-13 10:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238208', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238208', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238208', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238208', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:04:20] Production.INFO: ProcessCDR(1,14238208,1,1,2)
[2025-01-13 10:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:04:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238208', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238208', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:04:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:04:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:04:25] Production.INFO: ==21634== Releasing lock...
[2025-01-13 10:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:04:25] Production.INFO: 49 MB #Memory Used#
[2025-01-13 15:05:01] Production.INFO: ==21744== Lock acquired, processing the job...
[2025-01-13 15:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:05:01] Production.INFO: neon service started
[2025-01-13 15:05:01] Production.INFO: neon service started
[2025-01-13 15:05:01] Production.INFO: ==21744== Releasing lock...
[2025-01-13 15:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:05:01] Production.INFO: ==21748== Lock acquired, processing the job...
[2025-01-13 15:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:05:01] Production.INFO: ==21748== Releasing lock...
[2025-01-13 15:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:05:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:05:01] Production.INFO: ==21746== Lock acquired, processing the job...
[2025-01-13 10:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:05:02] Production.INFO: ==21746== Releasing lock...
[2025-01-13 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:05:02] Production.INFO: ==21751== Lock acquired, processing the job...
[2025-01-13 10:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:05:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:05:02] Production.INFO: ==21755== Lock acquired, processing the job...
[2025-01-13 10:05:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:05:03] Production.INFO: ==21757== Lock acquired, processing the job...
[2025-01-13 10:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:05:03] Production.INFO: Account Balance Start.
[2025-01-13 10:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:05:03] Production.INFO: 117
[2025-01-13 10:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:05:03] Production.INFO: ==21753== Lock acquired, processing the job...
[2025-01-13 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:05:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:05:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:05:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:05:03] Production.INFO: Total Charge 0
[2025-01-13 10:05:03] Production.INFO: CreateAllLog End
[2025-01-13 10:05:03] Production.INFO: ==21759== Lock acquired, processing the job...
[2025-01-13 10:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:05:03] Production.INFO: Account Balance End.
[2025-01-13 10:05:03] Production.INFO: ==21761== Lock acquired, processing the job...
[2025-01-13 10:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:05:03] Production.ERROR: CronJobId end 12
[2025-01-13 10:05:03] Production.INFO: ==21757== Releasing lock...
[2025-01-13 10:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:05:03] Production.INFO: ==21753== Releasing lock...
[2025-01-13 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:05:03] Production.INFO: count ==21
[2025-01-13 10:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:05:03] Production.INFO: count ==21
[2025-01-13 10:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238212') start
[2025-01-13 10:05:03] Production.ERROR: done
[2025-01-13 10:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238212') end
[2025-01-13 10:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:05:03] Production.INFO: 1
[2025-01-13 10:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:05:04] Production.ERROR: done
[2025-01-13 10:05:04] Production.INFO: ==21761== Releasing lock...
[2025-01-13 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:05:04
[end_date_ymd] => 2025-01-13 10:05:04
[RateCDR] => 1
)
[2025-01-13 10:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:05:04' and `end` < '2025-01-13 10:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:05:12] Production.ERROR: CronJobId end10
[2025-01-13 10:05:12] Production.INFO: ==21755== Releasing lock...
[2025-01-13 10:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:05:13] Production.INFO: call_cost start
[2025-01-13 10:05:13] Production.INFO: call_cost end
[2025-01-13 10:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:05:14] Production.INFO: ==21751== Releasing lock...
[2025-01-13 10:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:05:25] Production.INFO: count ==2744
[2025-01-13 10:05:26] Production.ERROR: pbx CDR StartTime 2025-01-13 07:05:04 - End Time 2025-01-13 10:05:04
[2025-01-13 10:05:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238213', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238213', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238213', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238213', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:05:26] Production.INFO: ProcessCDR(1,14238213,1,1,2)
[2025-01-13 10:05:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:05:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:05:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:05:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:05:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238213', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:05:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238213', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:05:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:05:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:05:31] Production.INFO: ==21759== Releasing lock...
[2025-01-13 10:05:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:05:31] Production.INFO: 49.25 MB #Memory Used#
[2025-01-13 15:06:01] Production.INFO: ==21827== Lock acquired, processing the job...
[2025-01-13 15:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:06:01] Production.INFO: neon service started
[2025-01-13 15:06:01] Production.INFO: neon service started
[2025-01-13 15:06:01] Production.INFO: ==21827== Releasing lock...
[2025-01-13 15:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:06:02] Production.INFO: ==21830== Lock acquired, processing the job...
[2025-01-13 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:06:02] Production.INFO: ==21830== Releasing lock...
[2025-01-13 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:06:02] Production.INFO: ==21832== Lock acquired, processing the job...
[2025-01-13 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:06:02] Production.INFO: ==21832== Releasing lock...
[2025-01-13 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:06:03] Production.INFO: ==21834== Lock acquired, processing the job...
[2025-01-13 10:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:06:03] Production.INFO: ==21836== Lock acquired, processing the job...
[2025-01-13 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:06:03] Production.INFO: ==21838== Lock acquired, processing the job...
[2025-01-13 10:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:06:03] Production.INFO: ==21842== Lock acquired, processing the job...
[2025-01-13 10:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:06:03] Production.INFO: ==21836== Releasing lock...
[2025-01-13 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:06:03] Production.INFO: ==21840== Lock acquired, processing the job...
[2025-01-13 10:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:06:03] Production.INFO: ==21844== Lock acquired, processing the job...
[2025-01-13 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:06:03] Production.INFO: Account Balance Start.
[2025-01-13 10:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:06:03] Production.INFO: 117
[2025-01-13 10:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:06:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:06:03] Production.INFO: count ==21
[2025-01-13 10:06:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 10:06:04] Production.INFO: count ==21
[2025-01-13 10:06:04] Production.ERROR: done
[2025-01-13 10:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:06:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238216') start
[2025-01-13 10:06:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:06:04] Production.ERROR: done
[2025-01-13 10:06:04] Production.INFO: Total Charge 0
[2025-01-13 10:06:04] Production.INFO: CreateAllLog End
[2025-01-13 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238216') end
[2025-01-13 10:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:06:04] Production.INFO: 1
[2025-01-13 10:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:06:04] Production.INFO: Account Balance End.
[2025-01-13 10:06:04] Production.INFO: ==21844== Releasing lock...
[2025-01-13 10:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:06:04] Production.INFO: ==21840== Releasing lock...
[2025-01-13 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:06:05
[end_date_ymd] => 2025-01-13 10:06:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:06:05' and `end` < '2025-01-13 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-13 10:06:11] Production.ERROR: CronJobId end10
[2025-01-13 10:06:11] Production.INFO: ==21838== Releasing lock...
[2025-01-13 10:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:06:13] Production.INFO: call_cost start
[2025-01-13 10:06:13] Production.INFO: call_cost end
[2025-01-13 10:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:06:14] Production.INFO: ==21834== Releasing lock...
[2025-01-13 10:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:06:26] Production.INFO: count ==2765
[2025-01-13 10:06:27] Production.ERROR: pbx CDR StartTime 2025-01-13 07:06:05 - End Time 2025-01-13 10:06:05
[2025-01-13 10:06:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238218', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238218', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238218', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238218', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:06:27] Production.INFO: ProcessCDR(1,14238218,1,1,2)
[2025-01-13 10:06:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:06:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:06:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:06:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:06:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238218', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:06:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238218', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:06:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:06:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:06:32] Production.INFO: ==21842== Releasing lock...
[2025-01-13 10:06:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:06:32] Production.INFO: 48.75 MB #Memory Used#
[2025-01-13 15:07:02] Production.INFO: ==21907== Lock acquired, processing the job...
[2025-01-13 15:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:07:02] Production.INFO: neon service started
[2025-01-13 15:07:02] Production.INFO: neon service started
[2025-01-13 15:07:02] Production.INFO: ==21907== Releasing lock...
[2025-01-13 15:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:07:02] Production.INFO: ==21909== Lock acquired, processing the job...
[2025-01-13 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:07:02] Production.INFO: ==21909== Releasing lock...
[2025-01-13 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:07:02] Production.INFO: ==21911== Lock acquired, processing the job...
[2025-01-13 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:07:03] Production.INFO: ==21911== Releasing lock...
[2025-01-13 15:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:07:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:07:03] Production.INFO: ==21914== Lock acquired, processing the job...
[2025-01-13 10:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:07:03] Production.INFO: ==21916== Lock acquired, processing the job...
[2025-01-13 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:07:03] Production.INFO: ==21922== Lock acquired, processing the job...
[2025-01-13 10:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:07:03] Production.INFO: ==21920== Lock acquired, processing the job...
[2025-01-13 10:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:07:03] Production.INFO: ==21924== Lock acquired, processing the job...
[2025-01-13 10:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:07:03] Production.INFO: ==21918== Lock acquired, processing the job...
[2025-01-13 10:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:07:04] Production.INFO: Account Balance Start.
[2025-01-13 10:07:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:07:04] Production.INFO: 117
[2025-01-13 10:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 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-13 10:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:07:04] Production.INFO: count ==21
[2025-01-13 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-13 10:07:04] Production.INFO: count ==21
[2025-01-13 10:07:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238222') start
[2025-01-13 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:07:04] Production.INFO: ==21916== Releasing lock...
[2025-01-13 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238222') end
[2025-01-13 10:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:07:04] Production.INFO: 1
[2025-01-13 10:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:07:04] Production.ERROR: done
[2025-01-13 10:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:07:04] Production.INFO: ==21924== Releasing lock...
[2025-01-13 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:07:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:07:04] Production.ERROR: done
[2025-01-13 10:07:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:07:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:07:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:07:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:07:04] Production.INFO: Total Charge 0
[2025-01-13 10:07:04] Production.INFO: CreateAllLog End
[2025-01-13 10:07:04] Production.INFO: Account Balance End.
[2025-01-13 10:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:07:04] Production.INFO: ==21920== Releasing lock...
[2025-01-13 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:07:05
[end_date_ymd] => 2025-01-13 10:07:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:07:05' and `end` < '2025-01-13 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-13 10:07:11] Production.ERROR: CronJobId end10
[2025-01-13 10:07:11] Production.INFO: ==21918== Releasing lock...
[2025-01-13 10:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:07:13] Production.INFO: call_cost start
[2025-01-13 10:07:13] Production.INFO: call_cost end
[2025-01-13 10:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:07:14] Production.INFO: ==21914== Releasing lock...
[2025-01-13 10:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:07:29] Production.INFO: count ==2797
[2025-01-13 10:07:30] Production.ERROR: pbx CDR StartTime 2025-01-13 07:07:05 - End Time 2025-01-13 10:07:05
[2025-01-13 10:07:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238223', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238223', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238223', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238223', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:07:30] Production.INFO: ProcessCDR(1,14238223,1,1,2)
[2025-01-13 10:07:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:07:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:07:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:07:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:07:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238223', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:07:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238223', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:07:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:07:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:07:34] Production.INFO: ==21922== Releasing lock...
[2025-01-13 10:07:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:07:34] Production.INFO: 48.75 MB #Memory Used#
[2025-01-13 15:08:01] Production.INFO: ==21993== Lock acquired, processing the job...
[2025-01-13 15:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:08:01] Production.INFO: neon service started
[2025-01-13 15:08:01] Production.INFO: neon service started
[2025-01-13 15:08:01] Production.INFO: ==21993== Releasing lock...
[2025-01-13 15:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:08:02] Production.INFO: ==21995== Lock acquired, processing the job...
[2025-01-13 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:08:02] Production.INFO: ==21995== Releasing lock...
[2025-01-13 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:08:02] Production.INFO: ==21997== Lock acquired, processing the job...
[2025-01-13 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:08:02] Production.INFO: ==21997== Releasing lock...
[2025-01-13 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:08:03] Production.INFO: ==22004== Lock acquired, processing the job...
[2025-01-13 10:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:08:03] Production.INFO: ==22006== Lock acquired, processing the job...
[2025-01-13 10:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:08:03] Production.INFO: ==22008== Lock acquired, processing the job...
[2025-01-13 10:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:08:03] Production.INFO: Account Balance Start.
[2025-01-13 10:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:08:03] Production.INFO: 117
[2025-01-13 10:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:08:03] Production.INFO: ==22002== Lock acquired, processing the job...
[2025-01-13 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:08:03] Production.INFO: ==22000== Lock acquired, processing the job...
[2025-01-13 10:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:08:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:08:03] Production.INFO: ==22010== Lock acquired, processing the job...
[2025-01-13 10:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:08:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:08:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:08:03] Production.INFO: Total Charge 0
[2025-01-13 10:08:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 10:08:03] Production.ERROR: done
[2025-01-13 10:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:08:03] Production.INFO: count ==21
[2025-01-13 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-13 10:08:03] Production.INFO: count ==21
[2025-01-13 10:08:03] Production.INFO: ==22002== Releasing lock...
[2025-01-13 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:08:04] Production.ERROR: done
[2025-01-13 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238227') start
[2025-01-13 10:08:04] Production.INFO: Account Balance End.
[2025-01-13 10:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:08:04] Production.INFO: ==22006== Releasing lock...
[2025-01-13 10:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238227') end
[2025-01-13 10:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:08:04] Production.INFO: 1
[2025-01-13 10:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:08:04] Production.INFO: ==22010== Releasing lock...
[2025-01-13 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:08:04
[end_date_ymd] => 2025-01-13 10:08:04
[RateCDR] => 1
)
[2025-01-13 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-13 07:08:04' and `end` < '2025-01-13 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-13 10:08:10] Production.ERROR: CronJobId end10
[2025-01-13 10:08:10] Production.INFO: ==22004== Releasing lock...
[2025-01-13 10:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:08:14] Production.INFO: call_cost start
[2025-01-13 10:08:14] Production.INFO: call_cost end
[2025-01-13 10:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:08:14] Production.INFO: ==22000== Releasing lock...
[2025-01-13 10:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:08:27] Production.INFO: count ==2830
[2025-01-13 10:08:28] Production.ERROR: pbx CDR StartTime 2025-01-13 07:08:04 - End Time 2025-01-13 10:08:04
[2025-01-13 10:08:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238228', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238228', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238228', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238228', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:08:28] Production.INFO: ProcessCDR(1,14238228,1,1,2)
[2025-01-13 10:08:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:08:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:08:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:08:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238228', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:08:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238228', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:08:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:08:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:08:33] Production.INFO: ==22008== Releasing lock...
[2025-01-13 10:08:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:08:33] Production.INFO: 49 MB #Memory Used#
[2025-01-13 15:09:02] Production.INFO: ==22075== Lock acquired, processing the job...
[2025-01-13 15:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:09:02] Production.INFO: neon service started
[2025-01-13 15:09:02] Production.INFO: neon service started
[2025-01-13 15:09:02] Production.INFO: ==22075== Releasing lock...
[2025-01-13 15:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:09:02] Production.INFO: ==22079== Lock acquired, processing the job...
[2025-01-13 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:09:02] Production.INFO: ==22079== Releasing lock...
[2025-01-13 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:09:02] Production.INFO: ==22077== Lock acquired, processing the job...
[2025-01-13 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:09:02] Production.INFO: ==22077== Releasing lock...
[2025-01-13 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:09:03] Production.INFO: ==22085== Lock acquired, processing the job...
[2025-01-13 10:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:09:03] Production.INFO: ==22081== Lock acquired, processing the job...
[2025-01-13 10:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:09:03] Production.INFO: ==22092== Lock acquired, processing the job...
[2025-01-13 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:09:03] Production.INFO: ==22083== Lock acquired, processing the job...
[2025-01-13 10:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:09:03] Production.INFO: ==22088== Lock acquired, processing the job...
[2025-01-13 10:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 10:09:03] Production.INFO: ==22090== Lock acquired, processing the job...
[2025-01-13 10:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:09:04] Production.INFO: count ==21
[2025-01-13 10:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:09:04] Production.INFO: count ==21
[2025-01-13 10:09:04] Production.INFO: Account Balance Start.
[2025-01-13 10:09:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:09:04] Production.INFO: 117
[2025-01-13 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238229') start
[2025-01-13 10:09:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:09:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238229') end
[2025-01-13 10:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:09:04] Production.INFO: 1
[2025-01-13 10:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:09:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:09:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:09:04] Production.ERROR: done
[2025-01-13 10:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:09:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:09:04] Production.INFO: ==22092== Releasing lock...
[2025-01-13 10:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:09:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:09:04] Production.INFO: ==22083== Releasing lock...
[2025-01-13 10:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:09:04] Production.INFO: Total Charge 0
[2025-01-13 10:09:04] Production.INFO: CreateAllLog End
[2025-01-13 10:09:04] Production.ERROR: done
[2025-01-13 10:09:04] Production.INFO: Account Balance End.
[2025-01-13 10:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:09:04] Production.INFO: ==22088== Releasing lock...
[2025-01-13 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:09:05
[end_date_ymd] => 2025-01-13 10:09:05
[RateCDR] => 1
)
[2025-01-13 10:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:09:05' and `end` < '2025-01-13 10:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:09:11] Production.ERROR: CronJobId end10
[2025-01-13 10:09:11] Production.INFO: ==22085== Releasing lock...
[2025-01-13 10:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:09:13] Production.INFO: call_cost start
[2025-01-13 10:09:13] Production.INFO: call_cost end
[2025-01-13 10:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:09:14] Production.INFO: ==22081== Releasing lock...
[2025-01-13 10:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:09:25] Production.INFO: count ==2875
[2025-01-13 10:09:26] Production.ERROR: pbx CDR StartTime 2025-01-13 07:09:05 - End Time 2025-01-13 10:09:05
[2025-01-13 10:09:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238233', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238233', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238233', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238233', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:09:26] Production.INFO: ProcessCDR(1,14238233,1,1,2)
[2025-01-13 10:09:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:09:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:09:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:09:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:09:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238233', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:09:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238233', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:09:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:09:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:09:30] Production.INFO: ==22090== Releasing lock...
[2025-01-13 10:09:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:09:30] Production.INFO: 49.25 MB #Memory Used#
[2025-01-13 15:10:01] Production.INFO: ==22151== Lock acquired, processing the job...
[2025-01-13 15:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:10:01] Production.INFO: neon service started
[2025-01-13 15:10:01] Production.INFO: neon service started
[2025-01-13 15:10:01] Production.INFO: ==22151== Releasing lock...
[2025-01-13 15:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:10:01] Production.INFO: ==22155== Lock acquired, processing the job...
[2025-01-13 15:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:10:02] Production.INFO: ==22155== Releasing lock...
[2025-01-13 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:10:02] Production.INFO: ==22153== Lock acquired, processing the job...
[2025-01-13 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:10:02] Production.INFO: ==22153== Releasing lock...
[2025-01-13 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:10:03] Production.INFO: ==22158== Lock acquired, processing the job...
[2025-01-13 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 10:10:03] Production.INFO: ==22160== Lock acquired, processing the job...
[2025-01-13 10:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 10:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 10:10:03] Production.ERROR: CronJob PID - 22160
[2025-01-13 10:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 10:10:03] Production.ERROR: CronJob ID - 5
[2025-01-13 10:10:03] Production.ERROR: CronJob Last Run Time 2025-01-13 10:10:00
[2025-01-13 10:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 10:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 10:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 10:10:03] Production.INFO: ==22158== Releasing lock...
[2025-01-13 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 10:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 10:10:03] Production.INFO: ==22162== Lock acquired, processing the job...
[2025-01-13 10:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:10:03] Production.INFO: ==22164== Lock acquired, processing the job...
[2025-01-13 10:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:10:03] Production.INFO: ==22168== Lock acquired, processing the job...
[2025-01-13 10:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:10:03] Production.INFO: ==22166== Lock acquired, processing the job...
[2025-01-13 10:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:10:03] Production.INFO: ==22170== Lock acquired, processing the job...
[2025-01-13 10:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 10:10:03] Production.INFO: ==22162== Releasing lock...
[2025-01-13 10:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:10:04] Production.INFO: ==22172== Lock acquired, processing the job...
[2025-01-13 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 10:10:04] Production.INFO: Account Balance Start.
[2025-01-13 10:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:10:04] Production.INFO: 117
[2025-01-13 10:10:04] Production.INFO: count ==21
[2025-01-13 10:10:04] Production.ERROR: done
[2025-01-13 10:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:10:04] Production.INFO: count ==21
[2025-01-13 10:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238237') start
[2025-01-13 10:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:10:04] Production.ERROR: done
[2025-01-13 10:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:10:04] Production.ERROR: done
[2025-01-13 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 10:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238238', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238237') end
[2025-01-13 10:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:10:04] Production.INFO: 1
[2025-01-13 10:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:10:04] Production.INFO: Total Charge 0
[2025-01-13 10:10:04] Production.INFO: ==22172== Releasing lock...
[2025-01-13 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:10:04] Production.INFO: CreateAllLog End
[2025-01-13 10:10:04] Production.INFO: Account Balance End.
[2025-01-13 10:10:05] Production.ERROR: CronJobId end 12
[2025-01-13 10:10:05] Production.INFO: ==22166== Releasing lock...
[2025-01-13 10:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:10:05
[end_date_ymd] => 2025-01-13 10:10:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:10:05' and `end` < '2025-01-13 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-13 10:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238238', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 10:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 10:10:08] Production.INFO: ProcessCDR(1,14238238,1,1,2)
[2025-01-13 10:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238238,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238238,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:10:08] Production.INFO: ==22170== Releasing lock...
[2025-01-13 10:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 10:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 10:10:12] Production.ERROR: CronJobId end10
[2025-01-13 10:10:12] Production.INFO: ==22164== Releasing lock...
[2025-01-13 10:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:10:14] Production.INFO: call_cost start
[2025-01-13 10:10:14] Production.INFO: call_cost end
[2025-01-13 10:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:10:15] Production.INFO: ==22160== Releasing lock...
[2025-01-13 10:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:10:18] Production.INFO: count ==2893
[2025-01-13 10:10:20] Production.ERROR: pbx CDR StartTime 2025-01-13 07:10:05 - End Time 2025-01-13 10:10:05
[2025-01-13 10:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238239', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238239', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238239', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238239', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:10:20] Production.INFO: ProcessCDR(1,14238239,1,1,2)
[2025-01-13 10:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238239', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238239', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:10:24] Production.INFO: ==22168== Releasing lock...
[2025-01-13 10:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:10:24] Production.INFO: 49.25 MB #Memory Used#
[2025-01-13 15:11:02] Production.INFO: ==22230== Lock acquired, processing the job...
[2025-01-13 15:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:11:02] Production.INFO: neon service started
[2025-01-13 15:11:02] Production.INFO: neon service started
[2025-01-13 15:11:02] Production.INFO: ==22230== Releasing lock...
[2025-01-13 15:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:11:02] Production.INFO: ==22232== Lock acquired, processing the job...
[2025-01-13 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:11:02] Production.INFO: ==22234== Lock acquired, processing the job...
[2025-01-13 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 10:11:02] Production.INFO: ==22232== Releasing lock...
[2025-01-13 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:11:02] Production.INFO: ==22234== Releasing lock...
[2025-01-13 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:11:03] Production.INFO: ==22245== Lock acquired, processing the job...
[2025-01-13 10:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:11:03] Production.INFO: ==22247== Lock acquired, processing the job...
[2025-01-13 10:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:11:03] Production.INFO: ==22237== Lock acquired, processing the job...
[2025-01-13 10:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:11:03] Production.INFO: ==22243== Lock acquired, processing the job...
[2025-01-13 10:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:11:03] Production.INFO: ==22239== Lock acquired, processing the job...
[2025-01-13 10:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:11:03] Production.INFO: ==22241== Lock acquired, processing the job...
[2025-01-13 10:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:11:04] Production.INFO: Account Balance Start.
[2025-01-13 10:11:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:11:04] Production.INFO: 117
[2025-01-13 10:11:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:11:04] Production.INFO: count ==21
[2025-01-13 10:11:04] Production.ERROR: done
[2025-01-13 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-13 10:11:04] Production.INFO: count ==21
[2025-01-13 10:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238241') start
[2025-01-13 10:11:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:11:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:11:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:11:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:11:04] Production.ERROR: done
[2025-01-13 10:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:11:04] Production.INFO: ==22239== Releasing lock...
[2025-01-13 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:11:04] Production.INFO: Total Charge 0
[2025-01-13 10:11:04] Production.INFO: CreateAllLog End
[2025-01-13 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238241') end
[2025-01-13 10:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:11:04] Production.INFO: 1
[2025-01-13 10:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:11:04] Production.INFO: ==22247== Releasing lock...
[2025-01-13 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:11:04] Production.INFO: Account Balance End.
[2025-01-13 10:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:11:04] Production.INFO: ==22243== Releasing lock...
[2025-01-13 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:11:05
[end_date_ymd] => 2025-01-13 10:11:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:11:05' and `end` < '2025-01-13 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-13 10:11:11] Production.ERROR: CronJobId end10
[2025-01-13 10:11:11] Production.INFO: ==22241== Releasing lock...
[2025-01-13 10:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:11:13] Production.INFO: call_cost start
[2025-01-13 10:11:13] Production.INFO: call_cost end
[2025-01-13 10:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:11:14] Production.INFO: ==22237== Releasing lock...
[2025-01-13 10:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:11:19] Production.INFO: count ==2978
[2025-01-13 10:11:20] Production.ERROR: pbx CDR StartTime 2025-01-13 07:11:05 - End Time 2025-01-13 10:11:05
[2025-01-13 10:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238244', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238244', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238244', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238244', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:11:20] Production.INFO: ProcessCDR(1,14238244,1,1,2)
[2025-01-13 10:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238244', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238244', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:11:25] Production.INFO: ==22245== Releasing lock...
[2025-01-13 10:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:11:25] Production.INFO: 50.5 MB #Memory Used#
[2025-01-13 15:12:01] Production.INFO: ==22302== Lock acquired, processing the job...
[2025-01-13 15:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:12:01] Production.INFO: neon service started
[2025-01-13 15:12:01] Production.INFO: neon service started
[2025-01-13 15:12:01] Production.INFO: ==22302== Releasing lock...
[2025-01-13 15:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:12:01] Production.INFO: ==22306== Lock acquired, processing the job...
[2025-01-13 15:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:12:01] Production.INFO: ==22306== Releasing lock...
[2025-01-13 15:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:12:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:12:02] Production.INFO: ==22304== Lock acquired, processing the job...
[2025-01-13 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:12:02] Production.INFO: ==22304== Releasing lock...
[2025-01-13 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:12:03] Production.INFO: ==22311== Lock acquired, processing the job...
[2025-01-13 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:12:03] Production.INFO: ==22308== Lock acquired, processing the job...
[2025-01-13 10:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:12:03] Production.INFO: ==22317== Lock acquired, processing the job...
[2025-01-13 10:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:12:03] Production.INFO: ==22313== Lock acquired, processing the job...
[2025-01-13 10:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:12:03] Production.INFO: ==22315== Lock acquired, processing the job...
[2025-01-13 10:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:12:03] Production.INFO: ==22319== Lock acquired, processing the job...
[2025-01-13 10:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:12:03] Production.INFO: ==22311== Releasing lock...
[2025-01-13 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:12:03] Production.INFO: Account Balance Start.
[2025-01-13 10:12:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:12:03] Production.INFO: 117
[2025-01-13 10:12:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:12:03] Production.INFO: count ==21
[2025-01-13 10:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:12:03] Production.INFO: count ==21
[2025-01-13 10:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238248') start
[2025-01-13 10:12:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:12:03] Production.ERROR: done
[2025-01-13 10:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:12:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:12:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:12:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238248') end
[2025-01-13 10:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:12:03] Production.INFO: 1
[2025-01-13 10:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:12:04] Production.ERROR: done
[2025-01-13 10:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:12:04] Production.INFO: ==22319== Releasing lock...
[2025-01-13 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:12:04] Production.INFO: Total Charge 0
[2025-01-13 10:12:04] Production.INFO: CreateAllLog End
[2025-01-13 10:12:04] Production.INFO: Account Balance End.
[2025-01-13 10:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:12:04] Production.INFO: ==22315== Releasing lock...
[2025-01-13 10:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:12:05
[end_date_ymd] => 2025-01-13 10:12:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:12:05' and `end` < '2025-01-13 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-13 10:12:11] Production.ERROR: CronJobId end10
[2025-01-13 10:12:11] Production.INFO: ==22313== Releasing lock...
[2025-01-13 10:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:12:13] Production.INFO: call_cost start
[2025-01-13 10:12:13] Production.INFO: call_cost end
[2025-01-13 10:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:12:14] Production.INFO: ==22308== Releasing lock...
[2025-01-13 10:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:12:18] Production.INFO: count ==2987
[2025-01-13 10:12:19] Production.ERROR: pbx CDR StartTime 2025-01-13 07:12:05 - End Time 2025-01-13 10:12:05
[2025-01-13 10:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238249', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238249', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238249', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238249', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:12:19] Production.INFO: ProcessCDR(1,14238249,1,1,2)
[2025-01-13 10:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238249', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238249', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:12:24] Production.INFO: ==22317== Releasing lock...
[2025-01-13 10:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:12:24] Production.INFO: 50.25 MB #Memory Used#
[2025-01-13 15:13:01] Production.INFO: ==22372== Lock acquired, processing the job...
[2025-01-13 15:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:13:01] Production.INFO: neon service started
[2025-01-13 15:13:01] Production.INFO: neon service started
[2025-01-13 15:13:01] Production.INFO: ==22372== Releasing lock...
[2025-01-13 15:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:13:02] Production.INFO: ==22374== Lock acquired, processing the job...
[2025-01-13 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:13:02] Production.INFO: ==22374== Releasing lock...
[2025-01-13 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:13:02] Production.INFO: ==22376== Lock acquired, processing the job...
[2025-01-13 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:13:02] Production.INFO: ==22376== Releasing lock...
[2025-01-13 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:13:03] Production.INFO: ==22383== Lock acquired, processing the job...
[2025-01-13 10:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:13:03] Production.INFO: ==22387== Lock acquired, processing the job...
[2025-01-13 10:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:13:03] Production.INFO: ==22379== Lock acquired, processing the job...
[2025-01-13 10:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:13:03] Production.INFO: ==22381== Lock acquired, processing the job...
[2025-01-13 10:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:13:03] Production.ERROR: done
[2025-01-13 10:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:13:03] Production.INFO: ==22385== Lock acquired, processing the job...
[2025-01-13 10:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:13:03] Production.INFO: ==22389== Lock acquired, processing the job...
[2025-01-13 10:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:13:03] Production.ERROR: done
[2025-01-13 10:13:03] Production.INFO: Account Balance Start.
[2025-01-13 10:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:13:03] Production.INFO: 117
[2025-01-13 10:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:13:03] Production.INFO: count ==21
[2025-01-13 10:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:13:03] Production.INFO: count ==21
[2025-01-13 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238252') start
[2025-01-13 10:13:04] Production.INFO: ==22381== Releasing lock...
[2025-01-13 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:13:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:13:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238252') end
[2025-01-13 10:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:13:04] Production.INFO: 1
[2025-01-13 10:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:13:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:13:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:13:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:13:04] Production.INFO: Total Charge 0
[2025-01-13 10:13:04] Production.INFO: ==22389== Releasing lock...
[2025-01-13 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:13:04] Production.INFO: CreateAllLog End
[2025-01-13 10:13:04] Production.INFO: Account Balance End.
[2025-01-13 10:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:13:04] Production.INFO: ==22385== Releasing lock...
[2025-01-13 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:13:05
[end_date_ymd] => 2025-01-13 10:13:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:13:05' and `end` < '2025-01-13 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-13 10:13:10] Production.ERROR: CronJobId end10
[2025-01-13 10:13:10] Production.INFO: ==22383== Releasing lock...
[2025-01-13 10:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:13:13] Production.INFO: call_cost start
[2025-01-13 10:13:13] Production.INFO: call_cost end
[2025-01-13 10:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:13:13] Production.INFO: ==22379== Releasing lock...
[2025-01-13 10:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:13:22] Production.INFO: count ==3003
[2025-01-13 10:13:23] Production.ERROR: pbx CDR StartTime 2025-01-13 07:13:05 - End Time 2025-01-13 10:13:05
[2025-01-13 10:13:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238254', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238254', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238254', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:13:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238254', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:13:23] Production.INFO: ProcessCDR(1,14238254,1,1,2)
[2025-01-13 10:13:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:13:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:13:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:13:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:13:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238254', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:13:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238254', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:13:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:13:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:13:28] Production.INFO: ==22387== Releasing lock...
[2025-01-13 10:13:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:13:28] Production.INFO: 50.25 MB #Memory Used#
[2025-01-13 15:14:01] Production.INFO: ==22441== Lock acquired, processing the job...
[2025-01-13 15:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:14:01] Production.INFO: neon service started
[2025-01-13 15:14:01] Production.INFO: neon service started
[2025-01-13 15:14:01] Production.INFO: ==22441== Releasing lock...
[2025-01-13 15:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:14:01] Production.INFO: ==22443== Lock acquired, processing the job...
[2025-01-13 10:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:14:02] Production.INFO: ==22443== Releasing lock...
[2025-01-13 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:14:02] Production.INFO: ==22445== Lock acquired, processing the job...
[2025-01-13 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:14:02] Production.INFO: ==22445== Releasing lock...
[2025-01-13 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:14:02] Production.INFO: ==22447== Lock acquired, processing the job...
[2025-01-13 10:14:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:14:02] Production.INFO: ==22455== Lock acquired, processing the job...
[2025-01-13 10:14:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:14:03] Production.INFO: ==22458== Lock acquired, processing the job...
[2025-01-13 10:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:14:03] Production.INFO: ==22449== Lock acquired, processing the job...
[2025-01-13 10:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:14:03] Production.INFO: ==22451== Lock acquired, processing the job...
[2025-01-13 10:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:14:03] Production.INFO: ==22453== Lock acquired, processing the job...
[2025-01-13 10:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 10:14:03] Production.INFO: count ==21
[2025-01-13 10:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 10:14:03] Production.INFO: Account Balance Start.
[2025-01-13 10:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:14:03] Production.INFO: count ==21
[2025-01-13 10:14:03] Production.INFO: 117
[2025-01-13 10:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238256') start
[2025-01-13 10:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:14:03] Production.ERROR: done
[2025-01-13 10:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:14:03] Production.INFO: ==22449== Releasing lock...
[2025-01-13 10:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238256') end
[2025-01-13 10:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:14:03] Production.INFO: 1
[2025-01-13 10:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:14:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:14:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:14:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:14:03] Production.INFO: ==22458== Releasing lock...
[2025-01-13 10:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:14:03] Production.ERROR: done
[2025-01-13 10:14:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:14:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:14:03] Production.INFO: Total Charge 0
[2025-01-13 10:14:03] Production.INFO: CreateAllLog End
[2025-01-13 10:14:03] Production.INFO: Account Balance End.
[2025-01-13 10:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:14:04] Production.INFO: ==22453== Releasing lock...
[2025-01-13 10:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:14:04
[end_date_ymd] => 2025-01-13 10:14:04
[RateCDR] => 1
)
[2025-01-13 10: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-13 07:14:04' and `end` < '2025-01-13 10: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-13 10:14:12] Production.ERROR: CronJobId end10
[2025-01-13 10:14:12] Production.INFO: ==22451== Releasing lock...
[2025-01-13 10:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:14:13] Production.INFO: call_cost start
[2025-01-13 10:14:13] Production.INFO: call_cost end
[2025-01-13 10:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:14:14] Production.INFO: ==22447== Releasing lock...
[2025-01-13 10:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:14:28] Production.INFO: count ==3023
[2025-01-13 10:14:29] Production.ERROR: pbx CDR StartTime 2025-01-13 07:14:04 - End Time 2025-01-13 10:14:04
[2025-01-13 10:14:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:14:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238259', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238259', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238259', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238259', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:14:30] Production.INFO: ProcessCDR(1,14238259,1,1,2)
[2025-01-13 10:14:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:14:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:14:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:14:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:14:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238259', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:14:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238259', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:14:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:14:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:14:34] Production.INFO: ==22455== Releasing lock...
[2025-01-13 10:14:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:14:34] Production.INFO: 51 MB #Memory Used#
[2025-01-13 15:15:01] Production.INFO: ==22517== Lock acquired, processing the job...
[2025-01-13 15:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:15:01] Production.INFO: neon service started
[2025-01-13 15:15:01] Production.INFO: neon service started
[2025-01-13 15:15:01] Production.INFO: ==22517== Releasing lock...
[2025-01-13 15:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:15:02] Production.INFO: ==22519== Lock acquired, processing the job...
[2025-01-13 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:15:02] Production.INFO: ==22519== Releasing lock...
[2025-01-13 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:15:02] Production.INFO: ==22521== Lock acquired, processing the job...
[2025-01-13 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:15:02] Production.INFO: ==22521== Releasing lock...
[2025-01-13 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:15:03] Production.INFO: ==22523== Lock acquired, processing the job...
[2025-01-13 10:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:15:03] Production.INFO: ==22525== Lock acquired, processing the job...
[2025-01-13 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:15:03] Production.INFO: ==22527== Lock acquired, processing the job...
[2025-01-13 10:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:15:03] Production.INFO: ==22529== Lock acquired, processing the job...
[2025-01-13 10:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:15:03] Production.INFO: ==22531== Lock acquired, processing the job...
[2025-01-13 10:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:15:03] Production.INFO: ==22533== Lock acquired, processing the job...
[2025-01-13 10:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:15:03] Production.INFO: Account Balance Start.
[2025-01-13 10:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:15:03] Production.INFO: 117
[2025-01-13 10:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:15:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:15:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:15:03] Production.INFO: ==22525== Releasing lock...
[2025-01-13 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:15:03] Production.INFO: count ==21
[2025-01-13 10:15:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:15:03] Production.INFO: count ==21
[2025-01-13 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238263') start
[2025-01-13 10:15:03] Production.ERROR: done
[2025-01-13 10:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238263') end
[2025-01-13 10:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:15:04] Production.INFO: 1
[2025-01-13 10:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:15:04] Production.ERROR: done
[2025-01-13 10:15:04] Production.INFO: Total Charge 0
[2025-01-13 10:15:04] Production.INFO: ==22533== Releasing lock...
[2025-01-13 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:15:04] Production.INFO: CreateAllLog End
[2025-01-13 10:15:04] Production.INFO: Account Balance End.
[2025-01-13 10:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:15:04] Production.INFO: ==22529== Releasing lock...
[2025-01-13 10:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:15:05
[end_date_ymd] => 2025-01-13 10:15:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:15:05' and `end` < '2025-01-13 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-13 10:15:11] Production.ERROR: CronJobId end10
[2025-01-13 10:15:11] Production.INFO: ==22527== Releasing lock...
[2025-01-13 10:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:15:14] Production.INFO: call_cost start
[2025-01-13 10:15:14] Production.INFO: call_cost end
[2025-01-13 10:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:15:14] Production.INFO: ==22523== Releasing lock...
[2025-01-13 10:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:15:24] Production.INFO: count ==3054
[2025-01-13 10:15:26] Production.ERROR: pbx CDR StartTime 2025-01-13 07:15:05 - End Time 2025-01-13 10:15:05
[2025-01-13 10:15:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238264', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238264', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238264', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238264', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:15:26] Production.INFO: ProcessCDR(1,14238264,1,1,2)
[2025-01-13 10:15:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:15:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:15:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:15:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:15:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238264', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:15:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238264', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:15:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:15:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:15:31] Production.INFO: ==22531== Releasing lock...
[2025-01-13 10:15:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:15:31] Production.INFO: 51.25 MB #Memory Used#
[2025-01-13 15:16:02] Production.INFO: ==22588== Lock acquired, processing the job...
[2025-01-13 15:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:16:02] Production.INFO: neon service started
[2025-01-13 15:16:02] Production.INFO: neon service started
[2025-01-13 15:16:02] Production.INFO: ==22588== Releasing lock...
[2025-01-13 15:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:16:02] Production.INFO: ==22590== Lock acquired, processing the job...
[2025-01-13 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:16:02] Production.INFO: ==22592== Lock acquired, processing the job...
[2025-01-13 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:16:02] Production.INFO: ==22592== Releasing lock...
[2025-01-13 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:16:03] Production.INFO: ==22590== Releasing lock...
[2025-01-13 10:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:16:03] Production.INFO: ==22595== Lock acquired, processing the job...
[2025-01-13 10:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:16:04] Production.INFO: ==22597== Lock acquired, processing the job...
[2025-01-13 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:16:04] Production.INFO: ==22599== Lock acquired, processing the job...
[2025-01-13 10:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:16:04] Production.INFO: ==22601== Lock acquired, processing the job...
[2025-01-13 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:16:04] Production.INFO: ==22603== Lock acquired, processing the job...
[2025-01-13 10:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:16:04] Production.INFO: Account Balance Start.
[2025-01-13 10:16:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:16:04] Production.INFO: 117
[2025-01-13 10:16:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:16:04] Production.INFO: ==22605== Lock acquired, processing the job...
[2025-01-13 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:16:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:16:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:16:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:16:04] Production.INFO: ==22597== Releasing lock...
[2025-01-13 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:16:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:16:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:16:04] Production.INFO: Total Charge 0
[2025-01-13 10:16:04] Production.INFO: CreateAllLog End
[2025-01-13 10:16:04] Production.INFO: count ==21
[2025-01-13 10:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:16:04] Production.INFO: count ==21
[2025-01-13 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238268') start
[2025-01-13 10:16:04] Production.ERROR: done
[2025-01-13 10:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:16:04] Production.INFO: Account Balance End.
[2025-01-13 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238268') end
[2025-01-13 10:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:16:04] Production.INFO: 1
[2025-01-13 10:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:16:04] Production.INFO: ==22601== Releasing lock...
[2025-01-13 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:16:04] Production.INFO: ==22605== Releasing lock...
[2025-01-13 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:16:04] Production.ERROR: done
[2025-01-13 10:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:16:05
[end_date_ymd] => 2025-01-13 10:16:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:16:05' and `end` < '2025-01-13 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-13 10:16:12] Production.ERROR: CronJobId end10
[2025-01-13 10:16:12] Production.INFO: ==22599== Releasing lock...
[2025-01-13 10:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:16:13] Production.INFO: call_cost start
[2025-01-13 10:16:14] Production.INFO: call_cost end
[2025-01-13 10:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:16:14] Production.INFO: ==22595== Releasing lock...
[2025-01-13 10:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:16:25] Production.INFO: count ==3057
[2025-01-13 10:16:27] Production.ERROR: pbx CDR StartTime 2025-01-13 07:16:05 - End Time 2025-01-13 10:16:05
[2025-01-13 10:16:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238269', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238269', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238269', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:16:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238269', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:16:27] Production.INFO: ProcessCDR(1,14238269,1,1,2)
[2025-01-13 10:16:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:16:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:16:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:16:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:16:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238269', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:16:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238269', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:16:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:16:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:16:31] Production.INFO: ==22603== Releasing lock...
[2025-01-13 10:16:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:16:31] Production.INFO: 51 MB #Memory Used#
[2025-01-13 15:17:01] Production.INFO: ==22661== Lock acquired, processing the job...
[2025-01-13 15:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:17:01] Production.INFO: neon service started
[2025-01-13 15:17:01] Production.INFO: neon service started
[2025-01-13 15:17:01] Production.INFO: ==22661== Releasing lock...
[2025-01-13 15:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:17:02] Production.INFO: ==22664== Lock acquired, processing the job...
[2025-01-13 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:17:02] Production.INFO: ==22664== Releasing lock...
[2025-01-13 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:17:02] Production.INFO: ==22666== Lock acquired, processing the job...
[2025-01-13 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:17:02] Production.INFO: ==22666== Releasing lock...
[2025-01-13 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:17:03] Production.INFO: ==22668== Lock acquired, processing the job...
[2025-01-13 10:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:17:03] Production.INFO: ==22672== Lock acquired, processing the job...
[2025-01-13 10:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:17:03] Production.INFO: ==22679== Lock acquired, processing the job...
[2025-01-13 10:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:17:03] Production.INFO: ==22670== Lock acquired, processing the job...
[2025-01-13 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:17:03] Production.INFO: ==22675== Lock acquired, processing the job...
[2025-01-13 10:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:17:03] Production.INFO: ==22677== Lock acquired, processing the job...
[2025-01-13 10:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:17:03] Production.INFO: count ==21
[2025-01-13 10:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:17:03] Production.INFO: count ==21
[2025-01-13 10:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238271') start
[2025-01-13 10:17:03] Production.INFO: Account Balance Start.
[2025-01-13 10:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:17:03] Production.INFO: 117
[2025-01-13 10:17:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238271') end
[2025-01-13 10:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:17:03] Production.INFO: 1
[2025-01-13 10:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:17:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:17:04] Production.INFO: ==22670== Releasing lock...
[2025-01-13 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:17:04] Production.ERROR: done
[2025-01-13 10:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:17:04] Production.INFO: ==22679== Releasing lock...
[2025-01-13 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:17:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:17:04] Production.ERROR: done
[2025-01-13 10:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:17:04] Production.INFO: Total Charge 0
[2025-01-13 10:17:04] Production.INFO: CreateAllLog End
[2025-01-13 10:17:04] Production.INFO: Account Balance End.
[2025-01-13 10:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:17:04] Production.INFO: ==22675== Releasing lock...
[2025-01-13 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:17:05
[end_date_ymd] => 2025-01-13 10:17:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:17:05' and `end` < '2025-01-13 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-13 10:17:10] Production.ERROR: CronJobId end10
[2025-01-13 10:17:10] Production.INFO: ==22672== Releasing lock...
[2025-01-13 10:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:17:13] Production.INFO: call_cost start
[2025-01-13 10:17:13] Production.INFO: call_cost end
[2025-01-13 10:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:17:13] Production.INFO: ==22668== Releasing lock...
[2025-01-13 10:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:17:25] Production.INFO: count ==3079
[2025-01-13 10:17:27] Production.ERROR: pbx CDR StartTime 2025-01-13 07:17:05 - End Time 2025-01-13 10:17:05
[2025-01-13 10:17:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238274', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238274', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238274', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238274', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:17:27] Production.INFO: ProcessCDR(1,14238274,1,1,2)
[2025-01-13 10:17:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:17:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:17:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:17:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:17:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238274', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:17:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238274', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:17:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:17:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:17:31] Production.INFO: ==22677== Releasing lock...
[2025-01-13 10:17:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:17:31] Production.INFO: 51.25 MB #Memory Used#
[2025-01-13 15:18:02] Production.INFO: ==22733== Lock acquired, processing the job...
[2025-01-13 15:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:18:02] Production.INFO: neon service started
[2025-01-13 15:18:02] Production.INFO: neon service started
[2025-01-13 15:18:02] Production.INFO: ==22733== Releasing lock...
[2025-01-13 15:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:18:03] Production.INFO: ==22735== Lock acquired, processing the job...
[2025-01-13 10:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:18:03] Production.INFO: ==22737== Lock acquired, processing the job...
[2025-01-13 15:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:18:03] Production.INFO: ==22737== Releasing lock...
[2025-01-13 15:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:18:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:18:03] Production.INFO: ==22735== Releasing lock...
[2025-01-13 10:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:18:04] Production.INFO: ==22746== Lock acquired, processing the job...
[2025-01-13 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:18:04] Production.INFO: ==22748== Lock acquired, processing the job...
[2025-01-13 10:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:18:04] Production.INFO: Account Balance Start.
[2025-01-13 10:18:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:18:04] Production.INFO: 117
[2025-01-13 10:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:18:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:18:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:18:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:18:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:18:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:18:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:18:04] Production.INFO: Total Charge 0
[2025-01-13 10:18:04] Production.INFO: ==22740== Lock acquired, processing the job...
[2025-01-13 10:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:18:04] Production.INFO: ==22742== Lock acquired, processing the job...
[2025-01-13 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:18:04] Production.INFO: CreateAllLog End
[2025-01-13 10:18:04] Production.INFO: ==22744== Lock acquired, processing the job...
[2025-01-13 10:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:18:04] Production.ERROR: done
[2025-01-13 10:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:18:04] Production.INFO: ==22750== Lock acquired, processing the job...
[2025-01-13 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:18:04] Production.INFO: Account Balance End.
[2025-01-13 10:18:04] Production.ERROR: done
[2025-01-13 10:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:18:04] Production.INFO: ==22746== Releasing lock...
[2025-01-13 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:18:04] Production.INFO: count ==21
[2025-01-13 10:18:04] Production.INFO: ==22742== Releasing lock...
[2025-01-13 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:18:04] Production.INFO: count ==21
[2025-01-13 10:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14238278') start
[2025-01-13 10:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14238278') end
[2025-01-13 10:18:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:18:05] Production.INFO: 1
[2025-01-13 10:18:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:18:05] Production.INFO: ==22750== Releasing lock...
[2025-01-13 10:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:18:05
[end_date_ymd] => 2025-01-13 10:18:05
[RateCDR] => 1
)
[2025-01-13 10:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:18:05' and `end` < '2025-01-13 10:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:18:12] Production.ERROR: CronJobId end10
[2025-01-13 10:18:12] Production.INFO: ==22744== Releasing lock...
[2025-01-13 10:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:18:14] Production.INFO: call_cost start
[2025-01-13 10:18:14] Production.INFO: call_cost end
[2025-01-13 10:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:18:15] Production.INFO: ==22740== Releasing lock...
[2025-01-13 10:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:18:25] Production.INFO: count ==3105
[2025-01-13 10:18:26] Production.ERROR: pbx CDR StartTime 2025-01-13 07:18:05 - End Time 2025-01-13 10:18:05
[2025-01-13 10:18:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238279', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238279', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238279', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238279', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:18:26] Production.INFO: ProcessCDR(1,14238279,1,1,2)
[2025-01-13 10:18:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:18:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:18:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:18:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:18:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238279', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:18:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238279', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:18:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:18:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:18:31] Production.INFO: ==22748== Releasing lock...
[2025-01-13 10:18:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:18:31] Production.INFO: 51.25 MB #Memory Used#
[2025-01-13 15:19:01] Production.INFO: ==22804== Lock acquired, processing the job...
[2025-01-13 15:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:19:01] Production.INFO: neon service started
[2025-01-13 15:19:01] Production.INFO: neon service started
[2025-01-13 15:19:01] Production.INFO: ==22804== Releasing lock...
[2025-01-13 15:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:19:02] Production.INFO: ==22806== Lock acquired, processing the job...
[2025-01-13 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:19:02] Production.INFO: ==22808== Lock acquired, processing the job...
[2025-01-13 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:19:02] Production.INFO: ==22808== Releasing lock...
[2025-01-13 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:19:02] Production.INFO: ==22806== Releasing lock...
[2025-01-13 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:19:03] Production.INFO: ==22817== Lock acquired, processing the job...
[2025-01-13 10:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:19:03] Production.INFO: ==22821== Lock acquired, processing the job...
[2025-01-13 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:19:03] Production.INFO: Account Balance Start.
[2025-01-13 10:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:19:03] Production.INFO: 117
[2025-01-13 10:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:19:03] Production.INFO: ==22819== Lock acquired, processing the job...
[2025-01-13 10:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:19:04] Production.INFO: ==22811== Lock acquired, processing the job...
[2025-01-13 10:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:19:04] Production.INFO: count ==21
[2025-01-13 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-13 10:19:04] Production.INFO: count ==21
[2025-01-13 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238281') start
[2025-01-13 10:19:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:19:04] Production.INFO: ==22815== Lock acquired, processing the job...
[2025-01-13 10:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:19:04] Production.INFO: ==22813== Lock acquired, processing the job...
[2025-01-13 10:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:19:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:19:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:19:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238281') end
[2025-01-13 10:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:19:04] Production.INFO: 1
[2025-01-13 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:19:04] Production.INFO: ==22821== Releasing lock...
[2025-01-13 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:19:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:19:04] Production.INFO: Total Charge 0
[2025-01-13 10:19:04] Production.ERROR: done
[2025-01-13 10:19:04] Production.INFO: CreateAllLog End
[2025-01-13 10:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:19:04] Production.INFO: ==22813== Releasing lock...
[2025-01-13 10:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:19:04] Production.ERROR: done
[2025-01-13 10:19:04] Production.INFO: Account Balance End.
[2025-01-13 10:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:19:04] Production.INFO: ==22817== Releasing lock...
[2025-01-13 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:19:05
[end_date_ymd] => 2025-01-13 10:19:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:19:05' and `end` < '2025-01-13 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-13 10:19:11] Production.ERROR: CronJobId end10
[2025-01-13 10:19:11] Production.INFO: ==22815== Releasing lock...
[2025-01-13 10:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:19:13] Production.INFO: call_cost start
[2025-01-13 10:19:13] Production.INFO: call_cost end
[2025-01-13 10:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:19:14] Production.INFO: ==22811== Releasing lock...
[2025-01-13 10:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:19:18] Production.INFO: count ==3139
[2025-01-13 10:19:20] Production.ERROR: pbx CDR StartTime 2025-01-13 07:19:05 - End Time 2025-01-13 10:19:05
[2025-01-13 10:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238284', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238284', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238284', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238284', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:19:20] Production.INFO: ProcessCDR(1,14238284,1,1,2)
[2025-01-13 10:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:19:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:19:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:19:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238284', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238284', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:19:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:19:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:19:24] Production.INFO: ==22819== Releasing lock...
[2025-01-13 10:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:19:24] Production.INFO: 51.5 MB #Memory Used#
[2025-01-13 15:20:01] Production.INFO: ==22914== Lock acquired, processing the job...
[2025-01-13 15:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:20:01] Production.INFO: neon service started
[2025-01-13 15:20:01] Production.INFO: neon service started
[2025-01-13 15:20:01] Production.INFO: ==22914== Releasing lock...
[2025-01-13 15:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:20:01] Production.INFO: ==22916== Lock acquired, processing the job...
[2025-01-13 10:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:20:02] Production.INFO: ==22918== Lock acquired, processing the job...
[2025-01-13 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:20:02] Production.INFO: ==22918== Releasing lock...
[2025-01-13 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:20:02] Production.INFO: ==22916== Releasing lock...
[2025-01-13 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:20:03] Production.INFO: ==22920== Lock acquired, processing the job...
[2025-01-13 10:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 10:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 10:20:03] Production.INFO: ==22922== Lock acquired, processing the job...
[2025-01-13 10:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 10:20:03] Production.INFO: ==22920== Releasing lock...
[2025-01-13 10:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 10:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 10:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:20:03] Production.INFO: ==22924== Lock acquired, processing the job...
[2025-01-13 10:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:20:03] Production.INFO: ==22926== Lock acquired, processing the job...
[2025-01-13 10:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:20:03] Production.INFO: ==22930== Lock acquired, processing the job...
[2025-01-13 10:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:20:03] Production.INFO: ==22928== Lock acquired, processing the job...
[2025-01-13 10:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:20:03] Production.INFO: ==22933== Lock acquired, processing the job...
[2025-01-13 10:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 10:20:03] Production.INFO: ==22935== Lock acquired, processing the job...
[2025-01-13 10:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:20:03] Production.INFO: Account Balance Start.
[2025-01-13 10:20:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:20:03] Production.INFO: 117
[2025-01-13 10:20:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:20:03] Production.ERROR: done
[2025-01-13 10:20:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:20:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:20:03] Production.INFO: ==22924== Releasing lock...
[2025-01-13 10:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 10:20:04] Production.INFO: count ==21
[2025-01-13 10:20:04] Production.ERROR: done
[2025-01-13 10:20:04] Production.ERROR: done
[2025-01-13 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-13 10:20:04] Production.INFO: count ==21
[2025-01-13 10:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238288') start
[2025-01-13 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 10:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238289', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 10:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238288') end
[2025-01-13 10:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:20:04] Production.INFO: 1
[2025-01-13 10:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:20:04] Production.INFO: Total Charge 0
[2025-01-13 10:20:04] Production.INFO: CreateAllLog End
[2025-01-13 10:20:04] Production.INFO: ==22935== Releasing lock...
[2025-01-13 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:20:04] Production.INFO: Account Balance End.
[2025-01-13 10:20:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:20:04] Production.INFO: ==22928== Releasing lock...
[2025-01-13 10:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:20:05
[end_date_ymd] => 2025-01-13 10:20:05
[RateCDR] => 1
)
[2025-01-13 10: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-13 07:20:05' and `end` < '2025-01-13 10: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-13 10:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238289', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 10:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 10:20:08] Production.INFO: ProcessCDR(1,14238289,1,1,2)
[2025-01-13 10:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238289,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238289,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:20:08] Production.INFO: ==22933== Releasing lock...
[2025-01-13 10:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 10:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 10:20:12] Production.ERROR: CronJobId end10
[2025-01-13 10:20:12] Production.INFO: ==22926== Releasing lock...
[2025-01-13 10:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:20:14] Production.INFO: call_cost start
[2025-01-13 10:20:14] Production.INFO: call_cost end
[2025-01-13 10:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:20:15] Production.INFO: ==22922== Releasing lock...
[2025-01-13 10:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:20:21] Production.INFO: count ==3194
[2025-01-13 10:20:22] Production.ERROR: pbx CDR StartTime 2025-01-13 07:20:05 - End Time 2025-01-13 10:20:05
[2025-01-13 10:20:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238290', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238290', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238290', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238290', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:20:22] Production.INFO: ProcessCDR(1,14238290,1,1,2)
[2025-01-13 10:20:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:20:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:20:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:20:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238290', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238290', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:20:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:20:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:20:27] Production.INFO: ==22930== Releasing lock...
[2025-01-13 10:20:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:20:27] Production.INFO: 52.5 MB #Memory Used#
[2025-01-13 15:21:01] Production.INFO: ==22989== Lock acquired, processing the job...
[2025-01-13 15:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:21:01] Production.INFO: neon service started
[2025-01-13 15:21:01] Production.INFO: neon service started
[2025-01-13 15:21:01] Production.INFO: ==22989== Releasing lock...
[2025-01-13 15:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:21:02] Production.INFO: ==22993== Lock acquired, processing the job...
[2025-01-13 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:21:02] Production.INFO: ==22993== Releasing lock...
[2025-01-13 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:21:02] Production.INFO: ==22991== Lock acquired, processing the job...
[2025-01-13 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:21:02] Production.INFO: ==22991== Releasing lock...
[2025-01-13 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:21:03] Production.INFO: ==22996== Lock acquired, processing the job...
[2025-01-13 10:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:21:03] Production.INFO: ==23002== Lock acquired, processing the job...
[2025-01-13 10:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:21:03] Production.INFO: ==23006== Lock acquired, processing the job...
[2025-01-13 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:21:03] Production.INFO: Account Balance Start.
[2025-01-13 10:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:21:03] Production.INFO: 117
[2025-01-13 10:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 10:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:21:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:21:03] Production.INFO: count ==21
[2025-01-13 10:21:03] Production.INFO: Date 2025-01-11
[2025-01-13 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-13 10:21:03] Production.INFO: count ==21
[2025-01-13 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238293') start
[2025-01-13 10:21:03] Production.INFO: ==22998== Lock acquired, processing the job...
[2025-01-13 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:21:03] Production.INFO: ==23000== Lock acquired, processing the job...
[2025-01-13 10:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:21:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:21:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:21:03] Production.INFO: Total Charge 0
[2025-01-13 10:21:03] Production.INFO: CreateAllLog End
[2025-01-13 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238293') end
[2025-01-13 10:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:21:03] Production.INFO: 1
[2025-01-13 10:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:21:03] Production.INFO: ==23004== Lock acquired, processing the job...
[2025-01-13 10:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:21:04] Production.INFO: ==23006== Releasing lock...
[2025-01-13 10:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:21:04] Production.INFO: Account Balance End.
[2025-01-13 10:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:21:04] Production.INFO: ==23002== Releasing lock...
[2025-01-13 10:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:21:04] Production.INFO: ==22998== Releasing lock...
[2025-01-13 10:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:21:04] Production.ERROR: done
[2025-01-13 10:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:21:04] Production.ERROR: done
[2025-01-13 10:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:21:05
[end_date_ymd] => 2025-01-13 10:21:05
[RateCDR] => 1
)
[2025-01-13 10:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:21:05' and `end` < '2025-01-13 10:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:21:11] Production.ERROR: CronJobId end10
[2025-01-13 10:21:11] Production.INFO: ==23000== Releasing lock...
[2025-01-13 10:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:21:12] Production.INFO: call_cost start
[2025-01-13 10:21:12] Production.INFO: call_cost end
[2025-01-13 10:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:21:13] Production.INFO: ==22996== Releasing lock...
[2025-01-13 10:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:21:26] Production.INFO: count ==3303
[2025-01-13 10:21:27] Production.ERROR: pbx CDR StartTime 2025-01-13 07:21:05 - End Time 2025-01-13 10:21:05
[2025-01-13 10:21:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238295', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238295', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238295', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238295', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:21:27] Production.INFO: ProcessCDR(1,14238295,1,1,2)
[2025-01-13 10:21:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:21:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:21:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:21:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238295', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238295', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:21:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:21:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:21:32] Production.INFO: ==23004== Releasing lock...
[2025-01-13 10:21:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:21:32] Production.INFO: 52.5 MB #Memory Used#
[2025-01-13 15:22:01] Production.INFO: ==23064== Lock acquired, processing the job...
[2025-01-13 15:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:22:01] Production.INFO: neon service started
[2025-01-13 15:22:01] Production.INFO: neon service started
[2025-01-13 15:22:01] Production.INFO: ==23064== Releasing lock...
[2025-01-13 15:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:22:02] Production.INFO: ==23066== Lock acquired, processing the job...
[2025-01-13 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:22:02] Production.INFO: ==23068== Lock acquired, processing the job...
[2025-01-13 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:22:02] Production.INFO: ==23068== Releasing lock...
[2025-01-13 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:22:02] Production.INFO: ==23066== Releasing lock...
[2025-01-13 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:22:03] Production.INFO: ==23071== Lock acquired, processing the job...
[2025-01-13 10:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:22:03] Production.INFO: ==23073== Lock acquired, processing the job...
[2025-01-13 10:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:22:03] Production.INFO: ==23079== Lock acquired, processing the job...
[2025-01-13 10:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:22:03] Production.INFO: ==23075== Lock acquired, processing the job...
[2025-01-13 10:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:22:03] Production.INFO: ==23077== Lock acquired, processing the job...
[2025-01-13 10:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:22:03] Production.INFO: ==23073== Releasing lock...
[2025-01-13 10:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:22:03] Production.INFO: ==23081== Lock acquired, processing the job...
[2025-01-13 10:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:22:03] Production.INFO: Account Balance Start.
[2025-01-13 10:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:22:03] Production.INFO: 117
[2025-01-13 10:22:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:22:03] Production.ERROR: done
[2025-01-13 10:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:22:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 10:22:03] Production.INFO: count ==21
[2025-01-13 10:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:22:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:22:03] Production.INFO: count ==21
[2025-01-13 10:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238299') start
[2025-01-13 10:22:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:22:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:22:03] Production.ERROR: done
[2025-01-13 10:22:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:22:04] Production.INFO: Total Charge 0
[2025-01-13 10:22:04] Production.INFO: CreateAllLog End
[2025-01-13 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238299') end
[2025-01-13 10:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:22:04] Production.INFO: 1
[2025-01-13 10:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:22:04] Production.INFO: ==23081== Releasing lock...
[2025-01-13 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:22:04] Production.INFO: Account Balance End.
[2025-01-13 10:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:22:04] Production.INFO: ==23077== Releasing lock...
[2025-01-13 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:22:04
[end_date_ymd] => 2025-01-13 10:22:04
[RateCDR] => 1
)
[2025-01-13 10: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-13 07:22:04' and `end` < '2025-01-13 10: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-13 10:22:10] Production.ERROR: CronJobId end10
[2025-01-13 10:22:10] Production.INFO: ==23075== Releasing lock...
[2025-01-13 10:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:22:12] Production.INFO: call_cost start
[2025-01-13 10:22:12] Production.INFO: call_cost end
[2025-01-13 10:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:22:13] Production.INFO: ==23071== Releasing lock...
[2025-01-13 10:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:22:28] Production.INFO: count ==3352
[2025-01-13 10:22:29] Production.ERROR: pbx CDR StartTime 2025-01-13 07:22:04 - End Time 2025-01-13 10:22:04
[2025-01-13 10:22:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:22:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238300', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:22:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238300', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:22:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238300', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:22:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238300', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:22:29] Production.INFO: ProcessCDR(1,14238300,1,1,2)
[2025-01-13 10:22:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:22:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:22:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:22:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:22:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238300', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:22:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238300', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:22:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:22:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:22:34] Production.INFO: ==23079== Releasing lock...
[2025-01-13 10:22:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:22:34] Production.INFO: 53.25 MB #Memory Used#
[2025-01-13 15:23:02] Production.INFO: ==23135== Lock acquired, processing the job...
[2025-01-13 15:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:23:02] Production.INFO: neon service started
[2025-01-13 15:23:02] Production.INFO: neon service started
[2025-01-13 15:23:02] Production.INFO: ==23135== Releasing lock...
[2025-01-13 15:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:23:02] Production.INFO: ==23137== Lock acquired, processing the job...
[2025-01-13 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:23:02] Production.INFO: ==23137== Releasing lock...
[2025-01-13 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:23:02] Production.INFO: ==23139== Lock acquired, processing the job...
[2025-01-13 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:23:02] Production.INFO: ==23139== Releasing lock...
[2025-01-13 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:23:03] Production.INFO: ==23145== Lock acquired, processing the job...
[2025-01-13 10:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:23:03] Production.INFO: ==23141== Lock acquired, processing the job...
[2025-01-13 10:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:23:03] Production.INFO: ==23147== Lock acquired, processing the job...
[2025-01-13 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:23:03] Production.INFO: ==23143== Lock acquired, processing the job...
[2025-01-13 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:23:04] Production.INFO: ==23151== Lock acquired, processing the job...
[2025-01-13 10:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:23:04] Production.INFO: ==23149== Lock acquired, processing the job...
[2025-01-13 10:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:23:04] Production.INFO: Account Balance Start.
[2025-01-13 10:23:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:23:04] Production.INFO: 117
[2025-01-13 10:23:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:23:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:23:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:23:04] Production.INFO: count ==21
[2025-01-13 10:23:04] Production.INFO: ==23143== Releasing lock...
[2025-01-13 10:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:23:04] Production.INFO: count ==21
[2025-01-13 10:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238304') start
[2025-01-13 10:23:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:23:04] Production.INFO: Total Charge 0
[2025-01-13 10:23:04] Production.INFO: CreateAllLog End
[2025-01-13 10:23:04] Production.ERROR: done
[2025-01-13 10:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238304') end
[2025-01-13 10:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:23:04] Production.INFO: 1
[2025-01-13 10:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:23:04] Production.INFO: ==23151== Releasing lock...
[2025-01-13 10:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:23:04] Production.INFO: Account Balance End.
[2025-01-13 10:23:04] Production.ERROR: done
[2025-01-13 10:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:23:04] Production.INFO: ==23147== Releasing lock...
[2025-01-13 10:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:23:05
[end_date_ymd] => 2025-01-13 10:23:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:23:05' and `end` < '2025-01-13 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-13 10:23:11] Production.ERROR: CronJobId end10
[2025-01-13 10:23:11] Production.INFO: ==23145== Releasing lock...
[2025-01-13 10:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:23:13] Production.INFO: call_cost start
[2025-01-13 10:23:13] Production.INFO: call_cost end
[2025-01-13 10:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:23:14] Production.INFO: ==23141== Releasing lock...
[2025-01-13 10:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:23:26] Production.INFO: count ==3368
[2025-01-13 10:23:27] Production.ERROR: pbx CDR StartTime 2025-01-13 07:23:05 - End Time 2025-01-13 10:23:05
[2025-01-13 10:23:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:23:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238305', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:23:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238305', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:23:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238305', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:23:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238305', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:23:27] Production.INFO: ProcessCDR(1,14238305,1,1,2)
[2025-01-13 10:23:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:23:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:23:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:23:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:23:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238305', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:23:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238305', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:23:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:23:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:23:32] Production.INFO: ==23149== Releasing lock...
[2025-01-13 10:23:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:23:32] Production.INFO: 53.25 MB #Memory Used#
[2025-01-13 15:24:01] Production.INFO: ==23207== Lock acquired, processing the job...
[2025-01-13 15:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:24:01] Production.INFO: neon service started
[2025-01-13 15:24:01] Production.INFO: neon service started
[2025-01-13 15:24:01] Production.INFO: ==23207== Releasing lock...
[2025-01-13 15:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:24:02] Production.INFO: ==23211== Lock acquired, processing the job...
[2025-01-13 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:24:02] Production.INFO: ==23211== Releasing lock...
[2025-01-13 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:24:02] Production.INFO: ==23209== Lock acquired, processing the job...
[2025-01-13 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:24:02] Production.INFO: ==23209== Releasing lock...
[2025-01-13 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:24:03] Production.INFO: ==23218== Lock acquired, processing the job...
[2025-01-13 10:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:24:03] Production.INFO: ==23222== Lock acquired, processing the job...
[2025-01-13 10:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:24:03] Production.INFO: ==23214== Lock acquired, processing the job...
[2025-01-13 10:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:24:03] Production.INFO: ==23216== Lock acquired, processing the job...
[2025-01-13 10:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:24:03] Production.INFO: ==23220== Lock acquired, processing the job...
[2025-01-13 10:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:24:03] Production.INFO: ==23224== Lock acquired, processing the job...
[2025-01-13 10:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:24:03] Production.ERROR: done
[2025-01-13 10:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:24:03] Production.INFO: Account Balance Start.
[2025-01-13 10:24:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:24:03] Production.INFO: ==23216== Releasing lock...
[2025-01-13 10:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:24:03] Production.INFO: 117
[2025-01-13 10:24:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:24:03] Production.INFO: count ==21
[2025-01-13 10:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:24:03] Production.INFO: count ==21
[2025-01-13 10:24:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238308') start
[2025-01-13 10:24:04] Production.ERROR: done
[2025-01-13 10:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238308') end
[2025-01-13 10:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:24:04] Production.INFO: 1
[2025-01-13 10:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:24:04] Production.INFO: Total Charge 0
[2025-01-13 10:24:04] Production.INFO: CreateAllLog End
[2025-01-13 10:24:04] Production.INFO: ==23224== Releasing lock...
[2025-01-13 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:24:04] Production.INFO: Account Balance End.
[2025-01-13 10:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:24:04] Production.INFO: ==23220== Releasing lock...
[2025-01-13 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:24:05
[end_date_ymd] => 2025-01-13 10:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:24:05' and `end` < '2025-01-13 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-13 10:24:11] Production.ERROR: CronJobId end10
[2025-01-13 10:24:11] Production.INFO: ==23218== Releasing lock...
[2025-01-13 10:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:24:13] Production.INFO: call_cost start
[2025-01-13 10:24:13] Production.INFO: call_cost end
[2025-01-13 10:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:24:14] Production.INFO: ==23214== Releasing lock...
[2025-01-13 10:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:24:23] Production.INFO: count ==3399
[2025-01-13 10:24:25] Production.ERROR: pbx CDR StartTime 2025-01-13 07:24:05 - End Time 2025-01-13 10:24:05
[2025-01-13 10:24:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238310', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238310', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238310', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238310', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:24:25] Production.INFO: ProcessCDR(1,14238310,1,1,2)
[2025-01-13 10:24:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:24:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:24:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:24:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:24:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238310', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:24:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238310', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:24:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:24:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:24:29] Production.INFO: ==23222== Releasing lock...
[2025-01-13 10:24:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:24:29] Production.INFO: 53.25 MB #Memory Used#
[2025-01-13 15:25:01] Production.INFO: ==23278== Lock acquired, processing the job...
[2025-01-13 15:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:25:01] Production.INFO: neon service started
[2025-01-13 15:25:01] Production.INFO: neon service started
[2025-01-13 15:25:01] Production.INFO: ==23278== Releasing lock...
[2025-01-13 15:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:25:02] Production.INFO: ==23280== Lock acquired, processing the job...
[2025-01-13 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:25:02] Production.INFO: ==23280== Releasing lock...
[2025-01-13 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:25:02] Production.INFO: ==23282== Lock acquired, processing the job...
[2025-01-13 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:25:02] Production.INFO: ==23282== Releasing lock...
[2025-01-13 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:25:03] Production.INFO: ==23290== Lock acquired, processing the job...
[2025-01-13 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:25:03] Production.INFO: ==23292== Lock acquired, processing the job...
[2025-01-13 10:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:25:03] Production.INFO: Account Balance Start.
[2025-01-13 10:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:25:03] Production.INFO: 117
[2025-01-13 10:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:25:03] Production.INFO: ==23286== Lock acquired, processing the job...
[2025-01-13 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:25:03] Production.INFO: ==23284== Lock acquired, processing the job...
[2025-01-13 10:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:25:03] Production.INFO: ==23288== Lock acquired, processing the job...
[2025-01-13 10:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:25:03] Production.INFO: ==23294== Lock acquired, processing the job...
[2025-01-13 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:25:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:25:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:25:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:25:03] Production.ERROR: done
[2025-01-13 10:25:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:25:03] Production.INFO: Total Charge 0
[2025-01-13 10:25:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 10:25:03] Production.INFO: count ==21
[2025-01-13 10:25:03] Production.ERROR: done
[2025-01-13 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-13 10:25:03] Production.INFO: count ==21
[2025-01-13 10:25:04] Production.INFO: ==23286== Releasing lock...
[2025-01-13 10:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238314') start
[2025-01-13 10:25:04] Production.INFO: Account Balance End.
[2025-01-13 10:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:25:04] Production.INFO: ==23290== Releasing lock...
[2025-01-13 10:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238314') end
[2025-01-13 10:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:25:04] Production.INFO: 1
[2025-01-13 10:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:25:04] Production.INFO: ==23294== Releasing lock...
[2025-01-13 10:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:25:05
[end_date_ymd] => 2025-01-13 10:25:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:25:05' and `end` < '2025-01-13 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-13 10:25:10] Production.ERROR: CronJobId end10
[2025-01-13 10:25:10] Production.INFO: ==23288== Releasing lock...
[2025-01-13 10:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:25:13] Production.INFO: call_cost start
[2025-01-13 10:25:13] Production.INFO: call_cost end
[2025-01-13 10:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:25:14] Production.INFO: ==23284== Releasing lock...
[2025-01-13 10:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:25:25] Production.INFO: count ==3427
[2025-01-13 10:25:27] Production.ERROR: pbx CDR StartTime 2025-01-13 07:25:05 - End Time 2025-01-13 10:25:05
[2025-01-13 10:25:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238315', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238315', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238315', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238315', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:25:27] Production.INFO: ProcessCDR(1,14238315,1,1,2)
[2025-01-13 10:25:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:25:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:25:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:25:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:25:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238315', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:25:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238315', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:25:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:25:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:25:32] Production.INFO: ==23292== Releasing lock...
[2025-01-13 10:25:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:25:32] Production.INFO: 53.75 MB #Memory Used#
[2025-01-13 15:26:02] Production.INFO: ==23347== Lock acquired, processing the job...
[2025-01-13 15:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:26:02] Production.INFO: neon service started
[2025-01-13 15:26:02] Production.INFO: neon service started
[2025-01-13 15:26:02] Production.INFO: ==23347== Releasing lock...
[2025-01-13 15:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:26:02] Production.INFO: ==23349== Lock acquired, processing the job...
[2025-01-13 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:26:02] Production.INFO: ==23349== Releasing lock...
[2025-01-13 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:26:03] Production.INFO: ==23351== Lock acquired, processing the job...
[2025-01-13 15:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:26:03] Production.INFO: ==23351== Releasing lock...
[2025-01-13 15:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:26:03] Production.INFO: ==23354== Lock acquired, processing the job...
[2025-01-13 10:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:26:03] Production.INFO: ==23356== Lock acquired, processing the job...
[2025-01-13 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:26:03] Production.INFO: ==23358== Lock acquired, processing the job...
[2025-01-13 10:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:26:03] Production.INFO: ==23364== Lock acquired, processing the job...
[2025-01-13 10:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:26:03] Production.INFO: ==23360== Lock acquired, processing the job...
[2025-01-13 10:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 10:26:04] Production.INFO: ==23362== Lock acquired, processing the job...
[2025-01-13 10:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:26:04] Production.INFO: Account Balance Start.
[2025-01-13 10:26:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:26:04] Production.INFO: 117
[2025-01-13 10:26:04] Production.INFO: count ==21
[2025-01-13 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-13 10:26:04] Production.INFO: count ==21
[2025-01-13 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238318') start
[2025-01-13 10:26:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238318') end
[2025-01-13 10:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:26:04] Production.INFO: 1
[2025-01-13 10:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:26:04] Production.INFO: ==23364== Releasing lock...
[2025-01-13 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:26:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:26:04] Production.INFO: ==23356== Releasing lock...
[2025-01-13 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:26:04] Production.ERROR: done
[2025-01-13 10:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:26:04] Production.ERROR: done
[2025-01-13 10:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:26:04] Production.INFO: Total Charge 0
[2025-01-13 10:26:04] Production.INFO: CreateAllLog End
[2025-01-13 10:26:04] Production.INFO: Account Balance End.
[2025-01-13 10:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:26:04] Production.INFO: ==23360== Releasing lock...
[2025-01-13 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:26:05
[end_date_ymd] => 2025-01-13 10:26:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:26:05' and `end` < '2025-01-13 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-13 10:26:11] Production.ERROR: CronJobId end10
[2025-01-13 10:26:11] Production.INFO: ==23358== Releasing lock...
[2025-01-13 10:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:26:13] Production.INFO: call_cost start
[2025-01-13 10:26:13] Production.INFO: call_cost end
[2025-01-13 10:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:26:14] Production.INFO: ==23354== Releasing lock...
[2025-01-13 10:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:26:23] Production.INFO: count ==3466
[2025-01-13 10:26:25] Production.ERROR: pbx CDR StartTime 2025-01-13 07:26:05 - End Time 2025-01-13 10:26:05
[2025-01-13 10:26:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238320', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238320', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238320', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238320', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:26:25] Production.INFO: ProcessCDR(1,14238320,1,1,2)
[2025-01-13 10:26:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:26:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:26:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:26:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:26:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238320', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:26:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238320', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:26:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:26:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:26:29] Production.INFO: ==23362== Releasing lock...
[2025-01-13 10:26:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:26:29] Production.INFO: 54 MB #Memory Used#
[2025-01-13 15:27:01] Production.INFO: ==23418== Lock acquired, processing the job...
[2025-01-13 15:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:27:01] Production.INFO: neon service started
[2025-01-13 15:27:01] Production.INFO: neon service started
[2025-01-13 15:27:01] Production.INFO: ==23418== Releasing lock...
[2025-01-13 15:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:27:02] Production.INFO: ==23420== Lock acquired, processing the job...
[2025-01-13 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:27:02] Production.INFO: ==23420== Releasing lock...
[2025-01-13 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:27:02] Production.INFO: ==23422== Lock acquired, processing the job...
[2025-01-13 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:27:02] Production.INFO: ==23422== Releasing lock...
[2025-01-13 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:27:03] Production.INFO: ==23424== Lock acquired, processing the job...
[2025-01-13 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:27:03] Production.INFO: ==23428== Lock acquired, processing the job...
[2025-01-13 10:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:27:03] Production.INFO: ==23426== Lock acquired, processing the job...
[2025-01-13 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:27:03] Production.INFO: ==23430== Lock acquired, processing the job...
[2025-01-13 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:27:03] Production.INFO: ==23432== Lock acquired, processing the job...
[2025-01-13 10:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:27:03] Production.INFO: ==23426== Releasing lock...
[2025-01-13 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:27:03] Production.INFO: ==23434== Lock acquired, processing the job...
[2025-01-13 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:27:03] Production.INFO: Account Balance Start.
[2025-01-13 10:27:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:27:03] Production.INFO: 117
[2025-01-13 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-13 10:27:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:27:03] Production.INFO: count ==21
[2025-01-13 10:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:27:03] Production.ERROR: done
[2025-01-13 10:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 10:27:03] Production.INFO: count ==21
[2025-01-13 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238324') start
[2025-01-13 10:27:04] Production.ERROR: done
[2025-01-13 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238324') end
[2025-01-13 10:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:27:04] Production.INFO: 1
[2025-01-13 10:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:27:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:27:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:27:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:27:04] Production.INFO: ==23434== Releasing lock...
[2025-01-13 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:27:04] Production.INFO: Total Charge 0
[2025-01-13 10:27:04] Production.INFO: CreateAllLog End
[2025-01-13 10:27:04] Production.INFO: Account Balance End.
[2025-01-13 10:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:27:04] Production.INFO: ==23430== Releasing lock...
[2025-01-13 10:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:27:04
[end_date_ymd] => 2025-01-13 10:27:04
[RateCDR] => 1
)
[2025-01-13 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-13 07:27:04' and `end` < '2025-01-13 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-13 10:27:11] Production.ERROR: CronJobId end10
[2025-01-13 10:27:11] Production.INFO: ==23428== Releasing lock...
[2025-01-13 10:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:27:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:27:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:27:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:27:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:27:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:27:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:27:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:27:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:27:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:27:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:27:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:27:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:27:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:27:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:27:12] Production.INFO: call_cost start
[2025-01-13 10:27:12] Production.INFO: call_cost end
[2025-01-13 10:27:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:27:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:27:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:27:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:27:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:27:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:27:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:27:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:27:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:27:12] Production.INFO: ==23424== Releasing lock...
[2025-01-13 10:27:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:27:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:27:18] Production.INFO: count ==3473
[2025-01-13 10:27:19] Production.ERROR: pbx CDR StartTime 2025-01-13 07:27:04 - End Time 2025-01-13 10:27:04
[2025-01-13 10:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238325', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238325', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238325', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238325', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:27:19] Production.INFO: ProcessCDR(1,14238325,1,1,2)
[2025-01-13 10:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238325', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238325', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:27:24] Production.INFO: ==23432== Releasing lock...
[2025-01-13 10:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:27:24] Production.INFO: 54 MB #Memory Used#
[2025-01-13 15:28:02] Production.INFO: ==23498== Lock acquired, processing the job...
[2025-01-13 15:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:28:02] Production.INFO: neon service started
[2025-01-13 15:28:02] Production.INFO: neon service started
[2025-01-13 15:28:02] Production.INFO: ==23498== Releasing lock...
[2025-01-13 15:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:28:02] Production.INFO: ==23500== Lock acquired, processing the job...
[2025-01-13 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:28:02] Production.INFO: ==23500== Releasing lock...
[2025-01-13 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:28:02] Production.INFO: ==23502== Lock acquired, processing the job...
[2025-01-13 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:28:02] Production.INFO: ==23502== Releasing lock...
[2025-01-13 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:28:03] Production.INFO: ==23504== Lock acquired, processing the job...
[2025-01-13 10:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:28:03] Production.INFO: ==23506== Lock acquired, processing the job...
[2025-01-13 10:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:28:03] Production.INFO: ==23508== Lock acquired, processing the job...
[2025-01-13 10:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:28:03] Production.INFO: ==23510== Lock acquired, processing the job...
[2025-01-13 10:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:28:03] Production.INFO: Account Balance Start.
[2025-01-13 10:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:28:03] Production.INFO: 117
[2025-01-13 10:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:28:03] Production.INFO: ==23512== Lock acquired, processing the job...
[2025-01-13 10:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:28:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:28:04] Production.INFO: ==23514== Lock acquired, processing the job...
[2025-01-13 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:28:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 10:28:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:28:04] Production.INFO: count ==21
[2025-01-13 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-13 10:28:04] Production.INFO: count ==21
[2025-01-13 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238329') start
[2025-01-13 10:28:04] Production.INFO: ==23506== Releasing lock...
[2025-01-13 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:28:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:28:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:28:04] Production.INFO: Total Charge 0
[2025-01-13 10:28:04] Production.INFO: CreateAllLog End
[2025-01-13 10:28:04] Production.ERROR: done
[2025-01-13 10:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238329') end
[2025-01-13 10:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:28:04] Production.INFO: 1
[2025-01-13 10:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:28:04] Production.INFO: ==23514== Releasing lock...
[2025-01-13 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:28:04] Production.ERROR: done
[2025-01-13 10:28:04] Production.INFO: Account Balance End.
[2025-01-13 10:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:28:04] Production.INFO: ==23510== Releasing lock...
[2025-01-13 10:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:28:05
[end_date_ymd] => 2025-01-13 10:28:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:28:05' and `end` < '2025-01-13 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-13 10:28:12] Production.ERROR: CronJobId end10
[2025-01-13 10:28:12] Production.INFO: ==23508== Releasing lock...
[2025-01-13 10:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:28:13] Production.INFO: call_cost start
[2025-01-13 10:28:13] Production.INFO: call_cost end
[2025-01-13 10:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:28:14] Production.INFO: ==23504== Releasing lock...
[2025-01-13 10:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:28:18] Production.INFO: count ==3513
[2025-01-13 10:28:20] Production.ERROR: pbx CDR StartTime 2025-01-13 07:28:05 - End Time 2025-01-13 10:28:05
[2025-01-13 10:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238330', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238330', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238330', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238330', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:28:20] Production.INFO: ProcessCDR(1,14238330,1,1,2)
[2025-01-13 10:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:28:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:28:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238330', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238330', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:28:24] Production.INFO: ==23512== Releasing lock...
[2025-01-13 10:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:28:24] Production.INFO: 54.5 MB #Memory Used#
[2025-01-13 15:29:01] Production.INFO: ==23570== Lock acquired, processing the job...
[2025-01-13 15:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:29:01] Production.INFO: neon service started
[2025-01-13 15:29:01] Production.INFO: neon service started
[2025-01-13 15:29:01] Production.INFO: ==23570== Releasing lock...
[2025-01-13 15:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:29:01] Production.INFO: ==23572== Lock acquired, processing the job...
[2025-01-13 10:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:29:02] Production.INFO: ==23572== Releasing lock...
[2025-01-13 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:29:02] Production.INFO: ==23574== Lock acquired, processing the job...
[2025-01-13 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:29:02] Production.INFO: ==23574== Releasing lock...
[2025-01-13 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:29:03] Production.INFO: ==23585== Lock acquired, processing the job...
[2025-01-13 10:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:29:03] Production.INFO: ==23576== Lock acquired, processing the job...
[2025-01-13 10:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:29:03] Production.INFO: ==23578== Lock acquired, processing the job...
[2025-01-13 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:29:03] Production.INFO: ==23580== Lock acquired, processing the job...
[2025-01-13 10:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:29:03] Production.INFO: ==23587== Lock acquired, processing the job...
[2025-01-13 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:29:03] Production.INFO: ==23583== Lock acquired, processing the job...
[2025-01-13 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:29:03] Production.INFO: Account Balance Start.
[2025-01-13 10:29:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:29:03] Production.INFO: 117
[2025-01-13 10:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:29:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:29:03] Production.INFO: count ==21
[2025-01-13 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-13 10:29:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:29:03] Production.INFO: count ==21
[2025-01-13 10:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238333') start
[2025-01-13 10:29:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:29:03] Production.ERROR: done
[2025-01-13 10:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:29:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238333') end
[2025-01-13 10:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:29:03] Production.INFO: 1
[2025-01-13 10:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:29:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:29:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:29:03] Production.INFO: ==23587== Releasing lock...
[2025-01-13 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:29:03] Production.INFO: Total Charge 0
[2025-01-13 10:29:03] Production.INFO: CreateAllLog End
[2025-01-13 10:29:03] Production.INFO: ==23578== Releasing lock...
[2025-01-13 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:29:03] Production.ERROR: done
[2025-01-13 10:29:03] Production.INFO: Account Balance End.
[2025-01-13 10:29:03] Production.ERROR: CronJobId end 12
[2025-01-13 10:29:03] Production.INFO: ==23583== Releasing lock...
[2025-01-13 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:29:04
[end_date_ymd] => 2025-01-13 10:29:04
[RateCDR] => 1
)
[2025-01-13 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-13 07:29:04' and `end` < '2025-01-13 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-13 10:29:11] Production.ERROR: CronJobId end10
[2025-01-13 10:29:11] Production.INFO: ==23580== Releasing lock...
[2025-01-13 10:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:29:12] Production.INFO: call_cost start
[2025-01-13 10:29:12] Production.INFO: call_cost end
[2025-01-13 10:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:29:13] Production.INFO: ==23576== Releasing lock...
[2025-01-13 10:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:29:21] Production.INFO: count ==3558
[2025-01-13 10:29:23] Production.ERROR: pbx CDR StartTime 2025-01-13 07:29:04 - End Time 2025-01-13 10:29:04
[2025-01-13 10:29:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238335', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238335', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238335', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238335', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:29:23] Production.INFO: ProcessCDR(1,14238335,1,1,2)
[2025-01-13 10:29:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:29:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:29:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:29:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238335', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:29:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238335', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:29:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:29:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:29:28] Production.INFO: ==23585== Releasing lock...
[2025-01-13 10:29:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:29:28] Production.INFO: 54.5 MB #Memory Used#
[2025-01-13 15:30:01] Production.INFO: ==23641== Lock acquired, processing the job...
[2025-01-13 15:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:30:01] Production.INFO: neon service started
[2025-01-13 15:30:02] Production.INFO: neon service started
[2025-01-13 15:30:02] Production.INFO: ==23641== Releasing lock...
[2025-01-13 15:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:30:02] Production.INFO: ==23643== Lock acquired, processing the job...
[2025-01-13 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:30:02] Production.INFO: ==23643== Releasing lock...
[2025-01-13 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:30:02] Production.INFO: ==23645== Lock acquired, processing the job...
[2025-01-13 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:30:02] Production.INFO: ==23645== Releasing lock...
[2025-01-13 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:30:03] Production.INFO: ==23647== Lock acquired, processing the job...
[2025-01-13 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 10:30:03] Production.INFO: ==23649== Lock acquired, processing the job...
[2025-01-13 10:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 10:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 10:30:03] Production.INFO: ==23647== Releasing lock...
[2025-01-13 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 10:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 10:30:03] Production.INFO: ==23651== Lock acquired, processing the job...
[2025-01-13 10:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:30:03] Production.INFO: ==23655== Lock acquired, processing the job...
[2025-01-13 10:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:30:03] Production.INFO: Account Balance Start.
[2025-01-13 10:30:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:30:03] Production.INFO: 117
[2025-01-13 10:30:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:30:04] Production.INFO: ==23651== Releasing lock...
[2025-01-13 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:30:04] Production.INFO: ==23653== Lock acquired, processing the job...
[2025-01-13 10:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:30:04] Production.INFO: Total Charge 0
[2025-01-13 10:30:04] Production.INFO: CreateAllLog End
[2025-01-13 10:30:04] Production.INFO: ==23657== Lock acquired, processing the job...
[2025-01-13 10:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:30:04] Production.INFO: Account Balance End.
[2025-01-13 10:30:04] Production.INFO: ==23661== Lock acquired, processing the job...
[2025-01-13 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:30:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:30:04] Production.INFO: ==23655== Releasing lock...
[2025-01-13 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:30:04] Production.INFO: ==23659== Lock acquired, processing the job...
[2025-01-13 10:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 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-13 10:30:04] Production.INFO: count ==21
[2025-01-13 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 10:30:04] Production.INFO: count ==21
[2025-01-13 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238339') start
[2025-01-13 10:30:04] Production.ERROR: done
[2025-01-13 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238339') end
[2025-01-13 10:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:30:04] Production.INFO: 1
[2025-01-13 10:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:30:04] Production.INFO: ==23661== Releasing lock...
[2025-01-13 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:30:04] Production.ERROR: done
[2025-01-13 10:30:04] Production.ERROR: done
[2025-01-13 10:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 10:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238340', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 10:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:30:06
[end_date_ymd] => 2025-01-13 10:30:06
[RateCDR] => 1
)
[2025-01-13 10:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:30:06' and `end` < '2025-01-13 10:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238340', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 10:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 10:30:08] Production.INFO: ProcessCDR(1,14238340,1,1,2)
[2025-01-13 10:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238340,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238340,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:30:08] Production.INFO: ==23659== Releasing lock...
[2025-01-13 10:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 10:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 10:30:14] Production.ERROR: CronJobId end10
[2025-01-13 10:30:14] Production.INFO: ==23653== Releasing lock...
[2025-01-13 10:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:30:15] Production.INFO: call_cost start
[2025-01-13 10:30:15] Production.INFO: call_cost end
[2025-01-13 10:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:30:15] Production.INFO: ==23649== Releasing lock...
[2025-01-13 10:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:30:23] Production.INFO: count ==3577
[2025-01-13 10:30:25] Production.ERROR: pbx CDR StartTime 2025-01-13 07:30:06 - End Time 2025-01-13 10:30:06
[2025-01-13 10:30:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:30:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238341', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:30:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238341', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:30:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238341', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:30:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238341', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:30:25] Production.INFO: ProcessCDR(1,14238341,1,1,2)
[2025-01-13 10:30:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:30:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:30:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:30:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:30:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238341', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:30:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238341', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:30:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:30:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:30:30] Production.INFO: ==23657== Releasing lock...
[2025-01-13 10:30:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:30:30] Production.INFO: 55 MB #Memory Used#
[2025-01-13 15:31:01] Production.INFO: ==23717== Lock acquired, processing the job...
[2025-01-13 15:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:31:01] Production.INFO: neon service started
[2025-01-13 15:31:01] Production.INFO: neon service started
[2025-01-13 15:31:01] Production.INFO: ==23717== Releasing lock...
[2025-01-13 15:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:31:01] Production.INFO: ==23721== Lock acquired, processing the job...
[2025-01-13 15:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:31:01] Production.INFO: ==23721== Releasing lock...
[2025-01-13 15:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:31:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:31:01] Production.INFO: ==23719== Lock acquired, processing the job...
[2025-01-13 10:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:31:02] Production.INFO: ==23719== Releasing lock...
[2025-01-13 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:31:02] Production.INFO: ==23725== Lock acquired, processing the job...
[2025-01-13 10:31:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:31:02] Production.INFO: ==23729== Lock acquired, processing the job...
[2025-01-13 10:31:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:31:03] Production.INFO: Account Balance Start.
[2025-01-13 10:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:31:03] Production.INFO: 117
[2025-01-13 10:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:31:03] Production.INFO: ==23723== Lock acquired, processing the job...
[2025-01-13 10:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:31:03] Production.INFO: ==23727== Lock acquired, processing the job...
[2025-01-13 10:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:31:03] Production.INFO: ==23725== Releasing lock...
[2025-01-13 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:31:03] Production.INFO: ==23733== Lock acquired, processing the job...
[2025-01-13 10:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:31:03] Production.INFO: ==23731== Lock acquired, processing the job...
[2025-01-13 10:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:31:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:31:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:31:03] Production.INFO: Total Charge 0
[2025-01-13 10:31:03] Production.INFO: count ==21
[2025-01-13 10:31:03] Production.INFO: CreateAllLog End
[2025-01-13 10:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:31:03] Production.INFO: count ==21
[2025-01-13 10:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238345') start
[2025-01-13 10:31:03] Production.ERROR: done
[2025-01-13 10:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238345') end
[2025-01-13 10:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:31:03] Production.INFO: 1
[2025-01-13 10:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:31:03] Production.ERROR: done
[2025-01-13 10:31:04] Production.INFO: ==23733== Releasing lock...
[2025-01-13 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:31:04] Production.INFO: Account Balance End.
[2025-01-13 10:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:31:04] Production.INFO: ==23729== Releasing lock...
[2025-01-13 10:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:31:04
[end_date_ymd] => 2025-01-13 10:31:04
[RateCDR] => 1
)
[2025-01-13 10:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:31:04' and `end` < '2025-01-13 10:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:31:10] Production.ERROR: CronJobId end10
[2025-01-13 10:31:10] Production.INFO: ==23727== Releasing lock...
[2025-01-13 10:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:31:13] Production.INFO: call_cost start
[2025-01-13 10:31:13] Production.INFO: call_cost end
[2025-01-13 10:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:31:14] Production.INFO: ==23723== Releasing lock...
[2025-01-13 10:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:31:19] Production.INFO: count ==3675
[2025-01-13 10:31:20] Production.ERROR: pbx CDR StartTime 2025-01-13 07:31:04 - End Time 2025-01-13 10:31:04
[2025-01-13 10:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238346', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238346', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238346', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238346', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:31:20] Production.INFO: ProcessCDR(1,14238346,1,1,2)
[2025-01-13 10:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238346', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238346', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:31:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:31:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:31:25] Production.INFO: ==23731== Releasing lock...
[2025-01-13 10:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:31:25] Production.INFO: 55.5 MB #Memory Used#
[2025-01-13 15:32:02] Production.INFO: ==23788== Lock acquired, processing the job...
[2025-01-13 15:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:32:02] Production.INFO: neon service started
[2025-01-13 15:32:02] Production.INFO: neon service started
[2025-01-13 15:32:02] Production.INFO: ==23788== Releasing lock...
[2025-01-13 15:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:32:02] Production.INFO: ==23790== Lock acquired, processing the job...
[2025-01-13 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:32:02] Production.INFO: ==23790== Releasing lock...
[2025-01-13 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:32:02] Production.INFO: ==23792== Lock acquired, processing the job...
[2025-01-13 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:32:03] Production.INFO: ==23792== Releasing lock...
[2025-01-13 15:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:32:03] Production.INFO: ==23797== Lock acquired, processing the job...
[2025-01-13 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:32:03] Production.INFO: ==23805== Lock acquired, processing the job...
[2025-01-13 10:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:32:04] Production.INFO: ==23795== Lock acquired, processing the job...
[2025-01-13 10:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:32:04] Production.INFO: ==23801== Lock acquired, processing the job...
[2025-01-13 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:32:04] Production.INFO: ==23799== Lock acquired, processing the job...
[2025-01-13 10:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:32:04] Production.INFO: count ==21
[2025-01-13 10:32:04] Production.INFO: ==23803== Lock acquired, processing the job...
[2025-01-13 10:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:32:04] Production.INFO: count ==21
[2025-01-13 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238348') start
[2025-01-13 10:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:32:04] Production.INFO: Account Balance Start.
[2025-01-13 10:32:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:32:04] Production.INFO: 117
[2025-01-13 10:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:32:04] Production.INFO: ==23797== Releasing lock...
[2025-01-13 10:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:32:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:32:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238348') end
[2025-01-13 10:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:32:04] Production.INFO: 1
[2025-01-13 10:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:32:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:32:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:32:04] Production.INFO: ==23805== Releasing lock...
[2025-01-13 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:32:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:32:04] Production.ERROR: done
[2025-01-13 10:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:32:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:32:04] Production.INFO: Total Charge 0
[2025-01-13 10:32:04] Production.INFO: CreateAllLog End
[2025-01-13 10:32:04] Production.ERROR: done
[2025-01-13 10:32:04] Production.INFO: Account Balance End.
[2025-01-13 10:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:32:04] Production.INFO: ==23801== Releasing lock...
[2025-01-13 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:32:05
[end_date_ymd] => 2025-01-13 10:32:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:32:05' and `end` < '2025-01-13 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-13 10:32:11] Production.ERROR: CronJobId end10
[2025-01-13 10:32:11] Production.INFO: ==23799== Releasing lock...
[2025-01-13 10:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:32:14] Production.INFO: call_cost start
[2025-01-13 10:32:14] Production.INFO: call_cost end
[2025-01-13 10:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:32:15] Production.INFO: ==23795== Releasing lock...
[2025-01-13 10:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:32:26] Production.INFO: count ==3706
[2025-01-13 10:32:27] Production.ERROR: pbx CDR StartTime 2025-01-13 07:32:05 - End Time 2025-01-13 10:32:05
[2025-01-13 10:32:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:32:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238351', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:32:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238351', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:32:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238351', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:32:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238351', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:32:27] Production.INFO: ProcessCDR(1,14238351,1,1,2)
[2025-01-13 10:32:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:32:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:32:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:32:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:32:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238351', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:32:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238351', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:32:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:32:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:32:32] Production.INFO: ==23803== Releasing lock...
[2025-01-13 10:32:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:32:32] Production.INFO: 55.75 MB #Memory Used#
[2025-01-13 15:33:01] Production.INFO: ==23860== Lock acquired, processing the job...
[2025-01-13 15:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:33:01] Production.INFO: neon service started
[2025-01-13 15:33:01] Production.INFO: neon service started
[2025-01-13 15:33:01] Production.INFO: ==23860== Releasing lock...
[2025-01-13 15:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:33:02] Production.INFO: ==23862== Lock acquired, processing the job...
[2025-01-13 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:33:02] Production.INFO: ==23862== Releasing lock...
[2025-01-13 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:33:02] Production.INFO: ==23864== Lock acquired, processing the job...
[2025-01-13 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:33:02] Production.INFO: ==23864== Releasing lock...
[2025-01-13 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:33:03] Production.INFO: ==23869== Lock acquired, processing the job...
[2025-01-13 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:33:03] Production.INFO: ==23877== Lock acquired, processing the job...
[2025-01-13 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:33:03] Production.INFO: ==23867== Lock acquired, processing the job...
[2025-01-13 10:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:33:03] Production.INFO: count ==21
[2025-01-13 10:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:33:03] Production.INFO: count ==21
[2025-01-13 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238352') start
[2025-01-13 10:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:33:03] Production.INFO: ==23873== Lock acquired, processing the job...
[2025-01-13 10:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:33:03] Production.INFO: ==23871== Lock acquired, processing the job...
[2025-01-13 10:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238352') end
[2025-01-13 10:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:33:03] Production.INFO: 1
[2025-01-13 10:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:33:03] Production.INFO: ==23875== Lock acquired, processing the job...
[2025-01-13 10:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:33:03] Production.INFO: ==23877== Releasing lock...
[2025-01-13 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:33:03] Production.INFO: Account Balance Start.
[2025-01-13 10:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:33:03] Production.INFO: 117
[2025-01-13 10:33:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:33:03] Production.INFO: ==23869== Releasing lock...
[2025-01-13 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:33:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:33:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:33:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:33:04] Production.ERROR: done
[2025-01-13 10:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:33:04] Production.ERROR: done
[2025-01-13 10:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:33:04] Production.INFO: Total Charge 0
[2025-01-13 10:33:04] Production.INFO: CreateAllLog End
[2025-01-13 10:33:04] Production.INFO: Account Balance End.
[2025-01-13 10:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:33:04] Production.INFO: ==23873== Releasing lock...
[2025-01-13 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:33:05
[end_date_ymd] => 2025-01-13 10:33:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:33:05' and `end` < '2025-01-13 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-13 10:33:11] Production.ERROR: CronJobId end10
[2025-01-13 10:33:11] Production.INFO: ==23871== Releasing lock...
[2025-01-13 10:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:33:12] Production.INFO: call_cost start
[2025-01-13 10:33:12] Production.INFO: call_cost end
[2025-01-13 10:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:33:13] Production.INFO: ==23867== Releasing lock...
[2025-01-13 10:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:33:25] Production.INFO: count ==3746
[2025-01-13 10:33:27] Production.ERROR: pbx CDR StartTime 2025-01-13 07:33:05 - End Time 2025-01-13 10:33:05
[2025-01-13 10:33:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238356', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238356', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238356', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238356', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:33:27] Production.INFO: ProcessCDR(1,14238356,1,1,2)
[2025-01-13 10:33:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:33:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:33:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:33:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:33:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238356', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:33:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238356', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:33:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:33:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:33:32] Production.INFO: ==23875== Releasing lock...
[2025-01-13 10:33:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:33:32] Production.INFO: 56 MB #Memory Used#
[2025-01-13 15:34:02] Production.INFO: ==23933== Lock acquired, processing the job...
[2025-01-13 15:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:34:02] Production.INFO: neon service started
[2025-01-13 15:34:02] Production.INFO: neon service started
[2025-01-13 15:34:02] Production.INFO: ==23933== Releasing lock...
[2025-01-13 15:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:34:02] Production.INFO: ==23937== Lock acquired, processing the job...
[2025-01-13 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:34:02] Production.INFO: ==23937== Releasing lock...
[2025-01-13 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:34:02] Production.INFO: ==23935== Lock acquired, processing the job...
[2025-01-13 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:34:03] Production.INFO: ==23935== Releasing lock...
[2025-01-13 10:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:34:03] Production.INFO: ==23939== Lock acquired, processing the job...
[2025-01-13 10:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:34:03] Production.INFO: ==23941== Lock acquired, processing the job...
[2025-01-13 10:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:34:03] Production.INFO: ==23945== Lock acquired, processing the job...
[2025-01-13 10:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:34:04] Production.INFO: ==23943== Lock acquired, processing the job...
[2025-01-13 10:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:34:04] Production.INFO: ==23947== Lock acquired, processing the job...
[2025-01-13 10:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:34:04] Production.INFO: Account Balance Start.
[2025-01-13 10:34:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:34:04] Production.INFO: 117
[2025-01-13 10:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:34:04] Production.INFO: ==23950== Lock acquired, processing the job...
[2025-01-13 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:34:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:34:04] Production.INFO: ==23941== Releasing lock...
[2025-01-13 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:34:04] Production.ERROR: done
[2025-01-13 10:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:34:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:34:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:34:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:34:04] Production.INFO: count ==21
[2025-01-13 10:34:04] Production.ERROR: done
[2025-01-13 10:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 10:34:04] Production.INFO: count ==21
[2025-01-13 10:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:34:04] Production.INFO: Total Charge 0
[2025-01-13 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238360') start
[2025-01-13 10:34:04] Production.INFO: CreateAllLog End
[2025-01-13 10:34:04] Production.INFO: Account Balance End.
[2025-01-13 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238360') end
[2025-01-13 10:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:34:04] Production.INFO: 1
[2025-01-13 10:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:34:04] Production.INFO: ==23950== Releasing lock...
[2025-01-13 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:34:04] Production.INFO: ==23945== Releasing lock...
[2025-01-13 10:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:34:05
[end_date_ymd] => 2025-01-13 10:34:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:34:05' and `end` < '2025-01-13 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-13 10:34:12] Production.ERROR: CronJobId end10
[2025-01-13 10:34:12] Production.INFO: ==23943== Releasing lock...
[2025-01-13 10:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:34:13] Production.INFO: call_cost start
[2025-01-13 10:34:13] Production.INFO: call_cost end
[2025-01-13 10:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:34:14] Production.INFO: ==23939== Releasing lock...
[2025-01-13 10:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:34:27] Production.INFO: count ==3773
[2025-01-13 10:34:28] Production.ERROR: pbx CDR StartTime 2025-01-13 07:34:05 - End Time 2025-01-13 10:34:05
[2025-01-13 10:34:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:34:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238361', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:34:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238361', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:34:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238361', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:34:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238361', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:34:28] Production.INFO: ProcessCDR(1,14238361,1,1,2)
[2025-01-13 10:34:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:34:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:34:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:34:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:34:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238361', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:34:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238361', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:34:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:34:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:34:33] Production.INFO: ==23947== Releasing lock...
[2025-01-13 10:34:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:34:33] Production.INFO: 56.25 MB #Memory Used#
[2025-01-13 15:35:01] Production.INFO: ==24002== Lock acquired, processing the job...
[2025-01-13 15:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:35:01] Production.INFO: neon service started
[2025-01-13 15:35:01] Production.INFO: neon service started
[2025-01-13 15:35:01] Production.INFO: ==24002== Releasing lock...
[2025-01-13 15:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:35:01] Production.INFO: ==24004== Lock acquired, processing the job...
[2025-01-13 10:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:35:02] Production.INFO: ==24004== Releasing lock...
[2025-01-13 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:35:02] Production.INFO: ==24006== Lock acquired, processing the job...
[2025-01-13 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:35:02] Production.INFO: ==24006== Releasing lock...
[2025-01-13 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:35:03] Production.INFO: ==24012== Lock acquired, processing the job...
[2025-01-13 10:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:35:03] Production.INFO: ==24008== Lock acquired, processing the job...
[2025-01-13 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:35:03] Production.INFO: ==24018== Lock acquired, processing the job...
[2025-01-13 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:35:03] Production.INFO: ==24010== Lock acquired, processing the job...
[2025-01-13 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 10:35:03] Production.INFO: ==24014== Lock acquired, processing the job...
[2025-01-13 10:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:35:03] Production.INFO: count ==21
[2025-01-13 10:35:03] Production.INFO: ==24016== Lock acquired, processing the job...
[2025-01-13 10:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 10:35:03] Production.INFO: count ==21
[2025-01-13 10:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238364') start
[2025-01-13 10:35:03] Production.INFO: Account Balance Start.
[2025-01-13 10:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:35:03] Production.INFO: 117
[2025-01-13 10:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:35:03] Production.INFO: ==24010== Releasing lock...
[2025-01-13 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238364') end
[2025-01-13 10:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:35:03] Production.INFO: 1
[2025-01-13 10:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:35:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:35:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:35:03] Production.INFO: ==24018== Releasing lock...
[2025-01-13 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:35:03] Production.ERROR: done
[2025-01-13 10:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:35:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:35:03] Production.ERROR: done
[2025-01-13 10:35:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:35:04] Production.INFO: Total Charge 0
[2025-01-13 10:35:04] Production.INFO: CreateAllLog End
[2025-01-13 10:35:04] Production.INFO: Account Balance End.
[2025-01-13 10:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:35:04] Production.INFO: ==24014== Releasing lock...
[2025-01-13 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:35:04
[end_date_ymd] => 2025-01-13 10:35:04
[RateCDR] => 1
)
[2025-01-13 10: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-13 07:35:04' and `end` < '2025-01-13 10: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-13 10:35:10] Production.ERROR: CronJobId end10
[2025-01-13 10:35:10] Production.INFO: ==24012== Releasing lock...
[2025-01-13 10:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:35:13] Production.INFO: call_cost start
[2025-01-13 10:35:13] Production.INFO: call_cost end
[2025-01-13 10:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:35:14] Production.INFO: ==24008== Releasing lock...
[2025-01-13 10:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:35:31] Production.INFO: count ==3793
[2025-01-13 10:35:32] Production.ERROR: pbx CDR StartTime 2025-01-13 07:35:04 - End Time 2025-01-13 10:35:04
[2025-01-13 10:35:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:35:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238366', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:35:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238366', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:35:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238366', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:35:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238366', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:35:33] Production.INFO: ProcessCDR(1,14238366,1,1,2)
[2025-01-13 10:35:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:35:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:35:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:35:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:35:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238366', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:35:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238366', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:35:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:35:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:35:37] Production.INFO: ==24016== Releasing lock...
[2025-01-13 10:35:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:35:37] Production.INFO: 56.25 MB #Memory Used#
[2025-01-13 15:36:02] Production.INFO: ==24111== Lock acquired, processing the job...
[2025-01-13 15:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:36:02] Production.INFO: neon service started
[2025-01-13 15:36:02] Production.INFO: neon service started
[2025-01-13 15:36:02] Production.INFO: ==24111== Releasing lock...
[2025-01-13 15:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:36:02] Production.INFO: ==24113== Lock acquired, processing the job...
[2025-01-13 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:36:02] Production.INFO: ==24113== Releasing lock...
[2025-01-13 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:36:02] Production.INFO: ==24115== Lock acquired, processing the job...
[2025-01-13 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:36:02] Production.INFO: ==24115== Releasing lock...
[2025-01-13 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:36:03] Production.INFO: ==24126== Lock acquired, processing the job...
[2025-01-13 10:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:36:03] Production.INFO: ==24124== Lock acquired, processing the job...
[2025-01-13 10:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:36:03] Production.INFO: ==24120== Lock acquired, processing the job...
[2025-01-13 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:36:03] Production.INFO: Account Balance Start.
[2025-01-13 10:36:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:36:03] Production.INFO: 117
[2025-01-13 10:36:03] Production.INFO: ==24118== Lock acquired, processing the job...
[2025-01-13 10:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:36:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:36:03] Production.INFO: ==24122== Lock acquired, processing the job...
[2025-01-13 10:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:36:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:36:03] Production.INFO: ==24128== Lock acquired, processing the job...
[2025-01-13 10:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:36:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:36:04] Production.ERROR: done
[2025-01-13 10:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:36:04] Production.INFO: count ==21
[2025-01-13 10:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:36:04] Production.INFO: count ==21
[2025-01-13 10:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238370') start
[2025-01-13 10:36:04] Production.INFO: Total Charge 0
[2025-01-13 10:36:04] Production.INFO: ==24120== Releasing lock...
[2025-01-13 10:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:36:04] Production.INFO: CreateAllLog End
[2025-01-13 10:36:04] Production.ERROR: done
[2025-01-13 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238370') end
[2025-01-13 10:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:36:04] Production.INFO: 1
[2025-01-13 10:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:36:04] Production.INFO: ==24128== Releasing lock...
[2025-01-13 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:36:04] Production.INFO: Account Balance End.
[2025-01-13 10:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:36:04] Production.INFO: ==24124== Releasing lock...
[2025-01-13 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:36:05
[end_date_ymd] => 2025-01-13 10:36:05
[RateCDR] => 1
)
[2025-01-13 10:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:36:05' and `end` < '2025-01-13 10:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:36:11] Production.ERROR: CronJobId end10
[2025-01-13 10:36:11] Production.INFO: ==24122== Releasing lock...
[2025-01-13 10:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:36:13] Production.INFO: call_cost start
[2025-01-13 10:36:13] Production.INFO: call_cost end
[2025-01-13 10:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:36:14] Production.INFO: ==24118== Releasing lock...
[2025-01-13 10:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:36:23] Production.INFO: count ==3805
[2025-01-13 10:36:25] Production.ERROR: pbx CDR StartTime 2025-01-13 07:36:05 - End Time 2025-01-13 10:36:05
[2025-01-13 10:36:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:36:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238371', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:36:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238371', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:36:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238371', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:36:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238371', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:36:25] Production.INFO: ProcessCDR(1,14238371,1,1,2)
[2025-01-13 10:36:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:36:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:36:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:36:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:36:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238371', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:36:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238371', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:36:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:36:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:36:30] Production.INFO: ==24126== Releasing lock...
[2025-01-13 10:36:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:36:30] Production.INFO: 56.5 MB #Memory Used#
[2025-01-13 15:37:01] Production.INFO: ==24182== Lock acquired, processing the job...
[2025-01-13 15:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:37:01] Production.INFO: neon service started
[2025-01-13 15:37:01] Production.INFO: neon service started
[2025-01-13 15:37:01] Production.INFO: ==24182== Releasing lock...
[2025-01-13 15:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:37:02] Production.INFO: ==24185== Lock acquired, processing the job...
[2025-01-13 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:37:02] Production.INFO: ==24187== Lock acquired, processing the job...
[2025-01-13 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:37:02] Production.INFO: ==24187== Releasing lock...
[2025-01-13 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:37:02] Production.INFO: ==24185== Releasing lock...
[2025-01-13 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:37:03] Production.INFO: ==24189== Lock acquired, processing the job...
[2025-01-13 10:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:37:03] Production.INFO: ==24191== Lock acquired, processing the job...
[2025-01-13 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:37:03] Production.INFO: ==24193== Lock acquired, processing the job...
[2025-01-13 10:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:37:03] Production.INFO: ==24195== Lock acquired, processing the job...
[2025-01-13 10:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:37:03] Production.INFO: ==24199== Lock acquired, processing the job...
[2025-01-13 10:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:37:03] Production.INFO: ==24197== Lock acquired, processing the job...
[2025-01-13 10:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:37:03] Production.INFO: count ==21
[2025-01-13 10:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:37:03] Production.INFO: Account Balance Start.
[2025-01-13 10:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:37:03] Production.INFO: 117
[2025-01-13 10:37:03] Production.INFO: count ==21
[2025-01-13 10:37:03] Production.INFO: ==24191== Releasing lock...
[2025-01-13 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238374') start
[2025-01-13 10:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238374') end
[2025-01-13 10:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:37:04] Production.INFO: 1
[2025-01-13 10:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:37:04] Production.ERROR: done
[2025-01-13 10:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:37:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:37:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:37:04] Production.INFO: ==24199== Releasing lock...
[2025-01-13 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:37:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:37:04] Production.ERROR: done
[2025-01-13 10:37:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:37:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:37:04] Production.INFO: Total Charge 0
[2025-01-13 10:37:04] Production.INFO: CreateAllLog End
[2025-01-13 10:37:04] Production.INFO: Account Balance End.
[2025-01-13 10:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:37:04] Production.INFO: ==24195== Releasing lock...
[2025-01-13 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:37:05
[end_date_ymd] => 2025-01-13 10:37:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:37:05' and `end` < '2025-01-13 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-13 10:37:11] Production.ERROR: CronJobId end10
[2025-01-13 10:37:11] Production.INFO: ==24193== Releasing lock...
[2025-01-13 10:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:37:13] Production.INFO: call_cost start
[2025-01-13 10:37:13] Production.INFO: call_cost end
[2025-01-13 10:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:37:14] Production.INFO: ==24189== Releasing lock...
[2025-01-13 10:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:37:24] Production.INFO: count ==3834
[2025-01-13 10:37:25] Production.ERROR: pbx CDR StartTime 2025-01-13 07:37:05 - End Time 2025-01-13 10:37:05
[2025-01-13 10:37:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238376', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238376', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238376', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238376', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:37:26] Production.INFO: ProcessCDR(1,14238376,1,1,2)
[2025-01-13 10:37:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:37:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:37:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:37:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:37:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238376', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:37:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238376', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:37:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:37:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:37:30] Production.INFO: ==24197== Releasing lock...
[2025-01-13 10:37:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:37:30] Production.INFO: 56.75 MB #Memory Used#
[2025-01-13 15:38:02] Production.INFO: ==24254== Lock acquired, processing the job...
[2025-01-13 15:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:38:02] Production.INFO: neon service started
[2025-01-13 15:38:02] Production.INFO: neon service started
[2025-01-13 15:38:02] Production.INFO: ==24254== Releasing lock...
[2025-01-13 15:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:38:02] Production.INFO: ==24256== Lock acquired, processing the job...
[2025-01-13 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:38:02] Production.INFO: ==24256== Releasing lock...
[2025-01-13 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:38:02] Production.INFO: ==24258== Lock acquired, processing the job...
[2025-01-13 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:38:02] Production.INFO: ==24258== Releasing lock...
[2025-01-13 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:38:03] Production.INFO: ==24269== Lock acquired, processing the job...
[2025-01-13 10:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:38:03] Production.INFO: ==24267== Lock acquired, processing the job...
[2025-01-13 10:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:38:03] Production.INFO: Account Balance Start.
[2025-01-13 10:38:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:38:03] Production.INFO: 117
[2025-01-13 10:38:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:38:03] Production.INFO: ==24263== Lock acquired, processing the job...
[2025-01-13 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:38:03] Production.INFO: ==24261== Lock acquired, processing the job...
[2025-01-13 10:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:38:03] Production.INFO: ==24265== Lock acquired, processing the job...
[2025-01-13 10:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:38:03] Production.ERROR: done
[2025-01-13 10:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:38:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:38:03] Production.INFO: ==24271== Lock acquired, processing the job...
[2025-01-13 10:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:38:04] Production.ERROR: done
[2025-01-13 10:38:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:38:04] Production.INFO: count ==21
[2025-01-13 10:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:38:04] Production.INFO: count ==21
[2025-01-13 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238381') start
[2025-01-13 10:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:38:04] Production.INFO: Total Charge 0
[2025-01-13 10:38:04] Production.INFO: CreateAllLog End
[2025-01-13 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238381') end
[2025-01-13 10:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:38:04] Production.INFO: 1
[2025-01-13 10:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:38:04] Production.INFO: ==24263== Releasing lock...
[2025-01-13 10:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:38:04] Production.INFO: ==24271== Releasing lock...
[2025-01-13 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:38:04] Production.INFO: Account Balance End.
[2025-01-13 10:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:38:04] Production.INFO: ==24267== Releasing lock...
[2025-01-13 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:38:05
[end_date_ymd] => 2025-01-13 10:38:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:38:05' and `end` < '2025-01-13 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-13 10:38:11] Production.ERROR: CronJobId end10
[2025-01-13 10:38:11] Production.INFO: ==24265== Releasing lock...
[2025-01-13 10:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:38:13] Production.INFO: call_cost start
[2025-01-13 10:38:13] Production.INFO: call_cost end
[2025-01-13 10:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:38:14] Production.INFO: ==24261== Releasing lock...
[2025-01-13 10:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:38:23] Production.INFO: count ==3884
[2025-01-13 10:38:25] Production.ERROR: pbx CDR StartTime 2025-01-13 07:38:05 - End Time 2025-01-13 10:38:05
[2025-01-13 10:38:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:38:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238380', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:38:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238380', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:38:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238380', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:38:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238380', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:38:25] Production.INFO: ProcessCDR(1,14238380,1,1,2)
[2025-01-13 10:38:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:38:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:38:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:38:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:38:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238380', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:38:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238380', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:38:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:38:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:38:30] Production.INFO: ==24269== Releasing lock...
[2025-01-13 10:38:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:38:30] Production.INFO: 57.25 MB #Memory Used#
[2025-01-13 15:39:01] Production.INFO: ==24324== Lock acquired, processing the job...
[2025-01-13 15:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:39:01] Production.INFO: neon service started
[2025-01-13 15:39:01] Production.INFO: neon service started
[2025-01-13 15:39:01] Production.INFO: ==24324== Releasing lock...
[2025-01-13 15:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:39:01] Production.INFO: ==24326== Lock acquired, processing the job...
[2025-01-13 10:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:39:02] Production.INFO: ==24326== Releasing lock...
[2025-01-13 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:39:02] Production.INFO: ==24328== Lock acquired, processing the job...
[2025-01-13 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:39:02] Production.INFO: ==24328== Releasing lock...
[2025-01-13 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:39:03] Production.INFO: ==24336== Lock acquired, processing the job...
[2025-01-13 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:39:03] Production.INFO: ==24340== Lock acquired, processing the job...
[2025-01-13 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:39:03] Production.INFO: ==24330== Lock acquired, processing the job...
[2025-01-13 10:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:39:03] Production.INFO: Account Balance Start.
[2025-01-13 10:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:39:03] Production.INFO: 117
[2025-01-13 10:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 10:39:03] Production.INFO: ==24332== Lock acquired, processing the job...
[2025-01-13 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:39:03] Production.INFO: count ==21
[2025-01-13 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-13 10:39:03] Production.INFO: count ==21
[2025-01-13 10:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:39:03] Production.INFO: ==24334== Lock acquired, processing the job...
[2025-01-13 10:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238383') start
[2025-01-13 10:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:39:03] Production.INFO: ==24338== Lock acquired, processing the job...
[2025-01-13 10:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:39:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:39:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238383') end
[2025-01-13 10:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:39:03] Production.INFO: 1
[2025-01-13 10:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:39:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:39:03] Production.INFO: Total Charge 0
[2025-01-13 10:39:03] Production.INFO: CreateAllLog End
[2025-01-13 10:39:03] Production.INFO: ==24340== Releasing lock...
[2025-01-13 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:39:03] Production.INFO: ==24332== Releasing lock...
[2025-01-13 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:39:03] Production.INFO: Account Balance End.
[2025-01-13 10:39:03] Production.ERROR: CronJobId end 12
[2025-01-13 10:39:03] Production.INFO: ==24336== Releasing lock...
[2025-01-13 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:39:03] Production.ERROR: done
[2025-01-13 10:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:39:04] Production.ERROR: done
[2025-01-13 10:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:39:05
[end_date_ymd] => 2025-01-13 10:39:05
[RateCDR] => 1
)
[2025-01-13 10:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:39:05' and `end` < '2025-01-13 10:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:39:10] Production.ERROR: CronJobId end10
[2025-01-13 10:39:10] Production.INFO: ==24334== Releasing lock...
[2025-01-13 10:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:39:12] Production.INFO: call_cost start
[2025-01-13 10:39:12] Production.INFO: call_cost end
[2025-01-13 10:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:39:13] Production.INFO: ==24330== Releasing lock...
[2025-01-13 10:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:39:25] Production.INFO: count ==3920
[2025-01-13 10:39:26] Production.ERROR: pbx CDR StartTime 2025-01-13 07:39:05 - End Time 2025-01-13 10:39:05
[2025-01-13 10:39:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:39:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238386', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:39:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238386', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:39:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238386', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:39:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238386', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:39:27] Production.INFO: ProcessCDR(1,14238386,1,1,2)
[2025-01-13 10:39:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:39:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:39:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:39:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:39:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238386', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:39:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238386', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:39:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:39:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:39:31] Production.INFO: ==24338== Releasing lock...
[2025-01-13 10:39:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:39:31] Production.INFO: 57.25 MB #Memory Used#
[2025-01-13 15:40:01] Production.INFO: ==24397== Lock acquired, processing the job...
[2025-01-13 15:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:40:02] Production.INFO: neon service started
[2025-01-13 15:40:02] Production.INFO: neon service started
[2025-01-13 15:40:02] Production.INFO: ==24397== Releasing lock...
[2025-01-13 15:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:40:02] Production.INFO: ==24399== Lock acquired, processing the job...
[2025-01-13 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:40:02] Production.INFO: ==24402== Lock acquired, processing the job...
[2025-01-13 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:40:02] Production.INFO: ==24402== Releasing lock...
[2025-01-13 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:40:03] Production.INFO: ==24399== Releasing lock...
[2025-01-13 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:40:04] Production.INFO: ==24408== Lock acquired, processing the job...
[2025-01-13 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:40:04] Production.INFO: ==24410== Lock acquired, processing the job...
[2025-01-13 10:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:40:04] Production.INFO: ==24404== Lock acquired, processing the job...
[2025-01-13 10:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 10:40:04] Production.INFO: ==24406== Lock acquired, processing the job...
[2025-01-13 10:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:40:04] Production.INFO: ==24418== Lock acquired, processing the job...
[2025-01-13 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:40:04] Production.INFO: ==24408== Releasing lock...
[2025-01-13 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:40:04] Production.INFO: ==24412== Lock acquired, processing the job...
[2025-01-13 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 10:40:04] Production.ERROR: CronJob PID - 24406
[2025-01-13 10:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 10:40:04] Production.ERROR: CronJob ID - 5
[2025-01-13 10:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 10:40:00
[2025-01-13 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 10:40:04] Production.ERROR: CronJob PID - 24410
[2025-01-13 10:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 10:40:04] Production.ERROR: CronJob ID - 10
[2025-01-13 10:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 10:40:00
[2025-01-13 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 10:40:04] Production.INFO: ==24414== Lock acquired, processing the job...
[2025-01-13 10:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:40:04] Production.INFO: ==24416== Lock acquired, processing the job...
[2025-01-13 10:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 10:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 10:40:04] Production.INFO: ==24404== Releasing lock...
[2025-01-13 10:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 10:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 10:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:40:04] Production.INFO: Account Balance Start.
[2025-01-13 10:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:40:04] Production.INFO: 117
[2025-01-13 10:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:40:04] Production.INFO: count ==21
[2025-01-13 10:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:40:04] Production.INFO: count ==21
[2025-01-13 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238390') start
[2025-01-13 10:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:40:04] Production.ERROR: done
[2025-01-13 10:40:04] Production.ERROR: done
[2025-01-13 10:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238390') end
[2025-01-13 10:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:40:04] Production.INFO: 1
[2025-01-13 10:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 10:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238391', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 10:40:05] Production.INFO: ==24418== Releasing lock...
[2025-01-13 10:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:40:05] Production.ERROR: done
[2025-01-13 10:40:05] Production.INFO: Date 2025-01-12
[2025-01-13 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-13 10:40:05] Production.INFO: Date 2025-01-13
[2025-01-13 10:40:05] Production.INFO: Reseller ==> 0
[2025-01-13 10:40:05] Production.INFO: Total Charge 0
[2025-01-13 10:40:05] Production.INFO: CreateAllLog End
[2025-01-13 10:40:05] Production.INFO: Account Balance End.
[2025-01-13 10:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 10:40:05] Production.INFO: ==24412== Releasing lock...
[2025-01-13 10:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:40:06
[end_date_ymd] => 2025-01-13 10:40:06
[RateCDR] => 1
)
[2025-01-13 10:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:40:06' and `end` < '2025-01-13 10:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238391', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 10:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 10:40:08] Production.INFO: ProcessCDR(1,14238391,1,1,2)
[2025-01-13 10:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238391,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238391,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:40:08] Production.INFO: ==24416== Releasing lock...
[2025-01-13 10:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 10:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 10:40:13] Production.ERROR: CronJobId end10
[2025-01-13 10:40:13] Production.INFO: ==24410== Releasing lock...
[2025-01-13 10:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:40:15] Production.INFO: call_cost start
[2025-01-13 10:40:15] Production.INFO: call_cost end
[2025-01-13 10:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:40:15] Production.INFO: ==24406== Releasing lock...
[2025-01-13 10:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:40:25] Production.INFO: count ==3959
[2025-01-13 10:40:27] Production.ERROR: pbx CDR StartTime 2025-01-13 07:40:06 - End Time 2025-01-13 10:40:06
[2025-01-13 10:40:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238392', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238392', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238392', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238392', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:40:27] Production.INFO: ProcessCDR(1,14238392,1,1,2)
[2025-01-13 10:40:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:40:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:40:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:40:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:40:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238392', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:40:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238392', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:40:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:40:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:40:32] Production.INFO: ==24414== Releasing lock...
[2025-01-13 10:40:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:40:32] Production.INFO: 57.5 MB #Memory Used#
[2025-01-13 15:41:01] Production.INFO: ==24472== Lock acquired, processing the job...
[2025-01-13 15:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:41:01] Production.INFO: neon service started
[2025-01-13 15:41:01] Production.INFO: neon service started
[2025-01-13 15:41:01] Production.INFO: ==24472== Releasing lock...
[2025-01-13 15:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:41:01] Production.INFO: ==24476== Lock acquired, processing the job...
[2025-01-13 15:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:41:01] Production.INFO: ==24476== Releasing lock...
[2025-01-13 15:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:41:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:41:01] Production.INFO: ==24474== Lock acquired, processing the job...
[2025-01-13 10:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:41:02] Production.INFO: ==24474== Releasing lock...
[2025-01-13 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:41:02] Production.INFO: ==24485== Lock acquired, processing the job...
[2025-01-13 10:41:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:41:03] Production.INFO: ==24489== Lock acquired, processing the job...
[2025-01-13 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:41:03] Production.INFO: Account Balance Start.
[2025-01-13 10:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:41:03] Production.INFO: 117
[2025-01-13 10:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:41:03] Production.INFO: ==24479== Lock acquired, processing the job...
[2025-01-13 10:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:41:03] Production.INFO: count ==21
[2025-01-13 10:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:41:03] Production.INFO: count ==21
[2025-01-13 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238394') start
[2025-01-13 10:41:03] Production.INFO: ==24481== Lock acquired, processing the job...
[2025-01-13 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:41:03] Production.INFO: ==24487== Lock acquired, processing the job...
[2025-01-13 10:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:41:03] Production.INFO: ==24483== Lock acquired, processing the job...
[2025-01-13 10:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238394') end
[2025-01-13 10:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:41:03] Production.INFO: 1
[2025-01-13 10:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:41:03] Production.INFO: ==24489== Releasing lock...
[2025-01-13 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:41:03] Production.INFO: Total Charge 0
[2025-01-13 10:41:03] Production.INFO: CreateAllLog End
[2025-01-13 10:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:41:03] Production.INFO: ==24481== Releasing lock...
[2025-01-13 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:41:03] Production.ERROR: done
[2025-01-13 10:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:41:03] Production.INFO: Account Balance End.
[2025-01-13 10:41:03] Production.ERROR: done
[2025-01-13 10:41:03] Production.ERROR: CronJobId end 12
[2025-01-13 10:41:03] Production.INFO: ==24485== Releasing lock...
[2025-01-13 10:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:41:04
[end_date_ymd] => 2025-01-13 10:41:04
[RateCDR] => 1
)
[2025-01-13 10:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:41:04' and `end` < '2025-01-13 10:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:41:11] Production.ERROR: CronJobId end10
[2025-01-13 10:41:11] Production.INFO: ==24483== Releasing lock...
[2025-01-13 10:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:41:13] Production.INFO: call_cost start
[2025-01-13 10:41:13] Production.INFO: call_cost end
[2025-01-13 10:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:41:14] Production.INFO: ==24479== Releasing lock...
[2025-01-13 10:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:41:24] Production.INFO: count ==4103
[2025-01-13 10:41:26] Production.ERROR: pbx CDR StartTime 2025-01-13 07:41:04 - End Time 2025-01-13 10:41:04
[2025-01-13 10:41:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:41:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238397', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:41:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238397', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:41:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238397', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:41:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238397', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:41:26] Production.INFO: ProcessCDR(1,14238397,1,1,2)
[2025-01-13 10:41:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:41:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:41:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:41:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:41:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238397', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:41:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238397', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:41:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:41:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:41:31] Production.INFO: ==24487== Releasing lock...
[2025-01-13 10:41:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:41:31] Production.INFO: 58.75 MB #Memory Used#
[2025-01-13 15:42:01] Production.INFO: ==24546== Lock acquired, processing the job...
[2025-01-13 15:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:42:01] Production.INFO: neon service started
[2025-01-13 15:42:01] Production.INFO: neon service started
[2025-01-13 15:42:01] Production.INFO: ==24546== Releasing lock...
[2025-01-13 15:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:42:02] Production.INFO: ==24551== Lock acquired, processing the job...
[2025-01-13 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:42:02] Production.INFO: ==24551== Releasing lock...
[2025-01-13 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:42:02] Production.INFO: 26 MB #Memory Used#
[2025-01-13 10:42:02] Production.INFO: ==24549== Lock acquired, processing the job...
[2025-01-13 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:42:02] Production.INFO: ==24549== Releasing lock...
[2025-01-13 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:42:03] Production.INFO: ==24557== Lock acquired, processing the job...
[2025-01-13 10:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:42:03] Production.INFO: ==24563== Lock acquired, processing the job...
[2025-01-13 10:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:42:03] Production.INFO: ==24553== Lock acquired, processing the job...
[2025-01-13 10:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:42:03] Production.INFO: ==24555== Lock acquired, processing the job...
[2025-01-13 10:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:42:03] Production.INFO: ==24559== Lock acquired, processing the job...
[2025-01-13 10:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:42:03] Production.INFO: ==24561== Lock acquired, processing the job...
[2025-01-13 10:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:42:03] Production.INFO: Account Balance Start.
[2025-01-13 10:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:42:03] Production.INFO: 117
[2025-01-13 10:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:42:03] Production.INFO: count ==21
[2025-01-13 10:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:42:03] Production.INFO: count ==21
[2025-01-13 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238398') start
[2025-01-13 10:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:42:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:42:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238398') end
[2025-01-13 10:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:42:04] Production.INFO: 1
[2025-01-13 10:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:42:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:42:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:42:04] Production.INFO: ==24563== Releasing lock...
[2025-01-13 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:42:04] Production.INFO: ==24555== Releasing lock...
[2025-01-13 10:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:42:04] Production.INFO: Total Charge 0
[2025-01-13 10:42:04] Production.INFO: CreateAllLog End
[2025-01-13 10:42:04] Production.ERROR: done
[2025-01-13 10:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:42:04] Production.ERROR: done
[2025-01-13 10:42:04] Production.INFO: Account Balance End.
[2025-01-13 10:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:42:04] Production.INFO: ==24559== Releasing lock...
[2025-01-13 10:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:42:05
[end_date_ymd] => 2025-01-13 10:42:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:42:05' and `end` < '2025-01-13 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-13 10:42:11] Production.ERROR: CronJobId end10
[2025-01-13 10:42:11] Production.INFO: ==24557== Releasing lock...
[2025-01-13 10:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:42:13] Production.INFO: call_cost start
[2025-01-13 10:42:13] Production.INFO: call_cost end
[2025-01-13 10:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:42:14] Production.INFO: ==24553== Releasing lock...
[2025-01-13 10:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:42:32] Production.INFO: count ==4124
[2025-01-13 10:42:34] Production.ERROR: pbx CDR StartTime 2025-01-13 07:42:05 - End Time 2025-01-13 10:42:05
[2025-01-13 10:42:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:42:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238402', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:42:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238402', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:42:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238402', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:42:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238402', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:42:34] Production.INFO: ProcessCDR(1,14238402,1,1,2)
[2025-01-13 10:42:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:42:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:42:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:42:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:42:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238402', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:42:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238402', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:42:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:42:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:42:39] Production.INFO: ==24561== Releasing lock...
[2025-01-13 10:42:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:42:39] Production.INFO: 58.75 MB #Memory Used#
[2025-01-13 15:43:02] Production.INFO: ==24617== Lock acquired, processing the job...
[2025-01-13 15:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:43:02] Production.INFO: neon service started
[2025-01-13 15:43:02] Production.INFO: neon service started
[2025-01-13 15:43:02] Production.INFO: ==24617== Releasing lock...
[2025-01-13 15:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:43:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 10:43:02] Production.INFO: ==24619== Lock acquired, processing the job...
[2025-01-13 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:43:03] Production.INFO: ==24619== Releasing lock...
[2025-01-13 10:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:43:03] Production.INFO: ==24621== Lock acquired, processing the job...
[2025-01-13 15:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:43:03] Production.INFO: ==24621== Releasing lock...
[2025-01-13 15:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:43:03] Production.INFO: ==24634== Lock acquired, processing the job...
[2025-01-13 10:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:43:03] Production.INFO: ==24632== Lock acquired, processing the job...
[2025-01-13 10:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:43:04] Production.INFO: ==24624== Lock acquired, processing the job...
[2025-01-13 10:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:43:04] Production.INFO: count ==21
[2025-01-13 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-13 10:43:04] Production.INFO: count ==21
[2025-01-13 10:43:04] Production.INFO: ==24626== Lock acquired, processing the job...
[2025-01-13 10:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238403') start
[2025-01-13 10:43:04] Production.INFO: ==24628== Lock acquired, processing the job...
[2025-01-13 10:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:43:04] Production.INFO: ==24630== Lock acquired, processing the job...
[2025-01-13 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238403') end
[2025-01-13 10:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:43:04] Production.INFO: 1
[2025-01-13 10:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:43:04] Production.INFO: ==24634== Releasing lock...
[2025-01-13 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:43:04] Production.INFO: Account Balance Start.
[2025-01-13 10:43:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:43:04] Production.INFO: 117
[2025-01-13 10:43:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:43:04] Production.ERROR: done
[2025-01-13 10:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:43:04] Production.INFO: ==24626== Releasing lock...
[2025-01-13 10:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:43:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:43:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:43:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:43:04] Production.ERROR: done
[2025-01-13 10:43:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:43:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:43:04] Production.INFO: Total Charge 0
[2025-01-13 10:43:04] Production.INFO: CreateAllLog End
[2025-01-13 10:43:04] Production.INFO: Account Balance End.
[2025-01-13 10:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:43:04] Production.INFO: ==24630== Releasing lock...
[2025-01-13 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:43:05
[end_date_ymd] => 2025-01-13 10:43:05
[RateCDR] => 1
)
[2025-01-13 10:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:43:05' and `end` < '2025-01-13 10:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:43:12] Production.ERROR: CronJobId end10
[2025-01-13 10:43:12] Production.INFO: ==24628== Releasing lock...
[2025-01-13 10:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:43:14] Production.INFO: call_cost start
[2025-01-13 10:43:14] Production.INFO: call_cost end
[2025-01-13 10:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:43:15] Production.INFO: ==24624== Releasing lock...
[2025-01-13 10:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:43:28] Production.INFO: count ==4143
[2025-01-13 10:43:30] Production.ERROR: pbx CDR StartTime 2025-01-13 07:43:05 - End Time 2025-01-13 10:43:05
[2025-01-13 10:43:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238407', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238407', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238407', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238407', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:43:30] Production.INFO: ProcessCDR(1,14238407,1,1,2)
[2025-01-13 10:43:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:43:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:43:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:43:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:43:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238407', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:43:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238407', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:43:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:43:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:43:34] Production.INFO: ==24632== Releasing lock...
[2025-01-13 10:43:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:43:34] Production.INFO: 59.25 MB #Memory Used#
[2025-01-13 15:44:01] Production.INFO: ==24691== Lock acquired, processing the job...
[2025-01-13 15:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:44:01] Production.INFO: neon service started
[2025-01-13 15:44:01] Production.INFO: neon service started
[2025-01-13 15:44:01] Production.INFO: ==24691== Releasing lock...
[2025-01-13 15:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:44:02] Production.INFO: ==24696== Lock acquired, processing the job...
[2025-01-13 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:44:02] Production.INFO: ==24696== Releasing lock...
[2025-01-13 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:44:02] Production.INFO: ==24694== Lock acquired, processing the job...
[2025-01-13 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:44:02] Production.INFO: ==24694== Releasing lock...
[2025-01-13 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:44:03] Production.INFO: ==24700== Lock acquired, processing the job...
[2025-01-13 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:44:03] Production.INFO: ==24702== Lock acquired, processing the job...
[2025-01-13 10:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:44:03] Production.INFO: ==24708== Lock acquired, processing the job...
[2025-01-13 10:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:44:03] Production.INFO: count ==21
[2025-01-13 10:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:44:03] Production.INFO: count ==21
[2025-01-13 10:44:03] Production.INFO: ==24698== Lock acquired, processing the job...
[2025-01-13 10:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238409') start
[2025-01-13 10:44:03] Production.INFO: ==24700== Releasing lock...
[2025-01-13 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:44:03] Production.INFO: ==24704== Lock acquired, processing the job...
[2025-01-13 10:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:44:03] Production.INFO: ==24706== Lock acquired, processing the job...
[2025-01-13 10:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238409') end
[2025-01-13 10:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:44:03] Production.INFO: 1
[2025-01-13 10:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:44:03] Production.INFO: Account Balance Start.
[2025-01-13 10:44:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:44:03] Production.INFO: 117
[2025-01-13 10:44:03] Production.INFO: ==24708== Releasing lock...
[2025-01-13 10:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:44:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:44:04] Production.ERROR: done
[2025-01-13 10:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:44:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:44:04] Production.ERROR: done
[2025-01-13 10:44:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:44:04] Production.INFO: Total Charge 0
[2025-01-13 10:44:04] Production.INFO: CreateAllLog End
[2025-01-13 10:44:04] Production.INFO: Account Balance End.
[2025-01-13 10:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:44:04] Production.INFO: ==24704== Releasing lock...
[2025-01-13 10:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:44:05
[end_date_ymd] => 2025-01-13 10:44:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:44:05' and `end` < '2025-01-13 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-13 10:44:11] Production.ERROR: CronJobId end10
[2025-01-13 10:44:11] Production.INFO: ==24702== Releasing lock...
[2025-01-13 10:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:44:13] Production.INFO: call_cost start
[2025-01-13 10:44:13] Production.INFO: call_cost end
[2025-01-13 10:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:44:14] Production.INFO: ==24698== Releasing lock...
[2025-01-13 10:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:44:28] Production.INFO: count ==4160
[2025-01-13 10:44:30] Production.ERROR: pbx CDR StartTime 2025-01-13 07:44:05 - End Time 2025-01-13 10:44:05
[2025-01-13 10:44:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:44:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238412', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:44:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238412', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:44:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238412', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:44:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238412', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:44:30] Production.INFO: ProcessCDR(1,14238412,1,1,2)
[2025-01-13 10:44:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:44:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:44:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:44:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:44:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238412', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:44:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238412', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:44:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:44:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:44:34] Production.INFO: ==24706== Releasing lock...
[2025-01-13 10:44:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:44:34] Production.INFO: 59 MB #Memory Used#
[2025-01-13 15:45:02] Production.INFO: ==24763== Lock acquired, processing the job...
[2025-01-13 15:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:45:02] Production.INFO: neon service started
[2025-01-13 15:45:02] Production.INFO: neon service started
[2025-01-13 15:45:02] Production.INFO: ==24763== Releasing lock...
[2025-01-13 15:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:45:02] Production.INFO: ==24765== Lock acquired, processing the job...
[2025-01-13 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:45:02] Production.INFO: ==24767== Lock acquired, processing the job...
[2025-01-13 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:45:02] Production.INFO: ==24767== Releasing lock...
[2025-01-13 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:45:02] Production.INFO: ==24765== Releasing lock...
[2025-01-13 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:45:03] Production.INFO: ==24770== Lock acquired, processing the job...
[2025-01-13 10:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:45:03] Production.INFO: ==24772== Lock acquired, processing the job...
[2025-01-13 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:45:03] Production.INFO: ==24778== Lock acquired, processing the job...
[2025-01-13 10:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:45:03] Production.INFO: ==24772== Releasing lock...
[2025-01-13 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:45:04] Production.INFO: ==24774== Lock acquired, processing the job...
[2025-01-13 10:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:45:04] Production.INFO: ==24776== Lock acquired, processing the job...
[2025-01-13 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:45:04] Production.INFO: Account Balance Start.
[2025-01-13 10:45:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:45:04] Production.INFO: 117
[2025-01-13 10:45:04] Production.INFO: ==24780== Lock acquired, processing the job...
[2025-01-13 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:45:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:45:04] Production.ERROR: done
[2025-01-13 10:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:45:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:45:04] Production.INFO: count ==21
[2025-01-13 10:45:04] Production.ERROR: done
[2025-01-13 10:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:45:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:45:04] Production.INFO: count ==21
[2025-01-13 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:45:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238416') start
[2025-01-13 10:45:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:45:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238416') end
[2025-01-13 10:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:45:04] Production.INFO: 1
[2025-01-13 10:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:45:04] Production.INFO: Total Charge 0
[2025-01-13 10:45:04] Production.INFO: CreateAllLog End
[2025-01-13 10:45:04] Production.INFO: ==24780== Releasing lock...
[2025-01-13 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:45:04] Production.INFO: Account Balance End.
[2025-01-13 10:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:45:04] Production.INFO: ==24776== Releasing lock...
[2025-01-13 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:45:05
[end_date_ymd] => 2025-01-13 10:45:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:45:05' and `end` < '2025-01-13 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-13 10:45:12] Production.ERROR: CronJobId end10
[2025-01-13 10:45:12] Production.INFO: ==24774== Releasing lock...
[2025-01-13 10:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:45:13] Production.INFO: call_cost start
[2025-01-13 10:45:13] Production.INFO: call_cost end
[2025-01-13 10:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:45:14] Production.INFO: ==24770== Releasing lock...
[2025-01-13 10:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:45:27] Production.INFO: count ==4168
[2025-01-13 10:45:29] Production.ERROR: pbx CDR StartTime 2025-01-13 07:45:05 - End Time 2025-01-13 10:45:05
[2025-01-13 10:45:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:45:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238417', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:45:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238417', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:45:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238417', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:45:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238417', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:45:29] Production.INFO: ProcessCDR(1,14238417,1,1,2)
[2025-01-13 10:45:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:45:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:45:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:45:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:45:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238417', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:45:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238417', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:45:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:45:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:45:34] Production.INFO: ==24778== Releasing lock...
[2025-01-13 10:45:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:45:34] Production.INFO: 59.25 MB #Memory Used#
[2025-01-13 15:46:01] Production.INFO: ==24834== Lock acquired, processing the job...
[2025-01-13 15:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:46:01] Production.INFO: neon service started
[2025-01-13 15:46:01] Production.INFO: neon service started
[2025-01-13 15:46:01] Production.INFO: ==24834== Releasing lock...
[2025-01-13 15:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:46:01] Production.INFO: ==24836== Lock acquired, processing the job...
[2025-01-13 10:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:46:02] Production.INFO: ==24836== Releasing lock...
[2025-01-13 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:46:02] Production.INFO: ==24838== Lock acquired, processing the job...
[2025-01-13 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:46:02] Production.INFO: ==24838== Releasing lock...
[2025-01-13 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:46:03] Production.INFO: ==24840== Lock acquired, processing the job...
[2025-01-13 10:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:46:03] Production.INFO: ==24842== Lock acquired, processing the job...
[2025-01-13 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:46:03] Production.INFO: ==24846== Lock acquired, processing the job...
[2025-01-13 10:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:46:03] Production.INFO: Account Balance Start.
[2025-01-13 10:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:46:03] Production.INFO: 117
[2025-01-13 10:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:46:03] Production.INFO: ==24848== Lock acquired, processing the job...
[2025-01-13 10:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:46:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:46:03] Production.INFO: ==24842== Releasing lock...
[2025-01-13 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:46:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:46:03] Production.INFO: ==24844== Lock acquired, processing the job...
[2025-01-13 10:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:46:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:46:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:46:03] Production.INFO: ==24850== Lock acquired, processing the job...
[2025-01-13 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:46:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:46:03] Production.INFO: Total Charge 0
[2025-01-13 10:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:46:03] Production.INFO: CreateAllLog End
[2025-01-13 10:46:03] Production.ERROR: done
[2025-01-13 10:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:46:03] Production.INFO: count ==21
[2025-01-13 10:46:03] Production.INFO: Account Balance End.
[2025-01-13 10:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:46:03] Production.ERROR: CronJobId end 12
[2025-01-13 10:46:03] Production.INFO: ==24846== Releasing lock...
[2025-01-13 10:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:46:03] Production.INFO: count ==21
[2025-01-13 10:46:03] Production.ERROR: done
[2025-01-13 10:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238421') start
[2025-01-13 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238421') end
[2025-01-13 10:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:46:04] Production.INFO: 1
[2025-01-13 10:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:46:04] Production.INFO: ==24850== Releasing lock...
[2025-01-13 10:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:46:04
[end_date_ymd] => 2025-01-13 10:46:04
[RateCDR] => 1
)
[2025-01-13 10:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:46:04' and `end` < '2025-01-13 10:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:46:10] Production.ERROR: CronJobId end10
[2025-01-13 10:46:10] Production.INFO: ==24844== Releasing lock...
[2025-01-13 10:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:46:13] Production.INFO: call_cost start
[2025-01-13 10:46:13] Production.INFO: call_cost end
[2025-01-13 10:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:46:14] Production.INFO: ==24840== Releasing lock...
[2025-01-13 10:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:46:24] Production.INFO: count ==4178
[2025-01-13 10:46:26] Production.ERROR: pbx CDR StartTime 2025-01-13 07:46:04 - End Time 2025-01-13 10:46:04
[2025-01-13 10:46:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238422', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238422', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238422', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:46:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238422', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:46:26] Production.INFO: ProcessCDR(1,14238422,1,1,2)
[2025-01-13 10:46:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:46:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:46:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:46:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:46:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238422', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:46:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238422', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:46:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:46:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:46:31] Production.INFO: ==24848== Releasing lock...
[2025-01-13 10:46:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:46:31] Production.INFO: 59.25 MB #Memory Used#
[2025-01-13 15:47:02] Production.INFO: ==24907== Lock acquired, processing the job...
[2025-01-13 15:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:47:02] Production.INFO: neon service started
[2025-01-13 15:47:02] Production.INFO: neon service started
[2025-01-13 15:47:02] Production.INFO: ==24907== Releasing lock...
[2025-01-13 15:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:47:02] Production.INFO: ==24909== Lock acquired, processing the job...
[2025-01-13 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:47:02] Production.INFO: ==24911== Lock acquired, processing the job...
[2025-01-13 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:47:02] Production.INFO: ==24911== Releasing lock...
[2025-01-13 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:47:03] Production.INFO: ==24909== Releasing lock...
[2025-01-13 10:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:47:03] Production.INFO: ==24914== Lock acquired, processing the job...
[2025-01-13 10:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:47:03] Production.INFO: ==24916== Lock acquired, processing the job...
[2025-01-13 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:47:03] Production.INFO: ==24918== Lock acquired, processing the job...
[2025-01-13 10:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:47:04] Production.INFO: ==24920== Lock acquired, processing the job...
[2025-01-13 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:47:04] Production.INFO: ==24916== Releasing lock...
[2025-01-13 10:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:47:04] Production.INFO: ==24924== Lock acquired, processing the job...
[2025-01-13 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:47:04] Production.INFO: Account Balance Start.
[2025-01-13 10:47:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:47:04] Production.INFO: 117
[2025-01-13 10:47:04] Production.INFO: ==24922== Lock acquired, processing the job...
[2025-01-13 10:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:47:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:47:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:47:04] Production.INFO: Date 2025-01-10
[2025-01-13 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-13 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:47:04] Production.INFO: count ==21
[2025-01-13 10:47:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 10:47:04] Production.INFO: count ==21
[2025-01-13 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238426') start
[2025-01-13 10:47:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238426') end
[2025-01-13 10:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:47:04] Production.INFO: 1
[2025-01-13 10:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:47:04] Production.INFO: ==24924== Releasing lock...
[2025-01-13 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:47:04] Production.ERROR: done
[2025-01-13 10:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:47:04] Production.INFO: Total Charge 0
[2025-01-13 10:47:04] Production.INFO: CreateAllLog End
[2025-01-13 10:47:04] Production.ERROR: done
[2025-01-13 10:47:04] Production.INFO: Account Balance End.
[2025-01-13 10:47:05] Production.ERROR: CronJobId end 12
[2025-01-13 10:47:05] Production.INFO: ==24920== Releasing lock...
[2025-01-13 10:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:47:05
[end_date_ymd] => 2025-01-13 10:47:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:47:05' and `end` < '2025-01-13 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-13 10:47:10] Production.ERROR: CronJobId end10
[2025-01-13 10:47:10] Production.INFO: ==24918== Releasing lock...
[2025-01-13 10:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:47:12] Production.INFO: call_cost start
[2025-01-13 10:47:12] Production.INFO: call_cost end
[2025-01-13 10:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:47:13] Production.INFO: ==24914== Releasing lock...
[2025-01-13 10:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:47:26] Production.INFO: count ==4204
[2025-01-13 10:47:28] Production.ERROR: pbx CDR StartTime 2025-01-13 07:47:05 - End Time 2025-01-13 10:47:05
[2025-01-13 10:47:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238427', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238427', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238427', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238427', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:47:28] Production.INFO: ProcessCDR(1,14238427,1,1,2)
[2025-01-13 10:47:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:47:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:47:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:47:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238427', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238427', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:47:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:47:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:47:32] Production.INFO: ==24922== Releasing lock...
[2025-01-13 10:47:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:47:32] Production.INFO: 59.5 MB #Memory Used#
[2025-01-13 15:48:01] Production.INFO: ==24977== Lock acquired, processing the job...
[2025-01-13 15:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:48:01] Production.INFO: neon service started
[2025-01-13 15:48:01] Production.INFO: neon service started
[2025-01-13 15:48:01] Production.INFO: ==24977== Releasing lock...
[2025-01-13 15:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:48:02] Production.INFO: ==24979== Lock acquired, processing the job...
[2025-01-13 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:48:02] Production.INFO: ==24979== Releasing lock...
[2025-01-13 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:48:02] Production.INFO: ==24981== Lock acquired, processing the job...
[2025-01-13 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:48:02] Production.INFO: ==24981== Releasing lock...
[2025-01-13 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:48:03] Production.INFO: ==24994== Lock acquired, processing the job...
[2025-01-13 10:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:48:03] Production.INFO: ==24989== Lock acquired, processing the job...
[2025-01-13 10:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:48:03] Production.INFO: ==24985== Lock acquired, processing the job...
[2025-01-13 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:48:03] Production.INFO: Account Balance Start.
[2025-01-13 10:48:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:48:03] Production.INFO: 117
[2025-01-13 10:48:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:48:03] Production.INFO: ==24983== Lock acquired, processing the job...
[2025-01-13 10:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:48:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:48:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:48:03] Production.INFO: ==24987== Lock acquired, processing the job...
[2025-01-13 10:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:48:03] Production.INFO: count ==21
[2025-01-13 10:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:48:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:48:03] Production.INFO: count ==21
[2025-01-13 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238429') start
[2025-01-13 10:48:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:48:03] Production.INFO: ==24992== Lock acquired, processing the job...
[2025-01-13 10:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:48:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:48:03] Production.INFO: Total Charge 0
[2025-01-13 10:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:48:03] Production.INFO: CreateAllLog End
[2025-01-13 10:48:03] Production.INFO: ==24985== Releasing lock...
[2025-01-13 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238429') end
[2025-01-13 10:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:48:03] Production.INFO: 1
[2025-01-13 10:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:48:03] Production.INFO: ==24994== Releasing lock...
[2025-01-13 10:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:48:03] Production.INFO: Account Balance End.
[2025-01-13 10:48:03] Production.ERROR: CronJobId end 12
[2025-01-13 10:48:03] Production.INFO: ==24989== Releasing lock...
[2025-01-13 10:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:48:04] Production.ERROR: done
[2025-01-13 10:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:48:04] Production.ERROR: done
[2025-01-13 10:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:48:04
[end_date_ymd] => 2025-01-13 10:48:04
[RateCDR] => 1
)
[2025-01-13 10: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-13 07:48:04' and `end` < '2025-01-13 10: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-13 10:48:12] Production.ERROR: CronJobId end10
[2025-01-13 10:48:12] Production.INFO: ==24987== Releasing lock...
[2025-01-13 10:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:48:13] Production.INFO: call_cost start
[2025-01-13 10:48:13] Production.INFO: call_cost end
[2025-01-13 10:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:48:14] Production.INFO: ==24983== Releasing lock...
[2025-01-13 10:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:48:20] Production.INFO: count ==4243
[2025-01-13 10:48:21] Production.ERROR: pbx CDR StartTime 2025-01-13 07:48:04 - End Time 2025-01-13 10:48:04
[2025-01-13 10:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238432', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238432', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238432', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238432', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:48:21] Production.INFO: ProcessCDR(1,14238432,1,1,2)
[2025-01-13 10:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:48:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:48:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:48:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238432', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238432', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:48:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:48:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:48:26] Production.INFO: ==24992== Releasing lock...
[2025-01-13 10:48:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:48:26] Production.INFO: 59.75 MB #Memory Used#
[2025-01-13 15:49:02] Production.INFO: ==25053== Lock acquired, processing the job...
[2025-01-13 15:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:49:02] Production.INFO: neon service started
[2025-01-13 15:49:02] Production.INFO: neon service started
[2025-01-13 15:49:02] Production.INFO: ==25053== Releasing lock...
[2025-01-13 15:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:49:02] Production.INFO: ==25055== Lock acquired, processing the job...
[2025-01-13 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:49:02] Production.INFO: ==25057== Lock acquired, processing the job...
[2025-01-13 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:49:02] Production.INFO: ==25057== Releasing lock...
[2025-01-13 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:49:03] Production.INFO: ==25055== Releasing lock...
[2025-01-13 10:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:49:03] Production.INFO: ==25060== Lock acquired, processing the job...
[2025-01-13 10:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:49:03] Production.INFO: ==25062== Lock acquired, processing the job...
[2025-01-13 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:49:03] Production.INFO: ==25068== Lock acquired, processing the job...
[2025-01-13 10:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:49:04] Production.INFO: ==25070== Lock acquired, processing the job...
[2025-01-13 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:49:04] Production.INFO: ==25066== Lock acquired, processing the job...
[2025-01-13 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:49:04] Production.INFO: ==25064== Lock acquired, processing the job...
[2025-01-13 10:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:49:04] Production.INFO: Account Balance Start.
[2025-01-13 10:49:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:49:04] Production.INFO: 117
[2025-01-13 10:49:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:49:04] Production.INFO: count ==21
[2025-01-13 10:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:49:04] Production.INFO: count ==21
[2025-01-13 10:49:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238436') start
[2025-01-13 10:49:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238436') end
[2025-01-13 10:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:49:04] Production.INFO: 1
[2025-01-13 10:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:49:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:49:04] Production.INFO: ==25062== Releasing lock...
[2025-01-13 10:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:49:04] Production.INFO: ==25070== Releasing lock...
[2025-01-13 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:49:04] Production.ERROR: done
[2025-01-13 10:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:49:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:49:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:49:04] Production.INFO: Total Charge 0
[2025-01-13 10:49:04] Production.INFO: CreateAllLog End
[2025-01-13 10:49:04] Production.ERROR: done
[2025-01-13 10:49:04] Production.INFO: Account Balance End.
[2025-01-13 10:49:05] Production.ERROR: CronJobId end 12
[2025-01-13 10:49:05] Production.INFO: ==25066== Releasing lock...
[2025-01-13 10:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:49:05
[end_date_ymd] => 2025-01-13 10:49:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:49:05' and `end` < '2025-01-13 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-13 10:49:12] Production.ERROR: CronJobId end10
[2025-01-13 10:49:12] Production.INFO: ==25064== Releasing lock...
[2025-01-13 10:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:49:14] Production.INFO: call_cost start
[2025-01-13 10:49:14] Production.INFO: call_cost end
[2025-01-13 10:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:49:14] Production.INFO: ==25060== Releasing lock...
[2025-01-13 10:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:49:22] Production.INFO: count ==4254
[2025-01-13 10:49:24] Production.ERROR: pbx CDR StartTime 2025-01-13 07:49:05 - End Time 2025-01-13 10:49:05
[2025-01-13 10:49:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238437', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238437', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238437', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238437', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:49:24] Production.INFO: ProcessCDR(1,14238437,1,1,2)
[2025-01-13 10:49:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:49:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:49:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:49:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238437', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238437', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:49:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:49:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:49:29] Production.INFO: ==25068== Releasing lock...
[2025-01-13 10:49:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:49:29] Production.INFO: 59.75 MB #Memory Used#
[2025-01-13 15:50:01] Production.INFO: ==25126== Lock acquired, processing the job...
[2025-01-13 15:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:50:01] Production.INFO: neon service started
[2025-01-13 15:50:01] Production.INFO: neon service started
[2025-01-13 15:50:01] Production.INFO: ==25126== Releasing lock...
[2025-01-13 15:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:50:02] Production.INFO: ==25130== Lock acquired, processing the job...
[2025-01-13 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:50:02] Production.INFO: ==25130== Releasing lock...
[2025-01-13 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:50:02] Production.INFO: ==25128== Lock acquired, processing the job...
[2025-01-13 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:50:02] Production.INFO: ==25128== Releasing lock...
[2025-01-13 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:50:03] Production.INFO: ==25133== Lock acquired, processing the job...
[2025-01-13 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 10:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 10:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 10:50:03] Production.INFO: ==25133== Releasing lock...
[2025-01-13 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 10:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 10:50:03] Production.INFO: ==25137== Lock acquired, processing the job...
[2025-01-13 10:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:50:03] Production.INFO: ==25141== Lock acquired, processing the job...
[2025-01-13 10:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:50:03] Production.INFO: Account Balance Start.
[2025-01-13 10:50:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:50:03] Production.INFO: 117
[2025-01-13 10:50:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:50:03] Production.INFO: ==25147== Lock acquired, processing the job...
[2025-01-13 10:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:50:03] Production.INFO: ==25137== Releasing lock...
[2025-01-13 10:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:50:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:50:03] Production.INFO: ==25135== Lock acquired, processing the job...
[2025-01-13 10:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:50:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 10: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-13 10:50:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:50:03] Production.INFO: count ==21
[2025-01-13 10: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-13 10:50:03] Production.INFO: count ==21
[2025-01-13 10:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238440') start
[2025-01-13 10:50:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:50:03] Production.INFO: ==25139== Lock acquired, processing the job...
[2025-01-13 10:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:50:03] Production.INFO: ==25143== Lock acquired, processing the job...
[2025-01-13 10:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:50:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:50:03] Production.INFO: ==25145== Lock acquired, processing the job...
[2025-01-13 10:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 10:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:50:03] Production.INFO: Total Charge 0
[2025-01-13 10:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238440') end
[2025-01-13 10:50:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:50:03] Production.INFO: 1
[2025-01-13 10:50:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:50:03] Production.INFO: CreateAllLog End
[2025-01-13 10:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:50:03] Production.INFO: ==25147== Releasing lock...
[2025-01-13 10:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:50:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:50:04] Production.INFO: Account Balance End.
[2025-01-13 10:50:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:50:04] Production.INFO: ==25141== Releasing lock...
[2025-01-13 10:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:50:04] Production.ERROR: done
[2025-01-13 10:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:50:04] Production.ERROR: done
[2025-01-13 10:50:04] Production.ERROR: done
[2025-01-13 10:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 10:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238442', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 10:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:50:05
[end_date_ymd] => 2025-01-13 10:50:05
[RateCDR] => 1
)
[2025-01-13 10: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-13 07:50:05' and `end` < '2025-01-13 10: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-13 10:50:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238442', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 10:50:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 10:50:07] Production.INFO: ProcessCDR(1,14238442,1,1,2)
[2025-01-13 10:50:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238442,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:50:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238442,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:50:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:50:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:50:07] Production.INFO: ==25145== Releasing lock...
[2025-01-13 10:50:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 10:50:07] Production.INFO: 26 MB #Memory Used#
[2025-01-13 10:50:11] Production.ERROR: CronJobId end10
[2025-01-13 10:50:11] Production.INFO: ==25139== Releasing lock...
[2025-01-13 10:50:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:50:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:50:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:50:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:50:14] Production.INFO: call_cost start
[2025-01-13 10:50:14] Production.INFO: call_cost end
[2025-01-13 10:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:50:15] Production.INFO: ==25135== Releasing lock...
[2025-01-13 10:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:50:21] Production.INFO: count ==4265
[2025-01-13 10:50:22] Production.ERROR: pbx CDR StartTime 2025-01-13 07:50:05 - End Time 2025-01-13 10:50:05
[2025-01-13 10:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238443', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238443', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238443', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238443', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:50:22] Production.INFO: ProcessCDR(1,14238443,1,1,2)
[2025-01-13 10:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:50:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:50:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238443', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238443', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:50:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:50:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:50:27] Production.INFO: ==25143== Releasing lock...
[2025-01-13 10:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:50:27] Production.INFO: 59.75 MB #Memory Used#
[2025-01-13 15:51:02] Production.INFO: ==25240== Lock acquired, processing the job...
[2025-01-13 15:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:51:02] Production.INFO: neon service started
[2025-01-13 15:51:02] Production.INFO: neon service started
[2025-01-13 15:51:02] Production.INFO: ==25240== Releasing lock...
[2025-01-13 15:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:51:02] Production.INFO: ==25244== Lock acquired, processing the job...
[2025-01-13 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:51:02] Production.INFO: ==25244== Releasing lock...
[2025-01-13 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:51:02] Production.INFO: ==25242== Lock acquired, processing the job...
[2025-01-13 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:51:02] Production.INFO: ==25242== Releasing lock...
[2025-01-13 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:51:03] Production.INFO: ==25249== Lock acquired, processing the job...
[2025-01-13 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:51:03] Production.INFO: ==25253== Lock acquired, processing the job...
[2025-01-13 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:51:03] Production.INFO: ==25255== Lock acquired, processing the job...
[2025-01-13 10:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:51:03] Production.INFO: Account Balance Start.
[2025-01-13 10:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:51:03] Production.INFO: 117
[2025-01-13 10:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:51:03] Production.INFO: ==25247== Lock acquired, processing the job...
[2025-01-13 10:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:51:03] Production.INFO: ==25251== Lock acquired, processing the job...
[2025-01-13 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:51:03] Production.INFO: ==25257== Lock acquired, processing the job...
[2025-01-13 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:51:03] Production.INFO: ==25249== Releasing lock...
[2025-01-13 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:51:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:51:04] Production.INFO: count ==21
[2025-01-13 10:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:51:04] Production.INFO: count ==21
[2025-01-13 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238446') start
[2025-01-13 10:51:04] Production.INFO: Total Charge 0
[2025-01-13 10:51:04] Production.ERROR: done
[2025-01-13 10:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:51:04] Production.INFO: CreateAllLog End
[2025-01-13 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238446') end
[2025-01-13 10:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:51:04] Production.INFO: 1
[2025-01-13 10:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:51:04] Production.ERROR: done
[2025-01-13 10:51:04] Production.INFO: ==25257== Releasing lock...
[2025-01-13 10:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:51:04] Production.INFO: Account Balance End.
[2025-01-13 10:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:51:04] Production.INFO: ==25253== Releasing lock...
[2025-01-13 10:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:51:05
[end_date_ymd] => 2025-01-13 10:51:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:51:05' and `end` < '2025-01-13 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-13 10:51:11] Production.ERROR: CronJobId end10
[2025-01-13 10:51:11] Production.INFO: ==25251== Releasing lock...
[2025-01-13 10:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:51:13] Production.INFO: call_cost start
[2025-01-13 10:51:13] Production.INFO: call_cost end
[2025-01-13 10:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:51:14] Production.INFO: ==25247== Releasing lock...
[2025-01-13 10:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:51:26] Production.INFO: count ==4352
[2025-01-13 10:51:28] Production.ERROR: pbx CDR StartTime 2025-01-13 07:51:05 - End Time 2025-01-13 10:51:05
[2025-01-13 10:51:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238448', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238448', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238448', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238448', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:51:28] Production.INFO: ProcessCDR(1,14238448,1,1,2)
[2025-01-13 10:51:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:51:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:51:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:51:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:51:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238448', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:51:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238448', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:51:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:51:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:51:33] Production.INFO: ==25255== Releasing lock...
[2025-01-13 10:51:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:51:33] Production.INFO: 60.5 MB #Memory Used#
[2025-01-13 15:52:01] Production.INFO: ==25310== Lock acquired, processing the job...
[2025-01-13 15:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:52:01] Production.INFO: neon service started
[2025-01-13 15:52:01] Production.INFO: neon service started
[2025-01-13 15:52:01] Production.INFO: ==25310== Releasing lock...
[2025-01-13 15:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:52:01] Production.INFO: ==25312== Lock acquired, processing the job...
[2025-01-13 10:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:52:02] Production.INFO: ==25312== Releasing lock...
[2025-01-13 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:52:02] Production.INFO: ==25314== Lock acquired, processing the job...
[2025-01-13 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:52:02] Production.INFO: ==25314== Releasing lock...
[2025-01-13 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:52:03] Production.INFO: ==25325== Lock acquired, processing the job...
[2025-01-13 10:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:52:03] Production.INFO: ==25327== Lock acquired, processing the job...
[2025-01-13 10:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:52:03] Production.INFO: ==25317== Lock acquired, processing the job...
[2025-01-13 10:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:52:03] Production.INFO: ==25319== Lock acquired, processing the job...
[2025-01-13 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:52:03] Production.INFO: ==25321== Lock acquired, processing the job...
[2025-01-13 10:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:52:03] Production.INFO: ==25323== Lock acquired, processing the job...
[2025-01-13 10:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 10:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:52:03] Production.INFO: count ==21
[2025-01-13 10:52:03] Production.ERROR: done
[2025-01-13 10:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 10:52:03] Production.INFO: count ==21
[2025-01-13 10:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238449') start
[2025-01-13 10:52:03] Production.INFO: Account Balance Start.
[2025-01-13 10:52:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:52:03] Production.INFO: 117
[2025-01-13 10:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238449') end
[2025-01-13 10:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:52:03] Production.INFO: 1
[2025-01-13 10:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:52:03] Production.INFO: ==25327== Releasing lock...
[2025-01-13 10:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:52:03] Production.ERROR: done
[2025-01-13 10:52:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:52:04] Production.INFO: ==25319== Releasing lock...
[2025-01-13 10:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:52:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:52:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:52:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:52:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:52:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:52:04] Production.INFO: Total Charge 0
[2025-01-13 10:52:04] Production.INFO: CreateAllLog End
[2025-01-13 10:52:04] Production.INFO: Account Balance End.
[2025-01-13 10:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:52:04] Production.INFO: ==25323== Releasing lock...
[2025-01-13 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:52:04
[end_date_ymd] => 2025-01-13 10:52:04
[RateCDR] => 1
)
[2025-01-13 10: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-13 07:52:04' and `end` < '2025-01-13 10: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-13 10:52:12] Production.ERROR: CronJobId end10
[2025-01-13 10:52:12] Production.INFO: ==25321== Releasing lock...
[2025-01-13 10:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:52:13] Production.INFO: call_cost start
[2025-01-13 10:52:13] Production.INFO: call_cost end
[2025-01-13 10:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:52:14] Production.INFO: ==25317== Releasing lock...
[2025-01-13 10:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:52:24] Production.INFO: count ==4391
[2025-01-13 10:52:25] Production.ERROR: pbx CDR StartTime 2025-01-13 07:52:04 - End Time 2025-01-13 10:52:04
[2025-01-13 10:52:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238453', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238453', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238453', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:52:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238453', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:52:25] Production.INFO: ProcessCDR(1,14238453,1,1,2)
[2025-01-13 10:52:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:52:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:52:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:52:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:52:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238453', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:52:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238453', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:52:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:52:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:52:31] Production.INFO: ==25325== Releasing lock...
[2025-01-13 10:52:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:52:31] Production.INFO: 60.75 MB #Memory Used#
[2025-01-13 15:53:02] Production.INFO: ==25383== Lock acquired, processing the job...
[2025-01-13 15:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:53:02] Production.INFO: neon service started
[2025-01-13 15:53:02] Production.INFO: neon service started
[2025-01-13 15:53:02] Production.INFO: ==25383== Releasing lock...
[2025-01-13 15:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:53:02] Production.INFO: ==25385== Lock acquired, processing the job...
[2025-01-13 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:53:02] Production.INFO: ==25387== Lock acquired, processing the job...
[2025-01-13 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:53:02] Production.INFO: ==25387== Releasing lock...
[2025-01-13 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:53:03] Production.INFO: ==25385== Releasing lock...
[2025-01-13 10:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:53:04] Production.INFO: ==25390== Lock acquired, processing the job...
[2025-01-13 10:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:53:04] Production.INFO: ==25396== Lock acquired, processing the job...
[2025-01-13 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:53:04] Production.INFO: ==25398== Lock acquired, processing the job...
[2025-01-13 10:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:53:04] Production.INFO: ==25392== Lock acquired, processing the job...
[2025-01-13 10:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:53:04] Production.INFO: ==25394== Lock acquired, processing the job...
[2025-01-13 10:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:53:04] Production.INFO: Account Balance Start.
[2025-01-13 10:53:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:53:04] Production.INFO: 117
[2025-01-13 10:53:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:53:04] Production.INFO: ==25400== Lock acquired, processing the job...
[2025-01-13 10:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:53:04] Production.ERROR: done
[2025-01-13 10:53:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:53:04] Production.INFO: ==25392== Releasing lock...
[2025-01-13 10:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 10:53:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:53:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:53:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:53:04] Production.INFO: count ==21
[2025-01-13 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-13 10:53:04] Production.INFO: count ==21
[2025-01-13 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238457') start
[2025-01-13 10:53:04] Production.ERROR: done
[2025-01-13 10:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:53:04] Production.INFO: Total Charge 0
[2025-01-13 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238457') end
[2025-01-13 10:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:53:04] Production.INFO: 1
[2025-01-13 10:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:53:04] Production.INFO: CreateAllLog End
[2025-01-13 10:53:04] Production.INFO: ==25400== Releasing lock...
[2025-01-13 10:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:53:04] Production.INFO: Account Balance End.
[2025-01-13 10:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:53:04] Production.INFO: ==25396== Releasing lock...
[2025-01-13 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:53:05
[end_date_ymd] => 2025-01-13 10:53:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:53:05' and `end` < '2025-01-13 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-13 10:53:13] Production.ERROR: CronJobId end10
[2025-01-13 10:53:13] Production.INFO: ==25394== Releasing lock...
[2025-01-13 10:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:53:13] Production.INFO: call_cost start
[2025-01-13 10:53:13] Production.INFO: call_cost end
[2025-01-13 10:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:53:14] Production.INFO: ==25390== Releasing lock...
[2025-01-13 10:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:53:34] Production.INFO: count ==4432
[2025-01-13 10:53:36] Production.ERROR: pbx CDR StartTime 2025-01-13 07:53:05 - End Time 2025-01-13 10:53:05
[2025-01-13 10:53:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:53:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238458', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:53:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238458', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:53:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238458', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:53:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238458', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:53:36] Production.INFO: ProcessCDR(1,14238458,1,1,2)
[2025-01-13 10:53:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:53:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:53:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:53:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:53:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238458', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:53:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238458', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:53:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:53:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:53:41] Production.INFO: ==25398== Releasing lock...
[2025-01-13 10:53:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:53:41] Production.INFO: 61.25 MB #Memory Used#
[2025-01-13 15:54:01] Production.INFO: ==25454== Lock acquired, processing the job...
[2025-01-13 15:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:54:01] Production.INFO: neon service started
[2025-01-13 15:54:01] Production.INFO: neon service started
[2025-01-13 15:54:01] Production.INFO: ==25454== Releasing lock...
[2025-01-13 15:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:54:02] Production.INFO: ==25458== Lock acquired, processing the job...
[2025-01-13 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:54:02] Production.INFO: ==25458== Releasing lock...
[2025-01-13 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:54:02] Production.INFO: ==25456== Lock acquired, processing the job...
[2025-01-13 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:54:02] Production.INFO: ==25456== Releasing lock...
[2025-01-13 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:54:03] Production.INFO: ==25465== Lock acquired, processing the job...
[2025-01-13 10:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:54:03] Production.INFO: ==25461== Lock acquired, processing the job...
[2025-01-13 10:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:54:03] Production.INFO: ==25467== Lock acquired, processing the job...
[2025-01-13 10:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:54:03] Production.INFO: ==25463== Lock acquired, processing the job...
[2025-01-13 10:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:54:03] Production.INFO: Account Balance Start.
[2025-01-13 10:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:54:03] Production.INFO: 117
[2025-01-13 10:54:03] Production.INFO: ==25469== Lock acquired, processing the job...
[2025-01-13 10:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:54:03] Production.INFO: ==25471== Lock acquired, processing the job...
[2025-01-13 10:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:54:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:54:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:54:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 10:54:04] Production.INFO: count ==21
[2025-01-13 10:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:54:04] Production.INFO: ==25463== Releasing lock...
[2025-01-13 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 10:54:04] Production.INFO: count ==21
[2025-01-13 10:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238462') start
[2025-01-13 10:54:04] Production.INFO: Total Charge 0
[2025-01-13 10:54:04] Production.INFO: CreateAllLog End
[2025-01-13 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238462') end
[2025-01-13 10:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:54:04] Production.INFO: 1
[2025-01-13 10:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:54:04] Production.ERROR: done
[2025-01-13 10:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:54:04] Production.INFO: ==25471== Releasing lock...
[2025-01-13 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:54:04] Production.INFO: Account Balance End.
[2025-01-13 10:54:04] Production.ERROR: done
[2025-01-13 10:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:54:04] Production.INFO: ==25467== Releasing lock...
[2025-01-13 10:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:54:05
[end_date_ymd] => 2025-01-13 10:54:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:54:05' and `end` < '2025-01-13 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-13 10:54:11] Production.ERROR: CronJobId end10
[2025-01-13 10:54:11] Production.INFO: ==25465== Releasing lock...
[2025-01-13 10:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:54:13] Production.INFO: call_cost start
[2025-01-13 10:54:13] Production.INFO: call_cost end
[2025-01-13 10:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:54:14] Production.INFO: ==25461== Releasing lock...
[2025-01-13 10:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:54:23] Production.INFO: count ==4437
[2025-01-13 10:54:25] Production.ERROR: pbx CDR StartTime 2025-01-13 07:54:05 - End Time 2025-01-13 10:54:05
[2025-01-13 10:54:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238463', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238463', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238463', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238463', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:54:25] Production.INFO: ProcessCDR(1,14238463,1,1,2)
[2025-01-13 10:54:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:54:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:54:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:54:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238463', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238463', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:54:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:54:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:54:30] Production.INFO: ==25469== Releasing lock...
[2025-01-13 10:54:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:54:30] Production.INFO: 61.25 MB #Memory Used#
[2025-01-13 15:55:02] Production.INFO: ==25528== Lock acquired, processing the job...
[2025-01-13 15:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:55:02] Production.INFO: neon service started
[2025-01-13 15:55:02] Production.INFO: neon service started
[2025-01-13 15:55:02] Production.INFO: ==25528== Releasing lock...
[2025-01-13 15:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:55:02] Production.INFO: ==25530== Lock acquired, processing the job...
[2025-01-13 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:55:02] Production.INFO: ==25530== Releasing lock...
[2025-01-13 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:55:03] Production.INFO: ==25532== Lock acquired, processing the job...
[2025-01-13 15:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:55:03] Production.INFO: ==25532== Releasing lock...
[2025-01-13 15:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:55:03] Production.INFO: ==25543== Lock acquired, processing the job...
[2025-01-13 10:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:55:03] Production.INFO: ==25545== Lock acquired, processing the job...
[2025-01-13 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 10:55:03] Production.INFO: ==25537== Lock acquired, processing the job...
[2025-01-13 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:55:03] Production.INFO: ==25535== Lock acquired, processing the job...
[2025-01-13 10:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:55:03] Production.INFO: count ==21
[2025-01-13 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-13 10:55:03] Production.INFO: count ==21
[2025-01-13 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238464') start
[2025-01-13 10:55:03] Production.INFO: ==25539== Lock acquired, processing the job...
[2025-01-13 10:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:55:04] Production.INFO: ==25541== Lock acquired, processing the job...
[2025-01-13 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238464') end
[2025-01-13 10:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:55:04] Production.INFO: 1
[2025-01-13 10:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:55:04] Production.ERROR: done
[2025-01-13 10:55:04] Production.INFO: Account Balance Start.
[2025-01-13 10:55:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:55:04] Production.INFO: 117
[2025-01-13 10:55:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:55:04] Production.INFO: ==25545== Releasing lock...
[2025-01-13 10:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:55:04] Production.ERROR: done
[2025-01-13 10:55:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:55:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:55:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:55:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:55:04] Production.INFO: ==25537== Releasing lock...
[2025-01-13 10:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:55:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:55:04] Production.INFO: Total Charge 0
[2025-01-13 10:55:04] Production.INFO: CreateAllLog End
[2025-01-13 10:55:04] Production.INFO: Account Balance End.
[2025-01-13 10:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:55:04] Production.INFO: ==25541== Releasing lock...
[2025-01-13 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:55:05
[end_date_ymd] => 2025-01-13 10:55:05
[RateCDR] => 1
)
[2025-01-13 10: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-13 07:55:05' and `end` < '2025-01-13 10: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-13 10:55:11] Production.ERROR: CronJobId end10
[2025-01-13 10:55:11] Production.INFO: ==25539== Releasing lock...
[2025-01-13 10:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:55:14] Production.INFO: call_cost start
[2025-01-13 10:55:14] Production.INFO: call_cost end
[2025-01-13 10:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:55:15] Production.INFO: ==25535== Releasing lock...
[2025-01-13 10:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:55:23] Production.INFO: count ==4458
[2025-01-13 10:55:25] Production.ERROR: pbx CDR StartTime 2025-01-13 07:55:05 - End Time 2025-01-13 10:55:05
[2025-01-13 10:55:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:55:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238468', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:55:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238468', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:55:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238468', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:55:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238468', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:55:25] Production.INFO: ProcessCDR(1,14238468,1,1,2)
[2025-01-13 10:55:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:55:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:55:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:55:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:55:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238468', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:55:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238468', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:55:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:55:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:55:29] Production.INFO: ==25543== Releasing lock...
[2025-01-13 10:55:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:55:29] Production.INFO: 61.25 MB #Memory Used#
[2025-01-13 15:56:01] Production.INFO: ==25600== Lock acquired, processing the job...
[2025-01-13 15:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:56:01] Production.INFO: neon service started
[2025-01-13 15:56:01] Production.INFO: neon service started
[2025-01-13 15:56:01] Production.INFO: ==25600== Releasing lock...
[2025-01-13 15:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:56:02] Production.INFO: ==25602== Lock acquired, processing the job...
[2025-01-13 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:56:02] Production.INFO: ==25602== Releasing lock...
[2025-01-13 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:56:02] Production.INFO: ==25604== Lock acquired, processing the job...
[2025-01-13 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:56:02] Production.INFO: ==25604== Releasing lock...
[2025-01-13 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:56:03] Production.INFO: ==25607== Lock acquired, processing the job...
[2025-01-13 10:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:56:03] Production.INFO: ==25617== Lock acquired, processing the job...
[2025-01-13 10:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:56:03] Production.INFO: ==25615== Lock acquired, processing the job...
[2025-01-13 10:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10: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-13 10:56:03] Production.INFO: ==25609== Lock acquired, processing the job...
[2025-01-13 10:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:56:03] Production.INFO: count ==21
[2025-01-13 10: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-13 10:56:03] Production.INFO: ==25611== Lock acquired, processing the job...
[2025-01-13 10:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:56:03] Production.INFO: count ==21
[2025-01-13 10:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238469') start
[2025-01-13 10:56:03] Production.INFO: ==25613== Lock acquired, processing the job...
[2025-01-13 10:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238469') end
[2025-01-13 10:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:56:03] Production.INFO: 1
[2025-01-13 10:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:56:03] Production.INFO: Account Balance Start.
[2025-01-13 10:56:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:56:03] Production.INFO: 117
[2025-01-13 10:56:04] Production.ERROR: done
[2025-01-13 10:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:56:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:56:04] Production.INFO: ==25617== Releasing lock...
[2025-01-13 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:56:04] Production.INFO: ==25609== Releasing lock...
[2025-01-13 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:56:04] Production.ERROR: done
[2025-01-13 10:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:56:04] Production.INFO: Total Charge 0
[2025-01-13 10:56:04] Production.INFO: CreateAllLog End
[2025-01-13 10:56:04] Production.INFO: Account Balance End.
[2025-01-13 10:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:56:04] Production.INFO: ==25613== Releasing lock...
[2025-01-13 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:56:05
[end_date_ymd] => 2025-01-13 10:56:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:56:05' and `end` < '2025-01-13 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-13 10:56:12] Production.ERROR: CronJobId end10
[2025-01-13 10:56:12] Production.INFO: ==25611== Releasing lock...
[2025-01-13 10:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:56:13] Production.INFO: call_cost start
[2025-01-13 10:56:13] Production.INFO: call_cost end
[2025-01-13 10:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:56:14] Production.INFO: ==25607== Releasing lock...
[2025-01-13 10:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:56:22] Production.INFO: count ==4472
[2025-01-13 10:56:24] Production.ERROR: pbx CDR StartTime 2025-01-13 07:56:05 - End Time 2025-01-13 10:56:05
[2025-01-13 10:56:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:56:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238473', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:56:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238473', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:56:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238473', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:56:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238473', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:56:24] Production.INFO: ProcessCDR(1,14238473,1,1,2)
[2025-01-13 10:56:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:56:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:56:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:56:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:56:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238473', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:56:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238473', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:56:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:56:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:56:29] Production.INFO: ==25615== Releasing lock...
[2025-01-13 10:56:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:56:29] Production.INFO: 61.5 MB #Memory Used#
[2025-01-13 15:57:02] Production.INFO: ==25674== Lock acquired, processing the job...
[2025-01-13 15:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:57:02] Production.INFO: neon service started
[2025-01-13 15:57:02] Production.INFO: neon service started
[2025-01-13 15:57:02] Production.INFO: ==25674== Releasing lock...
[2025-01-13 15:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:57:02] Production.INFO: ==25676== Lock acquired, processing the job...
[2025-01-13 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:57:02] Production.INFO: ==25676== Releasing lock...
[2025-01-13 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:57:02] Production.INFO: ==25678== Lock acquired, processing the job...
[2025-01-13 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:57:02] Production.INFO: ==25678== Releasing lock...
[2025-01-13 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:57:03] Production.INFO: ==25680== Lock acquired, processing the job...
[2025-01-13 10:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:57:03] Production.INFO: ==25682== Lock acquired, processing the job...
[2025-01-13 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:57:03] Production.INFO: ==25684== Lock acquired, processing the job...
[2025-01-13 10:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:57:03] Production.INFO: ==25687== Lock acquired, processing the job...
[2025-01-13 10:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:57:03] Production.INFO: ==25689== Lock acquired, processing the job...
[2025-01-13 10:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:57:04] Production.INFO: ==25682== Releasing lock...
[2025-01-13 10:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:57:04] Production.INFO: Account Balance Start.
[2025-01-13 10:57:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:57:04] Production.INFO: 117
[2025-01-13 10:57:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:57:04] Production.INFO: ==25691== Lock acquired, processing the job...
[2025-01-13 10:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:57:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:57:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:57:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:57:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:57:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:57:04] Production.INFO: count ==21
[2025-01-13 10:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:57:04] Production.ERROR: done
[2025-01-13 10:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:57:04] Production.INFO: count ==21
[2025-01-13 10:57:04] Production.INFO: Total Charge 0
[2025-01-13 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238477') start
[2025-01-13 10:57:04] Production.INFO: CreateAllLog End
[2025-01-13 10:57:04] Production.ERROR: done
[2025-01-13 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238477') end
[2025-01-13 10:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:57:04] Production.INFO: 1
[2025-01-13 10:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:57:04] Production.INFO: Account Balance End.
[2025-01-13 10:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 10:57:04] Production.INFO: ==25687== Releasing lock...
[2025-01-13 10:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:57:04] Production.INFO: ==25691== Releasing lock...
[2025-01-13 10:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:57:05
[end_date_ymd] => 2025-01-13 10:57:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:57:05' and `end` < '2025-01-13 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-13 10:57:12] Production.ERROR: CronJobId end10
[2025-01-13 10:57:12] Production.INFO: ==25684== Releasing lock...
[2025-01-13 10:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:57:13] Production.INFO: call_cost start
[2025-01-13 10:57:13] Production.INFO: call_cost end
[2025-01-13 10:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:57:14] Production.INFO: ==25680== Releasing lock...
[2025-01-13 10:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:57:26] Production.INFO: count ==4472
[2025-01-13 10:57:28] Production.ERROR: pbx CDR StartTime 2025-01-13 07:57:05 - End Time 2025-01-13 10:57:05
[2025-01-13 10:57:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:57:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238478', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:57:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238478', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:57:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238478', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:57:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238478', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:57:28] Production.INFO: ProcessCDR(1,14238478,1,1,2)
[2025-01-13 10:57:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:57:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:57:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:57:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:57:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238478', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:57:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238478', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:57:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:57:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:57:33] Production.INFO: ==25689== Releasing lock...
[2025-01-13 10:57:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:57:33] Production.INFO: 61.5 MB #Memory Used#
[2025-01-13 15:58:01] Production.INFO: ==25744== Lock acquired, processing the job...
[2025-01-13 15:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:58:01] Production.INFO: neon service started
[2025-01-13 15:58:01] Production.INFO: neon service started
[2025-01-13 15:58:01] Production.INFO: ==25744== Releasing lock...
[2025-01-13 15:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:58:02] Production.INFO: ==25748== Lock acquired, processing the job...
[2025-01-13 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:58:02] Production.INFO: ==25748== Releasing lock...
[2025-01-13 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:58:02] Production.INFO: ==25746== Lock acquired, processing the job...
[2025-01-13 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 10:58:02] Production.INFO: ==25746== Releasing lock...
[2025-01-13 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:58:03] Production.INFO: ==25756== Lock acquired, processing the job...
[2025-01-13 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:58:03] Production.INFO: Account Balance Start.
[2025-01-13 10:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 10:58:03] Production.INFO: 117
[2025-01-13 10:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:58:03] Production.INFO: ==25761== Lock acquired, processing the job...
[2025-01-13 10:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:58:03] Production.INFO: Date 2025-01-13
[2025-01-13 10:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 10:58:03] Production.INFO: ==25750== Lock acquired, processing the job...
[2025-01-13 10:58:03] Production.INFO: Total Charge 0
[2025-01-13 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:58:03] Production.INFO: CreateAllLog End
[2025-01-13 10:58:03] Production.INFO: ==25752== Lock acquired, processing the job...
[2025-01-13 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:58:03] Production.INFO: ==25754== Lock acquired, processing the job...
[2025-01-13 10:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:58:03] Production.INFO: Account Balance End.
[2025-01-13 10:58:03] Production.ERROR: CronJobId end 12
[2025-01-13 10:58:03] Production.INFO: ==25756== Releasing lock...
[2025-01-13 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:58:03] Production.INFO: count ==21
[2025-01-13 10:58:03] Production.INFO: ==25759== Lock acquired, processing the job...
[2025-01-13 10:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:58:03] Production.INFO: count ==21
[2025-01-13 10:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238480') start
[2025-01-13 10:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238480') end
[2025-01-13 10:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:58:04] Production.INFO: 1
[2025-01-13 10:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:58:04] Production.INFO: ==25752== Releasing lock...
[2025-01-13 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:58:04] Production.INFO: ==25761== Releasing lock...
[2025-01-13 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:58:04] Production.ERROR: done
[2025-01-13 10:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:58:04] Production.ERROR: done
[2025-01-13 10:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:58:05
[end_date_ymd] => 2025-01-13 10:58:05
[RateCDR] => 1
)
[2025-01-13 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-13 07:58:05' and `end` < '2025-01-13 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-13 10:58:11] Production.ERROR: CronJobId end10
[2025-01-13 10:58:11] Production.INFO: ==25754== Releasing lock...
[2025-01-13 10:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:58:13] Production.INFO: call_cost start
[2025-01-13 10:58:13] Production.INFO: call_cost end
[2025-01-13 10:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:58:14] Production.INFO: ==25750== Releasing lock...
[2025-01-13 10:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:58:29] Production.INFO: count ==4510
[2025-01-13 10:58:31] Production.ERROR: pbx CDR StartTime 2025-01-13 07:58:05 - End Time 2025-01-13 10:58:05
[2025-01-13 10:58:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:58:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238483', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:58:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238483', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:58:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238483', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:58:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238483', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:58:31] Production.INFO: ProcessCDR(1,14238483,1,1,2)
[2025-01-13 10:58:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:58:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:58:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:58:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:58:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238483', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:58:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238483', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:58:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:58:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:58:36] Production.INFO: ==25759== Releasing lock...
[2025-01-13 10:58:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:58:36] Production.INFO: 61.75 MB #Memory Used#
[2025-01-13 15:59:02] Production.INFO: ==25816== Lock acquired, processing the job...
[2025-01-13 15:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 15:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 15:59:02] Production.INFO: neon service started
[2025-01-13 15:59:02] Production.INFO: neon service started
[2025-01-13 15:59:02] Production.INFO: ==25816== Releasing lock...
[2025-01-13 15:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 15:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 10:59:02] Production.INFO: ==25818== Lock acquired, processing the job...
[2025-01-13 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:59:02] Production.INFO: ==25820== Lock acquired, processing the job...
[2025-01-13 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:59:02] Production.INFO: ==25820== Releasing lock...
[2025-01-13 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 15:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 10:59:03] Production.INFO: ==25818== Releasing lock...
[2025-01-13 10:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 10:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 10:59:03] Production.INFO: ==25823== Lock acquired, processing the job...
[2025-01-13 10:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 10:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 10:59:04] Production.INFO: ==25827== Lock acquired, processing the job...
[2025-01-13 10:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 10:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 10:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 10:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 10:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 10:59:04] Production.INFO: ==25833== Lock acquired, processing the job...
[2025-01-13 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 10:59:04] Production.INFO: ==25825== Lock acquired, processing the job...
[2025-01-13 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 10:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:59:04] Production.INFO: ==25831== Lock acquired, processing the job...
[2025-01-13 10:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 10:59:04] Production.INFO: ==25829== Lock acquired, processing the job...
[2025-01-13 10:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 10:59:04] Production.INFO: count ==21
[2025-01-13 10:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 10:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 10:59:04] Production.INFO: count ==21
[2025-01-13 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238485') start
[2025-01-13 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238485') end
[2025-01-13 10:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 10:59:04] Production.INFO: 1
[2025-01-13 10:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 10:59:04] Production.INFO: Account Balance Start.
[2025-01-13 10:59:04] Production.INFO: CreateAllLog Start
[2025-01-13 10:59:04] Production.INFO: 117
[2025-01-13 10:59:04] Production.INFO: ==25825== Releasing lock...
[2025-01-13 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 10:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 10:59:04] Production.INFO: Date 2025-01-08
[2025-01-13 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:59:04] Production.INFO: ==25833== Releasing lock...
[2025-01-13 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 10:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 10:59:04] Production.ERROR: done
[2025-01-13 10:59:04] Production.INFO: Date 2025-01-09
[2025-01-13 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 10:59:04] Production.INFO: Date 2025-01-10
[2025-01-13 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:59:04] Production.INFO: Date 2025-01-11
[2025-01-13 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:59:04] Production.INFO: Date 2025-01-12
[2025-01-13 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:59:04] Production.ERROR: done
[2025-01-13 10:59:04] Production.INFO: Date 2025-01-13
[2025-01-13 10:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 10:59:04] Production.INFO: Total Charge 0
[2025-01-13 10:59:05] Production.INFO: CreateAllLog End
[2025-01-13 10:59:05] Production.INFO: Account Balance End.
[2025-01-13 10:59:05] Production.ERROR: CronJobId end 12
[2025-01-13 10:59:05] Production.INFO: ==25829== Releasing lock...
[2025-01-13 10:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 10:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 10:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 07:59:06
[end_date_ymd] => 2025-01-13 10:59:06
[RateCDR] => 1
)
[2025-01-13 10:59:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 07:59:06' and `end` < '2025-01-13 10:59:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 10:59:11] Production.ERROR: CronJobId end10
[2025-01-13 10:59:11] Production.INFO: ==25827== Releasing lock...
[2025-01-13 10:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 10:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 10:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 10:59:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 10:59:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 10:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 10:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 10:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 10:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 10:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 10:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 10:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 10:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 10:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 10:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 10:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 10:59:14] Production.INFO: call_cost start
[2025-01-13 10:59:14] Production.INFO: call_cost end
[2025-01-13 10:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 10:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 10:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 10:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 10:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 10:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 10:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 10:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 10:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 10:59:15] Production.INFO: ==25823== Releasing lock...
[2025-01-13 10:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 10:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 10:59:30] Production.INFO: count ==4556
[2025-01-13 10:59:32] Production.ERROR: pbx CDR StartTime 2025-01-13 07:59:06 - End Time 2025-01-13 10:59:06
[2025-01-13 10:59:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 10:59:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238488', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:59:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238488', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:59:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238488', 'tblTempVendorCDR_20' ) start
[2025-01-13 10:59:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238488', 'tblTempVendorCDR_20' ) end
[2025-01-13 10:59:32] Production.INFO: ProcessCDR(1,14238488,1,1,2)
[2025-01-13 10:59:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:59:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 10:59:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:59:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 10:59:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238488', 'tblTempUsageDetail_20' ) start
[2025-01-13 10:59:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238488', 'tblTempUsageDetail_20' ) end
[2025-01-13 10:59:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 10:59:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 10:59:36] Production.INFO: ==25831== Releasing lock...
[2025-01-13 10:59:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 10:59:36] Production.INFO: 62 MB #Memory Used#
[2025-01-13 16:00:01] Production.INFO: ==25886== Lock acquired, processing the job...
[2025-01-13 16:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:00:01] Production.INFO: neon service started
[2025-01-13 16:00:01] Production.INFO: neon service started
[2025-01-13 16:00:01] Production.INFO: ==25886== Releasing lock...
[2025-01-13 16:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:00:02] Production.INFO: ==25888== Lock acquired, processing the job...
[2025-01-13 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:00:02] Production.INFO: ==25890== Lock acquired, processing the job...
[2025-01-13 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:00:02] Production.INFO: ==25890== Releasing lock...
[2025-01-13 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:00:02] Production.INFO: ==25888== Releasing lock...
[2025-01-13 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:00:03] Production.INFO: ==25892== Lock acquired, processing the job...
[2025-01-13 11:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 11:00:03] Production.INFO: ==25896== Lock acquired, processing the job...
[2025-01-13 11:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 11:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 11:00:03] Production.ERROR: CronJob PID - 25896
[2025-01-13 11:00:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 11:00:03] Production.ERROR: CronJob ID - 7
[2025-01-13 11:00:03] Production.ERROR: CronJob Last Run Time 2025-01-13 11:00:00
[2025-01-13 11:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 11:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 11:00:03] Production.INFO: ==25900== Lock acquired, processing the job...
[2025-01-13 11:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 11:00:03] Production.INFO: ==25892== Releasing lock...
[2025-01-13 11:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 11:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 11:00:03] Production.INFO: Account Balance Start.
[2025-01-13 11:00:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:00:03] Production.INFO: 117
[2025-01-13 11:00:03] Production.INFO: ==25907== Lock acquired, processing the job...
[2025-01-13 11:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:00:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:00:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:00:03] Production.INFO: ==25894== Lock acquired, processing the job...
[2025-01-13 11:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:00:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:00:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:00:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:00:03] Production.INFO: Reseller ==> 0
[2025-01-13 11: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-13 11:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:00:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:00:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:00:03] Production.INFO: count ==21
[2025-01-13 11: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-13 11:00:03] Production.INFO: ==25898== Lock acquired, processing the job...
[2025-01-13 11:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:00:03] Production.INFO: count ==21
[2025-01-13 11:00:03] Production.INFO: ==25896== Releasing lock...
[2025-01-13 11:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238491') start
[2025-01-13 11:00:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:00:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:00:04] Production.INFO: ==25902== Lock acquired, processing the job...
[2025-01-13 11:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:00:04] Production.INFO: ==25905== Lock acquired, processing the job...
[2025-01-13 11:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 11:00:04] Production.INFO: Total Charge 0
[2025-01-13 11:00:04] Production.INFO: CreateAllLog End
[2025-01-13 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238491') end
[2025-01-13 11:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:00:04] Production.INFO: 1
[2025-01-13 11:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:00:04] Production.INFO: ==25907== Releasing lock...
[2025-01-13 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:00:04] Production.INFO: Account Balance End.
[2025-01-13 11:00:04] Production.ERROR: done
[2025-01-13 11:00:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:00:04] Production.INFO: ==25900== Releasing lock...
[2025-01-13 11:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:00:04] Production.ERROR: done
[2025-01-13 11:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 11:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238493', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 11:00:04] Production.ERROR: done
[2025-01-13 11:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:00:05
[end_date_ymd] => 2025-01-13 11:00:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:00:05' and `end` < '2025-01-13 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-13 11:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238493', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 11:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 11:00:08] Production.INFO: ProcessCDR(1,14238493,1,1,2)
[2025-01-13 11:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238493,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238493,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:00:08] Production.INFO: ==25905== Releasing lock...
[2025-01-13 11:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 11:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 11:00:13] Production.ERROR: CronJobId end10
[2025-01-13 11:00:13] Production.INFO: ==25898== Releasing lock...
[2025-01-13 11:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:00:14] Production.INFO: call_cost start
[2025-01-13 11:00:14] Production.INFO: call_cost end
[2025-01-13 11:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:00:15] Production.INFO: ==25894== Releasing lock...
[2025-01-13 11:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:00:32] Production.INFO: count ==4574
[2025-01-13 11:00:34] Production.ERROR: pbx CDR StartTime 2025-01-13 08:00:05 - End Time 2025-01-13 11:00:05
[2025-01-13 11:00:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238494', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238494', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238494', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238494', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:00:34] Production.INFO: ProcessCDR(1,14238494,1,1,2)
[2025-01-13 11:00:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:00:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:00:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:00:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:00:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238494', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:00:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238494', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:00:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:00:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:00:39] Production.INFO: ==25902== Releasing lock...
[2025-01-13 11:00:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:00:39] Production.INFO: 62.25 MB #Memory Used#
[2025-01-13 16:01:02] Production.INFO: ==26042== Lock acquired, processing the job...
[2025-01-13 16:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:01:02] Production.INFO: neon service started
[2025-01-13 16:01:02] Production.INFO: neon service started
[2025-01-13 16:01:02] Production.INFO: ==26042== Releasing lock...
[2025-01-13 16:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:01:02] Production.INFO: ==26055== Lock acquired, processing the job...
[2025-01-13 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:01:02] Production.INFO: ==26057== Lock acquired, processing the job...
[2025-01-13 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:01:02] Production.INFO: ==26057== Releasing lock...
[2025-01-13 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:01:03] Production.INFO: ==26055== Releasing lock...
[2025-01-13 11:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:01:03] Production.INFO: ==26064== Lock acquired, processing the job...
[2025-01-13 11:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:01:03] Production.INFO: ==26060== Lock acquired, processing the job...
[2025-01-13 11:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:01:03] Production.INFO: ==26062== Lock acquired, processing the job...
[2025-01-13 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:01:03] Production.INFO: ==26070== Lock acquired, processing the job...
[2025-01-13 11:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:01:04] Production.INFO: ==26066== Lock acquired, processing the job...
[2025-01-13 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 11:01:04] Production.INFO: ==26068== Lock acquired, processing the job...
[2025-01-13 11:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:01:04] Production.INFO: count ==21
[2025-01-13 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-13 11:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:01:04] Production.INFO: count ==21
[2025-01-13 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238497') start
[2025-01-13 11:01:04] Production.INFO: Account Balance Start.
[2025-01-13 11:01:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:01:04] Production.INFO: 117
[2025-01-13 11:01:04] Production.INFO: ==26062== Releasing lock...
[2025-01-13 11:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238497') end
[2025-01-13 11:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:01:04] Production.INFO: 1
[2025-01-13 11:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:01:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:01:04] Production.INFO: ==26070== Releasing lock...
[2025-01-13 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:01:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:01:04] Production.ERROR: done
[2025-01-13 11:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:01:04] Production.ERROR: done
[2025-01-13 11:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:01:04] Production.INFO: Total Charge 0
[2025-01-13 11:01:04] Production.INFO: CreateAllLog End
[2025-01-13 11:01:05] Production.INFO: Account Balance End.
[2025-01-13 11:01:05] Production.ERROR: CronJobId end 12
[2025-01-13 11:01:05] Production.INFO: ==26066== Releasing lock...
[2025-01-13 11:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:01:05
[end_date_ymd] => 2025-01-13 11:01:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:01:05' and `end` < '2025-01-13 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-13 11:01:12] Production.ERROR: CronJobId end10
[2025-01-13 11:01:12] Production.INFO: ==26064== Releasing lock...
[2025-01-13 11:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:01:14] Production.INFO: call_cost start
[2025-01-13 11:01:14] Production.INFO: call_cost end
[2025-01-13 11:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:01:15] Production.INFO: ==26060== Releasing lock...
[2025-01-13 11:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:01:31] Production.INFO: count ==4684
[2025-01-13 11:01:33] Production.ERROR: pbx CDR StartTime 2025-01-13 08:01:05 - End Time 2025-01-13 11:01:05
[2025-01-13 11:01:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:01:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238499', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:01:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238499', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:01:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238499', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:01:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238499', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:01:33] Production.INFO: ProcessCDR(1,14238499,1,1,2)
[2025-01-13 11:01:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:01:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:01:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:01:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:01:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238499', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:01:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238499', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:01:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:01:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:01:38] Production.INFO: ==26068== Releasing lock...
[2025-01-13 11:01:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:01:38] Production.INFO: 63 MB #Memory Used#
[2025-01-13 16:02:01] Production.INFO: ==26125== Lock acquired, processing the job...
[2025-01-13 16:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:02:01] Production.INFO: neon service started
[2025-01-13 16:02:01] Production.INFO: neon service started
[2025-01-13 16:02:01] Production.INFO: ==26125== Releasing lock...
[2025-01-13 16:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:02:02] Production.INFO: ==26129== Lock acquired, processing the job...
[2025-01-13 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:02:02] Production.INFO: ==26129== Releasing lock...
[2025-01-13 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:02:02] Production.INFO: ==26127== Lock acquired, processing the job...
[2025-01-13 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:02:02] Production.INFO: ==26127== Releasing lock...
[2025-01-13 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:02:03] Production.INFO: ==26132== Lock acquired, processing the job...
[2025-01-13 11:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:02:03] Production.INFO: ==26136== Lock acquired, processing the job...
[2025-01-13 11:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:02:03] Production.INFO: ==26142== Lock acquired, processing the job...
[2025-01-13 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:02:03] Production.INFO: ==26134== Lock acquired, processing the job...
[2025-01-13 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 11:02:03] Production.INFO: ==26138== Lock acquired, processing the job...
[2025-01-13 11:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:02:03] Production.INFO: count ==21
[2025-01-13 11:02:03] Production.INFO: ==26140== Lock acquired, processing the job...
[2025-01-13 11:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 11:02:03] Production.INFO: count ==21
[2025-01-13 11:02:03] Production.INFO: Account Balance Start.
[2025-01-13 11:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:02:03] Production.INFO: 117
[2025-01-13 11:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238501') start
[2025-01-13 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:02:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:02:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:02:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238501') end
[2025-01-13 11:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:02:03] Production.INFO: 1
[2025-01-13 11:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:02:03] Production.INFO: ==26142== Releasing lock...
[2025-01-13 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:02:03] Production.INFO: ==26134== Releasing lock...
[2025-01-13 11:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:02:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:02:04] Production.ERROR: done
[2025-01-13 11:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:02:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:02:04] Production.INFO: Total Charge 0
[2025-01-13 11:02:04] Production.INFO: CreateAllLog End
[2025-01-13 11:02:04] Production.ERROR: done
[2025-01-13 11:02:04] Production.INFO: Account Balance End.
[2025-01-13 11:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:02:04] Production.INFO: ==26138== Releasing lock...
[2025-01-13 11:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:02:05
[end_date_ymd] => 2025-01-13 11:02:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:02:05' and `end` < '2025-01-13 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-13 11:02:12] Production.ERROR: CronJobId end10
[2025-01-13 11:02:12] Production.INFO: ==26136== Releasing lock...
[2025-01-13 11:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:02:13] Production.INFO: call_cost start
[2025-01-13 11:02:13] Production.INFO: call_cost end
[2025-01-13 11:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:02:14] Production.INFO: ==26132== Releasing lock...
[2025-01-13 11:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:02:24] Production.INFO: count ==4677
[2025-01-13 11:02:26] Production.ERROR: pbx CDR StartTime 2025-01-13 08:02:05 - End Time 2025-01-13 11:02:05
[2025-01-13 11:02:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238504', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238504', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238504', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238504', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:02:26] Production.INFO: ProcessCDR(1,14238504,1,1,2)
[2025-01-13 11:02:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:02:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:02:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:02:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238504', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:02:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238504', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:02:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:02:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:02:31] Production.INFO: ==26140== Releasing lock...
[2025-01-13 11:02:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:02:31] Production.INFO: 63 MB #Memory Used#
[2025-01-13 16:03:02] Production.INFO: ==26196== Lock acquired, processing the job...
[2025-01-13 16:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:03:02] Production.INFO: neon service started
[2025-01-13 16:03:02] Production.INFO: neon service started
[2025-01-13 16:03:02] Production.INFO: ==26196== Releasing lock...
[2025-01-13 16:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:03:02] Production.INFO: ==26201== Lock acquired, processing the job...
[2025-01-13 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:03:02] Production.INFO: ==26201== Releasing lock...
[2025-01-13 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:03:02] Production.INFO: ==26199== Lock acquired, processing the job...
[2025-01-13 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:03:02] Production.INFO: ==26199== Releasing lock...
[2025-01-13 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:03:03] Production.INFO: ==26205== Lock acquired, processing the job...
[2025-01-13 11:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:03:03] Production.INFO: ==26213== Lock acquired, processing the job...
[2025-01-13 11:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:03:03] Production.INFO: ==26203== Lock acquired, processing the job...
[2025-01-13 11:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:03:03] Production.INFO: ==26207== Lock acquired, processing the job...
[2025-01-13 11:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:03:03] Production.INFO: count ==21
[2025-01-13 11:03:03] Production.INFO: ==26205== Releasing lock...
[2025-01-13 11:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:03:03] Production.INFO: ==26209== Lock acquired, processing the job...
[2025-01-13 11:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:03:04] Production.INFO: count ==21
[2025-01-13 11:03:04] Production.INFO: ==26211== Lock acquired, processing the job...
[2025-01-13 11:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238506') start
[2025-01-13 11:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:03:04] Production.INFO: Account Balance Start.
[2025-01-13 11:03:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238506') end
[2025-01-13 11:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:03:04] Production.INFO: 1
[2025-01-13 11:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:03:04] Production.INFO: 117
[2025-01-13 11:03:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:03:04] Production.INFO: ==26213== Releasing lock...
[2025-01-13 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:03:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:03:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:03:04] Production.ERROR: done
[2025-01-13 11:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:03:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:03:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:03:04] Production.ERROR: done
[2025-01-13 11:03:04] Production.INFO: Total Charge 0
[2025-01-13 11:03:04] Production.INFO: CreateAllLog End
[2025-01-13 11:03:04] Production.INFO: Account Balance End.
[2025-01-13 11:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:03:04] Production.INFO: ==26209== Releasing lock...
[2025-01-13 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:03:05
[end_date_ymd] => 2025-01-13 11:03:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:03:05' and `end` < '2025-01-13 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-13 11:03:11] Production.ERROR: CronJobId end10
[2025-01-13 11:03:11] Production.INFO: ==26207== Releasing lock...
[2025-01-13 11:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:03:13] Production.INFO: call_cost start
[2025-01-13 11:03:13] Production.INFO: call_cost end
[2025-01-13 11:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:03:14] Production.INFO: ==26203== Releasing lock...
[2025-01-13 11:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:03:24] Production.INFO: count ==4690
[2025-01-13 11:03:26] Production.ERROR: pbx CDR StartTime 2025-01-13 08:03:05 - End Time 2025-01-13 11:03:05
[2025-01-13 11:03:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238509', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238509', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238509', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238509', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:03:26] Production.INFO: ProcessCDR(1,14238509,1,1,2)
[2025-01-13 11:03:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:03:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:03:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:03:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:03:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238509', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:03:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238509', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:03:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:03:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:03:31] Production.INFO: ==26211== Releasing lock...
[2025-01-13 11:03:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:03:31] Production.INFO: 63 MB #Memory Used#
[2025-01-13 16:04:01] Production.INFO: ==26267== Lock acquired, processing the job...
[2025-01-13 16:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:04:01] Production.INFO: neon service started
[2025-01-13 16:04:01] Production.INFO: neon service started
[2025-01-13 16:04:01] Production.INFO: ==26267== Releasing lock...
[2025-01-13 16:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:04:01] Production.INFO: ==26269== Lock acquired, processing the job...
[2025-01-13 11:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:04:02] Production.INFO: ==26269== Releasing lock...
[2025-01-13 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:04:02] Production.INFO: ==26271== Lock acquired, processing the job...
[2025-01-13 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:04:02] Production.INFO: ==26271== Releasing lock...
[2025-01-13 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:04:02] Production.INFO: ==26281== Lock acquired, processing the job...
[2025-01-13 11:04:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:04:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:04:03] Production.INFO: ==26283== Lock acquired, processing the job...
[2025-01-13 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:04:03] Production.INFO: ==26273== Lock acquired, processing the job...
[2025-01-13 11:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:04:03] Production.INFO: ==26275== Lock acquired, processing the job...
[2025-01-13 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:04:03] Production.INFO: ==26277== Lock acquired, processing the job...
[2025-01-13 11:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:04:03] Production.INFO: ==26279== Lock acquired, processing the job...
[2025-01-13 11:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 11:04:03] Production.INFO: count ==21
[2025-01-13 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-13 11:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:04:03] Production.INFO: count ==21
[2025-01-13 11:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238510') start
[2025-01-13 11:04:03] Production.INFO: Account Balance Start.
[2025-01-13 11:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:04:03] Production.INFO: 117
[2025-01-13 11:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:04:03] Production.ERROR: done
[2025-01-13 11:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238510') end
[2025-01-13 11:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:04:03] Production.INFO: 1
[2025-01-13 11:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:04:03] Production.ERROR: done
[2025-01-13 11:04:03] Production.INFO: ==26283== Releasing lock...
[2025-01-13 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:04:03] Production.INFO: ==26275== Releasing lock...
[2025-01-13 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:04:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:04:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:04:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:04:03] Production.INFO: Total Charge 0
[2025-01-13 11:04:03] Production.INFO: CreateAllLog End
[2025-01-13 11:04:03] Production.INFO: Account Balance End.
[2025-01-13 11:04:03] Production.ERROR: CronJobId end 12
[2025-01-13 11:04:03] Production.INFO: ==26279== Releasing lock...
[2025-01-13 11:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:04:04
[end_date_ymd] => 2025-01-13 11:04:04
[RateCDR] => 1
)
[2025-01-13 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-13 08:04:04' and `end` < '2025-01-13 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-13 11:04:11] Production.ERROR: CronJobId end10
[2025-01-13 11:04:11] Production.INFO: ==26277== Releasing lock...
[2025-01-13 11:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:04:13] Production.INFO: call_cost start
[2025-01-13 11:04:13] Production.INFO: call_cost end
[2025-01-13 11:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:04:14] Production.INFO: ==26273== Releasing lock...
[2025-01-13 11:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:04:20] Production.INFO: count ==4696
[2025-01-13 11:04:22] Production.ERROR: pbx CDR StartTime 2025-01-13 08:04:04 - End Time 2025-01-13 11:04:04
[2025-01-13 11:04:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238514', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238514', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238514', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238514', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:04:22] Production.INFO: ProcessCDR(1,14238514,1,1,2)
[2025-01-13 11:04:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:04:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238514', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238514', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:04:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:04:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:04:27] Production.INFO: ==26281== Releasing lock...
[2025-01-13 11:04:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:04:27] Production.INFO: 63 MB #Memory Used#
[2025-01-13 16:05:01] Production.INFO: ==26419== Lock acquired, processing the job...
[2025-01-13 16:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:05:01] Production.INFO: neon service started
[2025-01-13 16:05:01] Production.INFO: neon service started
[2025-01-13 16:05:01] Production.INFO: ==26419== Releasing lock...
[2025-01-13 16:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:05:02] Production.INFO: ==26421== Lock acquired, processing the job...
[2025-01-13 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:05:02] Production.INFO: ==26421== Releasing lock...
[2025-01-13 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:05:02] Production.INFO: ==26423== Lock acquired, processing the job...
[2025-01-13 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:05:02] Production.INFO: ==26423== Releasing lock...
[2025-01-13 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:05:03] Production.INFO: ==26427== Lock acquired, processing the job...
[2025-01-13 11:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:05:03] Production.INFO: ==26425== Lock acquired, processing the job...
[2025-01-13 11:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:05:03] Production.INFO: ==26431== Lock acquired, processing the job...
[2025-01-13 11:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:05:03] Production.INFO: ==26429== Lock acquired, processing the job...
[2025-01-13 11:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:05:03] Production.INFO: ==26433== Lock acquired, processing the job...
[2025-01-13 11:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:05:03] Production.INFO: Account Balance Start.
[2025-01-13 11:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:05:03] Production.INFO: 117
[2025-01-13 11:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:05:03] Production.INFO: ==26435== Lock acquired, processing the job...
[2025-01-13 11:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:05:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:05:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:05:03] Production.INFO: ==26427== Releasing lock...
[2025-01-13 11:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:05:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:05:03] Production.INFO: count ==21
[2025-01-13 11:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:05:03] Production.INFO: count ==21
[2025-01-13 11:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238518') start
[2025-01-13 11:05:03] Production.ERROR: done
[2025-01-13 11:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:05:04] Production.INFO: Total Charge 0
[2025-01-13 11:05:04] Production.INFO: CreateAllLog End
[2025-01-13 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238518') end
[2025-01-13 11:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:05:04] Production.INFO: 1
[2025-01-13 11:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:05:04] Production.INFO: ==26435== Releasing lock...
[2025-01-13 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:05:04] Production.INFO: Account Balance End.
[2025-01-13 11:05:04] Production.ERROR: done
[2025-01-13 11:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:05:04] Production.INFO: ==26431== Releasing lock...
[2025-01-13 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:05:05
[end_date_ymd] => 2025-01-13 11:05:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:05:05' and `end` < '2025-01-13 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-13 11:05:11] Production.ERROR: CronJobId end10
[2025-01-13 11:05:11] Production.INFO: ==26429== Releasing lock...
[2025-01-13 11:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:05:12] Production.INFO: call_cost start
[2025-01-13 11:05:12] Production.INFO: call_cost end
[2025-01-13 11:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:05:13] Production.INFO: ==26425== Releasing lock...
[2025-01-13 11:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:05:29] Production.INFO: count ==4727
[2025-01-13 11:05:31] Production.ERROR: pbx CDR StartTime 2025-01-13 08:05:05 - End Time 2025-01-13 11:05:05
[2025-01-13 11:05:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238519', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238519', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238519', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238519', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:05:31] Production.INFO: ProcessCDR(1,14238519,1,1,2)
[2025-01-13 11:05:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:05:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:05:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:05:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:05:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238519', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:05:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238519', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:05:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:05:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:05:36] Production.INFO: ==26433== Releasing lock...
[2025-01-13 11:05:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:05:36] Production.INFO: 63.25 MB #Memory Used#
[2025-01-13 16:06:02] Production.INFO: ==26491== Lock acquired, processing the job...
[2025-01-13 16:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:06:02] Production.INFO: neon service started
[2025-01-13 16:06:02] Production.INFO: neon service started
[2025-01-13 16:06:02] Production.INFO: ==26491== Releasing lock...
[2025-01-13 16:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:06:02] Production.INFO: ==26493== Lock acquired, processing the job...
[2025-01-13 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:06:02] Production.INFO: ==26493== Releasing lock...
[2025-01-13 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:06:03] Production.INFO: ==26496== Lock acquired, processing the job...
[2025-01-13 16:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:06:03] Production.INFO: ==26496== Releasing lock...
[2025-01-13 16:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:06:03] Production.INFO: ==26504== Lock acquired, processing the job...
[2025-01-13 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:06:03] Production.INFO: ==26508== Lock acquired, processing the job...
[2025-01-13 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:06:03] Production.INFO: ==26498== Lock acquired, processing the job...
[2025-01-13 11:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:06:03] Production.INFO: ==26500== Lock acquired, processing the job...
[2025-01-13 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:06:03] Production.INFO: Account Balance Start.
[2025-01-13 11:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:06:03] Production.INFO: 117
[2025-01-13 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-13 11:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:06:04] Production.INFO: ==26502== Lock acquired, processing the job...
[2025-01-13 11:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:06:04] Production.INFO: count ==21
[2025-01-13 11:06:04] Production.INFO: ==26506== Lock acquired, processing the job...
[2025-01-13 11:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:06:04] Production.INFO: count ==21
[2025-01-13 11:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238521') start
[2025-01-13 11:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:06:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:06:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:06:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238521') end
[2025-01-13 11:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:06:04] Production.INFO: 1
[2025-01-13 11:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:06:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:06:04] Production.INFO: Total Charge 0
[2025-01-13 11:06:04] Production.INFO: CreateAllLog End
[2025-01-13 11:06:04] Production.INFO: ==26508== Releasing lock...
[2025-01-13 11:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:06:04] Production.INFO: ==26500== Releasing lock...
[2025-01-13 11:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:06:04] Production.INFO: Account Balance End.
[2025-01-13 11:06:04] Production.ERROR: done
[2025-01-13 11:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:06:04] Production.INFO: ==26504== Releasing lock...
[2025-01-13 11:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:06:04] Production.ERROR: done
[2025-01-13 11:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:06:05
[end_date_ymd] => 2025-01-13 11:06:05
[RateCDR] => 1
)
[2025-01-13 11:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:06:05' and `end` < '2025-01-13 11:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:06:12] Production.ERROR: CronJobId end10
[2025-01-13 11:06:12] Production.INFO: ==26502== Releasing lock...
[2025-01-13 11:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:06:14] Production.INFO: call_cost start
[2025-01-13 11:06:14] Production.INFO: call_cost end
[2025-01-13 11:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:06:15] Production.INFO: ==26498== Releasing lock...
[2025-01-13 11:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:06:25] Production.INFO: count ==4736
[2025-01-13 11:06:26] Production.ERROR: pbx CDR StartTime 2025-01-13 08:06:05 - End Time 2025-01-13 11:06:05
[2025-01-13 11:06:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238524', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238524', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238524', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:06:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238524', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:06:27] Production.INFO: ProcessCDR(1,14238524,1,1,2)
[2025-01-13 11:06:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:06:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:06:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:06:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:06:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238524', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:06:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238524', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:06:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:06:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:06:32] Production.INFO: ==26506== Releasing lock...
[2025-01-13 11:06:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:06:32] Production.INFO: 63.5 MB #Memory Used#
[2025-01-13 16:07:01] Production.INFO: ==26600== Lock acquired, processing the job...
[2025-01-13 16:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:07:01] Production.INFO: neon service started
[2025-01-13 16:07:01] Production.INFO: neon service started
[2025-01-13 16:07:01] Production.INFO: ==26600== Releasing lock...
[2025-01-13 16:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:07:02] Production.INFO: ==26602== Lock acquired, processing the job...
[2025-01-13 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:07:02] Production.INFO: ==26602== Releasing lock...
[2025-01-13 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:07:02] Production.INFO: ==26604== Lock acquired, processing the job...
[2025-01-13 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:07:02] Production.INFO: ==26604== Releasing lock...
[2025-01-13 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:07:03] Production.INFO: ==26607== Lock acquired, processing the job...
[2025-01-13 11:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:07:03] Production.INFO: ==26609== Lock acquired, processing the job...
[2025-01-13 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:07:03] Production.INFO: ==26613== Lock acquired, processing the job...
[2025-01-13 11:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:07:03] Production.INFO: ==26609== Releasing lock...
[2025-01-13 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:07:03] Production.INFO: Account Balance Start.
[2025-01-13 11:07:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:07:03] Production.INFO: 117
[2025-01-13 11:07:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:07:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:07:03] Production.INFO: ==26611== Lock acquired, processing the job...
[2025-01-13 11:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:07:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:07:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:07:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:07:03] Production.INFO: ==26615== Lock acquired, processing the job...
[2025-01-13 11:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:07:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:07:03] Production.INFO: ==26617== Lock acquired, processing the job...
[2025-01-13 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:07:03] Production.INFO: Total Charge 0
[2025-01-13 11:07:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 11:07:03] Production.INFO: count ==21
[2025-01-13 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-13 11:07:03] Production.INFO: count ==21
[2025-01-13 11:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238528') start
[2025-01-13 11:07:04] Production.ERROR: done
[2025-01-13 11:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:07:04] Production.INFO: Account Balance End.
[2025-01-13 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238528') end
[2025-01-13 11:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:07:04] Production.INFO: 1
[2025-01-13 11:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:07:04] Production.INFO: ==26613== Releasing lock...
[2025-01-13 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:07:04] Production.INFO: ==26617== Releasing lock...
[2025-01-13 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:07:04] Production.ERROR: done
[2025-01-13 11:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:07:04
[end_date_ymd] => 2025-01-13 11:07:04
[RateCDR] => 1
)
[2025-01-13 11: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-13 08:07:04' and `end` < '2025-01-13 11: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-13 11:07:11] Production.ERROR: CronJobId end10
[2025-01-13 11:07:11] Production.INFO: ==26611== Releasing lock...
[2025-01-13 11:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:07:13] Production.INFO: call_cost start
[2025-01-13 11:07:13] Production.INFO: call_cost end
[2025-01-13 11:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:07:14] Production.INFO: ==26607== Releasing lock...
[2025-01-13 11:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:07:18] Production.INFO: count ==4753
[2025-01-13 11:07:20] Production.ERROR: pbx CDR StartTime 2025-01-13 08:07:04 - End Time 2025-01-13 11:07:04
[2025-01-13 11:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238529', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238529', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238529', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238529', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:07:20] Production.INFO: ProcessCDR(1,14238529,1,1,2)
[2025-01-13 11:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:07:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:07:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:07:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238529', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238529', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:07:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:07:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:07:25] Production.INFO: ==26615== Releasing lock...
[2025-01-13 11:07:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:07:25] Production.INFO: 63.5 MB #Memory Used#
[2025-01-13 16:08:02] Production.INFO: ==26750== Lock acquired, processing the job...
[2025-01-13 16:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:08:02] Production.INFO: neon service started
[2025-01-13 16:08:02] Production.INFO: neon service started
[2025-01-13 16:08:02] Production.INFO: ==26750== Releasing lock...
[2025-01-13 16:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:08:02] Production.INFO: ==26752== Lock acquired, processing the job...
[2025-01-13 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:08:02] Production.INFO: ==26754== Lock acquired, processing the job...
[2025-01-13 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:08:02] Production.INFO: ==26754== Releasing lock...
[2025-01-13 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:08:02] Production.INFO: ==26752== Releasing lock...
[2025-01-13 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:08:03] Production.INFO: ==26756== Lock acquired, processing the job...
[2025-01-13 11:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:08:03] Production.INFO: ==26761== Lock acquired, processing the job...
[2025-01-13 11:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:08:03] Production.INFO: ==26767== Lock acquired, processing the job...
[2025-01-13 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:08:03] Production.INFO: ==26758== Lock acquired, processing the job...
[2025-01-13 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 11:08:03] Production.INFO: count ==21
[2025-01-13 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-13 11:08:03] Production.INFO: count ==21
[2025-01-13 11:08:04] Production.INFO: ==26763== Lock acquired, processing the job...
[2025-01-13 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238531') start
[2025-01-13 11:08:04] Production.INFO: ==26765== Lock acquired, processing the job...
[2025-01-13 11:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238531') end
[2025-01-13 11:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:08:04] Production.INFO: 1
[2025-01-13 11:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:08:04] Production.INFO: ==26767== Releasing lock...
[2025-01-13 11:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:08:04] Production.INFO: Account Balance Start.
[2025-01-13 11:08:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:08:04] Production.INFO: 117
[2025-01-13 11:08:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:08:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:08:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:08:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:08:04] Production.INFO: ==26758== Releasing lock...
[2025-01-13 11:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:08:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:08:04] Production.ERROR: done
[2025-01-13 11:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:08:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:08:04] Production.INFO: Total Charge 0
[2025-01-13 11:08:04] Production.INFO: CreateAllLog End
[2025-01-13 11:08:04] Production.ERROR: done
[2025-01-13 11:08:04] Production.INFO: Account Balance End.
[2025-01-13 11:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:08:04] Production.INFO: ==26763== Releasing lock...
[2025-01-13 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:08:05
[end_date_ymd] => 2025-01-13 11:08:05
[RateCDR] => 1
)
[2025-01-13 11:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:08:05' and `end` < '2025-01-13 11:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:08:12] Production.ERROR: CronJobId end10
[2025-01-13 11:08:12] Production.INFO: ==26761== Releasing lock...
[2025-01-13 11:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:08:14] Production.INFO: call_cost start
[2025-01-13 11:08:14] Production.INFO: call_cost end
[2025-01-13 11:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:08:14] Production.INFO: ==26756== Releasing lock...
[2025-01-13 11:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:08:20] Production.INFO: count ==4772
[2025-01-13 11:08:22] Production.ERROR: pbx CDR StartTime 2025-01-13 08:08:05 - End Time 2025-01-13 11:08:05
[2025-01-13 11:08:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238534', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238534', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238534', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238534', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:08:22] Production.INFO: ProcessCDR(1,14238534,1,1,2)
[2025-01-13 11:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238534', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238534', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:08:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:08:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:08:27] Production.INFO: ==26765== Releasing lock...
[2025-01-13 11:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:08:27] Production.INFO: 63.75 MB #Memory Used#
[2025-01-13 16:09:01] Production.INFO: ==26827== Lock acquired, processing the job...
[2025-01-13 16:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:09:01] Production.INFO: neon service started
[2025-01-13 16:09:01] Production.INFO: neon service started
[2025-01-13 16:09:01] Production.INFO: ==26827== Releasing lock...
[2025-01-13 16:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:09:01] Production.INFO: ==26829== Lock acquired, processing the job...
[2025-01-13 11:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:09:02] Production.INFO: ==26829== Releasing lock...
[2025-01-13 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:09:02] Production.INFO: ==26831== Lock acquired, processing the job...
[2025-01-13 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:09:02] Production.INFO: ==26831== Releasing lock...
[2025-01-13 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:09:02] Production.INFO: ==26837== Lock acquired, processing the job...
[2025-01-13 11:09:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:09:03] Production.INFO: ==26843== Lock acquired, processing the job...
[2025-01-13 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:09:03] Production.INFO: ==26833== Lock acquired, processing the job...
[2025-01-13 11:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:09:03] Production.INFO: ==26835== Lock acquired, processing the job...
[2025-01-13 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 11:09:03] Production.INFO: ==26839== Lock acquired, processing the job...
[2025-01-13 11:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:09:03] Production.INFO: count ==21
[2025-01-13 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-13 11:09:03] Production.INFO: count ==21
[2025-01-13 11:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:09:03] Production.INFO: ==26841== Lock acquired, processing the job...
[2025-01-13 11:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238535') start
[2025-01-13 11:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:09:03] Production.INFO: Account Balance Start.
[2025-01-13 11:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:09:03] Production.INFO: 117
[2025-01-13 11:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238535') end
[2025-01-13 11:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:09:03] Production.INFO: 1
[2025-01-13 11:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:09:03] Production.INFO: ==26843== Releasing lock...
[2025-01-13 11:09:03] Production.INFO: ==26835== Releasing lock...
[2025-01-13 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:09:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:09:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:09:03] Production.ERROR: done
[2025-01-13 11:09:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:09:03] Production.INFO: Total Charge 0
[2025-01-13 11:09:03] Production.INFO: CreateAllLog End
[2025-01-13 11:09:03] Production.ERROR: done
[2025-01-13 11:09:04] Production.INFO: Account Balance End.
[2025-01-13 11:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:09:04] Production.INFO: ==26839== Releasing lock...
[2025-01-13 11:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:09:04
[end_date_ymd] => 2025-01-13 11:09:04
[RateCDR] => 1
)
[2025-01-13 11: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-13 08:09:04' and `end` < '2025-01-13 11: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-13 11:09:10] Production.ERROR: CronJobId end10
[2025-01-13 11:09:10] Production.INFO: ==26837== Releasing lock...
[2025-01-13 11:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:09:12] Production.INFO: call_cost start
[2025-01-13 11:09:12] Production.INFO: call_cost end
[2025-01-13 11:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:09:13] Production.INFO: ==26833== Releasing lock...
[2025-01-13 11:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:09:19] Production.INFO: count ==4775
[2025-01-13 11:09:21] Production.ERROR: pbx CDR StartTime 2025-01-13 08:09:04 - End Time 2025-01-13 11:09:04
[2025-01-13 11:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238539', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238539', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238539', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238539', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:09:21] Production.INFO: ProcessCDR(1,14238539,1,1,2)
[2025-01-13 11:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238539', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238539', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:09:26] Production.INFO: ==26841== Releasing lock...
[2025-01-13 11:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:09:26] Production.INFO: 63.75 MB #Memory Used#
[2025-01-13 16:10:01] Production.INFO: ==26900== Lock acquired, processing the job...
[2025-01-13 16:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:10:02] Production.INFO: neon service started
[2025-01-13 16:10:02] Production.INFO: neon service started
[2025-01-13 16:10:02] Production.INFO: ==26900== Releasing lock...
[2025-01-13 16:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:10:02] Production.INFO: ==26904== Lock acquired, processing the job...
[2025-01-13 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:10:02] Production.INFO: ==26904== Releasing lock...
[2025-01-13 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:10:02] Production.INFO: ==26902== Lock acquired, processing the job...
[2025-01-13 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:10:02] Production.INFO: ==26902== Releasing lock...
[2025-01-13 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:10:03] Production.INFO: ==26906== Lock acquired, processing the job...
[2025-01-13 11:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 11:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 11:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 11:10:03] Production.INFO: ==26906== Releasing lock...
[2025-01-13 11:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 11:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 11:10:03] Production.INFO: ==26908== Lock acquired, processing the job...
[2025-01-13 11:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:10:03] Production.INFO: ==26912== Lock acquired, processing the job...
[2025-01-13 11:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:10:04] Production.INFO: ==26919== Lock acquired, processing the job...
[2025-01-13 11:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 11:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:10:04] Production.INFO: ==26910== Lock acquired, processing the job...
[2025-01-13 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:10:04] Production.INFO: ==26915== Lock acquired, processing the job...
[2025-01-13 11:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:10:04] Production.INFO: ==26921== Lock acquired, processing the job...
[2025-01-13 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:10:04] Production.INFO: ==26917== Lock acquired, processing the job...
[2025-01-13 11:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:10:04] Production.ERROR: done
[2025-01-13 11:10:04] Production.INFO: Account Balance Start.
[2025-01-13 11:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:10:04] Production.INFO: 117
[2025-01-13 11:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 11:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238544', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:10:04] Production.INFO: count ==21
[2025-01-13 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-13 11:10:04] Production.INFO: count ==21
[2025-01-13 11:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:10:04] Production.INFO: ==26910== Releasing lock...
[2025-01-13 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238543') start
[2025-01-13 11:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:10:04] Production.ERROR: done
[2025-01-13 11:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238543') end
[2025-01-13 11:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:10:04] Production.INFO: 1
[2025-01-13 11:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:10:04] Production.INFO: Total Charge 0
[2025-01-13 11:10:04] Production.INFO: CreateAllLog End
[2025-01-13 11:10:05] Production.INFO: ==26921== Releasing lock...
[2025-01-13 11:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:10:05] Production.ERROR: done
[2025-01-13 11:10:05] Production.INFO: Account Balance End.
[2025-01-13 11:10:05] Production.ERROR: CronJobId end 12
[2025-01-13 11:10:05] Production.INFO: ==26915== Releasing lock...
[2025-01-13 11:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:10:06
[end_date_ymd] => 2025-01-13 11:10:06
[RateCDR] => 1
)
[2025-01-13 11:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:10:06' and `end` < '2025-01-13 11:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:10:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238544', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 11:10:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 11:10:07] Production.INFO: ProcessCDR(1,14238544,1,1,2)
[2025-01-13 11:10:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238544,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:10:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238544,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:10:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:10:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:10:07] Production.INFO: ==26919== Releasing lock...
[2025-01-13 11:10:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 11:10:07] Production.INFO: 26 MB #Memory Used#
[2025-01-13 11:10:14] Production.ERROR: CronJobId end10
[2025-01-13 11:10:14] Production.INFO: ==26912== Releasing lock...
[2025-01-13 11:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:10:15] Production.INFO: call_cost start
[2025-01-13 11:10:15] Production.INFO: call_cost end
[2025-01-13 11:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:10:16] Production.INFO: ==26908== Releasing lock...
[2025-01-13 11:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:10:22] Production.INFO: count ==4776
[2025-01-13 11:10:24] Production.ERROR: pbx CDR StartTime 2025-01-13 08:10:06 - End Time 2025-01-13 11:10:06
[2025-01-13 11:10:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238545', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238545', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238545', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238545', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:10:24] Production.INFO: ProcessCDR(1,14238545,1,1,2)
[2025-01-13 11:10:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:10:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:10:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:10:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:10:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238545', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:10:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238545', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:10:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:10:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:10:29] Production.INFO: ==26917== Releasing lock...
[2025-01-13 11:10:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:10:29] Production.INFO: 63.75 MB #Memory Used#
[2025-01-13 16:11:01] Production.INFO: ==26976== Lock acquired, processing the job...
[2025-01-13 16:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:11:01] Production.INFO: neon service started
[2025-01-13 16:11:01] Production.INFO: neon service started
[2025-01-13 16:11:01] Production.INFO: ==26976== Releasing lock...
[2025-01-13 16:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:11:01] Production.INFO: ==26980== Lock acquired, processing the job...
[2025-01-13 16:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:11:01] Production.INFO: ==26980== Releasing lock...
[2025-01-13 16:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:11:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:11:01] Production.INFO: ==26978== Lock acquired, processing the job...
[2025-01-13 11:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:11:02] Production.INFO: ==26978== Releasing lock...
[2025-01-13 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:11:02] Production.INFO: ==26983== Lock acquired, processing the job...
[2025-01-13 11:11:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:11:02] Production.INFO: ==26993== Lock acquired, processing the job...
[2025-01-13 11:11:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 11:11:03] Production.INFO: ==26985== Lock acquired, processing the job...
[2025-01-13 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:11:03] Production.INFO: count ==21
[2025-01-13 11:11:03] Production.INFO: ==26987== Lock acquired, processing the job...
[2025-01-13 11:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:11:03] Production.INFO: count ==21
[2025-01-13 11:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238547') start
[2025-01-13 11:11:03] Production.INFO: ==26989== Lock acquired, processing the job...
[2025-01-13 11:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:11:03] Production.INFO: ==26991== Lock acquired, processing the job...
[2025-01-13 11:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:11:03] Production.INFO: Account Balance Start.
[2025-01-13 11:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:11:03] Production.INFO: 117
[2025-01-13 11:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238547') end
[2025-01-13 11:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:11:03] Production.INFO: 1
[2025-01-13 11:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:11:03] Production.INFO: ==26993== Releasing lock...
[2025-01-13 11:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:11:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:11:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:11:03] Production.INFO: ==26985== Releasing lock...
[2025-01-13 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:11:03] Production.ERROR: done
[2025-01-13 11:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:11:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:11:03] Production.INFO: Total Charge 0
[2025-01-13 11:11:03] Production.INFO: CreateAllLog End
[2025-01-13 11:11:03] Production.ERROR: done
[2025-01-13 11:11:04] Production.INFO: Account Balance End.
[2025-01-13 11:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:11:04] Production.INFO: ==26989== Releasing lock...
[2025-01-13 11:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:11:04
[end_date_ymd] => 2025-01-13 11:11:04
[RateCDR] => 1
)
[2025-01-13 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-13 08:11:04' and `end` < '2025-01-13 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-13 11:11:10] Production.ERROR: CronJobId end10
[2025-01-13 11:11:10] Production.INFO: ==26987== Releasing lock...
[2025-01-13 11:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:11:12] Production.INFO: call_cost start
[2025-01-13 11:11:12] Production.INFO: call_cost end
[2025-01-13 11:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:11:13] Production.INFO: ==26983== Releasing lock...
[2025-01-13 11:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:11:28] Production.INFO: count ==4863
[2025-01-13 11:11:30] Production.ERROR: pbx CDR StartTime 2025-01-13 08:11:04 - End Time 2025-01-13 11:11:04
[2025-01-13 11:11:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238550', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238550', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238550', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238550', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:11:30] Production.INFO: ProcessCDR(1,14238550,1,1,2)
[2025-01-13 11:11:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:11:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:11:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:11:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:11:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238550', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:11:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238550', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:11:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:11:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:11:34] Production.INFO: ==26991== Releasing lock...
[2025-01-13 11:11:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:11:34] Production.INFO: 64.25 MB #Memory Used#
[2025-01-13 16:12:01] Production.INFO: ==27124== Lock acquired, processing the job...
[2025-01-13 16:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:12:01] Production.INFO: neon service started
[2025-01-13 16:12:01] Production.INFO: neon service started
[2025-01-13 16:12:01] Production.INFO: ==27124== Releasing lock...
[2025-01-13 16:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:12:02] Production.INFO: ==27126== Lock acquired, processing the job...
[2025-01-13 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:12:02] Production.INFO: ==27128== Lock acquired, processing the job...
[2025-01-13 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:12:02] Production.INFO: ==27128== Releasing lock...
[2025-01-13 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:12:02] Production.INFO: ==27126== Releasing lock...
[2025-01-13 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:12:03] Production.INFO: ==27135== Lock acquired, processing the job...
[2025-01-13 11:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:12:03] Production.INFO: ==27141== Lock acquired, processing the job...
[2025-01-13 11:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:12:03] Production.INFO: ==27131== Lock acquired, processing the job...
[2025-01-13 11:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:12:03] Production.INFO: count ==21
[2025-01-13 11:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:12:03] Production.INFO: count ==21
[2025-01-13 11:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238551') start
[2025-01-13 11:12:03] Production.INFO: ==27133== Lock acquired, processing the job...
[2025-01-13 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:12:04] Production.INFO: ==27137== Lock acquired, processing the job...
[2025-01-13 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238551') end
[2025-01-13 11:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:12:04] Production.INFO: 1
[2025-01-13 11:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:12:04] Production.INFO: ==27139== Lock acquired, processing the job...
[2025-01-13 11:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:12:04] Production.INFO: Account Balance Start.
[2025-01-13 11:12:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:12:04] Production.INFO: 117
[2025-01-13 11:12:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:12:04] Production.INFO: ==27141== Releasing lock...
[2025-01-13 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:12:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:12:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:12:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:12:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:12:04] Production.INFO: Total Charge 0
[2025-01-13 11:12:04] Production.INFO: CreateAllLog End
[2025-01-13 11:12:04] Production.INFO: ==27133== Releasing lock...
[2025-01-13 11:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:12:04] Production.ERROR: done
[2025-01-13 11:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:12:04] Production.ERROR: done
[2025-01-13 11:12:04] Production.INFO: Account Balance End.
[2025-01-13 11:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:12:04] Production.INFO: ==27137== Releasing lock...
[2025-01-13 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:12:05
[end_date_ymd] => 2025-01-13 11:12:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:12:05' and `end` < '2025-01-13 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-13 11:12:12] Production.ERROR: CronJobId end10
[2025-01-13 11:12:12] Production.INFO: ==27135== Releasing lock...
[2025-01-13 11:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:12:13] Production.INFO: call_cost start
[2025-01-13 11:12:13] Production.INFO: call_cost end
[2025-01-13 11:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:12:14] Production.INFO: ==27131== Releasing lock...
[2025-01-13 11:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:12:24] Production.INFO: count ==4884
[2025-01-13 11:12:26] Production.ERROR: pbx CDR StartTime 2025-01-13 08:12:05 - End Time 2025-01-13 11:12:05
[2025-01-13 11:12:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:12:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238555', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:12:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238555', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:12:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238555', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:12:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238555', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:12:26] Production.INFO: ProcessCDR(1,14238555,1,1,2)
[2025-01-13 11:12:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:12:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:12:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:12:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:12:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238555', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:12:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238555', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:12:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:12:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:12:31] Production.INFO: ==27139== Releasing lock...
[2025-01-13 11:12:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:12:31] Production.INFO: 64.5 MB #Memory Used#
[2025-01-13 16:13:02] Production.INFO: ==27195== Lock acquired, processing the job...
[2025-01-13 16:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:13:02] Production.INFO: neon service started
[2025-01-13 16:13:02] Production.INFO: neon service started
[2025-01-13 16:13:02] Production.INFO: ==27195== Releasing lock...
[2025-01-13 16:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:13:02] Production.INFO: ==27197== Lock acquired, processing the job...
[2025-01-13 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:13:02] Production.INFO: ==27199== Lock acquired, processing the job...
[2025-01-13 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:13:02] Production.INFO: ==27199== Releasing lock...
[2025-01-13 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:13:02] Production.INFO: ==27197== Releasing lock...
[2025-01-13 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:13:03] Production.INFO: ==27202== Lock acquired, processing the job...
[2025-01-13 11:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:13:03] Production.INFO: ==27206== Lock acquired, processing the job...
[2025-01-13 11:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:13:03] Production.INFO: ==27210== Lock acquired, processing the job...
[2025-01-13 11:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:13:03] Production.INFO: ==27204== Lock acquired, processing the job...
[2025-01-13 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:13:04] Production.INFO: ==27208== Lock acquired, processing the job...
[2025-01-13 11:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:13:04] Production.INFO: ==27212== Lock acquired, processing the job...
[2025-01-13 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:13:04] Production.ERROR: done
[2025-01-13 11:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:13:04] Production.INFO: Account Balance Start.
[2025-01-13 11:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:13:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:13:04] Production.INFO: 117
[2025-01-13 11:13:04] Production.INFO: count ==21
[2025-01-13 11:13:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:13:04] Production.INFO: ==27204== Releasing lock...
[2025-01-13 11:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:13:04] Production.ERROR: done
[2025-01-13 11:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:13:04] Production.INFO: count ==21
[2025-01-13 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238559') start
[2025-01-13 11:13:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:13:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238559') end
[2025-01-13 11:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:13:04] Production.INFO: 1
[2025-01-13 11:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:13:04] Production.INFO: ==27212== Releasing lock...
[2025-01-13 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:13:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:13:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:13:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:13:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:13:04] Production.INFO: Total Charge 0
[2025-01-13 11:13:04] Production.INFO: CreateAllLog End
[2025-01-13 11:13:04] Production.INFO: Account Balance End.
[2025-01-13 11:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:13:04] Production.INFO: ==27208== Releasing lock...
[2025-01-13 11:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:13:05
[end_date_ymd] => 2025-01-13 11:13:05
[RateCDR] => 1
)
[2025-01-13 11:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:13:05' and `end` < '2025-01-13 11:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:13:11] Production.ERROR: CronJobId end10
[2025-01-13 11:13:11] Production.INFO: ==27206== Releasing lock...
[2025-01-13 11:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:13:12] Production.INFO: call_cost start
[2025-01-13 11:13:12] Production.INFO: call_cost end
[2025-01-13 11:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:13:13] Production.INFO: ==27202== Releasing lock...
[2025-01-13 11:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:13:23] Production.INFO: count ==4890
[2025-01-13 11:13:25] Production.ERROR: pbx CDR StartTime 2025-01-13 08:13:05 - End Time 2025-01-13 11:13:05
[2025-01-13 11:13:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238560', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238560', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238560', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238560', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:13:25] Production.INFO: ProcessCDR(1,14238560,1,1,2)
[2025-01-13 11:13:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:13:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:13:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:13:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:13:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238560', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:13:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238560', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:13:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:13:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:13:29] Production.INFO: ==27210== Releasing lock...
[2025-01-13 11:13:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:13:29] Production.INFO: 64.5 MB #Memory Used#
[2025-01-13 16:14:01] Production.INFO: ==27265== Lock acquired, processing the job...
[2025-01-13 16:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:14:01] Production.INFO: neon service started
[2025-01-13 16:14:01] Production.INFO: neon service started
[2025-01-13 16:14:01] Production.INFO: ==27265== Releasing lock...
[2025-01-13 16:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:14:02] Production.INFO: ==27269== Lock acquired, processing the job...
[2025-01-13 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:14:02] Production.INFO: ==27269== Releasing lock...
[2025-01-13 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:14:02] Production.INFO: ==27267== Lock acquired, processing the job...
[2025-01-13 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:14:02] Production.INFO: ==27267== Releasing lock...
[2025-01-13 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:14:03] Production.INFO: ==27276== Lock acquired, processing the job...
[2025-01-13 11:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:14:03] Production.INFO: ==27272== Lock acquired, processing the job...
[2025-01-13 11:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:14:03] Production.INFO: ==27278== Lock acquired, processing the job...
[2025-01-13 11:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:14:03] Production.INFO: ==27274== Lock acquired, processing the job...
[2025-01-13 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:14:03] Production.INFO: Account Balance Start.
[2025-01-13 11:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:14:03] Production.INFO: 117
[2025-01-13 11:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:14:03] Production.INFO: ==27280== Lock acquired, processing the job...
[2025-01-13 11:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:14:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:14:03] Production.INFO: ==27282== Lock acquired, processing the job...
[2025-01-13 11:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:14:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:14:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:14:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:14:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:14:03] Production.ERROR: done
[2025-01-13 11:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:14:03] Production.INFO: count ==21
[2025-01-13 11:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:14:03] Production.INFO: count ==21
[2025-01-13 11:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238564') start
[2025-01-13 11:14:03] Production.INFO: Total Charge 0
[2025-01-13 11:14:04] Production.INFO: CreateAllLog End
[2025-01-13 11:14:04] Production.INFO: ==27274== Releasing lock...
[2025-01-13 11:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:14:04] Production.ERROR: done
[2025-01-13 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238564') end
[2025-01-13 11:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:14:04] Production.INFO: 1
[2025-01-13 11:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:14:04] Production.INFO: Account Balance End.
[2025-01-13 11:14:04] Production.INFO: ==27282== Releasing lock...
[2025-01-13 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:14:04] Production.INFO: ==27278== Releasing lock...
[2025-01-13 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:14:05
[end_date_ymd] => 2025-01-13 11:14:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:14:05' and `end` < '2025-01-13 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-13 11:14:10] Production.ERROR: CronJobId end10
[2025-01-13 11:14:10] Production.INFO: ==27276== Releasing lock...
[2025-01-13 11:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:14:13] Production.INFO: call_cost start
[2025-01-13 11:14:13] Production.INFO: call_cost end
[2025-01-13 11:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:14:14] Production.INFO: ==27272== Releasing lock...
[2025-01-13 11:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:14:28] Production.INFO: count ==4872
[2025-01-13 11:14:30] Production.ERROR: pbx CDR StartTime 2025-01-13 08:14:05 - End Time 2025-01-13 11:14:05
[2025-01-13 11:14:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238565', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238565', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238565', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238565', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:14:30] Production.INFO: ProcessCDR(1,14238565,1,1,2)
[2025-01-13 11:14:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:14:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:14:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:14:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:14:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238565', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:14:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238565', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:14:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:14:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:14:35] Production.INFO: ==27280== Releasing lock...
[2025-01-13 11:14:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:14:35] Production.INFO: 64.5 MB #Memory Used#
[2025-01-13 16:15:01] Production.INFO: ==27416== Lock acquired, processing the job...
[2025-01-13 16:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:15:02] Production.INFO: neon service started
[2025-01-13 16:15:02] Production.INFO: neon service started
[2025-01-13 16:15:02] Production.INFO: ==27416== Releasing lock...
[2025-01-13 16:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:15:02] Production.INFO: ==27418== Lock acquired, processing the job...
[2025-01-13 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:15:02] Production.INFO: ==27418== Releasing lock...
[2025-01-13 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:15:03] Production.INFO: ==27420== Lock acquired, processing the job...
[2025-01-13 16:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:15:03] Production.INFO: ==27420== Releasing lock...
[2025-01-13 16:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:15:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:15:03] Production.INFO: ==27422== Lock acquired, processing the job...
[2025-01-13 11:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:15:03] Production.INFO: ==27424== Lock acquired, processing the job...
[2025-01-13 11:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:15:03] Production.INFO: ==27426== Lock acquired, processing the job...
[2025-01-13 11:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:15:03] Production.INFO: ==27433== Lock acquired, processing the job...
[2025-01-13 11:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:15:03] Production.INFO: ==27428== Lock acquired, processing the job...
[2025-01-13 11:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:15:03] Production.INFO: ==27431== Lock acquired, processing the job...
[2025-01-13 11:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:15:03] Production.INFO: ==27424== Releasing lock...
[2025-01-13 11:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:15:03] Production.INFO: Account Balance Start.
[2025-01-13 11:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:15:03] Production.INFO: 117
[2025-01-13 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-13 11:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:15:03] Production.INFO: count ==21
[2025-01-13 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-13 11:15:03] Production.INFO: count ==21
[2025-01-13 11:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238568') start
[2025-01-13 11:15:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238568') end
[2025-01-13 11:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:15:04] Production.INFO: 1
[2025-01-13 11:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:15:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:15:04] Production.INFO: ==27433== Releasing lock...
[2025-01-13 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:15:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:15:04] Production.ERROR: done
[2025-01-13 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:15:04] Production.INFO: Total Charge 0
[2025-01-13 11:15:04] Production.ERROR: done
[2025-01-13 11:15:04] Production.INFO: CreateAllLog End
[2025-01-13 11:15:04] Production.INFO: Account Balance End.
[2025-01-13 11:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:15:04] Production.INFO: ==27428== Releasing lock...
[2025-01-13 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:15:05
[end_date_ymd] => 2025-01-13 11:15:05
[RateCDR] => 1
)
[2025-01-13 11:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:15:05' and `end` < '2025-01-13 11:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:15:10] Production.ERROR: CronJobId end10
[2025-01-13 11:15:10] Production.INFO: ==27426== Releasing lock...
[2025-01-13 11:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:15:13] Production.INFO: call_cost start
[2025-01-13 11:15:13] Production.INFO: call_cost end
[2025-01-13 11:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:15:14] Production.INFO: ==27422== Releasing lock...
[2025-01-13 11:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:15:26] Production.INFO: count ==4909
[2025-01-13 11:15:28] Production.ERROR: pbx CDR StartTime 2025-01-13 08:15:05 - End Time 2025-01-13 11:15:05
[2025-01-13 11:15:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:15:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238570', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:15:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238570', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:15:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238570', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:15:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238570', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:15:28] Production.INFO: ProcessCDR(1,14238570,1,1,2)
[2025-01-13 11:15:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:15:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:15:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:15:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:15:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238570', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:15:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238570', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:15:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:15:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:15:33] Production.INFO: ==27431== Releasing lock...
[2025-01-13 11:15:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:15:33] Production.INFO: 64.75 MB #Memory Used#
[2025-01-13 16:16:01] Production.INFO: ==27487== Lock acquired, processing the job...
[2025-01-13 16:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:16:01] Production.INFO: neon service started
[2025-01-13 16:16:01] Production.INFO: neon service started
[2025-01-13 16:16:01] Production.INFO: ==27487== Releasing lock...
[2025-01-13 16:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:16:01] Production.INFO: ==27489== Lock acquired, processing the job...
[2025-01-13 11:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:16:02] Production.INFO: ==27489== Releasing lock...
[2025-01-13 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:16:02] Production.INFO: ==27491== Lock acquired, processing the job...
[2025-01-13 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:16:02] Production.INFO: ==27491== Releasing lock...
[2025-01-13 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:16:02] Production.INFO: ==27497== Lock acquired, processing the job...
[2025-01-13 11:16:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:16:03] Production.INFO: ==27501== Lock acquired, processing the job...
[2025-01-13 11:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:16:03] Production.INFO: ==27493== Lock acquired, processing the job...
[2025-01-13 11:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:16:03] Production.INFO: ==27495== Lock acquired, processing the job...
[2025-01-13 11:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:16:03] Production.INFO: ==27499== Lock acquired, processing the job...
[2025-01-13 11:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:16:03] Production.INFO: ==27503== Lock acquired, processing the job...
[2025-01-13 11:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:16:03] Production.ERROR: done
[2025-01-13 11:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 11:16:03] Production.INFO: count ==21
[2025-01-13 11:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 11:16:03] Production.INFO: count ==21
[2025-01-13 11:16:03] Production.INFO: Account Balance Start.
[2025-01-13 11:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:16:03] Production.INFO: 117
[2025-01-13 11:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238571') start
[2025-01-13 11:16:03] Production.ERROR: done
[2025-01-13 11:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238571') end
[2025-01-13 11:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:16:03] Production.INFO: 1
[2025-01-13 11:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:16:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:16:03] Production.INFO: ==27503== Releasing lock...
[2025-01-13 11:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:16:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:16:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:16:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:16:03] Production.INFO: ==27495== Releasing lock...
[2025-01-13 11:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:16:03] Production.INFO: Total Charge 0
[2025-01-13 11:16:03] Production.INFO: CreateAllLog End
[2025-01-13 11:16:04] Production.INFO: Account Balance End.
[2025-01-13 11:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:16:04] Production.INFO: ==27499== Releasing lock...
[2025-01-13 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:16:04
[end_date_ymd] => 2025-01-13 11:16:04
[RateCDR] => 1
)
[2025-01-13 11: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-13 08:16:04' and `end` < '2025-01-13 11: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-13 11:16:11] Production.ERROR: CronJobId end10
[2025-01-13 11:16:11] Production.INFO: ==27497== Releasing lock...
[2025-01-13 11:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:16:12] Production.INFO: call_cost start
[2025-01-13 11:16:12] Production.INFO: call_cost end
[2025-01-13 11:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:16:13] Production.INFO: ==27493== Releasing lock...
[2025-01-13 11:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:16:26] Production.INFO: count ==4921
[2025-01-13 11:16:28] Production.ERROR: pbx CDR StartTime 2025-01-13 08:16:04 - End Time 2025-01-13 11:16:04
[2025-01-13 11:16:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:16:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238575', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:16:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238575', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:16:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238575', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:16:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238575', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:16:28] Production.INFO: ProcessCDR(1,14238575,1,1,2)
[2025-01-13 11:16:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:16:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:16:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:16:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:16:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238575', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:16:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238575', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:16:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:16:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:16:33] Production.INFO: ==27501== Releasing lock...
[2025-01-13 11:16:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:16:33] Production.INFO: 64.75 MB #Memory Used#
[2025-01-13 16:17:01] Production.INFO: ==27562== Lock acquired, processing the job...
[2025-01-13 16:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:17:01] Production.INFO: neon service started
[2025-01-13 16:17:01] Production.INFO: neon service started
[2025-01-13 16:17:01] Production.INFO: ==27562== Releasing lock...
[2025-01-13 16:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:17:02] Production.INFO: ==27564== Lock acquired, processing the job...
[2025-01-13 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:17:02] Production.INFO: ==27564== Releasing lock...
[2025-01-13 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:17:02] Production.INFO: ==27566== Lock acquired, processing the job...
[2025-01-13 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:17:02] Production.INFO: ==27566== Releasing lock...
[2025-01-13 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:17:03] Production.INFO: ==27578== Lock acquired, processing the job...
[2025-01-13 11:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:17:03] Production.INFO: ==27574== Lock acquired, processing the job...
[2025-01-13 11:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:17:03] Production.INFO: ==27568== Lock acquired, processing the job...
[2025-01-13 11:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:17:03] Production.INFO: ==27570== Lock acquired, processing the job...
[2025-01-13 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:17:03] Production.INFO: Account Balance Start.
[2025-01-13 11:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:17:03] Production.INFO: 117
[2025-01-13 11:17:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:17:03] Production.INFO: ==27572== Lock acquired, processing the job...
[2025-01-13 11:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:17:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:17:03] Production.INFO: count ==21
[2025-01-13 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-13 11:17:03] Production.INFO: count ==21
[2025-01-13 11:17:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238576') start
[2025-01-13 11:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:17:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:17:03] Production.INFO: ==27576== Lock acquired, processing the job...
[2025-01-13 11:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:17:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:17:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:17:03] Production.INFO: Total Charge 0
[2025-01-13 11:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238576') end
[2025-01-13 11:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:17:03] Production.INFO: 1
[2025-01-13 11:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:17:03] Production.INFO: CreateAllLog End
[2025-01-13 11:17:03] Production.INFO: ==27578== Releasing lock...
[2025-01-13 11:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:17:03] Production.INFO: ==27570== Releasing lock...
[2025-01-13 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:17:03] Production.INFO: Account Balance End.
[2025-01-13 11:17:03] Production.ERROR: CronJobId end 12
[2025-01-13 11:17:03] Production.INFO: ==27574== Releasing lock...
[2025-01-13 11:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:17:03] Production.ERROR: done
[2025-01-13 11:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:17:04] Production.ERROR: done
[2025-01-13 11:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:17:04
[end_date_ymd] => 2025-01-13 11:17:04
[RateCDR] => 1
)
[2025-01-13 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-13 08:17:04' and `end` < '2025-01-13 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-13 11:17:11] Production.ERROR: CronJobId end10
[2025-01-13 11:17:11] Production.INFO: ==27572== Releasing lock...
[2025-01-13 11:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:17:12] Production.INFO: call_cost start
[2025-01-13 11:17:12] Production.INFO: call_cost end
[2025-01-13 11:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:17:13] Production.INFO: ==27568== Releasing lock...
[2025-01-13 11:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:17:26] Production.INFO: count ==4960
[2025-01-13 11:17:28] Production.ERROR: pbx CDR StartTime 2025-01-13 08:17:04 - End Time 2025-01-13 11:17:04
[2025-01-13 11:17:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238580', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238580', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238580', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238580', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:17:28] Production.INFO: ProcessCDR(1,14238580,1,1,2)
[2025-01-13 11:17:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:17:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:17:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:17:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:17:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238580', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:17:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238580', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:17:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:17:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:17:33] Production.INFO: ==27576== Releasing lock...
[2025-01-13 11:17:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:17:33] Production.INFO: 65 MB #Memory Used#
[2025-01-13 16:18:02] Production.INFO: ==27632== Lock acquired, processing the job...
[2025-01-13 16:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:18:02] Production.INFO: neon service started
[2025-01-13 16:18:02] Production.INFO: neon service started
[2025-01-13 16:18:02] Production.INFO: ==27632== Releasing lock...
[2025-01-13 16:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:18:02] Production.INFO: ==27634== Lock acquired, processing the job...
[2025-01-13 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:18:02] Production.INFO: ==27636== Lock acquired, processing the job...
[2025-01-13 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:18:02] Production.INFO: ==27636== Releasing lock...
[2025-01-13 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:18:03] Production.INFO: ==27634== Releasing lock...
[2025-01-13 11:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:18:03] Production.INFO: ==27643== Lock acquired, processing the job...
[2025-01-13 11:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:18:04] Production.INFO: ==27647== Lock acquired, processing the job...
[2025-01-13 11:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:18:04] Production.INFO: ==27639== Lock acquired, processing the job...
[2025-01-13 11:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:18:04] Production.INFO: ==27641== Lock acquired, processing the job...
[2025-01-13 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:18:04] Production.INFO: ==27645== Lock acquired, processing the job...
[2025-01-13 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:18:04] Production.INFO: ==27649== Lock acquired, processing the job...
[2025-01-13 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:18:04] Production.ERROR: done
[2025-01-13 11:18:04] Production.INFO: Account Balance Start.
[2025-01-13 11:18:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:18:04] Production.INFO: 117
[2025-01-13 11:18:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:18:04] Production.INFO: count ==21
[2025-01-13 11:18:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:18:04] Production.INFO: count ==21
[2025-01-13 11:18:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238584') start
[2025-01-13 11:18:04] Production.ERROR: done
[2025-01-13 11:18:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:18:04] Production.INFO: ==27641== Releasing lock...
[2025-01-13 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:18:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238584') end
[2025-01-13 11:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:18:04] Production.INFO: 1
[2025-01-13 11:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:18:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:18:04] Production.INFO: Total Charge 0
[2025-01-13 11:18:04] Production.INFO: ==27649== Releasing lock...
[2025-01-13 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:18:04] Production.INFO: CreateAllLog End
[2025-01-13 11:18:04] Production.INFO: Account Balance End.
[2025-01-13 11:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:18:04] Production.INFO: ==27645== Releasing lock...
[2025-01-13 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:18:05
[end_date_ymd] => 2025-01-13 11:18:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:18:05' and `end` < '2025-01-13 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-13 11:18:11] Production.ERROR: CronJobId end10
[2025-01-13 11:18:11] Production.INFO: ==27643== Releasing lock...
[2025-01-13 11:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:18:13] Production.INFO: call_cost start
[2025-01-13 11:18:13] Production.INFO: call_cost end
[2025-01-13 11:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:18:14] Production.INFO: ==27639== Releasing lock...
[2025-01-13 11:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:18:23] Production.INFO: count ==4964
[2025-01-13 11:18:25] Production.ERROR: pbx CDR StartTime 2025-01-13 08:18:05 - End Time 2025-01-13 11:18:05
[2025-01-13 11:18:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238585', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238585', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238585', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238585', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:18:25] Production.INFO: ProcessCDR(1,14238585,1,1,2)
[2025-01-13 11:18:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:18:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:18:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:18:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:18:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238585', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:18:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238585', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:18:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:18:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:18:30] Production.INFO: ==27647== Releasing lock...
[2025-01-13 11:18:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:18:30] Production.INFO: 65.25 MB #Memory Used#
[2025-01-13 16:19:01] Production.INFO: ==27705== Lock acquired, processing the job...
[2025-01-13 16:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:19:01] Production.INFO: neon service started
[2025-01-13 16:19:01] Production.INFO: neon service started
[2025-01-13 16:19:01] Production.INFO: ==27705== Releasing lock...
[2025-01-13 16:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:19:02] Production.INFO: ==27707== Lock acquired, processing the job...
[2025-01-13 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:19:02] Production.INFO: ==27707== Releasing lock...
[2025-01-13 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:19:02] Production.INFO: ==27709== Lock acquired, processing the job...
[2025-01-13 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:19:02] Production.INFO: ==27709== Releasing lock...
[2025-01-13 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:19:03] Production.INFO: ==27715== Lock acquired, processing the job...
[2025-01-13 11:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:19:03] Production.INFO: ==27719== Lock acquired, processing the job...
[2025-01-13 11:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:19:03] Production.INFO: ==27721== Lock acquired, processing the job...
[2025-01-13 11:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 11:19:03] Production.INFO: ==27717== Lock acquired, processing the job...
[2025-01-13 11:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:19:03] Production.INFO: count ==21
[2025-01-13 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-13 11:19:03] Production.INFO: count ==21
[2025-01-13 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238586') start
[2025-01-13 11:19:03] Production.INFO: Account Balance Start.
[2025-01-13 11:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:19:03] Production.INFO: ==27713== Lock acquired, processing the job...
[2025-01-13 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:19:03] Production.INFO: 117
[2025-01-13 11:19:03] Production.INFO: ==27711== Lock acquired, processing the job...
[2025-01-13 11:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238586') end
[2025-01-13 11:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:19:03] Production.INFO: 1
[2025-01-13 11:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:19:03] Production.ERROR: done
[2025-01-13 11:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:19:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:19:03] Production.INFO: ==27721== Releasing lock...
[2025-01-13 11:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:19:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:19:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:19:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:19:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:19:03] Production.ERROR: done
[2025-01-13 11:19:03] Production.INFO: ==27713== Releasing lock...
[2025-01-13 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:19:03] Production.INFO: Total Charge 0
[2025-01-13 11:19:03] Production.INFO: CreateAllLog End
[2025-01-13 11:19:03] Production.INFO: Account Balance End.
[2025-01-13 11:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:19:04] Production.INFO: ==27717== Releasing lock...
[2025-01-13 11:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:19:04
[end_date_ymd] => 2025-01-13 11:19:04
[RateCDR] => 1
)
[2025-01-13 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-13 08:19:04' and `end` < '2025-01-13 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-13 11:19:10] Production.ERROR: CronJobId end10
[2025-01-13 11:19:10] Production.INFO: ==27715== Releasing lock...
[2025-01-13 11:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:19:12] Production.INFO: call_cost start
[2025-01-13 11:19:12] Production.INFO: call_cost end
[2025-01-13 11:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:19:13] Production.INFO: ==27711== Releasing lock...
[2025-01-13 11:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:19:21] Production.INFO: count ==5011
[2025-01-13 11:19:23] Production.ERROR: pbx CDR StartTime 2025-01-13 08:19:04 - End Time 2025-01-13 11:19:04
[2025-01-13 11:19:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:19:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238590', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238590', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238590', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238590', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:19:24] Production.INFO: ProcessCDR(1,14238590,1,1,2)
[2025-01-13 11:19:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:19:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:19:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:19:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238590', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:19:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238590', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:19:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:19:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:19:29] Production.INFO: ==27719== Releasing lock...
[2025-01-13 11:19:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:19:29] Production.INFO: 65.5 MB #Memory Used#
[2025-01-13 16:20:02] Production.INFO: ==27785== Lock acquired, processing the job...
[2025-01-13 16:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:20:02] Production.INFO: neon service started
[2025-01-13 16:20:02] Production.INFO: neon service started
[2025-01-13 16:20:02] Production.INFO: ==27785== Releasing lock...
[2025-01-13 16:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:20:02] Production.INFO: ==27787== Lock acquired, processing the job...
[2025-01-13 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:20:02] Production.INFO: ==27787== Releasing lock...
[2025-01-13 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:20:03] Production.INFO: ==27789== Lock acquired, processing the job...
[2025-01-13 16:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:20:03] Production.INFO: ==27789== Releasing lock...
[2025-01-13 16:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:20:03] Production.INFO: ==27792== Lock acquired, processing the job...
[2025-01-13 11:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 11:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 11:20:04] Production.INFO: ==27804== Lock acquired, processing the job...
[2025-01-13 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 11:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 11:20:04] Production.INFO: ==27792== Releasing lock...
[2025-01-13 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 11:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:20:04] Production.INFO: ==27806== Lock acquired, processing the job...
[2025-01-13 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:20:04] Production.INFO: ==27794== Lock acquired, processing the job...
[2025-01-13 11:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:20:04] Production.INFO: ==27796== Lock acquired, processing the job...
[2025-01-13 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:20:04] Production.INFO: ==27798== Lock acquired, processing the job...
[2025-01-13 11:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:20:04] Production.INFO: ==27800== Lock acquired, processing the job...
[2025-01-13 11:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:20:04] Production.INFO: ==27802== Lock acquired, processing the job...
[2025-01-13 11:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:20:04] Production.INFO: count ==21
[2025-01-13 11:20:04] Production.ERROR: done
[2025-01-13 11:20:04] Production.INFO: Account Balance Start.
[2025-01-13 11:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:20:04] Production.INFO: 117
[2025-01-13 11:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:20:04] Production.INFO: count ==21
[2025-01-13 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238591') start
[2025-01-13 11:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 11:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238595', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 11:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238591') end
[2025-01-13 11:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:20:04] Production.INFO: 1
[2025-01-13 11:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:20:04] Production.ERROR: done
[2025-01-13 11:20:04] Production.INFO: ==27806== Releasing lock...
[2025-01-13 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:20:04] Production.INFO: ==27796== Releasing lock...
[2025-01-13 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:20:05] Production.INFO: Total Charge 0
[2025-01-13 11:20:05] Production.INFO: CreateAllLog End
[2025-01-13 11:20:05] Production.ERROR: done
[2025-01-13 11:20:05] Production.INFO: Account Balance End.
[2025-01-13 11:20:05] Production.ERROR: CronJobId end 12
[2025-01-13 11:20:05] Production.INFO: ==27800== Releasing lock...
[2025-01-13 11:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:20:06
[end_date_ymd] => 2025-01-13 11:20:06
[RateCDR] => 1
)
[2025-01-13 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-13 08:20:06' and `end` < '2025-01-13 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-13 11:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238595', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 11:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 11:20:08] Production.INFO: ProcessCDR(1,14238595,1,1,2)
[2025-01-13 11:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238595,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238595,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:20:09] Production.INFO: ==27804== Releasing lock...
[2025-01-13 11:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 11:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 11:20:12] Production.ERROR: CronJobId end10
[2025-01-13 11:20:12] Production.INFO: ==27798== Releasing lock...
[2025-01-13 11:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:20:15] Production.INFO: call_cost start
[2025-01-13 11:20:15] Production.INFO: call_cost end
[2025-01-13 11:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:20:16] Production.INFO: ==27794== Releasing lock...
[2025-01-13 11:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:20:25] Production.INFO: count ==5048
[2025-01-13 11:20:27] Production.ERROR: pbx CDR StartTime 2025-01-13 08:20:06 - End Time 2025-01-13 11:20:06
[2025-01-13 11:20:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:20:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238596', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:20:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238596', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:20:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238596', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:20:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238596', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:20:27] Production.INFO: ProcessCDR(1,14238596,1,1,2)
[2025-01-13 11:20:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:20:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:20:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:20:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:20:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238596', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:20:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238596', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:20:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:20:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:20:32] Production.INFO: ==27802== Releasing lock...
[2025-01-13 11:20:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:20:32] Production.INFO: 65.75 MB #Memory Used#
[2025-01-13 16:21:01] Production.INFO: ==27863== Lock acquired, processing the job...
[2025-01-13 16:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:21:01] Production.INFO: neon service started
[2025-01-13 16:21:01] Production.INFO: neon service started
[2025-01-13 16:21:01] Production.INFO: ==27863== Releasing lock...
[2025-01-13 16:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:21:01] Production.INFO: ==27865== Lock acquired, processing the job...
[2025-01-13 11:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:21:02] Production.INFO: ==27865== Releasing lock...
[2025-01-13 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:21:02] Production.INFO: ==27867== Lock acquired, processing the job...
[2025-01-13 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:21:02] Production.INFO: ==27867== Releasing lock...
[2025-01-13 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:21:03] Production.INFO: ==27870== Lock acquired, processing the job...
[2025-01-13 11:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:21:03] Production.INFO: ==27878== Lock acquired, processing the job...
[2025-01-13 11:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:21:03] Production.INFO: ==27880== Lock acquired, processing the job...
[2025-01-13 11:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:21:03] Production.INFO: ==27874== Lock acquired, processing the job...
[2025-01-13 11:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:21:03] Production.INFO: ==27872== Lock acquired, processing the job...
[2025-01-13 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 11:21:03] Production.INFO: ==27876== Lock acquired, processing the job...
[2025-01-13 11:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:21:03] Production.INFO: count ==21
[2025-01-13 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-13 11:21:03] Production.INFO: count ==21
[2025-01-13 11:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238598') start
[2025-01-13 11:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238598') end
[2025-01-13 11:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:21:03] Production.INFO: 1
[2025-01-13 11:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:21:03] Production.INFO: ==27880== Releasing lock...
[2025-01-13 11:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:21:03] Production.INFO: Account Balance Start.
[2025-01-13 11:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:21:03] Production.INFO: 117
[2025-01-13 11:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:21:03] Production.ERROR: done
[2025-01-13 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:21:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:21:03] Production.INFO: ==27872== Releasing lock...
[2025-01-13 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:21:03] Production.ERROR: done
[2025-01-13 11:21:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:21:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:21:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:21:03] Production.INFO: Total Charge 0
[2025-01-13 11:21:03] Production.INFO: CreateAllLog End
[2025-01-13 11:21:03] Production.INFO: Account Balance End.
[2025-01-13 11:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:21:04] Production.INFO: ==27876== Releasing lock...
[2025-01-13 11:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:21:04
[end_date_ymd] => 2025-01-13 11:21:04
[RateCDR] => 1
)
[2025-01-13 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-13 08:21:04' and `end` < '2025-01-13 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-13 11:21:10] Production.ERROR: CronJobId end10
[2025-01-13 11:21:10] Production.INFO: ==27874== Releasing lock...
[2025-01-13 11:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:21:13] Production.INFO: call_cost start
[2025-01-13 11:21:13] Production.INFO: call_cost end
[2025-01-13 11:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:21:13] Production.INFO: ==27870== Releasing lock...
[2025-01-13 11:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:21:22] Production.INFO: count ==5127
[2025-01-13 11:21:24] Production.ERROR: pbx CDR StartTime 2025-01-13 08:21:04 - End Time 2025-01-13 11:21:04
[2025-01-13 11:21:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238601', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238601', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238601', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238601', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:21:24] Production.INFO: ProcessCDR(1,14238601,1,1,2)
[2025-01-13 11:21:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:21:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:21:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:21:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:21:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238601', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:21:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238601', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:21:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:21:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:21:29] Production.INFO: ==27878== Releasing lock...
[2025-01-13 11:21:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:21:29] Production.INFO: 66.25 MB #Memory Used#
[2025-01-13 16:22:01] Production.INFO: ==27942== Lock acquired, processing the job...
[2025-01-13 16:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:22:02] Production.INFO: neon service started
[2025-01-13 16:22:02] Production.INFO: neon service started
[2025-01-13 16:22:02] Production.INFO: ==27942== Releasing lock...
[2025-01-13 16:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:22:02] Production.INFO: ==27944== Lock acquired, processing the job...
[2025-01-13 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:22:02] Production.INFO: ==27946== Lock acquired, processing the job...
[2025-01-13 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:22:02] Production.INFO: ==27946== Releasing lock...
[2025-01-13 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:22:03] Production.INFO: ==27944== Releasing lock...
[2025-01-13 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:22:03] Production.INFO: ==27955== Lock acquired, processing the job...
[2025-01-13 11:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:22:03] Production.INFO: ==27949== Lock acquired, processing the job...
[2025-01-13 11:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:22:03] Production.INFO: ==27957== Lock acquired, processing the job...
[2025-01-13 11:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:22:03] Production.INFO: ==27951== Lock acquired, processing the job...
[2025-01-13 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:22:03] Production.INFO: ==27953== Lock acquired, processing the job...
[2025-01-13 11:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:22:04] Production.INFO: Account Balance Start.
[2025-01-13 11:22:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:22:04] Production.INFO: 117
[2025-01-13 11:22:04] Production.INFO: ==27959== Lock acquired, processing the job...
[2025-01-13 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:22:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:22:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:22:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:22:04] Production.ERROR: done
[2025-01-13 11:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 11:22:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:22:04] Production.INFO: count ==21
[2025-01-13 11:22:04] Production.INFO: ==27951== Releasing lock...
[2025-01-13 11:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 11:22:04] Production.INFO: count ==21
[2025-01-13 11:22:04] Production.ERROR: done
[2025-01-13 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238605') start
[2025-01-13 11:22:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:22:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:22:04] Production.INFO: Total Charge 0
[2025-01-13 11:22:04] Production.INFO: CreateAllLog End
[2025-01-13 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238605') end
[2025-01-13 11:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:22:04] Production.INFO: 1
[2025-01-13 11:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:22:04] Production.INFO: ==27959== Releasing lock...
[2025-01-13 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:22:04] Production.INFO: Account Balance End.
[2025-01-13 11:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:22:04] Production.INFO: ==27955== Releasing lock...
[2025-01-13 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:22:05
[end_date_ymd] => 2025-01-13 11:22:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:22:05' and `end` < '2025-01-13 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-13 11:22:12] Production.ERROR: CronJobId end10
[2025-01-13 11:22:12] Production.INFO: ==27953== Releasing lock...
[2025-01-13 11:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:22:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:22:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:22:14] Production.INFO: call_cost start
[2025-01-13 11:22:14] Production.INFO: call_cost end
[2025-01-13 11:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:22:15] Production.INFO: ==27949== Releasing lock...
[2025-01-13 11:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:22:19] Production.INFO: count ==5115
[2025-01-13 11:22:21] Production.ERROR: pbx CDR StartTime 2025-01-13 08:22:05 - End Time 2025-01-13 11:22:05
[2025-01-13 11:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238606', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238606', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238606', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238606', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:22:21] Production.INFO: ProcessCDR(1,14238606,1,1,2)
[2025-01-13 11:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:22:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238606', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238606', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:22:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:22:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:22:26] Production.INFO: ==27957== Releasing lock...
[2025-01-13 11:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:22:26] Production.INFO: 66.25 MB #Memory Used#
[2025-01-13 16:23:01] Production.INFO: ==28058== Lock acquired, processing the job...
[2025-01-13 16:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:23:01] Production.INFO: neon service started
[2025-01-13 16:23:01] Production.INFO: neon service started
[2025-01-13 16:23:01] Production.INFO: ==28058== Releasing lock...
[2025-01-13 16:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:23:02] Production.INFO: ==28060== Lock acquired, processing the job...
[2025-01-13 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:23:02] Production.INFO: ==28062== Lock acquired, processing the job...
[2025-01-13 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:23:02] Production.INFO: ==28062== Releasing lock...
[2025-01-13 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:23:02] Production.INFO: ==28060== Releasing lock...
[2025-01-13 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:23:03] Production.INFO: ==28065== Lock acquired, processing the job...
[2025-01-13 11:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:23:03] Production.INFO: ==28067== Lock acquired, processing the job...
[2025-01-13 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:23:03] Production.INFO: ==28069== Lock acquired, processing the job...
[2025-01-13 11:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:23:03] Production.INFO: ==28071== Lock acquired, processing the job...
[2025-01-13 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:23:03] Production.INFO: ==28067== Releasing lock...
[2025-01-13 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:23:03] Production.INFO: ==28073== Lock acquired, processing the job...
[2025-01-13 11:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:23:03] Production.INFO: Account Balance Start.
[2025-01-13 11:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:23:03] Production.INFO: 117
[2025-01-13 11:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:23:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:23:03] Production.INFO: ==28075== Lock acquired, processing the job...
[2025-01-13 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:23:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:23:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:23:04] Production.INFO: count ==21
[2025-01-13 11:23:04] Production.ERROR: done
[2025-01-13 11:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:23:04] Production.INFO: count ==21
[2025-01-13 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238610') start
[2025-01-13 11:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:23:04] Production.ERROR: done
[2025-01-13 11:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:23:04] Production.INFO: Total Charge 0
[2025-01-13 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238610') end
[2025-01-13 11:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:23:04] Production.INFO: 1
[2025-01-13 11:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:23:04] Production.INFO: CreateAllLog End
[2025-01-13 11:23:04] Production.INFO: ==28075== Releasing lock...
[2025-01-13 11:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:23:04] Production.INFO: Account Balance End.
[2025-01-13 11:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:23:04] Production.INFO: ==28071== Releasing lock...
[2025-01-13 11:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:23:05
[end_date_ymd] => 2025-01-13 11:23:05
[RateCDR] => 1
)
[2025-01-13 11: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-13 08:23:05' and `end` < '2025-01-13 11: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-13 11:23:11] Production.ERROR: CronJobId end10
[2025-01-13 11:23:11] Production.INFO: ==28069== Releasing lock...
[2025-01-13 11:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:23:13] Production.INFO: call_cost start
[2025-01-13 11:23:13] Production.INFO: call_cost end
[2025-01-13 11:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:23:13] Production.INFO: ==28065== Releasing lock...
[2025-01-13 11:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:23:21] Production.INFO: count ==5126
[2025-01-13 11:23:23] Production.ERROR: pbx CDR StartTime 2025-01-13 08:23:05 - End Time 2025-01-13 11:23:05
[2025-01-13 11:23:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238611', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238611', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238611', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238611', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:23:23] Production.INFO: ProcessCDR(1,14238611,1,1,2)
[2025-01-13 11:23:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:23:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:23:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:23:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238611', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238611', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:23:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:23:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:23:28] Production.INFO: ==28073== Releasing lock...
[2025-01-13 11:23:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:23:28] Production.INFO: 66.25 MB #Memory Used#
[2025-01-13 16:24:01] Production.INFO: ==28137== Lock acquired, processing the job...
[2025-01-13 16:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:24:01] Production.INFO: neon service started
[2025-01-13 16:24:01] Production.INFO: neon service started
[2025-01-13 16:24:01] Production.INFO: ==28137== Releasing lock...
[2025-01-13 16:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:24:02] Production.INFO: ==28141== Lock acquired, processing the job...
[2025-01-13 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:24:02] Production.INFO: ==28139== Lock acquired, processing the job...
[2025-01-13 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:24:02] Production.INFO: ==28141== Releasing lock...
[2025-01-13 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:24:02] Production.INFO: ==28139== Releasing lock...
[2025-01-13 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:24:03] Production.INFO: ==28148== Lock acquired, processing the job...
[2025-01-13 11:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:24:03] Production.INFO: ==28150== Lock acquired, processing the job...
[2025-01-13 11:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:24:03] Production.INFO: ==28152== Lock acquired, processing the job...
[2025-01-13 11:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:24:03] Production.INFO: Account Balance Start.
[2025-01-13 11:24:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:24:03] Production.INFO: 117
[2025-01-13 11:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:24:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:24:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:24:03] Production.INFO: ==28154== Lock acquired, processing the job...
[2025-01-13 11:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:24:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:24:03] Production.INFO: ==28144== Lock acquired, processing the job...
[2025-01-13 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:24:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:24:03] Production.INFO: ==28146== Lock acquired, processing the job...
[2025-01-13 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:24:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:24:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 11: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-13 11:24:04] Production.INFO: Total Charge 0
[2025-01-13 11:24:04] Production.INFO: count ==21
[2025-01-13 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-13 11:24:04] Production.ERROR: done
[2025-01-13 11:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:24:04] Production.INFO: count ==21
[2025-01-13 11:24:04] Production.INFO: CreateAllLog End
[2025-01-13 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238615') start
[2025-01-13 11:24:04] Production.INFO: ==28146== Releasing lock...
[2025-01-13 11:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:24:04] Production.ERROR: done
[2025-01-13 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238615') end
[2025-01-13 11:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:24:04] Production.INFO: 1
[2025-01-13 11:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:24:04] Production.INFO: Account Balance End.
[2025-01-13 11:24:04] Production.INFO: ==28154== Releasing lock...
[2025-01-13 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:24:04] Production.INFO: ==28150== Releasing lock...
[2025-01-13 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:24:05
[end_date_ymd] => 2025-01-13 11:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:24:05' and `end` < '2025-01-13 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-13 11:24:11] Production.ERROR: CronJobId end10
[2025-01-13 11:24:11] Production.INFO: ==28148== Releasing lock...
[2025-01-13 11:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:24:13] Production.INFO: call_cost start
[2025-01-13 11:24:13] Production.INFO: call_cost end
[2025-01-13 11:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:24:14] Production.INFO: ==28144== Releasing lock...
[2025-01-13 11:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:24:19] Production.INFO: count ==5129
[2025-01-13 11:24:21] Production.ERROR: pbx CDR StartTime 2025-01-13 08:24:05 - End Time 2025-01-13 11:24:05
[2025-01-13 11:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238616', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238616', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238616', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238616', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:24:21] Production.INFO: ProcessCDR(1,14238616,1,1,2)
[2025-01-13 11:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:24:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238616', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238616', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:24:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:24:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:24:25] Production.INFO: ==28152== Releasing lock...
[2025-01-13 11:24:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:24:25] Production.INFO: 66.25 MB #Memory Used#
[2025-01-13 16:25:02] Production.INFO: ==28212== Lock acquired, processing the job...
[2025-01-13 16:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:25:02] Production.INFO: neon service started
[2025-01-13 16:25:02] Production.INFO: neon service started
[2025-01-13 16:25:02] Production.INFO: ==28212== Releasing lock...
[2025-01-13 16:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:25:02] Production.INFO: ==28214== Lock acquired, processing the job...
[2025-01-13 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:25:02] Production.INFO: ==28214== Releasing lock...
[2025-01-13 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:25:03] Production.INFO: ==28216== Lock acquired, processing the job...
[2025-01-13 16:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:25:03] Production.INFO: ==28216== Releasing lock...
[2025-01-13 16:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:25:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:25:03] Production.INFO: ==28224== Lock acquired, processing the job...
[2025-01-13 11:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:25:03] Production.INFO: Account Balance Start.
[2025-01-13 11:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:25:03] Production.INFO: 117
[2025-01-13 11:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:25:03] Production.INFO: ==28218== Lock acquired, processing the job...
[2025-01-13 11:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:25:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:25:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:25:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:25:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:25:03] Production.INFO: ==28222== Lock acquired, processing the job...
[2025-01-13 11:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:25:03] Production.INFO: ==28220== Lock acquired, processing the job...
[2025-01-13 11:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:25:03] Production.INFO: Total Charge 0
[2025-01-13 11:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:25:04] Production.INFO: CreateAllLog End
[2025-01-13 11:25:04] Production.INFO: ==28228== Lock acquired, processing the job...
[2025-01-13 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:25:04] Production.INFO: ==28226== Lock acquired, processing the job...
[2025-01-13 11:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:25:04] Production.INFO: Account Balance End.
[2025-01-13 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-13 11:25:04] Production.INFO: count ==21
[2025-01-13 11:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:25:04] Production.INFO: ==28224== Releasing lock...
[2025-01-13 11:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 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-13 11:25:04] Production.INFO: count ==21
[2025-01-13 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238620') start
[2025-01-13 11:25:04] Production.INFO: ==28220== Releasing lock...
[2025-01-13 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:25:04] Production.ERROR: done
[2025-01-13 11:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238620') end
[2025-01-13 11:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:25:04] Production.INFO: 1
[2025-01-13 11:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:25:04] Production.INFO: ==28228== Releasing lock...
[2025-01-13 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:25:04] Production.ERROR: done
[2025-01-13 11:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:25:05
[end_date_ymd] => 2025-01-13 11:25:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:25:05' and `end` < '2025-01-13 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-13 11:25:12] Production.ERROR: CronJobId end10
[2025-01-13 11:25:12] Production.INFO: ==28222== Releasing lock...
[2025-01-13 11:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:25:13] Production.INFO: call_cost start
[2025-01-13 11:25:13] Production.INFO: call_cost end
[2025-01-13 11:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:25:14] Production.INFO: ==28218== Releasing lock...
[2025-01-13 11:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:25:24] Production.INFO: count ==5120
[2025-01-13 11:25:26] Production.ERROR: pbx CDR StartTime 2025-01-13 08:25:05 - End Time 2025-01-13 11:25:05
[2025-01-13 11:25:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238621', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238621', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238621', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238621', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:25:27] Production.INFO: ProcessCDR(1,14238621,1,1,2)
[2025-01-13 11:25:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:25:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:25:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:25:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:25:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238621', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:25:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238621', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:25:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:25:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:25:31] Production.INFO: ==28226== Releasing lock...
[2025-01-13 11:25:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:25:31] Production.INFO: 66.25 MB #Memory Used#
[2025-01-13 16:26:01] Production.INFO: ==28283== Lock acquired, processing the job...
[2025-01-13 16:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:26:01] Production.INFO: neon service started
[2025-01-13 16:26:01] Production.INFO: neon service started
[2025-01-13 16:26:01] Production.INFO: ==28283== Releasing lock...
[2025-01-13 16:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:26:02] Production.INFO: ==28285== Lock acquired, processing the job...
[2025-01-13 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:26:02] Production.INFO: ==28285== Releasing lock...
[2025-01-13 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:26:02] Production.INFO: ==28287== Lock acquired, processing the job...
[2025-01-13 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:26:02] Production.INFO: ==28287== Releasing lock...
[2025-01-13 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:26:03] Production.INFO: ==28289== Lock acquired, processing the job...
[2025-01-13 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:26:03] Production.INFO: ==28293== Lock acquired, processing the job...
[2025-01-13 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:26:03] Production.INFO: ==28295== Lock acquired, processing the job...
[2025-01-13 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:26:03] Production.INFO: Account Balance Start.
[2025-01-13 11:26:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:26:03] Production.INFO: 117
[2025-01-13 11:26:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:26:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:26:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:26:03] Production.INFO: ==28291== Lock acquired, processing the job...
[2025-01-13 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:26:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:26:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:26:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:26:03] Production.INFO: ==28297== Lock acquired, processing the job...
[2025-01-13 11:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:26:03] Production.INFO: Total Charge 0
[2025-01-13 11:26:03] Production.INFO: CreateAllLog End
[2025-01-13 11:26:03] Production.INFO: ==28299== Lock acquired, processing the job...
[2025-01-13 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:26:03] Production.INFO: ==28291== Releasing lock...
[2025-01-13 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 11:26:03] Production.INFO: count ==21
[2025-01-13 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-13 11:26:03] Production.INFO: count ==21
[2025-01-13 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238625') start
[2025-01-13 11:26:04] Production.ERROR: done
[2025-01-13 11:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238625') end
[2025-01-13 11:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:26:04] Production.INFO: 1
[2025-01-13 11:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:26:04] Production.INFO: Account Balance End.
[2025-01-13 11:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:26:04] Production.INFO: ==28295== Releasing lock...
[2025-01-13 11:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:26:04] Production.INFO: ==28299== Releasing lock...
[2025-01-13 11:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:26:04] Production.ERROR: done
[2025-01-13 11:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:26:05
[end_date_ymd] => 2025-01-13 11:26:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:26:05' and `end` < '2025-01-13 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-13 11:26:10] Production.ERROR: CronJobId end10
[2025-01-13 11:26:10] Production.INFO: ==28293== Releasing lock...
[2025-01-13 11:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:26:13] Production.INFO: call_cost start
[2025-01-13 11:26:13] Production.INFO: call_cost end
[2025-01-13 11:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:26:14] Production.INFO: ==28289== Releasing lock...
[2025-01-13 11:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:26:38] Production.INFO: count ==5135
[2025-01-13 11:26:41] Production.ERROR: pbx CDR StartTime 2025-01-13 08:26:05 - End Time 2025-01-13 11:26:05
[2025-01-13 11:26:41] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:26:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238626', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:26:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238626', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:26:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238626', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:26:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238626', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:26:41] Production.INFO: ProcessCDR(1,14238626,1,1,2)
[2025-01-13 11:26:41] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:26:43] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:26:43] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:26:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:26:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238626', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:26:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238626', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:26:46] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:26:46] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:26:46] Production.INFO: ==28297== Releasing lock...
[2025-01-13 11:26:46] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:26:46] Production.INFO: 66.5 MB #Memory Used#
[2025-01-13 16:27:02] Production.INFO: ==28370== Lock acquired, processing the job...
[2025-01-13 16:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:27:02] Production.INFO: neon service started
[2025-01-13 16:27:02] Production.INFO: neon service started
[2025-01-13 16:27:02] Production.INFO: ==28370== Releasing lock...
[2025-01-13 16:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:27:02] Production.INFO: ==28372== Lock acquired, processing the job...
[2025-01-13 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:27:02] Production.INFO: ==28374== Lock acquired, processing the job...
[2025-01-13 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:27:02] Production.INFO: ==28374== Releasing lock...
[2025-01-13 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:27:03] Production.INFO: ==28372== Releasing lock...
[2025-01-13 11:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:27:03] Production.INFO: ==28379== Lock acquired, processing the job...
[2025-01-13 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:27:03] Production.INFO: ==28377== Lock acquired, processing the job...
[2025-01-13 11:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:27:03] Production.INFO: ==28383== Lock acquired, processing the job...
[2025-01-13 11:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:27:04] Production.INFO: ==28385== Lock acquired, processing the job...
[2025-01-13 11:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:27:04] Production.INFO: ==28387== Lock acquired, processing the job...
[2025-01-13 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:27:04] Production.INFO: Account Balance Start.
[2025-01-13 11:27:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:27:04] Production.INFO: 117
[2025-01-13 11:27:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:27:04] Production.INFO: ==28381== Lock acquired, processing the job...
[2025-01-13 11:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:27:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:27:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:27:04] Production.INFO: count ==21
[2025-01-13 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-13 11:27:04] Production.INFO: count ==21
[2025-01-13 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238630') start
[2025-01-13 11:27:04] Production.INFO: ==28379== Releasing lock...
[2025-01-13 11:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:27:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238630') end
[2025-01-13 11:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:27:04] Production.INFO: 1
[2025-01-13 11:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:27:04] Production.INFO: ==28387== Releasing lock...
[2025-01-13 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:27:04] Production.ERROR: done
[2025-01-13 11:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:27:04] Production.INFO: Total Charge 0
[2025-01-13 11:27:04] Production.INFO: CreateAllLog End
[2025-01-13 11:27:04] Production.ERROR: done
[2025-01-13 11:27:04] Production.INFO: Account Balance End.
[2025-01-13 11:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:27:04] Production.INFO: ==28383== Releasing lock...
[2025-01-13 11:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:27:05
[end_date_ymd] => 2025-01-13 11:27:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:27:05' and `end` < '2025-01-13 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-13 11:27:12] Production.ERROR: CronJobId end10
[2025-01-13 11:27:12] Production.INFO: ==28381== Releasing lock...
[2025-01-13 11:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:27:14] Production.INFO: call_cost start
[2025-01-13 11:27:14] Production.INFO: call_cost end
[2025-01-13 11:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:27:14] Production.INFO: ==28377== Releasing lock...
[2025-01-13 11:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:27:28] Production.INFO: count ==5135
[2025-01-13 11:27:30] Production.ERROR: pbx CDR StartTime 2025-01-13 08:27:05 - End Time 2025-01-13 11:27:05
[2025-01-13 11:27:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:27:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238631', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:27:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238631', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:27:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238631', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:27:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238631', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:27:30] Production.INFO: ProcessCDR(1,14238631,1,1,2)
[2025-01-13 11:27:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:27:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:27:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:27:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:27:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238631', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:27:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238631', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:27:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:27:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:27:35] Production.INFO: ==28385== Releasing lock...
[2025-01-13 11:27:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:27:35] Production.INFO: 66.5 MB #Memory Used#
[2025-01-13 16:28:01] Production.INFO: ==28459== Lock acquired, processing the job...
[2025-01-13 16:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:28:01] Production.INFO: neon service started
[2025-01-13 16:28:01] Production.INFO: neon service started
[2025-01-13 16:28:01] Production.INFO: ==28459== Releasing lock...
[2025-01-13 16:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:28:01] Production.INFO: ==28462== Lock acquired, processing the job...
[2025-01-13 11:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:28:02] Production.INFO: ==28464== Lock acquired, processing the job...
[2025-01-13 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:28:02] Production.INFO: ==28464== Releasing lock...
[2025-01-13 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:28:02] Production.INFO: ==28462== Releasing lock...
[2025-01-13 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:28:03] Production.INFO: ==28471== Lock acquired, processing the job...
[2025-01-13 11:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:28:03] Production.INFO: ==28473== Lock acquired, processing the job...
[2025-01-13 11:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:28:03] Production.INFO: ==28475== Lock acquired, processing the job...
[2025-01-13 11:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:28:03] Production.INFO: Account Balance Start.
[2025-01-13 11:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:28:03] Production.INFO: 117
[2025-01-13 11:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:28:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:28:03] Production.INFO: ==28467== Lock acquired, processing the job...
[2025-01-13 11:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:28:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:28:03] Production.INFO: ==28469== Lock acquired, processing the job...
[2025-01-13 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:28:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:28:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:28:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:28:03] Production.INFO: Total Charge 0
[2025-01-13 11:28:03] Production.INFO: ==28477== Lock acquired, processing the job...
[2025-01-13 11:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:28:03] Production.INFO: CreateAllLog End
[2025-01-13 11:28:03] Production.ERROR: done
[2025-01-13 11:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:28:03] Production.ERROR: done
[2025-01-13 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-13 11:28:03] Production.INFO: Account Balance End.
[2025-01-13 11:28:03] Production.INFO: count ==21
[2025-01-13 11:28:03] Production.ERROR: CronJobId end 12
[2025-01-13 11:28:03] Production.INFO: ==28473== Releasing lock...
[2025-01-13 11:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 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-13 11:28:03] Production.INFO: count ==21
[2025-01-13 11:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238635') start
[2025-01-13 11:28:03] Production.INFO: ==28469== Releasing lock...
[2025-01-13 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238635') end
[2025-01-13 11:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:28:03] Production.INFO: 1
[2025-01-13 11:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:28:04] Production.INFO: ==28477== Releasing lock...
[2025-01-13 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:28:04
[end_date_ymd] => 2025-01-13 11:28:04
[RateCDR] => 1
)
[2025-01-13 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-13 08:28:04' and `end` < '2025-01-13 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-13 11:28:10] Production.ERROR: CronJobId end10
[2025-01-13 11:28:10] Production.INFO: ==28471== Releasing lock...
[2025-01-13 11:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:28:12] Production.INFO: call_cost start
[2025-01-13 11:28:12] Production.INFO: call_cost end
[2025-01-13 11:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:28:13] Production.INFO: ==28467== Releasing lock...
[2025-01-13 11:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:28:25] Production.INFO: count ==5181
[2025-01-13 11:28:27] Production.ERROR: pbx CDR StartTime 2025-01-13 08:28:04 - End Time 2025-01-13 11:28:04
[2025-01-13 11:28:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238636', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238636', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238636', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:28:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238636', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:28:27] Production.INFO: ProcessCDR(1,14238636,1,1,2)
[2025-01-13 11:28:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:28:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:28:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:28:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:28:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238636', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:28:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238636', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:28:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:28:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:28:33] Production.INFO: ==28475== Releasing lock...
[2025-01-13 11:28:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:28:33] Production.INFO: 66.75 MB #Memory Used#
[2025-01-13 16:29:02] Production.INFO: ==28553== Lock acquired, processing the job...
[2025-01-13 16:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:29:02] Production.INFO: neon service started
[2025-01-13 16:29:02] Production.INFO: neon service started
[2025-01-13 16:29:02] Production.INFO: ==28553== Releasing lock...
[2025-01-13 16:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:29:02] Production.INFO: ==28557== Lock acquired, processing the job...
[2025-01-13 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:29:02] Production.INFO: ==28557== Releasing lock...
[2025-01-13 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:29:02] Production.INFO: ==28555== Lock acquired, processing the job...
[2025-01-13 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:29:02] Production.INFO: ==28555== Releasing lock...
[2025-01-13 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:29:03] Production.INFO: ==28560== Lock acquired, processing the job...
[2025-01-13 11:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:29:03] Production.INFO: ==28564== Lock acquired, processing the job...
[2025-01-13 11:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:29:03] Production.INFO: ==28568== Lock acquired, processing the job...
[2025-01-13 11:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:29:03] Production.INFO: ==28562== Lock acquired, processing the job...
[2025-01-13 11:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:29:03] Production.INFO: ==28566== Lock acquired, processing the job...
[2025-01-13 11:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:29:03] Production.ERROR: done
[2025-01-13 11:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:29:04] Production.INFO: Account Balance Start.
[2025-01-13 11:29:04] Production.INFO: ==28570== Lock acquired, processing the job...
[2025-01-13 11:29:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:29:04] Production.INFO: 117
[2025-01-13 11:29:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:29:04] Production.ERROR: done
[2025-01-13 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:29:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:29:04] Production.INFO: count ==21
[2025-01-13 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-13 11:29:04] Production.INFO: count ==21
[2025-01-13 11:29:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:29:04] Production.INFO: ==28562== Releasing lock...
[2025-01-13 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238641') start
[2025-01-13 11:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238641') end
[2025-01-13 11:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:29:04] Production.INFO: 1
[2025-01-13 11:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:29:04] Production.INFO: ==28570== Releasing lock...
[2025-01-13 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:29:04] Production.INFO: Total Charge 0
[2025-01-13 11:29:04] Production.INFO: CreateAllLog End
[2025-01-13 11:29:04] Production.INFO: Account Balance End.
[2025-01-13 11:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:29:04] Production.INFO: ==28566== Releasing lock...
[2025-01-13 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:29:05
[end_date_ymd] => 2025-01-13 11:29:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:29:05' and `end` < '2025-01-13 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-13 11:29:11] Production.ERROR: CronJobId end10
[2025-01-13 11:29:11] Production.INFO: ==28564== Releasing lock...
[2025-01-13 11:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:29:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:29:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:29:14] Production.INFO: call_cost start
[2025-01-13 11:29:14] Production.INFO: call_cost end
[2025-01-13 11:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:29:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:29:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:29:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:29:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:29:15] Production.INFO: ==28560== Releasing lock...
[2025-01-13 11:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:29:23] Production.INFO: count ==5214
[2025-01-13 11:29:25] Production.ERROR: pbx CDR StartTime 2025-01-13 08:29:05 - End Time 2025-01-13 11:29:05
[2025-01-13 11:29:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:29:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238640', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:29:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238640', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:29:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238640', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:29:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238640', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:29:25] Production.INFO: ProcessCDR(1,14238640,1,1,2)
[2025-01-13 11:29:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:29:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:29:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:29:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:29:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238640', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:29:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238640', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:29:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:29:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:29:30] Production.INFO: ==28568== Releasing lock...
[2025-01-13 11:29:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:29:30] Production.INFO: 67 MB #Memory Used#
[2025-01-13 16:30:01] Production.INFO: ==28631== Lock acquired, processing the job...
[2025-01-13 16:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:30:01] Production.INFO: neon service started
[2025-01-13 16:30:01] Production.INFO: neon service started
[2025-01-13 16:30:01] Production.INFO: ==28631== Releasing lock...
[2025-01-13 16:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:30:02] Production.INFO: ==28633== Lock acquired, processing the job...
[2025-01-13 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:30:02] Production.INFO: ==28635== Lock acquired, processing the job...
[2025-01-13 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:30:02] Production.INFO: ==28635== Releasing lock...
[2025-01-13 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:30:02] Production.INFO: ==28633== Releasing lock...
[2025-01-13 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:30:03] Production.INFO: ==28638== Lock acquired, processing the job...
[2025-01-13 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 11:30:03] Production.INFO: ==28640== Lock acquired, processing the job...
[2025-01-13 11:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:30:03] Production.INFO: ==28642== Lock acquired, processing the job...
[2025-01-13 11:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 11:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 11:30:03] Production.INFO: ==28638== Releasing lock...
[2025-01-13 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 11:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 11:30:03] Production.INFO: ==28644== Lock acquired, processing the job...
[2025-01-13 11:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:30:04] Production.INFO: ==28646== Lock acquired, processing the job...
[2025-01-13 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:30:04] Production.INFO: ==28648== Lock acquired, processing the job...
[2025-01-13 11:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:30:04] Production.INFO: Account Balance Start.
[2025-01-13 11:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:30:04] Production.INFO: 117
[2025-01-13 11:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:30:04] Production.INFO: ==28652== Lock acquired, processing the job...
[2025-01-13 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:30:04] Production.INFO: ==28650== Lock acquired, processing the job...
[2025-01-13 11:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:30:04] Production.INFO: count ==21
[2025-01-13 11:30:04] Production.INFO: ==28642== Releasing lock...
[2025-01-13 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 11:30:04] Production.INFO: count ==21
[2025-01-13 11:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238645') start
[2025-01-13 11:30:04] Production.ERROR: done
[2025-01-13 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238645') end
[2025-01-13 11:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:30:04] Production.INFO: 1
[2025-01-13 11:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:30:04] Production.INFO: Total Charge 0
[2025-01-13 11:30:04] Production.INFO: CreateAllLog End
[2025-01-13 11:30:04] Production.INFO: ==28652== Releasing lock...
[2025-01-13 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:30:04] Production.ERROR: done
[2025-01-13 11:30:04] Production.ERROR: done
[2025-01-13 11:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 11:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238647', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 11:30:04] Production.INFO: Account Balance End.
[2025-01-13 11:30:05] Production.ERROR: CronJobId end 12
[2025-01-13 11:30:05] Production.INFO: ==28646== Releasing lock...
[2025-01-13 11:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:30:05
[end_date_ymd] => 2025-01-13 11:30:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:30:05' and `end` < '2025-01-13 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-13 11:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238647', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 11:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 11:30:08] Production.INFO: ProcessCDR(1,14238647,1,1,2)
[2025-01-13 11:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238647,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238647,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:30:08] Production.INFO: ==28650== Releasing lock...
[2025-01-13 11:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 11:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 11:30:13] Production.ERROR: CronJobId end10
[2025-01-13 11:30:13] Production.INFO: ==28644== Releasing lock...
[2025-01-13 11:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:30:14] Production.INFO: call_cost start
[2025-01-13 11:30:14] Production.INFO: call_cost end
[2025-01-13 11:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:30:15] Production.INFO: ==28640== Releasing lock...
[2025-01-13 11:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:30:25] Production.INFO: count ==5208
[2025-01-13 11:30:27] Production.ERROR: pbx CDR StartTime 2025-01-13 08:30:05 - End Time 2025-01-13 11:30:05
[2025-01-13 11:30:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:30:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238646', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:30:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238646', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:30:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238646', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:30:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238646', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:30:27] Production.INFO: ProcessCDR(1,14238646,1,1,2)
[2025-01-13 11:30:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:30:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:30:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:30:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:30:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238646', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:30:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238646', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:30:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:30:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:30:32] Production.INFO: ==28648== Releasing lock...
[2025-01-13 11:30:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:30:32] Production.INFO: 67 MB #Memory Used#
[2025-01-13 16:31:02] Production.INFO: ==28709== Lock acquired, processing the job...
[2025-01-13 16:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:31:02] Production.INFO: neon service started
[2025-01-13 16:31:02] Production.INFO: neon service started
[2025-01-13 16:31:02] Production.INFO: ==28709== Releasing lock...
[2025-01-13 16:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:31:02] Production.INFO: ==28711== Lock acquired, processing the job...
[2025-01-13 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:31:02] Production.INFO: ==28713== Lock acquired, processing the job...
[2025-01-13 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:31:02] Production.INFO: ==28713== Releasing lock...
[2025-01-13 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:31:03] Production.INFO: ==28711== Releasing lock...
[2025-01-13 11:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:31:03] Production.INFO: ==28722== Lock acquired, processing the job...
[2025-01-13 11:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:31:04] Production.INFO: Account Balance Start.
[2025-01-13 11:31:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:31:04] Production.INFO: ==28726== Lock acquired, processing the job...
[2025-01-13 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:31:04] Production.INFO: 117
[2025-01-13 11:31:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:31:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:31:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:31:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:31:04] Production.INFO: ==28716== Lock acquired, processing the job...
[2025-01-13 11:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:31:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:31:04] Production.INFO: count ==21
[2025-01-13 11:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:31:04] Production.INFO: count ==21
[2025-01-13 11:31:04] Production.INFO: Total Charge 0
[2025-01-13 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238649') start
[2025-01-13 11:31:04] Production.INFO: ==28718== Lock acquired, processing the job...
[2025-01-13 11:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:31:04] Production.INFO: CreateAllLog End
[2025-01-13 11:31:04] Production.INFO: ==28720== Lock acquired, processing the job...
[2025-01-13 11:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:31:04] Production.INFO: ==28724== Lock acquired, processing the job...
[2025-01-13 11:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:31:04] Production.INFO: Account Balance End.
[2025-01-13 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238649') end
[2025-01-13 11:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:31:04] Production.INFO: 1
[2025-01-13 11:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:31:04] Production.INFO: ==28722== Releasing lock...
[2025-01-13 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:31:04] Production.INFO: ==28726== Releasing lock...
[2025-01-13 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:31:04] Production.INFO: ==28718== Releasing lock...
[2025-01-13 11:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:31:05] Production.ERROR: done
[2025-01-13 11:31:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:31:05] Production.ERROR: done
[2025-01-13 11:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:31:06
[end_date_ymd] => 2025-01-13 11:31:06
[RateCDR] => 1
)
[2025-01-13 11:31:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:31:06' and `end` < '2025-01-13 11:31:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:31:12] Production.ERROR: CronJobId end10
[2025-01-13 11:31:12] Production.INFO: ==28720== Releasing lock...
[2025-01-13 11:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:31:13] Production.INFO: call_cost start
[2025-01-13 11:31:13] Production.INFO: call_cost end
[2025-01-13 11:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:31:14] Production.INFO: ==28716== Releasing lock...
[2025-01-13 11:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:31:26] Production.INFO: count ==5269
[2025-01-13 11:31:29] Production.ERROR: pbx CDR StartTime 2025-01-13 08:31:06 - End Time 2025-01-13 11:31:06
[2025-01-13 11:31:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:31:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238652', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:31:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238652', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:31:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238652', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:31:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238652', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:31:29] Production.INFO: ProcessCDR(1,14238652,1,1,2)
[2025-01-13 11:31:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:31:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:31:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:31:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:31:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238652', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:31:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238652', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:31:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:31:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:31:34] Production.INFO: ==28724== Releasing lock...
[2025-01-13 11:31:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:31:34] Production.INFO: 67.5 MB #Memory Used#
[2025-01-13 16:32:01] Production.INFO: ==28784== Lock acquired, processing the job...
[2025-01-13 16:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:32:01] Production.INFO: neon service started
[2025-01-13 16:32:01] Production.INFO: neon service started
[2025-01-13 16:32:01] Production.INFO: ==28784== Releasing lock...
[2025-01-13 16:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:32:02] Production.INFO: ==28788== Lock acquired, processing the job...
[2025-01-13 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:32:02] Production.INFO: ==28788== Releasing lock...
[2025-01-13 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:32:02] Production.INFO: ==28790== Lock acquired, processing the job...
[2025-01-13 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:32:02] Production.INFO: ==28790== Releasing lock...
[2025-01-13 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:32:03] Production.INFO: ==28794== Lock acquired, processing the job...
[2025-01-13 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:32:03] Production.INFO: ==28796== Lock acquired, processing the job...
[2025-01-13 11:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:32:03] Production.INFO: ==28792== Lock acquired, processing the job...
[2025-01-13 11:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:32:03] Production.INFO: ==28794== Releasing lock...
[2025-01-13 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:32:03] Production.INFO: ==28798== Lock acquired, processing the job...
[2025-01-13 11:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:32:03] Production.INFO: ==28800== Lock acquired, processing the job...
[2025-01-13 11:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:32:03] Production.INFO: Account Balance Start.
[2025-01-13 11:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:32:03] Production.INFO: 117
[2025-01-13 11:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:32:03] Production.INFO: ==28802== Lock acquired, processing the job...
[2025-01-13 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:32:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:32:03] Production.INFO: count ==21
[2025-01-13 11:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:32:03] Production.INFO: count ==21
[2025-01-13 11:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238656') start
[2025-01-13 11:32:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:32:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238656') end
[2025-01-13 11:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:32:04] Production.INFO: 1
[2025-01-13 11:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:32:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:32:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:32:04] Production.INFO: ==28802== Releasing lock...
[2025-01-13 11:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:32:04] Production.INFO: Total Charge 0
[2025-01-13 11:32:04] Production.INFO: CreateAllLog End
[2025-01-13 11:32:04] Production.ERROR: done
[2025-01-13 11:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:32:04] Production.ERROR: done
[2025-01-13 11:32:04] Production.INFO: Account Balance End.
[2025-01-13 11:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:32:04] Production.INFO: ==28798== Releasing lock...
[2025-01-13 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:32:05
[end_date_ymd] => 2025-01-13 11:32:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:32:05' and `end` < '2025-01-13 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-13 11:32:11] Production.ERROR: CronJobId end10
[2025-01-13 11:32:11] Production.INFO: ==28796== Releasing lock...
[2025-01-13 11:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:32:13] Production.INFO: call_cost start
[2025-01-13 11:32:13] Production.INFO: call_cost end
[2025-01-13 11:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:32:13] Production.INFO: ==28792== Releasing lock...
[2025-01-13 11:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:32:23] Production.INFO: count ==5275
[2025-01-13 11:32:25] Production.ERROR: pbx CDR StartTime 2025-01-13 08:32:05 - End Time 2025-01-13 11:32:05
[2025-01-13 11:32:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238657', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238657', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238657', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238657', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:32:25] Production.INFO: ProcessCDR(1,14238657,1,1,2)
[2025-01-13 11:32:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:32:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:32:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:32:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:32:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238657', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238657', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:32:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:32:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:32:30] Production.INFO: ==28800== Releasing lock...
[2025-01-13 11:32:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:32:30] Production.INFO: 67.5 MB #Memory Used#
[2025-01-13 16:33:02] Production.INFO: ==28862== Lock acquired, processing the job...
[2025-01-13 16:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:33:02] Production.INFO: neon service started
[2025-01-13 16:33:02] Production.INFO: neon service started
[2025-01-13 16:33:02] Production.INFO: ==28862== Releasing lock...
[2025-01-13 16:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:33:02] Production.INFO: ==28864== Lock acquired, processing the job...
[2025-01-13 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:33:02] Production.INFO: ==28867== Lock acquired, processing the job...
[2025-01-13 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:33:02] Production.INFO: ==28867== Releasing lock...
[2025-01-13 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:33:02] Production.INFO: ==28864== Releasing lock...
[2025-01-13 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:33:03] Production.INFO: ==28871== Lock acquired, processing the job...
[2025-01-13 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:33:03] Production.INFO: ==28873== Lock acquired, processing the job...
[2025-01-13 11:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:33:03] Production.INFO: ==28869== Lock acquired, processing the job...
[2025-01-13 11:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:33:03] Production.INFO: ==28877== Lock acquired, processing the job...
[2025-01-13 11:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:33:03] Production.INFO: ==28871== Releasing lock...
[2025-01-13 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:33:03] Production.INFO: ==28875== Lock acquired, processing the job...
[2025-01-13 11:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:33:03] Production.INFO: ==28879== Lock acquired, processing the job...
[2025-01-13 11:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:33:03] Production.INFO: Account Balance Start.
[2025-01-13 11:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:33:03] Production.ERROR: done
[2025-01-13 11:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:33:04] Production.INFO: 117
[2025-01-13 11:33:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:33:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:33:04] Production.ERROR: done
[2025-01-13 11:33:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:33:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:33:04] Production.INFO: count ==21
[2025-01-13 11:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:33:04] Production.INFO: count ==21
[2025-01-13 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238661') start
[2025-01-13 11:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238661') end
[2025-01-13 11:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:33:04] Production.INFO: 1
[2025-01-13 11:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:33:04] Production.INFO: Total Charge 0
[2025-01-13 11:33:04] Production.INFO: CreateAllLog End
[2025-01-13 11:33:04] Production.INFO: ==28879== Releasing lock...
[2025-01-13 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:33:04] Production.INFO: Account Balance End.
[2025-01-13 11:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:33:04] Production.INFO: ==28875== Releasing lock...
[2025-01-13 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:33:05
[end_date_ymd] => 2025-01-13 11:33:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:33:05' and `end` < '2025-01-13 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-13 11:33:12] Production.ERROR: CronJobId end10
[2025-01-13 11:33:12] Production.INFO: ==28873== Releasing lock...
[2025-01-13 11:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:33:13] Production.INFO: call_cost start
[2025-01-13 11:33:13] Production.INFO: call_cost end
[2025-01-13 11:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:33:14] Production.INFO: ==28869== Releasing lock...
[2025-01-13 11:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:33:22] Production.INFO: count ==5286
[2025-01-13 11:33:24] Production.ERROR: pbx CDR StartTime 2025-01-13 08:33:05 - End Time 2025-01-13 11:33:05
[2025-01-13 11:33:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:33:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238662', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:33:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238662', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:33:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238662', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:33:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238662', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:33:25] Production.INFO: ProcessCDR(1,14238662,1,1,2)
[2025-01-13 11:33:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:33:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:33:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:33:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:33:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238662', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:33:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238662', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:33:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:33:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:33:29] Production.INFO: ==28877== Releasing lock...
[2025-01-13 11:33:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:33:29] Production.INFO: 67.5 MB #Memory Used#
[2025-01-13 16:34:01] Production.INFO: ==28937== Lock acquired, processing the job...
[2025-01-13 16:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:34:01] Production.INFO: neon service started
[2025-01-13 16:34:01] Production.INFO: neon service started
[2025-01-13 16:34:01] Production.INFO: ==28937== Releasing lock...
[2025-01-13 16:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:34:02] Production.INFO: ==28942== Lock acquired, processing the job...
[2025-01-13 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:34:02] Production.INFO: ==28940== Lock acquired, processing the job...
[2025-01-13 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:34:02] Production.INFO: ==28942== Releasing lock...
[2025-01-13 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:34:02] Production.INFO: ==28940== Releasing lock...
[2025-01-13 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:34:03] Production.INFO: ==28947== Lock acquired, processing the job...
[2025-01-13 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:34:03] Production.INFO: ==28957== Lock acquired, processing the job...
[2025-01-13 11:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 11:34:03] Production.INFO: ==28944== Lock acquired, processing the job...
[2025-01-13 11:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:34:03] Production.INFO: count ==21
[2025-01-13 11:34:03] Production.INFO: ==28952== Lock acquired, processing the job...
[2025-01-13 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11: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-13 11:34:03] Production.INFO: count ==21
[2025-01-13 11:34:03] Production.INFO: ==28949== Lock acquired, processing the job...
[2025-01-13 11:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:34:03] Production.INFO: ==28947== Releasing lock...
[2025-01-13 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:34:03] Production.INFO: ==28954== Lock acquired, processing the job...
[2025-01-13 11:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238664') start
[2025-01-13 11:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:34:04] Production.INFO: Account Balance Start.
[2025-01-13 11:34:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:34:04] Production.INFO: 117
[2025-01-13 11:34:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:34:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238664') end
[2025-01-13 11:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:34:04] Production.INFO: 1
[2025-01-13 11:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:34:04] Production.INFO: ==28957== Releasing lock...
[2025-01-13 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:34:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:34:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:34:04] Production.INFO: Total Charge 0
[2025-01-13 11:34:04] Production.INFO: CreateAllLog End
[2025-01-13 11:34:04] Production.ERROR: done
[2025-01-13 11:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:34:04] Production.ERROR: done
[2025-01-13 11:34:04] Production.INFO: Account Balance End.
[2025-01-13 11:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:34:04] Production.INFO: ==28952== Releasing lock...
[2025-01-13 11:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:34:05
[end_date_ymd] => 2025-01-13 11:34:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:34:05' and `end` < '2025-01-13 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-13 11:34:10] Production.ERROR: CronJobId end10
[2025-01-13 11:34:10] Production.INFO: ==28949== Releasing lock...
[2025-01-13 11:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:34:13] Production.INFO: call_cost start
[2025-01-13 11:34:13] Production.INFO: call_cost end
[2025-01-13 11:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:34:14] Production.INFO: ==28944== Releasing lock...
[2025-01-13 11:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:34:21] Production.INFO: count ==5303
[2025-01-13 11:34:23] Production.ERROR: pbx CDR StartTime 2025-01-13 08:34:05 - End Time 2025-01-13 11:34:05
[2025-01-13 11:34:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238667', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238667', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238667', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238667', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:34:23] Production.INFO: ProcessCDR(1,14238667,1,1,2)
[2025-01-13 11:34:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:34:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:34:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:34:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:34:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238667', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:34:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238667', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:34:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:34:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:34:28] Production.INFO: ==28954== Releasing lock...
[2025-01-13 11:34:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:34:28] Production.INFO: 67.75 MB #Memory Used#
[2025-01-13 16:35:02] Production.INFO: ==29017== Lock acquired, processing the job...
[2025-01-13 16:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:35:02] Production.INFO: neon service started
[2025-01-13 16:35:02] Production.INFO: neon service started
[2025-01-13 16:35:02] Production.INFO: ==29017== Releasing lock...
[2025-01-13 16:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:35:02] Production.INFO: ==29019== Lock acquired, processing the job...
[2025-01-13 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:35:02] Production.INFO: ==29019== Releasing lock...
[2025-01-13 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:35:02] Production.INFO: ==29021== Lock acquired, processing the job...
[2025-01-13 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:35:02] Production.INFO: ==29021== Releasing lock...
[2025-01-13 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:35:03] Production.INFO: ==29023== Lock acquired, processing the job...
[2025-01-13 11:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:35:03] Production.INFO: ==29025== Lock acquired, processing the job...
[2025-01-13 11:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:35:03] Production.INFO: ==29031== Lock acquired, processing the job...
[2025-01-13 11:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:35:03] Production.INFO: ==29027== Lock acquired, processing the job...
[2025-01-13 11:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:35:03] Production.INFO: ==29029== Lock acquired, processing the job...
[2025-01-13 11:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:35:03] Production.INFO: ==29033== Lock acquired, processing the job...
[2025-01-13 11:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:35:03] Production.INFO: Account Balance Start.
[2025-01-13 11:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:35:03] Production.INFO: 117
[2025-01-13 11:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:35:04] Production.INFO: count ==21
[2025-01-13 11:35:04] Production.ERROR: done
[2025-01-13 11:35:04] Production.INFO: ==29025== Releasing lock...
[2025-01-13 11:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:35:04] Production.INFO: count ==21
[2025-01-13 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238670') start
[2025-01-13 11:35:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:35:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:35:04] Production.ERROR: done
[2025-01-13 11:35:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238670') end
[2025-01-13 11:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:35:04] Production.INFO: 1
[2025-01-13 11:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:35:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:35:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:35:04] Production.INFO: ==29033== Releasing lock...
[2025-01-13 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:35:04] Production.INFO: Total Charge 0
[2025-01-13 11:35:04] Production.INFO: CreateAllLog End
[2025-01-13 11:35:04] Production.INFO: Account Balance End.
[2025-01-13 11:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:35:04] Production.INFO: ==29029== Releasing lock...
[2025-01-13 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:35:05
[end_date_ymd] => 2025-01-13 11:35:05
[RateCDR] => 1
)
[2025-01-13 11:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:35:05' and `end` < '2025-01-13 11:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:35:12] Production.ERROR: CronJobId end10
[2025-01-13 11:35:12] Production.INFO: ==29027== Releasing lock...
[2025-01-13 11:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:35:14] Production.INFO: call_cost start
[2025-01-13 11:35:14] Production.INFO: call_cost end
[2025-01-13 11:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:35:14] Production.INFO: ==29023== Releasing lock...
[2025-01-13 11:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:35:21] Production.INFO: count ==5298
[2025-01-13 11:35:24] Production.ERROR: pbx CDR StartTime 2025-01-13 08:35:05 - End Time 2025-01-13 11:35:05
[2025-01-13 11:35:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238672', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238672', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238672', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238672', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:35:24] Production.INFO: ProcessCDR(1,14238672,1,1,2)
[2025-01-13 11:35:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:35:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:35:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:35:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:35:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238672', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:35:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238672', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:35:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:35:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:35:29] Production.INFO: ==29031== Releasing lock...
[2025-01-13 11:35:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:35:29] Production.INFO: 67.75 MB #Memory Used#
[2025-01-13 16:36:01] Production.INFO: ==29094== Lock acquired, processing the job...
[2025-01-13 16:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:36:01] Production.INFO: neon service started
[2025-01-13 16:36:01] Production.INFO: neon service started
[2025-01-13 16:36:01] Production.INFO: ==29094== Releasing lock...
[2025-01-13 16:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:36:01] Production.INFO: ==29096== Lock acquired, processing the job...
[2025-01-13 11:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:36:02] Production.INFO: ==29096== Releasing lock...
[2025-01-13 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:36:02] Production.INFO: ==29098== Lock acquired, processing the job...
[2025-01-13 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:36:02] Production.INFO: ==29098== Releasing lock...
[2025-01-13 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:36:03] Production.INFO: ==29108== Lock acquired, processing the job...
[2025-01-13 11:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:36:03] Production.INFO: ==29104== Lock acquired, processing the job...
[2025-01-13 11:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:36:03] Production.INFO: ==29100== Lock acquired, processing the job...
[2025-01-13 11:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:36:03] Production.INFO: ==29102== Lock acquired, processing the job...
[2025-01-13 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:36:03] Production.INFO: ==29110== Lock acquired, processing the job...
[2025-01-13 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:36:03] Production.INFO: ==29106== Lock acquired, processing the job...
[2025-01-13 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 11:36:03] Production.INFO: count ==21
[2025-01-13 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-13 11:36:03] Production.INFO: count ==21
[2025-01-13 11:36:03] Production.INFO: Account Balance Start.
[2025-01-13 11:36:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:36:03] Production.INFO: 117
[2025-01-13 11:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238674') start
[2025-01-13 11:36:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238674') end
[2025-01-13 11:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:36:03] Production.INFO: 1
[2025-01-13 11:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:36:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:36:03] Production.ERROR: done
[2025-01-13 11:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:36:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:36:03] Production.INFO: ==29110== Releasing lock...
[2025-01-13 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:36:03] Production.INFO: ==29102== Releasing lock...
[2025-01-13 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:36:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:36:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:36:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:36:03] Production.INFO: Total Charge 0
[2025-01-13 11:36:03] Production.INFO: CreateAllLog End
[2025-01-13 11:36:03] Production.ERROR: done
[2025-01-13 11:36:04] Production.INFO: Account Balance End.
[2025-01-13 11:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:36:04] Production.INFO: ==29106== Releasing lock...
[2025-01-13 11:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:36:04
[end_date_ymd] => 2025-01-13 11:36:04
[RateCDR] => 1
)
[2025-01-13 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-13 08:36:04' and `end` < '2025-01-13 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-13 11:36:10] Production.ERROR: CronJobId end10
[2025-01-13 11:36:10] Production.INFO: ==29104== Releasing lock...
[2025-01-13 11:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:36:13] Production.INFO: call_cost start
[2025-01-13 11:36:13] Production.INFO: call_cost end
[2025-01-13 11:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:36:14] Production.INFO: ==29100== Releasing lock...
[2025-01-13 11:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:36:19] Production.INFO: count ==5314
[2025-01-13 11:36:21] Production.ERROR: pbx CDR StartTime 2025-01-13 08:36:04 - End Time 2025-01-13 11:36:04
[2025-01-13 11:36:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238677', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238677', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238677', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238677', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:36:21] Production.INFO: ProcessCDR(1,14238677,1,1,2)
[2025-01-13 11:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:36:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:36:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238677', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238677', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:36:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:36:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:36:26] Production.INFO: ==29108== Releasing lock...
[2025-01-13 11:36:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:36:26] Production.INFO: 67.75 MB #Memory Used#
[2025-01-13 16:37:01] Production.INFO: ==29168== Lock acquired, processing the job...
[2025-01-13 16:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:37:01] Production.INFO: neon service started
[2025-01-13 16:37:01] Production.INFO: neon service started
[2025-01-13 16:37:01] Production.INFO: ==29168== Releasing lock...
[2025-01-13 16:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:37:02] Production.INFO: ==29172== Lock acquired, processing the job...
[2025-01-13 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:37:02] Production.INFO: ==29172== Releasing lock...
[2025-01-13 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:37:02] Production.INFO: ==29170== Lock acquired, processing the job...
[2025-01-13 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:37:02] Production.INFO: ==29170== Releasing lock...
[2025-01-13 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:37:03] Production.INFO: ==29174== Lock acquired, processing the job...
[2025-01-13 11:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:37:03] Production.INFO: ==29176== Lock acquired, processing the job...
[2025-01-13 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:37:03] Production.INFO: ==29182== Lock acquired, processing the job...
[2025-01-13 11:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:37:03] Production.INFO: ==29178== Lock acquired, processing the job...
[2025-01-13 11:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:37:03] Production.INFO: ==29180== Lock acquired, processing the job...
[2025-01-13 11:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:37:03] Production.INFO: ==29176== Releasing lock...
[2025-01-13 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:37:03] Production.INFO: ==29184== Lock acquired, processing the job...
[2025-01-13 11:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:37:03] Production.INFO: Account Balance Start.
[2025-01-13 11:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:37:03] Production.INFO: 117
[2025-01-13 11:37:03] Production.ERROR: done
[2025-01-13 11:37:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:37:04] Production.INFO: count ==21
[2025-01-13 11:37:04] Production.ERROR: done
[2025-01-13 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-13 11:37:04] Production.INFO: count ==21
[2025-01-13 11:37:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:37:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238681') start
[2025-01-13 11:37:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:37:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:37:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:37:04] Production.INFO: Total Charge 0
[2025-01-13 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238681') end
[2025-01-13 11:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:37:04] Production.INFO: 1
[2025-01-13 11:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:37:04] Production.INFO: CreateAllLog End
[2025-01-13 11:37:04] Production.INFO: ==29184== Releasing lock...
[2025-01-13 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:37:04] Production.INFO: Account Balance End.
[2025-01-13 11:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:37:04] Production.INFO: ==29180== Releasing lock...
[2025-01-13 11:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:37:05
[end_date_ymd] => 2025-01-13 11:37:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:37:05' and `end` < '2025-01-13 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-13 11:37:12] Production.ERROR: CronJobId end10
[2025-01-13 11:37:12] Production.INFO: ==29178== Releasing lock...
[2025-01-13 11:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:37:14] Production.INFO: call_cost start
[2025-01-13 11:37:14] Production.INFO: call_cost end
[2025-01-13 11:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:37:14] Production.INFO: ==29174== Releasing lock...
[2025-01-13 11:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:37:23] Production.INFO: count ==5314
[2025-01-13 11:37:25] Production.ERROR: pbx CDR StartTime 2025-01-13 08:37:05 - End Time 2025-01-13 11:37:05
[2025-01-13 11:37:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238682', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238682', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238682', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238682', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:37:25] Production.INFO: ProcessCDR(1,14238682,1,1,2)
[2025-01-13 11:37:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:37:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:37:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:37:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:37:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238682', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:37:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238682', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:37:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:37:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:37:30] Production.INFO: ==29182== Releasing lock...
[2025-01-13 11:37:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:37:30] Production.INFO: 67.75 MB #Memory Used#
[2025-01-13 16:38:02] Production.INFO: ==29283== Lock acquired, processing the job...
[2025-01-13 16:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:38:02] Production.INFO: neon service started
[2025-01-13 16:38:02] Production.INFO: neon service started
[2025-01-13 16:38:02] Production.INFO: ==29283== Releasing lock...
[2025-01-13 16:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:38:02] Production.INFO: ==29285== Lock acquired, processing the job...
[2025-01-13 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:38:02] Production.INFO: ==29285== Releasing lock...
[2025-01-13 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:38:03] Production.INFO: ==29287== Lock acquired, processing the job...
[2025-01-13 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:38:03] Production.INFO: ==29287== Releasing lock...
[2025-01-13 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:38:03] Production.INFO: ==29291== Lock acquired, processing the job...
[2025-01-13 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:38:03] Production.INFO: ==29289== Lock acquired, processing the job...
[2025-01-13 11:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:38:03] Production.INFO: ==29293== Lock acquired, processing the job...
[2025-01-13 11:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:38:03] Production.INFO: ==29291== Releasing lock...
[2025-01-13 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:38:04] Production.INFO: ==29295== Lock acquired, processing the job...
[2025-01-13 11:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:38:04] Production.INFO: ==29299== Lock acquired, processing the job...
[2025-01-13 11:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:38:04] Production.INFO: ==29297== Lock acquired, processing the job...
[2025-01-13 11:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:38:04] Production.INFO: Account Balance Start.
[2025-01-13 11:38:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:38:04] Production.INFO: 117
[2025-01-13 11:38:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:38:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:38:04] Production.INFO: count ==21
[2025-01-13 11:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:38:04] Production.INFO: count ==21
[2025-01-13 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238686') start
[2025-01-13 11:38:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:38:04] Production.ERROR: done
[2025-01-13 11:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:38:04] Production.INFO: Total Charge 0
[2025-01-13 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238686') end
[2025-01-13 11:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:38:04] Production.INFO: 1
[2025-01-13 11:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:38:04] Production.INFO: CreateAllLog End
[2025-01-13 11:38:04] Production.INFO: ==29299== Releasing lock...
[2025-01-13 11:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:38:05] Production.ERROR: done
[2025-01-13 11:38:05] Production.INFO: Account Balance End.
[2025-01-13 11:38:05] Production.ERROR: CronJobId end 12
[2025-01-13 11:38:05] Production.INFO: ==29295== Releasing lock...
[2025-01-13 11:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:38:05
[end_date_ymd] => 2025-01-13 11:38:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:38:05' and `end` < '2025-01-13 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-13 11:38:11] Production.ERROR: CronJobId end10
[2025-01-13 11:38:11] Production.INFO: ==29293== Releasing lock...
[2025-01-13 11:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:38:15] Production.INFO: call_cost start
[2025-01-13 11:38:15] Production.INFO: call_cost end
[2025-01-13 11:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:38:15] Production.INFO: ==29289== Releasing lock...
[2025-01-13 11:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:38:25] Production.INFO: count ==5338
[2025-01-13 11:38:27] Production.ERROR: pbx CDR StartTime 2025-01-13 08:38:05 - End Time 2025-01-13 11:38:05
[2025-01-13 11:38:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:38:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238687', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:38:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238687', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:38:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238687', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:38:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238687', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:38:28] Production.INFO: ProcessCDR(1,14238687,1,1,2)
[2025-01-13 11:38:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:38:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:38:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:38:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:38:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238687', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:38:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238687', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:38:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:38:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:38:33] Production.INFO: ==29297== Releasing lock...
[2025-01-13 11:38:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:38:33] Production.INFO: 68 MB #Memory Used#
[2025-01-13 16:39:01] Production.INFO: ==29360== Lock acquired, processing the job...
[2025-01-13 16:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:39:01] Production.INFO: neon service started
[2025-01-13 16:39:01] Production.INFO: neon service started
[2025-01-13 16:39:01] Production.INFO: ==29360== Releasing lock...
[2025-01-13 16:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:39:02] Production.INFO: ==29362== Lock acquired, processing the job...
[2025-01-13 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:39:02] Production.INFO: ==29364== Lock acquired, processing the job...
[2025-01-13 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:39:02] Production.INFO: ==29364== Releasing lock...
[2025-01-13 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:39:02] Production.INFO: ==29362== Releasing lock...
[2025-01-13 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:39:03] Production.INFO: ==29371== Lock acquired, processing the job...
[2025-01-13 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:39:03] Production.INFO: ==29373== Lock acquired, processing the job...
[2025-01-13 11:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:39:03] Production.INFO: ==29377== Lock acquired, processing the job...
[2025-01-13 11:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:39:03] Production.INFO: ==29371== Releasing lock...
[2025-01-13 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:39:03] Production.INFO: ==29369== Lock acquired, processing the job...
[2025-01-13 11:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:39:03] Production.INFO: ==29375== Lock acquired, processing the job...
[2025-01-13 11:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:39:03] Production.INFO: ==29379== Lock acquired, processing the job...
[2025-01-13 11:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:39:03] Production.INFO: Account Balance Start.
[2025-01-13 11:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:39:03] Production.INFO: 117
[2025-01-13 11:39:03] Production.ERROR: done
[2025-01-13 11:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:39:03] Production.INFO: count ==21
[2025-01-13 11:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:39:03] Production.INFO: count ==21
[2025-01-13 11:39:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238691') start
[2025-01-13 11:39:04] Production.ERROR: done
[2025-01-13 11:39:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:39:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:39:04] Production.INFO: Total Charge 0
[2025-01-13 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238691') end
[2025-01-13 11:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:39:04] Production.INFO: 1
[2025-01-13 11:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:39:04] Production.INFO: CreateAllLog End
[2025-01-13 11:39:04] Production.INFO: ==29379== Releasing lock...
[2025-01-13 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:39:04] Production.INFO: Account Balance End.
[2025-01-13 11:39:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:39:04] Production.INFO: ==29375== Releasing lock...
[2025-01-13 11:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:39:05
[end_date_ymd] => 2025-01-13 11:39:05
[RateCDR] => 1
)
[2025-01-13 11:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:39:05' and `end` < '2025-01-13 11:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:39:11] Production.ERROR: CronJobId end10
[2025-01-13 11:39:11] Production.INFO: ==29373== Releasing lock...
[2025-01-13 11:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:39:13] Production.INFO: call_cost start
[2025-01-13 11:39:13] Production.INFO: call_cost end
[2025-01-13 11:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:39:14] Production.INFO: ==29369== Releasing lock...
[2025-01-13 11:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:39:18] Production.INFO: count ==5359
[2025-01-13 11:39:20] Production.ERROR: pbx CDR StartTime 2025-01-13 08:39:05 - End Time 2025-01-13 11:39:05
[2025-01-13 11:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238692', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238692', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238692', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238692', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:39:21] Production.INFO: ProcessCDR(1,14238692,1,1,2)
[2025-01-13 11:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238692', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238692', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:39:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:39:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:39:25] Production.INFO: ==29377== Releasing lock...
[2025-01-13 11:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:39:25] Production.INFO: 68 MB #Memory Used#
[2025-01-13 16:40:02] Production.INFO: ==29440== Lock acquired, processing the job...
[2025-01-13 16:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:40:02] Production.INFO: neon service started
[2025-01-13 16:40:02] Production.INFO: neon service started
[2025-01-13 16:40:02] Production.INFO: ==29440== Releasing lock...
[2025-01-13 16:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:40:02] Production.INFO: ==29442== Lock acquired, processing the job...
[2025-01-13 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:40:02] Production.INFO: ==29442== Releasing lock...
[2025-01-13 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:40:02] Production.INFO: ==29444== Lock acquired, processing the job...
[2025-01-13 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:40:03] Production.INFO: ==29444== Releasing lock...
[2025-01-13 16:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:40:03] Production.INFO: ==29446== Lock acquired, processing the job...
[2025-01-13 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 11:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 11:40:03] Production.INFO: ==29450== Lock acquired, processing the job...
[2025-01-13 11:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:40:03] Production.INFO: ==29448== Lock acquired, processing the job...
[2025-01-13 11:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 11:40:03] Production.INFO: ==29446== Releasing lock...
[2025-01-13 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 11:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 11:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:40:04] Production.INFO: ==29457== Lock acquired, processing the job...
[2025-01-13 11:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:40:04] Production.INFO: ==29454== Lock acquired, processing the job...
[2025-01-13 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:40:04] Production.INFO: ==29452== Lock acquired, processing the job...
[2025-01-13 11:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:40:04] Production.INFO: ==29450== Releasing lock...
[2025-01-13 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:40:04] Production.INFO: ==29461== Lock acquired, processing the job...
[2025-01-13 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:40:04] Production.INFO: Account Balance Start.
[2025-01-13 11:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:40:04] Production.INFO: 117
[2025-01-13 11:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:40:04] Production.INFO: ==29459== Lock acquired, processing the job...
[2025-01-13 11:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 11:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:40:04] Production.INFO: count ==21
[2025-01-13 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-13 11:40:04] Production.INFO: count ==21
[2025-01-13 11:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:40:04] Production.ERROR: done
[2025-01-13 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238696') start
[2025-01-13 11:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238696') end
[2025-01-13 11:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:40:04] Production.INFO: 1
[2025-01-13 11:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:40:04] Production.INFO: ==29461== Releasing lock...
[2025-01-13 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:40:04] Production.ERROR: done
[2025-01-13 11:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 11:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238697', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 11:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:40:04] Production.INFO: Total Charge 0
[2025-01-13 11:40:04] Production.INFO: CreateAllLog End
[2025-01-13 11:40:04] Production.ERROR: done
[2025-01-13 11:40:04] Production.INFO: Account Balance End.
[2025-01-13 11:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 11:40:05] Production.INFO: ==29454== Releasing lock...
[2025-01-13 11:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:40:05
[end_date_ymd] => 2025-01-13 11:40:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:40:05' and `end` < '2025-01-13 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-13 11:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238697', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 11:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 11:40:08] Production.INFO: ProcessCDR(1,14238697,1,1,2)
[2025-01-13 11:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238697,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238697,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:40:09] Production.INFO: ==29459== Releasing lock...
[2025-01-13 11:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 11:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 11:40:13] Production.ERROR: CronJobId end10
[2025-01-13 11:40:13] Production.INFO: ==29452== Releasing lock...
[2025-01-13 11:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:40:15] Production.INFO: call_cost start
[2025-01-13 11:40:15] Production.INFO: call_cost end
[2025-01-13 11:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:40:16] Production.INFO: ==29448== Releasing lock...
[2025-01-13 11:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:40:25] Production.INFO: count ==5346
[2025-01-13 11:40:27] Production.ERROR: pbx CDR StartTime 2025-01-13 08:40:05 - End Time 2025-01-13 11:40:05
[2025-01-13 11:40:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238698', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238698', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238698', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238698', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:40:27] Production.INFO: ProcessCDR(1,14238698,1,1,2)
[2025-01-13 11:40:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:40:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:40:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:40:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:40:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238698', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:40:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238698', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:40:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:40:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:40:32] Production.INFO: ==29457== Releasing lock...
[2025-01-13 11:40:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:40:32] Production.INFO: 68 MB #Memory Used#
[2025-01-13 16:41:01] Production.INFO: ==29519== Lock acquired, processing the job...
[2025-01-13 16:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:41:01] Production.INFO: neon service started
[2025-01-13 16:41:01] Production.INFO: neon service started
[2025-01-13 16:41:01] Production.INFO: ==29519== Releasing lock...
[2025-01-13 16:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:41:01] Production.INFO: ==29521== Lock acquired, processing the job...
[2025-01-13 11:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:41:02] Production.INFO: ==29521== Releasing lock...
[2025-01-13 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:41:02] Production.INFO: ==29523== Lock acquired, processing the job...
[2025-01-13 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:41:02] Production.INFO: ==29523== Releasing lock...
[2025-01-13 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:41:03] Production.INFO: ==29530== Lock acquired, processing the job...
[2025-01-13 11:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:41:03] Production.INFO: ==29536== Lock acquired, processing the job...
[2025-01-13 11:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:41:03] Production.INFO: ==29526== Lock acquired, processing the job...
[2025-01-13 11:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:41:03] Production.INFO: ==29528== Lock acquired, processing the job...
[2025-01-13 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:41:03] Production.INFO: ==29534== Lock acquired, processing the job...
[2025-01-13 11:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:41:03] Production.INFO: ==29532== Lock acquired, processing the job...
[2025-01-13 11:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 11:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:41:03] Production.INFO: count ==21
[2025-01-13 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-13 11:41:03] Production.INFO: count ==21
[2025-01-13 11:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238699') start
[2025-01-13 11:41:03] Production.INFO: Account Balance Start.
[2025-01-13 11:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:41:03] Production.INFO: 117
[2025-01-13 11:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238699') end
[2025-01-13 11:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:41:03] Production.INFO: 1
[2025-01-13 11:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:41:03] Production.INFO: ==29536== Releasing lock...
[2025-01-13 11:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:41:03] Production.ERROR: done
[2025-01-13 11:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:41:03] Production.INFO: ==29528== Releasing lock...
[2025-01-13 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:41:03] Production.ERROR: done
[2025-01-13 11:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:41:03] Production.INFO: Total Charge 0
[2025-01-13 11:41:03] Production.INFO: CreateAllLog End
[2025-01-13 11:41:04] Production.INFO: Account Balance End.
[2025-01-13 11:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:41:04] Production.INFO: ==29532== Releasing lock...
[2025-01-13 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:41:04
[end_date_ymd] => 2025-01-13 11:41:04
[RateCDR] => 1
)
[2025-01-13 11: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-13 08:41:04' and `end` < '2025-01-13 11: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-13 11:41:11] Production.ERROR: CronJobId end10
[2025-01-13 11:41:11] Production.INFO: ==29530== Releasing lock...
[2025-01-13 11:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:41:13] Production.INFO: call_cost start
[2025-01-13 11:41:13] Production.INFO: call_cost end
[2025-01-13 11:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:41:14] Production.INFO: ==29526== Releasing lock...
[2025-01-13 11:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:41:22] Production.INFO: count ==5400
[2025-01-13 11:41:24] Production.ERROR: pbx CDR StartTime 2025-01-13 08:41:04 - End Time 2025-01-13 11:41:04
[2025-01-13 11:41:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238703', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238703', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238703', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238703', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:41:24] Production.INFO: ProcessCDR(1,14238703,1,1,2)
[2025-01-13 11:41:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:41:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:41:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:41:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:41:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238703', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:41:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238703', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:41:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:41:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:41:29] Production.INFO: ==29534== Releasing lock...
[2025-01-13 11:41:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:41:29] Production.INFO: 68.5 MB #Memory Used#
[2025-01-13 16:42:02] Production.INFO: ==29626== Lock acquired, processing the job...
[2025-01-13 16:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:42:02] Production.INFO: neon service started
[2025-01-13 16:42:02] Production.INFO: neon service started
[2025-01-13 16:42:02] Production.INFO: ==29626== Releasing lock...
[2025-01-13 16:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:42:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 11:42:02] Production.INFO: ==29628== Lock acquired, processing the job...
[2025-01-13 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:42:02] Production.INFO: ==29628== Releasing lock...
[2025-01-13 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:42:02] Production.INFO: ==29630== Lock acquired, processing the job...
[2025-01-13 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:42:03] Production.INFO: ==29630== Releasing lock...
[2025-01-13 16:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:42:03] Production.INFO: ==29640== Lock acquired, processing the job...
[2025-01-13 11:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:42:03] Production.INFO: ==29636== Lock acquired, processing the job...
[2025-01-13 11:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:42:03] Production.INFO: ==29632== Lock acquired, processing the job...
[2025-01-13 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:42:03] Production.INFO: ==29634== Lock acquired, processing the job...
[2025-01-13 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:42:03] Production.INFO: ==29638== Lock acquired, processing the job...
[2025-01-13 11:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:42:03] Production.INFO: ==29642== Lock acquired, processing the job...
[2025-01-13 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:42:03] Production.INFO: Account Balance Start.
[2025-01-13 11:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:42:03] Production.INFO: 117
[2025-01-13 11:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:42:04] Production.INFO: count ==21
[2025-01-13 11:42:04] Production.ERROR: done
[2025-01-13 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-13 11:42:04] Production.INFO: count ==21
[2025-01-13 11:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238707') start
[2025-01-13 11:42:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:42:04] Production.INFO: ==29634== Releasing lock...
[2025-01-13 11:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:42:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:42:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238707') end
[2025-01-13 11:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:42:04] Production.INFO: 1
[2025-01-13 11:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:42:04] Production.ERROR: done
[2025-01-13 11:42:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:42:04] Production.INFO: Total Charge 0
[2025-01-13 11:42:04] Production.INFO: CreateAllLog End
[2025-01-13 11:42:04] Production.INFO: ==29642== Releasing lock...
[2025-01-13 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:42:04] Production.INFO: Account Balance End.
[2025-01-13 11:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:42:04] Production.INFO: ==29638== Releasing lock...
[2025-01-13 11:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:42:05
[end_date_ymd] => 2025-01-13 11:42:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:42:05' and `end` < '2025-01-13 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-13 11:42:12] Production.ERROR: CronJobId end10
[2025-01-13 11:42:12] Production.INFO: ==29636== Releasing lock...
[2025-01-13 11:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:42:13] Production.INFO: call_cost start
[2025-01-13 11:42:13] Production.INFO: call_cost end
[2025-01-13 11:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:42:14] Production.INFO: ==29632== Releasing lock...
[2025-01-13 11:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:42:20] Production.INFO: count ==5405
[2025-01-13 11:42:22] Production.ERROR: pbx CDR StartTime 2025-01-13 08:42:05 - End Time 2025-01-13 11:42:05
[2025-01-13 11:42:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238708', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238708', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238708', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238708', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:42:22] Production.INFO: ProcessCDR(1,14238708,1,1,2)
[2025-01-13 11:42:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:42:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:42:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:42:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238708', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238708', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:42:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:42:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:42:27] Production.INFO: ==29640== Releasing lock...
[2025-01-13 11:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:42:27] Production.INFO: 68.5 MB #Memory Used#
[2025-01-13 16:43:01] Production.INFO: ==29728== Lock acquired, processing the job...
[2025-01-13 16:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:43:01] Production.INFO: neon service started
[2025-01-13 16:43:01] Production.INFO: neon service started
[2025-01-13 16:43:01] Production.INFO: ==29728== Releasing lock...
[2025-01-13 16:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:43:01] Production.INFO: ==29730== Lock acquired, processing the job...
[2025-01-13 11:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:43:02] Production.INFO: ==29730== Releasing lock...
[2025-01-13 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:43:02] Production.INFO: ==29732== Lock acquired, processing the job...
[2025-01-13 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:43:02] Production.INFO: ==29732== Releasing lock...
[2025-01-13 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:43:02] Production.INFO: ==29736== Lock acquired, processing the job...
[2025-01-13 11:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:43:03] Production.INFO: ==29744== Lock acquired, processing the job...
[2025-01-13 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:43:03] Production.INFO: ==29734== Lock acquired, processing the job...
[2025-01-13 11:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 11:43:03] Production.INFO: count ==21
[2025-01-13 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-13 11:43:03] Production.INFO: count ==21
[2025-01-13 11:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238709') start
[2025-01-13 11:43:03] Production.INFO: ==29742== Lock acquired, processing the job...
[2025-01-13 11:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:43:03] Production.INFO: ==29738== Lock acquired, processing the job...
[2025-01-13 11:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238709') end
[2025-01-13 11:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:43:03] Production.INFO: 1
[2025-01-13 11:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:43:03] Production.INFO: ==29736== Releasing lock...
[2025-01-13 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:43:03] Production.INFO: ==29740== Lock acquired, processing the job...
[2025-01-13 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:43:03] Production.INFO: ==29744== Releasing lock...
[2025-01-13 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:43:03] Production.INFO: Account Balance Start.
[2025-01-13 11:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:43:03] Production.INFO: 117
[2025-01-13 11:43:03] Production.ERROR: done
[2025-01-13 11:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:43:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:43:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:43:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:43:03] Production.ERROR: done
[2025-01-13 11:43:03] Production.INFO: Total Charge 0
[2025-01-13 11:43:03] Production.INFO: CreateAllLog End
[2025-01-13 11:43:03] Production.INFO: Account Balance End.
[2025-01-13 11:43:03] Production.ERROR: CronJobId end 12
[2025-01-13 11:43:03] Production.INFO: ==29740== Releasing lock...
[2025-01-13 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:43:04
[end_date_ymd] => 2025-01-13 11:43:04
[RateCDR] => 1
)
[2025-01-13 11: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-13 08:43:04' and `end` < '2025-01-13 11: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-13 11:43:11] Production.ERROR: CronJobId end10
[2025-01-13 11:43:11] Production.INFO: ==29738== Releasing lock...
[2025-01-13 11:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:43:13] Production.INFO: call_cost start
[2025-01-13 11:43:13] Production.INFO: call_cost end
[2025-01-13 11:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:43:14] Production.INFO: ==29734== Releasing lock...
[2025-01-13 11:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:43:18] Production.INFO: count ==5415
[2025-01-13 11:43:20] Production.ERROR: pbx CDR StartTime 2025-01-13 08:43:04 - End Time 2025-01-13 11:43:04
[2025-01-13 11:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238713', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238713', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238713', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238713', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:43:20] Production.INFO: ProcessCDR(1,14238713,1,1,2)
[2025-01-13 11:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:43:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:43:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:43:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238713', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238713', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:43:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:43:25] Production.INFO: ==29742== Releasing lock...
[2025-01-13 11:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:43:25] Production.INFO: 68.75 MB #Memory Used#
[2025-01-13 16:44:02] Production.INFO: ==29830== Lock acquired, processing the job...
[2025-01-13 16:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:44:02] Production.INFO: neon service started
[2025-01-13 16:44:02] Production.INFO: neon service started
[2025-01-13 16:44:02] Production.INFO: ==29830== Releasing lock...
[2025-01-13 16:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:44:02] Production.INFO: ==29832== Lock acquired, processing the job...
[2025-01-13 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:44:02] Production.INFO: ==29834== Lock acquired, processing the job...
[2025-01-13 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:44:02] Production.INFO: ==29834== Releasing lock...
[2025-01-13 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:44:02] Production.INFO: ==29832== Releasing lock...
[2025-01-13 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:44:03] Production.INFO: ==29846== Lock acquired, processing the job...
[2025-01-13 11:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:44:03] Production.INFO: ==29837== Lock acquired, processing the job...
[2025-01-13 11:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:44:03] Production.INFO: ==29848== Lock acquired, processing the job...
[2025-01-13 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:44:03] Production.INFO: ==29841== Lock acquired, processing the job...
[2025-01-13 11:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:44:03] Production.INFO: ==29844== Lock acquired, processing the job...
[2025-01-13 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:44:03] Production.INFO: ==29839== Lock acquired, processing the job...
[2025-01-13 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:44:03] Production.INFO: Account Balance Start.
[2025-01-13 11:44:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:44:03] Production.INFO: 117
[2025-01-13 11:44:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:44:03] Production.INFO: count ==21
[2025-01-13 11:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:44:03] Production.INFO: count ==21
[2025-01-13 11:44:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238715') start
[2025-01-13 11:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:44:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238715') end
[2025-01-13 11:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:44:04] Production.INFO: 1
[2025-01-13 11:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:44:04] Production.ERROR: done
[2025-01-13 11:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:44:04] Production.INFO: ==29848== Releasing lock...
[2025-01-13 11:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:44:04] Production.INFO: ==29839== Releasing lock...
[2025-01-13 11:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:44:04] Production.ERROR: done
[2025-01-13 11:44:04] Production.INFO: Total Charge 0
[2025-01-13 11:44:04] Production.INFO: CreateAllLog End
[2025-01-13 11:44:04] Production.INFO: Account Balance End.
[2025-01-13 11:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:44:04] Production.INFO: ==29844== Releasing lock...
[2025-01-13 11:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:44:05
[end_date_ymd] => 2025-01-13 11:44:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:44:05' and `end` < '2025-01-13 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-13 11:44:11] Production.ERROR: CronJobId end10
[2025-01-13 11:44:11] Production.INFO: ==29841== Releasing lock...
[2025-01-13 11:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:44:14] Production.INFO: call_cost start
[2025-01-13 11:44:14] Production.INFO: call_cost end
[2025-01-13 11:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:44:15] Production.INFO: ==29837== Releasing lock...
[2025-01-13 11:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:44:20] Production.INFO: count ==5435
[2025-01-13 11:44:23] Production.ERROR: pbx CDR StartTime 2025-01-13 08:44:05 - End Time 2025-01-13 11:44:05
[2025-01-13 11:44:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238718', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238718', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238718', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238718', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:44:23] Production.INFO: ProcessCDR(1,14238718,1,1,2)
[2025-01-13 11:44:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:44:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:44:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:44:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:44:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238718', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:44:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238718', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:44:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:44:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:44:28] Production.INFO: ==29846== Releasing lock...
[2025-01-13 11:44:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:44:28] Production.INFO: 68.75 MB #Memory Used#
[2025-01-13 16:45:01] Production.INFO: ==29933== Lock acquired, processing the job...
[2025-01-13 16:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:45:01] Production.INFO: neon service started
[2025-01-13 16:45:01] Production.INFO: neon service started
[2025-01-13 16:45:01] Production.INFO: ==29933== Releasing lock...
[2025-01-13 16:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:45:01] Production.INFO: ==29937== Lock acquired, processing the job...
[2025-01-13 16:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:45:01] Production.INFO: ==29937== Releasing lock...
[2025-01-13 16:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:45:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:45:02] Production.INFO: ==29935== Lock acquired, processing the job...
[2025-01-13 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:45:02] Production.INFO: ==29935== Releasing lock...
[2025-01-13 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:45:03] Production.INFO: ==29948== Lock acquired, processing the job...
[2025-01-13 11:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:45:03] Production.INFO: ==29950== Lock acquired, processing the job...
[2025-01-13 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 11:45:03] Production.INFO: ==29939== Lock acquired, processing the job...
[2025-01-13 11:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:45:03] Production.INFO: count ==21
[2025-01-13 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-13 11:45:03] Production.INFO: count ==21
[2025-01-13 11:45:03] Production.INFO: ==29941== Lock acquired, processing the job...
[2025-01-13 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238719') start
[2025-01-13 11:45:03] Production.INFO: ==29943== Lock acquired, processing the job...
[2025-01-13 11:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238719') end
[2025-01-13 11:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:45:03] Production.INFO: 1
[2025-01-13 11:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:45:03] Production.INFO: ==29945== Lock acquired, processing the job...
[2025-01-13 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:45:03] Production.INFO: ==29950== Releasing lock...
[2025-01-13 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:45:03] Production.ERROR: done
[2025-01-13 11:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:45:03] Production.INFO: Account Balance Start.
[2025-01-13 11:45:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:45:03] Production.INFO: 117
[2025-01-13 11:45:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:45:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:45:03] Production.ERROR: done
[2025-01-13 11:45:03] Production.INFO: ==29941== Releasing lock...
[2025-01-13 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:45:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:45:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:45:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:45:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:45:04] Production.INFO: Total Charge 0
[2025-01-13 11:45:04] Production.INFO: CreateAllLog End
[2025-01-13 11:45:04] Production.INFO: Account Balance End.
[2025-01-13 11:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:45:04] Production.INFO: ==29945== Releasing lock...
[2025-01-13 11:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:45:05
[end_date_ymd] => 2025-01-13 11:45:05
[RateCDR] => 1
)
[2025-01-13 11:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:45:05' and `end` < '2025-01-13 11:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:45:12] Production.ERROR: CronJobId end10
[2025-01-13 11:45:12] Production.INFO: ==29943== Releasing lock...
[2025-01-13 11:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:45:13] Production.INFO: call_cost start
[2025-01-13 11:45:13] Production.INFO: call_cost end
[2025-01-13 11:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:45:14] Production.INFO: ==29939== Releasing lock...
[2025-01-13 11:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:45:31] Production.INFO: count ==5453
[2025-01-13 11:45:34] Production.ERROR: pbx CDR StartTime 2025-01-13 08:45:05 - End Time 2025-01-13 11:45:05
[2025-01-13 11:45:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:45:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238723', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:45:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238723', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:45:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238723', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:45:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238723', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:45:34] Production.INFO: ProcessCDR(1,14238723,1,1,2)
[2025-01-13 11:45:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:45:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:45:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:45:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:45:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238723', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:45:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238723', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:45:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:45:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:45:39] Production.INFO: ==29948== Releasing lock...
[2025-01-13 11:45:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:45:39] Production.INFO: 68.75 MB #Memory Used#
[2025-01-13 16:46:01] Production.INFO: ==30045== Lock acquired, processing the job...
[2025-01-13 16:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:46:01] Production.INFO: neon service started
[2025-01-13 16:46:01] Production.INFO: neon service started
[2025-01-13 16:46:01] Production.INFO: ==30045== Releasing lock...
[2025-01-13 16:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:46:02] Production.INFO: ==30047== Lock acquired, processing the job...
[2025-01-13 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:46:02] Production.INFO: ==30047== Releasing lock...
[2025-01-13 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:46:02] Production.INFO: ==30049== Lock acquired, processing the job...
[2025-01-13 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:46:02] Production.INFO: ==30049== Releasing lock...
[2025-01-13 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:46:03] Production.INFO: ==30053== Lock acquired, processing the job...
[2025-01-13 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:46:03] Production.INFO: ==30055== Lock acquired, processing the job...
[2025-01-13 11:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:46:03] Production.INFO: ==30059== Lock acquired, processing the job...
[2025-01-13 11:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:46:03] Production.INFO: ==30053== Releasing lock...
[2025-01-13 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:46:03] Production.INFO: ==30051== Lock acquired, processing the job...
[2025-01-13 11:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:46:03] Production.INFO: ==30057== Lock acquired, processing the job...
[2025-01-13 11:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:46:03] Production.INFO: ==30061== Lock acquired, processing the job...
[2025-01-13 11:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:46:03] Production.INFO: Account Balance Start.
[2025-01-13 11:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:46:03] Production.ERROR: done
[2025-01-13 11:46:03] Production.INFO: 117
[2025-01-13 11:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:46:04] Production.INFO: count ==21
[2025-01-13 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-13 11:46:04] Production.INFO: count ==21
[2025-01-13 11:46:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238726') start
[2025-01-13 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:46:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:46:04] Production.ERROR: done
[2025-01-13 11:46:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:46:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238726') end
[2025-01-13 11:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:46:04] Production.INFO: 1
[2025-01-13 11:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:46:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:46:04] Production.INFO: Total Charge 0
[2025-01-13 11:46:04] Production.INFO: ==30061== Releasing lock...
[2025-01-13 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:46:04] Production.INFO: CreateAllLog End
[2025-01-13 11:46:04] Production.INFO: Account Balance End.
[2025-01-13 11:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:46:04] Production.INFO: ==30057== Releasing lock...
[2025-01-13 11:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:46:05
[end_date_ymd] => 2025-01-13 11:46:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:46:05' and `end` < '2025-01-13 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-13 11:46:12] Production.ERROR: CronJobId end10
[2025-01-13 11:46:12] Production.INFO: ==30055== Releasing lock...
[2025-01-13 11:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:46:14] Production.INFO: call_cost start
[2025-01-13 11:46:14] Production.INFO: call_cost end
[2025-01-13 11:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:46:15] Production.INFO: ==30051== Releasing lock...
[2025-01-13 11:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:46:24] Production.INFO: count ==5455
[2025-01-13 11:46:27] Production.ERROR: pbx CDR StartTime 2025-01-13 08:46:05 - End Time 2025-01-13 11:46:05
[2025-01-13 11:46:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:46:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238728', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:46:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238728', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:46:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238728', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:46:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238728', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:46:27] Production.INFO: ProcessCDR(1,14238728,1,1,2)
[2025-01-13 11:46:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:46:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:46:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:46:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:46:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238728', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:46:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238728', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:46:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:46:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:46:32] Production.INFO: ==30059== Releasing lock...
[2025-01-13 11:46:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:46:32] Production.INFO: 68.75 MB #Memory Used#
[2025-01-13 16:47:02] Production.INFO: ==30155== Lock acquired, processing the job...
[2025-01-13 16:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:47:02] Production.INFO: neon service started
[2025-01-13 16:47:02] Production.INFO: neon service started
[2025-01-13 16:47:02] Production.INFO: ==30155== Releasing lock...
[2025-01-13 16:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:47:02] Production.INFO: ==30157== Lock acquired, processing the job...
[2025-01-13 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:47:02] Production.INFO: ==30157== Releasing lock...
[2025-01-13 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:47:03] Production.INFO: ==30159== Lock acquired, processing the job...
[2025-01-13 16:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:47:03] Production.INFO: ==30159== Releasing lock...
[2025-01-13 16:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:47:03] Production.INFO: ==30161== Lock acquired, processing the job...
[2025-01-13 11:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:47:03] Production.INFO: ==30167== Lock acquired, processing the job...
[2025-01-13 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:47:03] Production.INFO: ==30163== Lock acquired, processing the job...
[2025-01-13 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:47:03] Production.INFO: ==30171== Lock acquired, processing the job...
[2025-01-13 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:47:03] Production.INFO: Account Balance Start.
[2025-01-13 11:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:47:03] Production.INFO: 117
[2025-01-13 11:47:03] Production.INFO: ==30165== Lock acquired, processing the job...
[2025-01-13 11:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 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-13 11:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:47:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:47:04] Production.INFO: count ==21
[2025-01-13 11: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-13 11:47:04] Production.INFO: count ==21
[2025-01-13 11:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238731') start
[2025-01-13 11:47:04] Production.INFO: ==30169== Lock acquired, processing the job...
[2025-01-13 11:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:47:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238731') end
[2025-01-13 11:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:47:04] Production.INFO: 1
[2025-01-13 11:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:47:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:47:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:47:04] Production.INFO: ==30171== Releasing lock...
[2025-01-13 11:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:47:04] Production.INFO: ==30163== Releasing lock...
[2025-01-13 11:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:47:04] Production.INFO: Total Charge 0
[2025-01-13 11:47:04] Production.INFO: CreateAllLog End
[2025-01-13 11:47:04] Production.ERROR: done
[2025-01-13 11:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:47:04] Production.INFO: Account Balance End.
[2025-01-13 11:47:04] Production.ERROR: done
[2025-01-13 11:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:47:04] Production.INFO: ==30167== Releasing lock...
[2025-01-13 11:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:47:05
[end_date_ymd] => 2025-01-13 11:47:05
[RateCDR] => 1
)
[2025-01-13 11:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:47:05' and `end` < '2025-01-13 11:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:47:12] Production.ERROR: CronJobId end10
[2025-01-13 11:47:12] Production.INFO: ==30165== Releasing lock...
[2025-01-13 11:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:47:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:47:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:47:14] Production.INFO: call_cost start
[2025-01-13 11:47:14] Production.INFO: call_cost end
[2025-01-13 11:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:47:15] Production.INFO: ==30161== Releasing lock...
[2025-01-13 11:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:47:24] Production.INFO: count ==5457
[2025-01-13 11:47:26] Production.ERROR: pbx CDR StartTime 2025-01-13 08:47:05 - End Time 2025-01-13 11:47:05
[2025-01-13 11:47:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:47:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238733', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:47:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238733', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:47:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238733', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:47:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238733', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:47:26] Production.INFO: ProcessCDR(1,14238733,1,1,2)
[2025-01-13 11:47:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:47:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:47:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:47:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:47:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238733', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:47:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238733', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:47:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:47:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:47:31] Production.INFO: ==30169== Releasing lock...
[2025-01-13 11:47:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:47:31] Production.INFO: 68.75 MB #Memory Used#
[2025-01-13 16:48:01] Production.INFO: ==30255== Lock acquired, processing the job...
[2025-01-13 16:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:48:01] Production.INFO: neon service started
[2025-01-13 16:48:01] Production.INFO: neon service started
[2025-01-13 16:48:01] Production.INFO: ==30255== Releasing lock...
[2025-01-13 16:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:48:02] Production.INFO: ==30259== Lock acquired, processing the job...
[2025-01-13 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:48:02] Production.INFO: ==30259== Releasing lock...
[2025-01-13 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:48:02] Production.INFO: ==30257== Lock acquired, processing the job...
[2025-01-13 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:48:02] Production.INFO: ==30257== Releasing lock...
[2025-01-13 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:48:03] Production.INFO: ==30262== Lock acquired, processing the job...
[2025-01-13 11:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:48:03] Production.INFO: ==30264== Lock acquired, processing the job...
[2025-01-13 11:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:48:03] Production.INFO: ==30270== Lock acquired, processing the job...
[2025-01-13 11:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:48:03] Production.INFO: ==30272== Lock acquired, processing the job...
[2025-01-13 11:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:48:03] Production.INFO: ==30266== Lock acquired, processing the job...
[2025-01-13 11:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:48:03] Production.INFO: ==30268== Lock acquired, processing the job...
[2025-01-13 11:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 11:48:03] Production.INFO: count ==21
[2025-01-13 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-13 11:48:03] Production.INFO: count ==21
[2025-01-13 11:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238736') start
[2025-01-13 11:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:48:03] Production.INFO: ==30264== Releasing lock...
[2025-01-13 11:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:48:03] Production.INFO: Account Balance Start.
[2025-01-13 11:48:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:48:03] Production.INFO: 117
[2025-01-13 11:48:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238736') end
[2025-01-13 11:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:48:04] Production.INFO: 1
[2025-01-13 11:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:48:04] Production.INFO: ==30272== Releasing lock...
[2025-01-13 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:48:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:48:04] Production.ERROR: done
[2025-01-13 11:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:48:04] Production.INFO: Total Charge 0
[2025-01-13 11:48:04] Production.ERROR: done
[2025-01-13 11:48:04] Production.INFO: CreateAllLog End
[2025-01-13 11:48:04] Production.INFO: Account Balance End.
[2025-01-13 11:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:48:04] Production.INFO: ==30268== Releasing lock...
[2025-01-13 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:48:05
[end_date_ymd] => 2025-01-13 11:48:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:48:05' and `end` < '2025-01-13 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-13 11:48:13] Production.ERROR: CronJobId end10
[2025-01-13 11:48:13] Production.INFO: ==30266== Releasing lock...
[2025-01-13 11:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:48:14] Production.INFO: call_cost start
[2025-01-13 11:48:14] Production.INFO: call_cost end
[2025-01-13 11:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:48:15] Production.INFO: ==30262== Releasing lock...
[2025-01-13 11:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:48:36] Production.INFO: count ==5489
[2025-01-13 11:48:39] Production.ERROR: pbx CDR StartTime 2025-01-13 08:48:05 - End Time 2025-01-13 11:48:05
[2025-01-13 11:48:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:48:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238738', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:48:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238738', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:48:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238738', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:48:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238738', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:48:39] Production.INFO: ProcessCDR(1,14238738,1,1,2)
[2025-01-13 11:48:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:48:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:48:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:48:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:48:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238738', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:48:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238738', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:48:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:48:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:48:44] Production.INFO: ==30270== Releasing lock...
[2025-01-13 11:48:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:48:44] Production.INFO: 69 MB #Memory Used#
[2025-01-13 16:49:02] Production.INFO: ==30358== Lock acquired, processing the job...
[2025-01-13 16:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:49:02] Production.INFO: neon service started
[2025-01-13 16:49:02] Production.INFO: neon service started
[2025-01-13 16:49:02] Production.INFO: ==30358== Releasing lock...
[2025-01-13 16:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:49:02] Production.INFO: ==30362== Lock acquired, processing the job...
[2025-01-13 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:49:02] Production.INFO: ==30362== Releasing lock...
[2025-01-13 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:49:02] Production.INFO: ==30360== Lock acquired, processing the job...
[2025-01-13 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:49:03] Production.INFO: ==30360== Releasing lock...
[2025-01-13 11:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:49:03] Production.INFO: ==30370== Lock acquired, processing the job...
[2025-01-13 11:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:49:03] Production.INFO: ==30372== Lock acquired, processing the job...
[2025-01-13 11:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:49:04] Production.INFO: Account Balance Start.
[2025-01-13 11:49:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:49:04] Production.INFO: 117
[2025-01-13 11:49:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:49:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:49:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:49:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:49:04] Production.INFO: ==30365== Lock acquired, processing the job...
[2025-01-13 11:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:49:04] Production.INFO: ==30367== Lock acquired, processing the job...
[2025-01-13 11:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:49:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:49:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:49:04] Production.INFO: Total Charge 0
[2025-01-13 11:49:04] Production.INFO: ==30375== Lock acquired, processing the job...
[2025-01-13 11:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:49:04] Production.INFO: CreateAllLog End
[2025-01-13 11:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:49:04] Production.INFO: ==30377== Lock acquired, processing the job...
[2025-01-13 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:49:04] Production.INFO: ==30367== Releasing lock...
[2025-01-13 11:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:49:04] Production.INFO: Account Balance End.
[2025-01-13 11:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:49:04] Production.INFO: ==30372== Releasing lock...
[2025-01-13 11:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:49:04] Production.INFO: count ==21
[2025-01-13 11:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:49:04] Production.INFO: count ==21
[2025-01-13 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238742') start
[2025-01-13 11:49:04] Production.ERROR: done
[2025-01-13 11:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:49:05] Production.ERROR: done
[2025-01-13 11:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14238742') end
[2025-01-13 11:49:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:49:05] Production.INFO: 1
[2025-01-13 11:49:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:49:05] Production.INFO: ==30377== Releasing lock...
[2025-01-13 11:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:49:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:49:05
[end_date_ymd] => 2025-01-13 11:49:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:49:05' and `end` < '2025-01-13 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-13 11:49:12] Production.ERROR: CronJobId end10
[2025-01-13 11:49:12] Production.INFO: ==30370== Releasing lock...
[2025-01-13 11:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:49:14] Production.INFO: call_cost start
[2025-01-13 11:49:14] Production.INFO: call_cost end
[2025-01-13 11:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:49:14] Production.INFO: ==30365== Releasing lock...
[2025-01-13 11:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:49:31] Production.INFO: count ==5521
[2025-01-13 11:49:33] Production.ERROR: pbx CDR StartTime 2025-01-13 08:49:05 - End Time 2025-01-13 11:49:05
[2025-01-13 11:49:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:49:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238743', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:49:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238743', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:49:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238743', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:49:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238743', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:49:33] Production.INFO: ProcessCDR(1,14238743,1,1,2)
[2025-01-13 11:49:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:49:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:49:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:49:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:49:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238743', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:49:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238743', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:49:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:49:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:49:38] Production.INFO: ==30375== Releasing lock...
[2025-01-13 11:49:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:49:38] Production.INFO: 69.25 MB #Memory Used#
[2025-01-13 16:50:01] Production.INFO: ==30464== Lock acquired, processing the job...
[2025-01-13 16:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:50:01] Production.INFO: neon service started
[2025-01-13 16:50:01] Production.INFO: neon service started
[2025-01-13 16:50:01] Production.INFO: ==30464== Releasing lock...
[2025-01-13 16:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:50:02] Production.INFO: ==30466== Lock acquired, processing the job...
[2025-01-13 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:50:02] Production.INFO: ==30466== Releasing lock...
[2025-01-13 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:50:02] Production.INFO: ==30468== Lock acquired, processing the job...
[2025-01-13 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:50:03] Production.INFO: ==30468== Releasing lock...
[2025-01-13 16:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:50:03] Production.INFO: ==30471== Lock acquired, processing the job...
[2025-01-13 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 11:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 11:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 11:50:03] Production.INFO: ==30471== Releasing lock...
[2025-01-13 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 11:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 11:50:03] Production.INFO: ==30473== Lock acquired, processing the job...
[2025-01-13 11:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:50:03] Production.INFO: ==30479== Lock acquired, processing the job...
[2025-01-13 11:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:50:03] Production.INFO: ==30475== Lock acquired, processing the job...
[2025-01-13 11:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:50:03] Production.INFO: ==30481== Lock acquired, processing the job...
[2025-01-13 11:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:50:03] Production.INFO: Account Balance Start.
[2025-01-13 11:50:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:50:03] Production.INFO: 117
[2025-01-13 11:50:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:50:03] Production.INFO: ==30483== Lock acquired, processing the job...
[2025-01-13 11:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 11:50:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:50:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:50:03] Production.INFO: ==30477== Lock acquired, processing the job...
[2025-01-13 11:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:50:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:50:04] Production.INFO: ==30485== Lock acquired, processing the job...
[2025-01-13 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:50:04] Production.INFO: Total Charge 0
[2025-01-13 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:50:04] Production.INFO: CreateAllLog End
[2025-01-13 11:50:04] Production.ERROR: done
[2025-01-13 11:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:50:04] Production.INFO: Account Balance End.
[2025-01-13 11:50:04] Production.ERROR: done
[2025-01-13 11:50:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:50:04] Production.INFO: ==30479== Releasing lock...
[2025-01-13 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:50:04] Production.ERROR: done
[2025-01-13 11:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 11:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238748', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 11:50:04] Production.INFO: ==30475== Releasing lock...
[2025-01-13 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:50:04] Production.INFO: count ==21
[2025-01-13 11:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:50:04] Production.INFO: count ==21
[2025-01-13 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238747') start
[2025-01-13 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238747') end
[2025-01-13 11:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:50:04] Production.INFO: 1
[2025-01-13 11:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:50:05] Production.INFO: ==30485== Releasing lock...
[2025-01-13 11:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:50:05
[end_date_ymd] => 2025-01-13 11:50:05
[RateCDR] => 1
)
[2025-01-13 11: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-13 08:50:05' and `end` < '2025-01-13 11: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-13 11:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238748', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 11:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 11:50:08] Production.INFO: ProcessCDR(1,14238748,1,1,2)
[2025-01-13 11:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238748,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238748,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:50:08] Production.INFO: ==30483== Releasing lock...
[2025-01-13 11:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 11:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 11:50:14] Production.ERROR: CronJobId end10
[2025-01-13 11:50:14] Production.INFO: ==30477== Releasing lock...
[2025-01-13 11:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:50:16] Production.INFO: call_cost start
[2025-01-13 11:50:16] Production.INFO: call_cost end
[2025-01-13 11:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:50:16] Production.INFO: ==30473== Releasing lock...
[2025-01-13 11:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:50:30] Production.INFO: count ==5530
[2025-01-13 11:50:32] Production.ERROR: pbx CDR StartTime 2025-01-13 08:50:05 - End Time 2025-01-13 11:50:05
[2025-01-13 11:50:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238749', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238749', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238749', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:50:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238749', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:50:32] Production.INFO: ProcessCDR(1,14238749,1,1,2)
[2025-01-13 11:50:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:50:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:50:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:50:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:50:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238749', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:50:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238749', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:50:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:50:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:50:37] Production.INFO: ==30481== Releasing lock...
[2025-01-13 11:50:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:50:37] Production.INFO: 69.5 MB #Memory Used#
[2025-01-13 16:51:02] Production.INFO: ==30570== Lock acquired, processing the job...
[2025-01-13 16:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:51:02] Production.INFO: neon service started
[2025-01-13 16:51:02] Production.INFO: neon service started
[2025-01-13 16:51:02] Production.INFO: ==30570== Releasing lock...
[2025-01-13 16:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:51:03] Production.INFO: ==30572== Lock acquired, processing the job...
[2025-01-13 11:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:51:03] Production.INFO: ==30574== Lock acquired, processing the job...
[2025-01-13 16:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:51:03] Production.INFO: ==30574== Releasing lock...
[2025-01-13 16:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:51:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:51:03] Production.INFO: ==30572== Releasing lock...
[2025-01-13 11:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:51:04] Production.INFO: ==30585== Lock acquired, processing the job...
[2025-01-13 11:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:51:04] Production.INFO: Account Balance Start.
[2025-01-13 11:51:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:51:04] Production.INFO: 117
[2025-01-13 11:51:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:51:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:51:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:51:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:51:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:51:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:51:04] Production.INFO: ==30589== Lock acquired, processing the job...
[2025-01-13 11:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:51:04] Production.INFO: Total Charge 0
[2025-01-13 11:51:04] Production.INFO: CreateAllLog End
[2025-01-13 11:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:51:04] Production.INFO: ==30579== Lock acquired, processing the job...
[2025-01-13 11:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:51:04] Production.INFO: Account Balance End.
[2025-01-13 11:51:04] Production.INFO: count ==21
[2025-01-13 11:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:51:04] Production.INFO: ==30585== Releasing lock...
[2025-01-13 11:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:51:04] Production.INFO: count ==21
[2025-01-13 11:51:04] Production.INFO: ==30581== Lock acquired, processing the job...
[2025-01-13 11:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238751') start
[2025-01-13 11:51:04] Production.INFO: ==30583== Lock acquired, processing the job...
[2025-01-13 11:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238751') end
[2025-01-13 11:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:51:04] Production.INFO: 1
[2025-01-13 11:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:51:04] Production.INFO: ==30587== Lock acquired, processing the job...
[2025-01-13 11:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:51:04] Production.INFO: ==30589== Releasing lock...
[2025-01-13 11:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:51:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:51:05] Production.INFO: ==30581== Releasing lock...
[2025-01-13 11:51:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:51:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:51:05] Production.ERROR: done
[2025-01-13 11:51:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:51:05] Production.ERROR: done
[2025-01-13 11:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:51:06
[end_date_ymd] => 2025-01-13 11:51:06
[RateCDR] => 1
)
[2025-01-13 11:51:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 08:51:06' and `end` < '2025-01-13 11:51:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 11:51:14] Production.ERROR: CronJobId end10
[2025-01-13 11:51:14] Production.INFO: ==30583== Releasing lock...
[2025-01-13 11:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:51:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:51:14] Production.INFO: call_cost start
[2025-01-13 11:51:14] Production.INFO: call_cost end
[2025-01-13 11:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:51:15] Production.INFO: ==30579== Releasing lock...
[2025-01-13 11:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:51:26] Production.INFO: count ==5605
[2025-01-13 11:51:28] Production.ERROR: pbx CDR StartTime 2025-01-13 08:51:06 - End Time 2025-01-13 11:51:06
[2025-01-13 11:51:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238754', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238754', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:51:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238754', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:51:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238754', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:51:29] Production.INFO: ProcessCDR(1,14238754,1,1,2)
[2025-01-13 11:51:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:51:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:51:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:51:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:51:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238754', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:51:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238754', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:51:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:51:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:51:33] Production.INFO: ==30587== Releasing lock...
[2025-01-13 11:51:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:51:33] Production.INFO: 70 MB #Memory Used#
[2025-01-13 16:52:01] Production.INFO: ==30673== Lock acquired, processing the job...
[2025-01-13 16:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:52:01] Production.INFO: neon service started
[2025-01-13 16:52:01] Production.INFO: neon service started
[2025-01-13 16:52:01] Production.INFO: ==30673== Releasing lock...
[2025-01-13 16:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:52:02] Production.INFO: ==30675== Lock acquired, processing the job...
[2025-01-13 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:52:02] Production.INFO: ==30677== Lock acquired, processing the job...
[2025-01-13 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:52:02] Production.INFO: ==30677== Releasing lock...
[2025-01-13 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:52:02] Production.INFO: ==30675== Releasing lock...
[2025-01-13 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:52:03] Production.INFO: ==30682== Lock acquired, processing the job...
[2025-01-13 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:52:03] Production.INFO: ==30686== Lock acquired, processing the job...
[2025-01-13 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:52:03] Production.INFO: ==30688== Lock acquired, processing the job...
[2025-01-13 11:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:52:04] Production.INFO: Account Balance Start.
[2025-01-13 11:52:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:52:04] Production.INFO: ==30680== Lock acquired, processing the job...
[2025-01-13 11:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:52:04] Production.INFO: 117
[2025-01-13 11:52:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:52:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:52:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:52:04] Production.INFO: ==30684== Lock acquired, processing the job...
[2025-01-13 11:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:52:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:52:04] Production.INFO: ==30690== Lock acquired, processing the job...
[2025-01-13 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:52:04] Production.INFO: ==30682== Releasing lock...
[2025-01-13 11:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:52:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:52:04] Production.ERROR: done
[2025-01-13 11:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:52:04] Production.INFO: count ==21
[2025-01-13 11:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:52:04] Production.INFO: count ==21
[2025-01-13 11:52:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238758') start
[2025-01-13 11:52:04] Production.INFO: Total Charge 0
[2025-01-13 11:52:04] Production.INFO: CreateAllLog End
[2025-01-13 11:52:04] Production.ERROR: done
[2025-01-13 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238758') end
[2025-01-13 11:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:52:04] Production.INFO: 1
[2025-01-13 11:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:52:04] Production.INFO: ==30690== Releasing lock...
[2025-01-13 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:52:04] Production.INFO: Account Balance End.
[2025-01-13 11:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:52:04] Production.INFO: ==30686== Releasing lock...
[2025-01-13 11:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:52:05
[end_date_ymd] => 2025-01-13 11:52:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:52:05' and `end` < '2025-01-13 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-13 11:52:12] Production.ERROR: CronJobId end10
[2025-01-13 11:52:12] Production.INFO: ==30684== Releasing lock...
[2025-01-13 11:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:52:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:52:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:52:15] Production.INFO: call_cost start
[2025-01-13 11:52:15] Production.INFO: call_cost end
[2025-01-13 11:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:52:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:52:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:52:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:52:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:52:16] Production.INFO: ==30680== Releasing lock...
[2025-01-13 11:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:52:33] Production.INFO: count ==5609
[2025-01-13 11:52:36] Production.ERROR: pbx CDR StartTime 2025-01-13 08:52:05 - End Time 2025-01-13 11:52:05
[2025-01-13 11:52:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:52:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238759', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:52:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238759', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:52:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238759', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:52:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238759', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:52:36] Production.INFO: ProcessCDR(1,14238759,1,1,2)
[2025-01-13 11:52:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:52:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:52:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:52:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:52:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238759', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:52:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238759', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:52:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:52:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:52:41] Production.INFO: ==30688== Releasing lock...
[2025-01-13 11:52:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:52:41] Production.INFO: 70 MB #Memory Used#
[2025-01-13 16:53:02] Production.INFO: ==30772== Lock acquired, processing the job...
[2025-01-13 16:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:53:02] Production.INFO: neon service started
[2025-01-13 16:53:02] Production.INFO: neon service started
[2025-01-13 16:53:02] Production.INFO: ==30772== Releasing lock...
[2025-01-13 16:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:53:02] Production.INFO: ==30776== Lock acquired, processing the job...
[2025-01-13 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:53:02] Production.INFO: ==30776== Releasing lock...
[2025-01-13 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:53:02] Production.INFO: ==30774== Lock acquired, processing the job...
[2025-01-13 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:53:03] Production.INFO: ==30774== Releasing lock...
[2025-01-13 11:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:53:03] Production.INFO: ==30779== Lock acquired, processing the job...
[2025-01-13 11:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:53:03] Production.INFO: ==30785== Lock acquired, processing the job...
[2025-01-13 11:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:53:03] Production.INFO: ==30783== Lock acquired, processing the job...
[2025-01-13 11:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:53:03] Production.INFO: Account Balance Start.
[2025-01-13 11:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:53:03] Production.INFO: 117
[2025-01-13 11:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:53:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:53:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:53:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:53:04] Production.INFO: ==30781== Lock acquired, processing the job...
[2025-01-13 11:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:53:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:53:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:53:04] Production.INFO: ==30787== Lock acquired, processing the job...
[2025-01-13 11:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:53:04] Production.INFO: ==30789== Lock acquired, processing the job...
[2025-01-13 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:53:04] Production.INFO: Total Charge 0
[2025-01-13 11:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:53:04] Production.INFO: CreateAllLog End
[2025-01-13 11:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:53:04] Production.INFO: count ==21
[2025-01-13 11:53:04] Production.INFO: Account Balance End.
[2025-01-13 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-13 11:53:04] Production.INFO: count ==21
[2025-01-13 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238763') start
[2025-01-13 11:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:53:04] Production.INFO: ==30785== Releasing lock...
[2025-01-13 11:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:53:04] Production.ERROR: done
[2025-01-13 11:53:04] Production.INFO: ==30781== Releasing lock...
[2025-01-13 11:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238763') end
[2025-01-13 11:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:53:04] Production.INFO: 1
[2025-01-13 11:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:53:04] Production.INFO: ==30789== Releasing lock...
[2025-01-13 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:53:04] Production.ERROR: done
[2025-01-13 11:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:53:05
[end_date_ymd] => 2025-01-13 11:53:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:53:05' and `end` < '2025-01-13 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-13 11:53:12] Production.ERROR: CronJobId end10
[2025-01-13 11:53:12] Production.INFO: ==30783== Releasing lock...
[2025-01-13 11:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:53:14] Production.INFO: call_cost start
[2025-01-13 11:53:14] Production.INFO: call_cost end
[2025-01-13 11:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:53:14] Production.INFO: ==30779== Releasing lock...
[2025-01-13 11:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:53:24] Production.INFO: count ==5612
[2025-01-13 11:53:27] Production.ERROR: pbx CDR StartTime 2025-01-13 08:53:05 - End Time 2025-01-13 11:53:05
[2025-01-13 11:53:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238764', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238764', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238764', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238764', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:53:27] Production.INFO: ProcessCDR(1,14238764,1,1,2)
[2025-01-13 11:53:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:53:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:53:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:53:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:53:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238764', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:53:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238764', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:53:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:53:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:53:32] Production.INFO: ==30787== Releasing lock...
[2025-01-13 11:53:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:53:32] Production.INFO: 70 MB #Memory Used#
[2025-01-13 16:54:01] Production.INFO: ==30911== Lock acquired, processing the job...
[2025-01-13 16:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:54:01] Production.INFO: neon service started
[2025-01-13 16:54:01] Production.INFO: neon service started
[2025-01-13 16:54:01] Production.INFO: ==30911== Releasing lock...
[2025-01-13 16:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:54:02] Production.INFO: ==30915== Lock acquired, processing the job...
[2025-01-13 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:54:02] Production.INFO: ==30915== Releasing lock...
[2025-01-13 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:54:02] Production.INFO: ==30913== Lock acquired, processing the job...
[2025-01-13 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:54:02] Production.INFO: ==30913== Releasing lock...
[2025-01-13 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:54:03] Production.INFO: ==30922== Lock acquired, processing the job...
[2025-01-13 11:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:54:03] Production.INFO: ==30918== Lock acquired, processing the job...
[2025-01-13 11:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:54:03] Production.INFO: ==30926== Lock acquired, processing the job...
[2025-01-13 11:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:54:03] Production.INFO: ==30920== Lock acquired, processing the job...
[2025-01-13 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:54:03] Production.INFO: ==30924== Lock acquired, processing the job...
[2025-01-13 11:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:54:03] Production.INFO: ==30928== Lock acquired, processing the job...
[2025-01-13 11:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:54:03] Production.INFO: Account Balance Start.
[2025-01-13 11:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:54:03] Production.INFO: 117
[2025-01-13 11:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:54:04] Production.ERROR: done
[2025-01-13 11:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:54:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:54:04] Production.INFO: count ==21
[2025-01-13 11:54:04] Production.INFO: Date 2025-01-10
[2025-01-13 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-13 11:54:04] Production.INFO: count ==21
[2025-01-13 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238768') start
[2025-01-13 11:54:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:54:04] Production.INFO: ==30920== Releasing lock...
[2025-01-13 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:54:04] Production.ERROR: done
[2025-01-13 11:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238768') end
[2025-01-13 11:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:54:04] Production.INFO: 1
[2025-01-13 11:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:54:04] Production.INFO: Total Charge 0
[2025-01-13 11:54:04] Production.INFO: ==30928== Releasing lock...
[2025-01-13 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:54:04] Production.INFO: CreateAllLog End
[2025-01-13 11:54:04] Production.INFO: Account Balance End.
[2025-01-13 11:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:54:04] Production.INFO: ==30924== Releasing lock...
[2025-01-13 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:54:05
[end_date_ymd] => 2025-01-13 11:54:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:54:05' and `end` < '2025-01-13 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-13 11:54:11] Production.ERROR: CronJobId end10
[2025-01-13 11:54:11] Production.INFO: ==30922== Releasing lock...
[2025-01-13 11:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:54:13] Production.INFO: call_cost start
[2025-01-13 11:54:13] Production.INFO: call_cost end
[2025-01-13 11:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:54:14] Production.INFO: ==30918== Releasing lock...
[2025-01-13 11:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:54:29] Production.INFO: count ==5626
[2025-01-13 11:54:32] Production.ERROR: pbx CDR StartTime 2025-01-13 08:54:05 - End Time 2025-01-13 11:54:05
[2025-01-13 11:54:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238769', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238769', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238769', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:54:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238769', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:54:32] Production.INFO: ProcessCDR(1,14238769,1,1,2)
[2025-01-13 11:54:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:54:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:54:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:54:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:54:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238769', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:54:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238769', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:54:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:54:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:54:36] Production.INFO: ==30926== Releasing lock...
[2025-01-13 11:54:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:54:36] Production.INFO: 70 MB #Memory Used#
[2025-01-13 16:55:02] Production.INFO: ==31012== Lock acquired, processing the job...
[2025-01-13 16:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:55:02] Production.INFO: neon service started
[2025-01-13 16:55:02] Production.INFO: neon service started
[2025-01-13 16:55:02] Production.INFO: ==31012== Releasing lock...
[2025-01-13 16:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:55:02] Production.INFO: ==31016== Lock acquired, processing the job...
[2025-01-13 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 11:55:02] Production.INFO: ==31014== Lock acquired, processing the job...
[2025-01-13 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:55:02] Production.INFO: ==31016== Releasing lock...
[2025-01-13 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:55:03] Production.INFO: ==31014== Releasing lock...
[2025-01-13 11:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:55:03] Production.INFO: ==31025== Lock acquired, processing the job...
[2025-01-13 11:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:55:04] Production.INFO: ==31029== Lock acquired, processing the job...
[2025-01-13 11:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:55:04] Production.INFO: ==31021== Lock acquired, processing the job...
[2025-01-13 11:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:55:04] Production.INFO: ==31023== Lock acquired, processing the job...
[2025-01-13 11:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:55:04] Production.INFO: ==31027== Lock acquired, processing the job...
[2025-01-13 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:55:04] Production.ERROR: done
[2025-01-13 11:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:55:04] Production.INFO: ==31031== Lock acquired, processing the job...
[2025-01-13 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:55:04] Production.INFO: Account Balance Start.
[2025-01-13 11:55:04] Production.INFO: CreateAllLog Start
[2025-01-13 11:55:04] Production.INFO: 117
[2025-01-13 11:55:04] Production.INFO: Date 2025-01-08
[2025-01-13 11:55:04] Production.ERROR: done
[2025-01-13 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:55:04] Production.INFO: Date 2025-01-09
[2025-01-13 11:55:04] Production.INFO: count ==21
[2025-01-13 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:55:04] Production.INFO: count ==21
[2025-01-13 11:55:04] Production.INFO: Date 2025-01-10
[2025-01-13 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238773') start
[2025-01-13 11:55:04] Production.INFO: Date 2025-01-11
[2025-01-13 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:55:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:55:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:55:04] Production.INFO: Total Charge 0
[2025-01-13 11:55:04] Production.INFO: CreateAllLog End
[2025-01-13 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238773') end
[2025-01-13 11:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:55:04] Production.INFO: 1
[2025-01-13 11:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:55:04] Production.INFO: ==31023== Releasing lock...
[2025-01-13 11:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:55:04] Production.INFO: Account Balance End.
[2025-01-13 11:55:04] Production.INFO: ==31031== Releasing lock...
[2025-01-13 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:55:04] Production.INFO: ==31027== Releasing lock...
[2025-01-13 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:55:05
[end_date_ymd] => 2025-01-13 11:55:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:55:05' and `end` < '2025-01-13 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-13 11:55:12] Production.ERROR: CronJobId end10
[2025-01-13 11:55:12] Production.INFO: ==31025== Releasing lock...
[2025-01-13 11:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:55:13] Production.INFO: call_cost start
[2025-01-13 11:55:13] Production.INFO: call_cost end
[2025-01-13 11:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:55:14] Production.INFO: ==31021== Releasing lock...
[2025-01-13 11:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:55:24] Production.INFO: count ==5635
[2025-01-13 11:55:26] Production.ERROR: pbx CDR StartTime 2025-01-13 08:55:05 - End Time 2025-01-13 11:55:05
[2025-01-13 11:55:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238774', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238774', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238774', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238774', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:55:26] Production.INFO: ProcessCDR(1,14238774,1,1,2)
[2025-01-13 11:55:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:55:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:55:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:55:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:55:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238774', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:55:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238774', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:55:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:55:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:55:31] Production.INFO: ==31029== Releasing lock...
[2025-01-13 11:55:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:55:31] Production.INFO: 70.25 MB #Memory Used#
[2025-01-13 16:56:01] Production.INFO: ==31109== Lock acquired, processing the job...
[2025-01-13 16:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:56:01] Production.INFO: neon service started
[2025-01-13 16:56:01] Production.INFO: neon service started
[2025-01-13 16:56:01] Production.INFO: ==31109== Releasing lock...
[2025-01-13 16:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:56:02] Production.INFO: ==31111== Lock acquired, processing the job...
[2025-01-13 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:56:02] Production.INFO: ==31113== Lock acquired, processing the job...
[2025-01-13 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:56:02] Production.INFO: ==31113== Releasing lock...
[2025-01-13 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:56:02] Production.INFO: ==31111== Releasing lock...
[2025-01-13 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:56:03] Production.INFO: ==31116== Lock acquired, processing the job...
[2025-01-13 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:56:03] Production.INFO: ==31118== Lock acquired, processing the job...
[2025-01-13 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:56:03] Production.INFO: ==31122== Lock acquired, processing the job...
[2025-01-13 11:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:56:03] Production.INFO: ==31120== Lock acquired, processing the job...
[2025-01-13 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:56:03] Production.INFO: ==31118== Releasing lock...
[2025-01-13 11:56:03] Production.INFO: Account Balance Start.
[2025-01-13 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:56:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:56:03] Production.INFO: 117
[2025-01-13 11:56:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:56:03] Production.INFO: ==31124== Lock acquired, processing the job...
[2025-01-13 11:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:56:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:56:03] Production.INFO: ==31126== Lock acquired, processing the job...
[2025-01-13 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:56:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:56:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:56:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 11:56:03] Production.INFO: count ==21
[2025-01-13 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-13 11:56:03] Production.INFO: count ==21
[2025-01-13 11:56:03] Production.ERROR: done
[2025-01-13 11:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238778') start
[2025-01-13 11:56:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:56:04] Production.INFO: Total Charge 0
[2025-01-13 11:56:04] Production.INFO: CreateAllLog End
[2025-01-13 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238778') end
[2025-01-13 11:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:56:04] Production.INFO: 1
[2025-01-13 11:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:56:04] Production.ERROR: done
[2025-01-13 11:56:04] Production.INFO: ==31126== Releasing lock...
[2025-01-13 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:56:04] Production.INFO: Account Balance End.
[2025-01-13 11:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:56:04] Production.INFO: ==31122== Releasing lock...
[2025-01-13 11:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:56:04
[end_date_ymd] => 2025-01-13 11:56:04
[RateCDR] => 1
)
[2025-01-13 11: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-13 08:56:04' and `end` < '2025-01-13 11: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-13 11:56:12] Production.ERROR: CronJobId end10
[2025-01-13 11:56:12] Production.INFO: ==31120== Releasing lock...
[2025-01-13 11:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:56:13] Production.INFO: call_cost start
[2025-01-13 11:56:13] Production.INFO: call_cost end
[2025-01-13 11:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:56:14] Production.INFO: ==31116== Releasing lock...
[2025-01-13 11:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:56:22] Production.INFO: count ==5640
[2025-01-13 11:56:25] Production.ERROR: pbx CDR StartTime 2025-01-13 08:56:04 - End Time 2025-01-13 11:56:04
[2025-01-13 11:56:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238779', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238779', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238779', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238779', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:56:25] Production.INFO: ProcessCDR(1,14238779,1,1,2)
[2025-01-13 11:56:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:56:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:56:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:56:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:56:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238779', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:56:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238779', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:56:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:56:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:56:29] Production.INFO: ==31124== Releasing lock...
[2025-01-13 11:56:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:56:29] Production.INFO: 70.25 MB #Memory Used#
[2025-01-13 16:57:01] Production.INFO: ==31221== Lock acquired, processing the job...
[2025-01-13 16:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:57:02] Production.INFO: neon service started
[2025-01-13 16:57:02] Production.INFO: neon service started
[2025-01-13 16:57:02] Production.INFO: ==31221== Releasing lock...
[2025-01-13 16:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 11:57:02] Production.INFO: ==31223== Lock acquired, processing the job...
[2025-01-13 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:57:02] Production.INFO: ==31223== Releasing lock...
[2025-01-13 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:57:02] Production.INFO: ==31225== Lock acquired, processing the job...
[2025-01-13 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:57:02] Production.INFO: ==31225== Releasing lock...
[2025-01-13 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:57:03] Production.INFO: ==31228== Lock acquired, processing the job...
[2025-01-13 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:57:03] Production.INFO: ==31232== Lock acquired, processing the job...
[2025-01-13 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:57:03] Production.INFO: ==31230== Lock acquired, processing the job...
[2025-01-13 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:57:03] Production.INFO: ==31234== Lock acquired, processing the job...
[2025-01-13 11:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:57:03] Production.INFO: ==31236== Lock acquired, processing the job...
[2025-01-13 11:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:57:03] Production.INFO: Account Balance Start.
[2025-01-13 11:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:57:03] Production.INFO: 117
[2025-01-13 11:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:57:03] Production.INFO: ==31238== Lock acquired, processing the job...
[2025-01-13 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:57:03] Production.INFO: ==31230== Releasing lock...
[2025-01-13 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:57:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:57:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:57:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:57:04] Production.ERROR: done
[2025-01-13 11:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:57:04] Production.INFO: count ==21
[2025-01-13 11:57:04] Production.INFO: Total Charge 0
[2025-01-13 11:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:57:04] Production.INFO: CreateAllLog End
[2025-01-13 11:57:04] Production.INFO: count ==21
[2025-01-13 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238783') start
[2025-01-13 11:57:04] Production.ERROR: done
[2025-01-13 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238783') end
[2025-01-13 11:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:57:04] Production.INFO: 1
[2025-01-13 11:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:57:04] Production.INFO: Account Balance End.
[2025-01-13 11:57:04] Production.INFO: ==31238== Releasing lock...
[2025-01-13 11:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:57:04] Production.INFO: ==31234== Releasing lock...
[2025-01-13 11:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:57:05
[end_date_ymd] => 2025-01-13 11:57:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:57:05' and `end` < '2025-01-13 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-13 11:57:11] Production.ERROR: CronJobId end10
[2025-01-13 11:57:11] Production.INFO: ==31232== Releasing lock...
[2025-01-13 11:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:57:13] Production.INFO: call_cost start
[2025-01-13 11:57:13] Production.INFO: call_cost end
[2025-01-13 11:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:57:14] Production.INFO: ==31228== Releasing lock...
[2025-01-13 11:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:57:24] Production.INFO: count ==5633
[2025-01-13 11:57:26] Production.ERROR: pbx CDR StartTime 2025-01-13 08:57:05 - End Time 2025-01-13 11:57:05
[2025-01-13 11:57:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238784', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:57:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238784', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:57:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238784', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:57:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238784', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:57:27] Production.INFO: ProcessCDR(1,14238784,1,1,2)
[2025-01-13 11:57:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:57:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:57:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:57:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238784', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238784', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:57:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:57:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:57:31] Production.INFO: ==31236== Releasing lock...
[2025-01-13 11:57:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:57:31] Production.INFO: 70.25 MB #Memory Used#
[2025-01-13 16:58:01] Production.INFO: ==31337== Lock acquired, processing the job...
[2025-01-13 16:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:58:01] Production.INFO: neon service started
[2025-01-13 16:58:01] Production.INFO: neon service started
[2025-01-13 16:58:01] Production.INFO: ==31337== Releasing lock...
[2025-01-13 16:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:58:01] Production.INFO: ==31341== Lock acquired, processing the job...
[2025-01-13 16:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:58:01] Production.INFO: ==31341== Releasing lock...
[2025-01-13 16:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:58:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:58:02] Production.INFO: ==31339== Lock acquired, processing the job...
[2025-01-13 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:58:02] Production.INFO: ==31339== Releasing lock...
[2025-01-13 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:58:03] Production.INFO: ==31348== Lock acquired, processing the job...
[2025-01-13 11:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:58:03] Production.INFO: ==31344== Lock acquired, processing the job...
[2025-01-13 11:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 11:58:03] Production.INFO: ==31354== Lock acquired, processing the job...
[2025-01-13 11:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:58:03] Production.INFO: ==31346== Lock acquired, processing the job...
[2025-01-13 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:58:03] Production.INFO: count ==21
[2025-01-13 11:58:03] Production.INFO: ==31350== Lock acquired, processing the job...
[2025-01-13 11:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:58:03] Production.INFO: count ==21
[2025-01-13 11:58:03] Production.INFO: ==31352== Lock acquired, processing the job...
[2025-01-13 11:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238786') start
[2025-01-13 11:58:03] Production.INFO: Account Balance Start.
[2025-01-13 11:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:58:03] Production.INFO: 117
[2025-01-13 11:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238786') end
[2025-01-13 11:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:58:03] Production.INFO: 1
[2025-01-13 11:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:58:03] Production.INFO: ==31354== Releasing lock...
[2025-01-13 11:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:58:03] Production.INFO: ==31346== Releasing lock...
[2025-01-13 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 11:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:58:03] Production.INFO: Date 2025-01-13
[2025-01-13 11:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:58:03] Production.INFO: Total Charge 0
[2025-01-13 11:58:03] Production.INFO: CreateAllLog End
[2025-01-13 11:58:04] Production.ERROR: done
[2025-01-13 11:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:58:04] Production.ERROR: done
[2025-01-13 11:58:04] Production.INFO: Account Balance End.
[2025-01-13 11:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:58:04] Production.INFO: ==31350== Releasing lock...
[2025-01-13 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:58:05
[end_date_ymd] => 2025-01-13 11:58:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:58:05' and `end` < '2025-01-13 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-13 11:58:11] Production.ERROR: CronJobId end10
[2025-01-13 11:58:11] Production.INFO: ==31348== Releasing lock...
[2025-01-13 11:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:58:13] Production.INFO: call_cost start
[2025-01-13 11:58:13] Production.INFO: call_cost end
[2025-01-13 11:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:58:14] Production.INFO: ==31344== Releasing lock...
[2025-01-13 11:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:58:24] Production.INFO: count ==5648
[2025-01-13 11:58:26] Production.ERROR: pbx CDR StartTime 2025-01-13 08:58:05 - End Time 2025-01-13 11:58:05
[2025-01-13 11:58:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:58:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238789', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:58:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238789', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:58:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238789', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:58:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238789', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:58:27] Production.INFO: ProcessCDR(1,14238789,1,1,2)
[2025-01-13 11:58:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:58:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:58:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:58:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:58:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238789', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:58:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238789', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:58:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:58:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:58:31] Production.INFO: ==31352== Releasing lock...
[2025-01-13 11:58:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:58:31] Production.INFO: 70.25 MB #Memory Used#
[2025-01-13 16:59:01] Production.INFO: ==31447== Lock acquired, processing the job...
[2025-01-13 16:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 16:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 16:59:01] Production.INFO: neon service started
[2025-01-13 16:59:01] Production.INFO: neon service started
[2025-01-13 16:59:01] Production.INFO: ==31447== Releasing lock...
[2025-01-13 16:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 16:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:59:02] Production.INFO: ==31451== Lock acquired, processing the job...
[2025-01-13 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:59:02] Production.INFO: ==31451== Releasing lock...
[2025-01-13 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 16:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 11:59:02] Production.INFO: ==31449== Lock acquired, processing the job...
[2025-01-13 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 11:59:02] Production.INFO: ==31449== Releasing lock...
[2025-01-13 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 11:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 11:59:03] Production.INFO: ==31455== Lock acquired, processing the job...
[2025-01-13 11:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 11:59:03] Production.INFO: ==31457== Lock acquired, processing the job...
[2025-01-13 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 11:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 11:59:03] Production.INFO: ==31463== Lock acquired, processing the job...
[2025-01-13 11:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 11:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 11:59:03] Production.INFO: ==31459== Lock acquired, processing the job...
[2025-01-13 11:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 11:59:03] Production.INFO: ==31461== Lock acquired, processing the job...
[2025-01-13 11:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 11:59:03] Production.INFO: ==31457== Releasing lock...
[2025-01-13 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 11:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 11:59:03] Production.INFO: ==31465== Lock acquired, processing the job...
[2025-01-13 11:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 11:59:03] Production.INFO: Account Balance Start.
[2025-01-13 11:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 11:59:03] Production.INFO: 117
[2025-01-13 11:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 11:59:03] Production.ERROR: done
[2025-01-13 11:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 11:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 11:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 11:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 11:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 11:59:04] Production.INFO: count ==21
[2025-01-13 11:59:04] Production.INFO: Date 2025-01-12
[2025-01-13 11:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:59:04] Production.ERROR: done
[2025-01-13 11:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 11:59:04] Production.INFO: Date 2025-01-13
[2025-01-13 11:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 11:59:04] Production.INFO: count ==21
[2025-01-13 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238793') start
[2025-01-13 11:59:04] Production.INFO: Total Charge 0
[2025-01-13 11:59:04] Production.INFO: CreateAllLog End
[2025-01-13 11:59:04] Production.INFO: Account Balance End.
[2025-01-13 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238793') end
[2025-01-13 11:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 11:59:04] Production.INFO: 1
[2025-01-13 11:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 11:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 11:59:04] Production.INFO: ==31461== Releasing lock...
[2025-01-13 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 11:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 11:59:04] Production.INFO: ==31465== Releasing lock...
[2025-01-13 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 11:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 11:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 08:59:05
[end_date_ymd] => 2025-01-13 11:59:05
[RateCDR] => 1
)
[2025-01-13 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-13 08:59:05' and `end` < '2025-01-13 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-13 11:59:11] Production.ERROR: CronJobId end10
[2025-01-13 11:59:11] Production.INFO: ==31459== Releasing lock...
[2025-01-13 11:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 11:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 11:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 11:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 11:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 11:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 11:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 11:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 11:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 11:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 11:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 11:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 11:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 11:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 11:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 11:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 11:59:14] Production.INFO: call_cost start
[2025-01-13 11:59:14] Production.INFO: call_cost end
[2025-01-13 11:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 11:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 11:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 11:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 11:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 11:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 11:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 11:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 11:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 11:59:14] Production.INFO: ==31455== Releasing lock...
[2025-01-13 11:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 11:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 11:59:22] Production.INFO: count ==5656
[2025-01-13 11:59:25] Production.ERROR: pbx CDR StartTime 2025-01-13 08:59:05 - End Time 2025-01-13 11:59:05
[2025-01-13 11:59:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 11:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238794', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238794', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238794', 'tblTempVendorCDR_20' ) start
[2025-01-13 11:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238794', 'tblTempVendorCDR_20' ) end
[2025-01-13 11:59:25] Production.INFO: ProcessCDR(1,14238794,1,1,2)
[2025-01-13 11:59:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:59:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 11:59:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:59:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 11:59:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238794', 'tblTempUsageDetail_20' ) start
[2025-01-13 11:59:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238794', 'tblTempUsageDetail_20' ) end
[2025-01-13 11:59:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 11:59:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 11:59:30] Production.INFO: ==31463== Releasing lock...
[2025-01-13 11:59:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 11:59:30] Production.INFO: 70.25 MB #Memory Used#
[2025-01-13 17:00:02] Production.INFO: ==31554== Lock acquired, processing the job...
[2025-01-13 17:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:00:02] Production.INFO: neon service started
[2025-01-13 17:00:02] Production.INFO: neon service started
[2025-01-13 17:00:02] Production.INFO: ==31554== Releasing lock...
[2025-01-13 17:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:00:02] Production.INFO: ==31558== Lock acquired, processing the job...
[2025-01-13 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:00:02] Production.INFO: ==31558== Releasing lock...
[2025-01-13 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:00:02] Production.INFO: ==31556== Lock acquired, processing the job...
[2025-01-13 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:00:03] Production.INFO: ==31556== Releasing lock...
[2025-01-13 12:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:00:04] Production.INFO: ==31560== Lock acquired, processing the job...
[2025-01-13 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 12:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 12:00:04] Production.INFO: ==31562== Lock acquired, processing the job...
[2025-01-13 12:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 12:00:04] Production.INFO: ==31560== Releasing lock...
[2025-01-13 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 12:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 12:00:04] Production.INFO: ==31564== Lock acquired, processing the job...
[2025-01-13 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:00:04] Production.INFO: ==31569== Lock acquired, processing the job...
[2025-01-13 12:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:00:04] Production.INFO: ==31567== Lock acquired, processing the job...
[2025-01-13 12:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:00:04] Production.INFO: Account Balance Start.
[2025-01-13 12:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:00:04] Production.INFO: 117
[2025-01-13 12:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:00:04] Production.INFO: ==31571== Lock acquired, processing the job...
[2025-01-13 12:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:00:04] Production.INFO: ==31573== Lock acquired, processing the job...
[2025-01-13 12:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:00:04] Production.INFO: ==31575== Lock acquired, processing the job...
[2025-01-13 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:00:04] Production.INFO: ==31564== Releasing lock...
[2025-01-13 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 12: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-13 12:00:05] Production.ERROR: done
[2025-01-13 12:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:00:05] Production.INFO: count ==21
[2025-01-13 12:00:05] Production.ERROR: done
[2025-01-13 12:00:05] Production.INFO: Total Charge 0
[2025-01-13 12: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-13 12:00:05] Production.INFO: count ==21
[2025-01-13 12:00:05] Production.INFO: CreateAllLog End
[2025-01-13 12:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14238798') start
[2025-01-13 12:00:05] Production.ERROR: done
[2025-01-13 12:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 12:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238799', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 12:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14238798') end
[2025-01-13 12:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:00:05] Production.INFO: 1
[2025-01-13 12:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:00:05] Production.INFO: Account Balance End.
[2025-01-13 12:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 12:00:05] Production.INFO: ==31569== Releasing lock...
[2025-01-13 12:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:00:05] Production.INFO: ==31575== Releasing lock...
[2025-01-13 12:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:00:06
[end_date_ymd] => 2025-01-13 12:00:06
[RateCDR] => 1
)
[2025-01-13 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-13 09:00:06' and `end` < '2025-01-13 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-13 12:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238799', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 12:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 12:00:09] Production.INFO: ProcessCDR(1,14238799,1,1,2)
[2025-01-13 12:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238799,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238799,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:00:09] Production.INFO: ==31573== Releasing lock...
[2025-01-13 12:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 12:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 12:00:13] Production.ERROR: CronJobId end10
[2025-01-13 12:00:13] Production.INFO: ==31567== Releasing lock...
[2025-01-13 12:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:00:15] Production.INFO: call_cost start
[2025-01-13 12:00:15] Production.INFO: call_cost end
[2025-01-13 12:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:00:16] Production.INFO: ==31562== Releasing lock...
[2025-01-13 12:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:00:31] Production.INFO: count ==5692
[2025-01-13 12:00:34] Production.ERROR: pbx CDR StartTime 2025-01-13 09:00:06 - End Time 2025-01-13 12:00:06
[2025-01-13 12:00:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238800', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238800', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238800', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238800', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:00:34] Production.INFO: ProcessCDR(1,14238800,1,1,2)
[2025-01-13 12:00:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:00:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:00:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:00:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:00:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238800', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:00:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238800', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:00:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:00:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:00:39] Production.INFO: ==31571== Releasing lock...
[2025-01-13 12:00:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:00:39] Production.INFO: 70.5 MB #Memory Used#
[2025-01-13 17:01:01] Production.INFO: ==31638== Lock acquired, processing the job...
[2025-01-13 17:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:01:01] Production.INFO: neon service started
[2025-01-13 17:01:01] Production.INFO: neon service started
[2025-01-13 17:01:01] Production.INFO: ==31638== Releasing lock...
[2025-01-13 17:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:01:02] Production.INFO: ==31644== Lock acquired, processing the job...
[2025-01-13 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:01:02] Production.INFO: ==31642== Lock acquired, processing the job...
[2025-01-13 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:01:02] Production.INFO: ==31644== Releasing lock...
[2025-01-13 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:01:02] Production.INFO: ==31642== Releasing lock...
[2025-01-13 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:01:03] Production.INFO: ==31653== Lock acquired, processing the job...
[2025-01-13 12:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:01:03] Production.INFO: ==31657== Lock acquired, processing the job...
[2025-01-13 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:01:03] Production.INFO: Account Balance Start.
[2025-01-13 12:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:01:03] Production.INFO: 117
[2025-01-13 12:01:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:01:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:01:03] Production.INFO: count ==21
[2025-01-13 12:01:03] Production.INFO: ==31647== Lock acquired, processing the job...
[2025-01-13 12:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 12:01:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:01:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:01:03] Production.INFO: count ==21
[2025-01-13 12:01:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238802') start
[2025-01-13 12:01:03] Production.INFO: ==31649== Lock acquired, processing the job...
[2025-01-13 12:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:01:03] Production.INFO: ==31651== Lock acquired, processing the job...
[2025-01-13 12:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:01:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:01:03] Production.INFO: ==31655== Lock acquired, processing the job...
[2025-01-13 12:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:01:03] Production.INFO: Total Charge 0
[2025-01-13 12:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:01:03] Production.INFO: CreateAllLog End
[2025-01-13 12:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238802') end
[2025-01-13 12:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:01:03] Production.INFO: 1
[2025-01-13 12:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:01:03] Production.INFO: ==31657== Releasing lock...
[2025-01-13 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:01:04] Production.INFO: Account Balance End.
[2025-01-13 12:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:01:04] Production.INFO: ==31653== Releasing lock...
[2025-01-13 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:01:04] Production.INFO: ==31649== Releasing lock...
[2025-01-13 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:01:04] Production.ERROR: done
[2025-01-13 12:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:01:04] Production.ERROR: done
[2025-01-13 12:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:01:05
[end_date_ymd] => 2025-01-13 12:01:05
[RateCDR] => 1
)
[2025-01-13 12:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:01:05' and `end` < '2025-01-13 12:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:01:11] Production.ERROR: CronJobId end10
[2025-01-13 12:01:11] Production.INFO: ==31651== Releasing lock...
[2025-01-13 12:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:01:13] Production.INFO: call_cost start
[2025-01-13 12:01:13] Production.INFO: call_cost end
[2025-01-13 12:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:01:14] Production.INFO: ==31647== Releasing lock...
[2025-01-13 12:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:01:23] Production.INFO: count ==5780
[2025-01-13 12:01:25] Production.ERROR: pbx CDR StartTime 2025-01-13 09:01:05 - End Time 2025-01-13 12:01:05
[2025-01-13 12:01:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238805', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238805', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238805', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238805', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:01:25] Production.INFO: ProcessCDR(1,14238805,1,1,2)
[2025-01-13 12:01:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:01:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:01:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:01:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:01:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238805', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:01:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238805', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:01:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:01:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:01:30] Production.INFO: ==31655== Releasing lock...
[2025-01-13 12:01:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:01:30] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:02:02] Production.INFO: ==31710== Lock acquired, processing the job...
[2025-01-13 17:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:02:02] Production.INFO: neon service started
[2025-01-13 17:02:02] Production.INFO: neon service started
[2025-01-13 17:02:02] Production.INFO: ==31710== Releasing lock...
[2025-01-13 17:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:02:02] Production.INFO: ==31713== Lock acquired, processing the job...
[2025-01-13 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:02:03] Production.INFO: ==31715== Lock acquired, processing the job...
[2025-01-13 17:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:02:03] Production.INFO: ==31715== Releasing lock...
[2025-01-13 17:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:02:03] Production.INFO: ==31713== Releasing lock...
[2025-01-13 12:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:02:04] Production.INFO: ==31717== Lock acquired, processing the job...
[2025-01-13 12:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:02:04] Production.INFO: ==31719== Lock acquired, processing the job...
[2025-01-13 12:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:02:04] Production.INFO: ==31723== Lock acquired, processing the job...
[2025-01-13 12:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:02:04] Production.INFO: Account Balance Start.
[2025-01-13 12:02:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:02:04] Production.INFO: 117
[2025-01-13 12:02:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:02:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:02:04] Production.INFO: ==31721== Lock acquired, processing the job...
[2025-01-13 12:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:02:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:02:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:02:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:02:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:02:04] Production.INFO: Total Charge 0
[2025-01-13 12:02:04] Production.INFO: ==31727== Lock acquired, processing the job...
[2025-01-13 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:02:04] Production.INFO: ==31725== Lock acquired, processing the job...
[2025-01-13 12:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:02:04] Production.INFO: ==31719== Releasing lock...
[2025-01-13 12:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:02:04] Production.INFO: CreateAllLog End
[2025-01-13 12:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:02:04] Production.INFO: count ==21
[2025-01-13 12:02:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:02:05] Production.INFO: count ==21
[2025-01-13 12:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14238809') start
[2025-01-13 12:02:05] Production.INFO: Account Balance End.
[2025-01-13 12:02:05] Production.ERROR: done
[2025-01-13 12:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14238809') end
[2025-01-13 12:02:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:02:05] Production.INFO: 1
[2025-01-13 12:02:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:02:05] Production.ERROR: CronJobId end 12
[2025-01-13 12:02:05] Production.INFO: ==31723== Releasing lock...
[2025-01-13 12:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:02:05] Production.INFO: ==31727== Releasing lock...
[2025-01-13 12:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:02:05] Production.ERROR: done
[2025-01-13 12:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:02:06
[end_date_ymd] => 2025-01-13 12:02:06
[RateCDR] => 1
)
[2025-01-13 12:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:02:06' and `end` < '2025-01-13 12:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:02:13] Production.ERROR: CronJobId end10
[2025-01-13 12:02:13] Production.INFO: ==31721== Releasing lock...
[2025-01-13 12:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:02:14] Production.INFO: call_cost start
[2025-01-13 12:02:14] Production.INFO: call_cost end
[2025-01-13 12:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:02:15] Production.INFO: ==31717== Releasing lock...
[2025-01-13 12:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:02:23] Production.INFO: count ==5778
[2025-01-13 12:02:26] Production.ERROR: pbx CDR StartTime 2025-01-13 09:02:06 - End Time 2025-01-13 12:02:06
[2025-01-13 12:02:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238810', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238810', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238810', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238810', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:02:26] Production.INFO: ProcessCDR(1,14238810,1,1,2)
[2025-01-13 12:02:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:02:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:02:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:02:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238810', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:02:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238810', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:02:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:02:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:02:31] Production.INFO: ==31725== Releasing lock...
[2025-01-13 12:02:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:02:31] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:03:01] Production.INFO: ==31784== Lock acquired, processing the job...
[2025-01-13 17:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:03:02] Production.INFO: neon service started
[2025-01-13 17:03:02] Production.INFO: neon service started
[2025-01-13 17:03:02] Production.INFO: ==31784== Releasing lock...
[2025-01-13 17:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:03:02] Production.INFO: ==31786== Lock acquired, processing the job...
[2025-01-13 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:03:02] Production.INFO: ==31788== Lock acquired, processing the job...
[2025-01-13 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:03:02] Production.INFO: ==31788== Releasing lock...
[2025-01-13 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:03:02] Production.INFO: ==31786== Releasing lock...
[2025-01-13 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:03:03] Production.INFO: ==31797== Lock acquired, processing the job...
[2025-01-13 12:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:03:03] Production.INFO: ==31801== Lock acquired, processing the job...
[2025-01-13 12:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:03:03] Production.INFO: Account Balance Start.
[2025-01-13 12:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:03:03] Production.INFO: 117
[2025-01-13 12:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:03:03] Production.INFO: count ==21
[2025-01-13 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-13 12:03:03] Production.INFO: ==31791== Lock acquired, processing the job...
[2025-01-13 12:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:03:03] Production.INFO: count ==21
[2025-01-13 12:03:03] Production.INFO: ==31793== Lock acquired, processing the job...
[2025-01-13 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:03:03] Production.INFO: ==31795== Lock acquired, processing the job...
[2025-01-13 12:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238812') start
[2025-01-13 12:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:03:03] Production.INFO: ==31799== Lock acquired, processing the job...
[2025-01-13 12:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:03:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:03:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238812') end
[2025-01-13 12:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:03:03] Production.INFO: 1
[2025-01-13 12:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:03:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:03:04] Production.INFO: Total Charge 0
[2025-01-13 12:03:04] Production.INFO: CreateAllLog End
[2025-01-13 12:03:04] Production.INFO: ==31801== Releasing lock...
[2025-01-13 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:03:04] Production.INFO: Account Balance End.
[2025-01-13 12:03:04] Production.ERROR: done
[2025-01-13 12:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:03:04] Production.INFO: ==31793== Releasing lock...
[2025-01-13 12:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:03:04] Production.INFO: ==31797== Releasing lock...
[2025-01-13 12:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:03:04] Production.ERROR: done
[2025-01-13 12:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:03:05
[end_date_ymd] => 2025-01-13 12:03:05
[RateCDR] => 1
)
[2025-01-13 12:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:03:05' and `end` < '2025-01-13 12:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:03:11] Production.ERROR: CronJobId end10
[2025-01-13 12:03:11] Production.INFO: ==31795== Releasing lock...
[2025-01-13 12:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:03:13] Production.INFO: call_cost start
[2025-01-13 12:03:13] Production.INFO: call_cost end
[2025-01-13 12:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:03:14] Production.INFO: ==31791== Releasing lock...
[2025-01-13 12:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:03:18] Production.INFO: count ==5753
[2025-01-13 12:03:21] Production.ERROR: pbx CDR StartTime 2025-01-13 09:03:05 - End Time 2025-01-13 12:03:05
[2025-01-13 12:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238815', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238815', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238815', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238815', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:03:21] Production.INFO: ProcessCDR(1,14238815,1,1,2)
[2025-01-13 12:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238815', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238815', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:03:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:03:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:03:25] Production.INFO: ==31799== Releasing lock...
[2025-01-13 12:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:03:25] Production.INFO: 71 MB #Memory Used#
[2025-01-13 17:04:01] Production.INFO: ==31855== Lock acquired, processing the job...
[2025-01-13 17:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:04:01] Production.INFO: neon service started
[2025-01-13 17:04:01] Production.INFO: neon service started
[2025-01-13 17:04:01] Production.INFO: ==31855== Releasing lock...
[2025-01-13 17:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:04:01] Production.INFO: ==31859== Lock acquired, processing the job...
[2025-01-13 17:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:04:01] Production.INFO: ==31859== Releasing lock...
[2025-01-13 17:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:04:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:04:01] Production.INFO: ==31857== Lock acquired, processing the job...
[2025-01-13 12:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:04:02] Production.INFO: ==31857== Releasing lock...
[2025-01-13 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:04:02] Production.INFO: ==31865== Lock acquired, processing the job...
[2025-01-13 12:04:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:04:02] Production.INFO: ==31867== Lock acquired, processing the job...
[2025-01-13 12:04:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:04:03] Production.INFO: Account Balance Start.
[2025-01-13 12:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:04:03] Production.INFO: 117
[2025-01-13 12:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:04:03] Production.INFO: ==31869== Lock acquired, processing the job...
[2025-01-13 12:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:04:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:04:03] Production.INFO: ==31863== Lock acquired, processing the job...
[2025-01-13 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:04:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:04:03] Production.INFO: ==31861== Lock acquired, processing the job...
[2025-01-13 12:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:04:03] Production.INFO: ==31871== Lock acquired, processing the job...
[2025-01-13 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:04:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:04:03] Production.ERROR: done
[2025-01-13 12:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:04:03] Production.INFO: Total Charge 0
[2025-01-13 12:04:03] Production.INFO: CreateAllLog End
[2025-01-13 12:04:03] Production.ERROR: done
[2025-01-13 12:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 12:04:03] Production.INFO: count ==21
[2025-01-13 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-13 12:04:03] Production.INFO: count ==21
[2025-01-13 12:04:03] Production.INFO: Account Balance End.
[2025-01-13 12:04:03] Production.INFO: ==31863== Releasing lock...
[2025-01-13 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238818') start
[2025-01-13 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238818') end
[2025-01-13 12:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:04:04] Production.INFO: 1
[2025-01-13 12:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:04:04] Production.INFO: ==31867== Releasing lock...
[2025-01-13 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:04:04] Production.INFO: ==31871== Releasing lock...
[2025-01-13 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:04:04
[end_date_ymd] => 2025-01-13 12:04:04
[RateCDR] => 1
)
[2025-01-13 12: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-13 09:04:04' and `end` < '2025-01-13 12: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-13 12:04:11] Production.ERROR: CronJobId end10
[2025-01-13 12:04:11] Production.INFO: ==31865== Releasing lock...
[2025-01-13 12:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:04:13] Production.INFO: call_cost start
[2025-01-13 12:04:13] Production.INFO: call_cost end
[2025-01-13 12:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:04:14] Production.INFO: ==31861== Releasing lock...
[2025-01-13 12:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:04:18] Production.INFO: count ==5746
[2025-01-13 12:04:20] Production.ERROR: pbx CDR StartTime 2025-01-13 09:04:04 - End Time 2025-01-13 12:04:04
[2025-01-13 12:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238819', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238819', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238819', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238819', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:04:20] Production.INFO: ProcessCDR(1,14238819,1,1,2)
[2025-01-13 12:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:04:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238819', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238819', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:04:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:04:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:04:25] Production.INFO: ==31869== Releasing lock...
[2025-01-13 12:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:04:25] Production.INFO: 71 MB #Memory Used#
[2025-01-13 17:05:01] Production.INFO: ==31925== Lock acquired, processing the job...
[2025-01-13 17:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:05:01] Production.INFO: neon service started
[2025-01-13 17:05:01] Production.INFO: neon service started
[2025-01-13 17:05:01] Production.INFO: ==31925== Releasing lock...
[2025-01-13 17:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:05:02] Production.INFO: ==31927== Lock acquired, processing the job...
[2025-01-13 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:05:02] Production.INFO: ==31927== Releasing lock...
[2025-01-13 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:05:02] Production.INFO: ==31929== Lock acquired, processing the job...
[2025-01-13 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:05:02] Production.INFO: ==31929== Releasing lock...
[2025-01-13 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:05:03] Production.INFO: ==31931== Lock acquired, processing the job...
[2025-01-13 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:05:03] Production.INFO: ==31938== Lock acquired, processing the job...
[2025-01-13 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:05:03] Production.INFO: ==31936== Lock acquired, processing the job...
[2025-01-13 12:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:05:03] Production.INFO: Account Balance Start.
[2025-01-13 12:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:05:03] Production.INFO: 117
[2025-01-13 12:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:05:03] Production.INFO: ==31934== Lock acquired, processing the job...
[2025-01-13 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:05:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:05:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:05:03] Production.INFO: ==31942== Lock acquired, processing the job...
[2025-01-13 12:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:05:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:05:03] Production.INFO: ==31940== Lock acquired, processing the job...
[2025-01-13 12:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:05:03] Production.INFO: Total Charge 0
[2025-01-13 12:05:03] Production.INFO: CreateAllLog End
[2025-01-13 12:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 12:05:03] Production.INFO: count ==21
[2025-01-13 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-13 12:05:03] Production.INFO: count ==21
[2025-01-13 12:05:03] Production.INFO: ==31934== Releasing lock...
[2025-01-13 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238824') start
[2025-01-13 12:05:03] Production.INFO: Account Balance End.
[2025-01-13 12:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238824') end
[2025-01-13 12:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:05:03] Production.INFO: 1
[2025-01-13 12:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:05:04] Production.INFO: ==31938== Releasing lock...
[2025-01-13 12:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:05:04] Production.INFO: ==31942== Releasing lock...
[2025-01-13 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:05:04] Production.ERROR: done
[2025-01-13 12:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:05:04] Production.ERROR: done
[2025-01-13 12:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:05:05
[end_date_ymd] => 2025-01-13 12:05:05
[RateCDR] => 1
)
[2025-01-13 12:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:05:05' and `end` < '2025-01-13 12:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:05:10] Production.ERROR: CronJobId end10
[2025-01-13 12:05:10] Production.INFO: ==31936== Releasing lock...
[2025-01-13 12:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:05:12] Production.INFO: call_cost start
[2025-01-13 12:05:12] Production.INFO: call_cost end
[2025-01-13 12:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:05:13] Production.INFO: ==31931== Releasing lock...
[2025-01-13 12:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:05:21] Production.INFO: count ==5777
[2025-01-13 12:05:23] Production.ERROR: pbx CDR StartTime 2025-01-13 09:05:05 - End Time 2025-01-13 12:05:05
[2025-01-13 12:05:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238825', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:05:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238825', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:05:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238825', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:05:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238825', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:05:24] Production.INFO: ProcessCDR(1,14238825,1,1,2)
[2025-01-13 12:05:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:05:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:05:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:05:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238825', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238825', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:05:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:05:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:05:28] Production.INFO: ==31940== Releasing lock...
[2025-01-13 12:05:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:05:28] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:06:02] Production.INFO: ==31998== Lock acquired, processing the job...
[2025-01-13 17:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:06:02] Production.INFO: neon service started
[2025-01-13 17:06:02] Production.INFO: neon service started
[2025-01-13 17:06:02] Production.INFO: ==31998== Releasing lock...
[2025-01-13 17:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:06:02] Production.INFO: ==32002== Lock acquired, processing the job...
[2025-01-13 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:06:02] Production.INFO: ==32002== Releasing lock...
[2025-01-13 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:06:02] Production.INFO: ==32000== Lock acquired, processing the job...
[2025-01-13 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:06:03] Production.INFO: ==32000== Releasing lock...
[2025-01-13 12:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:06:03] Production.INFO: ==32004== Lock acquired, processing the job...
[2025-01-13 12:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:06:03] Production.INFO: ==32006== Lock acquired, processing the job...
[2025-01-13 12:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:06:03] Production.INFO: ==32008== Lock acquired, processing the job...
[2025-01-13 12:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:06:04] Production.INFO: ==32010== Lock acquired, processing the job...
[2025-01-13 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:06:04] Production.INFO: ==32014== Lock acquired, processing the job...
[2025-01-13 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:06:04] Production.INFO: ==32012== Lock acquired, processing the job...
[2025-01-13 12:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:06:04] Production.INFO: ==32006== Releasing lock...
[2025-01-13 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:06:04] Production.INFO: Account Balance Start.
[2025-01-13 12:06:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:06:04] Production.INFO: 117
[2025-01-13 12:06:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:06:04] Production.INFO: count ==21
[2025-01-13 12:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:06:04] Production.INFO: count ==21
[2025-01-13 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238828') start
[2025-01-13 12:06:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238828') end
[2025-01-13 12:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:06:04] Production.INFO: 1
[2025-01-13 12:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:06:04] Production.ERROR: done
[2025-01-13 12:06:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:06:04] Production.INFO: ==32014== Releasing lock...
[2025-01-13 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:06:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:06:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:06:04] Production.INFO: Total Charge 0
[2025-01-13 12:06:04] Production.ERROR: done
[2025-01-13 12:06:04] Production.INFO: CreateAllLog End
[2025-01-13 12:06:05] Production.INFO: Account Balance End.
[2025-01-13 12:06:05] Production.ERROR: CronJobId end 12
[2025-01-13 12:06:05] Production.INFO: ==32010== Releasing lock...
[2025-01-13 12:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:06:06
[end_date_ymd] => 2025-01-13 12:06:06
[RateCDR] => 1
)
[2025-01-13 12:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:06:06' and `end` < '2025-01-13 12:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:06:11] Production.ERROR: CronJobId end10
[2025-01-13 12:06:11] Production.INFO: ==32008== Releasing lock...
[2025-01-13 12:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:06:13] Production.INFO: call_cost start
[2025-01-13 12:06:13] Production.INFO: call_cost end
[2025-01-13 12:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:06:14] Production.INFO: ==32004== Releasing lock...
[2025-01-13 12:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:06:34] Production.INFO: count ==5779
[2025-01-13 12:06:36] Production.ERROR: pbx CDR StartTime 2025-01-13 09:06:06 - End Time 2025-01-13 12:06:06
[2025-01-13 12:06:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:06:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238830', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:06:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238830', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:06:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238830', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:06:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238830', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:06:36] Production.INFO: ProcessCDR(1,14238830,1,1,2)
[2025-01-13 12:06:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:06:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:06:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:06:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:06:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238830', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:06:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238830', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:06:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:06:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:06:41] Production.INFO: ==32012== Releasing lock...
[2025-01-13 12:06:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:06:41] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:07:01] Production.INFO: ==32069== Lock acquired, processing the job...
[2025-01-13 17:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:07:01] Production.INFO: neon service started
[2025-01-13 17:07:01] Production.INFO: neon service started
[2025-01-13 17:07:01] Production.INFO: ==32069== Releasing lock...
[2025-01-13 17:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:07:01] Production.INFO: ==32071== Lock acquired, processing the job...
[2025-01-13 12:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:07:02] Production.INFO: ==32071== Releasing lock...
[2025-01-13 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:07:02] Production.INFO: ==32073== Lock acquired, processing the job...
[2025-01-13 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:07:02] Production.INFO: ==32073== Releasing lock...
[2025-01-13 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:07:03] Production.INFO: ==32075== Lock acquired, processing the job...
[2025-01-13 12:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:07:03] Production.INFO: ==32083== Lock acquired, processing the job...
[2025-01-13 12:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:07:03] Production.INFO: ==32079== Lock acquired, processing the job...
[2025-01-13 12:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:07:03] Production.INFO: ==32077== Lock acquired, processing the job...
[2025-01-13 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:07:03] Production.INFO: ==32081== Lock acquired, processing the job...
[2025-01-13 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:07:03] Production.INFO: ==32085== Lock acquired, processing the job...
[2025-01-13 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:07:03] Production.INFO: Account Balance Start.
[2025-01-13 12:07:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:07:03] Production.INFO: 117
[2025-01-13 12:07:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:07:03] Production.ERROR: done
[2025-01-13 12:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:07:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 12:07:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:07:03] Production.INFO: count ==21
[2025-01-13 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-13 12:07:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:07:03] Production.INFO: count ==21
[2025-01-13 12:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238834') start
[2025-01-13 12:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238834') end
[2025-01-13 12:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:07:03] Production.INFO: 1
[2025-01-13 12:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:07:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:07:03] Production.INFO: ==32077== Releasing lock...
[2025-01-13 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:07:03] Production.ERROR: done
[2025-01-13 12:07:03] Production.INFO: ==32085== Releasing lock...
[2025-01-13 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:07:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:07:04] Production.INFO: Total Charge 0
[2025-01-13 12:07:04] Production.INFO: CreateAllLog End
[2025-01-13 12:07:04] Production.INFO: Account Balance End.
[2025-01-13 12:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:07:04] Production.INFO: ==32081== Releasing lock...
[2025-01-13 12:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:07:04
[end_date_ymd] => 2025-01-13 12:07:04
[RateCDR] => 1
)
[2025-01-13 12: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-13 09:07:04' and `end` < '2025-01-13 12: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-13 12:07: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-13 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-13 12:07:11] Production.ERROR: CronJobId end10
[2025-01-13 12:07:11] Production.INFO: ==32079== Releasing lock...
[2025-01-13 12:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:07:12] Production.INFO: call_cost start
[2025-01-13 12:07:12] Production.INFO: call_cost end
[2025-01-13 12:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:07:13] Production.INFO: ==32075== Releasing lock...
[2025-01-13 12:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:07:24] Production.INFO: count ==5790
[2025-01-13 12:07:26] Production.ERROR: pbx CDR StartTime 2025-01-13 09:07:04 - End Time 2025-01-13 12:07:04
[2025-01-13 12:07:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238835', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238835', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238835', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238835', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:07:26] Production.INFO: ProcessCDR(1,14238835,1,1,2)
[2025-01-13 12:07:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:07:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:07:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:07:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:07:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238835', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:07:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238835', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:07:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:07:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:07:31] Production.INFO: ==32083== Releasing lock...
[2025-01-13 12:07:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:07:31] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:08:02] Production.INFO: ==32139== Lock acquired, processing the job...
[2025-01-13 17:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:08:02] Production.INFO: neon service started
[2025-01-13 17:08:02] Production.INFO: neon service started
[2025-01-13 17:08:02] Production.INFO: ==32139== Releasing lock...
[2025-01-13 17:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:08:02] Production.INFO: ==32144== Lock acquired, processing the job...
[2025-01-13 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:08:02] Production.INFO: ==32144== Releasing lock...
[2025-01-13 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:08:02] Production.INFO: ==32142== Lock acquired, processing the job...
[2025-01-13 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:08:03] Production.INFO: ==32142== Releasing lock...
[2025-01-13 12:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:08:03] Production.INFO: ==32146== Lock acquired, processing the job...
[2025-01-13 12:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:08:04] Production.INFO: ==32150== Lock acquired, processing the job...
[2025-01-13 12:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:08:04] Production.INFO: ==32148== Lock acquired, processing the job...
[2025-01-13 12:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:08:04] Production.INFO: ==32152== Lock acquired, processing the job...
[2025-01-13 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:08:04] Production.INFO: ==32154== Lock acquired, processing the job...
[2025-01-13 12:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:08:04] Production.INFO: ==32156== Lock acquired, processing the job...
[2025-01-13 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:08:04] Production.INFO: Account Balance Start.
[2025-01-13 12:08:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:08:04] Production.INFO: 117
[2025-01-13 12:08:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:08:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:08:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:08:04] Production.INFO: count ==21
[2025-01-13 12:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:08:04] Production.INFO: count ==21
[2025-01-13 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238839') start
[2025-01-13 12:08:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:08:04] Production.ERROR: done
[2025-01-13 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:08:04] Production.INFO: ==32148== Releasing lock...
[2025-01-13 12:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:08:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:08:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:08:04] Production.INFO: Total Charge 0
[2025-01-13 12:08:04] Production.INFO: CreateAllLog End
[2025-01-13 12:08:04] Production.ERROR: done
[2025-01-13 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238839') end
[2025-01-13 12:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:08:04] Production.INFO: 1
[2025-01-13 12:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:08:04] Production.INFO: ==32156== Releasing lock...
[2025-01-13 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:08:04] Production.INFO: Account Balance End.
[2025-01-13 12:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:08:04] Production.INFO: ==32152== Releasing lock...
[2025-01-13 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:08:05
[end_date_ymd] => 2025-01-13 12:08:05
[RateCDR] => 1
)
[2025-01-13 12:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:08:05' and `end` < '2025-01-13 12:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:08:12] Production.ERROR: CronJobId end10
[2025-01-13 12:08:12] Production.INFO: ==32150== Releasing lock...
[2025-01-13 12:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:08:14] Production.INFO: call_cost start
[2025-01-13 12:08:14] Production.INFO: call_cost end
[2025-01-13 12:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:08:15] Production.INFO: ==32146== Releasing lock...
[2025-01-13 12:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:08:23] Production.INFO: count ==5782
[2025-01-13 12:08:25] Production.ERROR: pbx CDR StartTime 2025-01-13 09:08:05 - End Time 2025-01-13 12:08:05
[2025-01-13 12:08:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238840', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238840', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238840', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238840', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:08:26] Production.INFO: ProcessCDR(1,14238840,1,1,2)
[2025-01-13 12:08:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:08:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:08:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:08:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:08:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238840', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:08:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238840', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:08:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:08:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:08:30] Production.INFO: ==32154== Releasing lock...
[2025-01-13 12:08:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:08:30] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:09:01] Production.INFO: ==32248== Lock acquired, processing the job...
[2025-01-13 17:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:09:01] Production.INFO: neon service started
[2025-01-13 17:09:01] Production.INFO: neon service started
[2025-01-13 17:09:01] Production.INFO: ==32248== Releasing lock...
[2025-01-13 17:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:09:02] Production.INFO: ==32252== Lock acquired, processing the job...
[2025-01-13 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:09:02] Production.INFO: ==32252== Releasing lock...
[2025-01-13 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:09:02] Production.INFO: ==32250== Lock acquired, processing the job...
[2025-01-13 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:09:02] Production.INFO: ==32250== Releasing lock...
[2025-01-13 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:09:03] Production.INFO: ==32254== Lock acquired, processing the job...
[2025-01-13 12:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:09:03] Production.INFO: ==32256== Lock acquired, processing the job...
[2025-01-13 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:09:03] Production.INFO: ==32258== Lock acquired, processing the job...
[2025-01-13 12:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:09:03] Production.INFO: ==32260== Lock acquired, processing the job...
[2025-01-13 12:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:09:03] Production.INFO: ==32264== Lock acquired, processing the job...
[2025-01-13 12:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:09:03] Production.INFO: ==32256== Releasing lock...
[2025-01-13 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:09:03] Production.INFO: Account Balance Start.
[2025-01-13 12:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:09:03] Production.INFO: 117
[2025-01-13 12:09:03] Production.INFO: ==32262== Lock acquired, processing the job...
[2025-01-13 12:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:09:03] Production.INFO: count ==21
[2025-01-13 12:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:09:03] Production.INFO: count ==21
[2025-01-13 12:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238844') start
[2025-01-13 12:09:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:09:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238844') end
[2025-01-13 12:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:09:03] Production.INFO: 1
[2025-01-13 12:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:09:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:09:04] Production.INFO: ==32264== Releasing lock...
[2025-01-13 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:09:04] Production.INFO: Total Charge 0
[2025-01-13 12:09:04] Production.INFO: CreateAllLog End
[2025-01-13 12:09:04] Production.ERROR: done
[2025-01-13 12:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:09:04] Production.INFO: Account Balance End.
[2025-01-13 12:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:09:04] Production.INFO: ==32260== Releasing lock...
[2025-01-13 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:09:04] Production.ERROR: done
[2025-01-13 12:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:09:05
[end_date_ymd] => 2025-01-13 12:09:05
[RateCDR] => 1
)
[2025-01-13 12:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:09:05' and `end` < '2025-01-13 12:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:09:11] Production.ERROR: CronJobId end10
[2025-01-13 12:09:11] Production.INFO: ==32258== Releasing lock...
[2025-01-13 12:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:09:13] Production.INFO: call_cost start
[2025-01-13 12:09:13] Production.INFO: call_cost end
[2025-01-13 12:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:09:13] Production.INFO: ==32254== Releasing lock...
[2025-01-13 12:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:09:19] Production.INFO: count ==5811
[2025-01-13 12:09:22] Production.ERROR: pbx CDR StartTime 2025-01-13 09:09:05 - End Time 2025-01-13 12:09:05
[2025-01-13 12:09:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238845', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238845', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238845', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238845', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:09:22] Production.INFO: ProcessCDR(1,14238845,1,1,2)
[2025-01-13 12:09:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238845', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238845', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:09:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:09:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:09:27] Production.INFO: ==32262== Releasing lock...
[2025-01-13 12:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:09:27] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:10:02] Production.INFO: ==32319== Lock acquired, processing the job...
[2025-01-13 17:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:10:02] Production.INFO: neon service started
[2025-01-13 17:10:02] Production.INFO: neon service started
[2025-01-13 17:10:02] Production.INFO: ==32319== Releasing lock...
[2025-01-13 17:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:10:02] Production.INFO: ==32321== Lock acquired, processing the job...
[2025-01-13 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:10:02] Production.INFO: ==32321== Releasing lock...
[2025-01-13 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:10:03] Production.INFO: ==32323== Lock acquired, processing the job...
[2025-01-13 17:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:10:03] Production.INFO: ==32323== Releasing lock...
[2025-01-13 17:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:10:03] Production.INFO: ==32330== Lock acquired, processing the job...
[2025-01-13 12:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:10:04] Production.INFO: ==32338== Lock acquired, processing the job...
[2025-01-13 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 12:10:04] Production.INFO: ==32326== Lock acquired, processing the job...
[2025-01-13 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 12:10:04] Production.INFO: ==32340== Lock acquired, processing the job...
[2025-01-13 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:10:04] Production.INFO: ==32328== Lock acquired, processing the job...
[2025-01-13 12:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:10:04] Production.INFO: ==32332== Lock acquired, processing the job...
[2025-01-13 12:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:10:04] Production.INFO: ==32334== Lock acquired, processing the job...
[2025-01-13 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:10:04] Production.INFO: ==32336== Lock acquired, processing the job...
[2025-01-13 12:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:10:04] Production.ERROR: CronJob PID - 32328
[2025-01-13 12:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 12:10:04] Production.ERROR: CronJob ID - 5
[2025-01-13 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 12:10:00
[2025-01-13 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:10:04] Production.ERROR: CronJob PID - 32330
[2025-01-13 12:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 12:10:04] Production.ERROR: CronJob ID - 7
[2025-01-13 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 12:10:00
[2025-01-13 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:10:04] Production.ERROR: CronJob PID - 32332
[2025-01-13 12:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 12:10:04] Production.ERROR: CronJob ID - 10
[2025-01-13 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 12:10:00
[2025-01-13 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 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-13 12:10:04] Production.ERROR: CronJob PID - 32338
[2025-01-13 12:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 12:10:04] Production.ERROR: CronJob ID - 17
[2025-01-13 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 12:10:00
[2025-01-13 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:10:04] Production.ERROR: CronJob PID - 32340
[2025-01-13 12:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 12:10:04] Production.ERROR: CronJob ID - 19
[2025-01-13 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 12:10:00
[2025-01-13 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:10:04] Production.INFO: count ==21
[2025-01-13 12:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 12:10:04] Production.INFO: ==32326== Releasing lock...
[2025-01-13 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 12:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 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-13 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:10:04] Production.INFO: count ==21
[2025-01-13 12:10:04] Production.INFO: Account Balance Start.
[2025-01-13 12:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:10:04] Production.INFO: ==32330== Releasing lock...
[2025-01-13 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238847') start
[2025-01-13 12:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:10:04] Production.INFO: 117
[2025-01-13 12:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:10:04] Production.ERROR: done
[2025-01-13 12:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238847') end
[2025-01-13 12:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:10:04] Production.INFO: 1
[2025-01-13 12:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 12:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238850', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 12:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:10:04] Production.INFO: ==32340== Releasing lock...
[2025-01-13 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:10:04] Production.ERROR: done
[2025-01-13 12:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:10:04] Production.INFO: Total Charge 0
[2025-01-13 12:10:04] Production.INFO: CreateAllLog End
[2025-01-13 12:10:05] Production.ERROR: done
[2025-01-13 12:10:05] Production.INFO: Account Balance End.
[2025-01-13 12:10:05] Production.ERROR: CronJobId end 12
[2025-01-13 12:10:05] Production.INFO: ==32334== Releasing lock...
[2025-01-13 12:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:10:06
[end_date_ymd] => 2025-01-13 12:10:06
[RateCDR] => 1
)
[2025-01-13 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-13 09:10:06' and `end` < '2025-01-13 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-13 12:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238850', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 12:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 12:10:09] Production.INFO: ProcessCDR(1,14238850,1,1,2)
[2025-01-13 12:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238850,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238850,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:10:09] Production.INFO: ==32338== Releasing lock...
[2025-01-13 12:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 12:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 12:10:13] Production.ERROR: CronJobId end10
[2025-01-13 12:10:13] Production.INFO: ==32332== Releasing lock...
[2025-01-13 12:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:10:15] Production.INFO: call_cost start
[2025-01-13 12:10:15] Production.INFO: call_cost end
[2025-01-13 12:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:10:16] Production.INFO: ==32328== Releasing lock...
[2025-01-13 12:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:10:26] Production.INFO: count ==5822
[2025-01-13 12:10:29] Production.ERROR: pbx CDR StartTime 2025-01-13 09:10:06 - End Time 2025-01-13 12:10:06
[2025-01-13 12:10:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:10:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238851', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:10:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238851', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:10:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238851', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:10:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238851', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:10:29] Production.INFO: ProcessCDR(1,14238851,1,1,2)
[2025-01-13 12:10:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:10:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:10:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:10:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:10:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238851', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:10:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238851', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:10:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:10:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:10:33] Production.INFO: ==32336== Releasing lock...
[2025-01-13 12:10:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:10:33] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:11:01] Production.INFO: ==32393== Lock acquired, processing the job...
[2025-01-13 17:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:11:01] Production.INFO: neon service started
[2025-01-13 17:11:01] Production.INFO: neon service started
[2025-01-13 17:11:01] Production.INFO: ==32393== Releasing lock...
[2025-01-13 17:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:11:01] Production.INFO: ==32397== Lock acquired, processing the job...
[2025-01-13 17:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:11:02] Production.INFO: ==32397== Releasing lock...
[2025-01-13 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:11:02] Production.INFO: ==32395== Lock acquired, processing the job...
[2025-01-13 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:11:02] Production.INFO: ==32395== Releasing lock...
[2025-01-13 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:11:03] Production.INFO: ==32404== Lock acquired, processing the job...
[2025-01-13 12:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:11:03] Production.INFO: ==32410== Lock acquired, processing the job...
[2025-01-13 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 12:11:03] Production.INFO: ==32400== Lock acquired, processing the job...
[2025-01-13 12:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:11:03] Production.INFO: count ==21
[2025-01-13 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-13 12:11:03] Production.INFO: ==32402== Lock acquired, processing the job...
[2025-01-13 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:11:03] Production.INFO: count ==21
[2025-01-13 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238852') start
[2025-01-13 12:11:03] Production.INFO: ==32406== Lock acquired, processing the job...
[2025-01-13 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:11:03] Production.INFO: ==32408== Lock acquired, processing the job...
[2025-01-13 12:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238852') end
[2025-01-13 12:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:11:03] Production.INFO: 1
[2025-01-13 12:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:11:03] Production.INFO: ==32410== Releasing lock...
[2025-01-13 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:11:03] Production.INFO: Account Balance Start.
[2025-01-13 12:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:11:03] Production.INFO: 117
[2025-01-13 12:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:11:03] Production.INFO: ==32402== Releasing lock...
[2025-01-13 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:11:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:11:04] Production.ERROR: done
[2025-01-13 12:11:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:11:04] Production.ERROR: done
[2025-01-13 12:11:04] Production.INFO: Total Charge 0
[2025-01-13 12:11:04] Production.INFO: CreateAllLog End
[2025-01-13 12:11:04] Production.INFO: Account Balance End.
[2025-01-13 12:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:11:04] Production.INFO: ==32406== Releasing lock...
[2025-01-13 12:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:11:04
[end_date_ymd] => 2025-01-13 12:11:04
[RateCDR] => 1
)
[2025-01-13 12:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:11:04' and `end` < '2025-01-13 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-13 12:11:10] Production.ERROR: CronJobId end10
[2025-01-13 12:11:10] Production.INFO: ==32404== Releasing lock...
[2025-01-13 12:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:11:13] Production.INFO: call_cost start
[2025-01-13 12:11:13] Production.INFO: call_cost end
[2025-01-13 12:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:11:14] Production.INFO: ==32400== Releasing lock...
[2025-01-13 12:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:11:20] Production.INFO: count ==5874
[2025-01-13 12:11:22] Production.ERROR: pbx CDR StartTime 2025-01-13 09:11:04 - End Time 2025-01-13 12:11:04
[2025-01-13 12:11:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238856', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238856', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238856', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238856', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:11:22] Production.INFO: ProcessCDR(1,14238856,1,1,2)
[2025-01-13 12:11:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:11:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:11:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:11:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238856', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238856', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:11:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:11:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:11:27] Production.INFO: ==32408== Releasing lock...
[2025-01-13 12:11:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:11:27] Production.INFO: 72 MB #Memory Used#
[2025-01-13 17:12:02] Production.INFO: ==32469== Lock acquired, processing the job...
[2025-01-13 17:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:12:02] Production.INFO: neon service started
[2025-01-13 17:12:02] Production.INFO: neon service started
[2025-01-13 17:12:02] Production.INFO: ==32469== Releasing lock...
[2025-01-13 17:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:12:02] Production.INFO: ==32473== Lock acquired, processing the job...
[2025-01-13 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:12:02] Production.INFO: ==32473== Releasing lock...
[2025-01-13 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:12:02] Production.INFO: ==32471== Lock acquired, processing the job...
[2025-01-13 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:12:02] Production.INFO: ==32471== Releasing lock...
[2025-01-13 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:12:03] Production.INFO: ==32480== Lock acquired, processing the job...
[2025-01-13 12:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:12:03] Production.INFO: ==32486== Lock acquired, processing the job...
[2025-01-13 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:12:04] Production.INFO: count ==21
[2025-01-13 12:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:12:04] Production.INFO: count ==21
[2025-01-13 12:12:04] Production.INFO: ==32476== Lock acquired, processing the job...
[2025-01-13 12:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:12:04] Production.INFO: ==32478== Lock acquired, processing the job...
[2025-01-13 12:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238857') start
[2025-01-13 12:12:04] Production.INFO: ==32484== Lock acquired, processing the job...
[2025-01-13 12:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:12:04] Production.INFO: ==32482== Lock acquired, processing the job...
[2025-01-13 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238857') end
[2025-01-13 12:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:12:04] Production.INFO: 1
[2025-01-13 12:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:12:04] Production.INFO: ==32486== Releasing lock...
[2025-01-13 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:12:04] Production.INFO: Account Balance Start.
[2025-01-13 12:12:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:12:04] Production.INFO: 117
[2025-01-13 12:12:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:12:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:12:04] Production.INFO: ==32478== Releasing lock...
[2025-01-13 12:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:12:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:12:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:12:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:12:04] Production.ERROR: done
[2025-01-13 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:12:04] Production.INFO: Total Charge 0
[2025-01-13 12:12:04] Production.INFO: CreateAllLog End
[2025-01-13 12:12:05] Production.ERROR: done
[2025-01-13 12:12:05] Production.INFO: Account Balance End.
[2025-01-13 12:12:05] Production.ERROR: CronJobId end 12
[2025-01-13 12:12:05] Production.INFO: ==32482== Releasing lock...
[2025-01-13 12:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:12:06
[end_date_ymd] => 2025-01-13 12:12:06
[RateCDR] => 1
)
[2025-01-13 12:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:12:06' and `end` < '2025-01-13 12:12:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:12:13] Production.ERROR: CronJobId end10
[2025-01-13 12:12:13] Production.INFO: ==32480== Releasing lock...
[2025-01-13 12:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:12:15] Production.INFO: call_cost start
[2025-01-13 12:12:15] Production.INFO: call_cost end
[2025-01-13 12:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:12:15] Production.INFO: ==32476== Releasing lock...
[2025-01-13 12:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:12:24] Production.INFO: count ==5865
[2025-01-13 12:12:27] Production.ERROR: pbx CDR StartTime 2025-01-13 09:12:06 - End Time 2025-01-13 12:12:06
[2025-01-13 12:12:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:12:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238861', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:12:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238861', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:12:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238861', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:12:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238861', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:12:27] Production.INFO: ProcessCDR(1,14238861,1,1,2)
[2025-01-13 12:12:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:12:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:12:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:12:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:12:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238861', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:12:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238861', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:12:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:12:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:12:32] Production.INFO: ==32484== Releasing lock...
[2025-01-13 12:12:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:12:32] Production.INFO: 72 MB #Memory Used#
[2025-01-13 17:13:01] Production.INFO: ==32544== Lock acquired, processing the job...
[2025-01-13 17:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:13:01] Production.INFO: neon service started
[2025-01-13 17:13:01] Production.INFO: neon service started
[2025-01-13 17:13:01] Production.INFO: ==32544== Releasing lock...
[2025-01-13 17:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:13:02] Production.INFO: ==32547== Lock acquired, processing the job...
[2025-01-13 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:13:02] Production.INFO: ==32549== Lock acquired, processing the job...
[2025-01-13 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:13:02] Production.INFO: ==32549== Releasing lock...
[2025-01-13 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:13:02] Production.INFO: ==32547== Releasing lock...
[2025-01-13 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:13:03] Production.INFO: ==32557== Lock acquired, processing the job...
[2025-01-13 12:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:13:03] Production.INFO: ==32551== Lock acquired, processing the job...
[2025-01-13 12:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:13:03] Production.INFO: Account Balance Start.
[2025-01-13 12:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:13:03] Production.INFO: 117
[2025-01-13 12:13:03] Production.INFO: ==32553== Lock acquired, processing the job...
[2025-01-13 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:13:03] Production.INFO: ==32555== Lock acquired, processing the job...
[2025-01-13 12:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:13:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:13:03] Production.INFO: ==32559== Lock acquired, processing the job...
[2025-01-13 12:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:13:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:13:03] Production.INFO: ==32561== Lock acquired, processing the job...
[2025-01-13 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:13:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:13:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:13:03] Production.INFO: Total Charge 0
[2025-01-13 12:13:03] Production.INFO: CreateAllLog End
[2025-01-13 12:13:03] Production.INFO: ==32553== Releasing lock...
[2025-01-13 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:13:03] Production.INFO: Account Balance End.
[2025-01-13 12:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:13:04] Production.INFO: ==32557== Releasing lock...
[2025-01-13 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:13:04] Production.INFO: count ==21
[2025-01-13 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-13 12:13:04] Production.INFO: count ==21
[2025-01-13 12:13:04] Production.ERROR: done
[2025-01-13 12:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238865') start
[2025-01-13 12:13:04] Production.ERROR: done
[2025-01-13 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238865') end
[2025-01-13 12:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:13:04] Production.INFO: 1
[2025-01-13 12:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:13:04] Production.INFO: ==32561== Releasing lock...
[2025-01-13 12:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:13:05
[end_date_ymd] => 2025-01-13 12:13:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:13:05' and `end` < '2025-01-13 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-13 12:13:10] Production.ERROR: CronJobId end10
[2025-01-13 12:13:10] Production.INFO: ==32555== Releasing lock...
[2025-01-13 12:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:13:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:13:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:13:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:13:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:13:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:13:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:13:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:13:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:13:12] Production.INFO: call_cost start
[2025-01-13 12:13:12] Production.INFO: call_cost end
[2025-01-13 12:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:13:13] Production.INFO: ==32551== Releasing lock...
[2025-01-13 12:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:13:18] Production.INFO: count ==5870
[2025-01-13 12:13:21] Production.ERROR: pbx CDR StartTime 2025-01-13 09:13:05 - End Time 2025-01-13 12:13:05
[2025-01-13 12:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238866', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238866', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238866', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238866', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:13:21] Production.INFO: ProcessCDR(1,14238866,1,1,2)
[2025-01-13 12:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238866', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238866', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:13:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:13:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:13:25] Production.INFO: ==32559== Releasing lock...
[2025-01-13 12:13:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:13:25] Production.INFO: 72 MB #Memory Used#
[2025-01-13 17:14:02] Production.INFO: ==32625== Lock acquired, processing the job...
[2025-01-13 17:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:14:02] Production.INFO: neon service started
[2025-01-13 17:14:03] Production.INFO: neon service started
[2025-01-13 17:14:03] Production.INFO: ==32625== Releasing lock...
[2025-01-13 17:14:03] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:14:03] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:14:03] Production.INFO: ==32628== Lock acquired, processing the job...
[2025-01-13 12:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:14:03] Production.INFO: ==32630== Lock acquired, processing the job...
[2025-01-13 17:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:14:04] Production.INFO: ==32630== Releasing lock...
[2025-01-13 17:14:04] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:14:04] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:14:04] Production.INFO: ==32628== Releasing lock...
[2025-01-13 12:14:04] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:14:04] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:14:05] Production.INFO: ==32633== Lock acquired, processing the job...
[2025-01-13 12:14:05] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:14:05] Production.INFO: ==32635== Lock acquired, processing the job...
[2025-01-13 12:14:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:14:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:14:06] Production.INFO: ==32643== Lock acquired, processing the job...
[2025-01-13 12:14:06] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:14:06] Production.INFO: ==32637== Lock acquired, processing the job...
[2025-01-13 12:14:06] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:14:06] Production.INFO: ==32645== Lock acquired, processing the job...
[2025-01-13 12:14:06] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:14:06] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:14:06] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:14:06] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:14:06] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:14:06] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:14:06] Production.INFO: ==32641== Lock acquired, processing the job...
[2025-01-13 12:14:06] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-13 12:14:06] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:14:06] Production.INFO: ==32639== Lock acquired, processing the job...
[2025-01-13 12:14:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:14:06] Production.INFO: count ==21
[2025-01-13 12:14:06] Production.INFO: ==32635== Releasing lock...
[2025-01-13 12:14:06] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:14:06] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:14:06] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:14:06] Production.INFO: count ==21
[2025-01-13 12:14:06] Production.ERROR: PBX CALL prc_importPBXExtension('14238869') start
[2025-01-13 12:14:06] Production.INFO: -- Xero Api Check --
[2025-01-13 12:14:06] Production.ERROR: PBX CALL prc_importPBXExtension('14238869') end
[2025-01-13 12:14:06] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:14:06] Production.INFO: 1
[2025-01-13 12:14:06] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:14:06] Production.INFO: ==32645== Releasing lock...
[2025-01-13 12:14:06] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:14:06] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:14:06] Production.INFO: Account Balance Start.
[2025-01-13 12:14:06] Production.INFO: CreateAllLog Start
[2025-01-13 12:14:06] Production.INFO: 117
[2025-01-13 12:14:06] Production.ERROR: done
[2025-01-13 12:14:06] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:14:06] Production.INFO: Date 2025-01-08
[2025-01-13 12:14:06] Production.INFO: Reseller ==> 0
[2025-01-13 12:14:06] Production.INFO: Date 2025-01-09
[2025-01-13 12:14:06] Production.INFO: Reseller ==> 0
[2025-01-13 12:14:06] Production.ERROR: done
[2025-01-13 12:14:06] Production.INFO: Date 2025-01-10
[2025-01-13 12:14:06] Production.INFO: Reseller ==> 0
[2025-01-13 12:14:06] Production.INFO: Date 2025-01-11
[2025-01-13 12:14:06] Production.INFO: Reseller ==> 0
[2025-01-13 12:14:06] Production.INFO: Date 2025-01-12
[2025-01-13 12:14:06] Production.INFO: Reseller ==> 0
[2025-01-13 12:14:06] Production.INFO: Date 2025-01-13
[2025-01-13 12:14:06] Production.INFO: Reseller ==> 0
[2025-01-13 12:14:06] Production.INFO: Total Charge 0
[2025-01-13 12:14:07] Production.INFO: CreateAllLog End
[2025-01-13 12:14:07] Production.INFO: Account Balance End.
[2025-01-13 12:14:07] Production.ERROR: CronJobId end 12
[2025-01-13 12:14:07] Production.INFO: ==32639== Releasing lock...
[2025-01-13 12:14:07] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:14:07] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:14:07] 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.964232
[namelookup_time] => 0.549151
[connect_time] => 0.56012
[pretransfer_time] => 0.85548
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2857
[speed_upload] => 85
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.964179
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.33
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 51378
)
[2025-01-13 12:14:07] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3ODg0NDcsImV4cCI6MTczNjc4ODc0NywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2Nzg4NDQ3LCJhdF9oYXNoIjoiNE94R0YtdFBtNHdmd2xraXJVbThvdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.vI5h7tfLsDc-R7ggR1je5n1Mrb-aZWwSJTkcdZl5L0QQCTS1hgWBUTI3DFlrqC__EkoUlzxaajWYwEY5nYG3udqUcVns02GL5pHdUKn385t_mZwHSpzRPa1xACoyN8HZGQDTGYtWvGdi4SnbdZF9h6DaehCSeeVY4m1kIk3DE62qQlbkGX819mALm-xEF8CbJdz_0TdTfo_8Dtwjd1aBbTEz-UlaeTsxMDWPxWVv2hU63JHGzBye8GTfOrj39hl_C1DapLX6LEzwzFIgPegopZP6W8cy6-O7MYpyiD0NRbRStc4BlrEUa614pV1Thi7AsZhaghHPWtSqtet_NG386A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3ODg0NDcsImV4cCI6MTczNjc5MDI0NywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.cZjrrGpJY2YQc-liw6jkJpxbLXhBOMNhVJi3wZYG6xojcspSo1uPYySnS_rlgipRy5ioQDTUGFZMn2puWPKy-3jT6o4785qFA6LmHmgTgIxdmtk3TLIANN_3jgDI0TRDeuBvpWAoSOlo9fubk3NdoKWJcB8fYSdIOeiqXfZJfga0SIq3TX19Vy4Zr8DE-358wfPAMa6g7vOwyxVRxFVR3qPZyWc--t2fUfheQ6HUEfeXN7WY6zw_zn0hU6q3Ujdo4XRF5QeBf7wq7MWMsZ-7Fj0vMx4bPl-7t9O6EIikSJrKAlE8Pxpi16MqsU0GCF2wRJTBbtq4SXUjk4mOpWLMCg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => nV59Gko__AJAgFA0PHacv3lQeS3ArlzM84l1dwt98iw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-13 12:14:07] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3ODg0NDcsImV4cCI6MTczNjc4ODc0NywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2Nzg4NDQ3LCJhdF9oYXNoIjoiNE94R0YtdFBtNHdmd2xraXJVbThvdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.vI5h7tfLsDc-R7ggR1je5n1Mrb-aZWwSJTkcdZl5L0QQCTS1hgWBUTI3DFlrqC__EkoUlzxaajWYwEY5nYG3udqUcVns02GL5pHdUKn385t_mZwHSpzRPa1xACoyN8HZGQDTGYtWvGdi4SnbdZF9h6DaehCSeeVY4m1kIk3DE62qQlbkGX819mALm-xEF8CbJdz_0TdTfo_8Dtwjd1aBbTEz-UlaeTsxMDWPxWVv2hU63JHGzBye8GTfOrj39hl_C1DapLX6LEzwzFIgPegopZP6W8cy6-O7MYpyiD0NRbRStc4BlrEUa614pV1Thi7AsZhaghHPWtSqtet_NG386A
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3ODg0NDcsImV4cCI6MTczNjc5MDI0NywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.cZjrrGpJY2YQc-liw6jkJpxbLXhBOMNhVJi3wZYG6xojcspSo1uPYySnS_rlgipRy5ioQDTUGFZMn2puWPKy-3jT6o4785qFA6LmHmgTgIxdmtk3TLIANN_3jgDI0TRDeuBvpWAoSOlo9fubk3NdoKWJcB8fYSdIOeiqXfZJfga0SIq3TX19Vy4Zr8DE-358wfPAMa6g7vOwyxVRxFVR3qPZyWc--t2fUfheQ6HUEfeXN7WY6zw_zn0hU6q3Ujdo4XRF5QeBf7wq7MWMsZ-7Fj0vMx4bPl-7t9O6EIikSJrKAlE8Pxpi16MqsU0GCF2wRJTBbtq4SXUjk4mOpWLMCg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => nV59Gko__AJAgFA0PHacv3lQeS3ArlzM84l1dwt98iw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-13 12:14:07] Production.ERROR: Invoice Payment Date 2025-01-12 00:00:00
[2025-01-13 12:14:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,12)
[2025-01-13 12:14:08] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:14:08
[end_date_ymd] => 2025-01-13 12:14:08
[RateCDR] => 1
)
[2025-01-13 12:14:08] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:14:08' and `end` < '2025-01-13 12:14:08'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:14:10] Production.INFO: Batch insert start
[2025-01-13 12:14:10] Production.INFO: global counter1
[2025-01-13 12:14:10] Production.INFO: insertion start
[2025-01-13 12:14:10] Production.INFO: last batch insert 1
[2025-01-13 12:14:10] Production.INFO: insertion end
[2025-01-13 12:14:10] Production.INFO: CALL prc_importPaymentAccounting ('cc202820-d1d1-11ef-8ad4-637b5d43ade2') start
[2025-01-13 12:14:10] Production.INFO: CALL prc_importPaymentAccounting ('cc202820-d1d1-11ef-8ad4-637b5d43ade2') end
[2025-01-13 12:14:10] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-13 12:14:10] Production.INFO: 2
[2025-01-13 12:14:10] Production.ERROR: CronJobId end14
[2025-01-13 12:14:10] Production.INFO: ==32641== Releasing lock...
[2025-01-13 12:14:10] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-13 12:14:10] Production.INFO: 26 MB #Memory Used#
[2025-01-13 12:14:22] Production.ERROR: CronJobId end10
[2025-01-13 12:14:22] Production.INFO: ==32637== Releasing lock...
[2025-01-13 12:14:22] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:14:22] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:14:23] Production.INFO: count ==5851
[2025-01-13 12:14:24] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:14:24] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:14:24] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:14:24] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:14:24] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:14:24] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:14:24] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:14:24] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:14:24] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:14:24] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:14:24] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:14:24] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:14:24] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:14:24] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:14:24] Production.INFO: call_cost start
[2025-01-13 12:14:24] Production.INFO: call_cost end
[2025-01-13 12:14:25] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:14:25] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:14:25] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:14:25] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:14:25] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:14:25] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:14:25] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:14:25] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:14:25] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:14:25] Production.INFO: ==32633== Releasing lock...
[2025-01-13 12:14:25] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:14:25] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:14:26] Production.ERROR: pbx CDR StartTime 2025-01-13 09:14:08 - End Time 2025-01-13 12:14:08
[2025-01-13 12:14:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238871', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238871', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238871', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238871', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:14:26] Production.INFO: ProcessCDR(1,14238871,1,1,2)
[2025-01-13 12:14:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:14:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:14:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:14:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:14:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238871', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:14:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238871', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:14:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:14:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:14:31] Production.INFO: ==32643== Releasing lock...
[2025-01-13 12:14:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:14:31] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 17:15:01] Production.INFO: ==32700== Lock acquired, processing the job...
[2025-01-13 17:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:15:01] Production.INFO: neon service started
[2025-01-13 17:15:01] Production.INFO: neon service started
[2025-01-13 17:15:01] Production.INFO: ==32700== Releasing lock...
[2025-01-13 17:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:15:01] Production.INFO: ==32704== Lock acquired, processing the job...
[2025-01-13 17:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:15:01] Production.INFO: ==32704== Releasing lock...
[2025-01-13 17:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:15:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:15:01] Production.INFO: ==32702== Lock acquired, processing the job...
[2025-01-13 12:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:15:02] Production.INFO: ==32702== Releasing lock...
[2025-01-13 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:15:02] Production.INFO: ==32706== Lock acquired, processing the job...
[2025-01-13 12:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:15:02] Production.INFO: ==32708== Lock acquired, processing the job...
[2025-01-13 12:15:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:15:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:15:03] Production.INFO: ==32710== Lock acquired, processing the job...
[2025-01-13 12:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:15:03] Production.INFO: ==32708== Releasing lock...
[2025-01-13 12:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:15:03] Production.INFO: ==32712== Lock acquired, processing the job...
[2025-01-13 12:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:15:03] Production.INFO: Account Balance Start.
[2025-01-13 12:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:15:03] Production.INFO: 117
[2025-01-13 12:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:15:03] Production.INFO: ==32714== Lock acquired, processing the job...
[2025-01-13 12:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:15:03] Production.INFO: ==32717== Lock acquired, processing the job...
[2025-01-13 12:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:15:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:15:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:15:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:15:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:15:03] Production.INFO: count ==21
[2025-01-13 12:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:15:03] Production.INFO: count ==21
[2025-01-13 12:15:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238875') start
[2025-01-13 12:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:15:03] Production.ERROR: done
[2025-01-13 12:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:15:03] Production.INFO: Total Charge 0
[2025-01-13 12:15:03] Production.INFO: CreateAllLog End
[2025-01-13 12:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238875') end
[2025-01-13 12:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:15:03] Production.INFO: 1
[2025-01-13 12:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:15:04] Production.INFO: ==32717== Releasing lock...
[2025-01-13 12:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:15:04] Production.ERROR: done
[2025-01-13 12:15:04] Production.INFO: Account Balance End.
[2025-01-13 12:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:15:04] Production.INFO: ==32712== Releasing lock...
[2025-01-13 12:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:15:04
[end_date_ymd] => 2025-01-13 12:15:04
[RateCDR] => 1
)
[2025-01-13 12: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-13 09:15:04' and `end` < '2025-01-13 12: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-13 12:15:10] Production.ERROR: CronJobId end10
[2025-01-13 12:15:10] Production.INFO: ==32710== Releasing lock...
[2025-01-13 12:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:15:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:15:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:15:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:15:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:15:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:15:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:15:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:15:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:15:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:15:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:15:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:15:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:15:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:15:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:15:12] Production.INFO: call_cost start
[2025-01-13 12:15:12] Production.INFO: call_cost end
[2025-01-13 12:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:15:13] Production.INFO: ==32706== Releasing lock...
[2025-01-13 12:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:15:23] Production.INFO: count ==5831
[2025-01-13 12:15:26] Production.ERROR: pbx CDR StartTime 2025-01-13 09:15:04 - End Time 2025-01-13 12:15:04
[2025-01-13 12:15:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238876', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238876', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238876', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238876', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:15:26] Production.INFO: ProcessCDR(1,14238876,1,1,2)
[2025-01-13 12:15:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:15:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:15:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:15:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:15:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238876', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:15:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238876', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:15:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:15:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:15:31] Production.INFO: ==32714== Releasing lock...
[2025-01-13 12:15:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:15:31] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 17:16:01] Production.INFO: ==305== Lock acquired, processing the job...
[2025-01-13 17:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:16:01] Production.INFO: neon service started
[2025-01-13 17:16:01] Production.INFO: neon service started
[2025-01-13 17:16:01] Production.INFO: ==305== Releasing lock...
[2025-01-13 17:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:16:02] Production.INFO: ==317== Lock acquired, processing the job...
[2025-01-13 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:16:02] Production.INFO: ==317== Releasing lock...
[2025-01-13 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:16:02] Production.INFO: ==315== Lock acquired, processing the job...
[2025-01-13 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:16:02] Production.INFO: ==315== Releasing lock...
[2025-01-13 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:16:03] Production.INFO: ==322== Lock acquired, processing the job...
[2025-01-13 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:16:03] Production.INFO: ==330== Lock acquired, processing the job...
[2025-01-13 12:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:16:03] Production.INFO: ==320== Lock acquired, processing the job...
[2025-01-13 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:16:03] Production.INFO: ==322== Releasing lock...
[2025-01-13 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 12:16:03] Production.INFO: count ==21
[2025-01-13 12:16:03] Production.INFO: ==324== Lock acquired, processing the job...
[2025-01-13 12:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:16:03] Production.INFO: count ==21
[2025-01-13 12:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:16:03] Production.INFO: ==326== Lock acquired, processing the job...
[2025-01-13 12:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238878') start
[2025-01-13 12:16:03] Production.INFO: ==328== Lock acquired, processing the job...
[2025-01-13 12:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:16:03] Production.INFO: Account Balance Start.
[2025-01-13 12:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:16:03] Production.INFO: 117
[2025-01-13 12:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:16:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:16:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238878') end
[2025-01-13 12:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:16:04] Production.INFO: 1
[2025-01-13 12:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:16:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:16:04] Production.INFO: ==330== Releasing lock...
[2025-01-13 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:16:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:16:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:16:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:16:04] Production.INFO: Total Charge 0
[2025-01-13 12:16:04] Production.INFO: CreateAllLog End
[2025-01-13 12:16:04] Production.ERROR: done
[2025-01-13 12:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:16:04] Production.INFO: Account Balance End.
[2025-01-13 12:16:04] Production.ERROR: done
[2025-01-13 12:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:16:04] Production.INFO: ==326== Releasing lock...
[2025-01-13 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:16:05
[end_date_ymd] => 2025-01-13 12:16:05
[RateCDR] => 1
)
[2025-01-13 12:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:16:05' and `end` < '2025-01-13 12:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:16:11] Production.ERROR: CronJobId end10
[2025-01-13 12:16:11] Production.INFO: ==324== Releasing lock...
[2025-01-13 12:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:16:13] Production.INFO: call_cost start
[2025-01-13 12:16:13] Production.INFO: call_cost end
[2025-01-13 12:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:16:13] Production.INFO: ==320== Releasing lock...
[2025-01-13 12:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:16:19] Production.INFO: count ==5836
[2025-01-13 12:16:21] Production.ERROR: pbx CDR StartTime 2025-01-13 09:16:05 - End Time 2025-01-13 12:16:05
[2025-01-13 12:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238881', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238881', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238881', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238881', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:16:21] Production.INFO: ProcessCDR(1,14238881,1,1,2)
[2025-01-13 12:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:16:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238881', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238881', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:16:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:16:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:16:26] Production.INFO: ==328== Releasing lock...
[2025-01-13 12:16:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:16:26] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 17:17:02] Production.INFO: ==397== Lock acquired, processing the job...
[2025-01-13 17:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:17:02] Production.INFO: neon service started
[2025-01-13 17:17:02] Production.INFO: neon service started
[2025-01-13 17:17:02] Production.INFO: ==397== Releasing lock...
[2025-01-13 17:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:17:02] Production.INFO: ==399== Lock acquired, processing the job...
[2025-01-13 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:17:02] Production.INFO: ==401== Lock acquired, processing the job...
[2025-01-13 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:17:02] Production.INFO: ==401== Releasing lock...
[2025-01-13 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:17:03] Production.INFO: ==399== Releasing lock...
[2025-01-13 12:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:17:03] Production.INFO: ==406== Lock acquired, processing the job...
[2025-01-13 12:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:17:04] Production.INFO: ==414== Lock acquired, processing the job...
[2025-01-13 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:17:04] Production.INFO: ==406== Releasing lock...
[2025-01-13 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:17:04] Production.INFO: ==404== Lock acquired, processing the job...
[2025-01-13 12:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:17:04] Production.INFO: ==408== Lock acquired, processing the job...
[2025-01-13 12:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:17:04] Production.INFO: count ==21
[2025-01-13 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-13 12:17:04] Production.INFO: count ==21
[2025-01-13 12:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238883') start
[2025-01-13 12:17:04] Production.INFO: ==410== Lock acquired, processing the job...
[2025-01-13 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:17:04] Production.INFO: ==412== Lock acquired, processing the job...
[2025-01-13 12:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:17:04] Production.INFO: Account Balance Start.
[2025-01-13 12:17:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238883') end
[2025-01-13 12:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:17:04] Production.INFO: 1
[2025-01-13 12:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:17:04] Production.INFO: 117
[2025-01-13 12:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:17:04] Production.INFO: ==414== Releasing lock...
[2025-01-13 12:17:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:17:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:17:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:17:04] Production.INFO: Total Charge 0
[2025-01-13 12:17:04] Production.INFO: CreateAllLog End
[2025-01-13 12:17:04] Production.ERROR: done
[2025-01-13 12:17:04] Production.INFO: Account Balance End.
[2025-01-13 12:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:17:04] Production.INFO: ==410== Releasing lock...
[2025-01-13 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:17:05] Production.ERROR: done
[2025-01-13 12:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:17:06
[end_date_ymd] => 2025-01-13 12:17:06
[RateCDR] => 1
)
[2025-01-13 12:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:17:06' and `end` < '2025-01-13 12:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:17:13] Production.ERROR: CronJobId end10
[2025-01-13 12:17:13] Production.INFO: ==408== Releasing lock...
[2025-01-13 12:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:17:14] Production.INFO: call_cost start
[2025-01-13 12:17:14] Production.INFO: call_cost end
[2025-01-13 12:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:17:14] Production.INFO: ==404== Releasing lock...
[2025-01-13 12:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:17:23] Production.INFO: count ==5819
[2025-01-13 12:17:25] Production.ERROR: pbx CDR StartTime 2025-01-13 09:17:06 - End Time 2025-01-13 12:17:06
[2025-01-13 12:17:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:17:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238886', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:17:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238886', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:17:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238886', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:17:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238886', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:17:25] Production.INFO: ProcessCDR(1,14238886,1,1,2)
[2025-01-13 12:17:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:17:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:17:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:17:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:17:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238886', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:17:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238886', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:17:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:17:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:17:30] Production.INFO: ==412== Releasing lock...
[2025-01-13 12:17:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:17:30] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:18:01] Production.INFO: ==481== Lock acquired, processing the job...
[2025-01-13 17:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:18:01] Production.INFO: neon service started
[2025-01-13 17:18:01] Production.INFO: neon service started
[2025-01-13 17:18:01] Production.INFO: ==481== Releasing lock...
[2025-01-13 17:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:18:02] Production.INFO: ==484== Lock acquired, processing the job...
[2025-01-13 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:18:02] Production.INFO: ==486== Lock acquired, processing the job...
[2025-01-13 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:18:02] Production.INFO: ==486== Releasing lock...
[2025-01-13 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:18:02] Production.INFO: ==484== Releasing lock...
[2025-01-13 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:18:03] Production.INFO: ==491== Lock acquired, processing the job...
[2025-01-13 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:18:03] Production.INFO: ==489== Lock acquired, processing the job...
[2025-01-13 12:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:18:03] Production.INFO: ==500== Lock acquired, processing the job...
[2025-01-13 12:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:18:04] Production.INFO: count ==21
[2025-01-13 12:18:04] Production.INFO: ==494== Lock acquired, processing the job...
[2025-01-13 12:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:18:04] Production.INFO: count ==21
[2025-01-13 12:18:04] Production.INFO: ==498== Lock acquired, processing the job...
[2025-01-13 12:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238889') start
[2025-01-13 12:18:04] Production.INFO: ==496== Lock acquired, processing the job...
[2025-01-13 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:18:04] Production.INFO: ==491== Releasing lock...
[2025-01-13 12:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238889') end
[2025-01-13 12:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:18:04] Production.INFO: 1
[2025-01-13 12:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:18:04] Production.INFO: ==500== Releasing lock...
[2025-01-13 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:18:04] Production.INFO: Account Balance Start.
[2025-01-13 12:18:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:18:04] Production.INFO: 117
[2025-01-13 12:18:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:18:04] Production.ERROR: done
[2025-01-13 12:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:18:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:18:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:18:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:18:04] Production.ERROR: done
[2025-01-13 12:18:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:18:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:18:04] Production.INFO: Total Charge 0
[2025-01-13 12:18:04] Production.INFO: CreateAllLog End
[2025-01-13 12:18:04] Production.INFO: Account Balance End.
[2025-01-13 12:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:18:04] Production.INFO: ==496== Releasing lock...
[2025-01-13 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:18:05
[end_date_ymd] => 2025-01-13 12:18:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:18:05' and `end` < '2025-01-13 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-13 12:18:11] Production.ERROR: CronJobId end10
[2025-01-13 12:18:11] Production.INFO: ==494== Releasing lock...
[2025-01-13 12:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:18:13] Production.INFO: call_cost start
[2025-01-13 12:18:13] Production.INFO: call_cost end
[2025-01-13 12:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:18:14] Production.INFO: ==489== Releasing lock...
[2025-01-13 12:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:18:19] Production.INFO: count ==5810
[2025-01-13 12:18:22] Production.ERROR: pbx CDR StartTime 2025-01-13 09:18:05 - End Time 2025-01-13 12:18:05
[2025-01-13 12:18:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238891', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238891', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238891', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238891', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:18:22] Production.INFO: ProcessCDR(1,14238891,1,1,2)
[2025-01-13 12:18:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:18:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:18:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:18:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238891', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238891', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:18:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:18:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:18:27] Production.INFO: ==498== Releasing lock...
[2025-01-13 12:18:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:18:27] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:19:01] Production.INFO: ==554== Lock acquired, processing the job...
[2025-01-13 17:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:19:01] Production.INFO: neon service started
[2025-01-13 17:19:01] Production.INFO: neon service started
[2025-01-13 17:19:01] Production.INFO: ==554== Releasing lock...
[2025-01-13 17:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:19:01] Production.INFO: ==556== Lock acquired, processing the job...
[2025-01-13 12:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:19:02] Production.INFO: ==558== Lock acquired, processing the job...
[2025-01-13 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:19:02] Production.INFO: ==556== Releasing lock...
[2025-01-13 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:19:02] Production.INFO: ==558== Releasing lock...
[2025-01-13 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:19:03] Production.INFO: ==562== Lock acquired, processing the job...
[2025-01-13 12:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:19:03] Production.INFO: ==560== Lock acquired, processing the job...
[2025-01-13 12:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:19:03] Production.INFO: ==564== Lock acquired, processing the job...
[2025-01-13 12:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:19:03] Production.INFO: ==570== Lock acquired, processing the job...
[2025-01-13 12:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:19:03] Production.INFO: ==568== Lock acquired, processing the job...
[2025-01-13 12:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:19:03] Production.INFO: Account Balance Start.
[2025-01-13 12:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:19:03] Production.INFO: 117
[2025-01-13 12:19:03] Production.INFO: ==572== Lock acquired, processing the job...
[2025-01-13 12:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:19:03] Production.INFO: ==562== Releasing lock...
[2025-01-13 12:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:19:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 12: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-13 12:19:03] Production.INFO: count ==21
[2025-01-13 12:19:03] Production.ERROR: done
[2025-01-13 12:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12: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-13 12:19:03] Production.INFO: count ==21
[2025-01-13 12:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238895') start
[2025-01-13 12:19:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238895') end
[2025-01-13 12:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:19:03] Production.INFO: 1
[2025-01-13 12:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:19:03] Production.ERROR: done
[2025-01-13 12:19:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:19:03] Production.INFO: ==572== Releasing lock...
[2025-01-13 12:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:19:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:19:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:19:04] Production.INFO: Total Charge 0
[2025-01-13 12:19:04] Production.INFO: CreateAllLog End
[2025-01-13 12:19:04] Production.INFO: Account Balance End.
[2025-01-13 12:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:19:04] Production.INFO: ==568== Releasing lock...
[2025-01-13 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:19:04
[end_date_ymd] => 2025-01-13 12:19:04
[RateCDR] => 1
)
[2025-01-13 12: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-13 09:19:04' and `end` < '2025-01-13 12: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-13 12:19:10] Production.ERROR: CronJobId end10
[2025-01-13 12:19:10] Production.INFO: ==564== Releasing lock...
[2025-01-13 12:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:19:13] Production.INFO: call_cost start
[2025-01-13 12:19:13] Production.INFO: call_cost end
[2025-01-13 12:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:19:13] Production.INFO: ==560== Releasing lock...
[2025-01-13 12:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:19:18] Production.INFO: count ==5799
[2025-01-13 12:19:21] Production.ERROR: pbx CDR StartTime 2025-01-13 09:19:04 - End Time 2025-01-13 12:19:04
[2025-01-13 12:19:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238896', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238896', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238896', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238896', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:19:21] Production.INFO: ProcessCDR(1,14238896,1,1,2)
[2025-01-13 12:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:19:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238896', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238896', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:19:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:19:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:19:26] Production.INFO: ==570== Releasing lock...
[2025-01-13 12:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:19:26] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:20:01] Production.INFO: ==634== Lock acquired, processing the job...
[2025-01-13 17:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:20:01] Production.INFO: neon service started
[2025-01-13 17:20:01] Production.INFO: neon service started
[2025-01-13 17:20:01] Production.INFO: ==634== Releasing lock...
[2025-01-13 17:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:20:02] Production.INFO: ==636== Lock acquired, processing the job...
[2025-01-13 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:20:02] Production.INFO: ==638== Lock acquired, processing the job...
[2025-01-13 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:20:02] Production.INFO: ==638== Releasing lock...
[2025-01-13 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:20:03] Production.INFO: ==636== Releasing lock...
[2025-01-13 12:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:20:03] Production.INFO: ==641== Lock acquired, processing the job...
[2025-01-13 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 12:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 12:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 12:20:03] Production.INFO: ==641== Releasing lock...
[2025-01-13 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 12:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 12:20:03] Production.INFO: ==643== Lock acquired, processing the job...
[2025-01-13 12:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:20:04] Production.INFO: ==649== Lock acquired, processing the job...
[2025-01-13 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:20:04] Production.INFO: ==651== Lock acquired, processing the job...
[2025-01-13 12:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:20:04] Production.INFO: ==645== Lock acquired, processing the job...
[2025-01-13 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:20:04] Production.INFO: ==647== Lock acquired, processing the job...
[2025-01-13 12:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:20:04] Production.INFO: Account Balance Start.
[2025-01-13 12:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:20:04] Production.INFO: 117
[2025-01-13 12:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:20:04] Production.INFO: ==653== Lock acquired, processing the job...
[2025-01-13 12:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 12:20:04] Production.INFO: ==656== Lock acquired, processing the job...
[2025-01-13 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:20:04] Production.INFO: ==645== Releasing lock...
[2025-01-13 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:20:04] Production.ERROR: done
[2025-01-13 12:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 12:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:20:04] Production.INFO: count ==21
[2025-01-13 12:20:04] Production.INFO: Total Charge 0
[2025-01-13 12:20:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 12:20:04] Production.INFO: count ==21
[2025-01-13 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238900') start
[2025-01-13 12:20:04] Production.ERROR: done
[2025-01-13 12:20:04] Production.ERROR: done
[2025-01-13 12:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 12:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238901', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238900') end
[2025-01-13 12:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:20:04] Production.INFO: 1
[2025-01-13 12:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:20:04] Production.INFO: ==656== Releasing lock...
[2025-01-13 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:20:04] Production.INFO: Account Balance End.
[2025-01-13 12:20:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:20:04] Production.INFO: ==649== Releasing lock...
[2025-01-13 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:20:05
[end_date_ymd] => 2025-01-13 12:20:05
[RateCDR] => 1
)
[2025-01-13 12:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:20:05' and `end` < '2025-01-13 12:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238901', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 12:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 12:20:08] Production.INFO: ProcessCDR(1,14238901,1,1,2)
[2025-01-13 12:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238901,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238901,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:20:08] Production.INFO: ==653== Releasing lock...
[2025-01-13 12:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 12:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 12:20:12] Production.ERROR: CronJobId end10
[2025-01-13 12:20:12] Production.INFO: ==647== Releasing lock...
[2025-01-13 12:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:20:14] Production.INFO: call_cost start
[2025-01-13 12:20:14] Production.INFO: call_cost end
[2025-01-13 12:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:20:15] Production.INFO: ==643== Releasing lock...
[2025-01-13 12:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:20:34] Production.INFO: count ==5791
[2025-01-13 12:20:36] Production.ERROR: pbx CDR StartTime 2025-01-13 09:20:05 - End Time 2025-01-13 12:20:05
[2025-01-13 12:20:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:20:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238902', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:20:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238902', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:20:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238902', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:20:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238902', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:20:36] Production.INFO: ProcessCDR(1,14238902,1,1,2)
[2025-01-13 12:20:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:20:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:20:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:20:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:20:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238902', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:20:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238902', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:20:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:20:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:20:41] Production.INFO: ==651== Releasing lock...
[2025-01-13 12:20:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:20:41] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:21:02] Production.INFO: ==734== Lock acquired, processing the job...
[2025-01-13 17:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:21:02] Production.INFO: neon service started
[2025-01-13 17:21:02] Production.INFO: neon service started
[2025-01-13 17:21:02] Production.INFO: ==734== Releasing lock...
[2025-01-13 17:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:21:02] Production.INFO: ==738== Lock acquired, processing the job...
[2025-01-13 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:21:02] Production.INFO: ==738== Releasing lock...
[2025-01-13 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:21:02] Production.INFO: ==736== Lock acquired, processing the job...
[2025-01-13 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:21:03] Production.INFO: ==736== Releasing lock...
[2025-01-13 12:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:21:03] Production.INFO: ==748== Lock acquired, processing the job...
[2025-01-13 12:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:21:03] Production.INFO: ==753== Lock acquired, processing the job...
[2025-01-13 12:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:21:03] Production.INFO: ==741== Lock acquired, processing the job...
[2025-01-13 12:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:21:03] Production.INFO: ==743== Lock acquired, processing the job...
[2025-01-13 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:21:04] Production.INFO: ==751== Lock acquired, processing the job...
[2025-01-13 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:21:04] Production.INFO: ==755== Lock acquired, processing the job...
[2025-01-13 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:21:04] Production.INFO: Account Balance Start.
[2025-01-13 12:21:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:21:04] Production.INFO: 117
[2025-01-13 12:21:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:21:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:21:04] Production.INFO: count ==21
[2025-01-13 12:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:21:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:21:04] Production.INFO: count ==21
[2025-01-13 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238906') start
[2025-01-13 12:21:04] Production.ERROR: done
[2025-01-13 12:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238906') end
[2025-01-13 12:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:21:04] Production.INFO: 1
[2025-01-13 12:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:21:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:21:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:21:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:21:04] Production.INFO: Total Charge 0
[2025-01-13 12:21:04] Production.INFO: ==755== Releasing lock...
[2025-01-13 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:21:04] Production.INFO: ==743== Releasing lock...
[2025-01-13 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:21:04] Production.ERROR: done
[2025-01-13 12:21:04] Production.INFO: CreateAllLog End
[2025-01-13 12:21:04] Production.INFO: Account Balance End.
[2025-01-13 12:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:21:04] Production.INFO: ==751== Releasing lock...
[2025-01-13 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:21:05
[end_date_ymd] => 2025-01-13 12:21:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:21:05' and `end` < '2025-01-13 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-13 12:21:11] Production.ERROR: CronJobId end10
[2025-01-13 12:21:11] Production.INFO: ==748== Releasing lock...
[2025-01-13 12:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:21:13] Production.INFO: call_cost start
[2025-01-13 12:21:13] Production.INFO: call_cost end
[2025-01-13 12:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:21:14] Production.INFO: ==741== Releasing lock...
[2025-01-13 12:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:21:24] Production.INFO: count ==5822
[2025-01-13 12:21:26] Production.ERROR: pbx CDR StartTime 2025-01-13 09:21:05 - End Time 2025-01-13 12:21:05
[2025-01-13 12:21:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238907', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238907', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238907', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238907', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:21:26] Production.INFO: ProcessCDR(1,14238907,1,1,2)
[2025-01-13 12:21:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:21:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:21:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:21:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238907', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238907', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:21:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:21:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:21:31] Production.INFO: ==753== Releasing lock...
[2025-01-13 12:21:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:21:31] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:22:01] Production.INFO: ==811== Lock acquired, processing the job...
[2025-01-13 17:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:22:01] Production.INFO: neon service started
[2025-01-13 17:22:01] Production.INFO: neon service started
[2025-01-13 17:22:01] Production.INFO: ==811== Releasing lock...
[2025-01-13 17:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:22:02] Production.INFO: ==813== Lock acquired, processing the job...
[2025-01-13 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:22:02] Production.INFO: ==813== Releasing lock...
[2025-01-13 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:22:02] Production.INFO: ==815== Lock acquired, processing the job...
[2025-01-13 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:22:02] Production.INFO: ==815== Releasing lock...
[2025-01-13 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:22:03] Production.INFO: ==822== Lock acquired, processing the job...
[2025-01-13 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:22:03] Production.INFO: ==828== Lock acquired, processing the job...
[2025-01-13 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:22:03] Production.INFO: ==818== Lock acquired, processing the job...
[2025-01-13 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:22:03] Production.INFO: count ==21
[2025-01-13 12:22:03] Production.INFO: ==820== Lock acquired, processing the job...
[2025-01-13 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:22:03] Production.INFO: ==824== Lock acquired, processing the job...
[2025-01-13 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:22:03] Production.INFO: count ==21
[2025-01-13 12:22:03] Production.INFO: ==826== Lock acquired, processing the job...
[2025-01-13 12:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238908') start
[2025-01-13 12:22:03] Production.INFO: Account Balance Start.
[2025-01-13 12:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:22:03] Production.INFO: 117
[2025-01-13 12:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:22:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:22:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238908') end
[2025-01-13 12:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:22:03] Production.INFO: 1
[2025-01-13 12:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:22:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:22:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:22:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:22:04] Production.INFO: ==828== Releasing lock...
[2025-01-13 12:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:22:04] Production.INFO: ==820== Releasing lock...
[2025-01-13 12:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:22:04] Production.ERROR: done
[2025-01-13 12:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:22:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:22:04] Production.ERROR: done
[2025-01-13 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:22:04] Production.INFO: Total Charge 0
[2025-01-13 12:22:04] Production.INFO: CreateAllLog End
[2025-01-13 12:22:04] Production.INFO: Account Balance End.
[2025-01-13 12:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:22:04] Production.INFO: ==824== Releasing lock...
[2025-01-13 12:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:22:05
[end_date_ymd] => 2025-01-13 12:22:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:22:05' and `end` < '2025-01-13 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-13 12:22:11] Production.ERROR: CronJobId end10
[2025-01-13 12:22:11] Production.INFO: ==822== Releasing lock...
[2025-01-13 12:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:22:13] Production.INFO: call_cost start
[2025-01-13 12:22:13] Production.INFO: call_cost end
[2025-01-13 12:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:22:14] Production.INFO: ==818== Releasing lock...
[2025-01-13 12:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:22:24] Production.INFO: count ==5818
[2025-01-13 12:22:26] Production.ERROR: pbx CDR StartTime 2025-01-13 09:22:05 - End Time 2025-01-13 12:22:05
[2025-01-13 12:22:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238912', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238912', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238912', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:22:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238912', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:22:27] Production.INFO: ProcessCDR(1,14238912,1,1,2)
[2025-01-13 12:22:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:22:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:22:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:22:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:22:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238912', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:22:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238912', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:22:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:22:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:22:32] Production.INFO: ==826== Releasing lock...
[2025-01-13 12:22:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:22:32] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:23:02] Production.INFO: ==885== Lock acquired, processing the job...
[2025-01-13 17:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:23:02] Production.INFO: neon service started
[2025-01-13 17:23:02] Production.INFO: neon service started
[2025-01-13 17:23:02] Production.INFO: ==885== Releasing lock...
[2025-01-13 17:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:23:02] Production.INFO: ==887== Lock acquired, processing the job...
[2025-01-13 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:23:02] Production.INFO: ==887== Releasing lock...
[2025-01-13 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:23:02] Production.INFO: ==889== Lock acquired, processing the job...
[2025-01-13 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:23:03] Production.INFO: ==889== Releasing lock...
[2025-01-13 17:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:23:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:23:03] Production.INFO: ==896== Lock acquired, processing the job...
[2025-01-13 12:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:23:03] Production.INFO: ==900== Lock acquired, processing the job...
[2025-01-13 12:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:23:03] Production.INFO: ==892== Lock acquired, processing the job...
[2025-01-13 12:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:23:03] Production.INFO: ==894== Lock acquired, processing the job...
[2025-01-13 12:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:23:03] Production.INFO: ==898== Lock acquired, processing the job...
[2025-01-13 12:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:23:04] Production.INFO: ==902== Lock acquired, processing the job...
[2025-01-13 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:23:04] Production.INFO: Account Balance Start.
[2025-01-13 12:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:23:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:23:04] Production.INFO: 117
[2025-01-13 12:23:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:23:04] Production.INFO: count ==21
[2025-01-13 12:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:23:04] Production.INFO: count ==21
[2025-01-13 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238914') start
[2025-01-13 12:23:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:23:04] Production.ERROR: done
[2025-01-13 12:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:23:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:23:04] Production.ERROR: done
[2025-01-13 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238914') end
[2025-01-13 12:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:23:04] Production.INFO: 1
[2025-01-13 12:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:23:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:23:04] Production.INFO: ==902== Releasing lock...
[2025-01-13 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:23:04] Production.INFO: ==894== Releasing lock...
[2025-01-13 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:23:04] Production.INFO: Total Charge 0
[2025-01-13 12:23:04] Production.INFO: CreateAllLog End
[2025-01-13 12:23:04] Production.INFO: Account Balance End.
[2025-01-13 12:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:23:04] Production.INFO: ==898== Releasing lock...
[2025-01-13 12:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:23:05
[end_date_ymd] => 2025-01-13 12:23:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:23:05' and `end` < '2025-01-13 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-13 12:23:11] Production.ERROR: CronJobId end10
[2025-01-13 12:23:11] Production.INFO: ==896== Releasing lock...
[2025-01-13 12:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:23:13] Production.INFO: call_cost start
[2025-01-13 12:23:13] Production.INFO: call_cost end
[2025-01-13 12:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:23:14] Production.INFO: ==892== Releasing lock...
[2025-01-13 12:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:23:24] Production.INFO: count ==5757
[2025-01-13 12:23:26] Production.ERROR: pbx CDR StartTime 2025-01-13 09:23:05 - End Time 2025-01-13 12:23:05
[2025-01-13 12:23:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:23:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238917', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:23:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238917', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:23:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238917', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:23:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238917', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:23:26] Production.INFO: ProcessCDR(1,14238917,1,1,2)
[2025-01-13 12:23:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:23:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:23:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:23:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:23:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238917', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:23:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238917', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:23:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:23:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:23:31] Production.INFO: ==900== Releasing lock...
[2025-01-13 12:23:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:23:31] Production.INFO: 71 MB #Memory Used#
[2025-01-13 17:24:01] Production.INFO: ==960== Lock acquired, processing the job...
[2025-01-13 17:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:24:01] Production.INFO: neon service started
[2025-01-13 17:24:01] Production.INFO: neon service started
[2025-01-13 17:24:01] Production.INFO: ==960== Releasing lock...
[2025-01-13 17:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:24:02] Production.INFO: ==965== Lock acquired, processing the job...
[2025-01-13 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:24:02] Production.INFO: ==965== Releasing lock...
[2025-01-13 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:24:02] Production.INFO: ==962== Lock acquired, processing the job...
[2025-01-13 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:24:02] Production.INFO: ==962== Releasing lock...
[2025-01-13 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:24:03] Production.INFO: ==972== Lock acquired, processing the job...
[2025-01-13 12:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:24:03] Production.INFO: ==978== Lock acquired, processing the job...
[2025-01-13 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:24:03] Production.INFO: ==968== Lock acquired, processing the job...
[2025-01-13 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:24:03] Production.INFO: ==970== Lock acquired, processing the job...
[2025-01-13 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:24:03] Production.INFO: ==974== Lock acquired, processing the job...
[2025-01-13 12:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:24:03] Production.INFO: count ==21
[2025-01-13 12:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:24:03] Production.INFO: count ==21
[2025-01-13 12:24:03] Production.INFO: ==976== Lock acquired, processing the job...
[2025-01-13 12:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238919') start
[2025-01-13 12:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:24:03] Production.INFO: Account Balance Start.
[2025-01-13 12:24:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:24:03] Production.INFO: 117
[2025-01-13 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238919') end
[2025-01-13 12:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:24:03] Production.INFO: 1
[2025-01-13 12:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:24:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:24:04] Production.INFO: ==970== Releasing lock...
[2025-01-13 12:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:24:04] Production.INFO: ==978== Releasing lock...
[2025-01-13 12:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:24:04] Production.ERROR: done
[2025-01-13 12:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:24:04] Production.ERROR: done
[2025-01-13 12:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:24:04] Production.INFO: Total Charge 0
[2025-01-13 12:24:04] Production.INFO: CreateAllLog End
[2025-01-13 12:24:04] Production.INFO: Account Balance End.
[2025-01-13 12:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:24:04] Production.INFO: ==974== Releasing lock...
[2025-01-13 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:24:05
[end_date_ymd] => 2025-01-13 12:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:24:05' and `end` < '2025-01-13 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-13 12:24:11] Production.ERROR: CronJobId end10
[2025-01-13 12:24:11] Production.INFO: ==972== Releasing lock...
[2025-01-13 12:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:24:12] Production.INFO: call_cost start
[2025-01-13 12:24:12] Production.INFO: call_cost end
[2025-01-13 12:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:24:13] Production.INFO: ==968== Releasing lock...
[2025-01-13 12:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:24:22] Production.INFO: count ==5704
[2025-01-13 12:24:25] Production.ERROR: pbx CDR StartTime 2025-01-13 09:24:05 - End Time 2025-01-13 12:24:05
[2025-01-13 12:24:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238922', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238922', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238922', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:24:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238922', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:24:25] Production.INFO: ProcessCDR(1,14238922,1,1,2)
[2025-01-13 12:24:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:24:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:24:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:24:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:24:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238922', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:24:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238922', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:24:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:24:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:24:30] Production.INFO: ==976== Releasing lock...
[2025-01-13 12:24:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:24:30] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 17:25:02] Production.INFO: ==1072== Lock acquired, processing the job...
[2025-01-13 17:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:25:02] Production.INFO: neon service started
[2025-01-13 17:25:02] Production.INFO: neon service started
[2025-01-13 17:25:02] Production.INFO: ==1072== Releasing lock...
[2025-01-13 17:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:25:02] Production.INFO: ==1075== Lock acquired, processing the job...
[2025-01-13 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:25:02] Production.INFO: ==1075== Releasing lock...
[2025-01-13 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:25:02] Production.INFO: ==1077== Lock acquired, processing the job...
[2025-01-13 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:25:02] Production.INFO: ==1077== Releasing lock...
[2025-01-13 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:25:03] Production.INFO: ==1079== Lock acquired, processing the job...
[2025-01-13 12:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:25:03] Production.INFO: ==1081== Lock acquired, processing the job...
[2025-01-13 12:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:25:03] Production.INFO: ==1087== Lock acquired, processing the job...
[2025-01-13 12:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:25:03] Production.INFO: ==1083== Lock acquired, processing the job...
[2025-01-13 12:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:25:03] Production.INFO: ==1089== Lock acquired, processing the job...
[2025-01-13 12:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:25:03] Production.INFO: ==1085== Lock acquired, processing the job...
[2025-01-13 12:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:25:03] Production.INFO: Account Balance Start.
[2025-01-13 12:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:25:03] Production.INFO: 117
[2025-01-13 12:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 12:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:25:04] Production.INFO: count ==21
[2025-01-13 12:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:25:04] Production.INFO: count ==21
[2025-01-13 12:25:04] Production.ERROR: done
[2025-01-13 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238925') start
[2025-01-13 12:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:25:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:25:04] Production.INFO: ==1081== Releasing lock...
[2025-01-13 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:25:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:25:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:25:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238925') end
[2025-01-13 12:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:25:04] Production.INFO: 1
[2025-01-13 12:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:25:04] Production.ERROR: done
[2025-01-13 12:25:04] Production.INFO: ==1089== Releasing lock...
[2025-01-13 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:25:04] Production.INFO: Total Charge 0
[2025-01-13 12:25:04] Production.INFO: CreateAllLog End
[2025-01-13 12:25:04] Production.INFO: Account Balance End.
[2025-01-13 12:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:25:04] Production.INFO: ==1085== Releasing lock...
[2025-01-13 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:25:05
[end_date_ymd] => 2025-01-13 12:25:05
[RateCDR] => 1
)
[2025-01-13 12:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:25:05' and `end` < '2025-01-13 12:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:25:11] Production.ERROR: CronJobId end10
[2025-01-13 12:25:11] Production.INFO: ==1083== Releasing lock...
[2025-01-13 12:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:25:13] Production.INFO: call_cost start
[2025-01-13 12:25:13] Production.INFO: call_cost end
[2025-01-13 12:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:25:14] Production.INFO: ==1079== Releasing lock...
[2025-01-13 12:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:25:18] Production.INFO: count ==5731
[2025-01-13 12:25:21] Production.ERROR: pbx CDR StartTime 2025-01-13 09:25:05 - End Time 2025-01-13 12:25:05
[2025-01-13 12:25:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238927', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238927', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238927', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238927', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:25:21] Production.INFO: ProcessCDR(1,14238927,1,1,2)
[2025-01-13 12:25:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:25:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:25:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:25:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238927', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238927', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:25:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:25:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:25:26] Production.INFO: ==1087== Releasing lock...
[2025-01-13 12:25:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:25:26] Production.INFO: 71 MB #Memory Used#
[2025-01-13 17:26:01] Production.INFO: ==1150== Lock acquired, processing the job...
[2025-01-13 17:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:26:01] Production.INFO: neon service started
[2025-01-13 17:26:01] Production.INFO: neon service started
[2025-01-13 17:26:01] Production.INFO: ==1150== Releasing lock...
[2025-01-13 17:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:26:01] Production.INFO: ==1152== Lock acquired, processing the job...
[2025-01-13 12:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:26:02] Production.INFO: ==1154== Lock acquired, processing the job...
[2025-01-13 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:26:02] Production.INFO: ==1152== Releasing lock...
[2025-01-13 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:26:02] Production.INFO: ==1154== Releasing lock...
[2025-01-13 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:26:02] Production.INFO: ==1158== Lock acquired, processing the job...
[2025-01-13 12:26:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:26:02] Production.INFO: ==1162== Lock acquired, processing the job...
[2025-01-13 12:26:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:26:02] Production.INFO: Account Balance Start.
[2025-01-13 12:26:02] Production.INFO: CreateAllLog Start
[2025-01-13 12:26:02] Production.INFO: 117
[2025-01-13 12:26:02] Production.INFO: Date 2025-01-08
[2025-01-13 12:26:02] Production.INFO: Reseller ==> 0
[2025-01-13 12:26:02] Production.INFO: Date 2025-01-09
[2025-01-13 12:26:02] Production.INFO: Reseller ==> 0
[2025-01-13 12:26:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:26:03] Production.INFO: ==1158== Releasing lock...
[2025-01-13 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:26:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:26:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:26:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:26:03] Production.INFO: Total Charge 0
[2025-01-13 12:26:03] Production.INFO: CreateAllLog End
[2025-01-13 12:26:03] Production.INFO: ==1156== Lock acquired, processing the job...
[2025-01-13 12:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:26:03] Production.INFO: Account Balance End.
[2025-01-13 12:26:03] Production.ERROR: CronJobId end 12
[2025-01-13 12:26:03] Production.INFO: ==1162== Releasing lock...
[2025-01-13 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:26:03] Production.INFO: ==1168== Lock acquired, processing the job...
[2025-01-13 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:26:03] Production.INFO: ==1164== Lock acquired, processing the job...
[2025-01-13 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:26:03] Production.INFO: ==1160== Lock acquired, processing the job...
[2025-01-13 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 12:26:03] Production.INFO: count ==21
[2025-01-13 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-13 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:26:03] Production.INFO: count ==21
[2025-01-13 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238931') start
[2025-01-13 12:26:03] Production.ERROR: done
[2025-01-13 12:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238931') end
[2025-01-13 12:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:26:03] Production.INFO: 1
[2025-01-13 12:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:26:03] Production.INFO: ==1168== Releasing lock...
[2025-01-13 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:26:03] Production.ERROR: done
[2025-01-13 12:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:26:04
[end_date_ymd] => 2025-01-13 12:26:04
[RateCDR] => 1
)
[2025-01-13 12:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:26:04' and `end` < '2025-01-13 12:26:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:26:12] Production.ERROR: CronJobId end10
[2025-01-13 12:26:12] Production.INFO: ==1160== Releasing lock...
[2025-01-13 12:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:26:13] Production.INFO: call_cost start
[2025-01-13 12:26:14] Production.INFO: call_cost end
[2025-01-13 12:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:26:14] Production.INFO: ==1156== Releasing lock...
[2025-01-13 12:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:26:29] Production.INFO: count ==5731
[2025-01-13 12:26:31] Production.ERROR: pbx CDR StartTime 2025-01-13 09:26:04 - End Time 2025-01-13 12:26:04
[2025-01-13 12:26:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238932', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238932', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238932', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:26:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238932', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:26:31] Production.INFO: ProcessCDR(1,14238932,1,1,2)
[2025-01-13 12:26:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:26:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:26:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:26:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:26:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238932', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:26:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238932', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:26:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:26:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:26:36] Production.INFO: ==1164== Releasing lock...
[2025-01-13 12:26:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:26:36] Production.INFO: 71 MB #Memory Used#
[2025-01-13 17:27:01] Production.INFO: ==1226== Lock acquired, processing the job...
[2025-01-13 17:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:27:01] Production.INFO: neon service started
[2025-01-13 17:27:01] Production.INFO: neon service started
[2025-01-13 17:27:01] Production.INFO: ==1226== Releasing lock...
[2025-01-13 17:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:27:02] Production.INFO: ==1228== Lock acquired, processing the job...
[2025-01-13 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:27:02] Production.INFO: ==1228== Releasing lock...
[2025-01-13 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:27:02] Production.INFO: ==1230== Lock acquired, processing the job...
[2025-01-13 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:27:02] Production.INFO: ==1230== Releasing lock...
[2025-01-13 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:27:03] Production.INFO: ==1232== Lock acquired, processing the job...
[2025-01-13 12:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:27:03] Production.INFO: ==1234== Lock acquired, processing the job...
[2025-01-13 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:27:03] Production.INFO: ==1245== Lock acquired, processing the job...
[2025-01-13 12:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:27:03] Production.INFO: ==1236== Lock acquired, processing the job...
[2025-01-13 12:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:27:03] Production.INFO: ==1234== Releasing lock...
[2025-01-13 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:27:03] Production.INFO: ==1241== Lock acquired, processing the job...
[2025-01-13 12:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:27:03] Production.INFO: ==1247== Lock acquired, processing the job...
[2025-01-13 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:27:04] Production.ERROR: done
[2025-01-13 12:27:04] Production.INFO: Account Balance Start.
[2025-01-13 12:27:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:27:04] Production.INFO: 117
[2025-01-13 12:27:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 12:27:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:27:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:27:04] Production.INFO: count ==21
[2025-01-13 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-13 12:27:04] Production.INFO: count ==21
[2025-01-13 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238936') start
[2025-01-13 12:27:04] Production.ERROR: done
[2025-01-13 12:27:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238936') end
[2025-01-13 12:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:27:04] Production.INFO: 1
[2025-01-13 12:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:27:04] Production.INFO: Total Charge 0
[2025-01-13 12:27:04] Production.INFO: ==1247== Releasing lock...
[2025-01-13 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:27:04] Production.INFO: CreateAllLog End
[2025-01-13 12:27:04] Production.INFO: Account Balance End.
[2025-01-13 12:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:27:04] Production.INFO: ==1241== Releasing lock...
[2025-01-13 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:27:05
[end_date_ymd] => 2025-01-13 12:27:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:27:05' and `end` < '2025-01-13 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-13 12:27:11] Production.ERROR: CronJobId end10
[2025-01-13 12:27:11] Production.INFO: ==1236== Releasing lock...
[2025-01-13 12:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:27:13] Production.INFO: call_cost start
[2025-01-13 12:27:13] Production.INFO: call_cost end
[2025-01-13 12:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:27:14] Production.INFO: ==1232== Releasing lock...
[2025-01-13 12:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:27:26] Production.INFO: count ==5727
[2025-01-13 12:27:28] Production.ERROR: pbx CDR StartTime 2025-01-13 09:27:05 - End Time 2025-01-13 12:27:05
[2025-01-13 12:27:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:27:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238937', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:27:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238937', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:27:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238937', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:27:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238937', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:27:29] Production.INFO: ProcessCDR(1,14238937,1,1,2)
[2025-01-13 12:27:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:27:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:27:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:27:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:27:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238937', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:27:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238937', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:27:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:27:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:27:33] Production.INFO: ==1245== Releasing lock...
[2025-01-13 12:27:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:27:33] Production.INFO: 71 MB #Memory Used#
[2025-01-13 17:28:02] Production.INFO: ==1309== Lock acquired, processing the job...
[2025-01-13 17:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:28:02] Production.INFO: neon service started
[2025-01-13 17:28:02] Production.INFO: neon service started
[2025-01-13 17:28:02] Production.INFO: ==1309== Releasing lock...
[2025-01-13 17:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:28:03] Production.INFO: ==1312== Lock acquired, processing the job...
[2025-01-13 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:28:03] Production.INFO: ==1314== Lock acquired, processing the job...
[2025-01-13 17:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:28:03] Production.INFO: ==1314== Releasing lock...
[2025-01-13 17:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:28:03] Production.INFO: ==1312== Releasing lock...
[2025-01-13 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:28:04] Production.INFO: ==1318== Lock acquired, processing the job...
[2025-01-13 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:28:04] Production.INFO: ==1326== Lock acquired, processing the job...
[2025-01-13 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:28:04] Production.INFO: ==1316== Lock acquired, processing the job...
[2025-01-13 12:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:28:04] Production.INFO: ==1320== Lock acquired, processing the job...
[2025-01-13 12:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:28:04] Production.INFO: count ==21
[2025-01-13 12:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:28:04] Production.INFO: ==1324== Lock acquired, processing the job...
[2025-01-13 12:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:28:04] Production.INFO: count ==21
[2025-01-13 12:28:04] Production.INFO: ==1322== Lock acquired, processing the job...
[2025-01-13 12:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:28:04] Production.INFO: ==1318== Releasing lock...
[2025-01-13 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238939') start
[2025-01-13 12:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:28:04] Production.INFO: Account Balance Start.
[2025-01-13 12:28:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238939') end
[2025-01-13 12:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:28:04] Production.INFO: 117
[2025-01-13 12:28:04] Production.INFO: 1
[2025-01-13 12:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:28:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:28:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:28:04] Production.INFO: ==1326== Releasing lock...
[2025-01-13 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:28:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:28:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:28:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:28:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:28:04] Production.INFO: Total Charge 0
[2025-01-13 12:28:04] Production.INFO: CreateAllLog End
[2025-01-13 12:28:04] Production.ERROR: done
[2025-01-13 12:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:28:05] Production.ERROR: done
[2025-01-13 12:28:05] Production.INFO: Account Balance End.
[2025-01-13 12:28:05] Production.ERROR: CronJobId end 12
[2025-01-13 12:28:05] Production.INFO: ==1322== Releasing lock...
[2025-01-13 12:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:28:05
[end_date_ymd] => 2025-01-13 12:28:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:28:05' and `end` < '2025-01-13 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-13 12:28:11] Production.ERROR: CronJobId end10
[2025-01-13 12:28:11] Production.INFO: ==1320== Releasing lock...
[2025-01-13 12:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:28:13] Production.INFO: call_cost start
[2025-01-13 12:28:13] Production.INFO: call_cost end
[2025-01-13 12:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:28:14] Production.INFO: ==1316== Releasing lock...
[2025-01-13 12:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:28:28] Production.INFO: count ==5716
[2025-01-13 12:28:31] Production.ERROR: pbx CDR StartTime 2025-01-13 09:28:05 - End Time 2025-01-13 12:28:05
[2025-01-13 12:28:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:28:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238942', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:28:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238942', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:28:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238942', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:28:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238942', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:28:31] Production.INFO: ProcessCDR(1,14238942,1,1,2)
[2025-01-13 12:28:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:28:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:28:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:28:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:28:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238942', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:28:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238942', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:28:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:28:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:28:36] Production.INFO: ==1324== Releasing lock...
[2025-01-13 12:28:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:28:36] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 17:29:02] Production.INFO: ==1379== Lock acquired, processing the job...
[2025-01-13 17:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:29:02] Production.INFO: neon service started
[2025-01-13 17:29:02] Production.INFO: neon service started
[2025-01-13 17:29:02] Production.INFO: ==1379== Releasing lock...
[2025-01-13 17:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:29:02] Production.INFO: ==1383== Lock acquired, processing the job...
[2025-01-13 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:29:02] Production.INFO: ==1383== Releasing lock...
[2025-01-13 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:29:02] Production.INFO: ==1381== Lock acquired, processing the job...
[2025-01-13 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:29:02] Production.INFO: ==1381== Releasing lock...
[2025-01-13 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:29:03] Production.INFO: ==1390== Lock acquired, processing the job...
[2025-01-13 12:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:29:03] Production.INFO: ==1396== Lock acquired, processing the job...
[2025-01-13 12:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:29:03] Production.INFO: ==1386== Lock acquired, processing the job...
[2025-01-13 12:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:29:03] Production.INFO: count ==21
[2025-01-13 12:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:29:03] Production.INFO: ==1388== Lock acquired, processing the job...
[2025-01-13 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:29:03] Production.INFO: count ==21
[2025-01-13 12:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238943') start
[2025-01-13 12:29:04] Production.INFO: ==1392== Lock acquired, processing the job...
[2025-01-13 12:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:29:04] Production.INFO: ==1394== Lock acquired, processing the job...
[2025-01-13 12:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238943') end
[2025-01-13 12:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:29:04] Production.INFO: 1
[2025-01-13 12:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:29:04] Production.INFO: ==1396== Releasing lock...
[2025-01-13 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:29:04] Production.INFO: Account Balance Start.
[2025-01-13 12:29:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:29:04] Production.INFO: 117
[2025-01-13 12:29:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:29:04] Production.INFO: ==1388== Releasing lock...
[2025-01-13 12:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:29:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:29:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:29:04] Production.INFO: Total Charge 0
[2025-01-13 12:29:04] Production.INFO: CreateAllLog End
[2025-01-13 12:29:04] Production.ERROR: done
[2025-01-13 12:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:29:04] Production.ERROR: done
[2025-01-13 12:29:04] Production.INFO: Account Balance End.
[2025-01-13 12:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:29:04] Production.INFO: ==1392== Releasing lock...
[2025-01-13 12:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:29:05
[end_date_ymd] => 2025-01-13 12:29:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:29:05' and `end` < '2025-01-13 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-13 12:29:12] Production.ERROR: CronJobId end10
[2025-01-13 12:29:12] Production.INFO: ==1390== Releasing lock...
[2025-01-13 12:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:29:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:29:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:29:14] Production.INFO: call_cost start
[2025-01-13 12:29:14] Production.INFO: call_cost end
[2025-01-13 12:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:29:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:29:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:29:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:29:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:29:15] Production.INFO: ==1386== Releasing lock...
[2025-01-13 12:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:29:27] Production.INFO: count ==5700
[2025-01-13 12:29:29] Production.ERROR: pbx CDR StartTime 2025-01-13 09:29:05 - End Time 2025-01-13 12:29:05
[2025-01-13 12:29:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238947', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238947', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238947', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238947', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:29:29] Production.INFO: ProcessCDR(1,14238947,1,1,2)
[2025-01-13 12:29:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:29:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:29:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:29:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:29:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238947', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:29:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238947', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:29:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:29:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:29:34] Production.INFO: ==1394== Releasing lock...
[2025-01-13 12:29:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:29:34] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 17:30:01] Production.INFO: ==1452== Lock acquired, processing the job...
[2025-01-13 17:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:30:01] Production.INFO: neon service started
[2025-01-13 17:30:01] Production.INFO: neon service started
[2025-01-13 17:30:01] Production.INFO: ==1452== Releasing lock...
[2025-01-13 17:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:30:01] Production.INFO: ==1456== Lock acquired, processing the job...
[2025-01-13 17:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:30:02] Production.INFO: ==1456== Releasing lock...
[2025-01-13 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:30:02] Production.INFO: ==1454== Lock acquired, processing the job...
[2025-01-13 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:30:02] Production.INFO: ==1454== Releasing lock...
[2025-01-13 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:30:03] Production.INFO: ==1461== Lock acquired, processing the job...
[2025-01-13 12:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:30:03] Production.INFO: ==1465== Lock acquired, processing the job...
[2025-01-13 12:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:30:03] Production.INFO: ==1469== Lock acquired, processing the job...
[2025-01-13 12:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:30:03] Production.INFO: ==1471== Lock acquired, processing the job...
[2025-01-13 12:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 12:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:30:03] Production.INFO: ==1459== Lock acquired, processing the job...
[2025-01-13 12:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 12:30:03] Production.INFO: ==1463== Lock acquired, processing the job...
[2025-01-13 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:30:03] Production.INFO: ==1467== Lock acquired, processing the job...
[2025-01-13 12:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:30:03] Production.ERROR: CronJob PID - 1461
[2025-01-13 12:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 12:30:03] Production.ERROR: CronJob ID - 5
[2025-01-13 12:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 12:30:00
[2025-01-13 12:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:30:03] Production.ERROR: CronJob PID - 1463
[2025-01-13 12:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 12:30:03] Production.ERROR: CronJob ID - 7
[2025-01-13 12:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 12:30:00
[2025-01-13 12:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:30:03] Production.ERROR: CronJob PID - 1465
[2025-01-13 12:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 12:30:03] Production.ERROR: CronJob ID - 10
[2025-01-13 12:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 12:30:00
[2025-01-13 12:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:30:03] Production.ERROR: CronJob PID - 1467
[2025-01-13 12:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 12:30:03] Production.ERROR: CronJob ID - 12
[2025-01-13 12:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 12:30:00
[2025-01-13 12:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:30:03] Production.ERROR: CronJob PID - 1469
[2025-01-13 12:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 12:30:03] Production.ERROR: CronJob ID - 16
[2025-01-13 12:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 12:30:00
[2025-01-13 12:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:30:03] Production.ERROR: CronJob PID - 1471
[2025-01-13 12:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 12:30:03] Production.ERROR: CronJob ID - 17
[2025-01-13 12:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 12:30:00
[2025-01-13 12:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:30:04] Production.INFO: ==1473== Lock acquired, processing the job...
[2025-01-13 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:30:04] Production.INFO: Account Balance Start.
[2025-01-13 12:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:30:04] Production.ERROR: done
[2025-01-13 12:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:30:04] Production.INFO: 117
[2025-01-13 12:30:04] Production.ERROR: done
[2025-01-13 12:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 12:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238951', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 12:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 12:30:04] Production.INFO: ==1459== Releasing lock...
[2025-01-13 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 12:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 12:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:30:04] Production.ERROR: done
[2025-01-13 12:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:30:04] Production.INFO: count ==21
[2025-01-13 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-13 12:30:04] Production.INFO: count ==21
[2025-01-13 12:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238952') start
[2025-01-13 12:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:30:04] Production.INFO: Total Charge 0
[2025-01-13 12:30:04] Production.INFO: ==1463== Releasing lock...
[2025-01-13 12:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:30:04] Production.INFO: CreateAllLog End
[2025-01-13 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238952') end
[2025-01-13 12:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:30:04] Production.INFO: 1
[2025-01-13 12:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:30:04] Production.INFO: Account Balance End.
[2025-01-13 12:30:04] Production.INFO: ==1473== Releasing lock...
[2025-01-13 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:30:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:30:04] Production.INFO: ==1467== Releasing lock...
[2025-01-13 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:30:05
[end_date_ymd] => 2025-01-13 12:30:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:30:05' and `end` < '2025-01-13 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-13 12:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14238951', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 12:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 12:30:08] Production.INFO: ProcessCDR(1,14238951,1,1,2)
[2025-01-13 12:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14238951,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14238951,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:30:08] Production.INFO: ==1471== Releasing lock...
[2025-01-13 12:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 12:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 12:30:14] Production.ERROR: CronJobId end10
[2025-01-13 12:30:14] Production.INFO: ==1465== Releasing lock...
[2025-01-13 12:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:30:15] Production.INFO: call_cost start
[2025-01-13 12:30:15] Production.INFO: call_cost end
[2025-01-13 12:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:30:16] Production.INFO: ==1461== Releasing lock...
[2025-01-13 12:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:30:32] Production.INFO: count ==5709
[2025-01-13 12:30:35] Production.ERROR: pbx CDR StartTime 2025-01-13 09:30:05 - End Time 2025-01-13 12:30:05
[2025-01-13 12:30:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:30:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238953', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:30:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238953', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:30:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238953', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:30:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238953', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:30:35] Production.INFO: ProcessCDR(1,14238953,1,1,2)
[2025-01-13 12:30:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:30:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:30:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:30:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:30:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238953', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:30:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238953', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:30:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:30:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:30:40] Production.INFO: ==1469== Releasing lock...
[2025-01-13 12:30:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:30:40] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 17:31:01] Production.INFO: ==1560== Lock acquired, processing the job...
[2025-01-13 17:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:31:01] Production.INFO: neon service started
[2025-01-13 17:31:02] Production.INFO: neon service started
[2025-01-13 17:31:02] Production.INFO: ==1560== Releasing lock...
[2025-01-13 17:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:31:02] Production.INFO: ==1562== Lock acquired, processing the job...
[2025-01-13 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:31:02] Production.INFO: ==1562== Releasing lock...
[2025-01-13 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:31:02] Production.INFO: ==1564== Lock acquired, processing the job...
[2025-01-13 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:31:02] Production.INFO: ==1564== Releasing lock...
[2025-01-13 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:31:03] Production.INFO: ==1574== Lock acquired, processing the job...
[2025-01-13 12:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:31:03] Production.INFO: ==1577== Lock acquired, processing the job...
[2025-01-13 12:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:31:03] Production.INFO: ==1566== Lock acquired, processing the job...
[2025-01-13 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:31:03] Production.INFO: ==1572== Lock acquired, processing the job...
[2025-01-13 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:31:03] Production.INFO: Account Balance Start.
[2025-01-13 12:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:31:03] Production.INFO: 117
[2025-01-13 12:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:31:03] Production.INFO: ==1579== Lock acquired, processing the job...
[2025-01-13 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:31:03] Production.INFO: ==1581== Lock acquired, processing the job...
[2025-01-13 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:31:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:31:03] Production.INFO: ==1572== Releasing lock...
[2025-01-13 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:31:04] Production.INFO: count ==21
[2025-01-13 12:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:31:04] Production.INFO: count ==21
[2025-01-13 12:31:04] Production.INFO: Total Charge 0
[2025-01-13 12:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238957') start
[2025-01-13 12:31:04] Production.INFO: CreateAllLog End
[2025-01-13 12:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238957') end
[2025-01-13 12:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:31:04] Production.INFO: 1
[2025-01-13 12:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:31:04] Production.ERROR: done
[2025-01-13 12:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:31:04] Production.INFO: ==1581== Releasing lock...
[2025-01-13 12:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:31:04] Production.INFO: Account Balance End.
[2025-01-13 12:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:31:04] Production.INFO: ==1577== Releasing lock...
[2025-01-13 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:31:04] Production.ERROR: done
[2025-01-13 12:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:31:05
[end_date_ymd] => 2025-01-13 12:31:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:31:05' and `end` < '2025-01-13 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-13 12:31:11] Production.ERROR: CronJobId end10
[2025-01-13 12:31:11] Production.INFO: ==1574== Releasing lock...
[2025-01-13 12:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:31:14] Production.INFO: call_cost start
[2025-01-13 12:31:14] Production.INFO: call_cost end
[2025-01-13 12:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:31:14] Production.INFO: ==1566== Releasing lock...
[2025-01-13 12:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:31:28] Production.INFO: count ==5718
[2025-01-13 12:31:30] Production.ERROR: pbx CDR StartTime 2025-01-13 09:31:05 - End Time 2025-01-13 12:31:05
[2025-01-13 12:31:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238958', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238958', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238958', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238958', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:31:30] Production.INFO: ProcessCDR(1,14238958,1,1,2)
[2025-01-13 12:31:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:31:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:31:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:31:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:31:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238958', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:31:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238958', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:31:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:31:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:31:35] Production.INFO: ==1579== Releasing lock...
[2025-01-13 12:31:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:31:35] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 17:32:01] Production.INFO: ==1634== Lock acquired, processing the job...
[2025-01-13 17:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:32:01] Production.INFO: neon service started
[2025-01-13 17:32:01] Production.INFO: neon service started
[2025-01-13 17:32:01] Production.INFO: ==1634== Releasing lock...
[2025-01-13 17:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:32:01] Production.INFO: ==1636== Lock acquired, processing the job...
[2025-01-13 12:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:32:02] Production.INFO: ==1636== Releasing lock...
[2025-01-13 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:32:02] Production.INFO: ==1638== Lock acquired, processing the job...
[2025-01-13 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:32:02] Production.INFO: ==1638== Releasing lock...
[2025-01-13 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:32:02] Production.INFO: ==1640== Lock acquired, processing the job...
[2025-01-13 12:32:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:32:02] Production.INFO: ==1642== Lock acquired, processing the job...
[2025-01-13 12:32:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:32:03] Production.INFO: ==1646== Lock acquired, processing the job...
[2025-01-13 12:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:32:03] Production.INFO: ==1644== Lock acquired, processing the job...
[2025-01-13 12:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:32:03] Production.INFO: ==1648== Lock acquired, processing the job...
[2025-01-13 12:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:32:03] Production.INFO: Account Balance Start.
[2025-01-13 12:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:32:03] Production.INFO: 117
[2025-01-13 12:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:32:03] Production.INFO: ==1642== Releasing lock...
[2025-01-13 12:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:32:03] Production.INFO: ==1650== Lock acquired, processing the job...
[2025-01-13 12:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:32:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:32:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:32:03] Production.INFO: count ==21
[2025-01-13 12:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:32:03] Production.INFO: count ==21
[2025-01-13 12:32:03] Production.ERROR: done
[2025-01-13 12:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238962') start
[2025-01-13 12:32:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:32:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:32:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238962') end
[2025-01-13 12:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:32:03] Production.INFO: 1
[2025-01-13 12:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:32:03] Production.ERROR: done
[2025-01-13 12:32:03] Production.INFO: Total Charge 0
[2025-01-13 12:32:03] Production.INFO: ==1650== Releasing lock...
[2025-01-13 12:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:32:03] Production.INFO: CreateAllLog End
[2025-01-13 12:32:04] Production.INFO: Account Balance End.
[2025-01-13 12:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:32:04] Production.INFO: ==1646== Releasing lock...
[2025-01-13 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:32:04
[end_date_ymd] => 2025-01-13 12:32:04
[RateCDR] => 1
)
[2025-01-13 12: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-13 09:32:04' and `end` < '2025-01-13 12: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-13 12:32:10] Production.ERROR: CronJobId end10
[2025-01-13 12:32:10] Production.INFO: ==1644== Releasing lock...
[2025-01-13 12:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:32:13] Production.INFO: call_cost start
[2025-01-13 12:32:13] Production.INFO: call_cost end
[2025-01-13 12:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:32:13] Production.INFO: ==1640== Releasing lock...
[2025-01-13 12:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:32:20] Production.INFO: count ==5722
[2025-01-13 12:32:23] Production.ERROR: pbx CDR StartTime 2025-01-13 09:32:04 - End Time 2025-01-13 12:32:04
[2025-01-13 12:32:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238963', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238963', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238963', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238963', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:32:23] Production.INFO: ProcessCDR(1,14238963,1,1,2)
[2025-01-13 12:32:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:32:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:32:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:32:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238963', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238963', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:32:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:32:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:32:28] Production.INFO: ==1648== Releasing lock...
[2025-01-13 12:32:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:32:28] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 17:33:01] Production.INFO: ==1704== Lock acquired, processing the job...
[2025-01-13 17:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:33:01] Production.INFO: neon service started
[2025-01-13 17:33:01] Production.INFO: neon service started
[2025-01-13 17:33:01] Production.INFO: ==1704== Releasing lock...
[2025-01-13 17:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:33:02] Production.INFO: ==1707== Lock acquired, processing the job...
[2025-01-13 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:33:02] Production.INFO: ==1709== Lock acquired, processing the job...
[2025-01-13 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:33:02] Production.INFO: ==1709== Releasing lock...
[2025-01-13 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:33:02] Production.INFO: ==1707== Releasing lock...
[2025-01-13 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:33:03] Production.INFO: ==1711== Lock acquired, processing the job...
[2025-01-13 12:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:33:03] Production.INFO: ==1717== Lock acquired, processing the job...
[2025-01-13 12:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:33:03] Production.INFO: ==1713== Lock acquired, processing the job...
[2025-01-13 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:33:03] Production.INFO: ==1721== Lock acquired, processing the job...
[2025-01-13 12:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:33:03] Production.INFO: Account Balance Start.
[2025-01-13 12:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:33:03] Production.INFO: 117
[2025-01-13 12:33:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:33:03] Production.INFO: ==1715== Lock acquired, processing the job...
[2025-01-13 12:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:33:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:33:03] Production.INFO: count ==21
[2025-01-13 12:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:33:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:33:03] Production.INFO: count ==21
[2025-01-13 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238966') start
[2025-01-13 12:33:03] Production.INFO: ==1719== Lock acquired, processing the job...
[2025-01-13 12:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:33:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:33:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238966') end
[2025-01-13 12:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:33:03] Production.INFO: 1
[2025-01-13 12:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:33:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:33:03] Production.INFO: Total Charge 0
[2025-01-13 12:33:03] Production.INFO: CreateAllLog End
[2025-01-13 12:33:03] Production.INFO: ==1721== Releasing lock...
[2025-01-13 12:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:33:03] Production.INFO: ==1713== Releasing lock...
[2025-01-13 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:33:04] Production.ERROR: done
[2025-01-13 12:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:33:04] Production.INFO: Account Balance End.
[2025-01-13 12:33:04] Production.ERROR: done
[2025-01-13 12:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:33:04] Production.INFO: ==1717== Releasing lock...
[2025-01-13 12:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:33:05
[end_date_ymd] => 2025-01-13 12:33:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:33:05' and `end` < '2025-01-13 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-13 12:33:11] Production.ERROR: CronJobId end10
[2025-01-13 12:33:11] Production.INFO: ==1715== Releasing lock...
[2025-01-13 12:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:33:13] Production.INFO: call_cost start
[2025-01-13 12:33:13] Production.INFO: call_cost end
[2025-01-13 12:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:33:14] Production.INFO: ==1711== Releasing lock...
[2025-01-13 12:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:33:18] Production.INFO: count ==5728
[2025-01-13 12:33:21] Production.ERROR: pbx CDR StartTime 2025-01-13 09:33:05 - End Time 2025-01-13 12:33:05
[2025-01-13 12:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238968', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238968', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238968', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238968', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:33:21] Production.INFO: ProcessCDR(1,14238968,1,1,2)
[2025-01-13 12:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:33:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:33:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238968', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238968', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:33:26] Production.INFO: ==1719== Releasing lock...
[2025-01-13 12:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:33:26] Production.INFO: 71 MB #Memory Used#
[2025-01-13 17:34:02] Production.INFO: ==1775== Lock acquired, processing the job...
[2025-01-13 17:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:34:02] Production.INFO: neon service started
[2025-01-13 17:34:02] Production.INFO: neon service started
[2025-01-13 17:34:02] Production.INFO: ==1775== Releasing lock...
[2025-01-13 17:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:34:02] Production.INFO: ==1777== Lock acquired, processing the job...
[2025-01-13 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:34:03] Production.INFO: ==1777== Releasing lock...
[2025-01-13 12:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:34:03] Production.INFO: ==1779== Lock acquired, processing the job...
[2025-01-13 17:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:34:03] Production.INFO: ==1779== Releasing lock...
[2025-01-13 17:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:34:03] Production.INFO: ==1785== Lock acquired, processing the job...
[2025-01-13 12:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:34:03] Production.INFO: ==1790== Lock acquired, processing the job...
[2025-01-13 12:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:34:04] Production.INFO: ==1781== Lock acquired, processing the job...
[2025-01-13 12:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:34:04] Production.INFO: ==1783== Lock acquired, processing the job...
[2025-01-13 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:34:04] Production.INFO: ==1787== Lock acquired, processing the job...
[2025-01-13 12:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:34:04] Production.INFO: ==1792== Lock acquired, processing the job...
[2025-01-13 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:34:04] Production.ERROR: done
[2025-01-13 12:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:34:04] Production.INFO: Account Balance Start.
[2025-01-13 12:34:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:34:04] Production.INFO: 117
[2025-01-13 12:34:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:34:04] Production.INFO: count ==21
[2025-01-13 12:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:34:04] Production.INFO: count ==21
[2025-01-13 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238972') start
[2025-01-13 12:34:04] Production.ERROR: done
[2025-01-13 12:34:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:34:04] Production.INFO: ==1783== Releasing lock...
[2025-01-13 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238972') end
[2025-01-13 12:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:34:04] Production.INFO: 1
[2025-01-13 12:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:34:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:34:04] Production.INFO: ==1792== Releasing lock...
[2025-01-13 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:34:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:34:04] Production.INFO: Total Charge 0
[2025-01-13 12:34:04] Production.INFO: CreateAllLog End
[2025-01-13 12:34:05] Production.INFO: Account Balance End.
[2025-01-13 12:34:05] Production.ERROR: CronJobId end 12
[2025-01-13 12:34:05] Production.INFO: ==1787== Releasing lock...
[2025-01-13 12:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:34:05
[end_date_ymd] => 2025-01-13 12:34:05
[RateCDR] => 1
)
[2025-01-13 12:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:34:05' and `end` < '2025-01-13 12:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:34:11] Production.ERROR: CronJobId end10
[2025-01-13 12:34:11] Production.INFO: ==1785== Releasing lock...
[2025-01-13 12:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:34:13] Production.INFO: call_cost start
[2025-01-13 12:34:13] Production.INFO: call_cost end
[2025-01-13 12:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:34:14] Production.INFO: ==1781== Releasing lock...
[2025-01-13 12:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:34:22] Production.INFO: count ==5709
[2025-01-13 12:34:24] Production.ERROR: pbx CDR StartTime 2025-01-13 09:34:05 - End Time 2025-01-13 12:34:05
[2025-01-13 12:34:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238973', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238973', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238973', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238973', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:34:24] Production.INFO: ProcessCDR(1,14238973,1,1,2)
[2025-01-13 12:34:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:34:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:34:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:34:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238973', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238973', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:34:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:34:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:34:29] Production.INFO: ==1790== Releasing lock...
[2025-01-13 12:34:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:34:29] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 17:35:01] Production.INFO: ==1849== Lock acquired, processing the job...
[2025-01-13 17:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:35:01] Production.INFO: neon service started
[2025-01-13 17:35:01] Production.INFO: neon service started
[2025-01-13 17:35:01] Production.INFO: ==1849== Releasing lock...
[2025-01-13 17:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:35:02] Production.INFO: ==1851== Lock acquired, processing the job...
[2025-01-13 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:35:02] Production.INFO: ==1853== Lock acquired, processing the job...
[2025-01-13 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:35:02] Production.INFO: ==1853== Releasing lock...
[2025-01-13 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:35:03] Production.INFO: ==1851== Releasing lock...
[2025-01-13 12:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:35:03] Production.INFO: ==1862== Lock acquired, processing the job...
[2025-01-13 12:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:35:03] Production.INFO: ==1866== Lock acquired, processing the job...
[2025-01-13 12:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:35:03] Production.INFO: Account Balance Start.
[2025-01-13 12:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:35:03] Production.INFO: 117
[2025-01-13 12:35:03] Production.INFO: ==1856== Lock acquired, processing the job...
[2025-01-13 12:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:35:03] Production.INFO: ==1860== Lock acquired, processing the job...
[2025-01-13 12:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:35:03] Production.INFO: ==1858== Lock acquired, processing the job...
[2025-01-13 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 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-13 12:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:35:03] Production.INFO: count ==21
[2025-01-13 12:35:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:35:04] Production.INFO: count ==21
[2025-01-13 12:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238975') start
[2025-01-13 12:35:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238975') end
[2025-01-13 12:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:35:04] Production.INFO: 1
[2025-01-13 12:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:35:04] Production.INFO: ==1864== Lock acquired, processing the job...
[2025-01-13 12:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:35:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:35:04] Production.INFO: ==1866== Releasing lock...
[2025-01-13 12:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:35:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:35:04] Production.INFO: ==1858== Releasing lock...
[2025-01-13 12:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:35:04] Production.ERROR: done
[2025-01-13 12:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:35:04] Production.INFO: Total Charge 0
[2025-01-13 12:35:04] Production.INFO: CreateAllLog End
[2025-01-13 12:35:04] Production.ERROR: done
[2025-01-13 12:35:04] Production.INFO: Account Balance End.
[2025-01-13 12:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:35:04] Production.INFO: ==1862== Releasing lock...
[2025-01-13 12:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:35:05
[end_date_ymd] => 2025-01-13 12:35:05
[RateCDR] => 1
)
[2025-01-13 12:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:35:05' and `end` < '2025-01-13 12:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:35:11] Production.ERROR: CronJobId end10
[2025-01-13 12:35:11] Production.INFO: ==1860== Releasing lock...
[2025-01-13 12:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:35:13] Production.INFO: call_cost start
[2025-01-13 12:35:13] Production.INFO: call_cost end
[2025-01-13 12:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:35:14] Production.INFO: ==1856== Releasing lock...
[2025-01-13 12:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:35:20] Production.INFO: count ==5716
[2025-01-13 12:35:22] Production.ERROR: pbx CDR StartTime 2025-01-13 09:35:05 - End Time 2025-01-13 12:35:05
[2025-01-13 12:35:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238978', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238978', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238978', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238978', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:35:22] Production.INFO: ProcessCDR(1,14238978,1,1,2)
[2025-01-13 12:35:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:35:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:35:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:35:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238978', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238978', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:35:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:35:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:35:27] Production.INFO: ==1864== Releasing lock...
[2025-01-13 12:35:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:35:27] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 17:36:01] Production.INFO: ==1922== Lock acquired, processing the job...
[2025-01-13 17:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:36:01] Production.INFO: neon service started
[2025-01-13 17:36:01] Production.INFO: neon service started
[2025-01-13 17:36:01] Production.INFO: ==1922== Releasing lock...
[2025-01-13 17:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:36:01] Production.INFO: ==1924== Lock acquired, processing the job...
[2025-01-13 12:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:36:02] Production.INFO: ==1924== Releasing lock...
[2025-01-13 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:36:02] Production.INFO: ==1926== Lock acquired, processing the job...
[2025-01-13 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:36:02] Production.INFO: ==1926== Releasing lock...
[2025-01-13 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:36:03] Production.INFO: ==1934== Lock acquired, processing the job...
[2025-01-13 12:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:36:03] Production.INFO: ==1936== Lock acquired, processing the job...
[2025-01-13 12:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:36:03] Production.INFO: ==1928== Lock acquired, processing the job...
[2025-01-13 12:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:36:03] Production.INFO: ==1930== Lock acquired, processing the job...
[2025-01-13 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:36:03] Production.INFO: Account Balance Start.
[2025-01-13 12:36:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:36:03] Production.INFO: 117
[2025-01-13 12:36:03] Production.INFO: ==1932== Lock acquired, processing the job...
[2025-01-13 12:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:36:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:36:03] Production.INFO: ==1939== Lock acquired, processing the job...
[2025-01-13 12:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:36:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:36:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:36:03] Production.ERROR: done
[2025-01-13 12:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:36:03] Production.INFO: count ==21
[2025-01-13 12:36:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:36:03] Production.INFO: count ==21
[2025-01-13 12:36:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238982') start
[2025-01-13 12:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:36:03] Production.INFO: ==1930== Releasing lock...
[2025-01-13 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:36:03] Production.ERROR: done
[2025-01-13 12:36:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:36:03] Production.INFO: Total Charge 0
[2025-01-13 12:36:03] Production.INFO: CreateAllLog End
[2025-01-13 12:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238982') end
[2025-01-13 12:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:36:03] Production.INFO: 1
[2025-01-13 12:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:36:03] Production.INFO: ==1939== Releasing lock...
[2025-01-13 12:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:36:03] Production.INFO: Account Balance End.
[2025-01-13 12:36:03] Production.ERROR: CronJobId end 12
[2025-01-13 12:36:03] Production.INFO: ==1934== Releasing lock...
[2025-01-13 12:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:36:04
[end_date_ymd] => 2025-01-13 12:36:04
[RateCDR] => 1
)
[2025-01-13 12: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-13 09:36:04' and `end` < '2025-01-13 12: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-13 12:36:11] Production.ERROR: CronJobId end10
[2025-01-13 12:36:11] Production.INFO: ==1932== Releasing lock...
[2025-01-13 12:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:36:14] Production.INFO: call_cost start
[2025-01-13 12:36:14] Production.INFO: call_cost end
[2025-01-13 12:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:36:15] Production.INFO: ==1928== Releasing lock...
[2025-01-13 12:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:36:26] Production.INFO: count ==5692
[2025-01-13 12:36:29] Production.ERROR: pbx CDR StartTime 2025-01-13 09:36:04 - End Time 2025-01-13 12:36:04
[2025-01-13 12:36:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:36:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238983', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:36:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238983', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:36:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238983', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:36:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238983', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:36:29] Production.INFO: ProcessCDR(1,14238983,1,1,2)
[2025-01-13 12:36:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:36:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:36:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:36:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:36:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238983', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:36:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238983', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:36:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:36:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:36:34] Production.INFO: ==1936== Releasing lock...
[2025-01-13 12:36:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:36:34] Production.INFO: 70.5 MB #Memory Used#
[2025-01-13 17:37:01] Production.INFO: ==1994== Lock acquired, processing the job...
[2025-01-13 17:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:37:01] Production.INFO: neon service started
[2025-01-13 17:37:01] Production.INFO: neon service started
[2025-01-13 17:37:01] Production.INFO: ==1994== Releasing lock...
[2025-01-13 17:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:37:02] Production.INFO: ==1999== Lock acquired, processing the job...
[2025-01-13 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:37:02] Production.INFO: ==1999== Releasing lock...
[2025-01-13 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:37:02] Production.INFO: ==1997== Lock acquired, processing the job...
[2025-01-13 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:37:02] Production.INFO: ==1997== Releasing lock...
[2025-01-13 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:37:03] Production.INFO: ==2008== Lock acquired, processing the job...
[2025-01-13 12:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:37:03] Production.INFO: ==2001== Lock acquired, processing the job...
[2025-01-13 12:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:37:03] Production.INFO: Account Balance Start.
[2025-01-13 12:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:37:03] Production.INFO: 117
[2025-01-13 12:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:37:03] Production.INFO: ==2003== Lock acquired, processing the job...
[2025-01-13 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:37:03] Production.INFO: ==2012== Lock acquired, processing the job...
[2025-01-13 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:37:03] Production.INFO: ==2006== Lock acquired, processing the job...
[2025-01-13 12:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:37:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 12:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:37:03] Production.INFO: count ==21
[2025-01-13 12:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 12:37:03] Production.INFO: count ==21
[2025-01-13 12:37:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238986') start
[2025-01-13 12:37:03] Production.INFO: ==2010== Lock acquired, processing the job...
[2025-01-13 12:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:37:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:37:03] Production.INFO: Total Charge 0
[2025-01-13 12:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:37:03] Production.INFO: CreateAllLog End
[2025-01-13 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14238986') end
[2025-01-13 12:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:37:03] Production.INFO: 1
[2025-01-13 12:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:37:03] Production.INFO: ==2012== Releasing lock...
[2025-01-13 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:37:04] Production.INFO: Account Balance End.
[2025-01-13 12:37:04] Production.INFO: ==2003== Releasing lock...
[2025-01-13 12:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:37:04] Production.INFO: ==2008== Releasing lock...
[2025-01-13 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:37:04] Production.ERROR: done
[2025-01-13 12:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:37:04] Production.ERROR: done
[2025-01-13 12:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:37:05
[end_date_ymd] => 2025-01-13 12:37:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:37:05' and `end` < '2025-01-13 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-13 12:37:11] Production.ERROR: CronJobId end10
[2025-01-13 12:37:11] Production.INFO: ==2006== Releasing lock...
[2025-01-13 12:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:37:13] Production.INFO: call_cost start
[2025-01-13 12:37:13] Production.INFO: call_cost end
[2025-01-13 12:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:37:14] Production.INFO: ==2001== Releasing lock...
[2025-01-13 12:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:37:22] Production.INFO: count ==5687
[2025-01-13 12:37:25] Production.ERROR: pbx CDR StartTime 2025-01-13 09:37:05 - End Time 2025-01-13 12:37:05
[2025-01-13 12:37:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238988', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238988', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238988', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238988', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:37:25] Production.INFO: ProcessCDR(1,14238988,1,1,2)
[2025-01-13 12:37:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:37:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:37:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:37:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:37:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238988', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:37:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238988', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:37:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:37:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:37:30] Production.INFO: ==2010== Releasing lock...
[2025-01-13 12:37:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:37:30] Production.INFO: 70.5 MB #Memory Used#
[2025-01-13 17:38:02] Production.INFO: ==2067== Lock acquired, processing the job...
[2025-01-13 17:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:38:02] Production.INFO: neon service started
[2025-01-13 17:38:02] Production.INFO: neon service started
[2025-01-13 17:38:02] Production.INFO: ==2067== Releasing lock...
[2025-01-13 17:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:38:02] Production.INFO: ==2069== Lock acquired, processing the job...
[2025-01-13 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:38:02] Production.INFO: ==2071== Lock acquired, processing the job...
[2025-01-13 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:38:03] Production.INFO: ==2069== Releasing lock...
[2025-01-13 12:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:38:03] Production.INFO: ==2071== Releasing lock...
[2025-01-13 17:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:38:03] Production.INFO: ==2076== Lock acquired, processing the job...
[2025-01-13 12:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:38:03] Production.INFO: ==2074== Lock acquired, processing the job...
[2025-01-13 12:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:38:03] Production.INFO: ==2078== Lock acquired, processing the job...
[2025-01-13 12:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:38:04] Production.INFO: ==2080== Lock acquired, processing the job...
[2025-01-13 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:38:04] Production.INFO: ==2082== Lock acquired, processing the job...
[2025-01-13 12:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:38:04] Production.INFO: ==2084== Lock acquired, processing the job...
[2025-01-13 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:38:04] Production.INFO: ==2076== Releasing lock...
[2025-01-13 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:38:04] Production.INFO: Account Balance Start.
[2025-01-13 12:38:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:38:04] Production.INFO: 117
[2025-01-13 12:38:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 12:38:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:38:04] Production.INFO: count ==21
[2025-01-13 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-13 12:38:04] Production.INFO: count ==21
[2025-01-13 12:38:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238992') start
[2025-01-13 12:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:38:04] Production.ERROR: done
[2025-01-13 12:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:38:04] Production.INFO: Total Charge 0
[2025-01-13 12:38:04] Production.INFO: CreateAllLog End
[2025-01-13 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238992') end
[2025-01-13 12:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:38:04] Production.INFO: 1
[2025-01-13 12:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:38:04] Production.INFO: ==2084== Releasing lock...
[2025-01-13 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:38:04] Production.ERROR: done
[2025-01-13 12:38:04] Production.INFO: Account Balance End.
[2025-01-13 12:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:38:04] Production.INFO: ==2080== Releasing lock...
[2025-01-13 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:38:05
[end_date_ymd] => 2025-01-13 12:38:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:38:05' and `end` < '2025-01-13 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-13 12:38:12] Production.ERROR: CronJobId end10
[2025-01-13 12:38:12] Production.INFO: ==2078== Releasing lock...
[2025-01-13 12:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:38:13] Production.INFO: call_cost start
[2025-01-13 12:38:13] Production.INFO: call_cost end
[2025-01-13 12:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:38:14] Production.INFO: ==2074== Releasing lock...
[2025-01-13 12:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:38:18] Production.INFO: count ==5692
[2025-01-13 12:38:21] Production.ERROR: pbx CDR StartTime 2025-01-13 09:38:05 - End Time 2025-01-13 12:38:05
[2025-01-13 12:38:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238993', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238993', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238993', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238993', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:38:21] Production.INFO: ProcessCDR(1,14238993,1,1,2)
[2025-01-13 12:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238993', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238993', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:38:26] Production.INFO: ==2082== Releasing lock...
[2025-01-13 12:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:38:26] Production.INFO: 70.5 MB #Memory Used#
[2025-01-13 17:39:01] Production.INFO: ==2140== Lock acquired, processing the job...
[2025-01-13 17:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:39:01] Production.INFO: neon service started
[2025-01-13 17:39:01] Production.INFO: neon service started
[2025-01-13 17:39:01] Production.INFO: ==2140== Releasing lock...
[2025-01-13 17:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:39:02] Production.INFO: ==2144== Lock acquired, processing the job...
[2025-01-13 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:39:02] Production.INFO: ==2144== Releasing lock...
[2025-01-13 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:39:02] Production.INFO: ==2142== Lock acquired, processing the job...
[2025-01-13 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:39:02] Production.INFO: ==2142== Releasing lock...
[2025-01-13 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:39:03] Production.INFO: ==2153== Lock acquired, processing the job...
[2025-01-13 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:39:03] Production.INFO: ==2151== Lock acquired, processing the job...
[2025-01-13 12:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:39:03] Production.INFO: Account Balance Start.
[2025-01-13 12:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:39:03] Production.INFO: 117
[2025-01-13 12:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:39:03] Production.INFO: ==2147== Lock acquired, processing the job...
[2025-01-13 12:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:39:03] Production.INFO: ==2149== Lock acquired, processing the job...
[2025-01-13 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:39:03] Production.INFO: ==2155== Lock acquired, processing the job...
[2025-01-13 12:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:39:03] Production.INFO: ==2157== Lock acquired, processing the job...
[2025-01-13 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:39:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:39:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:39:04] Production.ERROR: done
[2025-01-13 12:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:39:04] Production.INFO: count ==21
[2025-01-13 12:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:39:04] Production.INFO: count ==21
[2025-01-13 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238997') start
[2025-01-13 12:39:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:39:04] Production.ERROR: done
[2025-01-13 12:39:04] Production.INFO: Total Charge 0
[2025-01-13 12:39:04] Production.INFO: ==2149== Releasing lock...
[2025-01-13 12:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:39:04] Production.INFO: CreateAllLog End
[2025-01-13 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14238997') end
[2025-01-13 12:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:39:04] Production.INFO: 1
[2025-01-13 12:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:39:04] Production.INFO: ==2157== Releasing lock...
[2025-01-13 12:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:39:04] Production.INFO: Account Balance End.
[2025-01-13 12:39:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:39:04] Production.INFO: ==2153== Releasing lock...
[2025-01-13 12:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:39:05
[end_date_ymd] => 2025-01-13 12:39:05
[RateCDR] => 1
)
[2025-01-13 12:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:39:05' and `end` < '2025-01-13 12:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:39:12] Production.ERROR: CronJobId end10
[2025-01-13 12:39:12] Production.INFO: ==2151== Releasing lock...
[2025-01-13 12:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:39:14] Production.INFO: call_cost start
[2025-01-13 12:39:14] Production.INFO: call_cost end
[2025-01-13 12:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:39:14] Production.INFO: ==2147== Releasing lock...
[2025-01-13 12:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:39:36] Production.INFO: count ==5679
[2025-01-13 12:39:38] Production.ERROR: pbx CDR StartTime 2025-01-13 09:39:05 - End Time 2025-01-13 12:39:05
[2025-01-13 12:39:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:39:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238998', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:39:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14238998', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:39:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238998', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:39:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14238998', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:39:38] Production.INFO: ProcessCDR(1,14238998,1,1,2)
[2025-01-13 12:39:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14238998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:39:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14238998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:39:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14238998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:39:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14238998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:39:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238998', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:39:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14238998', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:39:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:39:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:39:43] Production.INFO: ==2155== Releasing lock...
[2025-01-13 12:39:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:39:43] Production.INFO: 70.5 MB #Memory Used#
[2025-01-13 17:40:02] Production.INFO: ==2212== Lock acquired, processing the job...
[2025-01-13 17:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:40:02] Production.INFO: neon service started
[2025-01-13 17:40:02] Production.INFO: neon service started
[2025-01-13 17:40:02] Production.INFO: ==2212== Releasing lock...
[2025-01-13 17:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:40:02] Production.INFO: ==2216== Lock acquired, processing the job...
[2025-01-13 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:40:02] Production.INFO: ==2216== Releasing lock...
[2025-01-13 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:40:02] Production.INFO: ==2214== Lock acquired, processing the job...
[2025-01-13 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:40:03] Production.INFO: ==2214== Releasing lock...
[2025-01-13 12:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:40:04] Production.INFO: ==2218== Lock acquired, processing the job...
[2025-01-13 12:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 12:40:04] Production.INFO: ==2222== Lock acquired, processing the job...
[2025-01-13 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:40:04] Production.INFO: ==2220== Lock acquired, processing the job...
[2025-01-13 12:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 12:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:40:04] Production.ERROR: CronJob PID - 2222
[2025-01-13 12:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 12:40:04] Production.ERROR: CronJob ID - 7
[2025-01-13 12:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 12:40:00
[2025-01-13 12:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 12:40:04] Production.INFO: ==2218== Releasing lock...
[2025-01-13 12:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 12:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 12:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:40:04] Production.INFO: ==2224== Lock acquired, processing the job...
[2025-01-13 12:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:40:04] Production.INFO: ==2233== Lock acquired, processing the job...
[2025-01-13 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:40:04] Production.INFO: ==2227== Lock acquired, processing the job...
[2025-01-13 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:40:04] Production.INFO: ==2229== Lock acquired, processing the job...
[2025-01-13 12:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 12:40:04] Production.INFO: ==2222== Releasing lock...
[2025-01-13 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:40:04] Production.INFO: ==2231== Lock acquired, processing the job...
[2025-01-13 12:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 12:40:04] Production.INFO: count ==21
[2025-01-13 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 12:40:04] Production.INFO: count ==21
[2025-01-13 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239001') start
[2025-01-13 12:40:04] Production.INFO: Account Balance Start.
[2025-01-13 12:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:40:04] Production.INFO: 117
[2025-01-13 12:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239001') end
[2025-01-13 12:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:40:04] Production.INFO: 1
[2025-01-13 12:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:40:04] Production.INFO: ==2233== Releasing lock...
[2025-01-13 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:40:05] Production.ERROR: done
[2025-01-13 12:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:40:05] Production.INFO: Date 2025-01-11
[2025-01-13 12:40:05] Production.INFO: Reseller ==> 0
[2025-01-13 12:40:05] Production.ERROR: done
[2025-01-13 12:40:05] Production.ERROR: done
[2025-01-13 12:40:05] Production.INFO: Date 2025-01-12
[2025-01-13 12:40:05] Production.INFO: Reseller ==> 0
[2025-01-13 12:40:05] Production.INFO: Date 2025-01-13
[2025-01-13 12:40:05] Production.INFO: Reseller ==> 0
[2025-01-13 12:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 12:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239003', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 12:40:05] Production.INFO: Total Charge 0
[2025-01-13 12:40:05] Production.INFO: CreateAllLog End
[2025-01-13 12:40:05] Production.INFO: Account Balance End.
[2025-01-13 12:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 12:40:05] Production.INFO: ==2227== Releasing lock...
[2025-01-13 12:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:40:06
[end_date_ymd] => 2025-01-13 12:40:06
[RateCDR] => 1
)
[2025-01-13 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-13 09:40:06' and `end` < '2025-01-13 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-13 12:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239003', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 12:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 12:40:09] Production.INFO: ProcessCDR(1,14239003,1,1,2)
[2025-01-13 12:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239003,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239003,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:40:09] Production.INFO: ==2231== Releasing lock...
[2025-01-13 12:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 12:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 12:40:14] Production.ERROR: CronJobId end10
[2025-01-13 12:40:14] Production.INFO: ==2224== Releasing lock...
[2025-01-13 12:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:40:15] Production.INFO: call_cost start
[2025-01-13 12:40:15] Production.INFO: call_cost end
[2025-01-13 12:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:40:16] Production.INFO: ==2220== Releasing lock...
[2025-01-13 12:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:40:34] Production.INFO: count ==5714
[2025-01-13 12:40:36] Production.ERROR: pbx CDR StartTime 2025-01-13 09:40:06 - End Time 2025-01-13 12:40:06
[2025-01-13 12:40:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:40:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239004', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:40:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239004', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:40:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239004', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:40:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239004', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:40:37] Production.INFO: ProcessCDR(1,14239004,1,1,2)
[2025-01-13 12:40:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:40:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:40:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:40:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:40:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239004', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:40:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239004', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:40:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:40:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:40:42] Production.INFO: ==2229== Releasing lock...
[2025-01-13 12:40:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:40:42] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 17:41:01] Production.INFO: ==2324== Lock acquired, processing the job...
[2025-01-13 17:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:41:01] Production.INFO: neon service started
[2025-01-13 17:41:01] Production.INFO: neon service started
[2025-01-13 17:41:01] Production.INFO: ==2324== Releasing lock...
[2025-01-13 17:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:41:02] Production.INFO: ==2326== Lock acquired, processing the job...
[2025-01-13 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:41:02] Production.INFO: ==2326== Releasing lock...
[2025-01-13 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:41:02] Production.INFO: ==2328== Lock acquired, processing the job...
[2025-01-13 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:41:02] Production.INFO: ==2328== Releasing lock...
[2025-01-13 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:41:03] Production.INFO: ==2334== Lock acquired, processing the job...
[2025-01-13 12:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:41:03] Production.INFO: ==2332== Lock acquired, processing the job...
[2025-01-13 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:41:03] Production.INFO: ==2330== Lock acquired, processing the job...
[2025-01-13 12:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:41:03] Production.INFO: ==2336== Lock acquired, processing the job...
[2025-01-13 12:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:41:03] Production.INFO: Account Balance Start.
[2025-01-13 12:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:41:03] Production.INFO: 117
[2025-01-13 12:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:41:03] Production.INFO: ==2338== Lock acquired, processing the job...
[2025-01-13 12:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:41:03] Production.INFO: ==2340== Lock acquired, processing the job...
[2025-01-13 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:41:03] Production.INFO: ==2332== Releasing lock...
[2025-01-13 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:41:03] Production.INFO: Total Charge 0
[2025-01-13 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-13 12:41:03] Production.INFO: CreateAllLog End
[2025-01-13 12:41:03] Production.INFO: count ==21
[2025-01-13 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-13 12:41:03] Production.INFO: count ==21
[2025-01-13 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239008') start
[2025-01-13 12:41:03] Production.ERROR: done
[2025-01-13 12:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:41:04] Production.ERROR: done
[2025-01-13 12:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239008') end
[2025-01-13 12:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:41:04] Production.INFO: 1
[2025-01-13 12:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:41:04] Production.INFO: Account Balance End.
[2025-01-13 12:41:04] Production.INFO: ==2340== Releasing lock...
[2025-01-13 12:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:41:04] Production.INFO: ==2336== Releasing lock...
[2025-01-13 12:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:41:05
[end_date_ymd] => 2025-01-13 12:41:05
[RateCDR] => 1
)
[2025-01-13 12:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:41:05' and `end` < '2025-01-13 12:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:41:11] Production.ERROR: CronJobId end10
[2025-01-13 12:41:11] Production.INFO: ==2334== Releasing lock...
[2025-01-13 12:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:41:13] Production.INFO: call_cost start
[2025-01-13 12:41:13] Production.INFO: call_cost end
[2025-01-13 12:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:41:14] Production.INFO: ==2330== Releasing lock...
[2025-01-13 12:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:41:31] Production.INFO: count ==5731
[2025-01-13 12:41:34] Production.ERROR: pbx CDR StartTime 2025-01-13 09:41:05 - End Time 2025-01-13 12:41:05
[2025-01-13 12:41:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:41:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239009', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:41:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239009', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:41:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239009', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:41:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239009', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:41:34] Production.INFO: ProcessCDR(1,14239009,1,1,2)
[2025-01-13 12:41:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:41:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:41:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:41:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:41:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239009', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:41:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239009', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:41:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:41:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:41:39] Production.INFO: ==2338== Releasing lock...
[2025-01-13 12:41:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:41:39] Production.INFO: 71 MB #Memory Used#
[2025-01-13 17:42:02] Production.INFO: ==2396== Lock acquired, processing the job...
[2025-01-13 17:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:42:02] Production.INFO: neon service started
[2025-01-13 17:42:02] Production.INFO: neon service started
[2025-01-13 17:42:02] Production.INFO: ==2396== Releasing lock...
[2025-01-13 17:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:42:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 12:42:02] Production.INFO: ==2398== Lock acquired, processing the job...
[2025-01-13 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:42:02] Production.INFO: ==2398== Releasing lock...
[2025-01-13 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:42:02] Production.INFO: ==2400== Lock acquired, processing the job...
[2025-01-13 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:42:02] Production.INFO: ==2400== Releasing lock...
[2025-01-13 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:42:03] Production.INFO: ==2403== Lock acquired, processing the job...
[2025-01-13 12:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:42:03] Production.INFO: ==2407== Lock acquired, processing the job...
[2025-01-13 12:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:42:03] Production.INFO: ==2409== Lock acquired, processing the job...
[2025-01-13 12:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:42:03] Production.INFO: ==2405== Lock acquired, processing the job...
[2025-01-13 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:42:03] Production.INFO: Account Balance Start.
[2025-01-13 12:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:42:03] Production.INFO: 117
[2025-01-13 12:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:42:03] Production.INFO: ==2411== Lock acquired, processing the job...
[2025-01-13 12:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:42:03] Production.INFO: ==2413== Lock acquired, processing the job...
[2025-01-13 12:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:42:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:42:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:42:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:42:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:42:04] Production.INFO: Total Charge 0
[2025-01-13 12:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:42:04] Production.INFO: CreateAllLog End
[2025-01-13 12:42:04] Production.INFO: ==2405== Releasing lock...
[2025-01-13 12:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:42:04] Production.INFO: count ==21
[2025-01-13 12:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:42:04] Production.INFO: count ==21
[2025-01-13 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239013') start
[2025-01-13 12:42:04] Production.ERROR: done
[2025-01-13 12:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:42:04] Production.INFO: Account Balance End.
[2025-01-13 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239013') end
[2025-01-13 12:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:42:04] Production.INFO: 1
[2025-01-13 12:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:42:04] Production.INFO: ==2409== Releasing lock...
[2025-01-13 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:42:04] Production.ERROR: done
[2025-01-13 12:42:04] Production.INFO: ==2413== Releasing lock...
[2025-01-13 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:42:05
[end_date_ymd] => 2025-01-13 12:42:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:42:05' and `end` < '2025-01-13 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-13 12:42:11] Production.ERROR: CronJobId end10
[2025-01-13 12:42:11] Production.INFO: ==2407== Releasing lock...
[2025-01-13 12:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:42:14] Production.INFO: call_cost start
[2025-01-13 12:42:14] Production.INFO: call_cost end
[2025-01-13 12:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:42:14] Production.INFO: ==2403== Releasing lock...
[2025-01-13 12:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:42:28] Production.INFO: count ==5744
[2025-01-13 12:42:30] Production.ERROR: pbx CDR StartTime 2025-01-13 09:42:05 - End Time 2025-01-13 12:42:05
[2025-01-13 12:42:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:42:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239014', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:42:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239014', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:42:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239014', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:42:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239014', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:42:30] Production.INFO: ProcessCDR(1,14239014,1,1,2)
[2025-01-13 12:42:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:42:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:42:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:42:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:42:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239014', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:42:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239014', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:42:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:42:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:42:35] Production.INFO: ==2411== Releasing lock...
[2025-01-13 12:42:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:42:35] Production.INFO: 71 MB #Memory Used#
[2025-01-13 17:43:01] Production.INFO: ==2466== Lock acquired, processing the job...
[2025-01-13 17:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:43:01] Production.INFO: neon service started
[2025-01-13 17:43:01] Production.INFO: neon service started
[2025-01-13 17:43:01] Production.INFO: ==2466== Releasing lock...
[2025-01-13 17:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:43:01] Production.INFO: ==2471== Lock acquired, processing the job...
[2025-01-13 17:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:43:01] Production.INFO: ==2471== Releasing lock...
[2025-01-13 17:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:43:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:43:02] Production.INFO: ==2469== Lock acquired, processing the job...
[2025-01-13 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:43:02] Production.INFO: ==2469== Releasing lock...
[2025-01-13 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:43:03] Production.INFO: ==2477== Lock acquired, processing the job...
[2025-01-13 12:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:43:03] Production.INFO: ==2479== Lock acquired, processing the job...
[2025-01-13 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:43:03] Production.INFO: ==2483== Lock acquired, processing the job...
[2025-01-13 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:43:03] Production.INFO: Account Balance Start.
[2025-01-13 12:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:43:03] Production.INFO: 117
[2025-01-13 12:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 12:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:43:03] Production.INFO: count ==21
[2025-01-13 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-13 12:43:03] Production.INFO: count ==21
[2025-01-13 12:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239016') start
[2025-01-13 12:43:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:43:03] Production.INFO: ==2475== Lock acquired, processing the job...
[2025-01-13 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:43:03] Production.INFO: ==2473== Lock acquired, processing the job...
[2025-01-13 12:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:43:03] Production.INFO: ==2481== Lock acquired, processing the job...
[2025-01-13 12:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:43:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:43:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239016') end
[2025-01-13 12:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:43:03] Production.INFO: 1
[2025-01-13 12:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:43:03] Production.INFO: Total Charge 0
[2025-01-13 12:43:03] Production.INFO: CreateAllLog End
[2025-01-13 12:43:03] Production.INFO: ==2483== Releasing lock...
[2025-01-13 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:43:03] Production.INFO: ==2475== Releasing lock...
[2025-01-13 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:43:03] Production.INFO: Account Balance End.
[2025-01-13 12:43:03] Production.ERROR: done
[2025-01-13 12:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:43:03] Production.ERROR: CronJobId end 12
[2025-01-13 12:43:03] Production.INFO: ==2479== Releasing lock...
[2025-01-13 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:43:03] Production.ERROR: done
[2025-01-13 12:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:43:04
[end_date_ymd] => 2025-01-13 12:43:04
[RateCDR] => 1
)
[2025-01-13 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-13 09:43:04' and `end` < '2025-01-13 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-13 12:43:10] Production.ERROR: CronJobId end10
[2025-01-13 12:43:10] Production.INFO: ==2477== Releasing lock...
[2025-01-13 12:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:43:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:43:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:43:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:43:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:43:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:43:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:43:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:43:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:43:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:43:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:43:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:43:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:43:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:43:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:43:12] Production.INFO: call_cost start
[2025-01-13 12:43:12] Production.INFO: call_cost end
[2025-01-13 12:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:43:13] Production.INFO: ==2473== Releasing lock...
[2025-01-13 12:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:43:29] Production.INFO: count ==5768
[2025-01-13 12:43:31] Production.ERROR: pbx CDR StartTime 2025-01-13 09:43:04 - End Time 2025-01-13 12:43:04
[2025-01-13 12:43:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:43:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239019', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:43:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239019', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:43:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239019', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:43:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239019', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:43:31] Production.INFO: ProcessCDR(1,14239019,1,1,2)
[2025-01-13 12:43:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:43:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:43:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:43:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:43:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239019', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:43:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239019', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:43:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:43:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:43:36] Production.INFO: ==2481== Releasing lock...
[2025-01-13 12:43:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:43:36] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:44:02] Production.INFO: ==2537== Lock acquired, processing the job...
[2025-01-13 17:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:44:02] Production.INFO: neon service started
[2025-01-13 17:44:02] Production.INFO: neon service started
[2025-01-13 17:44:02] Production.INFO: ==2537== Releasing lock...
[2025-01-13 17:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:44:02] Production.INFO: ==2541== Lock acquired, processing the job...
[2025-01-13 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:44:02] Production.INFO: ==2541== Releasing lock...
[2025-01-13 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:44:02] Production.INFO: ==2539== Lock acquired, processing the job...
[2025-01-13 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:44:02] Production.INFO: ==2539== Releasing lock...
[2025-01-13 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:44:03] Production.INFO: ==2550== Lock acquired, processing the job...
[2025-01-13 12:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:44:03] Production.INFO: ==2546== Lock acquired, processing the job...
[2025-01-13 12:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:44:03] Production.INFO: Account Balance Start.
[2025-01-13 12:44:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:44:03] Production.INFO: 117
[2025-01-13 12:44:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:44:03] Production.INFO: ==2544== Lock acquired, processing the job...
[2025-01-13 12:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:44:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:44:03] Production.INFO: ==2552== Lock acquired, processing the job...
[2025-01-13 12:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:44:03] Production.INFO: ==2548== Lock acquired, processing the job...
[2025-01-13 12:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:44:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:44:04] Production.INFO: ==2554== Lock acquired, processing the job...
[2025-01-13 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:44:04] Production.INFO: count ==21
[2025-01-13 12:44:04] Production.INFO: ==2546== Releasing lock...
[2025-01-13 12:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:44:04] Production.INFO: count ==21
[2025-01-13 12:44:04] Production.ERROR: done
[2025-01-13 12:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239023') start
[2025-01-13 12:44:04] Production.INFO: Total Charge 0
[2025-01-13 12:44:04] Production.INFO: CreateAllLog End
[2025-01-13 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239023') end
[2025-01-13 12:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:44:04] Production.INFO: 1
[2025-01-13 12:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:44:04] Production.ERROR: done
[2025-01-13 12:44:04] Production.INFO: ==2554== Releasing lock...
[2025-01-13 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:44:04] Production.INFO: Account Balance End.
[2025-01-13 12:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:44:04] Production.INFO: ==2550== Releasing lock...
[2025-01-13 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:44:05
[end_date_ymd] => 2025-01-13 12:44:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:44:05' and `end` < '2025-01-13 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-13 12:44:10] Production.ERROR: CronJobId end10
[2025-01-13 12:44:10] Production.INFO: ==2548== Releasing lock...
[2025-01-13 12:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:44:13] Production.INFO: call_cost start
[2025-01-13 12:44:13] Production.INFO: call_cost end
[2025-01-13 12:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:44:14] Production.INFO: ==2544== Releasing lock...
[2025-01-13 12:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:44:23] Production.INFO: count ==5779
[2025-01-13 12:44:26] Production.ERROR: pbx CDR StartTime 2025-01-13 09:44:05 - End Time 2025-01-13 12:44:05
[2025-01-13 12:44:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239024', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239024', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239024', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239024', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:44:26] Production.INFO: ProcessCDR(1,14239024,1,1,2)
[2025-01-13 12:44:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:44:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:44:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:44:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:44:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239024', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:44:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239024', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:44:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:44:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:44:31] Production.INFO: ==2552== Releasing lock...
[2025-01-13 12:44:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:44:31] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:45:01] Production.INFO: ==2608== Lock acquired, processing the job...
[2025-01-13 17:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:45:01] Production.INFO: neon service started
[2025-01-13 17:45:01] Production.INFO: neon service started
[2025-01-13 17:45:01] Production.INFO: ==2608== Releasing lock...
[2025-01-13 17:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:45:01] Production.INFO: ==2610== Lock acquired, processing the job...
[2025-01-13 12:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:45:02] Production.INFO: ==2610== Releasing lock...
[2025-01-13 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:45:02] Production.INFO: ==2612== Lock acquired, processing the job...
[2025-01-13 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:45:02] Production.INFO: ==2612== Releasing lock...
[2025-01-13 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:45:03] Production.INFO: ==2619== Lock acquired, processing the job...
[2025-01-13 12:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:45:03] Production.INFO: ==2615== Lock acquired, processing the job...
[2025-01-13 12:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:45:03] Production.INFO: ==2623== Lock acquired, processing the job...
[2025-01-13 12:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:45:03] Production.INFO: ==2617== Lock acquired, processing the job...
[2025-01-13 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:45:03] Production.INFO: ==2621== Lock acquired, processing the job...
[2025-01-13 12:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:45:03] Production.INFO: ==2625== Lock acquired, processing the job...
[2025-01-13 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:45:03] Production.ERROR: done
[2025-01-13 12:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:45:03] Production.INFO: Account Balance Start.
[2025-01-13 12:45:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:45:03] Production.INFO: 117
[2025-01-13 12:45:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:45:03] Production.INFO: count ==21
[2025-01-13 12:45:03] Production.ERROR: done
[2025-01-13 12:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:45:03] Production.INFO: count ==21
[2025-01-13 12:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239028') start
[2025-01-13 12:45:03] Production.INFO: ==2617== Releasing lock...
[2025-01-13 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:45:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239028') end
[2025-01-13 12:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:45:03] Production.INFO: 1
[2025-01-13 12:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:45:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:45:03] Production.INFO: ==2625== Releasing lock...
[2025-01-13 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:45:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:45:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:45:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:45:04] Production.INFO: Total Charge 0
[2025-01-13 12:45:04] Production.INFO: CreateAllLog End
[2025-01-13 12:45:04] Production.INFO: Account Balance End.
[2025-01-13 12:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:45:04] Production.INFO: ==2621== Releasing lock...
[2025-01-13 12:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:45:04
[end_date_ymd] => 2025-01-13 12:45:04
[RateCDR] => 1
)
[2025-01-13 12: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-13 09:45:04' and `end` < '2025-01-13 12: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-13 12:45:10] Production.ERROR: CronJobId end10
[2025-01-13 12:45:10] Production.INFO: ==2619== Releasing lock...
[2025-01-13 12:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:45:12] Production.INFO: call_cost start
[2025-01-13 12:45:12] Production.INFO: call_cost end
[2025-01-13 12:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:45:13] Production.INFO: ==2615== Releasing lock...
[2025-01-13 12:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:45:23] Production.INFO: count ==5776
[2025-01-13 12:45:25] Production.ERROR: pbx CDR StartTime 2025-01-13 09:45:04 - End Time 2025-01-13 12:45:04
[2025-01-13 12:45:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:45:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239029', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:45:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239029', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:45:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239029', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:45:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239029', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:45:25] Production.INFO: ProcessCDR(1,14239029,1,1,2)
[2025-01-13 12:45:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:45:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:45:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:45:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:45:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239029', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:45:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239029', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:45:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:45:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:45:30] Production.INFO: ==2623== Releasing lock...
[2025-01-13 12:45:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:45:30] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:46:02] Production.INFO: ==2680== Lock acquired, processing the job...
[2025-01-13 17:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:46:02] Production.INFO: neon service started
[2025-01-13 17:46:02] Production.INFO: neon service started
[2025-01-13 17:46:02] Production.INFO: ==2680== Releasing lock...
[2025-01-13 17:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:46:02] Production.INFO: ==2684== Lock acquired, processing the job...
[2025-01-13 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:46:02] Production.INFO: ==2684== Releasing lock...
[2025-01-13 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:46:02] Production.INFO: ==2682== Lock acquired, processing the job...
[2025-01-13 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:46:02] Production.INFO: ==2682== Releasing lock...
[2025-01-13 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:46:03] Production.INFO: ==2689== Lock acquired, processing the job...
[2025-01-13 12:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:46:03] Production.INFO: ==2693== Lock acquired, processing the job...
[2025-01-13 12:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:46:03] Production.INFO: ==2695== Lock acquired, processing the job...
[2025-01-13 12:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:46:03] Production.INFO: Account Balance Start.
[2025-01-13 12:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:46:03] Production.INFO: 117
[2025-01-13 12:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:46:03] Production.INFO: ==2687== Lock acquired, processing the job...
[2025-01-13 12:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:46:03] Production.INFO: ==2697== Lock acquired, processing the job...
[2025-01-13 12:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:46:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:46:03] Production.INFO: ==2691== Lock acquired, processing the job...
[2025-01-13 12:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:46:03] Production.INFO: ==2689== Releasing lock...
[2025-01-13 12:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:46:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:46:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:46:03] Production.INFO: count ==21
[2025-01-13 12:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:46:03] Production.INFO: count ==21
[2025-01-13 12:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239032') start
[2025-01-13 12:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:46:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:46:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:46:04] Production.ERROR: done
[2025-01-13 12:46:04] Production.INFO: Total Charge 0
[2025-01-13 12:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:46:04] Production.INFO: CreateAllLog End
[2025-01-13 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239032') end
[2025-01-13 12:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:46:04] Production.INFO: 1
[2025-01-13 12:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:46:04] Production.INFO: ==2697== Releasing lock...
[2025-01-13 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:46:04] Production.ERROR: done
[2025-01-13 12:46:04] Production.INFO: Account Balance End.
[2025-01-13 12:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:46:04] Production.INFO: ==2693== Releasing lock...
[2025-01-13 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:46:05
[end_date_ymd] => 2025-01-13 12:46:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:46:05' and `end` < '2025-01-13 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-13 12:46:11] Production.ERROR: CronJobId end10
[2025-01-13 12:46:11] Production.INFO: ==2691== Releasing lock...
[2025-01-13 12:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:46:13] Production.INFO: call_cost start
[2025-01-13 12:46:13] Production.INFO: call_cost end
[2025-01-13 12:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:46:14] Production.INFO: ==2687== Releasing lock...
[2025-01-13 12:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:46:21] Production.INFO: count ==5782
[2025-01-13 12:46:24] Production.ERROR: pbx CDR StartTime 2025-01-13 09:46:05 - End Time 2025-01-13 12:46:05
[2025-01-13 12:46:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239034', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239034', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239034', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239034', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:46:24] Production.INFO: ProcessCDR(1,14239034,1,1,2)
[2025-01-13 12:46:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:46:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:46:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:46:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239034', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239034', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:46:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:46:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:46:28] Production.INFO: ==2695== Releasing lock...
[2025-01-13 12:46:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:46:28] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:47:01] Production.INFO: ==2751== Lock acquired, processing the job...
[2025-01-13 17:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:47:01] Production.INFO: neon service started
[2025-01-13 17:47:01] Production.INFO: neon service started
[2025-01-13 17:47:01] Production.INFO: ==2751== Releasing lock...
[2025-01-13 17:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:47:02] Production.INFO: ==2753== Lock acquired, processing the job...
[2025-01-13 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:47:02] Production.INFO: ==2755== Lock acquired, processing the job...
[2025-01-13 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:47:02] Production.INFO: ==2755== Releasing lock...
[2025-01-13 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:47:02] Production.INFO: ==2753== Releasing lock...
[2025-01-13 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:47:03] Production.INFO: ==2760== Lock acquired, processing the job...
[2025-01-13 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:47:03] Production.INFO: ==2766== Lock acquired, processing the job...
[2025-01-13 12:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:47:03] Production.INFO: ==2758== Lock acquired, processing the job...
[2025-01-13 12:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:47:03] Production.INFO: ==2762== Lock acquired, processing the job...
[2025-01-13 12:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:47:03] Production.INFO: ==2764== Lock acquired, processing the job...
[2025-01-13 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:47:03] Production.INFO: ==2768== Lock acquired, processing the job...
[2025-01-13 12:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:47:03] Production.INFO: ==2760== Releasing lock...
[2025-01-13 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:47:03] Production.ERROR: done
[2025-01-13 12:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:47:03] Production.INFO: Account Balance Start.
[2025-01-13 12:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:47:03] Production.INFO: 117
[2025-01-13 12:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:47:03] Production.INFO: count ==21
[2025-01-13 12:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:47:03] Production.INFO: count ==21
[2025-01-13 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239038') start
[2025-01-13 12:47:03] Production.ERROR: done
[2025-01-13 12:47:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:47:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:47:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239038') end
[2025-01-13 12:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:47:04] Production.INFO: 1
[2025-01-13 12:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:47:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:47:04] Production.INFO: ==2768== Releasing lock...
[2025-01-13 12:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:47:04] Production.INFO: Total Charge 0
[2025-01-13 12:47:04] Production.INFO: CreateAllLog End
[2025-01-13 12:47:04] Production.INFO: Account Balance End.
[2025-01-13 12:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:47:04] Production.INFO: ==2764== Releasing lock...
[2025-01-13 12:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:47:04
[end_date_ymd] => 2025-01-13 12:47:04
[RateCDR] => 1
)
[2025-01-13 12: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-13 09:47:04' and `end` < '2025-01-13 12: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-13 12:47:11] Production.ERROR: CronJobId end10
[2025-01-13 12:47:11] Production.INFO: ==2762== Releasing lock...
[2025-01-13 12:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:47:13] Production.INFO: call_cost start
[2025-01-13 12:47:13] Production.INFO: call_cost end
[2025-01-13 12:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:47:14] Production.INFO: ==2758== Releasing lock...
[2025-01-13 12:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:47:19] Production.INFO: count ==5792
[2025-01-13 12:47:21] Production.ERROR: pbx CDR StartTime 2025-01-13 09:47:04 - End Time 2025-01-13 12:47:04
[2025-01-13 12:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239039', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239039', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239039', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239039', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:47:22] Production.INFO: ProcessCDR(1,14239039,1,1,2)
[2025-01-13 12:47:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:47:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:47:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:47:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239039', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239039', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:47:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:47:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:47:26] Production.INFO: ==2766== Releasing lock...
[2025-01-13 12:47:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:47:26] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:48:02] Production.INFO: ==2822== Lock acquired, processing the job...
[2025-01-13 17:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:48:02] Production.INFO: neon service started
[2025-01-13 17:48:02] Production.INFO: neon service started
[2025-01-13 17:48:02] Production.INFO: ==2822== Releasing lock...
[2025-01-13 17:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:48:02] Production.INFO: ==2824== Lock acquired, processing the job...
[2025-01-13 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:48:02] Production.INFO: ==2826== Lock acquired, processing the job...
[2025-01-13 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:48:02] Production.INFO: ==2824== Releasing lock...
[2025-01-13 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:48:02] Production.INFO: ==2826== Releasing lock...
[2025-01-13 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:48:03] Production.INFO: ==2829== Lock acquired, processing the job...
[2025-01-13 12:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:48:03] Production.INFO: ==2831== Lock acquired, processing the job...
[2025-01-13 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:48:03] Production.INFO: ==2833== Lock acquired, processing the job...
[2025-01-13 12:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:48:03] Production.INFO: ==2835== Lock acquired, processing the job...
[2025-01-13 12:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:48:03] Production.INFO: ==2839== Lock acquired, processing the job...
[2025-01-13 12:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:48:03] Production.INFO: ==2831== Releasing lock...
[2025-01-13 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:48:03] Production.INFO: ==2837== Lock acquired, processing the job...
[2025-01-13 12:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:48:03] Production.INFO: Account Balance Start.
[2025-01-13 12:48:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:48:03] Production.INFO: 117
[2025-01-13 12:48:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 12:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:48:03] Production.INFO: count ==21
[2025-01-13 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-13 12:48:03] Production.INFO: count ==21
[2025-01-13 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239043') start
[2025-01-13 12:48:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239043') end
[2025-01-13 12:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:48:04] Production.INFO: 1
[2025-01-13 12:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:48:04] Production.INFO: ==2839== Releasing lock...
[2025-01-13 12:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:48:04] Production.ERROR: done
[2025-01-13 12:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:48:04] Production.INFO: Total Charge 0
[2025-01-13 12:48:04] Production.INFO: CreateAllLog End
[2025-01-13 12:48:04] Production.ERROR: done
[2025-01-13 12:48:04] Production.INFO: Account Balance End.
[2025-01-13 12:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:48:04] Production.INFO: ==2835== Releasing lock...
[2025-01-13 12:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:48:05
[end_date_ymd] => 2025-01-13 12:48:05
[RateCDR] => 1
)
[2025-01-13 12:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:48:05' and `end` < '2025-01-13 12:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:48:11] Production.ERROR: CronJobId end10
[2025-01-13 12:48:11] Production.INFO: ==2833== Releasing lock...
[2025-01-13 12:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:48:13] Production.INFO: call_cost start
[2025-01-13 12:48:13] Production.INFO: call_cost end
[2025-01-13 12:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:48:14] Production.INFO: ==2829== Releasing lock...
[2025-01-13 12:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:48:20] Production.INFO: count ==5797
[2025-01-13 12:48:22] Production.ERROR: pbx CDR StartTime 2025-01-13 09:48:05 - End Time 2025-01-13 12:48:05
[2025-01-13 12:48:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239044', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239044', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239044', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239044', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:48:23] Production.INFO: ProcessCDR(1,14239044,1,1,2)
[2025-01-13 12:48:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:48:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:48:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:48:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239044', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239044', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:48:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:48:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:48:27] Production.INFO: ==2837== Releasing lock...
[2025-01-13 12:48:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:48:27] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:49:01] Production.INFO: ==2895== Lock acquired, processing the job...
[2025-01-13 17:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:49:01] Production.INFO: neon service started
[2025-01-13 17:49:01] Production.INFO: neon service started
[2025-01-13 17:49:01] Production.INFO: ==2895== Releasing lock...
[2025-01-13 17:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:49:01] Production.INFO: ==2897== Lock acquired, processing the job...
[2025-01-13 12:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:49:02] Production.INFO: ==2899== Lock acquired, processing the job...
[2025-01-13 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:49:02] Production.INFO: ==2897== Releasing lock...
[2025-01-13 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:49:02] Production.INFO: ==2899== Releasing lock...
[2025-01-13 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:49:02] Production.INFO: ==2906== Lock acquired, processing the job...
[2025-01-13 12:49:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:49:03] Production.INFO: ==2901== Lock acquired, processing the job...
[2025-01-13 12:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:49:03] Production.INFO: ==2912== Lock acquired, processing the job...
[2025-01-13 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:49:03] Production.INFO: ==2903== Lock acquired, processing the job...
[2025-01-13 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 12:49:03] Production.INFO: ==2908== Lock acquired, processing the job...
[2025-01-13 12:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:49:03] Production.INFO: count ==21
[2025-01-13 12:49:03] Production.INFO: ==2910== Lock acquired, processing the job...
[2025-01-13 12:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 12:49:03] Production.INFO: count ==21
[2025-01-13 12:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239046') start
[2025-01-13 12:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:49:03] Production.INFO: Account Balance Start.
[2025-01-13 12:49:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:49:03] Production.INFO: 117
[2025-01-13 12:49:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239046') end
[2025-01-13 12:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:49:03] Production.INFO: 1
[2025-01-13 12:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:49:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:49:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:49:03] Production.INFO: ==2912== Releasing lock...
[2025-01-13 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:49:03] Production.ERROR: done
[2025-01-13 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:49:03] Production.INFO: ==2903== Releasing lock...
[2025-01-13 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:49:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:49:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:49:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:49:04] Production.ERROR: done
[2025-01-13 12:49:04] Production.INFO: Total Charge 0
[2025-01-13 12:49:04] Production.INFO: CreateAllLog End
[2025-01-13 12:49:04] Production.INFO: Account Balance End.
[2025-01-13 12:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:49:04] Production.INFO: ==2908== Releasing lock...
[2025-01-13 12:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:49:04
[end_date_ymd] => 2025-01-13 12:49:04
[RateCDR] => 1
)
[2025-01-13 12:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:49:04' and `end` < '2025-01-13 12:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:49:11] Production.ERROR: CronJobId end10
[2025-01-13 12:49:11] Production.INFO: ==2906== Releasing lock...
[2025-01-13 12:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:49:12] Production.INFO: call_cost start
[2025-01-13 12:49:12] Production.INFO: call_cost end
[2025-01-13 12:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:49:13] Production.INFO: ==2901== Releasing lock...
[2025-01-13 12:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:49:18] Production.INFO: count ==5800
[2025-01-13 12:49:21] Production.ERROR: pbx CDR StartTime 2025-01-13 09:49:04 - End Time 2025-01-13 12:49:04
[2025-01-13 12:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239049', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239049', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239049', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239049', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:49:21] Production.INFO: ProcessCDR(1,14239049,1,1,2)
[2025-01-13 12:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:49:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:49:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:49:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239049', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239049', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:49:26] Production.INFO: ==2910== Releasing lock...
[2025-01-13 12:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:49:26] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:50:01] Production.INFO: ==2966== Lock acquired, processing the job...
[2025-01-13 17:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:50:01] Production.INFO: neon service started
[2025-01-13 17:50:01] Production.INFO: neon service started
[2025-01-13 17:50:01] Production.INFO: ==2966== Releasing lock...
[2025-01-13 17:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:50:02] Production.INFO: ==2968== Lock acquired, processing the job...
[2025-01-13 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:50:02] Production.INFO: ==2970== Lock acquired, processing the job...
[2025-01-13 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:50:02] Production.INFO: ==2968== Releasing lock...
[2025-01-13 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:50:02] Production.INFO: ==2970== Releasing lock...
[2025-01-13 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:50:03] Production.INFO: ==2977== Lock acquired, processing the job...
[2025-01-13 12:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:50:03] Production.INFO: ==2981== Lock acquired, processing the job...
[2025-01-13 12:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:50:03] Production.INFO: ==2987== Lock acquired, processing the job...
[2025-01-13 12:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:50:03] Production.INFO: Account Balance Start.
[2025-01-13 12:50:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:50:03] Production.INFO: 117
[2025-01-13 12:50:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:50:03] Production.INFO: ==2973== Lock acquired, processing the job...
[2025-01-13 12:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 12:50:03] Production.INFO: ==2975== Lock acquired, processing the job...
[2025-01-13 12:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 12:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:50:04] Production.INFO: count ==21
[2025-01-13 12:50:04] Production.INFO: ==2977== Releasing lock...
[2025-01-13 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:50:04] Production.INFO: count ==21
[2025-01-13 12:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239052') start
[2025-01-13 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:50:04] Production.ERROR: CronJob PID - 2975
[2025-01-13 12:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 12:50:04] Production.ERROR: CronJob ID - 5
[2025-01-13 12:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 12:50:00
[2025-01-13 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:50:04] Production.ERROR: CronJob PID - 2981
[2025-01-13 12:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:50:04] Production.ERROR: CronJob ID - 12
[2025-01-13 12:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 12:50:00
[2025-01-13 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 12:50:04] Production.ERROR: CronJob PID - 2987
[2025-01-13 12:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 12:50:04] Production.ERROR: CronJob ID - 19
[2025-01-13 12:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 12:50:00
[2025-01-13 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 12:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 12:50:04] Production.INFO: ==2973== Releasing lock...
[2025-01-13 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 12:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 12:50:04] Production.INFO: ==2979== Lock acquired, processing the job...
[2025-01-13 12:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:50:04] Production.INFO: Total Charge 0
[2025-01-13 12:50:04] Production.INFO: CreateAllLog End
[2025-01-13 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239052') end
[2025-01-13 12:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:50:04] Production.INFO: 1
[2025-01-13 12:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:50:04] Production.INFO: ==2983== Lock acquired, processing the job...
[2025-01-13 12:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:50:04] Production.INFO: ==2985== Lock acquired, processing the job...
[2025-01-13 12:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 12:50:04] Production.INFO: Account Balance End.
[2025-01-13 12:50:04] Production.INFO: ==2987== Releasing lock...
[2025-01-13 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:50:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:50:04] Production.INFO: ==2981== Releasing lock...
[2025-01-13 12:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:50:04] Production.ERROR: done
[2025-01-13 12:50:05] Production.ERROR: done
[2025-01-13 12:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 12:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239054', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 12:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:50:05] Production.ERROR: done
[2025-01-13 12:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:50:06
[end_date_ymd] => 2025-01-13 12:50:06
[RateCDR] => 1
)
[2025-01-13 12:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:50:06' and `end` < '2025-01-13 12:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239054', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 12:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 12:50:09] Production.INFO: ProcessCDR(1,14239054,1,1,2)
[2025-01-13 12:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239054,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239054,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:50:09] Production.INFO: ==2985== Releasing lock...
[2025-01-13 12:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 12:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 12:50:13] Production.ERROR: CronJobId end10
[2025-01-13 12:50:13] Production.INFO: ==2979== Releasing lock...
[2025-01-13 12:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:50:15] Production.INFO: call_cost start
[2025-01-13 12:50:15] Production.INFO: call_cost end
[2025-01-13 12:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:50:16] Production.INFO: ==2975== Releasing lock...
[2025-01-13 12:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:50:30] Production.INFO: count ==5813
[2025-01-13 12:50:33] Production.ERROR: pbx CDR StartTime 2025-01-13 09:50:06 - End Time 2025-01-13 12:50:06
[2025-01-13 12:50:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:50:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239055', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:50:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239055', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:50:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239055', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:50:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239055', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:50:33] Production.INFO: ProcessCDR(1,14239055,1,1,2)
[2025-01-13 12:50:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:50:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:50:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:50:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:50:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239055', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:50:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239055', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:50:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:50:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:50:38] Production.INFO: ==2983== Releasing lock...
[2025-01-13 12:50:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:50:38] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:51:01] Production.INFO: ==3041== Lock acquired, processing the job...
[2025-01-13 17:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:51:01] Production.INFO: neon service started
[2025-01-13 17:51:01] Production.INFO: neon service started
[2025-01-13 17:51:01] Production.INFO: ==3041== Releasing lock...
[2025-01-13 17:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:51:01] Production.INFO: ==3043== Lock acquired, processing the job...
[2025-01-13 12:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:51:01] Production.INFO: ==3043== Releasing lock...
[2025-01-13 12:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:51:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:51:02] Production.INFO: ==3045== Lock acquired, processing the job...
[2025-01-13 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:51:02] Production.INFO: ==3045== Releasing lock...
[2025-01-13 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:51:02] Production.INFO: ==3049== Lock acquired, processing the job...
[2025-01-13 12:51:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:51:02] Production.INFO: ==3053== Lock acquired, processing the job...
[2025-01-13 12:51:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:51:02] Production.INFO: ==3047== Lock acquired, processing the job...
[2025-01-13 12:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:51:03] Production.INFO: ==3051== Lock acquired, processing the job...
[2025-01-13 12:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:51:03] Production.INFO: Account Balance Start.
[2025-01-13 12:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:51:03] Production.INFO: 117
[2025-01-13 12:51:03] Production.INFO: ==3049== Releasing lock...
[2025-01-13 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:51:03] Production.INFO: ==3055== Lock acquired, processing the job...
[2025-01-13 12:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:51:03] Production.INFO: ==3057== Lock acquired, processing the job...
[2025-01-13 12:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:51:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:51:03] Production.INFO: Total Charge 0
[2025-01-13 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-13 12:51:03] Production.INFO: CreateAllLog End
[2025-01-13 12:51:03] Production.INFO: count ==21
[2025-01-13 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-13 12:51:03] Production.INFO: count ==21
[2025-01-13 12:51:03] Production.ERROR: done
[2025-01-13 12:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239059') start
[2025-01-13 12:51:03] Production.INFO: Account Balance End.
[2025-01-13 12:51:03] Production.ERROR: done
[2025-01-13 12:51:03] Production.ERROR: CronJobId end 12
[2025-01-13 12:51:03] Production.INFO: ==3053== Releasing lock...
[2025-01-13 12:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239059') end
[2025-01-13 12:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:51:03] Production.INFO: 1
[2025-01-13 12:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:51:03] Production.INFO: ==3057== Releasing lock...
[2025-01-13 12:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:51:04
[end_date_ymd] => 2025-01-13 12:51:04
[RateCDR] => 1
)
[2025-01-13 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-13 09:51:04' and `end` < '2025-01-13 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-13 12:51:10] Production.ERROR: CronJobId end10
[2025-01-13 12:51:10] Production.INFO: ==3051== Releasing lock...
[2025-01-13 12:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:51:12] Production.INFO: call_cost start
[2025-01-13 12:51:12] Production.INFO: call_cost end
[2025-01-13 12:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:51:13] Production.INFO: ==3047== Releasing lock...
[2025-01-13 12:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:51:28] Production.INFO: count ==5809
[2025-01-13 12:51:31] Production.ERROR: pbx CDR StartTime 2025-01-13 09:51:04 - End Time 2025-01-13 12:51:04
[2025-01-13 12:51:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:51:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239060', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:51:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239060', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:51:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239060', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:51:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239060', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:51:31] Production.INFO: ProcessCDR(1,14239060,1,1,2)
[2025-01-13 12:51:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:51:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:51:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:51:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:51:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239060', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:51:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239060', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:51:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:51:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:51:36] Production.INFO: ==3055== Releasing lock...
[2025-01-13 12:51:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:51:36] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:52:01] Production.INFO: ==3113== Lock acquired, processing the job...
[2025-01-13 17:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:52:01] Production.INFO: neon service started
[2025-01-13 17:52:01] Production.INFO: neon service started
[2025-01-13 17:52:01] Production.INFO: ==3113== Releasing lock...
[2025-01-13 17:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:52:02] Production.INFO: ==3115== Lock acquired, processing the job...
[2025-01-13 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:52:02] Production.INFO: ==3115== Releasing lock...
[2025-01-13 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:52:02] Production.INFO: ==3117== Lock acquired, processing the job...
[2025-01-13 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:52:02] Production.INFO: ==3117== Releasing lock...
[2025-01-13 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:52:03] Production.INFO: ==3119== Lock acquired, processing the job...
[2025-01-13 12:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:52:03] Production.INFO: ==3123== Lock acquired, processing the job...
[2025-01-13 12:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:52:03] Production.INFO: ==3121== Lock acquired, processing the job...
[2025-01-13 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:52:03] Production.INFO: ==3129== Lock acquired, processing the job...
[2025-01-13 12:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:52:03] Production.INFO: ==3125== Lock acquired, processing the job...
[2025-01-13 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:52:03] Production.INFO: ==3127== Lock acquired, processing the job...
[2025-01-13 12:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 12:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:52:03] Production.INFO: count ==21
[2025-01-13 12:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:52:03] Production.INFO: Account Balance Start.
[2025-01-13 12:52:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:52:03] Production.INFO: 117
[2025-01-13 12:52:03] Production.INFO: count ==21
[2025-01-13 12:52:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239063') start
[2025-01-13 12:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:52:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:52:03] Production.INFO: ==3121== Releasing lock...
[2025-01-13 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:52:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:52:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239063') end
[2025-01-13 12:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:52:03] Production.INFO: 1
[2025-01-13 12:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:52:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:52:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:52:03] Production.INFO: Total Charge 0
[2025-01-13 12:52:03] Production.INFO: ==3129== Releasing lock...
[2025-01-13 12:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:52:04] Production.ERROR: done
[2025-01-13 12:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:52:04] Production.INFO: CreateAllLog End
[2025-01-13 12:52:04] Production.ERROR: done
[2025-01-13 12:52:04] Production.INFO: Account Balance End.
[2025-01-13 12:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:52:04] Production.INFO: ==3125== Releasing lock...
[2025-01-13 12:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:52:05
[end_date_ymd] => 2025-01-13 12:52:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:52:05' and `end` < '2025-01-13 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-13 12:52:11] Production.ERROR: CronJobId end10
[2025-01-13 12:52:11] Production.INFO: ==3123== Releasing lock...
[2025-01-13 12:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:52:13] Production.INFO: call_cost start
[2025-01-13 12:52:13] Production.INFO: call_cost end
[2025-01-13 12:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:52:14] Production.INFO: ==3119== Releasing lock...
[2025-01-13 12:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:52:29] Production.INFO: count ==5785
[2025-01-13 12:52:32] Production.ERROR: pbx CDR StartTime 2025-01-13 09:52:05 - End Time 2025-01-13 12:52:05
[2025-01-13 12:52:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:52:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239065', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:52:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239065', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:52:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239065', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:52:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239065', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:52:32] Production.INFO: ProcessCDR(1,14239065,1,1,2)
[2025-01-13 12:52:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:52:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:52:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:52:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:52:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239065', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:52:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239065', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:52:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:52:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:52:37] Production.INFO: ==3127== Releasing lock...
[2025-01-13 12:52:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:52:37] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:53:02] Production.INFO: ==3184== Lock acquired, processing the job...
[2025-01-13 17:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:53:02] Production.INFO: neon service started
[2025-01-13 17:53:02] Production.INFO: neon service started
[2025-01-13 17:53:02] Production.INFO: ==3184== Releasing lock...
[2025-01-13 17:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:53:02] Production.INFO: ==3186== Lock acquired, processing the job...
[2025-01-13 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:53:02] Production.INFO: ==3186== Releasing lock...
[2025-01-13 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:53:03] Production.INFO: ==3188== Lock acquired, processing the job...
[2025-01-13 17:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:53:03] Production.INFO: ==3188== Releasing lock...
[2025-01-13 17:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:53:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:53:03] Production.INFO: ==3199== Lock acquired, processing the job...
[2025-01-13 12:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:53:03] Production.INFO: ==3191== Lock acquired, processing the job...
[2025-01-13 12:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:53:03] Production.INFO: ==3193== Lock acquired, processing the job...
[2025-01-13 12:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:53:03] Production.INFO: ==3195== Lock acquired, processing the job...
[2025-01-13 12:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:53:03] Production.INFO: ==3197== Lock acquired, processing the job...
[2025-01-13 12:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:53:03] Production.INFO: ==3201== Lock acquired, processing the job...
[2025-01-13 12:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:53:04] Production.INFO: Account Balance Start.
[2025-01-13 12:53:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:53:04] Production.INFO: 117
[2025-01-13 12:53:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:53:04] Production.INFO: count ==21
[2025-01-13 12:53:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:53:04] Production.INFO: ==3193== Releasing lock...
[2025-01-13 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:53:04] Production.INFO: count ==21
[2025-01-13 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239069') start
[2025-01-13 12:53:04] Production.ERROR: done
[2025-01-13 12:53:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:53:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:53:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239069') end
[2025-01-13 12:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:53:04] Production.INFO: 1
[2025-01-13 12:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:53:04] Production.INFO: ==3201== Releasing lock...
[2025-01-13 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:53:04] Production.ERROR: done
[2025-01-13 12:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:53:04] Production.INFO: Total Charge 0
[2025-01-13 12:53:04] Production.INFO: CreateAllLog End
[2025-01-13 12:53:04] Production.INFO: Account Balance End.
[2025-01-13 12:53:05] Production.ERROR: CronJobId end 12
[2025-01-13 12:53:05] Production.INFO: ==3197== Releasing lock...
[2025-01-13 12:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:53:05
[end_date_ymd] => 2025-01-13 12:53:05
[RateCDR] => 1
)
[2025-01-13 12:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:53:05' and `end` < '2025-01-13 12:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:53:11] Production.ERROR: CronJobId end10
[2025-01-13 12:53:11] Production.INFO: ==3195== Releasing lock...
[2025-01-13 12:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:53:13] Production.INFO: call_cost start
[2025-01-13 12:53:13] Production.INFO: call_cost end
[2025-01-13 12:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:53:14] Production.INFO: ==3191== Releasing lock...
[2025-01-13 12:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:53:24] Production.INFO: count ==5778
[2025-01-13 12:53:26] Production.ERROR: pbx CDR StartTime 2025-01-13 09:53:05 - End Time 2025-01-13 12:53:05
[2025-01-13 12:53:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:53:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239070', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:53:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239070', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:53:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239070', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:53:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239070', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:53:26] Production.INFO: ProcessCDR(1,14239070,1,1,2)
[2025-01-13 12:53:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:53:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:53:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:53:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:53:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239070', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:53:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239070', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:53:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:53:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:53:31] Production.INFO: ==3199== Releasing lock...
[2025-01-13 12:53:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:53:31] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:54:02] Production.INFO: ==3268== Lock acquired, processing the job...
[2025-01-13 17:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:54:02] Production.INFO: neon service started
[2025-01-13 17:54:02] Production.INFO: neon service started
[2025-01-13 17:54:02] Production.INFO: ==3268== Releasing lock...
[2025-01-13 17:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:54:02] Production.INFO: ==3274== Lock acquired, processing the job...
[2025-01-13 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:54:02] Production.INFO: ==3276== Lock acquired, processing the job...
[2025-01-13 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 12:54:02] Production.INFO: ==3274== Releasing lock...
[2025-01-13 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:54:02] Production.INFO: ==3276== Releasing lock...
[2025-01-13 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:54:03] Production.INFO: ==3284== Lock acquired, processing the job...
[2025-01-13 12:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:54:03] Production.INFO: ==3286== Lock acquired, processing the job...
[2025-01-13 12:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:54:03] Production.INFO: ==3278== Lock acquired, processing the job...
[2025-01-13 12:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:54:03] Production.INFO: Account Balance Start.
[2025-01-13 12:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:54:03] Production.INFO: ==3280== Lock acquired, processing the job...
[2025-01-13 12:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:54:03] Production.INFO: 117
[2025-01-13 12:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:54:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:54:03] Production.INFO: ==3282== Lock acquired, processing the job...
[2025-01-13 12:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:54:03] Production.INFO: ==3288== Lock acquired, processing the job...
[2025-01-13 12:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:54:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:54:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:54:04] Production.ERROR: done
[2025-01-13 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-13 12:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:54:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:54:04] Production.INFO: count ==21
[2025-01-13 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-13 12:54:04] Production.INFO: count ==21
[2025-01-13 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239074') start
[2025-01-13 12:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:54:04] Production.INFO: Total Charge 0
[2025-01-13 12:54:04] Production.INFO: CreateAllLog End
[2025-01-13 12:54:04] Production.ERROR: done
[2025-01-13 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239074') end
[2025-01-13 12:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:54:04] Production.INFO: 1
[2025-01-13 12:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:54:04] Production.INFO: ==3280== Releasing lock...
[2025-01-13 12:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:54:04] Production.INFO: ==3288== Releasing lock...
[2025-01-13 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:54:04] Production.INFO: Account Balance End.
[2025-01-13 12:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:54:04] Production.INFO: ==3284== Releasing lock...
[2025-01-13 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:54:05
[end_date_ymd] => 2025-01-13 12:54:05
[RateCDR] => 1
)
[2025-01-13 12:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:54:05' and `end` < '2025-01-13 12:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:54:14] Production.ERROR: CronJobId end10
[2025-01-13 12:54:14] Production.INFO: ==3282== Releasing lock...
[2025-01-13 12:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:54:15] Production.INFO: call_cost start
[2025-01-13 12:54:15] Production.INFO: call_cost end
[2025-01-13 12:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:54:15] Production.INFO: ==3278== Releasing lock...
[2025-01-13 12:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:54:30] Production.INFO: count ==5783
[2025-01-13 12:54:33] Production.ERROR: pbx CDR StartTime 2025-01-13 09:54:05 - End Time 2025-01-13 12:54:05
[2025-01-13 12:54:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:54:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239075', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:54:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239075', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:54:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239075', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:54:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239075', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:54:33] Production.INFO: ProcessCDR(1,14239075,1,1,2)
[2025-01-13 12:54:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:54:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:54:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:54:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:54:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239075', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:54:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239075', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:54:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:54:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:54:38] Production.INFO: ==3286== Releasing lock...
[2025-01-13 12:54:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:54:38] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 17:55:01] Production.INFO: ==3342== Lock acquired, processing the job...
[2025-01-13 17:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:55:01] Production.INFO: neon service started
[2025-01-13 17:55:01] Production.INFO: neon service started
[2025-01-13 17:55:01] Production.INFO: ==3342== Releasing lock...
[2025-01-13 17:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 17:55:01] Production.INFO: ==3347== Lock acquired, processing the job...
[2025-01-13 17:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:55:01] Production.INFO: ==3347== Releasing lock...
[2025-01-13 17:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:55:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:55:02] Production.INFO: ==3345== Lock acquired, processing the job...
[2025-01-13 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:55:02] Production.INFO: ==3345== Releasing lock...
[2025-01-13 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:55:02] Production.INFO: ==3349== Lock acquired, processing the job...
[2025-01-13 12:55:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:55:03] Production.INFO: ==3353== Lock acquired, processing the job...
[2025-01-13 12:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:55:03] Production.INFO: ==3355== Lock acquired, processing the job...
[2025-01-13 12:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:55:03] Production.INFO: Account Balance Start.
[2025-01-13 12:55:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:55:03] Production.INFO: 117
[2025-01-13 12:55:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:55:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:55:03] Production.INFO: ==3351== Lock acquired, processing the job...
[2025-01-13 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:55:03] Production.INFO: ==3359== Lock acquired, processing the job...
[2025-01-13 12:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:55:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:55:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:55:03] Production.INFO: ==3357== Lock acquired, processing the job...
[2025-01-13 12:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:55:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:55:03] Production.INFO: count ==21
[2025-01-13 12:55:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 12: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-13 12:55:03] Production.INFO: count ==21
[2025-01-13 12:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:55:03] Production.INFO: Total Charge 0
[2025-01-13 12:55:03] Production.INFO: CreateAllLog End
[2025-01-13 12:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239079') start
[2025-01-13 12:55:03] Production.INFO: ==3351== Releasing lock...
[2025-01-13 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239079') end
[2025-01-13 12:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:55:03] Production.INFO: 1
[2025-01-13 12:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:55:03] Production.ERROR: done
[2025-01-13 12:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:55:04] Production.ERROR: done
[2025-01-13 12:55:04] Production.INFO: ==3359== Releasing lock...
[2025-01-13 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:55:04] Production.INFO: Account Balance End.
[2025-01-13 12:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:55:04] Production.INFO: ==3355== Releasing lock...
[2025-01-13 12:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:55:04
[end_date_ymd] => 2025-01-13 12:55:04
[RateCDR] => 1
)
[2025-01-13 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-13 09:55:04' and `end` < '2025-01-13 12: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-13 12:55:11] Production.ERROR: CronJobId end10
[2025-01-13 12:55:11] Production.INFO: ==3353== Releasing lock...
[2025-01-13 12:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:55:12] Production.INFO: call_cost start
[2025-01-13 12:55:12] Production.INFO: call_cost end
[2025-01-13 12:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:55:13] Production.INFO: ==3349== Releasing lock...
[2025-01-13 12:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:55:32] Production.INFO: count ==5814
[2025-01-13 12:55:35] Production.ERROR: pbx CDR StartTime 2025-01-13 09:55:04 - End Time 2025-01-13 12:55:04
[2025-01-13 12:55:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:55:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239080', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:55:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239080', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:55:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239080', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:55:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239080', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:55:35] Production.INFO: ProcessCDR(1,14239080,1,1,2)
[2025-01-13 12:55:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:55:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:55:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:55:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:55:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239080', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:55:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239080', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:55:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:55:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:55:40] Production.INFO: ==3357== Releasing lock...
[2025-01-13 12:55:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:55:40] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:56:01] Production.INFO: ==3452== Lock acquired, processing the job...
[2025-01-13 17:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:56:01] Production.INFO: neon service started
[2025-01-13 17:56:01] Production.INFO: neon service started
[2025-01-13 17:56:01] Production.INFO: ==3452== Releasing lock...
[2025-01-13 17:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:56:02] Production.INFO: ==3454== Lock acquired, processing the job...
[2025-01-13 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 17:56:02] Production.INFO: ==3456== Lock acquired, processing the job...
[2025-01-13 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:56:02] Production.INFO: ==3456== Releasing lock...
[2025-01-13 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:56:02] Production.INFO: ==3454== Releasing lock...
[2025-01-13 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 12:56:03] Production.INFO: ==3461== Lock acquired, processing the job...
[2025-01-13 12:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:56:03] Production.INFO: ==3469== Lock acquired, processing the job...
[2025-01-13 12:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:56:03] Production.INFO: ==3459== Lock acquired, processing the job...
[2025-01-13 12:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:56:03] Production.INFO: ==3463== Lock acquired, processing the job...
[2025-01-13 12:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:56:03] Production.INFO: ==3465== Lock acquired, processing the job...
[2025-01-13 12:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12: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-13 12:56:04] Production.INFO: count ==21
[2025-01-13 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-13 12:56:04] Production.INFO: ==3467== Lock acquired, processing the job...
[2025-01-13 12:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:56:04] Production.INFO: count ==21
[2025-01-13 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239081') start
[2025-01-13 12:56:04] Production.INFO: Account Balance Start.
[2025-01-13 12:56:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:56:04] Production.INFO: 117
[2025-01-13 12:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:56:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:56:04] Production.INFO: ==3461== Releasing lock...
[2025-01-13 12:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239081') end
[2025-01-13 12:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:56:04] Production.INFO: 1
[2025-01-13 12:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:56:04] Production.INFO: ==3469== Releasing lock...
[2025-01-13 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:56:04] Production.ERROR: done
[2025-01-13 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:56:04] Production.ERROR: done
[2025-01-13 12:56:04] Production.INFO: Total Charge 0
[2025-01-13 12:56:04] Production.INFO: CreateAllLog End
[2025-01-13 12:56:04] Production.INFO: Account Balance End.
[2025-01-13 12:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:56:04] Production.INFO: ==3465== Releasing lock...
[2025-01-13 12:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:56:05
[end_date_ymd] => 2025-01-13 12:56:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:56:05' and `end` < '2025-01-13 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-13 12:56:11] Production.ERROR: CronJobId end10
[2025-01-13 12:56:11] Production.INFO: ==3463== Releasing lock...
[2025-01-13 12:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:56:13] Production.INFO: call_cost start
[2025-01-13 12:56:13] Production.INFO: call_cost end
[2025-01-13 12:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:56:14] Production.INFO: ==3459== Releasing lock...
[2025-01-13 12:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:56:23] Production.INFO: count ==5823
[2025-01-13 12:56:25] Production.ERROR: pbx CDR StartTime 2025-01-13 09:56:05 - End Time 2025-01-13 12:56:05
[2025-01-13 12:56:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239085', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239085', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239085', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239085', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:56:25] Production.INFO: ProcessCDR(1,14239085,1,1,2)
[2025-01-13 12:56:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:56:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:56:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:56:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:56:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239085', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:56:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239085', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:56:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:56:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:56:30] Production.INFO: ==3467== Releasing lock...
[2025-01-13 12:56:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:56:30] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:57:01] Production.INFO: ==3521== Lock acquired, processing the job...
[2025-01-13 17:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:57:01] Production.INFO: neon service started
[2025-01-13 17:57:01] Production.INFO: neon service started
[2025-01-13 17:57:01] Production.INFO: ==3521== Releasing lock...
[2025-01-13 17:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:57:01] Production.INFO: ==3523== Lock acquired, processing the job...
[2025-01-13 12:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:57:02] Production.INFO: ==3523== Releasing lock...
[2025-01-13 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:57:02] Production.INFO: ==3525== Lock acquired, processing the job...
[2025-01-13 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:57:02] Production.INFO: ==3525== Releasing lock...
[2025-01-13 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:57:02] Production.INFO: ==3535== Lock acquired, processing the job...
[2025-01-13 12:57:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:57:02] Production.INFO: ==3537== Lock acquired, processing the job...
[2025-01-13 12:57:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:57:02] Production.INFO: ==3527== Lock acquired, processing the job...
[2025-01-13 12:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:57:03] Production.INFO: ==3529== Lock acquired, processing the job...
[2025-01-13 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:57:03] Production.INFO: ==3531== Lock acquired, processing the job...
[2025-01-13 12:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 12:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:57:03] Production.INFO: count ==21
[2025-01-13 12:57:03] Production.INFO: ==3533== Lock acquired, processing the job...
[2025-01-13 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 12:57:03] Production.INFO: count ==21
[2025-01-13 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239086') start
[2025-01-13 12:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:57:03] Production.INFO: Account Balance Start.
[2025-01-13 12:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:57:03] Production.INFO: 117
[2025-01-13 12:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:57:03] Production.ERROR: done
[2025-01-13 12:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:57:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239086') end
[2025-01-13 12:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:57:03] Production.INFO: 1
[2025-01-13 12:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:57:03] Production.INFO: ==3537== Releasing lock...
[2025-01-13 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:57:03] Production.INFO: ==3529== Releasing lock...
[2025-01-13 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:57:03] Production.ERROR: done
[2025-01-13 12:57:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:57:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:57:03] Production.INFO: Total Charge 0
[2025-01-13 12:57:03] Production.INFO: CreateAllLog End
[2025-01-13 12:57:03] Production.INFO: Account Balance End.
[2025-01-13 12:57:03] Production.ERROR: CronJobId end 12
[2025-01-13 12:57:03] Production.INFO: ==3533== Releasing lock...
[2025-01-13 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:57:04
[end_date_ymd] => 2025-01-13 12:57:04
[RateCDR] => 1
)
[2025-01-13 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-13 09:57:04' and `end` < '2025-01-13 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-13 12:57:10] Production.ERROR: CronJobId end10
[2025-01-13 12:57:10] Production.INFO: ==3531== Releasing lock...
[2025-01-13 12:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:57:12] Production.INFO: call_cost start
[2025-01-13 12:57:12] Production.INFO: call_cost end
[2025-01-13 12:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:57:13] Production.INFO: ==3527== Releasing lock...
[2025-01-13 12:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:57:24] Production.INFO: count ==5815
[2025-01-13 12:57:26] Production.ERROR: pbx CDR StartTime 2025-01-13 09:57:04 - End Time 2025-01-13 12:57:04
[2025-01-13 12:57:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239090', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239090', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239090', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239090', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:57:26] Production.INFO: ProcessCDR(1,14239090,1,1,2)
[2025-01-13 12:57:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:57:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:57:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:57:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239090', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239090', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:57:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:57:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:57:31] Production.INFO: ==3535== Releasing lock...
[2025-01-13 12:57:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:57:31] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:58:01] Production.INFO: ==3592== Lock acquired, processing the job...
[2025-01-13 17:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:58:01] Production.INFO: neon service started
[2025-01-13 17:58:01] Production.INFO: neon service started
[2025-01-13 17:58:01] Production.INFO: ==3592== Releasing lock...
[2025-01-13 17:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:58:02] Production.INFO: ==3594== Lock acquired, processing the job...
[2025-01-13 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:58:02] Production.INFO: ==3594== Releasing lock...
[2025-01-13 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:58:02] Production.INFO: ==3596== Lock acquired, processing the job...
[2025-01-13 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:58:02] Production.INFO: ==3596== Releasing lock...
[2025-01-13 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:58:03] Production.INFO: ==3602== Lock acquired, processing the job...
[2025-01-13 12:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:58:03] Production.INFO: ==3598== Lock acquired, processing the job...
[2025-01-13 12:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:58:03] Production.INFO: ==3604== Lock acquired, processing the job...
[2025-01-13 12:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:58:03] Production.INFO: ==3600== Lock acquired, processing the job...
[2025-01-13 12:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:58:03] Production.INFO: Account Balance Start.
[2025-01-13 12:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 12:58:03] Production.INFO: 117
[2025-01-13 12:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 12:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 12:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:58:03] Production.INFO: ==3606== Lock acquired, processing the job...
[2025-01-13 12:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 12:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 12:58:03] Production.INFO: ==3608== Lock acquired, processing the job...
[2025-01-13 12:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 12:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 12:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:58:03] Production.INFO: Date 2025-01-13
[2025-01-13 12:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 12:58:03] Production.INFO: Total Charge 0
[2025-01-13 12:58:03] Production.INFO: count ==21
[2025-01-13 12:58:03] Production.INFO: CreateAllLog End
[2025-01-13 12:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:58:03] Production.INFO: count ==21
[2025-01-13 12:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239094') start
[2025-01-13 12:58:04] Production.INFO: ==3600== Releasing lock...
[2025-01-13 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:58:04] Production.ERROR: done
[2025-01-13 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239094') end
[2025-01-13 12:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:58:04] Production.INFO: 1
[2025-01-13 12:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:58:04] Production.INFO: ==3608== Releasing lock...
[2025-01-13 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:58:04] Production.INFO: Account Balance End.
[2025-01-13 12:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:58:04] Production.INFO: ==3604== Releasing lock...
[2025-01-13 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:58:04] Production.ERROR: done
[2025-01-13 12:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:58:05
[end_date_ymd] => 2025-01-13 12:58:05
[RateCDR] => 1
)
[2025-01-13 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-13 09:58:05' and `end` < '2025-01-13 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-13 12:58:12] Production.ERROR: CronJobId end10
[2025-01-13 12:58:12] Production.INFO: ==3602== Releasing lock...
[2025-01-13 12:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:58:14] Production.INFO: call_cost start
[2025-01-13 12:58:14] Production.INFO: call_cost end
[2025-01-13 12:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:58:14] Production.INFO: ==3598== Releasing lock...
[2025-01-13 12:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:58:18] Production.INFO: count ==5817
[2025-01-13 12:58:21] Production.ERROR: pbx CDR StartTime 2025-01-13 09:58:05 - End Time 2025-01-13 12:58:05
[2025-01-13 12:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239095', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239095', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239095', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239095', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:58:21] Production.INFO: ProcessCDR(1,14239095,1,1,2)
[2025-01-13 12:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239095', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239095', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:58:26] Production.INFO: ==3606== Releasing lock...
[2025-01-13 12:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:58:26] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 17:59:02] Production.INFO: ==3663== Lock acquired, processing the job...
[2025-01-13 17:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 17:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 17:59:02] Production.INFO: neon service started
[2025-01-13 17:59:02] Production.INFO: neon service started
[2025-01-13 17:59:02] Production.INFO: ==3663== Releasing lock...
[2025-01-13 17:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 17:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 12:59:02] Production.INFO: ==3665== Lock acquired, processing the job...
[2025-01-13 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 12:59:02] Production.INFO: ==3665== Releasing lock...
[2025-01-13 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 12:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 17:59:03] Production.INFO: ==3667== Lock acquired, processing the job...
[2025-01-13 17:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 17:59:03] Production.INFO: ==3667== Releasing lock...
[2025-01-13 17:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 17:59:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 12:59:03] Production.INFO: ==3678== Lock acquired, processing the job...
[2025-01-13 12:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 12:59:03] Production.INFO: ==3672== Lock acquired, processing the job...
[2025-01-13 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 12:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 12:59:03] Production.INFO: ==3670== Lock acquired, processing the job...
[2025-01-13 12:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 12:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 12:59:03] Production.INFO: ==3674== Lock acquired, processing the job...
[2025-01-13 12:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 12:59:04] Production.INFO: ==3676== Lock acquired, processing the job...
[2025-01-13 12:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 12:59:04] Production.ERROR: done
[2025-01-13 12:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 12:59:04] Production.INFO: ==3680== Lock acquired, processing the job...
[2025-01-13 12:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 12:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 12:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 12:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 12:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 12:59:04] Production.ERROR: done
[2025-01-13 12:59:04] Production.INFO: Account Balance Start.
[2025-01-13 12:59:04] Production.INFO: CreateAllLog Start
[2025-01-13 12:59:04] Production.INFO: 117
[2025-01-13 12:59:04] Production.INFO: Date 2025-01-08
[2025-01-13 12:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:59:04] Production.INFO: ==3672== Releasing lock...
[2025-01-13 12:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 12:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 12:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:59:04] Production.INFO: count ==21
[2025-01-13 12:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 12:59:04] Production.INFO: count ==21
[2025-01-13 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239099') start
[2025-01-13 12:59:04] Production.INFO: Date 2025-01-09
[2025-01-13 12:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:59:04] Production.INFO: Date 2025-01-10
[2025-01-13 12:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239099') end
[2025-01-13 12:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 12:59:04] Production.INFO: 1
[2025-01-13 12:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 12:59:04] Production.INFO: Date 2025-01-11
[2025-01-13 12:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:59:04] Production.INFO: Date 2025-01-12
[2025-01-13 12:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:59:04] Production.INFO: ==3680== Releasing lock...
[2025-01-13 12:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 12:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 12:59:04] Production.INFO: Date 2025-01-13
[2025-01-13 12:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 12:59:04] Production.INFO: Total Charge 0
[2025-01-13 12:59:04] Production.INFO: CreateAllLog End
[2025-01-13 12:59:04] Production.INFO: Account Balance End.
[2025-01-13 12:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 12:59:04] Production.INFO: ==3676== Releasing lock...
[2025-01-13 12:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 12:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 12:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 09:59:05
[end_date_ymd] => 2025-01-13 12:59:05
[RateCDR] => 1
)
[2025-01-13 12:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 09:59:05' and `end` < '2025-01-13 12:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 12:59:12] Production.ERROR: CronJobId end10
[2025-01-13 12:59:12] Production.INFO: ==3674== Releasing lock...
[2025-01-13 12:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 12:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 12:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 12:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 12:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 12:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 12:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 12:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 12:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 12:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 12:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 12:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 12:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 12:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 12:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 12:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 12:59:13] Production.INFO: call_cost start
[2025-01-13 12:59:13] Production.INFO: call_cost end
[2025-01-13 12:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 12:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 12:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 12:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 12:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 12:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 12:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 12:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 12:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 12:59:14] Production.INFO: ==3670== Releasing lock...
[2025-01-13 12:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 12:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 12:59:26] Production.INFO: count ==5819
[2025-01-13 12:59:28] Production.ERROR: pbx CDR StartTime 2025-01-13 09:59:05 - End Time 2025-01-13 12:59:05
[2025-01-13 12:59:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 12:59:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239100', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:59:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239100', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:59:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239100', 'tblTempVendorCDR_20' ) start
[2025-01-13 12:59:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239100', 'tblTempVendorCDR_20' ) end
[2025-01-13 12:59:28] Production.INFO: ProcessCDR(1,14239100,1,1,2)
[2025-01-13 12:59:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:59:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 12:59:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:59:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 12:59:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239100', 'tblTempUsageDetail_20' ) start
[2025-01-13 12:59:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239100', 'tblTempUsageDetail_20' ) end
[2025-01-13 12:59:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 12:59:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 12:59:33] Production.INFO: ==3678== Releasing lock...
[2025-01-13 12:59:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 12:59:33] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 18:00:01] Production.INFO: ==3735== Lock acquired, processing the job...
[2025-01-13 18:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:00:01] Production.INFO: neon service started
[2025-01-13 18:00:01] Production.INFO: neon service started
[2025-01-13 18:00:01] Production.INFO: ==3735== Releasing lock...
[2025-01-13 18:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:00:02] Production.INFO: ==3737== Lock acquired, processing the job...
[2025-01-13 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:00:02] Production.INFO: ==3737== Releasing lock...
[2025-01-13 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:00:02] Production.INFO: ==3739== Lock acquired, processing the job...
[2025-01-13 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:00:02] Production.INFO: ==3739== Releasing lock...
[2025-01-13 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:00:03] Production.INFO: ==3741== Lock acquired, processing the job...
[2025-01-13 13:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 13:00:03] Production.INFO: ==3745== Lock acquired, processing the job...
[2025-01-13 13:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 13:00:03] Production.INFO: ==3747== Lock acquired, processing the job...
[2025-01-13 13:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 13:00:03] Production.INFO: ==3741== Releasing lock...
[2025-01-13 13:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 13:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 13:00:03] Production.INFO: ==3753== Lock acquired, processing the job...
[2025-01-13 13:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 13:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:00:03] Production.INFO: ==3743== Lock acquired, processing the job...
[2025-01-13 13:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:00:03] Production.INFO: ==3749== Lock acquired, processing the job...
[2025-01-13 13:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:00:03] Production.INFO: ==3755== Lock acquired, processing the job...
[2025-01-13 13:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:00:04] Production.INFO: ==3751== Lock acquired, processing the job...
[2025-01-13 13:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:00:04] Production.INFO: Account Balance Start.
[2025-01-13 13:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:00:04] Production.INFO: 117
[2025-01-13 13:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:00:04] Production.ERROR: done
[2025-01-13 13:00:04] Production.INFO: ==3745== Releasing lock...
[2025-01-13 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 13:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239105', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 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-13 13:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:00:04] Production.INFO: count ==21
[2025-01-13 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-13 13:00:04] Production.INFO: count ==21
[2025-01-13 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239104') start
[2025-01-13 13:00:04] Production.ERROR: done
[2025-01-13 13:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:00:04] Production.ERROR: done
[2025-01-13 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239104') end
[2025-01-13 13:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:00:04] Production.INFO: 1
[2025-01-13 13:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:00:04] Production.INFO: Total Charge 0
[2025-01-13 13:00:04] Production.INFO: ==3755== Releasing lock...
[2025-01-13 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:00:04] Production.INFO: CreateAllLog End
[2025-01-13 13:00:04] Production.INFO: Account Balance End.
[2025-01-13 13:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 13:00:05] Production.INFO: ==3749== Releasing lock...
[2025-01-13 13:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:00:05
[end_date_ymd] => 2025-01-13 13:00:05
[RateCDR] => 1
)
[2025-01-13 13:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:00:05' and `end` < '2025-01-13 13:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:00:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239105', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 13:00:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 13:00:07] Production.INFO: ProcessCDR(1,14239105,1,1,2)
[2025-01-13 13:00:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239105,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:00:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239105,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:00:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:00:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:00:07] Production.INFO: ==3753== Releasing lock...
[2025-01-13 13:00:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 13:00:07] Production.INFO: 26 MB #Memory Used#
[2025-01-13 13:00:13] Production.ERROR: CronJobId end10
[2025-01-13 13:00:13] Production.INFO: ==3747== Releasing lock...
[2025-01-13 13:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:00:15] Production.INFO: call_cost start
[2025-01-13 13:00:15] Production.INFO: call_cost end
[2025-01-13 13:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:00:16] Production.INFO: ==3743== Releasing lock...
[2025-01-13 13:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:00:34] Production.INFO: count ==5819
[2025-01-13 13:00:36] Production.ERROR: pbx CDR StartTime 2025-01-13 10:00:05 - End Time 2025-01-13 13:00:05
[2025-01-13 13:00:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:00:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239106', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:00:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239106', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:00:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239106', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:00:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239106', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:00:37] Production.INFO: ProcessCDR(1,14239106,1,1,2)
[2025-01-13 13:00:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:00:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:00:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:00:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:00:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239106', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:00:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239106', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:00:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:00:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:00:41] Production.INFO: ==3751== Releasing lock...
[2025-01-13 13:00:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:00:41] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 18:01:02] Production.INFO: ==3818== Lock acquired, processing the job...
[2025-01-13 18:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:01:02] Production.INFO: neon service started
[2025-01-13 18:01:02] Production.INFO: neon service started
[2025-01-13 18:01:02] Production.INFO: ==3818== Releasing lock...
[2025-01-13 18:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:01:02] Production.INFO: ==3827== Lock acquired, processing the job...
[2025-01-13 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:01:02] Production.INFO: ==3829== Lock acquired, processing the job...
[2025-01-13 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:01:02] Production.INFO: ==3829== Releasing lock...
[2025-01-13 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:01:03] Production.INFO: ==3827== Releasing lock...
[2025-01-13 13:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:01:04] Production.INFO: ==3838== Lock acquired, processing the job...
[2025-01-13 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:01:04] Production.INFO: ==3842== Lock acquired, processing the job...
[2025-01-13 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:01:04] Production.INFO: Account Balance Start.
[2025-01-13 13:01:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:01:04] Production.INFO: 117
[2025-01-13 13:01:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:01:04] Production.INFO: count ==21
[2025-01-13 13:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:01:04] Production.INFO: count ==21
[2025-01-13 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239108') start
[2025-01-13 13:01:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:01:04] Production.INFO: ==3832== Lock acquired, processing the job...
[2025-01-13 13:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:01:04] Production.INFO: ==3836== Lock acquired, processing the job...
[2025-01-13 13:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239108') end
[2025-01-13 13:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:01:04] Production.INFO: 1
[2025-01-13 13:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:01:04] Production.INFO: ==3834== Lock acquired, processing the job...
[2025-01-13 13:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:01:04] Production.INFO: Total Charge 0
[2025-01-13 13:01:04] Production.INFO: CreateAllLog End
[2025-01-13 13:01:04] Production.INFO: ==3840== Lock acquired, processing the job...
[2025-01-13 13:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:01:04] Production.INFO: ==3842== Releasing lock...
[2025-01-13 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:01:04] Production.INFO: Account Balance End.
[2025-01-13 13:01:04] Production.ERROR: done
[2025-01-13 13:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:01:04] Production.INFO: ==3838== Releasing lock...
[2025-01-13 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:01:04] Production.INFO: ==3834== Releasing lock...
[2025-01-13 13:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:01:04] Production.ERROR: done
[2025-01-13 13:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:01:05
[end_date_ymd] => 2025-01-13 13:01:05
[RateCDR] => 1
)
[2025-01-13 13:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:01:05' and `end` < '2025-01-13 13:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:01:11] Production.ERROR: CronJobId end10
[2025-01-13 13:01:11] Production.INFO: ==3836== Releasing lock...
[2025-01-13 13:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:01:13] Production.INFO: call_cost start
[2025-01-13 13:01:13] Production.INFO: call_cost end
[2025-01-13 13:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:01:14] Production.INFO: ==3832== Releasing lock...
[2025-01-13 13:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:01:23] Production.INFO: count ==5824
[2025-01-13 13:01:26] Production.ERROR: pbx CDR StartTime 2025-01-13 10:01:05 - End Time 2025-01-13 13:01:05
[2025-01-13 13:01:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239111', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239111', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239111', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239111', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:01:26] Production.INFO: ProcessCDR(1,14239111,1,1,2)
[2025-01-13 13:01:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:01:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:01:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:01:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:01:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239111', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:01:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239111', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:01:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:01:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:01:31] Production.INFO: ==3840== Releasing lock...
[2025-01-13 13:01:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:01:31] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 18:02:01] Production.INFO: ==3899== Lock acquired, processing the job...
[2025-01-13 18:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:02:01] Production.INFO: neon service started
[2025-01-13 18:02:01] Production.INFO: neon service started
[2025-01-13 18:02:01] Production.INFO: ==3899== Releasing lock...
[2025-01-13 18:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:02:02] Production.INFO: ==3901== Lock acquired, processing the job...
[2025-01-13 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:02:02] Production.INFO: ==3901== Releasing lock...
[2025-01-13 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:02:02] Production.INFO: ==3903== Lock acquired, processing the job...
[2025-01-13 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:02:02] Production.INFO: ==3903== Releasing lock...
[2025-01-13 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:02:03] Production.INFO: ==3907== Lock acquired, processing the job...
[2025-01-13 13:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:02:03] Production.INFO: ==3905== Lock acquired, processing the job...
[2025-01-13 13:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:02:03] Production.INFO: ==3909== Lock acquired, processing the job...
[2025-01-13 13:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:02:03] Production.INFO: ==3913== Lock acquired, processing the job...
[2025-01-13 13:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:02:03] Production.INFO: ==3915== Lock acquired, processing the job...
[2025-01-13 13:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:02:03] Production.INFO: ==3911== Lock acquired, processing the job...
[2025-01-13 13:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 13:02:03] Production.INFO: Account Balance Start.
[2025-01-13 13:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:02:03] Production.INFO: 117
[2025-01-13 13:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:02:03] Production.INFO: count ==21
[2025-01-13 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-13 13:02:03] Production.INFO: count ==21
[2025-01-13 13:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239114') start
[2025-01-13 13:02:03] Production.INFO: ==3907== Releasing lock...
[2025-01-13 13:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:02:03] Production.ERROR: done
[2025-01-13 13:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:02:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:02:03] Production.ERROR: done
[2025-01-13 13:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239114') end
[2025-01-13 13:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:02:03] Production.INFO: 1
[2025-01-13 13:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:02:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:02:03] Production.INFO: ==3915== Releasing lock...
[2025-01-13 13:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:02:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:02:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:02:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:02:04] Production.INFO: Total Charge 0
[2025-01-13 13:02:04] Production.INFO: CreateAllLog End
[2025-01-13 13:02:04] Production.INFO: Account Balance End.
[2025-01-13 13:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:02:04] Production.INFO: ==3911== Releasing lock...
[2025-01-13 13:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:02:04
[end_date_ymd] => 2025-01-13 13:02:04
[RateCDR] => 1
)
[2025-01-13 13: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-13 10:02:04' and `end` < '2025-01-13 13: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-13 13:02:11] Production.ERROR: CronJobId end10
[2025-01-13 13:02:11] Production.INFO: ==3909== Releasing lock...
[2025-01-13 13:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:02:13] Production.INFO: call_cost start
[2025-01-13 13:02:13] Production.INFO: call_cost end
[2025-01-13 13:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:02:14] Production.INFO: ==3905== Releasing lock...
[2025-01-13 13:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:02:22] Production.INFO: count ==5821
[2025-01-13 13:02:24] Production.ERROR: pbx CDR StartTime 2025-01-13 10:02:04 - End Time 2025-01-13 13:02:04
[2025-01-13 13:02:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239116', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239116', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239116', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239116', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:02:24] Production.INFO: ProcessCDR(1,14239116,1,1,2)
[2025-01-13 13:02:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:02:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:02:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239116', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:02:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239116', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:02:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:02:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:02:29] Production.INFO: ==3913== Releasing lock...
[2025-01-13 13:02:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:02:29] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 18:03:02] Production.INFO: ==3971== Lock acquired, processing the job...
[2025-01-13 18:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:03:02] Production.INFO: neon service started
[2025-01-13 18:03:02] Production.INFO: neon service started
[2025-01-13 18:03:02] Production.INFO: ==3971== Releasing lock...
[2025-01-13 18:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:03:02] Production.INFO: ==3973== Lock acquired, processing the job...
[2025-01-13 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:03:02] Production.INFO: ==3975== Lock acquired, processing the job...
[2025-01-13 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:03:02] Production.INFO: ==3975== Releasing lock...
[2025-01-13 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:03:02] Production.INFO: ==3973== Releasing lock...
[2025-01-13 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:03:03] Production.INFO: ==3979== Lock acquired, processing the job...
[2025-01-13 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:03:03] Production.INFO: ==3977== Lock acquired, processing the job...
[2025-01-13 13:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:03:03] Production.INFO: ==3983== Lock acquired, processing the job...
[2025-01-13 13:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:03:03] Production.INFO: ==3981== Lock acquired, processing the job...
[2025-01-13 13:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:03:03] Production.INFO: Account Balance Start.
[2025-01-13 13:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:03:03] Production.INFO: 117
[2025-01-13 13:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:03:04] Production.INFO: ==3979== Releasing lock...
[2025-01-13 13:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:03:04] Production.INFO: ==3985== Lock acquired, processing the job...
[2025-01-13 13:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:03:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:03:04] Production.INFO: ==3987== Lock acquired, processing the job...
[2025-01-13 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:03:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:03:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:03:04] Production.INFO: count ==21
[2025-01-13 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-13 13:03:04] Production.INFO: Total Charge 0
[2025-01-13 13:03:04] Production.INFO: count ==21
[2025-01-13 13:03:04] Production.INFO: CreateAllLog End
[2025-01-13 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239120') start
[2025-01-13 13:03:04] Production.ERROR: done
[2025-01-13 13:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:03:04] Production.INFO: Account Balance End.
[2025-01-13 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239120') end
[2025-01-13 13:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:03:04] Production.INFO: 1
[2025-01-13 13:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:03:04] Production.INFO: ==3983== Releasing lock...
[2025-01-13 13:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:03:04] Production.ERROR: done
[2025-01-13 13:03:04] Production.INFO: ==3987== Releasing lock...
[2025-01-13 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:03:05
[end_date_ymd] => 2025-01-13 13:03:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:03:05' and `end` < '2025-01-13 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-13 13:03:12] Production.ERROR: CronJobId end10
[2025-01-13 13:03:12] Production.INFO: ==3981== Releasing lock...
[2025-01-13 13:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:03:13] Production.INFO: call_cost start
[2025-01-13 13:03:13] Production.INFO: call_cost end
[2025-01-13 13:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:03:14] Production.INFO: ==3977== Releasing lock...
[2025-01-13 13:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:03:20] Production.INFO: count ==5768
[2025-01-13 13:03:22] Production.ERROR: pbx CDR StartTime 2025-01-13 10:03:05 - End Time 2025-01-13 13:03:05
[2025-01-13 13:03:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239121', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239121', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239121', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239121', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:03:22] Production.INFO: ProcessCDR(1,14239121,1,1,2)
[2025-01-13 13:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239121', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239121', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:03:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:03:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:03:27] Production.INFO: ==3985== Releasing lock...
[2025-01-13 13:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:03:27] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 18:04:01] Production.INFO: ==4042== Lock acquired, processing the job...
[2025-01-13 18:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:04:01] Production.INFO: neon service started
[2025-01-13 18:04:01] Production.INFO: neon service started
[2025-01-13 18:04:01] Production.INFO: ==4042== Releasing lock...
[2025-01-13 18:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:04:02] Production.INFO: ==4044== Lock acquired, processing the job...
[2025-01-13 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:04:02] Production.INFO: ==4046== Lock acquired, processing the job...
[2025-01-13 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:04:02] Production.INFO: ==4046== Releasing lock...
[2025-01-13 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:04:02] Production.INFO: ==4044== Releasing lock...
[2025-01-13 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:04:03] Production.INFO: ==4049== Lock acquired, processing the job...
[2025-01-13 13:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:04:03] Production.INFO: ==4053== Lock acquired, processing the job...
[2025-01-13 13:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:04:03] Production.INFO: ==4057== Lock acquired, processing the job...
[2025-01-13 13:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:04:03] Production.INFO: ==4051== Lock acquired, processing the job...
[2025-01-13 13:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:04:03] Production.INFO: ==4055== Lock acquired, processing the job...
[2025-01-13 13:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:04:03] Production.INFO: ==4059== Lock acquired, processing the job...
[2025-01-13 13:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:04:03] Production.INFO: Account Balance Start.
[2025-01-13 13:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:04:03] Production.INFO: 117
[2025-01-13 13:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:04:03] Production.ERROR: done
[2025-01-13 13:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 13:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:04:03] Production.INFO: count ==21
[2025-01-13 13:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:04:04] Production.INFO: count ==21
[2025-01-13 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239125') start
[2025-01-13 13:04:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:04:04] Production.INFO: ==4051== Releasing lock...
[2025-01-13 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:04:04] Production.ERROR: done
[2025-01-13 13:04:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239125') end
[2025-01-13 13:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:04:04] Production.INFO: 1
[2025-01-13 13:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:04:04] Production.INFO: ==4059== Releasing lock...
[2025-01-13 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:04:04] Production.INFO: Total Charge 0
[2025-01-13 13:04:04] Production.INFO: CreateAllLog End
[2025-01-13 13:04:04] Production.INFO: Account Balance End.
[2025-01-13 13:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:04:04] Production.INFO: ==4055== Releasing lock...
[2025-01-13 13:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:04:05
[end_date_ymd] => 2025-01-13 13:04:05
[RateCDR] => 1
)
[2025-01-13 13:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:04:05' and `end` < '2025-01-13 13:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:04:12] Production.ERROR: CronJobId end10
[2025-01-13 13:04:12] Production.INFO: ==4053== Releasing lock...
[2025-01-13 13:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:04:13] Production.INFO: call_cost start
[2025-01-13 13:04:13] Production.INFO: call_cost end
[2025-01-13 13:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:04:14] Production.INFO: ==4049== Releasing lock...
[2025-01-13 13:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:04:22] Production.INFO: count ==5762
[2025-01-13 13:04:24] Production.ERROR: pbx CDR StartTime 2025-01-13 10:04:05 - End Time 2025-01-13 13:04:05
[2025-01-13 13:04:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239126', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239126', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239126', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239126', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:04:24] Production.INFO: ProcessCDR(1,14239126,1,1,2)
[2025-01-13 13:04:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:04:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:04:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:04:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239126', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239126', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:04:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:04:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:04:29] Production.INFO: ==4057== Releasing lock...
[2025-01-13 13:04:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:04:29] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 18:05:02] Production.INFO: ==4114== Lock acquired, processing the job...
[2025-01-13 18:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:05:02] Production.INFO: neon service started
[2025-01-13 18:05:02] Production.INFO: neon service started
[2025-01-13 18:05:02] Production.INFO: ==4114== Releasing lock...
[2025-01-13 18:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:05:02] Production.INFO: ==4116== Lock acquired, processing the job...
[2025-01-13 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:05:02] Production.INFO: ==4116== Releasing lock...
[2025-01-13 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:05:02] Production.INFO: ==4119== Lock acquired, processing the job...
[2025-01-13 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:05:02] Production.INFO: ==4119== Releasing lock...
[2025-01-13 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:05:03] Production.INFO: ==4131== Lock acquired, processing the job...
[2025-01-13 13:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:05:03] Production.INFO: ==4129== Lock acquired, processing the job...
[2025-01-13 13:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:05:03] Production.INFO: ==4121== Lock acquired, processing the job...
[2025-01-13 13:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:05:03] Production.INFO: count ==21
[2025-01-13 13:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:05:03] Production.INFO: count ==21
[2025-01-13 13:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:05:03] Production.INFO: ==4123== Lock acquired, processing the job...
[2025-01-13 13:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239127') start
[2025-01-13 13:05:03] Production.INFO: ==4125== Lock acquired, processing the job...
[2025-01-13 13:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:05:03] Production.INFO: ==4127== Lock acquired, processing the job...
[2025-01-13 13:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239127') end
[2025-01-13 13:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:05:03] Production.INFO: 1
[2025-01-13 13:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:05:03] Production.INFO: Account Balance Start.
[2025-01-13 13:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:05:03] Production.INFO: 117
[2025-01-13 13:05:04] Production.INFO: ==4131== Releasing lock...
[2025-01-13 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:05:04] Production.ERROR: done
[2025-01-13 13:05:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:05:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:05:04] Production.INFO: ==4123== Releasing lock...
[2025-01-13 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:05:04] Production.ERROR: done
[2025-01-13 13:05:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:05:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:05:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:05:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:05:04] Production.INFO: Total Charge 0
[2025-01-13 13:05:04] Production.INFO: CreateAllLog End
[2025-01-13 13:05:04] Production.INFO: Account Balance End.
[2025-01-13 13:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:05:04] Production.INFO: ==4127== Releasing lock...
[2025-01-13 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:05:05
[end_date_ymd] => 2025-01-13 13:05:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:05:05' and `end` < '2025-01-13 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-13 13:05:11] Production.ERROR: CronJobId end10
[2025-01-13 13:05:11] Production.INFO: ==4125== Releasing lock...
[2025-01-13 13:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:05:13] Production.INFO: call_cost start
[2025-01-13 13:05:13] Production.INFO: call_cost end
[2025-01-13 13:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:05:14] Production.INFO: ==4121== Releasing lock...
[2025-01-13 13:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:05:18] Production.INFO: count ==5750
[2025-01-13 13:05:21] Production.ERROR: pbx CDR StartTime 2025-01-13 10:05:05 - End Time 2025-01-13 13:05:05
[2025-01-13 13:05:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239131', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239131', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239131', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239131', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:05:21] Production.INFO: ProcessCDR(1,14239131,1,1,2)
[2025-01-13 13:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239131', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239131', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:05:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:05:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:05:26] Production.INFO: ==4129== Releasing lock...
[2025-01-13 13:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:05:26] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:06:01] Production.INFO: ==4185== Lock acquired, processing the job...
[2025-01-13 18:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:06:01] Production.INFO: neon service started
[2025-01-13 18:06:01] Production.INFO: neon service started
[2025-01-13 18:06:01] Production.INFO: ==4185== Releasing lock...
[2025-01-13 18:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:06:01] Production.INFO: ==4187== Lock acquired, processing the job...
[2025-01-13 13:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:06:02] Production.INFO: ==4187== Releasing lock...
[2025-01-13 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:06:02] Production.INFO: ==4189== Lock acquired, processing the job...
[2025-01-13 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:06:02] Production.INFO: ==4189== Releasing lock...
[2025-01-13 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:06:02] Production.INFO: ==4192== Lock acquired, processing the job...
[2025-01-13 13:06:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:06:03] Production.INFO: ==4202== Lock acquired, processing the job...
[2025-01-13 13:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:06:03] Production.INFO: ==4194== Lock acquired, processing the job...
[2025-01-13 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 13:06:03] Production.INFO: count ==21
[2025-01-13 13:06:03] Production.INFO: ==4196== Lock acquired, processing the job...
[2025-01-13 13:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 13:06:03] Production.INFO: count ==21
[2025-01-13 13:06:03] Production.INFO: ==4198== Lock acquired, processing the job...
[2025-01-13 13:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:06:03] Production.INFO: ==4200== Lock acquired, processing the job...
[2025-01-13 13:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239133') start
[2025-01-13 13:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239133') end
[2025-01-13 13:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:06:03] Production.INFO: 1
[2025-01-13 13:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:06:03] Production.INFO: Account Balance Start.
[2025-01-13 13:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:06:03] Production.INFO: 117
[2025-01-13 13:06:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:06:03] Production.INFO: ==4202== Releasing lock...
[2025-01-13 13:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:06:03] Production.INFO: ==4194== Releasing lock...
[2025-01-13 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:06:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:06:03] Production.ERROR: done
[2025-01-13 13:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:06:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:06:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:06:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:06:04] Production.ERROR: done
[2025-01-13 13:06:04] Production.INFO: Total Charge 0
[2025-01-13 13:06:04] Production.INFO: CreateAllLog End
[2025-01-13 13:06:04] Production.INFO: Account Balance End.
[2025-01-13 13:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:06:04] Production.INFO: ==4198== Releasing lock...
[2025-01-13 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:06:05
[end_date_ymd] => 2025-01-13 13:06:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:06:05' and `end` < '2025-01-13 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-13 13:06:10] Production.ERROR: CronJobId end10
[2025-01-13 13:06:10] Production.INFO: ==4196== Releasing lock...
[2025-01-13 13:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:06:12] Production.INFO: call_cost start
[2025-01-13 13:06:12] Production.INFO: call_cost end
[2025-01-13 13:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:06:13] Production.INFO: ==4192== Releasing lock...
[2025-01-13 13:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:06:20] Production.INFO: count ==5751
[2025-01-13 13:06:23] Production.ERROR: pbx CDR StartTime 2025-01-13 10:06:05 - End Time 2025-01-13 13:06:05
[2025-01-13 13:06:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239136', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239136', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239136', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239136', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:06:23] Production.INFO: ProcessCDR(1,14239136,1,1,2)
[2025-01-13 13:06:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:06:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:06:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:06:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:06:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239136', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:06:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239136', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:06:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:06:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:06:28] Production.INFO: ==4200== Releasing lock...
[2025-01-13 13:06:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:06:28] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:07:01] Production.INFO: ==4259== Lock acquired, processing the job...
[2025-01-13 18:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:07:01] Production.INFO: neon service started
[2025-01-13 18:07:01] Production.INFO: neon service started
[2025-01-13 18:07:01] Production.INFO: ==4259== Releasing lock...
[2025-01-13 18:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:07:02] Production.INFO: ==4263== Lock acquired, processing the job...
[2025-01-13 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:07:02] Production.INFO: ==4263== Releasing lock...
[2025-01-13 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:07:02] Production.INFO: ==4261== Lock acquired, processing the job...
[2025-01-13 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:07:02] Production.INFO: ==4261== Releasing lock...
[2025-01-13 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:07:03] Production.INFO: ==4270== Lock acquired, processing the job...
[2025-01-13 13:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:07:03] Production.INFO: ==4274== Lock acquired, processing the job...
[2025-01-13 13:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:07:03] Production.INFO: ==4265== Lock acquired, processing the job...
[2025-01-13 13:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:07:03] Production.INFO: ==4267== Lock acquired, processing the job...
[2025-01-13 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:07:03] Production.INFO: ==4272== Lock acquired, processing the job...
[2025-01-13 13:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:07:03] Production.ERROR: done
[2025-01-13 13:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:07:03] Production.INFO: ==4276== Lock acquired, processing the job...
[2025-01-13 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:07:03] Production.INFO: Account Balance Start.
[2025-01-13 13:07:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:07:03] Production.INFO: 117
[2025-01-13 13:07:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:07:04] Production.ERROR: done
[2025-01-13 13:07:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:07:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:07:04] Production.INFO: count ==21
[2025-01-13 13:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:07:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:07:04] Production.INFO: count ==21
[2025-01-13 13:07:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239140') start
[2025-01-13 13:07:04] Production.INFO: ==4267== Releasing lock...
[2025-01-13 13:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:07:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:07:04] Production.INFO: Total Charge 0
[2025-01-13 13:07:04] Production.INFO: CreateAllLog End
[2025-01-13 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239140') end
[2025-01-13 13:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:07:04] Production.INFO: 1
[2025-01-13 13:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:07:04] Production.INFO: ==4276== Releasing lock...
[2025-01-13 13:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:07:04] Production.INFO: Account Balance End.
[2025-01-13 13:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:07:04] Production.INFO: ==4272== Releasing lock...
[2025-01-13 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:07:05
[end_date_ymd] => 2025-01-13 13:07:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:07:05' and `end` < '2025-01-13 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-13 13:07:11] Production.ERROR: CronJobId end10
[2025-01-13 13:07:11] Production.INFO: ==4270== Releasing lock...
[2025-01-13 13:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:07:13] Production.INFO: call_cost start
[2025-01-13 13:07:13] Production.INFO: call_cost end
[2025-01-13 13:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:07:14] Production.INFO: ==4265== Releasing lock...
[2025-01-13 13:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:07:21] Production.INFO: count ==5719
[2025-01-13 13:07:23] Production.ERROR: pbx CDR StartTime 2025-01-13 10:07:05 - End Time 2025-01-13 13:07:05
[2025-01-13 13:07:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:07:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239141', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:07:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239141', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:07:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239141', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:07:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239141', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:07:23] Production.INFO: ProcessCDR(1,14239141,1,1,2)
[2025-01-13 13:07:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:07:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:07:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:07:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239141', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239141', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:07:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:07:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:07:28] Production.INFO: ==4274== Releasing lock...
[2025-01-13 13:07:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:07:28] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:08:02] Production.INFO: ==4330== Lock acquired, processing the job...
[2025-01-13 18:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:08:02] Production.INFO: neon service started
[2025-01-13 18:08:02] Production.INFO: neon service started
[2025-01-13 18:08:02] Production.INFO: ==4330== Releasing lock...
[2025-01-13 18:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:08:02] Production.INFO: ==4332== Lock acquired, processing the job...
[2025-01-13 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:08:02] Production.INFO: ==4332== Releasing lock...
[2025-01-13 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:08:03] Production.INFO: ==4334== Lock acquired, processing the job...
[2025-01-13 18:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:08:03] Production.INFO: ==4334== Releasing lock...
[2025-01-13 18:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:08:03] Production.INFO: ==4337== Lock acquired, processing the job...
[2025-01-13 13:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:08:03] Production.INFO: ==4341== Lock acquired, processing the job...
[2025-01-13 13:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:08:03] Production.INFO: ==4345== Lock acquired, processing the job...
[2025-01-13 13:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:08:04] Production.INFO: ==4347== Lock acquired, processing the job...
[2025-01-13 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:08:04] Production.INFO: ==4339== Lock acquired, processing the job...
[2025-01-13 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:08:04] Production.INFO: ==4343== Lock acquired, processing the job...
[2025-01-13 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 13:08:04] Production.INFO: count ==21
[2025-01-13 13:08:04] Production.INFO: Account Balance Start.
[2025-01-13 13:08:04] Production.INFO: CreateAllLog Start
[2025-01-13 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-13 13:08:04] Production.INFO: 117
[2025-01-13 13:08:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:08:04] Production.INFO: count ==21
[2025-01-13 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239143') start
[2025-01-13 13:08:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:08:04] Production.ERROR: done
[2025-01-13 13:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:08:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:08:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239143') end
[2025-01-13 13:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:08:04] Production.INFO: 1
[2025-01-13 13:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:08:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:08:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:08:04] Production.INFO: Total Charge 0
[2025-01-13 13:08:04] Production.INFO: CreateAllLog End
[2025-01-13 13:08:04] Production.INFO: ==4347== Releasing lock...
[2025-01-13 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:08:04] Production.INFO: ==4339== Releasing lock...
[2025-01-13 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:08:04] Production.ERROR: done
[2025-01-13 13:08:04] Production.INFO: Account Balance End.
[2025-01-13 13:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:08:04] Production.INFO: ==4343== Releasing lock...
[2025-01-13 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:08:05
[end_date_ymd] => 2025-01-13 13:08:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:08:05' and `end` < '2025-01-13 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-13 13:08:13] Production.ERROR: CronJobId end10
[2025-01-13 13:08:13] Production.INFO: ==4341== Releasing lock...
[2025-01-13 13:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:08:14] Production.INFO: call_cost start
[2025-01-13 13:08:14] Production.INFO: call_cost end
[2025-01-13 13:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:08:14] Production.INFO: ==4337== Releasing lock...
[2025-01-13 13:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:08:19] Production.INFO: count ==5699
[2025-01-13 13:08:22] Production.ERROR: pbx CDR StartTime 2025-01-13 10:08:05 - End Time 2025-01-13 13:08:05
[2025-01-13 13:08:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239146', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239146', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239146', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239146', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:08:22] Production.INFO: ProcessCDR(1,14239146,1,1,2)
[2025-01-13 13:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:08:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:08:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239146', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239146', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:08:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:08:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:08:27] Production.INFO: ==4345== Releasing lock...
[2025-01-13 13:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:08:27] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:09:01] Production.INFO: ==4400== Lock acquired, processing the job...
[2025-01-13 18:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:09:01] Production.INFO: neon service started
[2025-01-13 18:09:01] Production.INFO: neon service started
[2025-01-13 18:09:01] Production.INFO: ==4400== Releasing lock...
[2025-01-13 18:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:09:02] Production.INFO: ==4402== Lock acquired, processing the job...
[2025-01-13 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:09:02] Production.INFO: ==4402== Releasing lock...
[2025-01-13 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:09:02] Production.INFO: ==4404== Lock acquired, processing the job...
[2025-01-13 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:09:02] Production.INFO: ==4404== Releasing lock...
[2025-01-13 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:09:03] Production.INFO: ==4409== Lock acquired, processing the job...
[2025-01-13 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:09:03] Production.INFO: ==4407== Lock acquired, processing the job...
[2025-01-13 13:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:09:03] Production.INFO: ==4417== Lock acquired, processing the job...
[2025-01-13 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:09:03] Production.INFO: ==4411== Lock acquired, processing the job...
[2025-01-13 13:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:09:03] Production.INFO: ==4413== Lock acquired, processing the job...
[2025-01-13 13:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 13:09:03] Production.INFO: count ==21
[2025-01-13 13:09:03] Production.INFO: ==4415== Lock acquired, processing the job...
[2025-01-13 13:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 13:09:03] Production.INFO: count ==21
[2025-01-13 13:09:03] Production.INFO: ==4409== Releasing lock...
[2025-01-13 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239149') start
[2025-01-13 13:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239149') end
[2025-01-13 13:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:09:03] Production.INFO: 1
[2025-01-13 13:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:09:03] Production.INFO: Account Balance Start.
[2025-01-13 13:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:09:03] Production.INFO: 117
[2025-01-13 13:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:09:03] Production.INFO: ==4417== Releasing lock...
[2025-01-13 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:09:03] Production.ERROR: done
[2025-01-13 13:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:09:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:09:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:09:04] Production.ERROR: done
[2025-01-13 13:09:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:09:04] Production.INFO: Total Charge 0
[2025-01-13 13:09:04] Production.INFO: CreateAllLog End
[2025-01-13 13:09:04] Production.INFO: Account Balance End.
[2025-01-13 13:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:09:04] Production.INFO: ==4413== Releasing lock...
[2025-01-13 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:09:05
[end_date_ymd] => 2025-01-13 13:09:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:09:05' and `end` < '2025-01-13 13:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:09:12] Production.ERROR: CronJobId end10
[2025-01-13 13:09:12] Production.INFO: ==4411== Releasing lock...
[2025-01-13 13:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:09:13] Production.INFO: call_cost start
[2025-01-13 13:09:13] Production.INFO: call_cost end
[2025-01-13 13:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:09:14] Production.INFO: ==4407== Releasing lock...
[2025-01-13 13:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:09:20] Production.INFO: count ==5657
[2025-01-13 13:09:22] Production.ERROR: pbx CDR StartTime 2025-01-13 10:09:05 - End Time 2025-01-13 13:09:05
[2025-01-13 13:09:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239151', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239151', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239151', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239151', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:09:22] Production.INFO: ProcessCDR(1,14239151,1,1,2)
[2025-01-13 13:09:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239151', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239151', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:09:26] Production.INFO: ==4415== Releasing lock...
[2025-01-13 13:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:09:26] Production.INFO: 70.25 MB #Memory Used#
[2025-01-13 18:10:02] Production.INFO: ==4473== Lock acquired, processing the job...
[2025-01-13 18:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:10:02] Production.INFO: neon service started
[2025-01-13 18:10:02] Production.INFO: neon service started
[2025-01-13 18:10:02] Production.INFO: ==4473== Releasing lock...
[2025-01-13 18:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:10:02] Production.INFO: ==4477== Lock acquired, processing the job...
[2025-01-13 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:10:02] Production.INFO: ==4477== Releasing lock...
[2025-01-13 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:10:02] Production.INFO: ==4475== Lock acquired, processing the job...
[2025-01-13 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:10:03] Production.INFO: ==4475== Releasing lock...
[2025-01-13 13:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:10:03] Production.INFO: ==4480== Lock acquired, processing the job...
[2025-01-13 13:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 13:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 13:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 13:10:03] Production.INFO: ==4480== Releasing lock...
[2025-01-13 13:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 13:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 13:10:03] Production.INFO: ==4484== Lock acquired, processing the job...
[2025-01-13 13:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:10:03] Production.INFO: ==4486== Lock acquired, processing the job...
[2025-01-13 13:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:10:04] Production.INFO: ==4492== Lock acquired, processing the job...
[2025-01-13 13:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 13:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:10:04] Production.INFO: ==4482== Lock acquired, processing the job...
[2025-01-13 13:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:10:04] Production.INFO: ==4484== Releasing lock...
[2025-01-13 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:10:04] Production.INFO: ==4488== Lock acquired, processing the job...
[2025-01-13 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:10:04] Production.INFO: ==4490== Lock acquired, processing the job...
[2025-01-13 13:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:10:04] Production.INFO: Account Balance Start.
[2025-01-13 13:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:10:04] Production.INFO: 117
[2025-01-13 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:10:04] Production.INFO: ==4494== Lock acquired, processing the job...
[2025-01-13 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:10:04] Production.ERROR: done
[2025-01-13 13:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 13:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239156', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 13:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:10:04] Production.INFO: count ==21
[2025-01-13 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-13 13:10:04] Production.INFO: count ==21
[2025-01-13 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239155') start
[2025-01-13 13:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:10:04] Production.ERROR: done
[2025-01-13 13:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:10:04] Production.INFO: Total Charge 0
[2025-01-13 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239155') end
[2025-01-13 13:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:10:04] Production.INFO: 1
[2025-01-13 13:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:10:04] Production.INFO: CreateAllLog End
[2025-01-13 13:10:04] Production.ERROR: done
[2025-01-13 13:10:04] Production.INFO: ==4494== Releasing lock...
[2025-01-13 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:10:04] Production.INFO: Account Balance End.
[2025-01-13 13:10:05] Production.ERROR: CronJobId end 12
[2025-01-13 13:10:05] Production.INFO: ==4488== Releasing lock...
[2025-01-13 13:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:10:06
[end_date_ymd] => 2025-01-13 13:10:06
[RateCDR] => 1
)
[2025-01-13 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-13 10:10:06' and `end` < '2025-01-13 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-13 13:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239156', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 13:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 13:10:09] Production.INFO: ProcessCDR(1,14239156,1,1,2)
[2025-01-13 13:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239156,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239156,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:10:09] Production.INFO: ==4492== Releasing lock...
[2025-01-13 13:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 13:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 13:10:13] Production.ERROR: CronJobId end10
[2025-01-13 13:10:13] Production.INFO: ==4486== Releasing lock...
[2025-01-13 13:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:10:15] Production.INFO: call_cost start
[2025-01-13 13:10:15] Production.INFO: call_cost end
[2025-01-13 13:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:10:16] Production.INFO: ==4482== Releasing lock...
[2025-01-13 13:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:10:21] Production.INFO: count ==5673
[2025-01-13 13:10:24] Production.ERROR: pbx CDR StartTime 2025-01-13 10:10:06 - End Time 2025-01-13 13:10:06
[2025-01-13 13:10:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239157', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239157', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239157', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239157', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:10:24] Production.INFO: ProcessCDR(1,14239157,1,1,2)
[2025-01-13 13:10:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:10:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:10:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239157', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239157', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:10:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:10:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:10:28] Production.INFO: ==4490== Releasing lock...
[2025-01-13 13:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:10:28] Production.INFO: 70.5 MB #Memory Used#
[2025-01-13 18:11:01] Production.INFO: ==4547== Lock acquired, processing the job...
[2025-01-13 18:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:11:01] Production.INFO: neon service started
[2025-01-13 18:11:01] Production.INFO: neon service started
[2025-01-13 18:11:01] Production.INFO: ==4547== Releasing lock...
[2025-01-13 18:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:11:01] Production.INFO: ==4552== Lock acquired, processing the job...
[2025-01-13 18:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:11:01] Production.INFO: ==4552== Releasing lock...
[2025-01-13 18:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:11:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:11:02] Production.INFO: ==4550== Lock acquired, processing the job...
[2025-01-13 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:11:02] Production.INFO: ==4550== Releasing lock...
[2025-01-13 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:11:03] Production.INFO: ==4554== Lock acquired, processing the job...
[2025-01-13 13:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:11:03] Production.INFO: ==4560== Lock acquired, processing the job...
[2025-01-13 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:11:03] Production.INFO: ==4558== Lock acquired, processing the job...
[2025-01-13 13:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:11:03] Production.INFO: Account Balance Start.
[2025-01-13 13:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:11:03] Production.INFO: 117
[2025-01-13 13:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:11:03] Production.INFO: ==4556== Lock acquired, processing the job...
[2025-01-13 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:11:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:11:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:11:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:11:03] Production.INFO: ==4562== Lock acquired, processing the job...
[2025-01-13 13:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:11:03] Production.INFO: Total Charge 0
[2025-01-13 13:11:03] Production.INFO: ==4564== Lock acquired, processing the job...
[2025-01-13 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:11:03] Production.INFO: CreateAllLog End
[2025-01-13 13:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:11:03] Production.INFO: Account Balance End.
[2025-01-13 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-13 13:11:03] Production.ERROR: CronJobId end 12
[2025-01-13 13:11:03] Production.INFO: ==4560== Releasing lock...
[2025-01-13 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:11:03] Production.INFO: count ==21
[2025-01-13 13:11:03] Production.INFO: ==4556== Releasing lock...
[2025-01-13 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 13:11:03] Production.INFO: count ==21
[2025-01-13 13:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239161') start
[2025-01-13 13:11:04] Production.ERROR: done
[2025-01-13 13:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239161') end
[2025-01-13 13:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:11:04] Production.INFO: 1
[2025-01-13 13:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:11:04] Production.ERROR: done
[2025-01-13 13:11:04] Production.INFO: ==4564== Releasing lock...
[2025-01-13 13:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:11:05
[end_date_ymd] => 2025-01-13 13:11:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:11:05' and `end` < '2025-01-13 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-13 13:11:11] Production.ERROR: CronJobId end10
[2025-01-13 13:11:11] Production.INFO: ==4558== Releasing lock...
[2025-01-13 13:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:11:13] Production.INFO: call_cost start
[2025-01-13 13:11:13] Production.INFO: call_cost end
[2025-01-13 13:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:11:14] Production.INFO: ==4554== Releasing lock...
[2025-01-13 13:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:11:25] Production.INFO: count ==5712
[2025-01-13 13:11:27] Production.ERROR: pbx CDR StartTime 2025-01-13 10:11:05 - End Time 2025-01-13 13:11:05
[2025-01-13 13:11:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:11:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239162', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:11:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239162', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:11:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239162', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:11:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239162', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:11:27] Production.INFO: ProcessCDR(1,14239162,1,1,2)
[2025-01-13 13:11:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:11:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:11:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:11:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:11:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239162', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:11:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239162', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:11:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:11:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:11:32] Production.INFO: ==4562== Releasing lock...
[2025-01-13 13:11:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:11:32] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:12:01] Production.INFO: ==4665== Lock acquired, processing the job...
[2025-01-13 18:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:12:02] Production.INFO: neon service started
[2025-01-13 18:12:02] Production.INFO: neon service started
[2025-01-13 18:12:02] Production.INFO: ==4665== Releasing lock...
[2025-01-13 18:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:12:02] Production.INFO: ==4669== Lock acquired, processing the job...
[2025-01-13 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:12:02] Production.INFO: ==4669== Releasing lock...
[2025-01-13 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:12:02] Production.INFO: ==4667== Lock acquired, processing the job...
[2025-01-13 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:12:02] Production.INFO: ==4667== Releasing lock...
[2025-01-13 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:12:03] Production.INFO: ==4678== Lock acquired, processing the job...
[2025-01-13 13:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:12:03] Production.INFO: ==4680== Lock acquired, processing the job...
[2025-01-13 13:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:12:03] Production.INFO: Account Balance Start.
[2025-01-13 13:12:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:12:03] Production.INFO: 117
[2025-01-13 13:12:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:12:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:12:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:12:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:12:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:12:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:12:03] Production.INFO: ==4672== Lock acquired, processing the job...
[2025-01-13 13:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:12:03] Production.INFO: ==4674== Lock acquired, processing the job...
[2025-01-13 13:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:12:03] Production.INFO: ==4676== Lock acquired, processing the job...
[2025-01-13 13:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:12:03] Production.INFO: Total Charge 0
[2025-01-13 13:12:04] Production.INFO: CreateAllLog End
[2025-01-13 13:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:12:04] Production.INFO: ==4682== Lock acquired, processing the job...
[2025-01-13 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:12:04] Production.INFO: Account Balance End.
[2025-01-13 13:12:04] Production.ERROR: done
[2025-01-13 13:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:12:04] Production.INFO: ==4678== Releasing lock...
[2025-01-13 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 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-13 13:12:04] Production.INFO: count ==21
[2025-01-13 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-13 13:12:04] Production.INFO: count ==21
[2025-01-13 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239166') start
[2025-01-13 13:12:04] Production.INFO: ==4674== Releasing lock...
[2025-01-13 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:12:04] Production.ERROR: done
[2025-01-13 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239166') end
[2025-01-13 13:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:12:04] Production.INFO: 1
[2025-01-13 13:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:12:04] Production.INFO: ==4682== Releasing lock...
[2025-01-13 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:12:05
[end_date_ymd] => 2025-01-13 13:12:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:12:05' and `end` < '2025-01-13 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-13 13:12:12] Production.ERROR: CronJobId end10
[2025-01-13 13:12:12] Production.INFO: ==4676== Releasing lock...
[2025-01-13 13:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:12:13] Production.INFO: call_cost start
[2025-01-13 13:12:13] Production.INFO: call_cost end
[2025-01-13 13:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:12:14] Production.INFO: ==4672== Releasing lock...
[2025-01-13 13:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:12:20] Production.INFO: count ==5711
[2025-01-13 13:12:23] Production.ERROR: pbx CDR StartTime 2025-01-13 10:12:05 - End Time 2025-01-13 13:12:05
[2025-01-13 13:12:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239167', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239167', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239167', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239167', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:12:23] Production.INFO: ProcessCDR(1,14239167,1,1,2)
[2025-01-13 13:12:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:12:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:12:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:12:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239167', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239167', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:12:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:12:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:12:28] Production.INFO: ==4680== Releasing lock...
[2025-01-13 13:12:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:12:28] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:13:01] Production.INFO: ==4740== Lock acquired, processing the job...
[2025-01-13 18:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:13:01] Production.INFO: neon service started
[2025-01-13 18:13:01] Production.INFO: neon service started
[2025-01-13 18:13:01] Production.INFO: ==4740== Releasing lock...
[2025-01-13 18:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:13:01] Production.INFO: ==4744== Lock acquired, processing the job...
[2025-01-13 18:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:13:01] Production.INFO: ==4744== Releasing lock...
[2025-01-13 18:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:13:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:13:01] Production.INFO: ==4742== Lock acquired, processing the job...
[2025-01-13 13:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:13:02] Production.INFO: ==4742== Releasing lock...
[2025-01-13 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:13:02] Production.INFO: ==4749== Lock acquired, processing the job...
[2025-01-13 13:13:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:13:03] Production.INFO: ==4747== Lock acquired, processing the job...
[2025-01-13 13:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:13:03] Production.INFO: ==4751== Lock acquired, processing the job...
[2025-01-13 13:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:13:03] Production.INFO: ==4757== Lock acquired, processing the job...
[2025-01-13 13:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:13:03] Production.INFO: ==4753== Lock acquired, processing the job...
[2025-01-13 13:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:13:03] Production.INFO: ==4749== Releasing lock...
[2025-01-13 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:13:03] Production.INFO: ==4755== Lock acquired, processing the job...
[2025-01-13 13:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:13:03] Production.INFO: Account Balance Start.
[2025-01-13 13:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:13:03] Production.INFO: 117
[2025-01-13 13:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:13:03] Production.INFO: count ==21
[2025-01-13 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:13:03] Production.INFO: count ==21
[2025-01-13 13:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239170') start
[2025-01-13 13:13:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239170') end
[2025-01-13 13:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:13:03] Production.INFO: 1
[2025-01-13 13:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:13:03] Production.ERROR: done
[2025-01-13 13:13:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:13:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:13:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:13:03] Production.INFO: Total Charge 0
[2025-01-13 13:13:03] Production.INFO: CreateAllLog End
[2025-01-13 13:13:04] Production.INFO: ==4757== Releasing lock...
[2025-01-13 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:13:04] Production.ERROR: done
[2025-01-13 13:13:04] Production.INFO: Account Balance End.
[2025-01-13 13:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:13:04] Production.INFO: ==4753== Releasing lock...
[2025-01-13 13:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:13:04
[end_date_ymd] => 2025-01-13 13:13:04
[RateCDR] => 1
)
[2025-01-13 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-13 10:13:04' and `end` < '2025-01-13 13: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-13 13:13:12] Production.ERROR: CronJobId end10
[2025-01-13 13:13:12] Production.INFO: ==4751== Releasing lock...
[2025-01-13 13:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:13:14] Production.INFO: call_cost start
[2025-01-13 13:13:14] Production.INFO: call_cost end
[2025-01-13 13:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:13:15] Production.INFO: ==4747== Releasing lock...
[2025-01-13 13:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:13:24] Production.INFO: count ==5718
[2025-01-13 13:13:27] Production.ERROR: pbx CDR StartTime 2025-01-13 10:13:04 - End Time 2025-01-13 13:13:04
[2025-01-13 13:13:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239172', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239172', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239172', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239172', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:13:27] Production.INFO: ProcessCDR(1,14239172,1,1,2)
[2025-01-13 13:13:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:13:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:13:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:13:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:13:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239172', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:13:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239172', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:13:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:13:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:13:32] Production.INFO: ==4755== Releasing lock...
[2025-01-13 13:13:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:13:32] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:14:01] Production.INFO: ==4811== Lock acquired, processing the job...
[2025-01-13 18:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:14:01] Production.INFO: neon service started
[2025-01-13 18:14:01] Production.INFO: neon service started
[2025-01-13 18:14:01] Production.INFO: ==4811== Releasing lock...
[2025-01-13 18:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:14:02] Production.INFO: ==4813== Lock acquired, processing the job...
[2025-01-13 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:14:02] Production.INFO: ==4813== Releasing lock...
[2025-01-13 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:14:02] Production.INFO: ==4815== Lock acquired, processing the job...
[2025-01-13 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:14:02] Production.INFO: ==4815== Releasing lock...
[2025-01-13 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:14:03] Production.INFO: ==4822== Lock acquired, processing the job...
[2025-01-13 13:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:14:03] Production.INFO: ==4818== Lock acquired, processing the job...
[2025-01-13 13:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:14:03] Production.INFO: ==4828== Lock acquired, processing the job...
[2025-01-13 13:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:14:03] Production.INFO: ==4820== Lock acquired, processing the job...
[2025-01-13 13:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:14:03] Production.INFO: count ==21
[2025-01-13 13:14:03] Production.INFO: ==4824== Lock acquired, processing the job...
[2025-01-13 13:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:14:03] Production.INFO: count ==21
[2025-01-13 13:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239174') start
[2025-01-13 13:14:03] Production.INFO: ==4826== Lock acquired, processing the job...
[2025-01-13 13:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239174') end
[2025-01-13 13:14:03] Production.INFO: Account Balance Start.
[2025-01-13 13:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:14:03] Production.INFO: 1
[2025-01-13 13:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:14:03] Production.INFO: 117
[2025-01-13 13:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:14:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:14:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:14:04] Production.INFO: ==4828== Releasing lock...
[2025-01-13 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:14:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:14:04] Production.INFO: ==4820== Releasing lock...
[2025-01-13 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:14:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:14:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:14:04] Production.ERROR: done
[2025-01-13 13:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:14:04] Production.INFO: Total Charge 0
[2025-01-13 13:14:04] Production.INFO: CreateAllLog End
[2025-01-13 13:14:04] Production.ERROR: done
[2025-01-13 13:14:04] Production.INFO: Account Balance End.
[2025-01-13 13:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:14:04] Production.INFO: ==4824== Releasing lock...
[2025-01-13 13:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:14:05
[end_date_ymd] => 2025-01-13 13:14:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:14:05' and `end` < '2025-01-13 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-13 13:14:12] Production.ERROR: CronJobId end10
[2025-01-13 13:14:12] Production.INFO: ==4822== Releasing lock...
[2025-01-13 13:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:14:13] Production.INFO: call_cost start
[2025-01-13 13:14:13] Production.INFO: call_cost end
[2025-01-13 13:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:14:14] Production.INFO: ==4818== Releasing lock...
[2025-01-13 13:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:14:28] Production.INFO: count ==5723
[2025-01-13 13:14:30] Production.ERROR: pbx CDR StartTime 2025-01-13 10:14:05 - End Time 2025-01-13 13:14:05
[2025-01-13 13:14:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239177', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:14:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239177', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:14:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239177', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:14:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239177', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:14:31] Production.INFO: ProcessCDR(1,14239177,1,1,2)
[2025-01-13 13:14:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:14:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:14:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:14:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:14:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239177', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:14:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239177', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:14:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:14:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:14:35] Production.INFO: ==4826== Releasing lock...
[2025-01-13 13:14:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:14:35] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:15:02] Production.INFO: ==4883== Lock acquired, processing the job...
[2025-01-13 18:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:15:02] Production.INFO: neon service started
[2025-01-13 18:15:02] Production.INFO: neon service started
[2025-01-13 18:15:02] Production.INFO: ==4883== Releasing lock...
[2025-01-13 18:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:15:02] Production.INFO: ==4885== Lock acquired, processing the job...
[2025-01-13 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:15:02] Production.INFO: ==4885== Releasing lock...
[2025-01-13 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:15:03] Production.INFO: ==4887== Lock acquired, processing the job...
[2025-01-13 18:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:15:03] Production.INFO: ==4887== Releasing lock...
[2025-01-13 18:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:15:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:15:03] Production.INFO: ==4893== Lock acquired, processing the job...
[2025-01-13 13:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:15:03] Production.INFO: ==4899== Lock acquired, processing the job...
[2025-01-13 13:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:15:03] Production.INFO: ==4891== Lock acquired, processing the job...
[2025-01-13 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:15:03] Production.INFO: ==4889== Lock acquired, processing the job...
[2025-01-13 13:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:15:03] Production.INFO: ==4895== Lock acquired, processing the job...
[2025-01-13 13:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:15:04] Production.INFO: ==4897== Lock acquired, processing the job...
[2025-01-13 13:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:15:04] Production.INFO: count ==21
[2025-01-13 13:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:15:04] Production.INFO: Account Balance Start.
[2025-01-13 13:15:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:15:04] Production.INFO: 117
[2025-01-13 13:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:15:04] Production.INFO: ==4891== Releasing lock...
[2025-01-13 13:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:15:04] Production.INFO: count ==21
[2025-01-13 13:15:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239179') start
[2025-01-13 13:15:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:15:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239179') end
[2025-01-13 13:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:15:04] Production.INFO: 1
[2025-01-13 13:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:15:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:15:04] Production.INFO: ==4899== Releasing lock...
[2025-01-13 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:15:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:15:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:15:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:15:04] Production.INFO: Total Charge 0
[2025-01-13 13:15:04] Production.INFO: CreateAllLog End
[2025-01-13 13:15:04] Production.ERROR: done
[2025-01-13 13:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:15:04] Production.ERROR: done
[2025-01-13 13:15:04] Production.INFO: Account Balance End.
[2025-01-13 13:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:15:04] Production.INFO: ==4895== Releasing lock...
[2025-01-13 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:15:05
[end_date_ymd] => 2025-01-13 13:15:05
[RateCDR] => 1
)
[2025-01-13 13:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:15:05' and `end` < '2025-01-13 13:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:15:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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,14))' 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-13 13:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:15:13] Production.ERROR: CronJobId end10
[2025-01-13 13:15:13] Production.INFO: ==4893== Releasing lock...
[2025-01-13 13:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:15:13] Production.INFO: call_cost start
[2025-01-13 13:15:13] Production.INFO: call_cost end
[2025-01-13 13:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:15:14] Production.INFO: ==4889== Releasing lock...
[2025-01-13 13:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:15:24] Production.INFO: count ==5719
[2025-01-13 13:15:26] Production.ERROR: pbx CDR StartTime 2025-01-13 10:15:05 - End Time 2025-01-13 13:15:05
[2025-01-13 13:15:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239182', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239182', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239182', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239182', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:15:26] Production.INFO: ProcessCDR(1,14239182,1,1,2)
[2025-01-13 13:15:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:15:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:15:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:15:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:15:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239182', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:15:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239182', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:15:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:15:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:15:31] Production.INFO: ==4897== Releasing lock...
[2025-01-13 13:15:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:15:31] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:16:01] Production.INFO: ==4967== Lock acquired, processing the job...
[2025-01-13 18:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:16:01] Production.INFO: neon service started
[2025-01-13 18:16:01] Production.INFO: neon service started
[2025-01-13 18:16:01] Production.INFO: ==4967== Releasing lock...
[2025-01-13 18:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:16:01] Production.INFO: ==4971== Lock acquired, processing the job...
[2025-01-13 18:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:16:01] Production.INFO: ==4971== Releasing lock...
[2025-01-13 18:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:16:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:16:02] Production.INFO: ==4969== Lock acquired, processing the job...
[2025-01-13 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:16:02] Production.INFO: ==4969== Releasing lock...
[2025-01-13 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:16:03] Production.INFO: ==4973== Lock acquired, processing the job...
[2025-01-13 13:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:16:03] Production.INFO: ==4977== Lock acquired, processing the job...
[2025-01-13 13:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:16:03] Production.INFO: ==4981== Lock acquired, processing the job...
[2025-01-13 13:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:16:03] Production.INFO: ==4975== Lock acquired, processing the job...
[2025-01-13 13:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:16:03] Production.INFO: ==4979== Lock acquired, processing the job...
[2025-01-13 13:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:16:03] Production.INFO: ==4983== Lock acquired, processing the job...
[2025-01-13 13:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:16:03] Production.INFO: Account Balance Start.
[2025-01-13 13:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:16:03] Production.INFO: 117
[2025-01-13 13:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:16:03] Production.ERROR: done
[2025-01-13 13:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 13:16:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:16:04] Production.INFO: count ==21
[2025-01-13 13:16:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:16:04] Production.INFO: count ==21
[2025-01-13 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239186') start
[2025-01-13 13:16:04] Production.ERROR: done
[2025-01-13 13:16:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:16:04] Production.INFO: ==4975== Releasing lock...
[2025-01-13 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:16:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239186') end
[2025-01-13 13:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:16:04] Production.INFO: 1
[2025-01-13 13:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:16:04] Production.INFO: ==4983== Releasing lock...
[2025-01-13 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:16:04] Production.INFO: Total Charge 0
[2025-01-13 13:16:04] Production.INFO: CreateAllLog End
[2025-01-13 13:16:04] Production.INFO: Account Balance End.
[2025-01-13 13:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:16:04] Production.INFO: ==4979== Releasing lock...
[2025-01-13 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:16:05
[end_date_ymd] => 2025-01-13 13:16:05
[RateCDR] => 1
)
[2025-01-13 13:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:16:05' and `end` < '2025-01-13 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-13 13:16:10] Production.ERROR: CronJobId end10
[2025-01-13 13:16:10] Production.INFO: ==4977== Releasing lock...
[2025-01-13 13:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:16:13] Production.INFO: call_cost start
[2025-01-13 13:16:13] Production.INFO: call_cost end
[2025-01-13 13:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:16:13] Production.INFO: ==4973== Releasing lock...
[2025-01-13 13:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:16:30] Production.INFO: count ==5723
[2025-01-13 13:16:32] Production.ERROR: pbx CDR StartTime 2025-01-13 10:16:05 - End Time 2025-01-13 13:16:05
[2025-01-13 13:16:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:16:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239187', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239187', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239187', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239187', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:16:33] Production.INFO: ProcessCDR(1,14239187,1,1,2)
[2025-01-13 13:16:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:16:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:16:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:16:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:16:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239187', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:16:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239187', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:16:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:16:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:16:37] Production.INFO: ==4981== Releasing lock...
[2025-01-13 13:16:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:16:37] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:17:02] Production.INFO: ==5037== Lock acquired, processing the job...
[2025-01-13 18:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:17:02] Production.INFO: neon service started
[2025-01-13 18:17:02] Production.INFO: neon service started
[2025-01-13 18:17:02] Production.INFO: ==5037== Releasing lock...
[2025-01-13 18:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:17:02] Production.INFO: ==5040== Lock acquired, processing the job...
[2025-01-13 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:17:02] Production.INFO: ==5040== Releasing lock...
[2025-01-13 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:17:02] Production.INFO: ==5042== Lock acquired, processing the job...
[2025-01-13 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:17:02] Production.INFO: ==5042== Releasing lock...
[2025-01-13 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:17:03] Production.INFO: ==5052== Lock acquired, processing the job...
[2025-01-13 13:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:17:03] Production.INFO: ==5054== Lock acquired, processing the job...
[2025-01-13 13:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:17:03] Production.INFO: ==5046== Lock acquired, processing the job...
[2025-01-13 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:17:03] Production.INFO: ==5044== Lock acquired, processing the job...
[2025-01-13 13:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:17:03] Production.INFO: ==5048== Lock acquired, processing the job...
[2025-01-13 13:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:17:03] Production.INFO: ==5050== Lock acquired, processing the job...
[2025-01-13 13:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 13:17:03] Production.INFO: count ==21
[2025-01-13 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-13 13:17:03] Production.INFO: count ==21
[2025-01-13 13:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239188') start
[2025-01-13 13:17:04] Production.ERROR: done
[2025-01-13 13:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239188') end
[2025-01-13 13:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:17:04] Production.INFO: 1
[2025-01-13 13:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:17:04] Production.INFO: Account Balance Start.
[2025-01-13 13:17:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:17:04] Production.INFO: 117
[2025-01-13 13:17:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:17:04] Production.INFO: ==5054== Releasing lock...
[2025-01-13 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:17:04] Production.INFO: ==5046== Releasing lock...
[2025-01-13 13:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:17:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:17:04] Production.ERROR: done
[2025-01-13 13:17:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:17:04] Production.INFO: Total Charge 0
[2025-01-13 13:17:04] Production.INFO: CreateAllLog End
[2025-01-13 13:17:04] Production.INFO: Account Balance End.
[2025-01-13 13:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:17:04] Production.INFO: ==5050== Releasing lock...
[2025-01-13 13:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:17:05
[end_date_ymd] => 2025-01-13 13:17:05
[RateCDR] => 1
)
[2025-01-13 13:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:17:05' and `end` < '2025-01-13 13:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:17:11] Production.ERROR: CronJobId end10
[2025-01-13 13:17:11] Production.INFO: ==5048== Releasing lock...
[2025-01-13 13:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:17:13] Production.INFO: call_cost start
[2025-01-13 13:17:13] Production.INFO: call_cost end
[2025-01-13 13:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:17:14] Production.INFO: ==5044== Releasing lock...
[2025-01-13 13:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:17:25] Production.INFO: count ==5718
[2025-01-13 13:17:27] Production.ERROR: pbx CDR StartTime 2025-01-13 10:17:05 - End Time 2025-01-13 13:17:05
[2025-01-13 13:17:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239192', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239192', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239192', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239192', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:17:27] Production.INFO: ProcessCDR(1,14239192,1,1,2)
[2025-01-13 13:17:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:17:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:17:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:17:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:17:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239192', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:17:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239192', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:17:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:17:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:17:32] Production.INFO: ==5052== Releasing lock...
[2025-01-13 13:17:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:17:32] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:18:01] Production.INFO: ==5109== Lock acquired, processing the job...
[2025-01-13 18:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:18:01] Production.INFO: neon service started
[2025-01-13 18:18:01] Production.INFO: neon service started
[2025-01-13 18:18:01] Production.INFO: ==5109== Releasing lock...
[2025-01-13 18:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:18:01] Production.INFO: ==5113== Lock acquired, processing the job...
[2025-01-13 18:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:18:01] Production.INFO: ==5113== Releasing lock...
[2025-01-13 18:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:18:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:18:02] Production.INFO: ==5111== Lock acquired, processing the job...
[2025-01-13 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:18:02] Production.INFO: ==5111== Releasing lock...
[2025-01-13 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:18:03] Production.INFO: ==5120== Lock acquired, processing the job...
[2025-01-13 13:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:18:03] Production.INFO: ==5126== Lock acquired, processing the job...
[2025-01-13 13:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:18:03] Production.INFO: ==5116== Lock acquired, processing the job...
[2025-01-13 13:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 13:18:03] Production.INFO: count ==21
[2025-01-13 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-13 13:18:03] Production.INFO: count ==21
[2025-01-13 13:18:03] Production.INFO: ==5118== Lock acquired, processing the job...
[2025-01-13 13:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239193') start
[2025-01-13 13:18:03] Production.INFO: ==5122== Lock acquired, processing the job...
[2025-01-13 13:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:18:03] Production.INFO: ==5124== Lock acquired, processing the job...
[2025-01-13 13:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239193') end
[2025-01-13 13:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:18:03] Production.INFO: 1
[2025-01-13 13:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:18:03] Production.INFO: Account Balance Start.
[2025-01-13 13:18:03] Production.INFO: ==5126== Releasing lock...
[2025-01-13 13:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:18:03] Production.INFO: 117
[2025-01-13 13:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:18:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:18:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:18:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:18:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:18:03] Production.ERROR: done
[2025-01-13 13:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:18:03] Production.INFO: Total Charge 0
[2025-01-13 13:18:03] Production.INFO: ==5118== Releasing lock...
[2025-01-13 13:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:18:03] Production.INFO: CreateAllLog End
[2025-01-13 13:18:03] Production.ERROR: done
[2025-01-13 13:18:04] Production.INFO: Account Balance End.
[2025-01-13 13:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:18:04] Production.INFO: ==5122== Releasing lock...
[2025-01-13 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:18:04
[end_date_ymd] => 2025-01-13 13:18:04
[RateCDR] => 1
)
[2025-01-13 13: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-13 10:18:04' and `end` < '2025-01-13 13: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-13 13:18:11] Production.ERROR: CronJobId end10
[2025-01-13 13:18:11] Production.INFO: ==5120== Releasing lock...
[2025-01-13 13:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:18:13] Production.INFO: call_cost start
[2025-01-13 13:18:13] Production.INFO: call_cost end
[2025-01-13 13:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:18:14] Production.INFO: ==5116== Releasing lock...
[2025-01-13 13:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:18:23] Production.INFO: count ==5705
[2025-01-13 13:18:25] Production.ERROR: pbx CDR StartTime 2025-01-13 10:18:04 - End Time 2025-01-13 13:18:04
[2025-01-13 13:18:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239197', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239197', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239197', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:18:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239197', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:18:26] Production.INFO: ProcessCDR(1,14239197,1,1,2)
[2025-01-13 13:18:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:18:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:18:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:18:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:18:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239197', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:18:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239197', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:18:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:18:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:18:30] Production.INFO: ==5124== Releasing lock...
[2025-01-13 13:18:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:18:30] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:19:01] Production.INFO: ==5184== Lock acquired, processing the job...
[2025-01-13 18:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:19:01] Production.INFO: neon service started
[2025-01-13 18:19:01] Production.INFO: neon service started
[2025-01-13 18:19:01] Production.INFO: ==5184== Releasing lock...
[2025-01-13 18:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:19:02] Production.INFO: ==5186== Lock acquired, processing the job...
[2025-01-13 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:19:02] Production.INFO: ==5186== Releasing lock...
[2025-01-13 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:19:02] Production.INFO: ==5188== Lock acquired, processing the job...
[2025-01-13 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:19:02] Production.INFO: ==5188== Releasing lock...
[2025-01-13 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:19:03] Production.INFO: ==5190== Lock acquired, processing the job...
[2025-01-13 13:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:19:03] Production.INFO: ==5194== Lock acquired, processing the job...
[2025-01-13 13:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:19:03] Production.INFO: ==5198== Lock acquired, processing the job...
[2025-01-13 13:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:19:03] Production.INFO: ==5192== Lock acquired, processing the job...
[2025-01-13 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:19:03] Production.INFO: ==5196== Lock acquired, processing the job...
[2025-01-13 13:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:19:03] Production.INFO: ==5200== Lock acquired, processing the job...
[2025-01-13 13:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:19:03] Production.ERROR: done
[2025-01-13 13:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:19:03] Production.INFO: Account Balance Start.
[2025-01-13 13:19:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:19:03] Production.INFO: 117
[2025-01-13 13:19:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:19:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:19:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:19:03] Production.INFO: count ==21
[2025-01-13 13:19:03] Production.ERROR: done
[2025-01-13 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-13 13:19:03] Production.INFO: count ==21
[2025-01-13 13:19:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:19:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239201') start
[2025-01-13 13:19:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:19:04] Production.INFO: ==5192== Releasing lock...
[2025-01-13 13:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:19:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:19:04] Production.INFO: Total Charge 0
[2025-01-13 13:19:04] Production.INFO: CreateAllLog End
[2025-01-13 13:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239201') end
[2025-01-13 13:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:19:04] Production.INFO: 1
[2025-01-13 13:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:19:04] Production.INFO: ==5200== Releasing lock...
[2025-01-13 13:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:19:04] Production.INFO: Account Balance End.
[2025-01-13 13:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:19:04] Production.INFO: ==5196== Releasing lock...
[2025-01-13 13:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:19:04
[end_date_ymd] => 2025-01-13 13:19:04
[RateCDR] => 1
)
[2025-01-13 13:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:19:04' and `end` < '2025-01-13 13:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:19:11] Production.ERROR: CronJobId end10
[2025-01-13 13:19:11] Production.INFO: ==5194== Releasing lock...
[2025-01-13 13:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:19:13] Production.INFO: call_cost start
[2025-01-13 13:19:13] Production.INFO: call_cost end
[2025-01-13 13:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:19:13] Production.INFO: ==5190== Releasing lock...
[2025-01-13 13:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:19:23] Production.INFO: count ==5661
[2025-01-13 13:19:25] Production.ERROR: pbx CDR StartTime 2025-01-13 10:19:04 - End Time 2025-01-13 13:19:04
[2025-01-13 13:19:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239202', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239202', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239202', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239202', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:19:25] Production.INFO: ProcessCDR(1,14239202,1,1,2)
[2025-01-13 13:19:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:19:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:19:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:19:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:19:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239202', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:19:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239202', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:19:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:19:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:19:30] Production.INFO: ==5198== Releasing lock...
[2025-01-13 13:19:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:19:30] Production.INFO: 70.5 MB #Memory Used#
[2025-01-13 18:20:02] Production.INFO: ==5254== Lock acquired, processing the job...
[2025-01-13 18:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:20:02] Production.INFO: neon service started
[2025-01-13 18:20:02] Production.INFO: neon service started
[2025-01-13 18:20:02] Production.INFO: ==5254== Releasing lock...
[2025-01-13 18:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:20:02] Production.INFO: ==5258== Lock acquired, processing the job...
[2025-01-13 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:20:02] Production.INFO: ==5258== Releasing lock...
[2025-01-13 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:20:02] Production.INFO: ==5256== Lock acquired, processing the job...
[2025-01-13 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:20:03] Production.INFO: ==5256== Releasing lock...
[2025-01-13 13:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:20:03] Production.INFO: ==5261== Lock acquired, processing the job...
[2025-01-13 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 13:20:03] Production.INFO: ==5263== Lock acquired, processing the job...
[2025-01-13 13:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 13:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 13:20:04] Production.INFO: ==5261== Releasing lock...
[2025-01-13 13:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 13:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 13:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:20:04] Production.INFO: ==5267== Lock acquired, processing the job...
[2025-01-13 13:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:20:04] Production.INFO: ==5265== Lock acquired, processing the job...
[2025-01-13 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:20:04] Production.INFO: ==5271== Lock acquired, processing the job...
[2025-01-13 13:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:20:04] Production.INFO: ==5269== Lock acquired, processing the job...
[2025-01-13 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:20:04] Production.INFO: ==5273== Lock acquired, processing the job...
[2025-01-13 13:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 13:20:04] Production.INFO: ==5275== Lock acquired, processing the job...
[2025-01-13 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:20:04] Production.INFO: Account Balance Start.
[2025-01-13 13:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:20:04] Production.INFO: 117
[2025-01-13 13:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:20:04] Production.INFO: ==5265== Releasing lock...
[2025-01-13 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:20:04] Production.INFO: count ==21
[2025-01-13 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-13 13:20:04] Production.ERROR: done
[2025-01-13 13:20:04] Production.INFO: count ==21
[2025-01-13 13:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239206') start
[2025-01-13 13:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:20:05] Production.INFO: Date 2025-01-12
[2025-01-13 13:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 13:20:05] Production.ERROR: done
[2025-01-13 13:20:05] Production.ERROR: done
[2025-01-13 13:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 13:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239207', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 13:20:05] Production.INFO: Date 2025-01-13
[2025-01-13 13:20:05] Production.INFO: Reseller ==> 0
[2025-01-13 13:20:05] Production.INFO: Total Charge 0
[2025-01-13 13:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14239206') end
[2025-01-13 13:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:20:05] Production.INFO: 1
[2025-01-13 13:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:20:05] Production.INFO: CreateAllLog End
[2025-01-13 13:20:05] Production.INFO: ==5275== Releasing lock...
[2025-01-13 13:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:20:05] Production.INFO: Account Balance End.
[2025-01-13 13:20:05] Production.ERROR: CronJobId end 12
[2025-01-13 13:20:05] Production.INFO: ==5269== Releasing lock...
[2025-01-13 13:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:20:06
[end_date_ymd] => 2025-01-13 13:20:06
[RateCDR] => 1
)
[2025-01-13 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-13 10:20:06' and `end` < '2025-01-13 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-13 13:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239207', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 13:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 13:20:08] Production.INFO: ProcessCDR(1,14239207,1,1,2)
[2025-01-13 13:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239207,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239207,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:20:08] Production.INFO: ==5273== Releasing lock...
[2025-01-13 13:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 13:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 13:20:12] Production.ERROR: CronJobId end10
[2025-01-13 13:20:12] Production.INFO: ==5267== Releasing lock...
[2025-01-13 13:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:20:15] Production.INFO: call_cost start
[2025-01-13 13:20:15] Production.INFO: call_cost end
[2025-01-13 13:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:20:16] Production.INFO: ==5263== Releasing lock...
[2025-01-13 13:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:20:28] Production.INFO: count ==5638
[2025-01-13 13:20:30] Production.ERROR: pbx CDR StartTime 2025-01-13 10:20:06 - End Time 2025-01-13 13:20:06
[2025-01-13 13:20:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239208', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239208', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239208', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239208', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:20:30] Production.INFO: ProcessCDR(1,14239208,1,1,2)
[2025-01-13 13:20:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:20:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:20:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:20:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:20:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239208', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:20:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239208', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:20:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:20:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:20:35] Production.INFO: ==5271== Releasing lock...
[2025-01-13 13:20:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:20:35] Production.INFO: 70.25 MB #Memory Used#
[2025-01-13 18:21:01] Production.INFO: ==5329== Lock acquired, processing the job...
[2025-01-13 18:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:21:01] Production.INFO: neon service started
[2025-01-13 18:21:01] Production.INFO: neon service started
[2025-01-13 18:21:01] Production.INFO: ==5329== Releasing lock...
[2025-01-13 18:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:21:01] Production.INFO: ==5331== Lock acquired, processing the job...
[2025-01-13 13:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:21:02] Production.INFO: ==5331== Releasing lock...
[2025-01-13 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:21:02] Production.INFO: ==5333== Lock acquired, processing the job...
[2025-01-13 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:21:02] Production.INFO: ==5333== Releasing lock...
[2025-01-13 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:21:03] Production.INFO: ==5335== Lock acquired, processing the job...
[2025-01-13 13:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:21:03] Production.INFO: ==5339== Lock acquired, processing the job...
[2025-01-13 13:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:21:03] Production.INFO: ==5337== Lock acquired, processing the job...
[2025-01-13 13:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:21:03] Production.INFO: ==5341== Lock acquired, processing the job...
[2025-01-13 13:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:21:03] Production.INFO: ==5345== Lock acquired, processing the job...
[2025-01-13 13:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:21:03] Production.INFO: ==5343== Lock acquired, processing the job...
[2025-01-13 13:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:21:03] Production.INFO: Account Balance Start.
[2025-01-13 13:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:21:03] Production.INFO: 117
[2025-01-13 13:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:21:03] Production.INFO: count ==21
[2025-01-13 13:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:21:03] Production.INFO: count ==21
[2025-01-13 13:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239211') start
[2025-01-13 13:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:21:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239211') end
[2025-01-13 13:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:21:03] Production.INFO: 1
[2025-01-13 13:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:21:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:21:03] Production.INFO: ==5345== Releasing lock...
[2025-01-13 13:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:21:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:21:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:21:03] Production.INFO: ==5337== Releasing lock...
[2025-01-13 13:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:21:03] Production.ERROR: done
[2025-01-13 13:21:03] Production.INFO: Total Charge 0
[2025-01-13 13:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:21:03] Production.INFO: CreateAllLog End
[2025-01-13 13:21:03] Production.ERROR: done
[2025-01-13 13:21:04] Production.INFO: Account Balance End.
[2025-01-13 13:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:21:04] Production.INFO: ==5341== Releasing lock...
[2025-01-13 13:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:21:04
[end_date_ymd] => 2025-01-13 13:21:04
[RateCDR] => 1
)
[2025-01-13 13: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-13 10:21:04' and `end` < '2025-01-13 13: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-13 13:21:12] Production.ERROR: CronJobId end10
[2025-01-13 13:21:12] Production.INFO: ==5339== Releasing lock...
[2025-01-13 13:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:21:13] Production.INFO: call_cost start
[2025-01-13 13:21:13] Production.INFO: call_cost end
[2025-01-13 13:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:21:14] Production.INFO: ==5335== Releasing lock...
[2025-01-13 13:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:21:24] Production.INFO: count ==5630
[2025-01-13 13:21:26] Production.ERROR: pbx CDR StartTime 2025-01-13 10:21:04 - End Time 2025-01-13 13:21:04
[2025-01-13 13:21:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239213', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239213', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239213', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239213', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:21:27] Production.INFO: ProcessCDR(1,14239213,1,1,2)
[2025-01-13 13:21:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:21:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:21:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:21:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239213', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239213', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:21:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:21:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:21:32] Production.INFO: ==5343== Releasing lock...
[2025-01-13 13:21:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:21:32] Production.INFO: 70.25 MB #Memory Used#
[2025-01-13 18:22:02] Production.INFO: ==5404== Lock acquired, processing the job...
[2025-01-13 18:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:22:02] Production.INFO: neon service started
[2025-01-13 18:22:02] Production.INFO: neon service started
[2025-01-13 18:22:02] Production.INFO: ==5404== Releasing lock...
[2025-01-13 18:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:22:02] Production.INFO: ==5407== Lock acquired, processing the job...
[2025-01-13 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:22:02] Production.INFO: ==5409== Lock acquired, processing the job...
[2025-01-13 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:22:02] Production.INFO: ==5409== Releasing lock...
[2025-01-13 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:22:03] Production.INFO: ==5407== Releasing lock...
[2025-01-13 13:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:22:03] Production.INFO: ==5411== Lock acquired, processing the job...
[2025-01-13 13:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:22:03] Production.INFO: ==5413== Lock acquired, processing the job...
[2025-01-13 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:22:03] Production.INFO: ==5419== Lock acquired, processing the job...
[2025-01-13 13:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:22:04] Production.INFO: ==5415== Lock acquired, processing the job...
[2025-01-13 13:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:22:04] Production.INFO: ==5417== Lock acquired, processing the job...
[2025-01-13 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:22:04] Production.INFO: ==5421== Lock acquired, processing the job...
[2025-01-13 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:22:04] Production.INFO: ==5413== Releasing lock...
[2025-01-13 13:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:22:04] Production.INFO: Account Balance Start.
[2025-01-13 13:22:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:22:04] Production.INFO: 117
[2025-01-13 13:22:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:22:04] Production.ERROR: done
[2025-01-13 13:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:22:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:22:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:22:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:22:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:22:04] Production.ERROR: done
[2025-01-13 13:22:04] Production.INFO: count ==21
[2025-01-13 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-13 13:22:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:22:04] Production.INFO: count ==21
[2025-01-13 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239217') start
[2025-01-13 13:22:04] Production.INFO: Total Charge 0
[2025-01-13 13:22:04] Production.INFO: CreateAllLog End
[2025-01-13 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239217') end
[2025-01-13 13:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:22:04] Production.INFO: 1
[2025-01-13 13:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:22:04] Production.INFO: ==5421== Releasing lock...
[2025-01-13 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:22:04] Production.INFO: Account Balance End.
[2025-01-13 13:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:22:04] Production.INFO: ==5417== Releasing lock...
[2025-01-13 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:22:05
[end_date_ymd] => 2025-01-13 13:22:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:22:05' and `end` < '2025-01-13 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-13 13:22:12] Production.ERROR: CronJobId end10
[2025-01-13 13:22:12] Production.INFO: ==5415== Releasing lock...
[2025-01-13 13:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:22:14] Production.INFO: call_cost start
[2025-01-13 13:22:14] Production.INFO: call_cost end
[2025-01-13 13:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:22:15] Production.INFO: ==5411== Releasing lock...
[2025-01-13 13:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:22:20] Production.INFO: count ==5628
[2025-01-13 13:22:23] Production.ERROR: pbx CDR StartTime 2025-01-13 10:22:05 - End Time 2025-01-13 13:22:05
[2025-01-13 13:22:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239218', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239218', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239218', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239218', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:22:23] Production.INFO: ProcessCDR(1,14239218,1,1,2)
[2025-01-13 13:22:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:22:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:22:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:22:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239218', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:22:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239218', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:22:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:22:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:22:28] Production.INFO: ==5419== Releasing lock...
[2025-01-13 13:22:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:22:28] Production.INFO: 70.25 MB #Memory Used#
[2025-01-13 18:23:01] Production.INFO: ==5477== Lock acquired, processing the job...
[2025-01-13 18:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:23:01] Production.INFO: neon service started
[2025-01-13 18:23:01] Production.INFO: neon service started
[2025-01-13 18:23:01] Production.INFO: ==5477== Releasing lock...
[2025-01-13 18:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:23:01] Production.INFO: ==5479== Lock acquired, processing the job...
[2025-01-13 13:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:23:02] Production.INFO: ==5479== Releasing lock...
[2025-01-13 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:23:02] Production.INFO: ==5481== Lock acquired, processing the job...
[2025-01-13 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:23:02] Production.INFO: ==5481== Releasing lock...
[2025-01-13 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:23:02] Production.INFO: ==5483== Lock acquired, processing the job...
[2025-01-13 13:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:23:02] Production.INFO: ==5485== Lock acquired, processing the job...
[2025-01-13 13:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:23:03] Production.INFO: ==5489== Lock acquired, processing the job...
[2025-01-13 13:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:23:03] Production.INFO: ==5487== Lock acquired, processing the job...
[2025-01-13 13:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:23:03] Production.INFO: Account Balance Start.
[2025-01-13 13:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:23:03] Production.INFO: 117
[2025-01-13 13:23:03] Production.INFO: ==5493== Lock acquired, processing the job...
[2025-01-13 13:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:23:03] Production.INFO: ==5485== Releasing lock...
[2025-01-13 13:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:23:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:23:03] Production.INFO: ==5491== Lock acquired, processing the job...
[2025-01-13 13:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:23:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:23:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:23:03] Production.INFO: count ==21
[2025-01-13 13: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-13 13:23:03] Production.INFO: count ==21
[2025-01-13 13:23:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:23:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239222') start
[2025-01-13 13:23:03] Production.INFO: Total Charge 0
[2025-01-13 13:23:03] Production.INFO: CreateAllLog End
[2025-01-13 13:23:03] Production.ERROR: done
[2025-01-13 13:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239222') end
[2025-01-13 13:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:23:03] Production.INFO: 1
[2025-01-13 13:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:23:03] Production.INFO: Account Balance End.
[2025-01-13 13:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:23:04] Production.INFO: ==5489== Releasing lock...
[2025-01-13 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:23:04] Production.INFO: ==5493== Releasing lock...
[2025-01-13 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:23:04] Production.ERROR: done
[2025-01-13 13:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:23:05
[end_date_ymd] => 2025-01-13 13:23:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:23:05' and `end` < '2025-01-13 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-13 13:23:12] Production.ERROR: CronJobId end10
[2025-01-13 13:23:12] Production.INFO: ==5487== Releasing lock...
[2025-01-13 13:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:23:12] Production.INFO: call_cost start
[2025-01-13 13:23:12] Production.INFO: call_cost end
[2025-01-13 13:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:23:13] Production.INFO: ==5483== Releasing lock...
[2025-01-13 13:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:23:27] Production.INFO: count ==5640
[2025-01-13 13:23:30] Production.ERROR: pbx CDR StartTime 2025-01-13 10:23:05 - End Time 2025-01-13 13:23:05
[2025-01-13 13:23:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239223', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239223', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239223', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239223', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:23:30] Production.INFO: ProcessCDR(1,14239223,1,1,2)
[2025-01-13 13:23:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:23:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:23:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:23:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:23:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239223', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:23:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239223', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:23:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:23:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:23:35] Production.INFO: ==5491== Releasing lock...
[2025-01-13 13:23:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:23:35] Production.INFO: 70.25 MB #Memory Used#
[2025-01-13 18:24:01] Production.INFO: ==5550== Lock acquired, processing the job...
[2025-01-13 18:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:24:01] Production.INFO: neon service started
[2025-01-13 18:24:02] Production.INFO: neon service started
[2025-01-13 18:24:02] Production.INFO: ==5550== Releasing lock...
[2025-01-13 18:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:24:02] Production.INFO: ==5552== Lock acquired, processing the job...
[2025-01-13 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:24:02] Production.INFO: ==5552== Releasing lock...
[2025-01-13 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:24:02] Production.INFO: ==5554== Lock acquired, processing the job...
[2025-01-13 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:24:02] Production.INFO: ==5554== Releasing lock...
[2025-01-13 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:24:03] Production.INFO: ==5556== Lock acquired, processing the job...
[2025-01-13 13:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:24:03] Production.INFO: ==5558== Lock acquired, processing the job...
[2025-01-13 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:24:03] Production.INFO: ==5560== Lock acquired, processing the job...
[2025-01-13 13:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:24:03] Production.INFO: ==5564== Lock acquired, processing the job...
[2025-01-13 13:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:24:03] Production.INFO: ==5562== Lock acquired, processing the job...
[2025-01-13 13:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:24:03] Production.INFO: ==5566== Lock acquired, processing the job...
[2025-01-13 13:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:24:04] Production.INFO: ==5558== Releasing lock...
[2025-01-13 13:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:24:04] Production.INFO: Account Balance Start.
[2025-01-13 13:24:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:24:04] Production.INFO: 117
[2025-01-13 13:24:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:24:04] Production.INFO: count ==21
[2025-01-13 13:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:24:04] Production.INFO: count ==21
[2025-01-13 13:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239227') start
[2025-01-13 13:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:24:04] Production.ERROR: done
[2025-01-13 13:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239227') end
[2025-01-13 13:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:24:04] Production.INFO: 1
[2025-01-13 13:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:24:04] Production.INFO: Total Charge 0
[2025-01-13 13:24:04] Production.INFO: CreateAllLog End
[2025-01-13 13:24:04] Production.ERROR: done
[2025-01-13 13:24:04] Production.INFO: ==5566== Releasing lock...
[2025-01-13 13:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:24:04] Production.INFO: Account Balance End.
[2025-01-13 13:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:24:04] Production.INFO: ==5562== Releasing lock...
[2025-01-13 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:24:05
[end_date_ymd] => 2025-01-13 13:24:05
[RateCDR] => 1
)
[2025-01-13 13:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:24:05' and `end` < '2025-01-13 13:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:24:12] Production.ERROR: CronJobId end10
[2025-01-13 13:24:12] Production.INFO: ==5560== Releasing lock...
[2025-01-13 13:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:24:14] Production.INFO: call_cost start
[2025-01-13 13:24:14] Production.INFO: call_cost end
[2025-01-13 13:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:24:14] Production.INFO: ==5556== Releasing lock...
[2025-01-13 13:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:24:28] Production.INFO: count ==5611
[2025-01-13 13:24:31] Production.ERROR: pbx CDR StartTime 2025-01-13 10:24:05 - End Time 2025-01-13 13:24:05
[2025-01-13 13:24:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239228', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239228', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239228', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239228', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:24:31] Production.INFO: ProcessCDR(1,14239228,1,1,2)
[2025-01-13 13:24:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:24:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:24:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:24:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:24:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239228', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:24:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239228', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:24:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:24:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:24:35] Production.INFO: ==5564== Releasing lock...
[2025-01-13 13:24:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:24:35] Production.INFO: 70 MB #Memory Used#
[2025-01-13 18:25:01] Production.INFO: ==5623== Lock acquired, processing the job...
[2025-01-13 18:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:25:01] Production.INFO: neon service started
[2025-01-13 18:25:01] Production.INFO: neon service started
[2025-01-13 18:25:01] Production.INFO: ==5623== Releasing lock...
[2025-01-13 18:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:25:02] Production.INFO: ==5625== Lock acquired, processing the job...
[2025-01-13 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:25:02] Production.INFO: ==5627== Lock acquired, processing the job...
[2025-01-13 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:25:02] Production.INFO: ==5627== Releasing lock...
[2025-01-13 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:25:02] Production.INFO: ==5625== Releasing lock...
[2025-01-13 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:25:03] Production.INFO: ==5630== Lock acquired, processing the job...
[2025-01-13 13:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:25:03] Production.INFO: ==5632== Lock acquired, processing the job...
[2025-01-13 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:25:03] Production.INFO: ==5636== Lock acquired, processing the job...
[2025-01-13 13:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:25:03] Production.INFO: ==5634== Lock acquired, processing the job...
[2025-01-13 13:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:25:03] Production.INFO: ==5640== Lock acquired, processing the job...
[2025-01-13 13:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:25:03] Production.INFO: ==5638== Lock acquired, processing the job...
[2025-01-13 13:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:25:03] Production.INFO: Account Balance Start.
[2025-01-13 13:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:25:03] Production.INFO: 117
[2025-01-13 13:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:25:03] Production.INFO: count ==21
[2025-01-13 13:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:25:03] Production.INFO: count ==21
[2025-01-13 13:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239232') start
[2025-01-13 13:25:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:25:03] Production.INFO: ==5632== Releasing lock...
[2025-01-13 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:25:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239232') end
[2025-01-13 13:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:25:03] Production.INFO: 1
[2025-01-13 13:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:25:03] Production.INFO: ==5640== Releasing lock...
[2025-01-13 13:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:25:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:25:03] Production.ERROR: done
[2025-01-13 13:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:25:04] Production.ERROR: done
[2025-01-13 13:25:04] Production.INFO: Total Charge 0
[2025-01-13 13:25:04] Production.INFO: CreateAllLog End
[2025-01-13 13:25:04] Production.INFO: Account Balance End.
[2025-01-13 13:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:25:04] Production.INFO: ==5636== Releasing lock...
[2025-01-13 13:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:25:04
[end_date_ymd] => 2025-01-13 13:25:04
[RateCDR] => 1
)
[2025-01-13 13:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:25:04' and `end` < '2025-01-13 13:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:25:11] Production.ERROR: CronJobId end10
[2025-01-13 13:25:11] Production.INFO: ==5634== Releasing lock...
[2025-01-13 13:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:25:13] Production.INFO: call_cost start
[2025-01-13 13:25:13] Production.INFO: call_cost end
[2025-01-13 13:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:25:14] Production.INFO: ==5630== Releasing lock...
[2025-01-13 13:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:25:21] Production.INFO: count ==5605
[2025-01-13 13:25:23] Production.ERROR: pbx CDR StartTime 2025-01-13 10:25:04 - End Time 2025-01-13 13:25:04
[2025-01-13 13:25:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239233', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239233', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239233', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239233', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:25:23] Production.INFO: ProcessCDR(1,14239233,1,1,2)
[2025-01-13 13:25:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:25:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:25:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:25:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239233', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239233', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:25:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:25:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:25:28] Production.INFO: ==5638== Releasing lock...
[2025-01-13 13:25:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:25:28] Production.INFO: 70 MB #Memory Used#
[2025-01-13 18:26:01] Production.INFO: ==5697== Lock acquired, processing the job...
[2025-01-13 18:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:26:01] Production.INFO: neon service started
[2025-01-13 18:26:01] Production.INFO: neon service started
[2025-01-13 18:26:01] Production.INFO: ==5697== Releasing lock...
[2025-01-13 18:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:26:02] Production.INFO: ==5701== Lock acquired, processing the job...
[2025-01-13 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:26:02] Production.INFO: ==5701== Releasing lock...
[2025-01-13 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:26:02] Production.INFO: ==5699== Lock acquired, processing the job...
[2025-01-13 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:26:02] Production.INFO: ==5699== Releasing lock...
[2025-01-13 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:26:03] Production.INFO: ==5707== Lock acquired, processing the job...
[2025-01-13 13:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:26:03] Production.INFO: ==5703== Lock acquired, processing the job...
[2025-01-13 13:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:26:03] Production.INFO: ==5712== Lock acquired, processing the job...
[2025-01-13 13:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:26:03] Production.INFO: ==5705== Lock acquired, processing the job...
[2025-01-13 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:26:03] Production.INFO: ==5709== Lock acquired, processing the job...
[2025-01-13 13:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:26:03] Production.INFO: ==5714== Lock acquired, processing the job...
[2025-01-13 13:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:26:03] Production.INFO: Account Balance Start.
[2025-01-13 13:26:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:26:03] Production.INFO: 117
[2025-01-13 13:26:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:26:03] Production.ERROR: done
[2025-01-13 13:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:26:03] Production.INFO: ==5705== Releasing lock...
[2025-01-13 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 13:26:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:26:04] Production.INFO: count ==21
[2025-01-13 13:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:26:04] Production.INFO: count ==21
[2025-01-13 13:26:04] Production.ERROR: done
[2025-01-13 13:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239237') start
[2025-01-13 13:26:04] Production.INFO: Total Charge 0
[2025-01-13 13:26:04] Production.INFO: CreateAllLog End
[2025-01-13 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239237') end
[2025-01-13 13:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:26:04] Production.INFO: 1
[2025-01-13 13:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:26:04] Production.INFO: ==5714== Releasing lock...
[2025-01-13 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:26:04] Production.INFO: Account Balance End.
[2025-01-13 13:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:26:04] Production.INFO: ==5709== Releasing lock...
[2025-01-13 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:26:05
[end_date_ymd] => 2025-01-13 13:26:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:26:05' and `end` < '2025-01-13 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-13 13:26:10] Production.ERROR: CronJobId end10
[2025-01-13 13:26:10] Production.INFO: ==5707== Releasing lock...
[2025-01-13 13:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:26:12] Production.INFO: call_cost start
[2025-01-13 13:26:12] Production.INFO: call_cost end
[2025-01-13 13:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:26:13] Production.INFO: ==5703== Releasing lock...
[2025-01-13 13:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:26:22] Production.INFO: count ==5604
[2025-01-13 13:26:24] Production.ERROR: pbx CDR StartTime 2025-01-13 10:26:05 - End Time 2025-01-13 13:26:05
[2025-01-13 13:26:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239238', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239238', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239238', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239238', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:26:25] Production.INFO: ProcessCDR(1,14239238,1,1,2)
[2025-01-13 13:26:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:26:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:26:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:26:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:26:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239238', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:26:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239238', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:26:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:26:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:26:29] Production.INFO: ==5712== Releasing lock...
[2025-01-13 13:26:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:26:29] Production.INFO: 70 MB #Memory Used#
[2025-01-13 18:27:02] Production.INFO: ==5768== Lock acquired, processing the job...
[2025-01-13 18:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:27:02] Production.INFO: neon service started
[2025-01-13 18:27:02] Production.INFO: neon service started
[2025-01-13 18:27:02] Production.INFO: ==5768== Releasing lock...
[2025-01-13 18:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:27:02] Production.INFO: ==5772== Lock acquired, processing the job...
[2025-01-13 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:27:02] Production.INFO: ==5772== Releasing lock...
[2025-01-13 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:27:02] Production.INFO: ==5770== Lock acquired, processing the job...
[2025-01-13 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:27:03] Production.INFO: ==5770== Releasing lock...
[2025-01-13 13:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:27:03] Production.INFO: ==5780== Lock acquired, processing the job...
[2025-01-13 13:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:27:04] Production.INFO: ==5785== Lock acquired, processing the job...
[2025-01-13 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:27:04] Production.INFO: Account Balance Start.
[2025-01-13 13:27:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:27:04] Production.INFO: 117
[2025-01-13 13:27:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 13:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:27:04] Production.INFO: ==5774== Lock acquired, processing the job...
[2025-01-13 13:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:27:04] Production.INFO: count ==21
[2025-01-13 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-13 13:27:04] Production.INFO: count ==21
[2025-01-13 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239240') start
[2025-01-13 13:27:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:27:04] Production.INFO: ==5776== Lock acquired, processing the job...
[2025-01-13 13:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:27:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:27:04] Production.INFO: ==5778== Lock acquired, processing the job...
[2025-01-13 13:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:27:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239240') end
[2025-01-13 13:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:27:04] Production.INFO: 1
[2025-01-13 13:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:27:04] Production.INFO: ==5782== Lock acquired, processing the job...
[2025-01-13 13:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:27:04] Production.INFO: ==5785== Releasing lock...
[2025-01-13 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:27:04] Production.INFO: Total Charge 0
[2025-01-13 13:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:27:04] Production.INFO: CreateAllLog End
[2025-01-13 13:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:27:04] Production.INFO: ==5776== Releasing lock...
[2025-01-13 13:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:27:04] Production.INFO: Account Balance End.
[2025-01-13 13:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:27:04] Production.INFO: ==5780== Releasing lock...
[2025-01-13 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:27:04] Production.ERROR: done
[2025-01-13 13:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:27:05] Production.ERROR: done
[2025-01-13 13:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:27:05
[end_date_ymd] => 2025-01-13 13:27:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:27:05' and `end` < '2025-01-13 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-13 13:27:12] Production.ERROR: CronJobId end10
[2025-01-13 13:27:12] Production.INFO: ==5778== Releasing lock...
[2025-01-13 13:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:27:13] Production.INFO: call_cost start
[2025-01-13 13:27:13] Production.INFO: call_cost end
[2025-01-13 13:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:27:14] Production.INFO: ==5774== Releasing lock...
[2025-01-13 13:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:27:20] Production.INFO: count ==5594
[2025-01-13 13:27:22] Production.ERROR: pbx CDR StartTime 2025-01-13 10:27:05 - End Time 2025-01-13 13:27:05
[2025-01-13 13:27:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239243', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:27:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239243', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:27:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239243', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:27:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239243', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:27:23] Production.INFO: ProcessCDR(1,14239243,1,1,2)
[2025-01-13 13:27:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239243', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239243', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:27:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:27:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:27:26] Production.INFO: ==5782== Releasing lock...
[2025-01-13 13:27:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:27:26] Production.INFO: 70 MB #Memory Used#
[2025-01-13 18:28:01] Production.INFO: ==5876== Lock acquired, processing the job...
[2025-01-13 18:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:28:01] Production.INFO: neon service started
[2025-01-13 18:28:01] Production.INFO: neon service started
[2025-01-13 18:28:01] Production.INFO: ==5876== Releasing lock...
[2025-01-13 18:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:28:02] Production.INFO: ==5878== Lock acquired, processing the job...
[2025-01-13 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:28:02] Production.INFO: ==5878== Releasing lock...
[2025-01-13 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:28:02] Production.INFO: ==5880== Lock acquired, processing the job...
[2025-01-13 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:28:02] Production.INFO: ==5880== Releasing lock...
[2025-01-13 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:28:03] Production.INFO: ==5890== Lock acquired, processing the job...
[2025-01-13 13:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:28:03] Production.INFO: ==5894== Lock acquired, processing the job...
[2025-01-13 13:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:28:03] Production.INFO: Account Balance Start.
[2025-01-13 13:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:28:03] Production.INFO: 117
[2025-01-13 13:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:28:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:28:03] Production.INFO: count ==21
[2025-01-13 13:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:28:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:28:03] Production.INFO: count ==21
[2025-01-13 13:28:03] Production.INFO: ==5883== Lock acquired, processing the job...
[2025-01-13 13:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239245') start
[2025-01-13 13:28:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:28:03] Production.INFO: ==5886== Lock acquired, processing the job...
[2025-01-13 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:28:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:28:03] Production.INFO: ==5888== Lock acquired, processing the job...
[2025-01-13 13:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:28:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:28:03] Production.INFO: Total Charge 0
[2025-01-13 13:28:03] Production.INFO: CreateAllLog End
[2025-01-13 13:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239245') end
[2025-01-13 13:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:28:03] Production.INFO: 1
[2025-01-13 13:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:28:03] Production.INFO: ==5892== Lock acquired, processing the job...
[2025-01-13 13:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:28:03] Production.INFO: ==5894== Releasing lock...
[2025-01-13 13:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:28:03] Production.INFO: Account Balance End.
[2025-01-13 13:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:28:04] Production.INFO: ==5890== Releasing lock...
[2025-01-13 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:28:04] Production.INFO: ==5886== Releasing lock...
[2025-01-13 13:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:28:04] Production.ERROR: done
[2025-01-13 13:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:28:04] Production.ERROR: done
[2025-01-13 13:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:28:05
[end_date_ymd] => 2025-01-13 13:28:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:28:05' and `end` < '2025-01-13 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-13 13:28:12] Production.ERROR: CronJobId end10
[2025-01-13 13:28:12] Production.INFO: ==5888== Releasing lock...
[2025-01-13 13:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:28:13] Production.INFO: call_cost start
[2025-01-13 13:28:13] Production.INFO: call_cost end
[2025-01-13 13:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:28:13] Production.INFO: ==5883== Releasing lock...
[2025-01-13 13:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:28:20] Production.INFO: count ==5586
[2025-01-13 13:28:22] Production.ERROR: pbx CDR StartTime 2025-01-13 10:28:05 - End Time 2025-01-13 13:28:05
[2025-01-13 13:28:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239248', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239248', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239248', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239248', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:28:23] Production.INFO: ProcessCDR(1,14239248,1,1,2)
[2025-01-13 13:28:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239248', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239248', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:28:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:28:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:28:28] Production.INFO: ==5892== Releasing lock...
[2025-01-13 13:28:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:28:28] Production.INFO: 69.75 MB #Memory Used#
[2025-01-13 18:29:02] Production.INFO: ==5955== Lock acquired, processing the job...
[2025-01-13 18:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:29:02] Production.INFO: neon service started
[2025-01-13 18:29:02] Production.INFO: neon service started
[2025-01-13 18:29:02] Production.INFO: ==5955== Releasing lock...
[2025-01-13 18:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:29:02] Production.INFO: ==5957== Lock acquired, processing the job...
[2025-01-13 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:29:02] Production.INFO: ==5959== Lock acquired, processing the job...
[2025-01-13 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:29:02] Production.INFO: ==5959== Releasing lock...
[2025-01-13 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:29:03] Production.INFO: ==5957== Releasing lock...
[2025-01-13 13:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:29:03] Production.INFO: ==5964== Lock acquired, processing the job...
[2025-01-13 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:29:03] Production.INFO: ==5966== Lock acquired, processing the job...
[2025-01-13 13:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:29:03] Production.INFO: ==5970== Lock acquired, processing the job...
[2025-01-13 13:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:29:03] Production.INFO: ==5962== Lock acquired, processing the job...
[2025-01-13 13:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:29:03] Production.INFO: ==5964== Releasing lock...
[2025-01-13 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:29:04] Production.INFO: ==5968== Lock acquired, processing the job...
[2025-01-13 13:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:29:04] Production.INFO: ==5972== Lock acquired, processing the job...
[2025-01-13 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:29:04] Production.INFO: Account Balance Start.
[2025-01-13 13:29:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:29:04] Production.INFO: 117
[2025-01-13 13:29:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 13:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:29:04] Production.INFO: count ==21
[2025-01-13 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-13 13:29:04] Production.INFO: count ==21
[2025-01-13 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239252') start
[2025-01-13 13:29:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:29:04] Production.ERROR: done
[2025-01-13 13:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:29:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239252') end
[2025-01-13 13:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:29:04] Production.INFO: 1
[2025-01-13 13:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:29:04] Production.ERROR: done
[2025-01-13 13:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:29:04] Production.INFO: ==5972== Releasing lock...
[2025-01-13 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:29:04] Production.INFO: Total Charge 0
[2025-01-13 13:29:04] Production.INFO: CreateAllLog End
[2025-01-13 13:29:04] Production.INFO: Account Balance End.
[2025-01-13 13:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:29:04] Production.INFO: ==5968== Releasing lock...
[2025-01-13 13:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:29:05
[end_date_ymd] => 2025-01-13 13:29:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:29:05' and `end` < '2025-01-13 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-13 13:29:11] Production.ERROR: CronJobId end10
[2025-01-13 13:29:11] Production.INFO: ==5966== Releasing lock...
[2025-01-13 13:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:29:14] Production.INFO: call_cost start
[2025-01-13 13:29:14] Production.INFO: call_cost end
[2025-01-13 13:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:29:14] Production.INFO: ==5962== Releasing lock...
[2025-01-13 13:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:29:27] Production.INFO: count ==5602
[2025-01-13 13:29:29] Production.ERROR: pbx CDR StartTime 2025-01-13 10:29:05 - End Time 2025-01-13 13:29:05
[2025-01-13 13:29:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239253', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239253', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239253', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239253', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:29:29] Production.INFO: ProcessCDR(1,14239253,1,1,2)
[2025-01-13 13:29:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:29:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:29:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:29:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:29:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239253', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:29:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239253', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:29:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:29:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:29:34] Production.INFO: ==5970== Releasing lock...
[2025-01-13 13:29:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:29:34] Production.INFO: 70 MB #Memory Used#
[2025-01-13 18:30:01] Production.INFO: ==6028== Lock acquired, processing the job...
[2025-01-13 18:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:30:01] Production.INFO: neon service started
[2025-01-13 18:30:01] Production.INFO: neon service started
[2025-01-13 18:30:01] Production.INFO: ==6028== Releasing lock...
[2025-01-13 18:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:30:01] Production.INFO: ==6030== Lock acquired, processing the job...
[2025-01-13 13:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:30:02] Production.INFO: ==6032== Lock acquired, processing the job...
[2025-01-13 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:30:02] Production.INFO: ==6030== Releasing lock...
[2025-01-13 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:30:02] Production.INFO: ==6032== Releasing lock...
[2025-01-13 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:30:03] Production.INFO: ==6035== Lock acquired, processing the job...
[2025-01-13 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 13:30:03] Production.INFO: ==6037== Lock acquired, processing the job...
[2025-01-13 13:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:30:03] Production.INFO: ==6039== Lock acquired, processing the job...
[2025-01-13 13:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 13:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 13:30:03] Production.INFO: ==6035== Releasing lock...
[2025-01-13 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 13:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 13:30:03] Production.INFO: ==6041== Lock acquired, processing the job...
[2025-01-13 13:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:30:03] Production.INFO: ==6043== Lock acquired, processing the job...
[2025-01-13 13:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:30:03] Production.INFO: Account Balance Start.
[2025-01-13 13:30:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:30:03] Production.INFO: 117
[2025-01-13 13:30:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:30:03] Production.INFO: ==6045== Lock acquired, processing the job...
[2025-01-13 13:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:30:03] Production.INFO: ==6039== Releasing lock...
[2025-01-13 13:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:30:03] Production.INFO: ==6047== Lock acquired, processing the job...
[2025-01-13 13:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 13:30:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:30:03] Production.INFO: ==6049== Lock acquired, processing the job...
[2025-01-13 13:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:30:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:30:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:30:04] Production.ERROR: done
[2025-01-13 13:30:04] Production.ERROR: done
[2025-01-13 13:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:30:04] Production.INFO: count ==21
[2025-01-13 13:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 13:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239258', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 13:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:30:04] Production.INFO: count ==21
[2025-01-13 13:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239257') start
[2025-01-13 13:30:04] Production.ERROR: done
[2025-01-13 13:30:04] Production.INFO: Total Charge 0
[2025-01-13 13:30:04] Production.INFO: CreateAllLog End
[2025-01-13 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239257') end
[2025-01-13 13:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:30:04] Production.INFO: 1
[2025-01-13 13:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:30:04] Production.INFO: ==6049== Releasing lock...
[2025-01-13 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:30:04] Production.INFO: Account Balance End.
[2025-01-13 13:30:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:30:04] Production.INFO: ==6043== Releasing lock...
[2025-01-13 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:30:05
[end_date_ymd] => 2025-01-13 13:30:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:30:05' and `end` < '2025-01-13 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-13 13:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239258', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 13:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 13:30:08] Production.INFO: ProcessCDR(1,14239258,1,1,2)
[2025-01-13 13:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239258,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239258,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:30:08] Production.INFO: ==6047== Releasing lock...
[2025-01-13 13:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 13:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 13:30:13] Production.ERROR: CronJobId end10
[2025-01-13 13:30:13] Production.INFO: ==6041== Releasing lock...
[2025-01-13 13:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:30:14] Production.INFO: call_cost start
[2025-01-13 13:30:14] Production.INFO: call_cost end
[2025-01-13 13:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:30:15] Production.INFO: ==6037== Releasing lock...
[2025-01-13 13:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:30:26] Production.INFO: count ==5597
[2025-01-13 13:30:29] Production.ERROR: pbx CDR StartTime 2025-01-13 10:30:05 - End Time 2025-01-13 13:30:05
[2025-01-13 13:30:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239259', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239259', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239259', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:30:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239259', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:30:29] Production.INFO: ProcessCDR(1,14239259,1,1,2)
[2025-01-13 13:30:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:30:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:30:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:30:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:30:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239259', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:30:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239259', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:30:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:30:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:30:34] Production.INFO: ==6045== Releasing lock...
[2025-01-13 13:30:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:30:34] Production.INFO: 70 MB #Memory Used#
[2025-01-13 18:31:02] Production.INFO: ==6108== Lock acquired, processing the job...
[2025-01-13 18:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:31:02] Production.INFO: neon service started
[2025-01-13 18:31:02] Production.INFO: neon service started
[2025-01-13 18:31:02] Production.INFO: ==6108== Releasing lock...
[2025-01-13 18:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:31:02] Production.INFO: ==6112== Lock acquired, processing the job...
[2025-01-13 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:31:02] Production.INFO: ==6112== Releasing lock...
[2025-01-13 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:31:02] Production.INFO: ==6110== Lock acquired, processing the job...
[2025-01-13 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:31:02] Production.INFO: ==6110== Releasing lock...
[2025-01-13 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:31:03] Production.INFO: ==6115== Lock acquired, processing the job...
[2025-01-13 13:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:31:03] Production.INFO: ==6121== Lock acquired, processing the job...
[2025-01-13 13:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:31:03] Production.INFO: ==6117== Lock acquired, processing the job...
[2025-01-13 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:31:03] Production.INFO: Account Balance Start.
[2025-01-13 13:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:31:03] Production.INFO: 117
[2025-01-13 13:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:31:03] Production.INFO: ==6119== Lock acquired, processing the job...
[2025-01-13 13:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:31:03] Production.INFO: ==6125== Lock acquired, processing the job...
[2025-01-13 13:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:31:03] Production.INFO: ==6123== Lock acquired, processing the job...
[2025-01-13 13:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:31:03] Production.INFO: ==6117== Releasing lock...
[2025-01-13 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:31:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:31:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:31:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:31:04] Production.INFO: Total Charge 0
[2025-01-13 13:31:04] Production.INFO: CreateAllLog End
[2025-01-13 13:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:31:04] Production.INFO: count ==21
[2025-01-13 13:31:04] Production.INFO: Account Balance End.
[2025-01-13 13:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:31:04] Production.INFO: count ==21
[2025-01-13 13:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239263') start
[2025-01-13 13:31:04] Production.ERROR: done
[2025-01-13 13:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:31:04] Production.INFO: ==6121== Releasing lock...
[2025-01-13 13:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239263') end
[2025-01-13 13:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:31:04] Production.INFO: 1
[2025-01-13 13:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:31:04] Production.INFO: ==6125== Releasing lock...
[2025-01-13 13:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:31:04] Production.ERROR: done
[2025-01-13 13:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:31:05
[end_date_ymd] => 2025-01-13 13:31:05
[RateCDR] => 1
)
[2025-01-13 13:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:31:05' and `end` < '2025-01-13 13:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:31:11] Production.ERROR: CronJobId end10
[2025-01-13 13:31:11] Production.INFO: ==6119== Releasing lock...
[2025-01-13 13:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:31:13] Production.INFO: call_cost start
[2025-01-13 13:31:13] Production.INFO: call_cost end
[2025-01-13 13:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:31:14] Production.INFO: ==6115== Releasing lock...
[2025-01-13 13:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:31:30] Production.INFO: count ==5589
[2025-01-13 13:31:32] Production.ERROR: pbx CDR StartTime 2025-01-13 10:31:05 - End Time 2025-01-13 13:31:05
[2025-01-13 13:31:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239264', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239264', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239264', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:31:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239264', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:31:32] Production.INFO: ProcessCDR(1,14239264,1,1,2)
[2025-01-13 13:31:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:31:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:31:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:31:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:31:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239264', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:31:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239264', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:31:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:31:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:31:37] Production.INFO: ==6123== Releasing lock...
[2025-01-13 13:31:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:31:37] Production.INFO: 69.75 MB #Memory Used#
[2025-01-13 18:32:01] Production.INFO: ==6177== Lock acquired, processing the job...
[2025-01-13 18:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:32:01] Production.INFO: neon service started
[2025-01-13 18:32:01] Production.INFO: neon service started
[2025-01-13 18:32:01] Production.INFO: ==6177== Releasing lock...
[2025-01-13 18:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:32:01] Production.INFO: ==6179== Lock acquired, processing the job...
[2025-01-13 13:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:32:02] Production.INFO: ==6179== Releasing lock...
[2025-01-13 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:32:02] Production.INFO: ==6181== Lock acquired, processing the job...
[2025-01-13 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:32:02] Production.INFO: ==6181== Releasing lock...
[2025-01-13 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:32:02] Production.INFO: ==6184== Lock acquired, processing the job...
[2025-01-13 13:32:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:32:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:32:02] Production.INFO: ==6188== Lock acquired, processing the job...
[2025-01-13 13:32:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:32:03] Production.INFO: ==6192== Lock acquired, processing the job...
[2025-01-13 13:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:32:03] Production.INFO: ==6186== Lock acquired, processing the job...
[2025-01-13 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:32:03] Production.INFO: ==6190== Lock acquired, processing the job...
[2025-01-13 13:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:32:03] Production.INFO: ==6194== Lock acquired, processing the job...
[2025-01-13 13:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:32:03] Production.INFO: ==6186== Releasing lock...
[2025-01-13 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 13:32:03] Production.INFO: Account Balance Start.
[2025-01-13 13:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:32:03] Production.INFO: 117
[2025-01-13 13:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:32:03] Production.INFO: count ==21
[2025-01-13 13:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:32:03] Production.INFO: count ==21
[2025-01-13 13:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239268') start
[2025-01-13 13:32:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:32:03] Production.ERROR: done
[2025-01-13 13:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:32:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239268') end
[2025-01-13 13:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:32:03] Production.INFO: 1
[2025-01-13 13:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:32:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:32:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:32:03] Production.INFO: ==6194== Releasing lock...
[2025-01-13 13:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:32:03] Production.ERROR: done
[2025-01-13 13:32:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:32:03] Production.INFO: Total Charge 0
[2025-01-13 13:32:03] Production.INFO: CreateAllLog End
[2025-01-13 13:32:04] Production.INFO: Account Balance End.
[2025-01-13 13:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:32:04] Production.INFO: ==6190== Releasing lock...
[2025-01-13 13:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:32:04
[end_date_ymd] => 2025-01-13 13:32:04
[RateCDR] => 1
)
[2025-01-13 13: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-13 10:32:04' and `end` < '2025-01-13 13: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-13 13:32:10] Production.ERROR: CronJobId end10
[2025-01-13 13:32:10] Production.INFO: ==6188== Releasing lock...
[2025-01-13 13:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:32:12] Production.INFO: call_cost start
[2025-01-13 13:32:12] Production.INFO: call_cost end
[2025-01-13 13:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:32:13] Production.INFO: ==6184== Releasing lock...
[2025-01-13 13:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:32:26] Production.INFO: count ==5573
[2025-01-13 13:32:28] Production.ERROR: pbx CDR StartTime 2025-01-13 10:32:04 - End Time 2025-01-13 13:32:04
[2025-01-13 13:32:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:32:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239269', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:32:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239269', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:32:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239269', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:32:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239269', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:32:28] Production.INFO: ProcessCDR(1,14239269,1,1,2)
[2025-01-13 13:32:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:32:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:32:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:32:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:32:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239269', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:32:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239269', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:32:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:32:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:32:33] Production.INFO: ==6192== Releasing lock...
[2025-01-13 13:32:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:32:33] Production.INFO: 69.75 MB #Memory Used#
[2025-01-13 18:33:01] Production.INFO: ==6248== Lock acquired, processing the job...
[2025-01-13 18:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:33:01] Production.INFO: neon service started
[2025-01-13 18:33:01] Production.INFO: neon service started
[2025-01-13 18:33:01] Production.INFO: ==6248== Releasing lock...
[2025-01-13 18:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:33:02] Production.INFO: ==6250== Lock acquired, processing the job...
[2025-01-13 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:33:02] Production.INFO: ==6252== Lock acquired, processing the job...
[2025-01-13 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:33:02] Production.INFO: ==6250== Releasing lock...
[2025-01-13 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:33:02] Production.INFO: ==6252== Releasing lock...
[2025-01-13 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:33:03] Production.INFO: ==6254== Lock acquired, processing the job...
[2025-01-13 13:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:33:03] Production.INFO: ==6256== Lock acquired, processing the job...
[2025-01-13 13:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:33:03] Production.INFO: ==6258== Lock acquired, processing the job...
[2025-01-13 13:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:33:03] Production.INFO: ==6260== Lock acquired, processing the job...
[2025-01-13 13:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:33:03] Production.INFO: ==6262== Lock acquired, processing the job...
[2025-01-13 13:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:33:03] Production.INFO: Account Balance Start.
[2025-01-13 13:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:33:03] Production.INFO: 117
[2025-01-13 13:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:33:03] Production.INFO: ==6265== Lock acquired, processing the job...
[2025-01-13 13:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:33:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:33:03] Production.INFO: ==6256== Releasing lock...
[2025-01-13 13:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:33:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:33:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:33:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:33:04] Production.INFO: count ==21
[2025-01-13 13:33:04] Production.ERROR: done
[2025-01-13 13:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 13:33:04] Production.INFO: count ==21
[2025-01-13 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239273') start
[2025-01-13 13:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:33:04] Production.INFO: Total Charge 0
[2025-01-13 13:33:04] Production.ERROR: done
[2025-01-13 13:33:04] Production.INFO: CreateAllLog End
[2025-01-13 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239273') end
[2025-01-13 13:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:33:04] Production.INFO: 1
[2025-01-13 13:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:33:04] Production.INFO: ==6265== Releasing lock...
[2025-01-13 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:33:04] Production.INFO: Account Balance End.
[2025-01-13 13:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:33:04] Production.INFO: ==6260== Releasing lock...
[2025-01-13 13:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:33:05
[end_date_ymd] => 2025-01-13 13:33:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:33:05' and `end` < '2025-01-13 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-13 13:33:12] Production.ERROR: CronJobId end10
[2025-01-13 13:33:12] Production.INFO: ==6258== Releasing lock...
[2025-01-13 13:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:33:13] Production.INFO: call_cost start
[2025-01-13 13:33:13] Production.INFO: call_cost end
[2025-01-13 13:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:33:13] Production.INFO: ==6254== Releasing lock...
[2025-01-13 13:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:33:24] Production.INFO: count ==5587
[2025-01-13 13:33:27] Production.ERROR: pbx CDR StartTime 2025-01-13 10:33:05 - End Time 2025-01-13 13:33:05
[2025-01-13 13:33:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239274', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239274', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239274', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239274', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:33:27] Production.INFO: ProcessCDR(1,14239274,1,1,2)
[2025-01-13 13:33:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:33:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:33:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:33:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:33:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239274', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:33:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239274', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:33:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:33:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:33:32] Production.INFO: ==6262== Releasing lock...
[2025-01-13 13:33:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:33:32] Production.INFO: 69.75 MB #Memory Used#
[2025-01-13 18:34:02] Production.INFO: ==6323== Lock acquired, processing the job...
[2025-01-13 18:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:34:02] Production.INFO: neon service started
[2025-01-13 18:34:02] Production.INFO: neon service started
[2025-01-13 18:34:02] Production.INFO: ==6323== Releasing lock...
[2025-01-13 18:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:34:02] Production.INFO: ==6327== Lock acquired, processing the job...
[2025-01-13 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:34:02] Production.INFO: ==6327== Releasing lock...
[2025-01-13 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:34:02] Production.INFO: ==6325== Lock acquired, processing the job...
[2025-01-13 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:34:03] Production.INFO: ==6325== Releasing lock...
[2025-01-13 13:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:34:03] Production.INFO: ==6329== Lock acquired, processing the job...
[2025-01-13 13:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:34:03] Production.INFO: ==6331== Lock acquired, processing the job...
[2025-01-13 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:34:04] Production.INFO: ==6340== Lock acquired, processing the job...
[2025-01-13 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:34:04] Production.INFO: ==6333== Lock acquired, processing the job...
[2025-01-13 13:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:34:04] Production.INFO: ==6336== Lock acquired, processing the job...
[2025-01-13 13:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:34:04] Production.INFO: count ==21
[2025-01-13 13:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:34:04] Production.INFO: ==6338== Lock acquired, processing the job...
[2025-01-13 13:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:34:04] Production.INFO: count ==21
[2025-01-13 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239277') start
[2025-01-13 13:34:04] Production.INFO: Account Balance Start.
[2025-01-13 13:34:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:34:04] Production.INFO: 117
[2025-01-13 13:34:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:34:04] Production.INFO: ==6331== Releasing lock...
[2025-01-13 13:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:34:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:34:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239277') end
[2025-01-13 13:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:34:04] Production.INFO: 1
[2025-01-13 13:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:34:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:34:04] Production.INFO: ==6340== Releasing lock...
[2025-01-13 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:34:04] Production.INFO: Total Charge 0
[2025-01-13 13:34:04] Production.INFO: CreateAllLog End
[2025-01-13 13:34:04] Production.ERROR: done
[2025-01-13 13:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:34:04] Production.INFO: Account Balance End.
[2025-01-13 13:34:04] Production.ERROR: done
[2025-01-13 13:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:34:04] Production.INFO: ==6336== Releasing lock...
[2025-01-13 13:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:34:05
[end_date_ymd] => 2025-01-13 13:34:05
[RateCDR] => 1
)
[2025-01-13 13:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:34:05' and `end` < '2025-01-13 13:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:34:11] Production.ERROR: CronJobId end10
[2025-01-13 13:34:11] Production.INFO: ==6333== Releasing lock...
[2025-01-13 13:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:34:14] Production.INFO: call_cost start
[2025-01-13 13:34:14] Production.INFO: call_cost end
[2025-01-13 13:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:34:15] Production.INFO: ==6329== Releasing lock...
[2025-01-13 13:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:34:20] Production.INFO: count ==5591
[2025-01-13 13:34:22] Production.ERROR: pbx CDR StartTime 2025-01-13 10:34:05 - End Time 2025-01-13 13:34:05
[2025-01-13 13:34:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239279', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239279', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239279', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239279', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:34:22] Production.INFO: ProcessCDR(1,14239279,1,1,2)
[2025-01-13 13:34:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:34:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:34:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:34:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239279', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239279', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:34:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:34:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:34:27] Production.INFO: ==6338== Releasing lock...
[2025-01-13 13:34:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:34:27] Production.INFO: 70 MB #Memory Used#
[2025-01-13 18:35:01] Production.INFO: ==6396== Lock acquired, processing the job...
[2025-01-13 18:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:35:01] Production.INFO: neon service started
[2025-01-13 18:35:01] Production.INFO: neon service started
[2025-01-13 18:35:01] Production.INFO: ==6396== Releasing lock...
[2025-01-13 18:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:35:02] Production.INFO: ==6400== Lock acquired, processing the job...
[2025-01-13 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:35:02] Production.INFO: ==6400== Releasing lock...
[2025-01-13 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:35:02] Production.INFO: ==6398== Lock acquired, processing the job...
[2025-01-13 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:35:02] Production.INFO: ==6398== Releasing lock...
[2025-01-13 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:35:03] Production.INFO: ==6404== Lock acquired, processing the job...
[2025-01-13 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:35:03] Production.INFO: ==6408== Lock acquired, processing the job...
[2025-01-13 13:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:35:03] Production.INFO: ==6412== Lock acquired, processing the job...
[2025-01-13 13:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:35:03] Production.INFO: Account Balance Start.
[2025-01-13 13:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:35:03] Production.INFO: 117
[2025-01-13 13:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:35:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:35:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:35:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:35:03] Production.INFO: ==6404== Releasing lock...
[2025-01-13 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:35:03] Production.INFO: count ==21
[2025-01-13 13:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:35:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:35:03] Production.INFO: count ==21
[2025-01-13 13:35:03] Production.INFO: Total Charge 0
[2025-01-13 13:35:03] Production.INFO: CreateAllLog End
[2025-01-13 13:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239282') start
[2025-01-13 13:35:03] Production.INFO: ==6402== Lock acquired, processing the job...
[2025-01-13 13:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:35:03] Production.INFO: ==6410== Lock acquired, processing the job...
[2025-01-13 13:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:35:03] Production.INFO: ==6406== Lock acquired, processing the job...
[2025-01-13 13:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:35:03] Production.INFO: Account Balance End.
[2025-01-13 13:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239282') end
[2025-01-13 13:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:35:03] Production.INFO: 1
[2025-01-13 13:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:35:03] Production.ERROR: CronJobId end 12
[2025-01-13 13:35:03] Production.INFO: ==6408== Releasing lock...
[2025-01-13 13:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:35:03] Production.INFO: ==6412== Releasing lock...
[2025-01-13 13:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:35:03] Production.ERROR: done
[2025-01-13 13:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:35:03] Production.ERROR: done
[2025-01-13 13:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:35:04
[end_date_ymd] => 2025-01-13 13:35:04
[RateCDR] => 1
)
[2025-01-13 13:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:35:04' and `end` < '2025-01-13 13:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:35:11] Production.ERROR: CronJobId end10
[2025-01-13 13:35:11] Production.INFO: ==6406== Releasing lock...
[2025-01-13 13:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:35:13] Production.INFO: call_cost start
[2025-01-13 13:35:13] Production.INFO: call_cost end
[2025-01-13 13:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:35:13] Production.INFO: ==6402== Releasing lock...
[2025-01-13 13:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:35:21] Production.INFO: count ==5600
[2025-01-13 13:35:23] Production.ERROR: pbx CDR StartTime 2025-01-13 10:35:04 - End Time 2025-01-13 13:35:04
[2025-01-13 13:35:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239284', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239284', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239284', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239284', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:35:23] Production.INFO: ProcessCDR(1,14239284,1,1,2)
[2025-01-13 13:35:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:35:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:35:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:35:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239284', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239284', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:35:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:35:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:35:28] Production.INFO: ==6410== Releasing lock...
[2025-01-13 13:35:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:35:28] Production.INFO: 70 MB #Memory Used#
[2025-01-13 18:36:02] Production.INFO: ==6472== Lock acquired, processing the job...
[2025-01-13 18:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:36:02] Production.INFO: neon service started
[2025-01-13 18:36:02] Production.INFO: neon service started
[2025-01-13 18:36:02] Production.INFO: ==6472== Releasing lock...
[2025-01-13 18:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:36:02] Production.INFO: ==6478== Lock acquired, processing the job...
[2025-01-13 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:36:02] Production.INFO: ==6478== Releasing lock...
[2025-01-13 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:36:02] Production.INFO: ==6476== Lock acquired, processing the job...
[2025-01-13 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:36:02] Production.INFO: ==6476== Releasing lock...
[2025-01-13 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:36:03] Production.INFO: ==6482== Lock acquired, processing the job...
[2025-01-13 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:36:03] Production.INFO: ==6484== Lock acquired, processing the job...
[2025-01-13 13:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:36:03] Production.INFO: ==6488== Lock acquired, processing the job...
[2025-01-13 13:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:36:03] Production.INFO: ==6482== Releasing lock...
[2025-01-13 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:36:03] Production.INFO: ==6486== Lock acquired, processing the job...
[2025-01-13 13:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:36:03] Production.INFO: ==6480== Lock acquired, processing the job...
[2025-01-13 13:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:36:03] Production.INFO: ==6491== Lock acquired, processing the job...
[2025-01-13 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:36:03] Production.ERROR: done
[2025-01-13 13:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:36:04] Production.INFO: Account Balance Start.
[2025-01-13 13:36:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:36:04] Production.INFO: 117
[2025-01-13 13:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:36:04] Production.INFO: count ==21
[2025-01-13 13:36:04] Production.ERROR: done
[2025-01-13 13:36:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:36:04] Production.INFO: count ==21
[2025-01-13 13:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239287') start
[2025-01-13 13:36:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:36:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239287') end
[2025-01-13 13:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:36:04] Production.INFO: 1
[2025-01-13 13:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:36:04] Production.INFO: ==6491== Releasing lock...
[2025-01-13 13:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:36:04] Production.INFO: Total Charge 0
[2025-01-13 13:36:04] Production.INFO: CreateAllLog End
[2025-01-13 13:36:04] Production.INFO: Account Balance End.
[2025-01-13 13:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:36:04] Production.INFO: ==6486== Releasing lock...
[2025-01-13 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:36:05
[end_date_ymd] => 2025-01-13 13:36:05
[RateCDR] => 1
)
[2025-01-13 13:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:36:05' and `end` < '2025-01-13 13:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:36:12] Production.ERROR: CronJobId end10
[2025-01-13 13:36:12] Production.INFO: ==6484== Releasing lock...
[2025-01-13 13:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:36:13] Production.INFO: call_cost start
[2025-01-13 13:36:13] Production.INFO: call_cost end
[2025-01-13 13:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:36:14] Production.INFO: ==6480== Releasing lock...
[2025-01-13 13:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:36:21] Production.INFO: count ==5575
[2025-01-13 13:36:23] Production.ERROR: pbx CDR StartTime 2025-01-13 10:36:05 - End Time 2025-01-13 13:36:05
[2025-01-13 13:36:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239289', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239289', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239289', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239289', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:36:23] Production.INFO: ProcessCDR(1,14239289,1,1,2)
[2025-01-13 13:36:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:36:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:36:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:36:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239289', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239289', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:36:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:36:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:36:28] Production.INFO: ==6488== Releasing lock...
[2025-01-13 13:36:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:36:28] Production.INFO: 69.75 MB #Memory Used#
[2025-01-13 18:37:01] Production.INFO: ==6568== Lock acquired, processing the job...
[2025-01-13 18:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:37:01] Production.INFO: neon service started
[2025-01-13 18:37:01] Production.INFO: neon service started
[2025-01-13 18:37:01] Production.INFO: ==6568== Releasing lock...
[2025-01-13 18:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:37:01] Production.INFO: ==6570== Lock acquired, processing the job...
[2025-01-13 13:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:37:02] Production.INFO: ==6570== Releasing lock...
[2025-01-13 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:37:02] Production.INFO: ==6572== Lock acquired, processing the job...
[2025-01-13 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:37:02] Production.INFO: ==6572== Releasing lock...
[2025-01-13 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:37:03] Production.INFO: ==6575== Lock acquired, processing the job...
[2025-01-13 13:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:37:03] Production.INFO: ==6577== Lock acquired, processing the job...
[2025-01-13 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:37:03] Production.INFO: ==6581== Lock acquired, processing the job...
[2025-01-13 13:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:37:03] Production.INFO: ==6579== Lock acquired, processing the job...
[2025-01-13 13:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:37:03] Production.INFO: ==6585== Lock acquired, processing the job...
[2025-01-13 13:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:37:03] Production.INFO: ==6583== Lock acquired, processing the job...
[2025-01-13 13:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:37:03] Production.INFO: Account Balance Start.
[2025-01-13 13:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:37:03] Production.INFO: 117
[2025-01-13 13:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:37:03] Production.INFO: ==6577== Releasing lock...
[2025-01-13 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:37:03] Production.INFO: count ==21
[2025-01-13 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-13 13:37:03] Production.INFO: count ==21
[2025-01-13 13:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239293') start
[2025-01-13 13:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:37:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:37:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239293') end
[2025-01-13 13:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:37:03] Production.INFO: 1
[2025-01-13 13:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:37:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:37:03] Production.INFO: Total Charge 0
[2025-01-13 13:37:03] Production.INFO: CreateAllLog End
[2025-01-13 13:37:03] Production.INFO: ==6585== Releasing lock...
[2025-01-13 13:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:37:03] Production.ERROR: done
[2025-01-13 13:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:37:03] Production.INFO: Account Balance End.
[2025-01-13 13:37:04] Production.ERROR: done
[2025-01-13 13:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:37:04] Production.INFO: ==6581== Releasing lock...
[2025-01-13 13:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:37:05
[end_date_ymd] => 2025-01-13 13:37:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:37:05' and `end` < '2025-01-13 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-13 13:37:12] Production.ERROR: CronJobId end10
[2025-01-13 13:37:12] Production.INFO: ==6579== Releasing lock...
[2025-01-13 13:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:37:14] Production.INFO: call_cost start
[2025-01-13 13:37:14] Production.INFO: call_cost end
[2025-01-13 13:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:37:14] Production.INFO: ==6575== Releasing lock...
[2025-01-13 13:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:37:34] Production.INFO: count ==5673
[2025-01-13 13:37:36] Production.ERROR: pbx CDR StartTime 2025-01-13 10:37:05 - End Time 2025-01-13 13:37:05
[2025-01-13 13:37:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:37:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239294', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:37:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239294', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:37:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239294', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:37:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239294', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:37:37] Production.INFO: ProcessCDR(1,14239294,1,1,2)
[2025-01-13 13:37:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:37:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:37:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:37:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:37:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239294', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:37:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239294', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:37:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:37:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:37:42] Production.INFO: ==6583== Releasing lock...
[2025-01-13 13:37:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:37:42] Production.INFO: 70.5 MB #Memory Used#
[2025-01-13 18:38:01] Production.INFO: ==6642== Lock acquired, processing the job...
[2025-01-13 18:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:38:01] Production.INFO: neon service started
[2025-01-13 18:38:01] Production.INFO: neon service started
[2025-01-13 18:38:01] Production.INFO: ==6642== Releasing lock...
[2025-01-13 18:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:38:02] Production.INFO: ==6644== Lock acquired, processing the job...
[2025-01-13 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:38:02] Production.INFO: ==6646== Lock acquired, processing the job...
[2025-01-13 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:38:02] Production.INFO: ==6646== Releasing lock...
[2025-01-13 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:38:02] Production.INFO: ==6644== Releasing lock...
[2025-01-13 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:38:03] Production.INFO: ==6649== Lock acquired, processing the job...
[2025-01-13 13:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:38:03] Production.INFO: ==6651== Lock acquired, processing the job...
[2025-01-13 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:38:03] Production.INFO: ==6661== Lock acquired, processing the job...
[2025-01-13 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:38:03] Production.INFO: ==6655== Lock acquired, processing the job...
[2025-01-13 13:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:38:04] Production.INFO: ==6651== Releasing lock...
[2025-01-13 13:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:38:04] Production.INFO: ==6657== Lock acquired, processing the job...
[2025-01-13 13:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:38:04] Production.INFO: count ==21
[2025-01-13 13:38:04] Production.INFO: ==6659== Lock acquired, processing the job...
[2025-01-13 13:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:38:04] Production.INFO: count ==21
[2025-01-13 13:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239297') start
[2025-01-13 13:38:04] Production.INFO: Account Balance Start.
[2025-01-13 13:38:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:38:04] Production.INFO: 117
[2025-01-13 13:38:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:38:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:38:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239297') end
[2025-01-13 13:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:38:04] Production.INFO: 1
[2025-01-13 13:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:38:04] Production.INFO: Total Charge 0
[2025-01-13 13:38:04] Production.INFO: ==6661== Releasing lock...
[2025-01-13 13:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:38:04] Production.INFO: CreateAllLog End
[2025-01-13 13:38:04] Production.ERROR: done
[2025-01-13 13:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:38:04] Production.INFO: Account Balance End.
[2025-01-13 13:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:38:04] Production.INFO: ==6657== Releasing lock...
[2025-01-13 13:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:38:04] Production.ERROR: done
[2025-01-13 13:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:38:05
[end_date_ymd] => 2025-01-13 13:38:05
[RateCDR] => 1
)
[2025-01-13 13:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:38:05' and `end` < '2025-01-13 13:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:38:12] Production.ERROR: CronJobId end10
[2025-01-13 13:38:12] Production.INFO: ==6655== Releasing lock...
[2025-01-13 13:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:38:13] Production.INFO: call_cost start
[2025-01-13 13:38:13] Production.INFO: call_cost end
[2025-01-13 13:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:38:14] Production.INFO: ==6649== Releasing lock...
[2025-01-13 13:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:38:26] Production.INFO: count ==5681
[2025-01-13 13:38:28] Production.ERROR: pbx CDR StartTime 2025-01-13 10:38:05 - End Time 2025-01-13 13:38:05
[2025-01-13 13:38:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:38:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239299', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:38:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239299', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:38:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239299', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:38:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239299', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:38:28] Production.INFO: ProcessCDR(1,14239299,1,1,2)
[2025-01-13 13:38:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:38:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:38:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:38:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:38:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239299', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:38:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239299', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:38:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:38:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:38:33] Production.INFO: ==6659== Releasing lock...
[2025-01-13 13:38:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:38:33] Production.INFO: 70.5 MB #Memory Used#
[2025-01-13 18:39:01] Production.INFO: ==6735== Lock acquired, processing the job...
[2025-01-13 18:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:39:01] Production.INFO: neon service started
[2025-01-13 18:39:01] Production.INFO: neon service started
[2025-01-13 18:39:01] Production.INFO: ==6735== Releasing lock...
[2025-01-13 18:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:39:01] Production.INFO: ==6739== Lock acquired, processing the job...
[2025-01-13 18:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:39:01] Production.INFO: ==6739== Releasing lock...
[2025-01-13 18:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:39:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:39:01] Production.INFO: ==6737== Lock acquired, processing the job...
[2025-01-13 13:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:39:02] Production.INFO: ==6737== Releasing lock...
[2025-01-13 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:39:02] Production.INFO: ==6746== Lock acquired, processing the job...
[2025-01-13 13:39:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:39:02] Production.INFO: ==6748== Lock acquired, processing the job...
[2025-01-13 13:39:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:39:03] Production.INFO: Account Balance Start.
[2025-01-13 13:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:39:03] Production.INFO: 117
[2025-01-13 13:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:39:03] Production.INFO: ==6742== Lock acquired, processing the job...
[2025-01-13 13:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:39:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:39:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:39:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:39:03] Production.INFO: Total Charge 0
[2025-01-13 13:39:03] Production.INFO: ==6744== Lock acquired, processing the job...
[2025-01-13 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:39:03] Production.INFO: CreateAllLog End
[2025-01-13 13:39:03] Production.INFO: ==6750== Lock acquired, processing the job...
[2025-01-13 13:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:39:03] Production.INFO: ==6752== Lock acquired, processing the job...
[2025-01-13 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:39:03] Production.INFO: Account Balance End.
[2025-01-13 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-13 13:39:03] Production.ERROR: CronJobId end 12
[2025-01-13 13:39:03] Production.INFO: ==6748== Releasing lock...
[2025-01-13 13:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:39:03] Production.INFO: count ==21
[2025-01-13 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-13 13:39:03] Production.INFO: count ==21
[2025-01-13 13:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239303') start
[2025-01-13 13:39:03] Production.INFO: ==6744== Releasing lock...
[2025-01-13 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:39:03] Production.ERROR: done
[2025-01-13 13:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239303') end
[2025-01-13 13:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:39:03] Production.INFO: 1
[2025-01-13 13:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:39:03] Production.INFO: ==6752== Releasing lock...
[2025-01-13 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:39:03] Production.ERROR: done
[2025-01-13 13:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:39:04
[end_date_ymd] => 2025-01-13 13:39:04
[RateCDR] => 1
)
[2025-01-13 13: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-13 10:39:04' and `end` < '2025-01-13 13: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-13 13:39:12] Production.ERROR: CronJobId end10
[2025-01-13 13:39:12] Production.INFO: ==6746== Releasing lock...
[2025-01-13 13:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:39:13] Production.INFO: call_cost start
[2025-01-13 13:39:13] Production.INFO: call_cost end
[2025-01-13 13:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:39:14] Production.INFO: ==6742== Releasing lock...
[2025-01-13 13:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:39:26] Production.INFO: count ==5704
[2025-01-13 13:39:28] Production.ERROR: pbx CDR StartTime 2025-01-13 10:39:04 - End Time 2025-01-13 13:39:04
[2025-01-13 13:39:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:39:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239304', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:39:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239304', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:39:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239304', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:39:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239304', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:39:29] Production.INFO: ProcessCDR(1,14239304,1,1,2)
[2025-01-13 13:39:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:39:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:39:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:39:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:39:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239304', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:39:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239304', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:39:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:39:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:39:33] Production.INFO: ==6750== Releasing lock...
[2025-01-13 13:39:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:39:33] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:40:01] Production.INFO: ==6826== Lock acquired, processing the job...
[2025-01-13 18:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:40:01] Production.INFO: neon service started
[2025-01-13 18:40:01] Production.INFO: neon service started
[2025-01-13 18:40:01] Production.INFO: ==6826== Releasing lock...
[2025-01-13 18:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:40:02] Production.INFO: ==6829== Lock acquired, processing the job...
[2025-01-13 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:40:02] Production.INFO: ==6831== Lock acquired, processing the job...
[2025-01-13 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:40:02] Production.INFO: ==6831== Releasing lock...
[2025-01-13 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:40:02] Production.INFO: ==6829== Releasing lock...
[2025-01-13 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:40:03] Production.INFO: ==6837== Lock acquired, processing the job...
[2025-01-13 13:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:40:03] Production.INFO: ==6839== Lock acquired, processing the job...
[2025-01-13 13:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:40:03] Production.INFO: ==6833== Lock acquired, processing the job...
[2025-01-13 13:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 13:40:03] Production.INFO: ==6841== Lock acquired, processing the job...
[2025-01-13 13:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:40:03] Production.INFO: ==6835== Lock acquired, processing the job...
[2025-01-13 13:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 13:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 13:40:03] Production.ERROR: CronJob PID - 6837
[2025-01-13 13:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 13:40:03] Production.ERROR: CronJob ID - 7
[2025-01-13 13:40:03] Production.ERROR: CronJob Last Run Time 2025-01-13 13:40:00
[2025-01-13 13:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 13:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 13:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 13:40:03] Production.ERROR: CronJob PID - 6839
[2025-01-13 13:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 13:40:03] Production.ERROR: CronJob ID - 10
[2025-01-13 13:40:03] Production.ERROR: CronJob Last Run Time 2025-01-13 13:40:00
[2025-01-13 13:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 13:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 13:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 13:40:03] Production.ERROR: CronJob PID - 6841
[2025-01-13 13:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 13:40:03] Production.ERROR: CronJob ID - 12
[2025-01-13 13:40:03] Production.ERROR: CronJob Last Run Time 2025-01-13 13:40:00
[2025-01-13 13:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 13:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 13:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 13:40:03] Production.INFO: ==6833== Releasing lock...
[2025-01-13 13:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 13:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 13:40:03] Production.INFO: ==6837== Releasing lock...
[2025-01-13 13:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:40:03] Production.INFO: Account Balance Start.
[2025-01-13 13:40:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:40:03] Production.INFO: 117
[2025-01-13 13:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:40:04] Production.INFO: ==6845== Lock acquired, processing the job...
[2025-01-13 13:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 13:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:40:04] Production.INFO: ==6843== Lock acquired, processing the job...
[2025-01-13 13:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:40:04] Production.INFO: ==6847== Lock acquired, processing the job...
[2025-01-13 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:40:04] Production.INFO: Total Charge 0
[2025-01-13 13:40:04] Production.INFO: CreateAllLog End
[2025-01-13 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-13 13:40:04] Production.ERROR: done
[2025-01-13 13:40:04] Production.ERROR: done
[2025-01-13 13:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:40:04] Production.INFO: Account Balance End.
[2025-01-13 13:40:04] Production.INFO: count ==21
[2025-01-13 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-13 13:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 13:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239309', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 13:40:04] Production.INFO: count ==21
[2025-01-13 13:40:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:40:04] Production.INFO: ==6841== Releasing lock...
[2025-01-13 13:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239308') start
[2025-01-13 13:40:04] Production.ERROR: done
[2025-01-13 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239308') end
[2025-01-13 13:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:40:04] Production.INFO: 1
[2025-01-13 13:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:40:05] Production.INFO: ==6847== Releasing lock...
[2025-01-13 13:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:40:06
[end_date_ymd] => 2025-01-13 13:40:06
[RateCDR] => 1
)
[2025-01-13 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-13 10:40:06' and `end` < '2025-01-13 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-13 13:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239309', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 13:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 13:40:08] Production.INFO: ProcessCDR(1,14239309,1,1,2)
[2025-01-13 13:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239309,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239309,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:40:09] Production.INFO: ==6845== Releasing lock...
[2025-01-13 13:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 13:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 13:40:13] Production.ERROR: CronJobId end10
[2025-01-13 13:40:13] Production.INFO: ==6839== Releasing lock...
[2025-01-13 13:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:40:15] Production.INFO: call_cost start
[2025-01-13 13:40:15] Production.INFO: call_cost end
[2025-01-13 13:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:40:16] Production.INFO: ==6835== Releasing lock...
[2025-01-13 13:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:40:25] Production.INFO: count ==5724
[2025-01-13 13:40:28] Production.ERROR: pbx CDR StartTime 2025-01-13 10:40:06 - End Time 2025-01-13 13:40:06
[2025-01-13 13:40:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:40:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239310', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:40:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239310', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:40:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239310', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:40:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239310', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:40:28] Production.INFO: ProcessCDR(1,14239310,1,1,2)
[2025-01-13 13:40:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:40:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:40:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:40:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:40:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239310', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:40:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239310', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:40:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:40:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:40:32] Production.INFO: ==6843== Releasing lock...
[2025-01-13 13:40:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:40:32] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:41:02] Production.INFO: ==6913== Lock acquired, processing the job...
[2025-01-13 18:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:41:02] Production.INFO: neon service started
[2025-01-13 18:41:02] Production.INFO: neon service started
[2025-01-13 18:41:02] Production.INFO: ==6913== Releasing lock...
[2025-01-13 18:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:41:02] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-01-13 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:41:02] Production.INFO: ==6917== Releasing lock...
[2025-01-13 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:41:02] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-01-13 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:41:02] Production.INFO: ==6915== Releasing lock...
[2025-01-13 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:41:03] Production.INFO: ==6922== Lock acquired, processing the job...
[2025-01-13 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:41:03] Production.INFO: ==6930== Lock acquired, processing the job...
[2025-01-13 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:41:03] Production.INFO: ==6920== Lock acquired, processing the job...
[2025-01-13 13:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:41:03] Production.INFO: ==6924== Lock acquired, processing the job...
[2025-01-13 13:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:41:03] Production.INFO: ==6922== Releasing lock...
[2025-01-13 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 13:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:41:04] Production.INFO: ==6926== Lock acquired, processing the job...
[2025-01-13 13:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:41:04] Production.INFO: count ==21
[2025-01-13 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-13 13:41:04] Production.INFO: count ==21
[2025-01-13 13:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239312') start
[2025-01-13 13:41:04] Production.INFO: ==6928== Lock acquired, processing the job...
[2025-01-13 13:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:41:04] Production.INFO: Account Balance Start.
[2025-01-13 13:41:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:41:04] Production.INFO: 117
[2025-01-13 13:41:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239312') end
[2025-01-13 13:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:41:04] Production.INFO: 1
[2025-01-13 13:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:41:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:41:04] Production.INFO: ==6930== Releasing lock...
[2025-01-13 13:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:41:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:41:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:41:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:41:04] Production.ERROR: done
[2025-01-13 13:41:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:41:04] Production.INFO: Total Charge 0
[2025-01-13 13:41:04] Production.INFO: CreateAllLog End
[2025-01-13 13:41:04] Production.ERROR: done
[2025-01-13 13:41:04] Production.INFO: Account Balance End.
[2025-01-13 13:41:05] Production.ERROR: CronJobId end 12
[2025-01-13 13:41:05] Production.INFO: ==6926== Releasing lock...
[2025-01-13 13:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:41:06
[end_date_ymd] => 2025-01-13 13:41:06
[RateCDR] => 1
)
[2025-01-13 13:41:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:41:06' and `end` < '2025-01-13 13:41:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:41:12] Production.ERROR: CronJobId end10
[2025-01-13 13:41:12] Production.INFO: ==6924== Releasing lock...
[2025-01-13 13:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:41:13] Production.INFO: call_cost start
[2025-01-13 13:41:13] Production.INFO: call_cost end
[2025-01-13 13:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:41:14] Production.INFO: ==6920== Releasing lock...
[2025-01-13 13:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:41:21] Production.INFO: count ==5728
[2025-01-13 13:41:23] Production.ERROR: pbx CDR StartTime 2025-01-13 10:41:06 - End Time 2025-01-13 13:41:06
[2025-01-13 13:41:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239315', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239315', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239315', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:41:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239315', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:41:23] Production.INFO: ProcessCDR(1,14239315,1,1,2)
[2025-01-13 13:41:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:41:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:41:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:41:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:41:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239315', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:41:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239315', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:41:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:41:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:41:28] Production.INFO: ==6928== Releasing lock...
[2025-01-13 13:41:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:41:28] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:42:01] Production.INFO: ==7009== Lock acquired, processing the job...
[2025-01-13 18:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:42:01] Production.INFO: neon service started
[2025-01-13 18:42:01] Production.INFO: neon service started
[2025-01-13 18:42:01] Production.INFO: ==7009== Releasing lock...
[2025-01-13 18:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:42:01] Production.INFO: ==7011== Lock acquired, processing the job...
[2025-01-13 13:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:42:02] Production.INFO: ==7013== Lock acquired, processing the job...
[2025-01-13 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:42:02] Production.INFO: ==7011== Releasing lock...
[2025-01-13 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:42:02] Production.INFO: ==7013== Releasing lock...
[2025-01-13 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:42:02] Production.INFO: 26 MB #Memory Used#
[2025-01-13 13:42:02] Production.INFO: ==7015== Lock acquired, processing the job...
[2025-01-13 13:42:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:42:02] Production.INFO: ==7019== Lock acquired, processing the job...
[2025-01-13 13:42:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:42:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:42:03] Production.INFO: ==7017== Lock acquired, processing the job...
[2025-01-13 13:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:42:03] Production.INFO: ==7021== Lock acquired, processing the job...
[2025-01-13 13:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:42:03] Production.INFO: ==7026== Lock acquired, processing the job...
[2025-01-13 13:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:42:03] Production.INFO: ==7024== Lock acquired, processing the job...
[2025-01-13 13:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:42:03] Production.INFO: Account Balance Start.
[2025-01-13 13:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:42:03] Production.INFO: 117
[2025-01-13 13:42:03] Production.INFO: ==7017== Releasing lock...
[2025-01-13 13:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:42:03] Production.INFO: count ==21
[2025-01-13 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-13 13:42:03] Production.INFO: count ==21
[2025-01-13 13:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239319') start
[2025-01-13 13:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:42:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239319') end
[2025-01-13 13:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:42:03] Production.INFO: 1
[2025-01-13 13:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:42:03] Production.INFO: ==7026== Releasing lock...
[2025-01-13 13:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:42:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:42:03] Production.ERROR: done
[2025-01-13 13:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:42:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:42:04] Production.ERROR: done
[2025-01-13 13:42:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:42:04] Production.INFO: Total Charge 0
[2025-01-13 13:42:04] Production.INFO: CreateAllLog End
[2025-01-13 13:42:04] Production.INFO: Account Balance End.
[2025-01-13 13:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:42:04] Production.INFO: ==7021== Releasing lock...
[2025-01-13 13:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:42:05
[end_date_ymd] => 2025-01-13 13:42:05
[RateCDR] => 1
)
[2025-01-13 13:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:42:05' and `end` < '2025-01-13 13:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:42:12] Production.ERROR: CronJobId end10
[2025-01-13 13:42:12] Production.INFO: ==7019== Releasing lock...
[2025-01-13 13:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:42:13] Production.INFO: call_cost start
[2025-01-13 13:42:13] Production.INFO: call_cost end
[2025-01-13 13:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:42:14] Production.INFO: ==7015== Releasing lock...
[2025-01-13 13:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:42:30] Production.INFO: count ==5731
[2025-01-13 13:42:33] Production.ERROR: pbx CDR StartTime 2025-01-13 10:42:05 - End Time 2025-01-13 13:42:05
[2025-01-13 13:42:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:42:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239320', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:42:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239320', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:42:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239320', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:42:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239320', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:42:33] Production.INFO: ProcessCDR(1,14239320,1,1,2)
[2025-01-13 13:42:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:42:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:42:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:42:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:42:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239320', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:42:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239320', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:42:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:42:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:42:38] Production.INFO: ==7024== Releasing lock...
[2025-01-13 13:42:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:42:38] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:43:02] Production.INFO: ==7135== Lock acquired, processing the job...
[2025-01-13 18:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:43:02] Production.INFO: neon service started
[2025-01-13 18:43:02] Production.INFO: neon service started
[2025-01-13 18:43:02] Production.INFO: ==7135== Releasing lock...
[2025-01-13 18:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:43:02] Production.INFO: ==7137== Lock acquired, processing the job...
[2025-01-13 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:43:02] Production.INFO: ==7137== Releasing lock...
[2025-01-13 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:43:02] Production.INFO: ==7139== Lock acquired, processing the job...
[2025-01-13 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:43:02] Production.INFO: ==7139== Releasing lock...
[2025-01-13 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:43:03] Production.INFO: ==7143== Lock acquired, processing the job...
[2025-01-13 13:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:43:03] Production.INFO: ==7151== Lock acquired, processing the job...
[2025-01-13 13:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:43:03] Production.INFO: ==7154== Lock acquired, processing the job...
[2025-01-13 13:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:43:03] Production.INFO: ==7145== Lock acquired, processing the job...
[2025-01-13 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:43:03] Production.INFO: ==7147== Lock acquired, processing the job...
[2025-01-13 13:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:43:03] Production.INFO: ==7149== Lock acquired, processing the job...
[2025-01-13 13:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 13:43:03] Production.INFO: count ==21
[2025-01-13 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-13 13:43:03] Production.INFO: count ==21
[2025-01-13 13:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:43:04] Production.INFO: Account Balance Start.
[2025-01-13 13:43:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239322') start
[2025-01-13 13:43:04] Production.INFO: 117
[2025-01-13 13:43:04] Production.ERROR: done
[2025-01-13 13:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:43:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239322') end
[2025-01-13 13:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:43:04] Production.INFO: 1
[2025-01-13 13:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:43:04] Production.ERROR: done
[2025-01-13 13:43:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:43:04] Production.INFO: ==7154== Releasing lock...
[2025-01-13 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:43:04] Production.INFO: ==7145== Releasing lock...
[2025-01-13 13:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:43:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:43:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:43:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:43:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:43:04] Production.INFO: Total Charge 0
[2025-01-13 13:43:04] Production.INFO: CreateAllLog End
[2025-01-13 13:43:04] Production.INFO: Account Balance End.
[2025-01-13 13:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:43:04] Production.INFO: ==7149== Releasing lock...
[2025-01-13 13:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:43:05
[end_date_ymd] => 2025-01-13 13:43:05
[RateCDR] => 1
)
[2025-01-13 13:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:43:05' and `end` < '2025-01-13 13:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:43:12] Production.ERROR: CronJobId end10
[2025-01-13 13:43:12] Production.INFO: ==7147== Releasing lock...
[2025-01-13 13:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:43:14] Production.INFO: call_cost start
[2025-01-13 13:43:14] Production.INFO: call_cost end
[2025-01-13 13:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:43:15] Production.INFO: ==7143== Releasing lock...
[2025-01-13 13:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:43:24] Production.INFO: count ==5756
[2025-01-13 13:43:27] Production.ERROR: pbx CDR StartTime 2025-01-13 10:43:05 - End Time 2025-01-13 13:43:05
[2025-01-13 13:43:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:43:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239325', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:43:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239325', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:43:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239325', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:43:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239325', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:43:27] Production.INFO: ProcessCDR(1,14239325,1,1,2)
[2025-01-13 13:43:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:43:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:43:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:43:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:43:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239325', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:43:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239325', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:43:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:43:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:43:32] Production.INFO: ==7151== Releasing lock...
[2025-01-13 13:43:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:43:32] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 18:44:01] Production.INFO: ==7232== Lock acquired, processing the job...
[2025-01-13 18:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:44:01] Production.INFO: neon service started
[2025-01-13 18:44:01] Production.INFO: neon service started
[2025-01-13 18:44:01] Production.INFO: ==7232== Releasing lock...
[2025-01-13 18:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:44:01] Production.INFO: ==7236== Lock acquired, processing the job...
[2025-01-13 18:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:44:01] Production.INFO: ==7236== Releasing lock...
[2025-01-13 18:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:44:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:44:02] Production.INFO: ==7234== Lock acquired, processing the job...
[2025-01-13 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:44:02] Production.INFO: ==7234== Releasing lock...
[2025-01-13 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:44:03] Production.INFO: ==7247== Lock acquired, processing the job...
[2025-01-13 13:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:44:03] Production.INFO: ==7249== Lock acquired, processing the job...
[2025-01-13 13:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:44:03] Production.INFO: ==7239== Lock acquired, processing the job...
[2025-01-13 13:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:44:03] Production.INFO: ==7241== Lock acquired, processing the job...
[2025-01-13 13:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:44:03] Production.INFO: ==7245== Lock acquired, processing the job...
[2025-01-13 13:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:44:03] Production.INFO: ==7243== Lock acquired, processing the job...
[2025-01-13 13:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:44:03] Production.INFO: count ==21
[2025-01-13 13:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:44:03] Production.INFO: count ==21
[2025-01-13 13:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239326') start
[2025-01-13 13:44:03] Production.ERROR: done
[2025-01-13 13:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:44:03] Production.INFO: Account Balance Start.
[2025-01-13 13:44:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:44:03] Production.INFO: 117
[2025-01-13 13:44:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:44:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:44:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239326') end
[2025-01-13 13:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:44:03] Production.INFO: 1
[2025-01-13 13:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:44:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:44:03] Production.INFO: ==7249== Releasing lock...
[2025-01-13 13:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:44:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:44:03] Production.ERROR: done
[2025-01-13 13:44:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:44:03] Production.INFO: ==7241== Releasing lock...
[2025-01-13 13:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:44:03] Production.INFO: Total Charge 0
[2025-01-13 13:44:03] Production.INFO: CreateAllLog End
[2025-01-13 13:44:04] Production.INFO: Account Balance End.
[2025-01-13 13:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:44:04] Production.INFO: ==7245== Releasing lock...
[2025-01-13 13:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:44:04
[end_date_ymd] => 2025-01-13 13:44:04
[RateCDR] => 1
)
[2025-01-13 13:44:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:44:04' and `end` < '2025-01-13 13:44:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:44:11] Production.ERROR: CronJobId end10
[2025-01-13 13:44:11] Production.INFO: ==7243== Releasing lock...
[2025-01-13 13:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:44:13] Production.INFO: call_cost start
[2025-01-13 13:44:13] Production.INFO: call_cost end
[2025-01-13 13:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:44:14] Production.INFO: ==7239== Releasing lock...
[2025-01-13 13:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:44:33] Production.INFO: count ==5760
[2025-01-13 13:44:36] Production.ERROR: pbx CDR StartTime 2025-01-13 10:44:04 - End Time 2025-01-13 13:44:04
[2025-01-13 13:44:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:44:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239330', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:44:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239330', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:44:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239330', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:44:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239330', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:44:36] Production.INFO: ProcessCDR(1,14239330,1,1,2)
[2025-01-13 13:44:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:44:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:44:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:44:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:44:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239330', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:44:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239330', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:44:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:44:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:44:41] Production.INFO: ==7247== Releasing lock...
[2025-01-13 13:44:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:44:41] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 18:45:01] Production.INFO: ==7317== Lock acquired, processing the job...
[2025-01-13 18:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:45:01] Production.INFO: neon service started
[2025-01-13 18:45:01] Production.INFO: neon service started
[2025-01-13 18:45:01] Production.INFO: ==7317== Releasing lock...
[2025-01-13 18:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:45:02] Production.INFO: ==7319== Lock acquired, processing the job...
[2025-01-13 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:45:02] Production.INFO: ==7321== Lock acquired, processing the job...
[2025-01-13 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:45:02] Production.INFO: ==7321== Releasing lock...
[2025-01-13 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:45:02] Production.INFO: ==7319== Releasing lock...
[2025-01-13 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:45:03] Production.INFO: ==7328== Lock acquired, processing the job...
[2025-01-13 13:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:45:03] Production.INFO: ==7332== Lock acquired, processing the job...
[2025-01-13 13:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:45:03] Production.INFO: ==7324== Lock acquired, processing the job...
[2025-01-13 13:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:45:03] Production.INFO: ==7326== Lock acquired, processing the job...
[2025-01-13 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:45:04] Production.INFO: ==7330== Lock acquired, processing the job...
[2025-01-13 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:45:04] Production.INFO: ==7334== Lock acquired, processing the job...
[2025-01-13 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:45:04] Production.INFO: Account Balance Start.
[2025-01-13 13:45:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:45:04] Production.INFO: 117
[2025-01-13 13:45:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:45:04] Production.ERROR: done
[2025-01-13 13:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:45:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:45:04] Production.ERROR: done
[2025-01-13 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:45:04] Production.INFO: count ==21
[2025-01-13 13:45:04] Production.INFO: ==7326== Releasing lock...
[2025-01-13 13:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 13:45:04] Production.INFO: count ==21
[2025-01-13 13:45:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239334') start
[2025-01-13 13:45:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:45:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:45:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239334') end
[2025-01-13 13:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:45:04] Production.INFO: 1
[2025-01-13 13:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:45:04] Production.INFO: ==7334== Releasing lock...
[2025-01-13 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:45:04] Production.INFO: Total Charge 0
[2025-01-13 13:45:04] Production.INFO: CreateAllLog End
[2025-01-13 13:45:04] Production.INFO: Account Balance End.
[2025-01-13 13:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:45:04] Production.INFO: ==7330== Releasing lock...
[2025-01-13 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:45:05
[end_date_ymd] => 2025-01-13 13:45:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:45:05' and `end` < '2025-01-13 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-13 13:45:11] Production.ERROR: CronJobId end10
[2025-01-13 13:45:11] Production.INFO: ==7328== Releasing lock...
[2025-01-13 13:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:45:13] Production.INFO: call_cost start
[2025-01-13 13:45:13] Production.INFO: call_cost end
[2025-01-13 13:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:45:14] Production.INFO: ==7324== Releasing lock...
[2025-01-13 13:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:45:31] Production.INFO: count ==5761
[2025-01-13 13:45:33] Production.ERROR: pbx CDR StartTime 2025-01-13 10:45:05 - End Time 2025-01-13 13:45:05
[2025-01-13 13:45:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:45:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239335', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:45:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239335', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:45:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239335', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:45:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239335', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:45:33] Production.INFO: ProcessCDR(1,14239335,1,1,2)
[2025-01-13 13:45:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:45:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:45:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:45:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:45:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239335', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:45:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239335', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:45:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:45:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:45:38] Production.INFO: ==7332== Releasing lock...
[2025-01-13 13:45:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:45:38] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 18:46:01] Production.INFO: ==7405== Lock acquired, processing the job...
[2025-01-13 18:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:46:01] Production.INFO: neon service started
[2025-01-13 18:46:01] Production.INFO: neon service started
[2025-01-13 18:46:01] Production.INFO: ==7405== Releasing lock...
[2025-01-13 18:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:46:02] Production.INFO: ==7407== Lock acquired, processing the job...
[2025-01-13 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:46:02] Production.INFO: ==7409== Lock acquired, processing the job...
[2025-01-13 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:46:02] Production.INFO: ==7409== Releasing lock...
[2025-01-13 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:46:02] Production.INFO: ==7407== Releasing lock...
[2025-01-13 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:46:03] Production.INFO: ==7411== Lock acquired, processing the job...
[2025-01-13 13:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:46:03] Production.INFO: ==7414== Lock acquired, processing the job...
[2025-01-13 13:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:46:03] Production.INFO: ==7420== Lock acquired, processing the job...
[2025-01-13 13:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:46:03] Production.INFO: ==7416== Lock acquired, processing the job...
[2025-01-13 13:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:46:03] Production.INFO: ==7414== Releasing lock...
[2025-01-13 13:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:46:03] Production.INFO: ==7418== Lock acquired, processing the job...
[2025-01-13 13:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:46:03] Production.INFO: ==7422== Lock acquired, processing the job...
[2025-01-13 13:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:46:03] Production.INFO: Account Balance Start.
[2025-01-13 13:46:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:46:03] Production.INFO: 117
[2025-01-13 13:46:03] Production.ERROR: done
[2025-01-13 13:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:46:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:46:03] Production.ERROR: done
[2025-01-13 13:46:03] Production.INFO: count ==21
[2025-01-13 13:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:46:03] Production.INFO: count ==21
[2025-01-13 13:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239339') start
[2025-01-13 13:46:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:46:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:46:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:46:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239339') end
[2025-01-13 13:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:46:03] Production.INFO: 1
[2025-01-13 13:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:46:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:46:03] Production.INFO: Total Charge 0
[2025-01-13 13:46:03] Production.INFO: CreateAllLog End
[2025-01-13 13:46:04] Production.INFO: ==7422== Releasing lock...
[2025-01-13 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:46:04] Production.INFO: Account Balance End.
[2025-01-13 13:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:46:04] Production.INFO: ==7418== Releasing lock...
[2025-01-13 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:46:04
[end_date_ymd] => 2025-01-13 13:46:04
[RateCDR] => 1
)
[2025-01-13 13:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:46:04' and `end` < '2025-01-13 13:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:46:11] Production.ERROR: CronJobId end10
[2025-01-13 13:46:11] Production.INFO: ==7416== Releasing lock...
[2025-01-13 13:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:46:13] Production.INFO: call_cost start
[2025-01-13 13:46:13] Production.INFO: call_cost end
[2025-01-13 13:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:46:13] Production.INFO: ==7411== Releasing lock...
[2025-01-13 13:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:46:22] Production.INFO: count ==5742
[2025-01-13 13:46:24] Production.ERROR: pbx CDR StartTime 2025-01-13 10:46:04 - End Time 2025-01-13 13:46:04
[2025-01-13 13:46:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239340', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239340', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239340', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:46:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239340', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:46:24] Production.INFO: ProcessCDR(1,14239340,1,1,2)
[2025-01-13 13:46:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:46:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:46:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:46:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239340', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239340', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:46:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:46:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:46:29] Production.INFO: ==7420== Releasing lock...
[2025-01-13 13:46:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:46:29] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:47:01] Production.INFO: ==7489== Lock acquired, processing the job...
[2025-01-13 18:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:47:01] Production.INFO: neon service started
[2025-01-13 18:47:01] Production.INFO: neon service started
[2025-01-13 18:47:01] Production.INFO: ==7489== Releasing lock...
[2025-01-13 18:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:47:02] Production.INFO: ==7491== Lock acquired, processing the job...
[2025-01-13 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:47:02] Production.INFO: ==7493== Lock acquired, processing the job...
[2025-01-13 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:47:02] Production.INFO: ==7493== Releasing lock...
[2025-01-13 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:47:02] Production.INFO: ==7491== Releasing lock...
[2025-01-13 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:47:03] Production.INFO: ==7496== Lock acquired, processing the job...
[2025-01-13 13:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:47:03] Production.INFO: ==7498== Lock acquired, processing the job...
[2025-01-13 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:47:03] Production.INFO: ==7500== Lock acquired, processing the job...
[2025-01-13 13:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:47:03] Production.INFO: ==7502== Lock acquired, processing the job...
[2025-01-13 13:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:47:03] Production.INFO: ==7498== Releasing lock...
[2025-01-13 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:47:03] Production.INFO: Account Balance Start.
[2025-01-13 13:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:47:03] Production.INFO: ==7506== Lock acquired, processing the job...
[2025-01-13 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:47:03] Production.INFO: 117
[2025-01-13 13:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:47:03] Production.INFO: ==7504== Lock acquired, processing the job...
[2025-01-13 13:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:47:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13: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-13 13:47:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:47:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:47:04] Production.INFO: count ==21
[2025-01-13 13:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:47:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:47:04] Production.INFO: count ==21
[2025-01-13 13:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239344') start
[2025-01-13 13:47:04] Production.INFO: Total Charge 0
[2025-01-13 13:47:04] Production.INFO: CreateAllLog End
[2025-01-13 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239344') end
[2025-01-13 13:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:47:04] Production.INFO: 1
[2025-01-13 13:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:47:04] Production.ERROR: done
[2025-01-13 13:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:47:04] Production.INFO: ==7506== Releasing lock...
[2025-01-13 13:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:47:04] Production.ERROR: done
[2025-01-13 13:47:04] Production.INFO: Account Balance End.
[2025-01-13 13:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:47:04] Production.INFO: ==7502== Releasing lock...
[2025-01-13 13:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:47:05
[end_date_ymd] => 2025-01-13 13:47:05
[RateCDR] => 1
)
[2025-01-13 13:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:47:05' and `end` < '2025-01-13 13:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:47:11] Production.ERROR: CronJobId end10
[2025-01-13 13:47:11] Production.INFO: ==7500== Releasing lock...
[2025-01-13 13:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:47:14] Production.INFO: call_cost start
[2025-01-13 13:47:14] Production.INFO: call_cost end
[2025-01-13 13:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:47:15] Production.INFO: ==7496== Releasing lock...
[2025-01-13 13:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:47:30] Production.INFO: count ==5722
[2025-01-13 13:47:33] Production.ERROR: pbx CDR StartTime 2025-01-13 10:47:05 - End Time 2025-01-13 13:47:05
[2025-01-13 13:47:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:47:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239345', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:47:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239345', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:47:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239345', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:47:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239345', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:47:33] Production.INFO: ProcessCDR(1,14239345,1,1,2)
[2025-01-13 13:47:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:47:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:47:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:47:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:47:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239345', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:47:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239345', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:47:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:47:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:47:38] Production.INFO: ==7504== Releasing lock...
[2025-01-13 13:47:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:47:38] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:48:02] Production.INFO: ==7580== Lock acquired, processing the job...
[2025-01-13 18:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:48:02] Production.INFO: neon service started
[2025-01-13 18:48:02] Production.INFO: neon service started
[2025-01-13 18:48:02] Production.INFO: ==7580== Releasing lock...
[2025-01-13 18:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:48:02] Production.INFO: ==7582== Lock acquired, processing the job...
[2025-01-13 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:48:02] Production.INFO: ==7582== Releasing lock...
[2025-01-13 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:48:03] Production.INFO: ==7584== Lock acquired, processing the job...
[2025-01-13 18:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:48:03] Production.INFO: ==7584== Releasing lock...
[2025-01-13 18:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:48:03] Production.INFO: ==7592== Lock acquired, processing the job...
[2025-01-13 13:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:48:03] Production.INFO: ==7588== Lock acquired, processing the job...
[2025-01-13 13:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:48:03] Production.INFO: ==7594== Lock acquired, processing the job...
[2025-01-13 13:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:48:03] Production.INFO: ==7586== Lock acquired, processing the job...
[2025-01-13 13:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:48:03] Production.INFO: Account Balance Start.
[2025-01-13 13:48:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:48:03] Production.INFO: 117
[2025-01-13 13:48:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:48:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:48:03] Production.INFO: ==7590== Lock acquired, processing the job...
[2025-01-13 13:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:48:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:48:04] Production.INFO: ==7596== Lock acquired, processing the job...
[2025-01-13 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:48:04] Production.ERROR: done
[2025-01-13 13:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:48:04] Production.INFO: Total Charge 0
[2025-01-13 13:48:04] Production.INFO: count ==21
[2025-01-13 13:48:04] Production.INFO: ==7588== Releasing lock...
[2025-01-13 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 13:48:04] Production.INFO: count ==21
[2025-01-13 13:48:04] Production.ERROR: done
[2025-01-13 13:48:04] Production.INFO: CreateAllLog End
[2025-01-13 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239349') start
[2025-01-13 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239349') end
[2025-01-13 13:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:48:04] Production.INFO: 1
[2025-01-13 13:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:48:04] Production.INFO: Account Balance End.
[2025-01-13 13:48:04] Production.INFO: ==7596== Releasing lock...
[2025-01-13 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:48:04] Production.INFO: ==7592== Releasing lock...
[2025-01-13 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:48:05
[end_date_ymd] => 2025-01-13 13:48:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:48:05' and `end` < '2025-01-13 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-13 13:48:11] Production.ERROR: CronJobId end10
[2025-01-13 13:48:11] Production.INFO: ==7590== Releasing lock...
[2025-01-13 13:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:48:14] Production.INFO: call_cost start
[2025-01-13 13:48:14] Production.INFO: call_cost end
[2025-01-13 13:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:48:15] Production.INFO: ==7586== Releasing lock...
[2025-01-13 13:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:48:27] Production.INFO: count ==5721
[2025-01-13 13:48:30] Production.ERROR: pbx CDR StartTime 2025-01-13 10:48:05 - End Time 2025-01-13 13:48:05
[2025-01-13 13:48:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239350', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239350', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239350', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239350', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:48:30] Production.INFO: ProcessCDR(1,14239350,1,1,2)
[2025-01-13 13:48:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:48:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:48:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:48:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:48:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239350', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:48:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239350', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:48:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:48:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:48:35] Production.INFO: ==7594== Releasing lock...
[2025-01-13 13:48:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:48:35] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:49:01] Production.INFO: ==7664== Lock acquired, processing the job...
[2025-01-13 18:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:49:01] Production.INFO: neon service started
[2025-01-13 18:49:01] Production.INFO: neon service started
[2025-01-13 18:49:01] Production.INFO: ==7664== Releasing lock...
[2025-01-13 18:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:49:01] Production.INFO: ==7666== Lock acquired, processing the job...
[2025-01-13 13:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:49:02] Production.INFO: ==7668== Lock acquired, processing the job...
[2025-01-13 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 13:49:02] Production.INFO: ==7666== Releasing lock...
[2025-01-13 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:49:02] Production.INFO: ==7668== Releasing lock...
[2025-01-13 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:49:02] Production.INFO: ==7678== Lock acquired, processing the job...
[2025-01-13 13:49:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:49:03] Production.INFO: ==7670== Lock acquired, processing the job...
[2025-01-13 13:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:49:03] Production.INFO: ==7672== Lock acquired, processing the job...
[2025-01-13 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:49:03] Production.INFO: ==7674== Lock acquired, processing the job...
[2025-01-13 13:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:49:03] Production.INFO: ==7676== Lock acquired, processing the job...
[2025-01-13 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:49:03] Production.INFO: ==7681== Lock acquired, processing the job...
[2025-01-13 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:49:03] Production.ERROR: done
[2025-01-13 13:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:49:03] Production.INFO: Account Balance Start.
[2025-01-13 13:49:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:49:03] Production.INFO: 117
[2025-01-13 13:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:49:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:49:03] Production.ERROR: done
[2025-01-13 13:49:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:49:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:49:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:49:03] Production.INFO: count ==21
[2025-01-13 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-13 13:49:03] Production.INFO: count ==21
[2025-01-13 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239354') start
[2025-01-13 13:49:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:49:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:49:03] Production.INFO: ==7672== Releasing lock...
[2025-01-13 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239354') end
[2025-01-13 13:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:49:03] Production.INFO: 1
[2025-01-13 13:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:49:03] Production.INFO: Total Charge 0
[2025-01-13 13:49:03] Production.INFO: ==7681== Releasing lock...
[2025-01-13 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:49:03] Production.INFO: CreateAllLog End
[2025-01-13 13:49:04] Production.INFO: Account Balance End.
[2025-01-13 13:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:49:04] Production.INFO: ==7676== Releasing lock...
[2025-01-13 13:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:49:04
[end_date_ymd] => 2025-01-13 13:49:04
[RateCDR] => 1
)
[2025-01-13 13:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:49:04' and `end` < '2025-01-13 13:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:49:11] Production.ERROR: CronJobId end10
[2025-01-13 13:49:11] Production.INFO: ==7674== Releasing lock...
[2025-01-13 13:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:49:13] Production.INFO: call_cost start
[2025-01-13 13:49:13] Production.INFO: call_cost end
[2025-01-13 13:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:49:14] Production.INFO: ==7670== Releasing lock...
[2025-01-13 13:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:49:21] Production.INFO: count ==5736
[2025-01-13 13:49:24] Production.ERROR: pbx CDR StartTime 2025-01-13 10:49:04 - End Time 2025-01-13 13:49:04
[2025-01-13 13:49:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239355', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239355', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239355', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:49:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239355', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:49:24] Production.INFO: ProcessCDR(1,14239355,1,1,2)
[2025-01-13 13:49:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:49:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:49:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:49:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239355', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239355', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:49:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:49:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:49:29] Production.INFO: ==7678== Releasing lock...
[2025-01-13 13:49:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:49:29] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:50:02] Production.INFO: ==7757== Lock acquired, processing the job...
[2025-01-13 18:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:50:02] Production.INFO: neon service started
[2025-01-13 18:50:02] Production.INFO: neon service started
[2025-01-13 18:50:02] Production.INFO: ==7757== Releasing lock...
[2025-01-13 18:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:50:02] Production.INFO: ==7759== Lock acquired, processing the job...
[2025-01-13 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:50:02] Production.INFO: ==7761== Lock acquired, processing the job...
[2025-01-13 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:50:02] Production.INFO: ==7761== Releasing lock...
[2025-01-13 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:50:03] Production.INFO: ==7759== Releasing lock...
[2025-01-13 13:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:50:04] Production.INFO: ==7766== Lock acquired, processing the job...
[2025-01-13 13:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:50:04] Production.INFO: ==7768== Lock acquired, processing the job...
[2025-01-13 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:50:04] Production.INFO: ==7764== Lock acquired, processing the job...
[2025-01-13 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 13:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 13:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 13:50:04] Production.ERROR: CronJob PID - 7766
[2025-01-13 13:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 13:50:04] Production.ERROR: CronJob ID - 5
[2025-01-13 13:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 13:50:00
[2025-01-13 13:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 13:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 13:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 13:50:04] Production.ERROR: CronJob PID - 7768
[2025-01-13 13:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 13:50:04] Production.ERROR: CronJob ID - 7
[2025-01-13 13:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 13:50:00
[2025-01-13 13:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 13:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 13:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 13:50:04] Production.INFO: ==7764== Releasing lock...
[2025-01-13 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 13:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 13:50:04] Production.INFO: ==7776== Lock acquired, processing the job...
[2025-01-13 13:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:50:04] Production.INFO: ==7768== Releasing lock...
[2025-01-13 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:50:04] Production.INFO: ==7770== Lock acquired, processing the job...
[2025-01-13 13:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:50:04] Production.INFO: ==7772== Lock acquired, processing the job...
[2025-01-13 13:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:50:04] Production.INFO: ==7774== Lock acquired, processing the job...
[2025-01-13 13:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:50:04] Production.INFO: Account Balance Start.
[2025-01-13 13:50:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:50:04] Production.INFO: 117
[2025-01-13 13:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:50:04] Production.INFO: ==7778== Lock acquired, processing the job...
[2025-01-13 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:50:04] Production.ERROR: done
[2025-01-13 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:50:04] Production.INFO: count ==21
[2025-01-13 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-13 13:50:04] Production.INFO: count ==21
[2025-01-13 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239359') start
[2025-01-13 13:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 13:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239360', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 13:50:04] Production.ERROR: done
[2025-01-13 13:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:50:05] Production.INFO: Date 2025-01-11
[2025-01-13 13:50:05] Production.INFO: Reseller ==> 0
[2025-01-13 13:50:05] Production.INFO: Date 2025-01-12
[2025-01-13 13:50:05] Production.INFO: Reseller ==> 0
[2025-01-13 13:50:05] Production.INFO: Date 2025-01-13
[2025-01-13 13:50:05] Production.INFO: Reseller ==> 0
[2025-01-13 13:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14239359') end
[2025-01-13 13:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:50:05] Production.INFO: 1
[2025-01-13 13:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:50:05] Production.ERROR: done
[2025-01-13 13:50:05] Production.INFO: Total Charge 0
[2025-01-13 13:50:05] Production.INFO: ==7778== Releasing lock...
[2025-01-13 13:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:50:05] Production.INFO: CreateAllLog End
[2025-01-13 13:50:05] Production.INFO: Account Balance End.
[2025-01-13 13:50:05] Production.ERROR: CronJobId end 12
[2025-01-13 13:50:05] Production.INFO: ==7772== Releasing lock...
[2025-01-13 13:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:50:06
[end_date_ymd] => 2025-01-13 13:50:06
[RateCDR] => 1
)
[2025-01-13 13:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:50:06' and `end` < '2025-01-13 13:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239360', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 13:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 13:50:09] Production.INFO: ProcessCDR(1,14239360,1,1,2)
[2025-01-13 13:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239360,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239360,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:50:09] Production.INFO: ==7776== Releasing lock...
[2025-01-13 13:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 13:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 13:50:14] Production.ERROR: CronJobId end10
[2025-01-13 13:50:14] Production.INFO: ==7770== Releasing lock...
[2025-01-13 13:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:50:15] Production.INFO: call_cost start
[2025-01-13 13:50:15] Production.INFO: call_cost end
[2025-01-13 13:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:50:16] Production.INFO: ==7766== Releasing lock...
[2025-01-13 13:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:50:27] Production.INFO: count ==5750
[2025-01-13 13:50:29] Production.ERROR: pbx CDR StartTime 2025-01-13 10:50:06 - End Time 2025-01-13 13:50:06
[2025-01-13 13:50:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239361', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239361', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239361', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239361', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:50:29] Production.INFO: ProcessCDR(1,14239361,1,1,2)
[2025-01-13 13:50:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:50:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:50:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:50:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:50:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239361', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:50:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239361', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:50:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:50:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:50:34] Production.INFO: ==7774== Releasing lock...
[2025-01-13 13:50:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:50:34] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:51:01] Production.INFO: ==7848== Lock acquired, processing the job...
[2025-01-13 18:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:51:01] Production.INFO: neon service started
[2025-01-13 18:51:01] Production.INFO: neon service started
[2025-01-13 18:51:01] Production.INFO: ==7848== Releasing lock...
[2025-01-13 18:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:51:02] Production.INFO: ==7850== Lock acquired, processing the job...
[2025-01-13 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 18:51:02] Production.INFO: ==7852== Lock acquired, processing the job...
[2025-01-13 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:51:02] Production.INFO: ==7852== Releasing lock...
[2025-01-13 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:51:02] Production.INFO: ==7850== Releasing lock...
[2025-01-13 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:51:03] Production.INFO: ==7859== Lock acquired, processing the job...
[2025-01-13 13:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:51:03] Production.INFO: ==7861== Lock acquired, processing the job...
[2025-01-13 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:51:03] Production.INFO: ==7855== Lock acquired, processing the job...
[2025-01-13 13:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:51:03] Production.INFO: ==7857== Lock acquired, processing the job...
[2025-01-13 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:51:03] Production.INFO: Account Balance Start.
[2025-01-13 13:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:51:03] Production.INFO: 117
[2025-01-13 13:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:51:03] Production.INFO: ==7863== Lock acquired, processing the job...
[2025-01-13 13:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:51:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:51:03] Production.INFO: ==7865== Lock acquired, processing the job...
[2025-01-13 13:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:51:03] Production.INFO: Total Charge 0
[2025-01-13 13:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:51:03] Production.INFO: CreateAllLog End
[2025-01-13 13:51:03] Production.INFO: ==7857== Releasing lock...
[2025-01-13 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 13:51:03] Production.INFO: count ==21
[2025-01-13 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-13 13:51:03] Production.INFO: Account Balance End.
[2025-01-13 13:51:03] Production.INFO: count ==21
[2025-01-13 13:51:03] Production.ERROR: CronJobId end 12
[2025-01-13 13:51:03] Production.INFO: ==7861== Releasing lock...
[2025-01-13 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239365') start
[2025-01-13 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239365') end
[2025-01-13 13:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:51:04] Production.INFO: 1
[2025-01-13 13:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:51:04] Production.ERROR: done
[2025-01-13 13:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:51:04] Production.INFO: ==7865== Releasing lock...
[2025-01-13 13:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:51:04] Production.ERROR: done
[2025-01-13 13:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:51:04
[end_date_ymd] => 2025-01-13 13:51:04
[RateCDR] => 1
)
[2025-01-13 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-13 10:51:04' and `end` < '2025-01-13 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-13 13:51:11] Production.ERROR: CronJobId end10
[2025-01-13 13:51:11] Production.INFO: ==7859== Releasing lock...
[2025-01-13 13:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:51:13] Production.INFO: call_cost start
[2025-01-13 13:51:13] Production.INFO: call_cost end
[2025-01-13 13:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:51:14] Production.INFO: ==7855== Releasing lock...
[2025-01-13 13:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:51:26] Production.INFO: count ==5762
[2025-01-13 13:51:29] Production.ERROR: pbx CDR StartTime 2025-01-13 10:51:04 - End Time 2025-01-13 13:51:04
[2025-01-13 13:51:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:51:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239366', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:51:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239366', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:51:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239366', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:51:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239366', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:51:29] Production.INFO: ProcessCDR(1,14239366,1,1,2)
[2025-01-13 13:51:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:51:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:51:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:51:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:51:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239366', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:51:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239366', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:51:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:51:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:51:34] Production.INFO: ==7863== Releasing lock...
[2025-01-13 13:51:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:51:34] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 18:52:01] Production.INFO: ==7935== Lock acquired, processing the job...
[2025-01-13 18:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:52:01] Production.INFO: neon service started
[2025-01-13 18:52:01] Production.INFO: neon service started
[2025-01-13 18:52:01] Production.INFO: ==7935== Releasing lock...
[2025-01-13 18:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:52:02] Production.INFO: ==7939== Lock acquired, processing the job...
[2025-01-13 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:52:02] Production.INFO: ==7939== Releasing lock...
[2025-01-13 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:52:02] Production.INFO: ==7937== Lock acquired, processing the job...
[2025-01-13 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:52:02] Production.INFO: ==7937== Releasing lock...
[2025-01-13 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:52:03] Production.INFO: ==7941== Lock acquired, processing the job...
[2025-01-13 13:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:52:03] Production.INFO: ==7945== Lock acquired, processing the job...
[2025-01-13 13:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:52:03] Production.INFO: ==7943== Lock acquired, processing the job...
[2025-01-13 13:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:52:03] Production.INFO: ==7949== Lock acquired, processing the job...
[2025-01-13 13:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:52:03] Production.INFO: ==7947== Lock acquired, processing the job...
[2025-01-13 13:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:52:03] Production.INFO: ==7952== Lock acquired, processing the job...
[2025-01-13 13:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:52:04] Production.INFO: Account Balance Start.
[2025-01-13 13:52:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:52:04] Production.INFO: 117
[2025-01-13 13:52:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:52:04] Production.INFO: count ==21
[2025-01-13 13:52:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:52:04] Production.INFO: count ==21
[2025-01-13 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239370') start
[2025-01-13 13:52:04] Production.INFO: ==7943== Releasing lock...
[2025-01-13 13:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:52:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:52:04] Production.ERROR: done
[2025-01-13 13:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239370') end
[2025-01-13 13:52:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:52:04] Production.INFO: 1
[2025-01-13 13:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:52:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:52:04] Production.INFO: ==7952== Releasing lock...
[2025-01-13 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:52:04] Production.ERROR: done
[2025-01-13 13:52:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:52:04] Production.INFO: Total Charge 0
[2025-01-13 13:52:04] Production.INFO: CreateAllLog End
[2025-01-13 13:52:04] Production.INFO: Account Balance End.
[2025-01-13 13:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:52:04] Production.INFO: ==7947== Releasing lock...
[2025-01-13 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:52:05
[end_date_ymd] => 2025-01-13 13:52:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:52:05' and `end` < '2025-01-13 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-13 13:52:13] Production.ERROR: CronJobId end10
[2025-01-13 13:52:13] Production.INFO: ==7945== Releasing lock...
[2025-01-13 13:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:52:13] Production.INFO: call_cost start
[2025-01-13 13:52:13] Production.INFO: call_cost end
[2025-01-13 13:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:52:14] Production.INFO: ==7941== Releasing lock...
[2025-01-13 13:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:52:24] Production.INFO: count ==5711
[2025-01-13 13:52:26] Production.ERROR: pbx CDR StartTime 2025-01-13 10:52:05 - End Time 2025-01-13 13:52:05
[2025-01-13 13:52:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239371', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239371', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239371', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:52:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239371', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:52:26] Production.INFO: ProcessCDR(1,14239371,1,1,2)
[2025-01-13 13:52:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:52:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:52:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:52:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:52:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239371', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:52:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239371', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:52:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:52:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:52:31] Production.INFO: ==7949== Releasing lock...
[2025-01-13 13:52:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:52:31] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:53:02] Production.INFO: ==8021== Lock acquired, processing the job...
[2025-01-13 18:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:53:02] Production.INFO: neon service started
[2025-01-13 18:53:02] Production.INFO: neon service started
[2025-01-13 18:53:02] Production.INFO: ==8021== Releasing lock...
[2025-01-13 18:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:53:02] Production.INFO: ==8026== Lock acquired, processing the job...
[2025-01-13 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:53:02] Production.INFO: ==8026== Releasing lock...
[2025-01-13 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:53:03] Production.INFO: ==8028== Lock acquired, processing the job...
[2025-01-13 18:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:53:03] Production.INFO: ==8028== Releasing lock...
[2025-01-13 18:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:53:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:53:03] Production.INFO: ==8030== Lock acquired, processing the job...
[2025-01-13 13:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:53:03] Production.INFO: ==8034== Lock acquired, processing the job...
[2025-01-13 13:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:53:03] Production.INFO: ==8036== Lock acquired, processing the job...
[2025-01-13 13:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:53:04] Production.INFO: ==8032== Lock acquired, processing the job...
[2025-01-13 13:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:53:04] Production.INFO: Account Balance Start.
[2025-01-13 13:53:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:53:04] Production.INFO: 117
[2025-01-13 13:53:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:53:04] Production.INFO: ==8040== Lock acquired, processing the job...
[2025-01-13 13:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:53:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:53:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:53:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:53:04] Production.INFO: ==8038== Lock acquired, processing the job...
[2025-01-13 13:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:53:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:53:04] Production.INFO: count ==21
[2025-01-13 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-13 13:53:04] Production.INFO: count ==21
[2025-01-13 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239375') start
[2025-01-13 13:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:53:04] Production.INFO: ==8032== Releasing lock...
[2025-01-13 13:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:53:04] Production.INFO: Total Charge 0
[2025-01-13 13:53:04] Production.INFO: CreateAllLog End
[2025-01-13 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239375') end
[2025-01-13 13:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:53:04] Production.INFO: 1
[2025-01-13 13:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:53:04] Production.INFO: ==8040== Releasing lock...
[2025-01-13 13:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:53:04] Production.ERROR: done
[2025-01-13 13:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:53:04] Production.INFO: Account Balance End.
[2025-01-13 13:53:04] Production.ERROR: done
[2025-01-13 13:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:53:04] Production.INFO: ==8036== Releasing lock...
[2025-01-13 13:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:53:05
[end_date_ymd] => 2025-01-13 13:53:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:53:05' and `end` < '2025-01-13 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-13 13:53:13] Production.ERROR: CronJobId end10
[2025-01-13 13:53:13] Production.INFO: ==8034== Releasing lock...
[2025-01-13 13:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:53:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:53:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:53:14] Production.INFO: call_cost start
[2025-01-13 13:53:14] Production.INFO: call_cost end
[2025-01-13 13:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:53:15] Production.INFO: ==8030== Releasing lock...
[2025-01-13 13:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:53:27] Production.INFO: count ==5720
[2025-01-13 13:53:29] Production.ERROR: pbx CDR StartTime 2025-01-13 10:53:05 - End Time 2025-01-13 13:53:05
[2025-01-13 13:53:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239376', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239376', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239376', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239376', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:53:29] Production.INFO: ProcessCDR(1,14239376,1,1,2)
[2025-01-13 13:53:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:53:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:53:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:53:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:53:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239376', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:53:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239376', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:53:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:53:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:53:34] Production.INFO: ==8038== Releasing lock...
[2025-01-13 13:53:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:53:34] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 18:54:01] Production.INFO: ==8118== Lock acquired, processing the job...
[2025-01-13 18:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:54:01] Production.INFO: neon service started
[2025-01-13 18:54:01] Production.INFO: neon service started
[2025-01-13 18:54:01] Production.INFO: ==8118== Releasing lock...
[2025-01-13 18:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:54:02] Production.INFO: ==8122== Lock acquired, processing the job...
[2025-01-13 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:54:02] Production.INFO: ==8122== Releasing lock...
[2025-01-13 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:54:02] Production.INFO: ==8120== Lock acquired, processing the job...
[2025-01-13 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:54:02] Production.INFO: ==8120== Releasing lock...
[2025-01-13 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:54:03] Production.INFO: ==8124== Lock acquired, processing the job...
[2025-01-13 13:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:54:03] Production.INFO: ==8130== Lock acquired, processing the job...
[2025-01-13 13:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:54:03] Production.INFO: ==8132== Lock acquired, processing the job...
[2025-01-13 13:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:54:03] Production.INFO: Account Balance Start.
[2025-01-13 13:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:54:03] Production.INFO: ==8126== Lock acquired, processing the job...
[2025-01-13 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:54:03] Production.INFO: 117
[2025-01-13 13:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:54:03] Production.INFO: ==8128== Lock acquired, processing the job...
[2025-01-13 13:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:54:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:54:03] Production.INFO: ==8135== Lock acquired, processing the job...
[2025-01-13 13:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:54:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:54:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:54:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:54:03] Production.INFO: Date 2025-01-13
[2025-01-13 13:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:54:03] Production.INFO: Total Charge 0
[2025-01-13 13:54:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 13:54:03] Production.INFO: ==8126== Releasing lock...
[2025-01-13 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:54:03] Production.ERROR: done
[2025-01-13 13:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:54:03] Production.INFO: count ==21
[2025-01-13 13:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:54:04] Production.INFO: Account Balance End.
[2025-01-13 13:54:04] Production.INFO: count ==21
[2025-01-13 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239380') start
[2025-01-13 13:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:54:04] Production.INFO: ==8130== Releasing lock...
[2025-01-13 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239380') end
[2025-01-13 13:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:54:04] Production.INFO: 1
[2025-01-13 13:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:54:04] Production.ERROR: done
[2025-01-13 13:54:04] Production.INFO: ==8135== Releasing lock...
[2025-01-13 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:54:05
[end_date_ymd] => 2025-01-13 13:54:05
[RateCDR] => 1
)
[2025-01-13 13:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 10:54:05' and `end` < '2025-01-13 13:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 13:54:11] Production.ERROR: CronJobId end10
[2025-01-13 13:54:11] Production.INFO: ==8128== Releasing lock...
[2025-01-13 13:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:54:13] Production.INFO: call_cost start
[2025-01-13 13:54:13] Production.INFO: call_cost end
[2025-01-13 13:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:54:14] Production.INFO: ==8124== Releasing lock...
[2025-01-13 13:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:54:25] Production.INFO: count ==5731
[2025-01-13 13:54:28] Production.ERROR: pbx CDR StartTime 2025-01-13 10:54:05 - End Time 2025-01-13 13:54:05
[2025-01-13 13:54:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:54:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239381', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:54:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239381', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:54:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239381', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:54:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239381', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:54:28] Production.INFO: ProcessCDR(1,14239381,1,1,2)
[2025-01-13 13:54:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:54:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:54:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:54:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:54:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239381', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:54:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239381', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:54:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:54:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:54:32] Production.INFO: ==8132== Releasing lock...
[2025-01-13 13:54:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:54:32] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:55:02] Production.INFO: ==8202== Lock acquired, processing the job...
[2025-01-13 18:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:55:02] Production.INFO: neon service started
[2025-01-13 18:55:02] Production.INFO: neon service started
[2025-01-13 18:55:02] Production.INFO: ==8202== Releasing lock...
[2025-01-13 18:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 18:55:02] Production.INFO: ==8206== Lock acquired, processing the job...
[2025-01-13 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:55:02] Production.INFO: ==8206== Releasing lock...
[2025-01-13 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:55:02] Production.INFO: ==8204== Lock acquired, processing the job...
[2025-01-13 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:55:03] Production.INFO: ==8204== Releasing lock...
[2025-01-13 13:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 13:55:03] Production.INFO: ==8217== Lock acquired, processing the job...
[2025-01-13 13:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:55:03] Production.INFO: ==8219== Lock acquired, processing the job...
[2025-01-13 13:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:55:04] Production.INFO: ==8209== Lock acquired, processing the job...
[2025-01-13 13:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:55:04] Production.INFO: ==8211== Lock acquired, processing the job...
[2025-01-13 13:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:55:04] Production.INFO: ==8215== Lock acquired, processing the job...
[2025-01-13 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:55:04] Production.INFO: ==8213== Lock acquired, processing the job...
[2025-01-13 13:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:55:04] Production.INFO: count ==21
[2025-01-13 13:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:55:04] Production.INFO: count ==21
[2025-01-13 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239382') start
[2025-01-13 13:55:04] Production.INFO: Account Balance Start.
[2025-01-13 13:55:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:55:04] Production.INFO: 117
[2025-01-13 13:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:55:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:55:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239382') end
[2025-01-13 13:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:55:04] Production.INFO: 1
[2025-01-13 13:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:55:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:55:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:55:04] Production.ERROR: done
[2025-01-13 13:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:55:04] Production.INFO: ==8219== Releasing lock...
[2025-01-13 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:55:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:55:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:55:04] Production.ERROR: done
[2025-01-13 13:55:04] Production.INFO: ==8211== Releasing lock...
[2025-01-13 13:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:55:04] Production.INFO: Total Charge 0
[2025-01-13 13:55:04] Production.INFO: CreateAllLog End
[2025-01-13 13:55:04] Production.INFO: Account Balance End.
[2025-01-13 13:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:55:04] Production.INFO: ==8215== Releasing lock...
[2025-01-13 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:55:05
[end_date_ymd] => 2025-01-13 13:55:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:55:05' and `end` < '2025-01-13 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-13 13:55:12] Production.ERROR: CronJobId end10
[2025-01-13 13:55:12] Production.INFO: ==8213== Releasing lock...
[2025-01-13 13:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:55:13] Production.INFO: call_cost start
[2025-01-13 13:55:13] Production.INFO: call_cost end
[2025-01-13 13:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:55:14] Production.INFO: ==8209== Releasing lock...
[2025-01-13 13:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:55:23] Production.INFO: count ==5748
[2025-01-13 13:55:26] Production.ERROR: pbx CDR StartTime 2025-01-13 10:55:05 - End Time 2025-01-13 13:55:05
[2025-01-13 13:55:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239386', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239386', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239386', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239386', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:55:26] Production.INFO: ProcessCDR(1,14239386,1,1,2)
[2025-01-13 13:55:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:55:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:55:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:55:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:55:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239386', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:55:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239386', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:55:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:55:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:55:32] Production.INFO: ==8217== Releasing lock...
[2025-01-13 13:55:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:55:32] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:56:01] Production.INFO: ==8282== Lock acquired, processing the job...
[2025-01-13 18:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:56:01] Production.INFO: neon service started
[2025-01-13 18:56:01] Production.INFO: neon service started
[2025-01-13 18:56:01] Production.INFO: ==8282== Releasing lock...
[2025-01-13 18:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:56:02] Production.INFO: ==8284== Lock acquired, processing the job...
[2025-01-13 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:56:02] Production.INFO: ==8284== Releasing lock...
[2025-01-13 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:56:02] Production.INFO: ==8286== Lock acquired, processing the job...
[2025-01-13 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:56:02] Production.INFO: ==8286== Releasing lock...
[2025-01-13 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:56:03] Production.INFO: ==8289== Lock acquired, processing the job...
[2025-01-13 13:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:56:03] Production.INFO: ==8291== Lock acquired, processing the job...
[2025-01-13 13:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:56:03] Production.INFO: ==8293== Lock acquired, processing the job...
[2025-01-13 13:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:56:03] Production.INFO: ==8299== Lock acquired, processing the job...
[2025-01-13 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:56:03] Production.INFO: ==8295== Lock acquired, processing the job...
[2025-01-13 13:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 13:56:03] Production.INFO: ==8297== Lock acquired, processing the job...
[2025-01-13 13:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:56:03] Production.INFO: count ==21
[2025-01-13 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-13 13:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:56:03] Production.INFO: count ==21
[2025-01-13 13:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239389') start
[2025-01-13 13:56:03] Production.INFO: Account Balance Start.
[2025-01-13 13:56:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:56:03] Production.INFO: 117
[2025-01-13 13:56:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:56:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239389') end
[2025-01-13 13:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:56:03] Production.INFO: 1
[2025-01-13 13:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:56:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:56:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:56:03] Production.INFO: ==8291== Releasing lock...
[2025-01-13 13:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:56:03] Production.INFO: ==8299== Releasing lock...
[2025-01-13 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:56:04] Production.ERROR: done
[2025-01-13 13:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:56:04] Production.ERROR: done
[2025-01-13 13:56:04] Production.INFO: Total Charge 0
[2025-01-13 13:56:04] Production.INFO: CreateAllLog End
[2025-01-13 13:56:04] Production.INFO: Account Balance End.
[2025-01-13 13:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:56:04] Production.INFO: ==8295== Releasing lock...
[2025-01-13 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:56:05
[end_date_ymd] => 2025-01-13 13:56:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:56:05' and `end` < '2025-01-13 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-13 13:56:12] Production.ERROR: CronJobId end10
[2025-01-13 13:56:12] Production.INFO: ==8293== Releasing lock...
[2025-01-13 13:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:56:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:56:14] Production.INFO: call_cost start
[2025-01-13 13:56:14] Production.INFO: call_cost end
[2025-01-13 13:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:56:15] Production.INFO: ==8289== Releasing lock...
[2025-01-13 13:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:56:20] Production.INFO: count ==5746
[2025-01-13 13:56:22] Production.ERROR: pbx CDR StartTime 2025-01-13 10:56:05 - End Time 2025-01-13 13:56:05
[2025-01-13 13:56:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239391', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239391', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239391', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:56:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239391', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:56:23] Production.INFO: ProcessCDR(1,14239391,1,1,2)
[2025-01-13 13:56:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:56:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:56:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:56:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239391', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239391', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:56:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:56:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:56:27] Production.INFO: ==8297== Releasing lock...
[2025-01-13 13:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:56:27] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:57:02] Production.INFO: ==8356== Lock acquired, processing the job...
[2025-01-13 18:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:57:02] Production.INFO: neon service started
[2025-01-13 18:57:02] Production.INFO: neon service started
[2025-01-13 18:57:02] Production.INFO: ==8356== Releasing lock...
[2025-01-13 18:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:57:02] Production.INFO: ==8358== Lock acquired, processing the job...
[2025-01-13 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:57:02] Production.INFO: ==8358== Releasing lock...
[2025-01-13 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:57:02] Production.INFO: ==8360== Lock acquired, processing the job...
[2025-01-13 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:57:02] Production.INFO: ==8360== Releasing lock...
[2025-01-13 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:57:03] Production.INFO: ==8365== Lock acquired, processing the job...
[2025-01-13 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:57:03] Production.INFO: ==8373== Lock acquired, processing the job...
[2025-01-13 13:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:57:03] Production.INFO: ==8363== Lock acquired, processing the job...
[2025-01-13 13:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:57:03] Production.INFO: ==8365== Releasing lock...
[2025-01-13 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 13:57:03] Production.INFO: count ==21
[2025-01-13 13:57:03] Production.INFO: ==8367== Lock acquired, processing the job...
[2025-01-13 13:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 13:57:03] Production.INFO: count ==21
[2025-01-13 13:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239393') start
[2025-01-13 13:57:04] Production.INFO: ==8371== Lock acquired, processing the job...
[2025-01-13 13:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239393') end
[2025-01-13 13:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:57:04] Production.INFO: 1
[2025-01-13 13:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:57:04] Production.INFO: ==8369== Lock acquired, processing the job...
[2025-01-13 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:57:04] Production.INFO: ==8373== Releasing lock...
[2025-01-13 13:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:57:04] Production.INFO: Account Balance Start.
[2025-01-13 13:57:04] Production.INFO: CreateAllLog Start
[2025-01-13 13:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:57:04] Production.INFO: 117
[2025-01-13 13:57:04] Production.INFO: Date 2025-01-08
[2025-01-13 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:57:04] Production.INFO: Date 2025-01-09
[2025-01-13 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:57:04] Production.INFO: Date 2025-01-10
[2025-01-13 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:57:04] Production.INFO: Date 2025-01-11
[2025-01-13 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:57:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:57:04] Production.ERROR: done
[2025-01-13 13:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:57:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:57:04] Production.INFO: Total Charge 0
[2025-01-13 13:57:04] Production.INFO: CreateAllLog End
[2025-01-13 13:57:04] Production.ERROR: done
[2025-01-13 13:57:04] Production.INFO: Account Balance End.
[2025-01-13 13:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:57:04] Production.INFO: ==8369== Releasing lock...
[2025-01-13 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:57:05
[end_date_ymd] => 2025-01-13 13:57:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:57:05' and `end` < '2025-01-13 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-13 13:57:12] Production.ERROR: CronJobId end10
[2025-01-13 13:57:12] Production.INFO: ==8367== Releasing lock...
[2025-01-13 13:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:57:13] Production.INFO: call_cost start
[2025-01-13 13:57:13] Production.INFO: call_cost end
[2025-01-13 13:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:57:14] Production.INFO: ==8363== Releasing lock...
[2025-01-13 13:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:57:19] Production.INFO: count ==5753
[2025-01-13 13:57:22] Production.ERROR: pbx CDR StartTime 2025-01-13 10:57:05 - End Time 2025-01-13 13:57:05
[2025-01-13 13:57:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239396', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239396', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239396', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239396', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:57:22] Production.INFO: ProcessCDR(1,14239396,1,1,2)
[2025-01-13 13:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239396', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239396', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:57:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:57:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:57:27] Production.INFO: ==8371== Releasing lock...
[2025-01-13 13:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:57:27] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:58:01] Production.INFO: ==8434== Lock acquired, processing the job...
[2025-01-13 18:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:58:01] Production.INFO: neon service started
[2025-01-13 18:58:01] Production.INFO: neon service started
[2025-01-13 18:58:01] Production.INFO: ==8434== Releasing lock...
[2025-01-13 18:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:58:02] Production.INFO: ==8436== Lock acquired, processing the job...
[2025-01-13 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:58:02] Production.INFO: ==8436== Releasing lock...
[2025-01-13 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:58:02] Production.INFO: ==8438== Lock acquired, processing the job...
[2025-01-13 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:58:02] Production.INFO: ==8438== Releasing lock...
[2025-01-13 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:58:03] Production.INFO: ==8441== Lock acquired, processing the job...
[2025-01-13 13:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:58:03] Production.INFO: ==8447== Lock acquired, processing the job...
[2025-01-13 13:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:58:03] Production.INFO: ==8443== Lock acquired, processing the job...
[2025-01-13 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:58:03] Production.INFO: ==8445== Lock acquired, processing the job...
[2025-01-13 13:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:58:03] Production.INFO: Account Balance Start.
[2025-01-13 13:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:58:03] Production.INFO: 117
[2025-01-13 13:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:58:03] Production.INFO: ==8449== Lock acquired, processing the job...
[2025-01-13 13:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:58:03] Production.INFO: ==8451== Lock acquired, processing the job...
[2025-01-13 13:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:58:03] Production.ERROR: done
[2025-01-13 13:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:58:03] Production.INFO: ==8443== Releasing lock...
[2025-01-13 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 13:58:03] Production.INFO: count ==21
[2025-01-13 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-13 13:58:03] Production.ERROR: done
[2025-01-13 13:58:03] Production.INFO: count ==21
[2025-01-13 13:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239400') start
[2025-01-13 13:58:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:58:04] Production.INFO: Total Charge 0
[2025-01-13 13:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239400') end
[2025-01-13 13:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:58:04] Production.INFO: 1
[2025-01-13 13:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:58:04] Production.INFO: CreateAllLog End
[2025-01-13 13:58:04] Production.INFO: ==8451== Releasing lock...
[2025-01-13 13:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:58:04] Production.INFO: Account Balance End.
[2025-01-13 13:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:58:04] Production.INFO: ==8447== Releasing lock...
[2025-01-13 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:58:04
[end_date_ymd] => 2025-01-13 13:58:04
[RateCDR] => 1
)
[2025-01-13 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-13 10:58:04' and `end` < '2025-01-13 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-13 13:58:12] Production.ERROR: CronJobId end10
[2025-01-13 13:58:12] Production.INFO: ==8445== Releasing lock...
[2025-01-13 13:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:58:13] Production.INFO: call_cost start
[2025-01-13 13:58:13] Production.INFO: call_cost end
[2025-01-13 13:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:58:14] Production.INFO: ==8441== Releasing lock...
[2025-01-13 13:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:58:22] Production.INFO: count ==5731
[2025-01-13 13:58:24] Production.ERROR: pbx CDR StartTime 2025-01-13 10:58:04 - End Time 2025-01-13 13:58:04
[2025-01-13 13:58:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:58:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239401', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:58:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239401', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:58:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239401', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:58:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239401', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:58:24] Production.INFO: ProcessCDR(1,14239401,1,1,2)
[2025-01-13 13:58:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:58:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:58:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:58:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:58:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239401', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:58:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239401', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:58:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:58:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:58:29] Production.INFO: ==8449== Releasing lock...
[2025-01-13 13:58:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:58:29] Production.INFO: 71 MB #Memory Used#
[2025-01-13 18:59:02] Production.INFO: ==8544== Lock acquired, processing the job...
[2025-01-13 18:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 18:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 18:59:02] Production.INFO: neon service started
[2025-01-13 18:59:02] Production.INFO: neon service started
[2025-01-13 18:59:02] Production.INFO: ==8544== Releasing lock...
[2025-01-13 18:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 18:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 13:59:02] Production.INFO: ==8547== Lock acquired, processing the job...
[2025-01-13 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 13:59:02] Production.INFO: ==8547== Releasing lock...
[2025-01-13 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 13:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 18:59:02] Production.INFO: ==8549== Lock acquired, processing the job...
[2025-01-13 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 18:59:02] Production.INFO: ==8549== Releasing lock...
[2025-01-13 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 18:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 13:59:03] Production.INFO: ==8551== Lock acquired, processing the job...
[2025-01-13 13:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 13:59:03] Production.INFO: ==8557== Lock acquired, processing the job...
[2025-01-13 13:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 13:59:03] Production.INFO: ==8555== Lock acquired, processing the job...
[2025-01-13 13:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 13:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 13:59:03] Production.INFO: Account Balance Start.
[2025-01-13 13:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 13:59:03] Production.INFO: 117
[2025-01-13 13:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 13:59:03] Production.INFO: ==8553== Lock acquired, processing the job...
[2025-01-13 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 13:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 13:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 13:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 13:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 13:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 13:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 13:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 13:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 13:59:04] Production.INFO: ==8559== Lock acquired, processing the job...
[2025-01-13 13:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 13:59:04] Production.INFO: Date 2025-01-12
[2025-01-13 13:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:59:04] Production.INFO: ==8561== Lock acquired, processing the job...
[2025-01-13 13:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 13:59:04] Production.INFO: Date 2025-01-13
[2025-01-13 13:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 13:59:04] Production.INFO: Total Charge 0
[2025-01-13 13:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 13:59:04] Production.INFO: CreateAllLog End
[2025-01-13 13:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:59:04] Production.INFO: count ==21
[2025-01-13 13:59:04] Production.INFO: ==8553== Releasing lock...
[2025-01-13 13:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 13:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 13:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 13:59:04] Production.INFO: count ==21
[2025-01-13 13:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239405') start
[2025-01-13 13:59:04] Production.ERROR: done
[2025-01-13 13:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 13:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239405') end
[2025-01-13 13:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 13:59:04] Production.INFO: 1
[2025-01-13 13:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 13:59:04] Production.INFO: ==8561== Releasing lock...
[2025-01-13 13:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 13:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 13:59:04] Production.ERROR: done
[2025-01-13 13:59:04] Production.INFO: Account Balance End.
[2025-01-13 13:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 13:59:04] Production.INFO: ==8557== Releasing lock...
[2025-01-13 13:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 13:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 13:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 10:59:05
[end_date_ymd] => 2025-01-13 13:59:05
[RateCDR] => 1
)
[2025-01-13 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-13 10:59:05' and `end` < '2025-01-13 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-13 13:59:12] Production.ERROR: CronJobId end10
[2025-01-13 13:59:12] Production.INFO: ==8555== Releasing lock...
[2025-01-13 13:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 13:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 13:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 13:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 13:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 13:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 13:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 13:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 13:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 13:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 13:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 13:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 13:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 13:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 13:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 13:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 13:59:13] Production.INFO: call_cost start
[2025-01-13 13:59:13] Production.INFO: call_cost end
[2025-01-13 13:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 13:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 13:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 13:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 13:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 13:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 13:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 13:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 13:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 13:59:14] Production.INFO: ==8551== Releasing lock...
[2025-01-13 13:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 13:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 13:59:31] Production.INFO: count ==5715
[2025-01-13 13:59:33] Production.ERROR: pbx CDR StartTime 2025-01-13 10:59:05 - End Time 2025-01-13 13:59:05
[2025-01-13 13:59:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 13:59:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239406', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:59:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239406', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:59:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239406', 'tblTempVendorCDR_20' ) start
[2025-01-13 13:59:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239406', 'tblTempVendorCDR_20' ) end
[2025-01-13 13:59:33] Production.INFO: ProcessCDR(1,14239406,1,1,2)
[2025-01-13 13:59:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:59:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 13:59:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:59:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 13:59:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239406', 'tblTempUsageDetail_20' ) start
[2025-01-13 13:59:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239406', 'tblTempUsageDetail_20' ) end
[2025-01-13 13:59:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 13:59:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 13:59:38] Production.INFO: ==8559== Releasing lock...
[2025-01-13 13:59:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 13:59:38] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 19:00:01] Production.INFO: ==8614== Lock acquired, processing the job...
[2025-01-13 19:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:00:01] Production.INFO: neon service started
[2025-01-13 19:00:01] Production.INFO: neon service started
[2025-01-13 19:00:01] Production.INFO: ==8614== Releasing lock...
[2025-01-13 19:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:00:01] Production.INFO: ==8618== Lock acquired, processing the job...
[2025-01-13 19:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:00:01] Production.INFO: ==8618== Releasing lock...
[2025-01-13 19:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:00:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:00:01] Production.INFO: ==8616== Lock acquired, processing the job...
[2025-01-13 14:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:00:02] Production.INFO: ==8616== Releasing lock...
[2025-01-13 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:00:03] Production.INFO: ==8624== Lock acquired, processing the job...
[2025-01-13 14:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:00:03] Production.INFO: ==8631== Lock acquired, processing the job...
[2025-01-13 14:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:00:03] Production.INFO: ==8635== Lock acquired, processing the job...
[2025-01-13 14:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:00:03] Production.INFO: ==8620== Lock acquired, processing the job...
[2025-01-13 14:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 14:00:03] Production.INFO: ==8622== Lock acquired, processing the job...
[2025-01-13 14:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:00:03] Production.INFO: ==8624== Releasing lock...
[2025-01-13 14:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 14:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:00:03] Production.ERROR: CronJob PID - 8622
[2025-01-13 14:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 14:00:03] Production.ERROR: CronJob ID - 5
[2025-01-13 14:00:03] Production.ERROR: CronJob Last Run Time 2025-01-13 14:00:00
[2025-01-13 14:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:00:03] Production.ERROR: CronJob PID - 8631
[2025-01-13 14:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 14:00:03] Production.ERROR: CronJob ID - 16
[2025-01-13 14:00:03] Production.ERROR: CronJob Last Run Time 2025-01-13 14:00:00
[2025-01-13 14:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:00:03] Production.ERROR: CronJob PID - 8635
[2025-01-13 14:00:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 14:00:03] Production.ERROR: CronJob ID - 19
[2025-01-13 14:00:03] Production.ERROR: CronJob Last Run Time 2025-01-13 14:00:00
[2025-01-13 14:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:00:03] Production.INFO: ==8626== Lock acquired, processing the job...
[2025-01-13 14:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 14:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:00:03] Production.INFO: ==8620== Releasing lock...
[2025-01-13 14:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 14:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 14:00:03] Production.INFO: ==8629== Lock acquired, processing the job...
[2025-01-13 14:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:00:03] Production.INFO: count ==21
[2025-01-13 14: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-13 14:00:03] Production.INFO: count ==21
[2025-01-13 14:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239408') start
[2025-01-13 14:00:04] Production.INFO: ==8633== Lock acquired, processing the job...
[2025-01-13 14:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 14:00:04] Production.ERROR: done
[2025-01-13 14:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239408') end
[2025-01-13 14:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:00:04] Production.INFO: 1
[2025-01-13 14:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:00:04] Production.INFO: Account Balance Start.
[2025-01-13 14:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:00:04] Production.INFO: 117
[2025-01-13 14:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:00:04] Production.INFO: ==8635== Releasing lock...
[2025-01-13 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:00:04] Production.ERROR: done
[2025-01-13 14:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:00:04] Production.ERROR: done
[2025-01-13 14:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:00:04] Production.INFO: Total Charge 0
[2025-01-13 14:00:04] Production.INFO: CreateAllLog End
[2025-01-13 14:00:04] Production.INFO: Account Balance End.
[2025-01-13 14:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 14:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239412', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 14:00:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:00:04] Production.INFO: ==8629== Releasing lock...
[2025-01-13 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:00:05
[end_date_ymd] => 2025-01-13 14:00:05
[RateCDR] => 1
)
[2025-01-13 14:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:00:05' and `end` < '2025-01-13 14:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239412', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 14:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 14:00:08] Production.INFO: ProcessCDR(1,14239412,1,1,2)
[2025-01-13 14:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239412,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239412,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:00:08] Production.INFO: ==8633== Releasing lock...
[2025-01-13 14:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 14:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 14:00:13] Production.ERROR: CronJobId end10
[2025-01-13 14:00:13] Production.INFO: ==8626== Releasing lock...
[2025-01-13 14:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:00:15] Production.INFO: call_cost start
[2025-01-13 14:00:15] Production.INFO: call_cost end
[2025-01-13 14:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:00:15] Production.INFO: ==8622== Releasing lock...
[2025-01-13 14:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:00:33] Production.INFO: count ==5720
[2025-01-13 14:00:35] Production.ERROR: pbx CDR StartTime 2025-01-13 11:00:05 - End Time 2025-01-13 14:00:05
[2025-01-13 14:00:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:00:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239411', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:00:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239411', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:00:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239411', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:00:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239411', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:00:36] Production.INFO: ProcessCDR(1,14239411,1,1,2)
[2025-01-13 14:00:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:00:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:00:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:00:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:00:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239411', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:00:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239411', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:00:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:00:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:00:40] Production.INFO: ==8631== Releasing lock...
[2025-01-13 14:00:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:00:40] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 19:01:01] Production.INFO: ==8694== Lock acquired, processing the job...
[2025-01-13 19:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:01:01] Production.INFO: neon service started
[2025-01-13 19:01:01] Production.INFO: neon service started
[2025-01-13 19:01:01] Production.INFO: ==8694== Releasing lock...
[2025-01-13 19:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:01:02] Production.INFO: ==8706== Lock acquired, processing the job...
[2025-01-13 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:01:02] Production.INFO: ==8706== Releasing lock...
[2025-01-13 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:01:02] Production.INFO: ==8708== Lock acquired, processing the job...
[2025-01-13 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:01:02] Production.INFO: ==8708== Releasing lock...
[2025-01-13 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:01:03] Production.INFO: ==8711== Lock acquired, processing the job...
[2025-01-13 14:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:01:03] Production.INFO: ==8713== Lock acquired, processing the job...
[2025-01-13 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:01:03] Production.INFO: ==8715== Lock acquired, processing the job...
[2025-01-13 14:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:01:03] Production.INFO: ==8717== Lock acquired, processing the job...
[2025-01-13 14:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:01:03] Production.INFO: Account Balance Start.
[2025-01-13 14:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:01:03] Production.INFO: 117
[2025-01-13 14:01:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:01:03] Production.INFO: ==8719== Lock acquired, processing the job...
[2025-01-13 14:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:01:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:01:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:01:03] Production.INFO: ==8721== Lock acquired, processing the job...
[2025-01-13 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:01:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:01:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:01:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:01:03] Production.INFO: ==8713== Releasing lock...
[2025-01-13 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:01:03] Production.INFO: Total Charge 0
[2025-01-13 14:01:04] Production.INFO: CreateAllLog End
[2025-01-13 14:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:01:04] Production.INFO: count ==21
[2025-01-13 14:01:04] Production.ERROR: done
[2025-01-13 14:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:01:04] Production.INFO: count ==21
[2025-01-13 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239416') start
[2025-01-13 14:01:04] Production.INFO: Account Balance End.
[2025-01-13 14:01:04] Production.ERROR: done
[2025-01-13 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239416') end
[2025-01-13 14:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:01:04] Production.INFO: 1
[2025-01-13 14:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:01:04] Production.INFO: ==8717== Releasing lock...
[2025-01-13 14:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:01:04] Production.INFO: ==8721== Releasing lock...
[2025-01-13 14:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:01:05
[end_date_ymd] => 2025-01-13 14:01:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:01:05' and `end` < '2025-01-13 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-13 14:01:12] Production.ERROR: CronJobId end10
[2025-01-13 14:01:12] Production.INFO: ==8715== Releasing lock...
[2025-01-13 14:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:01:13] Production.INFO: call_cost start
[2025-01-13 14:01:13] Production.INFO: call_cost end
[2025-01-13 14:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:01:14] Production.INFO: ==8711== Releasing lock...
[2025-01-13 14:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:01:32] Production.INFO: count ==5752
[2025-01-13 14:01:35] Production.ERROR: pbx CDR StartTime 2025-01-13 11:01:05 - End Time 2025-01-13 14:01:05
[2025-01-13 14:01:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:01:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239417', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:01:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239417', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:01:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239417', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:01:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239417', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:01:35] Production.INFO: ProcessCDR(1,14239417,1,1,2)
[2025-01-13 14:01:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:01:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:01:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:01:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:01:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239417', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:01:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239417', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:01:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:01:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:01:40] Production.INFO: ==8719== Releasing lock...
[2025-01-13 14:01:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:01:40] Production.INFO: 71 MB #Memory Used#
[2025-01-13 19:02:02] Production.INFO: ==8778== Lock acquired, processing the job...
[2025-01-13 19:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:02:02] Production.INFO: neon service started
[2025-01-13 19:02:02] Production.INFO: neon service started
[2025-01-13 19:02:02] Production.INFO: ==8778== Releasing lock...
[2025-01-13 19:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:02:02] Production.INFO: ==8780== Lock acquired, processing the job...
[2025-01-13 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:02:02] Production.INFO: ==8780== Releasing lock...
[2025-01-13 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:02:03] Production.INFO: ==8782== Lock acquired, processing the job...
[2025-01-13 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:02:03] Production.INFO: ==8782== Releasing lock...
[2025-01-13 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:02:03] Production.INFO: ==8792== Lock acquired, processing the job...
[2025-01-13 14:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:02:03] Production.INFO: ==8790== Lock acquired, processing the job...
[2025-01-13 14:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:02:03] Production.INFO: ==8784== Lock acquired, processing the job...
[2025-01-13 14:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:02:03] Production.INFO: ==8786== Lock acquired, processing the job...
[2025-01-13 14:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:02:03] Production.INFO: ==8788== Lock acquired, processing the job...
[2025-01-13 14:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:02:04] Production.INFO: Account Balance Start.
[2025-01-13 14:02:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:02:04] Production.INFO: 117
[2025-01-13 14:02:04] Production.INFO: ==8794== Lock acquired, processing the job...
[2025-01-13 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:02:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:02:04] Production.ERROR: done
[2025-01-13 14:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:02:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:02:04] Production.INFO: count ==21
[2025-01-13 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:02:04] Production.ERROR: done
[2025-01-13 14:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:02:04] Production.INFO: count ==21
[2025-01-13 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239421') start
[2025-01-13 14:02:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239421') end
[2025-01-13 14:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:02:04] Production.INFO: 1
[2025-01-13 14:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:02:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:02:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:02:04] Production.INFO: ==8786== Releasing lock...
[2025-01-13 14:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:02:04] Production.INFO: ==8794== Releasing lock...
[2025-01-13 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:02:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:02:04] Production.INFO: Total Charge 0
[2025-01-13 14:02:04] Production.INFO: CreateAllLog End
[2025-01-13 14:02:04] Production.INFO: Account Balance End.
[2025-01-13 14:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:02:04] Production.INFO: ==8790== Releasing lock...
[2025-01-13 14:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:02:05
[end_date_ymd] => 2025-01-13 14:02:05
[RateCDR] => 1
)
[2025-01-13 14:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:02:05' and `end` < '2025-01-13 14:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:02:11] Production.ERROR: CronJobId end10
[2025-01-13 14:02:11] Production.INFO: ==8788== Releasing lock...
[2025-01-13 14:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:02:13] Production.INFO: call_cost start
[2025-01-13 14:02:13] Production.INFO: call_cost end
[2025-01-13 14:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:02:14] Production.INFO: ==8784== Releasing lock...
[2025-01-13 14:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:02:22] Production.INFO: count ==5820
[2025-01-13 14:02:25] Production.ERROR: pbx CDR StartTime 2025-01-13 11:02:05 - End Time 2025-01-13 14:02:05
[2025-01-13 14:02:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239422', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239422', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239422', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239422', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:02:25] Production.INFO: ProcessCDR(1,14239422,1,1,2)
[2025-01-13 14:02:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:02:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239422', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239422', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:02:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:02:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:02:28] Production.INFO: ==8792== Releasing lock...
[2025-01-13 14:02:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:02:28] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:03:01] Production.INFO: ==8850== Lock acquired, processing the job...
[2025-01-13 19:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:03:01] Production.INFO: neon service started
[2025-01-13 19:03:01] Production.INFO: neon service started
[2025-01-13 19:03:01] Production.INFO: ==8850== Releasing lock...
[2025-01-13 19:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:03:02] Production.INFO: ==8854== Lock acquired, processing the job...
[2025-01-13 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:03:02] Production.INFO: ==8854== Releasing lock...
[2025-01-13 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:03:02] Production.INFO: ==8852== Lock acquired, processing the job...
[2025-01-13 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:03:02] Production.INFO: ==8852== Releasing lock...
[2025-01-13 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:03:03] Production.INFO: ==8857== Lock acquired, processing the job...
[2025-01-13 14:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:03:03] Production.INFO: ==8865== Lock acquired, processing the job...
[2025-01-13 14:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:03:03] Production.INFO: ==8861== Lock acquired, processing the job...
[2025-01-13 14:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:03:03] Production.INFO: ==8859== Lock acquired, processing the job...
[2025-01-13 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:03:03] Production.INFO: ==8863== Lock acquired, processing the job...
[2025-01-13 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:03:03] Production.INFO: ==8867== Lock acquired, processing the job...
[2025-01-13 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:03:03] Production.ERROR: done
[2025-01-13 14:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 14:03:03] Production.INFO: Account Balance Start.
[2025-01-13 14:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:03:03] Production.INFO: 117
[2025-01-13 14:03:03] Production.INFO: count ==21
[2025-01-13 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-13 14:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:03:03] Production.INFO: count ==21
[2025-01-13 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239425') start
[2025-01-13 14:03:03] Production.INFO: ==8859== Releasing lock...
[2025-01-13 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:03:04] Production.ERROR: done
[2025-01-13 14:03:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:03:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:03:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239425') end
[2025-01-13 14:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:03:04] Production.INFO: 1
[2025-01-13 14:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:03:04] Production.INFO: ==8867== Releasing lock...
[2025-01-13 14:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:03:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:03:04] Production.INFO: Total Charge 0
[2025-01-13 14:03:04] Production.INFO: CreateAllLog End
[2025-01-13 14:03:04] Production.INFO: Account Balance End.
[2025-01-13 14:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:03:04] Production.INFO: ==8863== Releasing lock...
[2025-01-13 14:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:03:04
[end_date_ymd] => 2025-01-13 14:03:04
[RateCDR] => 1
)
[2025-01-13 14: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-13 11:03:04' and `end` < '2025-01-13 14: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-13 14:03: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-13 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-13 14:03:10] Production.ERROR: CronJobId end10
[2025-01-13 14:03:10] Production.INFO: ==8861== Releasing lock...
[2025-01-13 14:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:03:12] Production.INFO: call_cost start
[2025-01-13 14:03:12] Production.INFO: call_cost end
[2025-01-13 14:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:03:13] Production.INFO: ==8857== Releasing lock...
[2025-01-13 14:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:03:22] Production.INFO: count ==5836
[2025-01-13 14:03:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:03:04 - End Time 2025-01-13 14:03:04
[2025-01-13 14:03:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239427', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239427', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239427', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239427', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:03:25] Production.INFO: ProcessCDR(1,14239427,1,1,2)
[2025-01-13 14:03:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:03:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:03:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:03:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:03:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239427', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:03:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239427', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:03:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:03:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:03:29] Production.INFO: ==8865== Releasing lock...
[2025-01-13 14:03:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:03:29] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:04:02] Production.INFO: ==8922== Lock acquired, processing the job...
[2025-01-13 19:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:04:02] Production.INFO: neon service started
[2025-01-13 19:04:02] Production.INFO: neon service started
[2025-01-13 19:04:02] Production.INFO: ==8922== Releasing lock...
[2025-01-13 19:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:04:02] Production.INFO: ==8924== Lock acquired, processing the job...
[2025-01-13 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:04:02] Production.INFO: ==8924== Releasing lock...
[2025-01-13 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:04:02] Production.INFO: ==8926== Lock acquired, processing the job...
[2025-01-13 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:04:02] Production.INFO: ==8926== Releasing lock...
[2025-01-13 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:04:03] Production.INFO: ==8934== Lock acquired, processing the job...
[2025-01-13 14:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:04:03] Production.INFO: ==8936== Lock acquired, processing the job...
[2025-01-13 14:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:04:03] Production.INFO: ==8928== Lock acquired, processing the job...
[2025-01-13 14:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:04:03] Production.INFO: Account Balance Start.
[2025-01-13 14:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:04:03] Production.INFO: 117
[2025-01-13 14:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:04:03] Production.INFO: ==8930== Lock acquired, processing the job...
[2025-01-13 14:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:04:03] Production.INFO: ==8932== Lock acquired, processing the job...
[2025-01-13 14:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:04:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:04:03] Production.INFO: ==8938== Lock acquired, processing the job...
[2025-01-13 14:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:04:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:04:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:04:04] Production.ERROR: done
[2025-01-13 14:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 14:04:04] Production.INFO: Total Charge 0
[2025-01-13 14:04:04] Production.INFO: CreateAllLog End
[2025-01-13 14:04:04] Production.INFO: count ==21
[2025-01-13 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-13 14:04:04] Production.INFO: count ==21
[2025-01-13 14:04:04] Production.ERROR: done
[2025-01-13 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239431') start
[2025-01-13 14:04:04] Production.INFO: ==8930== Releasing lock...
[2025-01-13 14:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239431') end
[2025-01-13 14:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:04:04] Production.INFO: 1
[2025-01-13 14:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:04:04] Production.INFO: Account Balance End.
[2025-01-13 14:04:04] Production.INFO: ==8938== Releasing lock...
[2025-01-13 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:04:04] Production.INFO: ==8934== Releasing lock...
[2025-01-13 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:04:05
[end_date_ymd] => 2025-01-13 14:04:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:04:05' and `end` < '2025-01-13 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-13 14:04:10] Production.ERROR: CronJobId end10
[2025-01-13 14:04:10] Production.INFO: ==8932== Releasing lock...
[2025-01-13 14:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:04:13] Production.INFO: call_cost start
[2025-01-13 14:04:13] Production.INFO: call_cost end
[2025-01-13 14:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:04:14] Production.INFO: ==8928== Releasing lock...
[2025-01-13 14:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:04:22] Production.INFO: count ==5827
[2025-01-13 14:04:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:04:05 - End Time 2025-01-13 14:04:05
[2025-01-13 14:04:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239432', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:04:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239432', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:04:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239432', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:04:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239432', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:04:25] Production.INFO: ProcessCDR(1,14239432,1,1,2)
[2025-01-13 14:04:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:04:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:04:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:04:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239432', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239432', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:04:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:04:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:04:29] Production.INFO: ==8936== Releasing lock...
[2025-01-13 14:04:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:04:29] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:05:01] Production.INFO: ==8991== Lock acquired, processing the job...
[2025-01-13 19:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:05:01] Production.INFO: neon service started
[2025-01-13 19:05:01] Production.INFO: neon service started
[2025-01-13 19:05:01] Production.INFO: ==8991== Releasing lock...
[2025-01-13 19:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:05:01] Production.INFO: ==8994== Lock acquired, processing the job...
[2025-01-13 14:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:05:02] Production.INFO: ==8994== Releasing lock...
[2025-01-13 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:05:02] Production.INFO: ==8996== Lock acquired, processing the job...
[2025-01-13 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:05:02] Production.INFO: ==8996== Releasing lock...
[2025-01-13 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:05:03] Production.INFO: ==8998== Lock acquired, processing the job...
[2025-01-13 14:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:05:03] Production.INFO: ==9004== Lock acquired, processing the job...
[2025-01-13 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:05:03] Production.INFO: ==9006== Lock acquired, processing the job...
[2025-01-13 14:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:05:03] Production.INFO: ==9002== Lock acquired, processing the job...
[2025-01-13 14:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:05:03] Production.INFO: ==9000== Lock acquired, processing the job...
[2025-01-13 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:05:03] Production.INFO: Account Balance Start.
[2025-01-13 14:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:05:03] Production.INFO: 117
[2025-01-13 14:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:05:03] Production.INFO: ==9008== Lock acquired, processing the job...
[2025-01-13 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:05:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:05:03] Production.INFO: count ==21
[2025-01-13 14:05:03] Production.ERROR: done
[2025-01-13 14:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:05:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:05:03] Production.INFO: count ==21
[2025-01-13 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239436') start
[2025-01-13 14:05:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:05:03] Production.INFO: Total Charge 0
[2025-01-13 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239436') end
[2025-01-13 14:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:05:03] Production.INFO: 1
[2025-01-13 14:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:05:03] Production.INFO: CreateAllLog End
[2025-01-13 14:05:03] Production.ERROR: done
[2025-01-13 14:05:03] Production.INFO: ==9000== Releasing lock...
[2025-01-13 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:05:03] Production.INFO: ==9008== Releasing lock...
[2025-01-13 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:05:03] Production.INFO: Account Balance End.
[2025-01-13 14:05:03] Production.ERROR: CronJobId end 12
[2025-01-13 14:05:03] Production.INFO: ==9004== Releasing lock...
[2025-01-13 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:05:04
[end_date_ymd] => 2025-01-13 14:05:04
[RateCDR] => 1
)
[2025-01-13 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-13 11:05:04' and `end` < '2025-01-13 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-13 14:05:11] Production.ERROR: CronJobId end10
[2025-01-13 14:05:11] Production.INFO: ==9002== Releasing lock...
[2025-01-13 14:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:05:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:05:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:05:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:05:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:05:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:05:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:05:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:05:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:05:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:05:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:05:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:05:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:05:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:05:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:05:12] Production.INFO: call_cost start
[2025-01-13 14:05:12] Production.INFO: call_cost end
[2025-01-13 14:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:05:13] Production.INFO: ==8998== Releasing lock...
[2025-01-13 14:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:05:22] Production.INFO: count ==5815
[2025-01-13 14:05:25] Production.ERROR: pbx CDR StartTime 2025-01-13 11:05:04 - End Time 2025-01-13 14:05:04
[2025-01-13 14:05:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:05:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239437', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:05:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239437', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:05:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239437', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:05:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239437', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:05:25] Production.INFO: ProcessCDR(1,14239437,1,1,2)
[2025-01-13 14:05:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:05:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:05:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:05:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:05:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239437', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:05:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239437', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:05:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:05:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:05:30] Production.INFO: ==9006== Releasing lock...
[2025-01-13 14:05:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:05:30] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:06:02] Production.INFO: ==9063== Lock acquired, processing the job...
[2025-01-13 19:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:06:02] Production.INFO: neon service started
[2025-01-13 19:06:02] Production.INFO: neon service started
[2025-01-13 19:06:02] Production.INFO: ==9063== Releasing lock...
[2025-01-13 19:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:06:02] Production.INFO: ==9065== Lock acquired, processing the job...
[2025-01-13 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:06:02] Production.INFO: ==9067== Lock acquired, processing the job...
[2025-01-13 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:06:02] Production.INFO: ==9067== Releasing lock...
[2025-01-13 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:06:02] Production.INFO: ==9065== Releasing lock...
[2025-01-13 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:06:03] Production.INFO: ==9076== Lock acquired, processing the job...
[2025-01-13 14:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:06:03] Production.INFO: ==9078== Lock acquired, processing the job...
[2025-01-13 14:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:06:03] Production.INFO: ==9070== Lock acquired, processing the job...
[2025-01-13 14:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:06:03] Production.INFO: ==9072== Lock acquired, processing the job...
[2025-01-13 14:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:06:03] Production.INFO: Account Balance Start.
[2025-01-13 14:06:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:06:03] Production.INFO: 117
[2025-01-13 14:06:03] Production.INFO: ==9074== Lock acquired, processing the job...
[2025-01-13 14:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:06:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:06:04] Production.INFO: ==9080== Lock acquired, processing the job...
[2025-01-13 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:06:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:06:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:06:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:06:04] Production.ERROR: done
[2025-01-13 14:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:06:04] Production.INFO: count ==21
[2025-01-13 14:06:04] Production.INFO: Date 2025-01-12
[2025-01-13 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-13 14:06:04] Production.INFO: count ==21
[2025-01-13 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239441') start
[2025-01-13 14:06:04] Production.ERROR: done
[2025-01-13 14:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:06:04] Production.INFO: Total Charge 0
[2025-01-13 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239441') end
[2025-01-13 14:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:06:04] Production.INFO: 1
[2025-01-13 14:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:06:04] Production.INFO: CreateAllLog End
[2025-01-13 14:06:04] Production.INFO: ==9072== Releasing lock...
[2025-01-13 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:06:04] Production.INFO: ==9080== Releasing lock...
[2025-01-13 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:06:04] Production.INFO: Account Balance End.
[2025-01-13 14:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:06:04] Production.INFO: ==9076== Releasing lock...
[2025-01-13 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:06:05
[end_date_ymd] => 2025-01-13 14:06:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:06:05' and `end` < '2025-01-13 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-13 14:06:11] Production.ERROR: CronJobId end10
[2025-01-13 14:06:11] Production.INFO: ==9074== Releasing lock...
[2025-01-13 14:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:06:13] Production.INFO: call_cost start
[2025-01-13 14:06:13] Production.INFO: call_cost end
[2025-01-13 14:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:06:14] Production.INFO: ==9070== Releasing lock...
[2025-01-13 14:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:06:23] Production.INFO: count ==5825
[2025-01-13 14:06:26] Production.ERROR: pbx CDR StartTime 2025-01-13 11:06:05 - End Time 2025-01-13 14:06:05
[2025-01-13 14:06:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239442', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239442', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239442', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239442', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:06:26] Production.INFO: ProcessCDR(1,14239442,1,1,2)
[2025-01-13 14:06:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:06:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:06:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:06:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239442', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239442', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:06:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:06:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:06:30] Production.INFO: ==9078== Releasing lock...
[2025-01-13 14:06:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:06:30] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:07:01] Production.INFO: ==9134== Lock acquired, processing the job...
[2025-01-13 19:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:07:01] Production.INFO: neon service started
[2025-01-13 19:07:01] Production.INFO: neon service started
[2025-01-13 19:07:01] Production.INFO: ==9134== Releasing lock...
[2025-01-13 19:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:07:02] Production.INFO: ==9136== Lock acquired, processing the job...
[2025-01-13 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:07:02] Production.INFO: ==9138== Lock acquired, processing the job...
[2025-01-13 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:07:02] Production.INFO: ==9138== Releasing lock...
[2025-01-13 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:07:02] Production.INFO: ==9136== Releasing lock...
[2025-01-13 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:07:03] Production.INFO: ==9141== Lock acquired, processing the job...
[2025-01-13 14:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:07:03] Production.INFO: ==9143== Lock acquired, processing the job...
[2025-01-13 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:07:03] Production.INFO: ==9147== Lock acquired, processing the job...
[2025-01-13 14:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:07:03] Production.INFO: Account Balance Start.
[2025-01-13 14:07:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:07:03] Production.INFO: 117
[2025-01-13 14:07:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:07:03] Production.INFO: ==9145== Lock acquired, processing the job...
[2025-01-13 14:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:07:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:07:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:07:03] Production.INFO: ==9143== Releasing lock...
[2025-01-13 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:07:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:07:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:07:03] Production.INFO: ==9149== Lock acquired, processing the job...
[2025-01-13 14:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:07:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:07:03] Production.INFO: ==9151== Lock acquired, processing the job...
[2025-01-13 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:07:03] Production.INFO: Total Charge 0
[2025-01-13 14:07:03] Production.INFO: CreateAllLog End
[2025-01-13 14:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14: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-13 14:07:04] Production.INFO: count ==21
[2025-01-13 14:07:04] Production.ERROR: done
[2025-01-13 14:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14: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-13 14:07:04] Production.INFO: count ==21
[2025-01-13 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239446') start
[2025-01-13 14:07:04] Production.INFO: Account Balance End.
[2025-01-13 14:07:04] Production.ERROR: done
[2025-01-13 14:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:07:04] Production.INFO: ==9147== Releasing lock...
[2025-01-13 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239446') end
[2025-01-13 14:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:07:04] Production.INFO: 1
[2025-01-13 14:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:07:04] Production.INFO: ==9151== Releasing lock...
[2025-01-13 14:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:07:05
[end_date_ymd] => 2025-01-13 14:07:05
[RateCDR] => 1
)
[2025-01-13 14:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:07:05' and `end` < '2025-01-13 14:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:07:12] Production.ERROR: CronJobId end10
[2025-01-13 14:07:12] Production.INFO: ==9145== Releasing lock...
[2025-01-13 14:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:07:13] Production.INFO: call_cost start
[2025-01-13 14:07:13] Production.INFO: call_cost end
[2025-01-13 14:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:07:14] Production.INFO: ==9141== Releasing lock...
[2025-01-13 14:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:07:22] Production.INFO: count ==5822
[2025-01-13 14:07:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:07:05 - End Time 2025-01-13 14:07:05
[2025-01-13 14:07:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:07:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239447', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:07:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239447', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:07:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239447', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:07:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239447', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:07:25] Production.INFO: ProcessCDR(1,14239447,1,1,2)
[2025-01-13 14:07:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:07:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:07:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:07:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:07:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239447', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:07:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239447', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:07:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:07:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:07:30] Production.INFO: ==9149== Releasing lock...
[2025-01-13 14:07:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:07:30] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:08:01] Production.INFO: ==9206== Lock acquired, processing the job...
[2025-01-13 19:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:08:01] Production.INFO: neon service started
[2025-01-13 19:08:01] Production.INFO: neon service started
[2025-01-13 19:08:01] Production.INFO: ==9206== Releasing lock...
[2025-01-13 19:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:08:01] Production.INFO: ==9208== Lock acquired, processing the job...
[2025-01-13 14:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:08:02] Production.INFO: ==9208== Releasing lock...
[2025-01-13 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:08:02] Production.INFO: ==9210== Lock acquired, processing the job...
[2025-01-13 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:08:02] Production.INFO: ==9210== Releasing lock...
[2025-01-13 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:08:02] Production.INFO: ==9213== Lock acquired, processing the job...
[2025-01-13 14:08:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:08:03] Production.INFO: ==9215== Lock acquired, processing the job...
[2025-01-13 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:08:03] Production.INFO: ==9217== Lock acquired, processing the job...
[2025-01-13 14:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:08:03] Production.INFO: ==9219== Lock acquired, processing the job...
[2025-01-13 14:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:08:03] Production.INFO: ==9221== Lock acquired, processing the job...
[2025-01-13 14:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:08:03] Production.INFO: Account Balance Start.
[2025-01-13 14:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:08:03] Production.INFO: 117
[2025-01-13 14:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:08:03] Production.INFO: ==9223== Lock acquired, processing the job...
[2025-01-13 14:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:08:03] Production.INFO: ==9215== Releasing lock...
[2025-01-13 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:08:03] Production.INFO: count ==21
[2025-01-13 14:08:03] Production.ERROR: done
[2025-01-13 14:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:08:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:08:03] Production.INFO: count ==21
[2025-01-13 14:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239451') start
[2025-01-13 14:08:03] Production.ERROR: done
[2025-01-13 14:08:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239451') end
[2025-01-13 14:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:08:03] Production.INFO: 1
[2025-01-13 14:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:08:03] Production.INFO: ==9223== Releasing lock...
[2025-01-13 14:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:08:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:08:03] Production.INFO: Total Charge 0
[2025-01-13 14:08:03] Production.INFO: CreateAllLog End
[2025-01-13 14:08:03] Production.INFO: Account Balance End.
[2025-01-13 14:08:03] Production.ERROR: CronJobId end 12
[2025-01-13 14:08:03] Production.INFO: ==9219== Releasing lock...
[2025-01-13 14:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:08:04
[end_date_ymd] => 2025-01-13 14:08:04
[RateCDR] => 1
)
[2025-01-13 14: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-13 11:08:04' and `end` < '2025-01-13 14: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-13 14:08:11] Production.ERROR: CronJobId end10
[2025-01-13 14:08:11] Production.INFO: ==9217== Releasing lock...
[2025-01-13 14:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:08:12] Production.INFO: call_cost start
[2025-01-13 14:08:12] Production.INFO: call_cost end
[2025-01-13 14:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:08:13] Production.INFO: ==9213== Releasing lock...
[2025-01-13 14:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:08:28] Production.INFO: count ==5825
[2025-01-13 14:08:30] Production.ERROR: pbx CDR StartTime 2025-01-13 11:08:04 - End Time 2025-01-13 14:08:04
[2025-01-13 14:08:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:08:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239452', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:08:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239452', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:08:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239452', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:08:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239452', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:08:31] Production.INFO: ProcessCDR(1,14239452,1,1,2)
[2025-01-13 14:08:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:08:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:08:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:08:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:08:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239452', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:08:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239452', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:08:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:08:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:08:35] Production.INFO: ==9221== Releasing lock...
[2025-01-13 14:08:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:08:35] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:09:01] Production.INFO: ==9280== Lock acquired, processing the job...
[2025-01-13 19:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:09:01] Production.INFO: neon service started
[2025-01-13 19:09:01] Production.INFO: neon service started
[2025-01-13 19:09:01] Production.INFO: ==9280== Releasing lock...
[2025-01-13 19:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:09:02] Production.INFO: ==9283== Lock acquired, processing the job...
[2025-01-13 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:09:02] Production.INFO: ==9285== Lock acquired, processing the job...
[2025-01-13 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:09:02] Production.INFO: ==9283== Releasing lock...
[2025-01-13 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:09:02] Production.INFO: ==9285== Releasing lock...
[2025-01-13 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:09:03] Production.INFO: ==9287== Lock acquired, processing the job...
[2025-01-13 14:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:09:03] Production.INFO: ==9291== Lock acquired, processing the job...
[2025-01-13 14:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:09:03] Production.INFO: ==9293== Lock acquired, processing the job...
[2025-01-13 14:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:09:03] Production.INFO: Account Balance Start.
[2025-01-13 14:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:09:03] Production.INFO: 117
[2025-01-13 14:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:09:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:09:03] Production.INFO: ==9289== Lock acquired, processing the job...
[2025-01-13 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:09:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:09:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:09:03] Production.INFO: Total Charge 0
[2025-01-13 14:09:03] Production.INFO: CreateAllLog End
[2025-01-13 14:09:03] Production.INFO: ==9295== Lock acquired, processing the job...
[2025-01-13 14:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:09:03] Production.INFO: ==9297== Lock acquired, processing the job...
[2025-01-13 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14: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-13 14:09:04] Production.INFO: count ==21
[2025-01-13 14:09:04] Production.INFO: ==9289== Releasing lock...
[2025-01-13 14:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:09:04] Production.INFO: Account Balance End.
[2025-01-13 14: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-13 14:09:04] Production.INFO: count ==21
[2025-01-13 14:09:04] Production.ERROR: done
[2025-01-13 14:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239456') start
[2025-01-13 14:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:09:04] Production.INFO: ==9293== Releasing lock...
[2025-01-13 14:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239456') end
[2025-01-13 14:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:09:04] Production.INFO: 1
[2025-01-13 14:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:09:04] Production.ERROR: done
[2025-01-13 14:09:04] Production.INFO: ==9297== Releasing lock...
[2025-01-13 14:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:09:05
[end_date_ymd] => 2025-01-13 14:09:05
[RateCDR] => 1
)
[2025-01-13 14:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:09:05' and `end` < '2025-01-13 14:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:09:12] Production.ERROR: CronJobId end10
[2025-01-13 14:09:12] Production.INFO: ==9291== Releasing lock...
[2025-01-13 14:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:09:13] Production.INFO: call_cost start
[2025-01-13 14:09:13] Production.INFO: call_cost end
[2025-01-13 14:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:09:14] Production.INFO: ==9287== Releasing lock...
[2025-01-13 14:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:09:24] Production.INFO: count ==5805
[2025-01-13 14:09:26] Production.ERROR: pbx CDR StartTime 2025-01-13 11:09:05 - End Time 2025-01-13 14:09:05
[2025-01-13 14:09:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239457', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239457', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239457', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:09:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239457', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:09:26] Production.INFO: ProcessCDR(1,14239457,1,1,2)
[2025-01-13 14:09:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:09:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:09:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:09:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:09:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239457', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:09:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239457', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:09:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:09:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:09:31] Production.INFO: ==9295== Releasing lock...
[2025-01-13 14:09:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:09:31] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:10:02] Production.INFO: ==9356== Lock acquired, processing the job...
[2025-01-13 19:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:10:02] Production.INFO: neon service started
[2025-01-13 19:10:02] Production.INFO: neon service started
[2025-01-13 19:10:02] Production.INFO: ==9356== Releasing lock...
[2025-01-13 19:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:10:02] Production.INFO: ==9358== Lock acquired, processing the job...
[2025-01-13 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:10:02] Production.INFO: ==9360== Lock acquired, processing the job...
[2025-01-13 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:10:02] Production.INFO: ==9360== Releasing lock...
[2025-01-13 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:10:03] Production.INFO: ==9358== Releasing lock...
[2025-01-13 14:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:10:04] Production.INFO: ==9365== Lock acquired, processing the job...
[2025-01-13 14:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:10:04] Production.INFO: ==9367== Lock acquired, processing the job...
[2025-01-13 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:10:04] Production.INFO: ==9363== Lock acquired, processing the job...
[2025-01-13 14:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 14:10:04] Production.INFO: ==9375== Lock acquired, processing the job...
[2025-01-13 14:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 14:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 14:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:10:04] Production.ERROR: CronJob PID - 9365
[2025-01-13 14:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 14:10:04] Production.ERROR: CronJob ID - 5
[2025-01-13 14:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 14:10:00
[2025-01-13 14:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:10:04] Production.ERROR: CronJob PID - 9367
[2025-01-13 14:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 14:10:04] Production.ERROR: CronJob ID - 7
[2025-01-13 14:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 14:10:00
[2025-01-13 14:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:10:04] Production.INFO: ==9369== Lock acquired, processing the job...
[2025-01-13 14:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 14:10:04] Production.INFO: ==9363== Releasing lock...
[2025-01-13 14:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 14:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 14:10:04] Production.INFO: ==9371== Lock acquired, processing the job...
[2025-01-13 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:10:04] Production.INFO: ==9373== Lock acquired, processing the job...
[2025-01-13 14:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:10:04] Production.INFO: ==9367== Releasing lock...
[2025-01-13 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:10:04] Production.INFO: ==9377== Lock acquired, processing the job...
[2025-01-13 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:10:04] Production.INFO: Account Balance Start.
[2025-01-13 14:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:10:04] Production.INFO: 117
[2025-01-13 14:10:04] Production.ERROR: done
[2025-01-13 14:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 14:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239462', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 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-13 14:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:10:04] Production.INFO: count ==21
[2025-01-13 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-13 14:10:04] Production.INFO: count ==21
[2025-01-13 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239461') start
[2025-01-13 14:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:10:05] Production.INFO: Date 2025-01-12
[2025-01-13 14:10:05] Production.INFO: Reseller ==> 0
[2025-01-13 14:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14239461') end
[2025-01-13 14:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:10:05] Production.INFO: 1
[2025-01-13 14:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:10:05] Production.INFO: Date 2025-01-13
[2025-01-13 14:10:05] Production.INFO: Reseller ==> 0
[2025-01-13 14:10:05] Production.INFO: Total Charge 0
[2025-01-13 14:10:05] Production.INFO: CreateAllLog End
[2025-01-13 14:10:05] Production.INFO: ==9377== Releasing lock...
[2025-01-13 14:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:10:05] Production.ERROR: done
[2025-01-13 14:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:10:05] Production.ERROR: done
[2025-01-13 14:10:05] Production.INFO: Account Balance End.
[2025-01-13 14:10:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:10:05] Production.INFO: ==9371== Releasing lock...
[2025-01-13 14:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:10:06
[end_date_ymd] => 2025-01-13 14:10:06
[RateCDR] => 1
)
[2025-01-13 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-13 11:10:06' and `end` < '2025-01-13 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-13 14:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239462', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 14:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 14:10:09] Production.INFO: ProcessCDR(1,14239462,1,1,2)
[2025-01-13 14:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239462,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239462,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:10:09] Production.INFO: ==9375== Releasing lock...
[2025-01-13 14:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 14:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 14:10:13] Production.ERROR: CronJobId end10
[2025-01-13 14:10:13] Production.INFO: ==9369== Releasing lock...
[2025-01-13 14:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:10:15] Production.INFO: call_cost start
[2025-01-13 14:10:15] Production.INFO: call_cost end
[2025-01-13 14:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:10:16] Production.INFO: ==9365== Releasing lock...
[2025-01-13 14:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:10:25] Production.INFO: count ==5817
[2025-01-13 14:10:27] Production.ERROR: pbx CDR StartTime 2025-01-13 11:10:06 - End Time 2025-01-13 14:10:06
[2025-01-13 14:10:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:10:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239463', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:10:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239463', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:10:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239463', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:10:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239463', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:10:27] Production.INFO: ProcessCDR(1,14239463,1,1,2)
[2025-01-13 14:10:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:10:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:10:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:10:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:10:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239463', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:10:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239463', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:10:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:10:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:10:32] Production.INFO: ==9373== Releasing lock...
[2025-01-13 14:10:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:10:32] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:11:01] Production.INFO: ==9434== Lock acquired, processing the job...
[2025-01-13 19:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:11:01] Production.INFO: neon service started
[2025-01-13 19:11:01] Production.INFO: neon service started
[2025-01-13 19:11:01] Production.INFO: ==9434== Releasing lock...
[2025-01-13 19:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:11:02] Production.INFO: ==9438== Lock acquired, processing the job...
[2025-01-13 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:11:02] Production.INFO: ==9438== Releasing lock...
[2025-01-13 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:11:02] Production.INFO: ==9436== Lock acquired, processing the job...
[2025-01-13 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:11:02] Production.INFO: ==9436== Releasing lock...
[2025-01-13 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:11:03] Production.INFO: ==9441== Lock acquired, processing the job...
[2025-01-13 14:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:11:03] Production.INFO: ==9443== Lock acquired, processing the job...
[2025-01-13 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:11:03] Production.INFO: ==9447== Lock acquired, processing the job...
[2025-01-13 14:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:11:03] Production.INFO: Account Balance Start.
[2025-01-13 14:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:11:03] Production.INFO: 117
[2025-01-13 14:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:11:03] Production.INFO: ==9445== Lock acquired, processing the job...
[2025-01-13 14:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:11:03] Production.INFO: ==9443== Releasing lock...
[2025-01-13 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:11:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:11:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:11:03] Production.INFO: ==9449== Lock acquired, processing the job...
[2025-01-13 14:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:11:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:11:03] Production.INFO: ==9451== Lock acquired, processing the job...
[2025-01-13 14:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:11:03] Production.INFO: Total Charge 0
[2025-01-13 14:11:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 14:11:04] Production.ERROR: done
[2025-01-13 14:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:11:04] Production.INFO: count ==21
[2025-01-13 14: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-13 14:11:04] Production.INFO: count ==21
[2025-01-13 14:11:04] Production.ERROR: done
[2025-01-13 14:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239467') start
[2025-01-13 14:11:04] Production.INFO: Account Balance End.
[2025-01-13 14:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:11:04] Production.INFO: ==9447== Releasing lock...
[2025-01-13 14:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239467') end
[2025-01-13 14:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:11:04] Production.INFO: 1
[2025-01-13 14:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:11:04] Production.INFO: ==9451== Releasing lock...
[2025-01-13 14:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:11:05
[end_date_ymd] => 2025-01-13 14:11:05
[RateCDR] => 1
)
[2025-01-13 14:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:11:05' and `end` < '2025-01-13 14:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:11:10] Production.ERROR: CronJobId end10
[2025-01-13 14:11:10] Production.INFO: ==9445== Releasing lock...
[2025-01-13 14:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:11:12] Production.INFO: call_cost start
[2025-01-13 14:11:12] Production.INFO: call_cost end
[2025-01-13 14:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:11:13] Production.INFO: ==9441== Releasing lock...
[2025-01-13 14:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:11:21] Production.INFO: count ==5771
[2025-01-13 14:11:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:11:05 - End Time 2025-01-13 14:11:05
[2025-01-13 14:11:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239468', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239468', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239468', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239468', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:11:24] Production.INFO: ProcessCDR(1,14239468,1,1,2)
[2025-01-13 14:11:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:11:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:11:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:11:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:11:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239468', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:11:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239468', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:11:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:11:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:11:28] Production.INFO: ==9449== Releasing lock...
[2025-01-13 14:11:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:11:28] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 19:12:02] Production.INFO: ==9505== Lock acquired, processing the job...
[2025-01-13 19:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:12:02] Production.INFO: neon service started
[2025-01-13 19:12:02] Production.INFO: neon service started
[2025-01-13 19:12:02] Production.INFO: ==9505== Releasing lock...
[2025-01-13 19:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:12:02] Production.INFO: ==9509== Lock acquired, processing the job...
[2025-01-13 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:12:02] Production.INFO: ==9509== Releasing lock...
[2025-01-13 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:12:02] Production.INFO: ==9507== Lock acquired, processing the job...
[2025-01-13 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:12:02] Production.INFO: ==9507== Releasing lock...
[2025-01-13 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:12:03] Production.INFO: ==9512== Lock acquired, processing the job...
[2025-01-13 14:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:12:03] Production.INFO: ==9518== Lock acquired, processing the job...
[2025-01-13 14:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:12:03] Production.INFO: ==9520== Lock acquired, processing the job...
[2025-01-13 14:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:12:04] Production.INFO: ==9516== Lock acquired, processing the job...
[2025-01-13 14:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:12:04] Production.INFO: ==9514== Lock acquired, processing the job...
[2025-01-13 14:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:12:04] Production.INFO: Account Balance Start.
[2025-01-13 14:12:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:12:04] Production.INFO: 117
[2025-01-13 14:12:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:12:04] Production.INFO: ==9522== Lock acquired, processing the job...
[2025-01-13 14:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:12:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:12:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:12:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:12:04] Production.INFO: count ==21
[2025-01-13 14:12:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:12:04] Production.ERROR: done
[2025-01-13 14:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:12:04] Production.INFO: count ==21
[2025-01-13 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239472') start
[2025-01-13 14:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:12:04] Production.INFO: Total Charge 0
[2025-01-13 14:12:04] Production.INFO: CreateAllLog End
[2025-01-13 14:12:04] Production.INFO: ==9514== Releasing lock...
[2025-01-13 14:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:12:04] Production.ERROR: done
[2025-01-13 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239472') end
[2025-01-13 14:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:12:04] Production.INFO: 1
[2025-01-13 14:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:12:04] Production.INFO: ==9522== Releasing lock...
[2025-01-13 14:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:12:04] Production.INFO: Account Balance End.
[2025-01-13 14:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:12:04] Production.INFO: ==9518== Releasing lock...
[2025-01-13 14:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:12:05
[end_date_ymd] => 2025-01-13 14:12:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:12:05' and `end` < '2025-01-13 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-13 14:12:11] Production.ERROR: CronJobId end10
[2025-01-13 14:12:11] Production.INFO: ==9516== Releasing lock...
[2025-01-13 14:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:12:13] Production.INFO: call_cost start
[2025-01-13 14:12:13] Production.INFO: call_cost end
[2025-01-13 14:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:12:14] Production.INFO: ==9512== Releasing lock...
[2025-01-13 14:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:12:21] Production.INFO: count ==5776
[2025-01-13 14:12:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:12:05 - End Time 2025-01-13 14:12:05
[2025-01-13 14:12:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239473', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239473', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239473', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239473', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:12:24] Production.INFO: ProcessCDR(1,14239473,1,1,2)
[2025-01-13 14:12:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:12:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:12:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:12:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239473', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239473', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:12:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:12:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:12:28] Production.INFO: ==9520== Releasing lock...
[2025-01-13 14:12:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:12:28] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 19:13:01] Production.INFO: ==9575== Lock acquired, processing the job...
[2025-01-13 19:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:13:01] Production.INFO: neon service started
[2025-01-13 19:13:01] Production.INFO: neon service started
[2025-01-13 19:13:01] Production.INFO: ==9575== Releasing lock...
[2025-01-13 19:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:13:01] Production.INFO: ==9577== Lock acquired, processing the job...
[2025-01-13 14:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:13:02] Production.INFO: ==9579== Lock acquired, processing the job...
[2025-01-13 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:13:02] Production.INFO: ==9579== Releasing lock...
[2025-01-13 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:13:02] Production.INFO: ==9577== Releasing lock...
[2025-01-13 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:13:02] Production.INFO: ==9584== Lock acquired, processing the job...
[2025-01-13 14:13:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:13:03] Production.INFO: ==9590== Lock acquired, processing the job...
[2025-01-13 14:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:13:03] Production.INFO: ==9584== Releasing lock...
[2025-01-13 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:13:03] Production.INFO: ==9582== Lock acquired, processing the job...
[2025-01-13 14:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:13:03] Production.INFO: ==9586== Lock acquired, processing the job...
[2025-01-13 14:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:13:03] Production.INFO: ==9588== Lock acquired, processing the job...
[2025-01-13 14:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:13:03] Production.INFO: Account Balance Start.
[2025-01-13 14:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:13:03] Production.INFO: 117
[2025-01-13 14:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:13:03] Production.ERROR: done
[2025-01-13 14:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:13:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:13:03] Production.INFO: ==9592== Lock acquired, processing the job...
[2025-01-13 14:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:13:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:13:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:13:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:13:03] Production.ERROR: done
[2025-01-13 14:13:03] Production.INFO: Total Charge 0
[2025-01-13 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-13 14:13:03] Production.INFO: CreateAllLog End
[2025-01-13 14:13:03] Production.INFO: count ==21
[2025-01-13 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-13 14:13:03] Production.INFO: count ==21
[2025-01-13 14:13:04] Production.INFO: Account Balance End.
[2025-01-13 14:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:13:04] Production.INFO: ==9588== Releasing lock...
[2025-01-13 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239477') start
[2025-01-13 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239477') end
[2025-01-13 14:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:13:04] Production.INFO: 1
[2025-01-13 14:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:13:04] Production.INFO: ==9592== Releasing lock...
[2025-01-13 14:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:13:04
[end_date_ymd] => 2025-01-13 14:13:04
[RateCDR] => 1
)
[2025-01-13 14: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-13 11:13:04' and `end` < '2025-01-13 14: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-13 14:13:11] Production.ERROR: CronJobId end10
[2025-01-13 14:13:11] Production.INFO: ==9586== Releasing lock...
[2025-01-13 14:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:13:13] Production.INFO: call_cost start
[2025-01-13 14:13:13] Production.INFO: call_cost end
[2025-01-13 14:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:13:13] Production.INFO: ==9582== Releasing lock...
[2025-01-13 14:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:13:18] Production.INFO: count ==5778
[2025-01-13 14:13:20] Production.ERROR: pbx CDR StartTime 2025-01-13 11:13:04 - End Time 2025-01-13 14:13:04
[2025-01-13 14:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239478', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239478', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239478', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239478', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:13:21] Production.INFO: ProcessCDR(1,14239478,1,1,2)
[2025-01-13 14:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239478', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239478', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:13:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:13:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:13:25] Production.INFO: ==9590== Releasing lock...
[2025-01-13 14:13:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:13:25] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 19:14:01] Production.INFO: ==9688== Lock acquired, processing the job...
[2025-01-13 19:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:14:01] Production.INFO: neon service started
[2025-01-13 19:14:02] Production.INFO: neon service started
[2025-01-13 19:14:02] Production.INFO: ==9688== Releasing lock...
[2025-01-13 19:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:14:02] Production.INFO: ==9690== Lock acquired, processing the job...
[2025-01-13 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:14:02] Production.INFO: ==9692== Lock acquired, processing the job...
[2025-01-13 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:14:02] Production.INFO: ==9690== Releasing lock...
[2025-01-13 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:14:02] Production.INFO: ==9692== Releasing lock...
[2025-01-13 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:14:03] Production.INFO: ==9694== Lock acquired, processing the job...
[2025-01-13 14:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:14:03] Production.INFO: ==9696== Lock acquired, processing the job...
[2025-01-13 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:14:03] Production.INFO: ==9698== Lock acquired, processing the job...
[2025-01-13 14:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:14:03] Production.INFO: ==9701== Lock acquired, processing the job...
[2025-01-13 14:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:14:03] Production.INFO: ==9696== Releasing lock...
[2025-01-13 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:14:03] Production.INFO: Account Balance Start.
[2025-01-13 14:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:14:03] Production.INFO: 117
[2025-01-13 14:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:14:03] Production.INFO: ==9703== Lock acquired, processing the job...
[2025-01-13 14:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:14:03] Production.INFO: ==9705== Lock acquired, processing the job...
[2025-01-13 14:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:14:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:14:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:14:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:14:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:14:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:14:03] Production.INFO: count ==21
[2025-01-13 14:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:14:04] Production.INFO: Total Charge 0
[2025-01-13 14:14:04] Production.INFO: count ==21
[2025-01-13 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239482') start
[2025-01-13 14:14:04] Production.INFO: CreateAllLog End
[2025-01-13 14:14:04] Production.ERROR: done
[2025-01-13 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239482') end
[2025-01-13 14:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:14:04] Production.INFO: 1
[2025-01-13 14:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:14:04] Production.INFO: ==9705== Releasing lock...
[2025-01-13 14:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:14:04] Production.ERROR: done
[2025-01-13 14:14:04] Production.INFO: Account Balance End.
[2025-01-13 14:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:14:04] Production.INFO: ==9701== Releasing lock...
[2025-01-13 14:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:14:05
[end_date_ymd] => 2025-01-13 14:14:05
[RateCDR] => 1
)
[2025-01-13 14:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:14:05' and `end` < '2025-01-13 14:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:14:11] Production.ERROR: CronJobId end10
[2025-01-13 14:14:11] Production.INFO: ==9698== Releasing lock...
[2025-01-13 14:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:14:13] Production.INFO: call_cost start
[2025-01-13 14:14:13] Production.INFO: call_cost end
[2025-01-13 14:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:14:13] Production.INFO: ==9694== Releasing lock...
[2025-01-13 14:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:14:19] Production.INFO: count ==5769
[2025-01-13 14:14:21] Production.ERROR: pbx CDR StartTime 2025-01-13 11:14:05 - End Time 2025-01-13 14:14:05
[2025-01-13 14:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239483', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239483', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239483', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239483', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:14:22] Production.INFO: ProcessCDR(1,14239483,1,1,2)
[2025-01-13 14:14:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:14:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:14:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239483', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239483', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:14:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:14:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:14:26] Production.INFO: ==9703== Releasing lock...
[2025-01-13 14:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:14:26] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 19:15:01] Production.INFO: ==9758== Lock acquired, processing the job...
[2025-01-13 19:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:15:01] Production.INFO: neon service started
[2025-01-13 19:15:01] Production.INFO: neon service started
[2025-01-13 19:15:01] Production.INFO: ==9758== Releasing lock...
[2025-01-13 19:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:15:01] Production.INFO: ==9762== Lock acquired, processing the job...
[2025-01-13 19:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:15:01] Production.INFO: ==9762== Releasing lock...
[2025-01-13 19:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:15:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:15:01] Production.INFO: ==9760== Lock acquired, processing the job...
[2025-01-13 14:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:15:02] Production.INFO: ==9760== Releasing lock...
[2025-01-13 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:15:02] Production.INFO: ==9766== Lock acquired, processing the job...
[2025-01-13 14:15:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:15:03] Production.INFO: ==9772== Lock acquired, processing the job...
[2025-01-13 14:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:15:03] Production.INFO: ==9764== Lock acquired, processing the job...
[2025-01-13 14:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:15:03] Production.INFO: ==9768== Lock acquired, processing the job...
[2025-01-13 14:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:15:03] Production.INFO: ==9770== Lock acquired, processing the job...
[2025-01-13 14:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:15:03] Production.INFO: ==9774== Lock acquired, processing the job...
[2025-01-13 14:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:15:03] Production.INFO: ==9766== Releasing lock...
[2025-01-13 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:15:03] Production.INFO: Account Balance Start.
[2025-01-13 14:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:15:03] Production.INFO: 117
[2025-01-13 14:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:15:03] Production.INFO: count ==21
[2025-01-13 14:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:15:03] Production.INFO: count ==21
[2025-01-13 14:15:03] Production.ERROR: done
[2025-01-13 14:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239487') start
[2025-01-13 14:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:15:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239487') end
[2025-01-13 14:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:15:03] Production.INFO: 1
[2025-01-13 14:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:15:03] Production.INFO: ==9774== Releasing lock...
[2025-01-13 14:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:15:03] Production.ERROR: done
[2025-01-13 14:15:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:15:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:15:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:15:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:15:03] Production.INFO: Total Charge 0
[2025-01-13 14:15:03] Production.INFO: CreateAllLog End
[2025-01-13 14:15:03] Production.INFO: Account Balance End.
[2025-01-13 14:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:15:04] Production.INFO: ==9770== Releasing lock...
[2025-01-13 14:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:15:04
[end_date_ymd] => 2025-01-13 14:15:04
[RateCDR] => 1
)
[2025-01-13 14: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-13 11:15:04' and `end` < '2025-01-13 14: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-13 14:15:11] Production.ERROR: CronJobId end10
[2025-01-13 14:15:11] Production.INFO: ==9768== Releasing lock...
[2025-01-13 14:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:15:12] Production.INFO: call_cost start
[2025-01-13 14:15:12] Production.INFO: call_cost end
[2025-01-13 14:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:15:13] Production.INFO: ==9764== Releasing lock...
[2025-01-13 14:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:15:19] Production.INFO: count ==5773
[2025-01-13 14:15:22] Production.ERROR: pbx CDR StartTime 2025-01-13 11:15:04 - End Time 2025-01-13 14:15:04
[2025-01-13 14:15:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239488', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239488', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239488', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239488', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:15:22] Production.INFO: ProcessCDR(1,14239488,1,1,2)
[2025-01-13 14:15:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:15:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239488', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239488', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:15:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:15:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:15:27] Production.INFO: ==9772== Releasing lock...
[2025-01-13 14:15:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:15:27] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 19:16:01] Production.INFO: ==9828== Lock acquired, processing the job...
[2025-01-13 19:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:16:01] Production.INFO: neon service started
[2025-01-13 19:16:01] Production.INFO: neon service started
[2025-01-13 19:16:01] Production.INFO: ==9828== Releasing lock...
[2025-01-13 19:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:16:02] Production.INFO: ==9830== Lock acquired, processing the job...
[2025-01-13 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:16:02] Production.INFO: ==9830== Releasing lock...
[2025-01-13 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:16:02] Production.INFO: ==9832== Lock acquired, processing the job...
[2025-01-13 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:16:02] Production.INFO: ==9832== Releasing lock...
[2025-01-13 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:16:03] Production.INFO: ==9839== Lock acquired, processing the job...
[2025-01-13 14:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:16:03] Production.INFO: ==9843== Lock acquired, processing the job...
[2025-01-13 14:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:16:03] Production.INFO: ==9835== Lock acquired, processing the job...
[2025-01-13 14:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:16:03] Production.INFO: ==9837== Lock acquired, processing the job...
[2025-01-13 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:16:03] Production.INFO: ==9841== Lock acquired, processing the job...
[2025-01-13 14:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:16:03] Production.ERROR: done
[2025-01-13 14:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:16:03] Production.INFO: ==9845== Lock acquired, processing the job...
[2025-01-13 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:16:03] Production.INFO: Account Balance Start.
[2025-01-13 14:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:16:03] Production.INFO: 117
[2025-01-13 14:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:16:03] Production.ERROR: done
[2025-01-13 14:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:16:03] Production.INFO: count ==21
[2025-01-13 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-13 14:16:03] Production.INFO: count ==21
[2025-01-13 14:16:03] Production.INFO: ==9837== Releasing lock...
[2025-01-13 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239492') start
[2025-01-13 14:16:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:16:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:16:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239492') end
[2025-01-13 14:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:16:03] Production.INFO: 1
[2025-01-13 14:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:16:03] Production.INFO: ==9845== Releasing lock...
[2025-01-13 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:16:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:16:04] Production.INFO: Total Charge 0
[2025-01-13 14:16:04] Production.INFO: CreateAllLog End
[2025-01-13 14:16:04] Production.INFO: Account Balance End.
[2025-01-13 14:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:16:04] Production.INFO: ==9841== Releasing lock...
[2025-01-13 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:16:04
[end_date_ymd] => 2025-01-13 14:16:04
[RateCDR] => 1
)
[2025-01-13 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-13 11:16:04' and `end` < '2025-01-13 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-13 14:16:11] Production.ERROR: CronJobId end10
[2025-01-13 14:16:11] Production.INFO: ==9839== Releasing lock...
[2025-01-13 14:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:16:12] Production.INFO: call_cost start
[2025-01-13 14:16:12] Production.INFO: call_cost end
[2025-01-13 14:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:16:13] Production.INFO: ==9835== Releasing lock...
[2025-01-13 14:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:16:21] Production.INFO: count ==5758
[2025-01-13 14:16:23] Production.ERROR: pbx CDR StartTime 2025-01-13 11:16:04 - End Time 2025-01-13 14:16:04
[2025-01-13 14:16:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239493', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239493', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239493', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:16:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239493', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:16:23] Production.INFO: ProcessCDR(1,14239493,1,1,2)
[2025-01-13 14:16:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:16:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:16:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:16:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:16:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239493', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:16:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239493', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:16:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:16:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:16:28] Production.INFO: ==9843== Releasing lock...
[2025-01-13 14:16:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:16:28] Production.INFO: 71 MB #Memory Used#
[2025-01-13 19:17:02] Production.INFO: ==9900== Lock acquired, processing the job...
[2025-01-13 19:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:17:02] Production.INFO: neon service started
[2025-01-13 19:17:02] Production.INFO: neon service started
[2025-01-13 19:17:02] Production.INFO: ==9900== Releasing lock...
[2025-01-13 19:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:17:02] Production.INFO: ==9902== Lock acquired, processing the job...
[2025-01-13 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:17:02] Production.INFO: ==9902== Releasing lock...
[2025-01-13 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:17:02] Production.INFO: ==9904== Lock acquired, processing the job...
[2025-01-13 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:17:03] Production.INFO: ==9904== Releasing lock...
[2025-01-13 19:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:17:03] Production.INFO: ==9906== Lock acquired, processing the job...
[2025-01-13 14:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:17:03] Production.INFO: ==9908== Lock acquired, processing the job...
[2025-01-13 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:17:03] Production.INFO: ==9910== Lock acquired, processing the job...
[2025-01-13 14:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:17:03] Production.INFO: ==9908== Releasing lock...
[2025-01-13 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:17:04] Production.INFO: ==9912== Lock acquired, processing the job...
[2025-01-13 14:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:17:04] Production.INFO: ==9915== Lock acquired, processing the job...
[2025-01-13 14:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:17:04] Production.INFO: Account Balance Start.
[2025-01-13 14:17:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:17:04] Production.INFO: 117
[2025-01-13 14:17:04] Production.INFO: ==9917== Lock acquired, processing the job...
[2025-01-13 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:17:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:17:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:17:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:17:04] Production.INFO: count ==21
[2025-01-13 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-13 14:17:04] Production.INFO: count ==21
[2025-01-13 14:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239497') start
[2025-01-13 14:17:04] Production.ERROR: done
[2025-01-13 14:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:17:04] Production.INFO: Total Charge 0
[2025-01-13 14:17:04] Production.INFO: CreateAllLog End
[2025-01-13 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239497') end
[2025-01-13 14:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:17:04] Production.INFO: 1
[2025-01-13 14:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:17:04] Production.ERROR: done
[2025-01-13 14:17:04] Production.INFO: ==9917== Releasing lock...
[2025-01-13 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:17:04] Production.INFO: Account Balance End.
[2025-01-13 14:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:17:04] Production.INFO: ==9912== Releasing lock...
[2025-01-13 14:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:17:05
[end_date_ymd] => 2025-01-13 14:17:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:17:05' and `end` < '2025-01-13 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-13 14:17:12] Production.ERROR: CronJobId end10
[2025-01-13 14:17:12] Production.INFO: ==9910== Releasing lock...
[2025-01-13 14:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:17:14] Production.INFO: call_cost start
[2025-01-13 14:17:14] Production.INFO: call_cost end
[2025-01-13 14:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:17:14] Production.INFO: ==9906== Releasing lock...
[2025-01-13 14:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:17:23] Production.INFO: count ==5724
[2025-01-13 14:17:26] Production.ERROR: pbx CDR StartTime 2025-01-13 11:17:05 - End Time 2025-01-13 14:17:05
[2025-01-13 14:17:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239498', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239498', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239498', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:17:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239498', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:17:26] Production.INFO: ProcessCDR(1,14239498,1,1,2)
[2025-01-13 14:17:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:17:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:17:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:17:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:17:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239498', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:17:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239498', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:17:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:17:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:17:30] Production.INFO: ==9915== Releasing lock...
[2025-01-13 14:17:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:17:30] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 19:18:01] Production.INFO: ==9970== Lock acquired, processing the job...
[2025-01-13 19:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:18:01] Production.INFO: neon service started
[2025-01-13 19:18:01] Production.INFO: neon service started
[2025-01-13 19:18:01] Production.INFO: ==9970== Releasing lock...
[2025-01-13 19:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:18:02] Production.INFO: ==9972== Lock acquired, processing the job...
[2025-01-13 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:18:02] Production.INFO: ==9972== Releasing lock...
[2025-01-13 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:18:02] Production.INFO: ==9974== Lock acquired, processing the job...
[2025-01-13 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:18:02] Production.INFO: ==9974== Releasing lock...
[2025-01-13 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:18:03] Production.INFO: ==9983== Lock acquired, processing the job...
[2025-01-13 14:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:18:03] Production.INFO: ==9985== Lock acquired, processing the job...
[2025-01-13 14:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:18:03] Production.INFO: ==9977== Lock acquired, processing the job...
[2025-01-13 14:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:18:03] Production.INFO: ==9979== Lock acquired, processing the job...
[2025-01-13 14:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:18:03] Production.INFO: Account Balance Start.
[2025-01-13 14:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:18:03] Production.INFO: 117
[2025-01-13 14:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:18:03] Production.INFO: ==9981== Lock acquired, processing the job...
[2025-01-13 14:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:18:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:18:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:18:03] Production.INFO: ==9987== Lock acquired, processing the job...
[2025-01-13 14:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:18:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:18:03] Production.ERROR: done
[2025-01-13 14:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:18:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:18:03] Production.INFO: count ==21
[2025-01-13 14:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:18:03] Production.INFO: count ==21
[2025-01-13 14:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239502') start
[2025-01-13 14:18:04] Production.ERROR: done
[2025-01-13 14:18:04] Production.INFO: Total Charge 0
[2025-01-13 14:18:04] Production.INFO: ==9979== Releasing lock...
[2025-01-13 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:18:04] Production.INFO: CreateAllLog End
[2025-01-13 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239502') end
[2025-01-13 14:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:18:04] Production.INFO: 1
[2025-01-13 14:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:18:04] Production.INFO: ==9987== Releasing lock...
[2025-01-13 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:18:04] Production.INFO: Account Balance End.
[2025-01-13 14:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:18:04] Production.INFO: ==9983== Releasing lock...
[2025-01-13 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:18:04
[end_date_ymd] => 2025-01-13 14:18:04
[RateCDR] => 1
)
[2025-01-13 14: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-13 11:18:04' and `end` < '2025-01-13 14:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:18:11] Production.ERROR: CronJobId end10
[2025-01-13 14:18:11] Production.INFO: ==9981== Releasing lock...
[2025-01-13 14:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:18:13] Production.INFO: call_cost start
[2025-01-13 14:18:13] Production.INFO: call_cost end
[2025-01-13 14:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:18:14] Production.INFO: ==9977== Releasing lock...
[2025-01-13 14:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:18:26] Production.INFO: count ==5722
[2025-01-13 14:18:29] Production.ERROR: pbx CDR StartTime 2025-01-13 11:18:04 - End Time 2025-01-13 14:18:04
[2025-01-13 14:18:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239503', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239503', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239503', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:18:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239503', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:18:29] Production.INFO: ProcessCDR(1,14239503,1,1,2)
[2025-01-13 14:18:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:18:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:18:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:18:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:18:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239503', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:18:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239503', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:18:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:18:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:18:34] Production.INFO: ==9985== Releasing lock...
[2025-01-13 14:18:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:18:34] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 19:19:02] Production.INFO: ==10042== Lock acquired, processing the job...
[2025-01-13 19:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:19:02] Production.INFO: neon service started
[2025-01-13 19:19:02] Production.INFO: neon service started
[2025-01-13 19:19:02] Production.INFO: ==10042== Releasing lock...
[2025-01-13 19:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:19:02] Production.INFO: ==10046== Lock acquired, processing the job...
[2025-01-13 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:19:02] Production.INFO: ==10046== Releasing lock...
[2025-01-13 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:19:02] Production.INFO: ==10044== Lock acquired, processing the job...
[2025-01-13 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:19:03] Production.INFO: ==10044== Releasing lock...
[2025-01-13 14:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:19:03] Production.INFO: ==10051== Lock acquired, processing the job...
[2025-01-13 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:19:03] Production.INFO: ==10059== Lock acquired, processing the job...
[2025-01-13 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:19:04] Production.INFO: ==10051== Releasing lock...
[2025-01-13 14:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:19:04] Production.INFO: ==10049== Lock acquired, processing the job...
[2025-01-13 14:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 14:19:04] Production.INFO: ==10053== Lock acquired, processing the job...
[2025-01-13 14:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:19:04] Production.INFO: count ==21
[2025-01-13 14:19:04] Production.INFO: ==10055== Lock acquired, processing the job...
[2025-01-13 14:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 14:19:04] Production.INFO: count ==21
[2025-01-13 14:19:04] Production.INFO: ==10057== Lock acquired, processing the job...
[2025-01-13 14:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239505') start
[2025-01-13 14:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239505') end
[2025-01-13 14:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:19:04] Production.INFO: 1
[2025-01-13 14:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:19:04] Production.INFO: Account Balance Start.
[2025-01-13 14:19:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:19:04] Production.INFO: 117
[2025-01-13 14:19:04] Production.INFO: ==10059== Releasing lock...
[2025-01-13 14:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:19:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:19:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:19:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:19:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:19:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:19:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:19:04] Production.ERROR: done
[2025-01-13 14:19:04] Production.INFO: Total Charge 0
[2025-01-13 14:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:19:04] Production.INFO: CreateAllLog End
[2025-01-13 14:19:04] Production.ERROR: done
[2025-01-13 14:19:05] Production.INFO: Account Balance End.
[2025-01-13 14:19:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:19:05] Production.INFO: ==10055== Releasing lock...
[2025-01-13 14:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:19:05
[end_date_ymd] => 2025-01-13 14:19:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:19:05' and `end` < '2025-01-13 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-13 14:19:12] Production.ERROR: CronJobId end10
[2025-01-13 14:19:12] Production.INFO: ==10053== Releasing lock...
[2025-01-13 14:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:19:13] Production.INFO: call_cost start
[2025-01-13 14:19:13] Production.INFO: call_cost end
[2025-01-13 14:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:19:14] Production.INFO: ==10049== Releasing lock...
[2025-01-13 14:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:19:30] Production.INFO: count ==5707
[2025-01-13 14:19:33] Production.ERROR: pbx CDR StartTime 2025-01-13 11:19:05 - End Time 2025-01-13 14:19:05
[2025-01-13 14:19:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:19:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239508', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:19:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239508', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:19:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239508', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:19:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239508', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:19:33] Production.INFO: ProcessCDR(1,14239508,1,1,2)
[2025-01-13 14:19:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:19:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:19:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:19:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:19:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239508', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:19:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239508', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:19:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:19:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:19:37] Production.INFO: ==10057== Releasing lock...
[2025-01-13 14:19:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:19:37] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 19:20:01] Production.INFO: ==10114== Lock acquired, processing the job...
[2025-01-13 19:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:20:01] Production.INFO: neon service started
[2025-01-13 19:20:01] Production.INFO: neon service started
[2025-01-13 19:20:01] Production.INFO: ==10114== Releasing lock...
[2025-01-13 19:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:20:02] Production.INFO: ==10116== Lock acquired, processing the job...
[2025-01-13 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:20:02] Production.INFO: ==10118== Lock acquired, processing the job...
[2025-01-13 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:20:02] Production.INFO: ==10118== Releasing lock...
[2025-01-13 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:20:02] Production.INFO: ==10116== Releasing lock...
[2025-01-13 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:20:03] Production.INFO: ==10127== Lock acquired, processing the job...
[2025-01-13 14:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:20:03] Production.INFO: ==10121== Lock acquired, processing the job...
[2025-01-13 14:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 14:20:03] Production.INFO: ==10123== Lock acquired, processing the job...
[2025-01-13 14:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:20:03] Production.INFO: ==10129== Lock acquired, processing the job...
[2025-01-13 14:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 14:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:20:03] Production.ERROR: CronJob PID - 10123
[2025-01-13 14:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 14:20:03] Production.ERROR: CronJob ID - 5
[2025-01-13 14:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 14:20:00
[2025-01-13 14:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:20:03] Production.ERROR: CronJob PID - 10127
[2025-01-13 14:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 14:20:03] Production.ERROR: CronJob ID - 10
[2025-01-13 14:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 14:20:00
[2025-01-13 14:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:20:03] Production.ERROR: CronJob PID - 10129
[2025-01-13 14:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 14:20:03] Production.ERROR: CronJob ID - 12
[2025-01-13 14:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 14:20:00
[2025-01-13 14:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:20:03] Production.INFO: ==10135== Lock acquired, processing the job...
[2025-01-13 14:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 14:20:03] Production.INFO: ==10121== Releasing lock...
[2025-01-13 14:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 14:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 14:20:03] Production.INFO: ==10125== Lock acquired, processing the job...
[2025-01-13 14:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:20:03] Production.INFO: Account Balance Start.
[2025-01-13 14:20:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:20:03] Production.INFO: 117
[2025-01-13 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-13 14:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:20:04] Production.INFO: count ==21
[2025-01-13 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-13 14:20:04] Production.INFO: count ==21
[2025-01-13 14:20:04] Production.INFO: ==10131== Lock acquired, processing the job...
[2025-01-13 14:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239511') start
[2025-01-13 14:20:04] Production.INFO: ==10133== Lock acquired, processing the job...
[2025-01-13 14:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 14:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239511') end
[2025-01-13 14:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:20:04] Production.INFO: 1
[2025-01-13 14:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:20:04] Production.INFO: ==10135== Releasing lock...
[2025-01-13 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:20:04] Production.INFO: ==10125== Releasing lock...
[2025-01-13 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:20:04] Production.ERROR: done
[2025-01-13 14:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:20:04] Production.ERROR: done
[2025-01-13 14:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 14:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239513', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 14:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:20:04] Production.INFO: Total Charge 0
[2025-01-13 14:20:04] Production.INFO: CreateAllLog End
[2025-01-13 14:20:04] Production.ERROR: done
[2025-01-13 14:20:05] Production.INFO: Account Balance End.
[2025-01-13 14:20:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:20:05] Production.INFO: ==10129== Releasing lock...
[2025-01-13 14:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:20:06
[end_date_ymd] => 2025-01-13 14:20:06
[RateCDR] => 1
)
[2025-01-13 14:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:20:06' and `end` < '2025-01-13 14:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239513', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 14:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 14:20:08] Production.INFO: ProcessCDR(1,14239513,1,1,2)
[2025-01-13 14:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239513,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239513,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:20:08] Production.INFO: ==10133== Releasing lock...
[2025-01-13 14:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 14:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 14:20:13] Production.ERROR: CronJobId end10
[2025-01-13 14:20:13] Production.INFO: ==10127== Releasing lock...
[2025-01-13 14:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:20:14] Production.INFO: call_cost start
[2025-01-13 14:20:14] Production.INFO: call_cost end
[2025-01-13 14:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:20:15] Production.INFO: ==10123== Releasing lock...
[2025-01-13 14:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:20:27] Production.INFO: count ==5692
[2025-01-13 14:20:29] Production.ERROR: pbx CDR StartTime 2025-01-13 11:20:06 - End Time 2025-01-13 14:20:06
[2025-01-13 14:20:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239514', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239514', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239514', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239514', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:20:29] Production.INFO: ProcessCDR(1,14239514,1,1,2)
[2025-01-13 14:20:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:20:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:20:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:20:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:20:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239514', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:20:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239514', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:20:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:20:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:20:34] Production.INFO: ==10131== Releasing lock...
[2025-01-13 14:20:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:20:34] Production.INFO: 70.5 MB #Memory Used#
[2025-01-13 19:21:02] Production.INFO: ==10188== Lock acquired, processing the job...
[2025-01-13 19:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:21:02] Production.INFO: neon service started
[2025-01-13 19:21:02] Production.INFO: neon service started
[2025-01-13 19:21:02] Production.INFO: ==10188== Releasing lock...
[2025-01-13 19:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:21:02] Production.INFO: ==10192== Lock acquired, processing the job...
[2025-01-13 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:21:02] Production.INFO: ==10192== Releasing lock...
[2025-01-13 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:21:02] Production.INFO: ==10190== Lock acquired, processing the job...
[2025-01-13 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:21:02] Production.INFO: ==10190== Releasing lock...
[2025-01-13 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:21:03] Production.INFO: ==10195== Lock acquired, processing the job...
[2025-01-13 14:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:21:03] Production.INFO: ==10197== Lock acquired, processing the job...
[2025-01-13 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:21:03] Production.INFO: ==10199== Lock acquired, processing the job...
[2025-01-13 14:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:21:03] Production.INFO: ==10201== Lock acquired, processing the job...
[2025-01-13 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:21:04] Production.INFO: ==10203== Lock acquired, processing the job...
[2025-01-13 14:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:21:04] Production.INFO: ==10197== Releasing lock...
[2025-01-13 14:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:21:04] Production.INFO: ==10205== Lock acquired, processing the job...
[2025-01-13 14:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:21:04] Production.INFO: Account Balance Start.
[2025-01-13 14:21:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:21:04] Production.INFO: 117
[2025-01-13 14:21:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:21:04] Production.INFO: count ==21
[2025-01-13 14:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:21:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:21:04] Production.INFO: count ==21
[2025-01-13 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239518') start
[2025-01-13 14:21:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:21:04] Production.ERROR: done
[2025-01-13 14:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:21:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239518') end
[2025-01-13 14:21:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:21:04] Production.INFO: 1
[2025-01-13 14:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:21:04] Production.ERROR: done
[2025-01-13 14:21:04] Production.INFO: ==10205== Releasing lock...
[2025-01-13 14:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:21:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:21:04] Production.INFO: Total Charge 0
[2025-01-13 14:21:04] Production.INFO: CreateAllLog End
[2025-01-13 14:21:04] Production.INFO: Account Balance End.
[2025-01-13 14:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:21:04] Production.INFO: ==10201== Releasing lock...
[2025-01-13 14:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:21:05
[end_date_ymd] => 2025-01-13 14:21:05
[RateCDR] => 1
)
[2025-01-13 14:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:21:05' and `end` < '2025-01-13 14:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:21:11] Production.ERROR: CronJobId end10
[2025-01-13 14:21:11] Production.INFO: ==10199== Releasing lock...
[2025-01-13 14:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:21:13] Production.INFO: call_cost start
[2025-01-13 14:21:13] Production.INFO: call_cost end
[2025-01-13 14:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:21:14] Production.INFO: ==10195== Releasing lock...
[2025-01-13 14:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:21:22] Production.INFO: count ==5721
[2025-01-13 14:21:25] Production.ERROR: pbx CDR StartTime 2025-01-13 11:21:05 - End Time 2025-01-13 14:21:05
[2025-01-13 14:21:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239519', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239519', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239519', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239519', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:21:25] Production.INFO: ProcessCDR(1,14239519,1,1,2)
[2025-01-13 14:21:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:21:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:21:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:21:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:21:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239519', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:21:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239519', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:21:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:21:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:21:30] Production.INFO: ==10203== Releasing lock...
[2025-01-13 14:21:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:21:30] Production.INFO: 70.75 MB #Memory Used#
[2025-01-13 19:22:01] Production.INFO: ==10260== Lock acquired, processing the job...
[2025-01-13 19:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:22:01] Production.INFO: neon service started
[2025-01-13 19:22:01] Production.INFO: neon service started
[2025-01-13 19:22:01] Production.INFO: ==10260== Releasing lock...
[2025-01-13 19:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:22:02] Production.INFO: ==10262== Lock acquired, processing the job...
[2025-01-13 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:22:02] Production.INFO: ==10264== Lock acquired, processing the job...
[2025-01-13 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:22:02] Production.INFO: ==10264== Releasing lock...
[2025-01-13 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:22:02] Production.INFO: ==10262== Releasing lock...
[2025-01-13 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:22:03] Production.INFO: ==10271== Lock acquired, processing the job...
[2025-01-13 14:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:22:03] Production.INFO: ==10273== Lock acquired, processing the job...
[2025-01-13 14:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:22:03] Production.INFO: ==10277== Lock acquired, processing the job...
[2025-01-13 14:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:22:03] Production.INFO: Account Balance Start.
[2025-01-13 14:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:22:03] Production.INFO: 117
[2025-01-13 14:22:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:22:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:22:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:22:03] Production.INFO: count ==21
[2025-01-13 14:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:22:03] Production.INFO: count ==21
[2025-01-13 14:22:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239521') start
[2025-01-13 14:22:03] Production.INFO: ==10269== Lock acquired, processing the job...
[2025-01-13 14:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:22:03] Production.INFO: ==10267== Lock acquired, processing the job...
[2025-01-13 14:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:22:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:22:03] Production.INFO: ==10275== Lock acquired, processing the job...
[2025-01-13 14:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:22:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239521') end
[2025-01-13 14:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:22:03] Production.INFO: 1
[2025-01-13 14:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:22:03] Production.INFO: Total Charge 0
[2025-01-13 14:22:03] Production.INFO: CreateAllLog End
[2025-01-13 14:22:03] Production.INFO: ==10277== Releasing lock...
[2025-01-13 14:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:22:04] Production.ERROR: done
[2025-01-13 14:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:22:04] Production.INFO: ==10269== Releasing lock...
[2025-01-13 14:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:22:04] Production.INFO: Account Balance End.
[2025-01-13 14:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:22:04] Production.INFO: ==10273== Releasing lock...
[2025-01-13 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:22:04] Production.ERROR: done
[2025-01-13 14:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:22:05
[end_date_ymd] => 2025-01-13 14:22:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:22:05' and `end` < '2025-01-13 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-13 14:22:12] Production.ERROR: CronJobId end10
[2025-01-13 14:22:12] Production.INFO: ==10271== Releasing lock...
[2025-01-13 14:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:22:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:22:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:22:14] Production.INFO: call_cost start
[2025-01-13 14:22:14] Production.INFO: call_cost end
[2025-01-13 14:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:22:15] Production.INFO: ==10267== Releasing lock...
[2025-01-13 14:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:22:22] Production.INFO: count ==5762
[2025-01-13 14:22:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:22:05 - End Time 2025-01-13 14:22:05
[2025-01-13 14:22:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239524', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239524', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239524', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239524', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:22:24] Production.INFO: ProcessCDR(1,14239524,1,1,2)
[2025-01-13 14:22:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:22:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:22:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:22:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:22:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239524', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:22:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239524', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:22:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:22:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:22:29] Production.INFO: ==10275== Releasing lock...
[2025-01-13 14:22:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:22:29] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 19:23:02] Production.INFO: ==10335== Lock acquired, processing the job...
[2025-01-13 19:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:23:02] Production.INFO: neon service started
[2025-01-13 19:23:02] Production.INFO: neon service started
[2025-01-13 19:23:02] Production.INFO: ==10335== Releasing lock...
[2025-01-13 19:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:23:02] Production.INFO: ==10340== Lock acquired, processing the job...
[2025-01-13 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:23:02] Production.INFO: ==10340== Releasing lock...
[2025-01-13 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:23:02] Production.INFO: ==10338== Lock acquired, processing the job...
[2025-01-13 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:23:02] Production.INFO: ==10338== Releasing lock...
[2025-01-13 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:23:03] Production.INFO: ==10348== Lock acquired, processing the job...
[2025-01-13 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:23:03] Production.INFO: ==10350== Lock acquired, processing the job...
[2025-01-13 14:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:23:03] Production.INFO: Account Balance Start.
[2025-01-13 14:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:23:03] Production.INFO: 117
[2025-01-13 14:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:23:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:23:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:23:03] Production.INFO: ==10342== Lock acquired, processing the job...
[2025-01-13 14:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:23:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:23:04] Production.INFO: ==10344== Lock acquired, processing the job...
[2025-01-13 14:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:23:04] Production.INFO: ==10346== Lock acquired, processing the job...
[2025-01-13 14:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:23:04] Production.INFO: ==10352== Lock acquired, processing the job...
[2025-01-13 14:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:23:04] Production.ERROR: done
[2025-01-13 14:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:23:04] Production.ERROR: done
[2025-01-13 14:23:04] Production.INFO: Total Charge 0
[2025-01-13 14:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:23:04] Production.INFO: CreateAllLog End
[2025-01-13 14:23:04] Production.INFO: count ==21
[2025-01-13 14:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:23:04] Production.INFO: count ==21
[2025-01-13 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239528') start
[2025-01-13 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239528') end
[2025-01-13 14:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:23:04] Production.INFO: 1
[2025-01-13 14:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:23:04] Production.INFO: Account Balance End.
[2025-01-13 14:23:04] Production.INFO: ==10344== Releasing lock...
[2025-01-13 14:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:23:04] Production.INFO: ==10348== Releasing lock...
[2025-01-13 14:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:23:04] Production.INFO: ==10352== Releasing lock...
[2025-01-13 14:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:23:05
[end_date_ymd] => 2025-01-13 14:23:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:23:05' and `end` < '2025-01-13 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-13 14:23:11] Production.ERROR: CronJobId end10
[2025-01-13 14:23:11] Production.INFO: ==10346== Releasing lock...
[2025-01-13 14:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:23:13] Production.INFO: call_cost start
[2025-01-13 14:23:13] Production.INFO: call_cost end
[2025-01-13 14:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:23:14] Production.INFO: ==10342== Releasing lock...
[2025-01-13 14:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:23:21] Production.INFO: count ==5765
[2025-01-13 14:23:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:23:05 - End Time 2025-01-13 14:23:05
[2025-01-13 14:23:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239529', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239529', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239529', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239529', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:23:24] Production.INFO: ProcessCDR(1,14239529,1,1,2)
[2025-01-13 14:23:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:23:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:23:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:23:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:23:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239529', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:23:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239529', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:23:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:23:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:23:29] Production.INFO: ==10350== Releasing lock...
[2025-01-13 14:23:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:23:29] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 19:24:01] Production.INFO: ==10410== Lock acquired, processing the job...
[2025-01-13 19:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:24:01] Production.INFO: neon service started
[2025-01-13 19:24:01] Production.INFO: neon service started
[2025-01-13 19:24:01] Production.INFO: ==10410== Releasing lock...
[2025-01-13 19:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:24:02] Production.INFO: ==10415== Lock acquired, processing the job...
[2025-01-13 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:24:02] Production.INFO: ==10413== Lock acquired, processing the job...
[2025-01-13 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:24:02] Production.INFO: ==10415== Releasing lock...
[2025-01-13 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:24:02] Production.INFO: ==10413== Releasing lock...
[2025-01-13 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:24:03] Production.INFO: ==10417== Lock acquired, processing the job...
[2025-01-13 14:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:24:03] Production.INFO: ==10419== Lock acquired, processing the job...
[2025-01-13 14:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:24:03] Production.INFO: ==10425== Lock acquired, processing the job...
[2025-01-13 14:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:24:03] Production.INFO: ==10427== Lock acquired, processing the job...
[2025-01-13 14:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:24:03] Production.INFO: ==10421== Lock acquired, processing the job...
[2025-01-13 14:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:24:03] Production.INFO: ==10419== Releasing lock...
[2025-01-13 14:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:24:04] Production.INFO: ==10423== Lock acquired, processing the job...
[2025-01-13 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:24:04] Production.ERROR: done
[2025-01-13 14:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:24:04] Production.INFO: count ==21
[2025-01-13 14:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:24:04] Production.INFO: count ==21
[2025-01-13 14:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:24:04] Production.INFO: Account Balance Start.
[2025-01-13 14:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:24:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239532') start
[2025-01-13 14:24:04] Production.INFO: 117
[2025-01-13 14:24:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:24:04] Production.ERROR: done
[2025-01-13 14:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239532') end
[2025-01-13 14:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:24:04] Production.INFO: 1
[2025-01-13 14:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:24:04] Production.INFO: ==10427== Releasing lock...
[2025-01-13 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:24:04] Production.INFO: Total Charge 0
[2025-01-13 14:24:04] Production.INFO: CreateAllLog End
[2025-01-13 14:24:04] Production.INFO: Account Balance End.
[2025-01-13 14:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:24:04] Production.INFO: ==10423== Releasing lock...
[2025-01-13 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:24:05
[end_date_ymd] => 2025-01-13 14:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:24:05' and `end` < '2025-01-13 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-13 14:24:12] Production.ERROR: CronJobId end10
[2025-01-13 14:24:12] Production.INFO: ==10421== Releasing lock...
[2025-01-13 14:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:24:13] Production.INFO: call_cost start
[2025-01-13 14:24:13] Production.INFO: call_cost end
[2025-01-13 14:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:24:14] Production.INFO: ==10417== Releasing lock...
[2025-01-13 14:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:24:22] Production.INFO: count ==5766
[2025-01-13 14:24:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:24:05 - End Time 2025-01-13 14:24:05
[2025-01-13 14:24:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:24:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239534', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:24:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239534', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:24:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239534', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:24:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239534', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:24:24] Production.INFO: ProcessCDR(1,14239534,1,1,2)
[2025-01-13 14:24:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:24:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:24:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:24:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:24:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239534', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:24:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239534', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:24:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:24:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:24:29] Production.INFO: ==10425== Releasing lock...
[2025-01-13 14:24:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:24:29] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 19:25:02] Production.INFO: ==10483== Lock acquired, processing the job...
[2025-01-13 19:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:25:02] Production.INFO: neon service started
[2025-01-13 19:25:02] Production.INFO: neon service started
[2025-01-13 19:25:02] Production.INFO: ==10483== Releasing lock...
[2025-01-13 19:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:25:02] Production.INFO: ==10487== Lock acquired, processing the job...
[2025-01-13 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:25:02] Production.INFO: ==10487== Releasing lock...
[2025-01-13 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:25:02] Production.INFO: ==10485== Lock acquired, processing the job...
[2025-01-13 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:25:03] Production.INFO: ==10485== Releasing lock...
[2025-01-13 14:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:25:03] Production.INFO: ==10491== Lock acquired, processing the job...
[2025-01-13 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:25:03] Production.INFO: ==10493== Lock acquired, processing the job...
[2025-01-13 14:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:25:03] Production.INFO: ==10489== Lock acquired, processing the job...
[2025-01-13 14:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:25:04] Production.INFO: ==10491== Releasing lock...
[2025-01-13 14:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:25:04] Production.INFO: ==10495== Lock acquired, processing the job...
[2025-01-13 14:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:25:04] Production.INFO: ==10498== Lock acquired, processing the job...
[2025-01-13 14:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:25:04] Production.INFO: ==10500== Lock acquired, processing the job...
[2025-01-13 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:25:04] Production.INFO: Account Balance Start.
[2025-01-13 14:25:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:25:04] Production.INFO: 117
[2025-01-13 14:25:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:25:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:25:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:25:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:25:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:25:04] Production.INFO: Total Charge 0
[2025-01-13 14:25:04] Production.INFO: count ==21
[2025-01-13 14:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:25:04] Production.INFO: CreateAllLog End
[2025-01-13 14:25:04] Production.INFO: count ==21
[2025-01-13 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239538') start
[2025-01-13 14:25:04] Production.ERROR: done
[2025-01-13 14:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239538') end
[2025-01-13 14:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:25:04] Production.INFO: 1
[2025-01-13 14:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:25:04] Production.ERROR: done
[2025-01-13 14:25:04] Production.INFO: Account Balance End.
[2025-01-13 14:25:04] Production.INFO: ==10500== Releasing lock...
[2025-01-13 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:25:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:25:05] Production.INFO: ==10495== Releasing lock...
[2025-01-13 14:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:25:06
[end_date_ymd] => 2025-01-13 14:25:06
[RateCDR] => 1
)
[2025-01-13 14:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:25:06' and `end` < '2025-01-13 14:25:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:25:12] Production.ERROR: CronJobId end10
[2025-01-13 14:25:12] Production.INFO: ==10493== Releasing lock...
[2025-01-13 14:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:25:13] Production.INFO: call_cost start
[2025-01-13 14:25:13] Production.INFO: call_cost end
[2025-01-13 14:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:25:14] Production.INFO: ==10489== Releasing lock...
[2025-01-13 14:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:25:23] Production.INFO: count ==5771
[2025-01-13 14:25:26] Production.ERROR: pbx CDR StartTime 2025-01-13 11:25:06 - End Time 2025-01-13 14:25:06
[2025-01-13 14:25:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239539', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239539', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239539', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239539', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:25:26] Production.INFO: ProcessCDR(1,14239539,1,1,2)
[2025-01-13 14:25:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:25:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:25:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:25:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:25:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239539', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:25:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239539', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:25:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:25:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:25:31] Production.INFO: ==10498== Releasing lock...
[2025-01-13 14:25:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:25:31] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 19:26:01] Production.INFO: ==10553== Lock acquired, processing the job...
[2025-01-13 19:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:26:01] Production.INFO: neon service started
[2025-01-13 19:26:01] Production.INFO: neon service started
[2025-01-13 19:26:01] Production.INFO: ==10553== Releasing lock...
[2025-01-13 19:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:26:02] Production.INFO: ==10557== Lock acquired, processing the job...
[2025-01-13 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:26:02] Production.INFO: ==10557== Releasing lock...
[2025-01-13 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:26:02] Production.INFO: ==10555== Lock acquired, processing the job...
[2025-01-13 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:26:02] Production.INFO: ==10555== Releasing lock...
[2025-01-13 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:26:03] Production.INFO: ==10559== Lock acquired, processing the job...
[2025-01-13 14:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:26:03] Production.INFO: ==10565== Lock acquired, processing the job...
[2025-01-13 14:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:26:03] Production.INFO: ==10570== Lock acquired, processing the job...
[2025-01-13 14:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:26:03] Production.INFO: Account Balance Start.
[2025-01-13 14:26:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:26:03] Production.INFO: 117
[2025-01-13 14:26:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:26:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:26:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:26:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:26:03] Production.INFO: count ==21
[2025-01-13 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-13 14:26:03] Production.INFO: count ==21
[2025-01-13 14:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239542') start
[2025-01-13 14:26:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:26:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:26:03] Production.INFO: ==10561== Lock acquired, processing the job...
[2025-01-13 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:26:03] Production.INFO: Total Charge 0
[2025-01-13 14:26:03] Production.INFO: ==10563== Lock acquired, processing the job...
[2025-01-13 14:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:26:03] Production.INFO: CreateAllLog End
[2025-01-13 14:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239542') end
[2025-01-13 14:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:26:03] Production.INFO: 1
[2025-01-13 14:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:26:03] Production.INFO: ==10568== Lock acquired, processing the job...
[2025-01-13 14:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:26:03] Production.INFO: ==10570== Releasing lock...
[2025-01-13 14:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:26:03] Production.INFO: Account Balance End.
[2025-01-13 14:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:26:04] Production.INFO: ==10565== Releasing lock...
[2025-01-13 14:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:26:04] Production.INFO: ==10561== Releasing lock...
[2025-01-13 14:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:26:04] Production.ERROR: done
[2025-01-13 14:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:26:04] Production.ERROR: done
[2025-01-13 14:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:26:05
[end_date_ymd] => 2025-01-13 14:26:05
[RateCDR] => 1
)
[2025-01-13 14:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:26:05' and `end` < '2025-01-13 14:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:26:11] Production.ERROR: CronJobId end10
[2025-01-13 14:26:11] Production.INFO: ==10563== Releasing lock...
[2025-01-13 14:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:26:13] Production.INFO: call_cost start
[2025-01-13 14:26:13] Production.INFO: call_cost end
[2025-01-13 14:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:26:13] Production.INFO: ==10559== Releasing lock...
[2025-01-13 14:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:26:23] Production.INFO: count ==5763
[2025-01-13 14:26:26] Production.ERROR: pbx CDR StartTime 2025-01-13 11:26:05 - End Time 2025-01-13 14:26:05
[2025-01-13 14:26:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239544', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239544', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239544', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239544', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:26:26] Production.INFO: ProcessCDR(1,14239544,1,1,2)
[2025-01-13 14:26:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:26:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:26:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:26:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:26:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239544', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:26:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239544', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:26:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:26:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:26:30] Production.INFO: ==10568== Releasing lock...
[2025-01-13 14:26:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:26:30] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 19:27:02] Production.INFO: ==10624== Lock acquired, processing the job...
[2025-01-13 19:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:27:02] Production.INFO: neon service started
[2025-01-13 19:27:02] Production.INFO: neon service started
[2025-01-13 19:27:02] Production.INFO: ==10624== Releasing lock...
[2025-01-13 19:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:27:02] Production.INFO: ==10626== Lock acquired, processing the job...
[2025-01-13 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:27:02] Production.INFO: ==10628== Lock acquired, processing the job...
[2025-01-13 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:27:02] Production.INFO: ==10626== Releasing lock...
[2025-01-13 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:27:02] Production.INFO: ==10628== Releasing lock...
[2025-01-13 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:27:03] Production.INFO: ==10631== Lock acquired, processing the job...
[2025-01-13 14:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:27:03] Production.INFO: ==10633== Lock acquired, processing the job...
[2025-01-13 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:27:03] Production.INFO: ==10635== Lock acquired, processing the job...
[2025-01-13 14:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:27:03] Production.INFO: ==10639== Lock acquired, processing the job...
[2025-01-13 14:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:27:04] Production.INFO: ==10637== Lock acquired, processing the job...
[2025-01-13 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:27:04] Production.INFO: ==10641== Lock acquired, processing the job...
[2025-01-13 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:27:04] Production.INFO: Account Balance Start.
[2025-01-13 14:27:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:27:04] Production.INFO: 117
[2025-01-13 14:27:04] Production.INFO: ==10633== Releasing lock...
[2025-01-13 14:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:27:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:27:04] Production.INFO: count ==21
[2025-01-13 14:27:04] Production.INFO: Date 2025-01-09
[2025-01-13 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-13 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:27:04] Production.INFO: count ==21
[2025-01-13 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239548') start
[2025-01-13 14:27:04] Production.ERROR: done
[2025-01-13 14:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:27:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239548') end
[2025-01-13 14:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:27:04] Production.INFO: 1
[2025-01-13 14:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:27:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:27:04] Production.INFO: ==10641== Releasing lock...
[2025-01-13 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:27:04] Production.ERROR: done
[2025-01-13 14:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:27:04] Production.INFO: Total Charge 0
[2025-01-13 14:27:04] Production.INFO: CreateAllLog End
[2025-01-13 14:27:04] Production.INFO: Account Balance End.
[2025-01-13 14:27:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:27:05] Production.INFO: ==10637== Releasing lock...
[2025-01-13 14:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:27:05
[end_date_ymd] => 2025-01-13 14:27:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:27:05' and `end` < '2025-01-13 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-13 14:27:12] Production.ERROR: CronJobId end10
[2025-01-13 14:27:12] Production.INFO: ==10635== Releasing lock...
[2025-01-13 14:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:27:13] Production.INFO: call_cost start
[2025-01-13 14:27:13] Production.INFO: call_cost end
[2025-01-13 14:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:27:14] Production.INFO: ==10631== Releasing lock...
[2025-01-13 14:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:27:23] Production.INFO: count ==5802
[2025-01-13 14:27:26] Production.ERROR: pbx CDR StartTime 2025-01-13 11:27:05 - End Time 2025-01-13 14:27:05
[2025-01-13 14:27:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239549', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239549', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239549', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239549', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:27:26] Production.INFO: ProcessCDR(1,14239549,1,1,2)
[2025-01-13 14:27:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:27:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:27:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:27:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:27:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239549', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:27:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239549', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:27:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:27:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:27:31] Production.INFO: ==10639== Releasing lock...
[2025-01-13 14:27:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:27:31] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:28:01] Production.INFO: ==10693== Lock acquired, processing the job...
[2025-01-13 19:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:28:01] Production.INFO: neon service started
[2025-01-13 19:28:01] Production.INFO: neon service started
[2025-01-13 19:28:01] Production.INFO: ==10693== Releasing lock...
[2025-01-13 19:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:28:02] Production.INFO: ==10697== Lock acquired, processing the job...
[2025-01-13 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:28:02] Production.INFO: ==10697== Releasing lock...
[2025-01-13 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:28:02] Production.INFO: ==10695== Lock acquired, processing the job...
[2025-01-13 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:28:02] Production.INFO: ==10695== Releasing lock...
[2025-01-13 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:28:03] Production.INFO: ==10706== Lock acquired, processing the job...
[2025-01-13 14:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:28:03] Production.INFO: ==10700== Lock acquired, processing the job...
[2025-01-13 14:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:28:03] Production.INFO: ==10708== Lock acquired, processing the job...
[2025-01-13 14:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:28:03] Production.INFO: ==10702== Lock acquired, processing the job...
[2025-01-13 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:28:03] Production.INFO: Account Balance Start.
[2025-01-13 14:28:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:28:03] Production.INFO: 117
[2025-01-13 14:28:03] Production.INFO: ==10704== Lock acquired, processing the job...
[2025-01-13 14:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:28:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:28:03] Production.INFO: ==10710== Lock acquired, processing the job...
[2025-01-13 14:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:28:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:28:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:28:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:28:03] Production.ERROR: done
[2025-01-13 14:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:28:03] Production.INFO: ==10702== Releasing lock...
[2025-01-13 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:28:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:28:03] Production.ERROR: done
[2025-01-13 14:28:03] Production.INFO: count ==21
[2025-01-13 14:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:28:03] Production.INFO: count ==21
[2025-01-13 14:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239553') start
[2025-01-13 14:28:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:28:04] Production.INFO: Total Charge 0
[2025-01-13 14:28:04] Production.INFO: CreateAllLog End
[2025-01-13 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239553') end
[2025-01-13 14:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:28:04] Production.INFO: 1
[2025-01-13 14:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:28:04] Production.INFO: ==10710== Releasing lock...
[2025-01-13 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:28:04] Production.INFO: Account Balance End.
[2025-01-13 14:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:28:04] Production.INFO: ==10706== Releasing lock...
[2025-01-13 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:28:04
[end_date_ymd] => 2025-01-13 14:28:04
[RateCDR] => 1
)
[2025-01-13 14: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-13 11:28:04' and `end` < '2025-01-13 14: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-13 14:28:11] Production.ERROR: CronJobId end10
[2025-01-13 14:28:11] Production.INFO: ==10704== Releasing lock...
[2025-01-13 14:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:28:14] Production.INFO: call_cost start
[2025-01-13 14:28:14] Production.INFO: call_cost end
[2025-01-13 14:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:28:14] Production.INFO: ==10700== Releasing lock...
[2025-01-13 14:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:28:20] Production.INFO: count ==5799
[2025-01-13 14:28:22] Production.ERROR: pbx CDR StartTime 2025-01-13 11:28:04 - End Time 2025-01-13 14:28:04
[2025-01-13 14:28:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239554', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239554', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239554', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239554', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:28:22] Production.INFO: ProcessCDR(1,14239554,1,1,2)
[2025-01-13 14:28:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239554', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239554', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:28:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:28:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:28:27] Production.INFO: ==10708== Releasing lock...
[2025-01-13 14:28:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:28:27] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:29:02] Production.INFO: ==10764== Lock acquired, processing the job...
[2025-01-13 19:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:29:02] Production.INFO: neon service started
[2025-01-13 19:29:02] Production.INFO: neon service started
[2025-01-13 19:29:02] Production.INFO: ==10764== Releasing lock...
[2025-01-13 19:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:29:02] Production.INFO: ==10766== Lock acquired, processing the job...
[2025-01-13 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:29:02] Production.INFO: ==10766== Releasing lock...
[2025-01-13 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:29:02] Production.INFO: ==10768== Lock acquired, processing the job...
[2025-01-13 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:29:02] Production.INFO: ==10768== Releasing lock...
[2025-01-13 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:29:03] Production.INFO: ==10774== Lock acquired, processing the job...
[2025-01-13 14:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:29:03] Production.INFO: ==10780== Lock acquired, processing the job...
[2025-01-13 14:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:29:03] Production.INFO: ==10770== Lock acquired, processing the job...
[2025-01-13 14:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:29:03] Production.INFO: ==10772== Lock acquired, processing the job...
[2025-01-13 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:29:03] Production.INFO: ==10776== Lock acquired, processing the job...
[2025-01-13 14:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:29:03] Production.INFO: count ==21
[2025-01-13 14:29:03] Production.INFO: ==10778== Lock acquired, processing the job...
[2025-01-13 14:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:29:04] Production.INFO: count ==21
[2025-01-13 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239555') start
[2025-01-13 14:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:29:04] Production.INFO: Account Balance Start.
[2025-01-13 14:29:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:29:04] Production.INFO: 117
[2025-01-13 14:29:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:29:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:29:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239555') end
[2025-01-13 14:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:29:04] Production.INFO: 1
[2025-01-13 14:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:29:04] Production.INFO: ==10780== Releasing lock...
[2025-01-13 14:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:29:04] Production.INFO: ==10772== Releasing lock...
[2025-01-13 14:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:29:04] Production.INFO: Total Charge 0
[2025-01-13 14:29:04] Production.INFO: CreateAllLog End
[2025-01-13 14:29:04] Production.ERROR: done
[2025-01-13 14:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:29:04] Production.INFO: Account Balance End.
[2025-01-13 14:29:04] Production.ERROR: done
[2025-01-13 14:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:29:04] Production.INFO: ==10776== Releasing lock...
[2025-01-13 14:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:29:05
[end_date_ymd] => 2025-01-13 14:29:05
[RateCDR] => 1
)
[2025-01-13 14:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:29:05' and `end` < '2025-01-13 14:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:29:11] Production.ERROR: CronJobId end10
[2025-01-13 14:29:11] Production.INFO: ==10774== Releasing lock...
[2025-01-13 14:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:29:13] Production.INFO: call_cost start
[2025-01-13 14:29:13] Production.INFO: call_cost end
[2025-01-13 14:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:29:14] Production.INFO: ==10770== Releasing lock...
[2025-01-13 14:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:29:21] Production.INFO: count ==5808
[2025-01-13 14:29:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:29:05 - End Time 2025-01-13 14:29:05
[2025-01-13 14:29:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239559', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239559', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239559', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239559', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:29:24] Production.INFO: ProcessCDR(1,14239559,1,1,2)
[2025-01-13 14:29:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:29:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:29:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:29:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:29:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239559', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:29:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239559', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:29:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:29:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:29:29] Production.INFO: ==10778== Releasing lock...
[2025-01-13 14:29:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:29:29] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:30:01] Production.INFO: ==10874== Lock acquired, processing the job...
[2025-01-13 19:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:30:01] Production.INFO: neon service started
[2025-01-13 19:30:01] Production.INFO: neon service started
[2025-01-13 19:30:01] Production.INFO: ==10874== Releasing lock...
[2025-01-13 19:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:30:01] Production.INFO: ==10876== Lock acquired, processing the job...
[2025-01-13 14:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:30:02] Production.INFO: ==10878== Lock acquired, processing the job...
[2025-01-13 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:30:02] Production.INFO: ==10876== Releasing lock...
[2025-01-13 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:30:02] Production.INFO: ==10878== Releasing lock...
[2025-01-13 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:30:03] Production.INFO: ==10881== Lock acquired, processing the job...
[2025-01-13 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 14:30:03] Production.INFO: ==10883== Lock acquired, processing the job...
[2025-01-13 14:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 14:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 14:30:03] Production.INFO: ==10881== Releasing lock...
[2025-01-13 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 14:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 14:30:03] Production.INFO: ==10887== Lock acquired, processing the job...
[2025-01-13 14:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:30:03] Production.INFO: ==10895== Lock acquired, processing the job...
[2025-01-13 14:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:30:03] Production.INFO: ==10885== Lock acquired, processing the job...
[2025-01-13 14:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:30:03] Production.INFO: ==10889== Lock acquired, processing the job...
[2025-01-13 14:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:30:03] Production.INFO: ==10891== Lock acquired, processing the job...
[2025-01-13 14:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:30:03] Production.INFO: ==10893== Lock acquired, processing the job...
[2025-01-13 14:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 14:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14: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-13 14:30:03] Production.INFO: Account Balance Start.
[2025-01-13 14:30:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:30:03] Production.INFO: 117
[2025-01-13 14:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:30:03] Production.INFO: count ==21
[2025-01-13 14:30:03] Production.INFO: Date 2025-01-08
[2025-01-13 14: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-13 14:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:30:03] Production.INFO: count ==21
[2025-01-13 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239562') start
[2025-01-13 14:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:30:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239562') end
[2025-01-13 14:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:30:04] Production.INFO: 1
[2025-01-13 14:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:30:04] Production.INFO: ==10895== Releasing lock...
[2025-01-13 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:30:04] Production.ERROR: done
[2025-01-13 14:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:30:04] Production.ERROR: done
[2025-01-13 14:30:04] Production.INFO: ==10885== Releasing lock...
[2025-01-13 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 14:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239564', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 14:30:04] Production.INFO: Total Charge 0
[2025-01-13 14:30:04] Production.ERROR: done
[2025-01-13 14:30:04] Production.INFO: CreateAllLog End
[2025-01-13 14:30:04] Production.INFO: Account Balance End.
[2025-01-13 14:30:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:30:04] Production.INFO: ==10889== Releasing lock...
[2025-01-13 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:30:05
[end_date_ymd] => 2025-01-13 14:30:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:30:05' and `end` < '2025-01-13 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-13 14:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239564', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 14:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 14:30:08] Production.INFO: ProcessCDR(1,14239564,1,1,2)
[2025-01-13 14:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239564,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239564,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:30:08] Production.INFO: ==10893== Releasing lock...
[2025-01-13 14:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 14:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 14:30:13] Production.ERROR: CronJobId end10
[2025-01-13 14:30:13] Production.INFO: ==10887== Releasing lock...
[2025-01-13 14:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:30:14] Production.INFO: call_cost start
[2025-01-13 14:30:14] Production.INFO: call_cost end
[2025-01-13 14:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:30:15] Production.INFO: ==10883== Releasing lock...
[2025-01-13 14:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:30:20] Production.INFO: count ==5821
[2025-01-13 14:30:22] Production.ERROR: pbx CDR StartTime 2025-01-13 11:30:05 - End Time 2025-01-13 14:30:05
[2025-01-13 14:30:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239565', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239565', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239565', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239565', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:30:22] Production.INFO: ProcessCDR(1,14239565,1,1,2)
[2025-01-13 14:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:30:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:30:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239565', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239565', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:30:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:30:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:30:27] Production.INFO: ==10891== Releasing lock...
[2025-01-13 14:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:30:27] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:31:01] Production.INFO: ==10949== Lock acquired, processing the job...
[2025-01-13 19:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:31:01] Production.INFO: neon service started
[2025-01-13 19:31:02] Production.INFO: neon service started
[2025-01-13 19:31:02] Production.INFO: ==10949== Releasing lock...
[2025-01-13 19:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:31:02] Production.INFO: ==10951== Lock acquired, processing the job...
[2025-01-13 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:31:02] Production.INFO: ==10953== Lock acquired, processing the job...
[2025-01-13 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:31:02] Production.INFO: ==10953== Releasing lock...
[2025-01-13 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:31:02] Production.INFO: ==10951== Releasing lock...
[2025-01-13 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:31:03] Production.INFO: ==10956== Lock acquired, processing the job...
[2025-01-13 14:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:31:03] Production.INFO: ==10962== Lock acquired, processing the job...
[2025-01-13 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:31:03] Production.INFO: ==10958== Lock acquired, processing the job...
[2025-01-13 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:31:03] Production.INFO: ==10966== Lock acquired, processing the job...
[2025-01-13 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:31:03] Production.INFO: Account Balance Start.
[2025-01-13 14:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:31:03] Production.INFO: 117
[2025-01-13 14:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:31:03] Production.INFO: ==10960== Lock acquired, processing the job...
[2025-01-13 14:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:31:03] Production.INFO: count ==21
[2025-01-13 14:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:31:03] Production.INFO: count ==21
[2025-01-13 14:31:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239568') start
[2025-01-13 14:31:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:31:03] Production.INFO: Total Charge 0
[2025-01-13 14:31:03] Production.INFO: ==10964== Lock acquired, processing the job...
[2025-01-13 14:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:31:03] Production.INFO: CreateAllLog End
[2025-01-13 14:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239568') end
[2025-01-13 14:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:31:03] Production.INFO: 1
[2025-01-13 14:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:31:03] Production.INFO: ==10958== Releasing lock...
[2025-01-13 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:31:04] Production.INFO: Account Balance End.
[2025-01-13 14:31:04] Production.INFO: ==10966== Releasing lock...
[2025-01-13 14:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:31:04] Production.INFO: ==10962== Releasing lock...
[2025-01-13 14:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:31:04] Production.ERROR: done
[2025-01-13 14:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:31:04] Production.ERROR: done
[2025-01-13 14:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:31:05
[end_date_ymd] => 2025-01-13 14:31:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:31:05' and `end` < '2025-01-13 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-13 14:31:12] Production.ERROR: CronJobId end10
[2025-01-13 14:31:12] Production.INFO: ==10960== Releasing lock...
[2025-01-13 14:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:31:13] Production.INFO: call_cost start
[2025-01-13 14:31:13] Production.INFO: call_cost end
[2025-01-13 14:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:31:14] Production.INFO: ==10956== Releasing lock...
[2025-01-13 14:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:31:23] Production.INFO: count ==5866
[2025-01-13 14:31:25] Production.ERROR: pbx CDR StartTime 2025-01-13 11:31:05 - End Time 2025-01-13 14:31:05
[2025-01-13 14:31:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239570', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239570', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239570', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239570', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:31:25] Production.INFO: ProcessCDR(1,14239570,1,1,2)
[2025-01-13 14:31:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:31:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:31:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:31:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:31:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239570', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:31:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239570', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:31:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:31:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:31:30] Production.INFO: ==10964== Releasing lock...
[2025-01-13 14:31:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:31:30] Production.INFO: 72 MB #Memory Used#
[2025-01-13 19:32:01] Production.INFO: ==11018== Lock acquired, processing the job...
[2025-01-13 19:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:32:01] Production.INFO: neon service started
[2025-01-13 19:32:01] Production.INFO: neon service started
[2025-01-13 19:32:01] Production.INFO: ==11018== Releasing lock...
[2025-01-13 19:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:32:01] Production.INFO: ==11020== Lock acquired, processing the job...
[2025-01-13 14:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:32:02] Production.INFO: ==11022== Lock acquired, processing the job...
[2025-01-13 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:32:02] Production.INFO: ==11020== Releasing lock...
[2025-01-13 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:32:02] Production.INFO: ==11022== Releasing lock...
[2025-01-13 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:32:02] Production.INFO: ==11025== Lock acquired, processing the job...
[2025-01-13 14:32:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:32:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:32:02] Production.INFO: ==11027== Lock acquired, processing the job...
[2025-01-13 14:32:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:32:02] Production.INFO: ==11031== Lock acquired, processing the job...
[2025-01-13 14:32:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:32:03] Production.INFO: Account Balance Start.
[2025-01-13 14:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:32:03] Production.INFO: 117
[2025-01-13 14:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:32:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:32:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:32:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:32:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:32:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:32:03] Production.INFO: ==11029== Lock acquired, processing the job...
[2025-01-13 14:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:32:03] Production.INFO: ==11035== Lock acquired, processing the job...
[2025-01-13 14:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:32:03] Production.INFO: ==11033== Lock acquired, processing the job...
[2025-01-13 14:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:32:03] Production.INFO: ==11027== Releasing lock...
[2025-01-13 14:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:32:03] Production.INFO: Total Charge 0
[2025-01-13 14:32:03] Production.INFO: CreateAllLog End
[2025-01-13 14:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 14:32:03] Production.INFO: count ==21
[2025-01-13 14:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:32:03] Production.INFO: count ==21
[2025-01-13 14:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239574') start
[2025-01-13 14:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:32:03] Production.INFO: Account Balance End.
[2025-01-13 14:32:03] Production.ERROR: CronJobId end 12
[2025-01-13 14:32:03] Production.INFO: ==11031== Releasing lock...
[2025-01-13 14:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239574') end
[2025-01-13 14:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:32:03] Production.INFO: 1
[2025-01-13 14:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:32:03] Production.ERROR: done
[2025-01-13 14:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:32:03] Production.INFO: ==11035== Releasing lock...
[2025-01-13 14:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:32:03] Production.ERROR: done
[2025-01-13 14:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:32:04
[end_date_ymd] => 2025-01-13 14:32:04
[RateCDR] => 1
)
[2025-01-13 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-13 11:32:04' and `end` < '2025-01-13 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-13 14:32:11] Production.ERROR: CronJobId end10
[2025-01-13 14:32:11] Production.INFO: ==11029== Releasing lock...
[2025-01-13 14:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:32:12] Production.INFO: call_cost start
[2025-01-13 14:32:12] Production.INFO: call_cost end
[2025-01-13 14:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:32:13] Production.INFO: ==11025== Releasing lock...
[2025-01-13 14:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:32:28] Production.INFO: count ==5886
[2025-01-13 14:32:30] Production.ERROR: pbx CDR StartTime 2025-01-13 11:32:04 - End Time 2025-01-13 14:32:04
[2025-01-13 14:32:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:32:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239575', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:32:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239575', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:32:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239575', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:32:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239575', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:32:30] Production.INFO: ProcessCDR(1,14239575,1,1,2)
[2025-01-13 14:32:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:32:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:32:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:32:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:32:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239575', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:32:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239575', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:32:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:32:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:32:35] Production.INFO: ==11033== Releasing lock...
[2025-01-13 14:32:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:32:35] Production.INFO: 72 MB #Memory Used#
[2025-01-13 19:33:01] Production.INFO: ==11090== Lock acquired, processing the job...
[2025-01-13 19:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:33:01] Production.INFO: neon service started
[2025-01-13 19:33:01] Production.INFO: neon service started
[2025-01-13 19:33:01] Production.INFO: ==11090== Releasing lock...
[2025-01-13 19:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:33:02] Production.INFO: ==11094== Lock acquired, processing the job...
[2025-01-13 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:33:02] Production.INFO: ==11092== Lock acquired, processing the job...
[2025-01-13 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:33:02] Production.INFO: ==11094== Releasing lock...
[2025-01-13 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:33:02] Production.INFO: ==11092== Releasing lock...
[2025-01-13 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:33:03] Production.INFO: ==11097== Lock acquired, processing the job...
[2025-01-13 14:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:33:03] Production.INFO: ==11099== Lock acquired, processing the job...
[2025-01-13 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:33:03] Production.INFO: ==11101== Lock acquired, processing the job...
[2025-01-13 14:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:33:03] Production.INFO: ==11103== Lock acquired, processing the job...
[2025-01-13 14:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:33:03] Production.INFO: ==11107== Lock acquired, processing the job...
[2025-01-13 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:33:03] Production.INFO: ==11105== Lock acquired, processing the job...
[2025-01-13 14:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:33:03] Production.INFO: Account Balance Start.
[2025-01-13 14:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:33:03] Production.INFO: 117
[2025-01-13 14:33:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:33:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:33:03] Production.INFO: ==11099== Releasing lock...
[2025-01-13 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:33:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:33:03] Production.INFO: count ==21
[2025-01-13 14:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:33:03] Production.INFO: count ==21
[2025-01-13 14:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239579') start
[2025-01-13 14:33:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239579') end
[2025-01-13 14:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:33:04] Production.INFO: 1
[2025-01-13 14:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:33:04] Production.INFO: Total Charge 0
[2025-01-13 14:33:04] Production.ERROR: done
[2025-01-13 14:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:33:04] Production.INFO: CreateAllLog End
[2025-01-13 14:33:04] Production.INFO: ==11107== Releasing lock...
[2025-01-13 14:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:33:04] Production.ERROR: done
[2025-01-13 14:33:04] Production.INFO: Account Balance End.
[2025-01-13 14:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:33:04] Production.INFO: ==11103== Releasing lock...
[2025-01-13 14:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:33:05
[end_date_ymd] => 2025-01-13 14:33:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:33:05' and `end` < '2025-01-13 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-13 14:33:12] Production.ERROR: CronJobId end10
[2025-01-13 14:33:12] Production.INFO: ==11101== Releasing lock...
[2025-01-13 14:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:33:13] Production.INFO: call_cost start
[2025-01-13 14:33:13] Production.INFO: call_cost end
[2025-01-13 14:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:33:13] Production.INFO: ==11097== Releasing lock...
[2025-01-13 14:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:33:25] Production.INFO: count ==5882
[2025-01-13 14:33:27] Production.ERROR: pbx CDR StartTime 2025-01-13 11:33:05 - End Time 2025-01-13 14:33:05
[2025-01-13 14:33:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239580', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239580', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239580', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:33:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239580', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:33:27] Production.INFO: ProcessCDR(1,14239580,1,1,2)
[2025-01-13 14:33:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:33:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:33:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:33:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:33:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239580', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:33:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239580', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:33:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:33:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:33:32] Production.INFO: ==11105== Releasing lock...
[2025-01-13 14:33:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:33:32] Production.INFO: 72 MB #Memory Used#
[2025-01-13 19:34:02] Production.INFO: ==11161== Lock acquired, processing the job...
[2025-01-13 19:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:34:02] Production.INFO: neon service started
[2025-01-13 19:34:02] Production.INFO: neon service started
[2025-01-13 19:34:02] Production.INFO: ==11161== Releasing lock...
[2025-01-13 19:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:34:02] Production.INFO: ==11163== Lock acquired, processing the job...
[2025-01-13 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:34:02] Production.INFO: ==11163== Releasing lock...
[2025-01-13 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:34:03] Production.INFO: ==11165== Lock acquired, processing the job...
[2025-01-13 19:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:34:03] Production.INFO: ==11165== Releasing lock...
[2025-01-13 19:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:34:03] Production.INFO: ==11173== Lock acquired, processing the job...
[2025-01-13 14:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:34:03] Production.INFO: ==11167== Lock acquired, processing the job...
[2025-01-13 14:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:34:03] Production.INFO: ==11169== Lock acquired, processing the job...
[2025-01-13 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:34:03] Production.INFO: Account Balance Start.
[2025-01-13 14:34:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:34:03] Production.INFO: 117
[2025-01-13 14:34:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:34:03] Production.INFO: ==11171== Lock acquired, processing the job...
[2025-01-13 14:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:34:03] Production.INFO: ==11177== Lock acquired, processing the job...
[2025-01-13 14:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:34:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:34:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:34:03] Production.INFO: ==11175== Lock acquired, processing the job...
[2025-01-13 14:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 14:34:04] Production.INFO: count ==21
[2025-01-13 14:34:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:34:04] Production.INFO: count ==21
[2025-01-13 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239584') start
[2025-01-13 14:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:34:04] Production.INFO: ==11169== Releasing lock...
[2025-01-13 14:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239584') end
[2025-01-13 14:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:34:04] Production.INFO: 1
[2025-01-13 14:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:34:04] Production.INFO: ==11177== Releasing lock...
[2025-01-13 14:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:34:04] Production.INFO: Total Charge 0
[2025-01-13 14:34:04] Production.INFO: CreateAllLog End
[2025-01-13 14:34:04] Production.ERROR: done
[2025-01-13 14:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:34:04] Production.ERROR: done
[2025-01-13 14:34:04] Production.INFO: Account Balance End.
[2025-01-13 14:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:34:04] Production.INFO: ==11173== Releasing lock...
[2025-01-13 14:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:34:05
[end_date_ymd] => 2025-01-13 14:34:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:34:05' and `end` < '2025-01-13 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-13 14:34:12] Production.ERROR: CronJobId end10
[2025-01-13 14:34:12] Production.INFO: ==11171== Releasing lock...
[2025-01-13 14:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:34:14] Production.INFO: call_cost start
[2025-01-13 14:34:14] Production.INFO: call_cost end
[2025-01-13 14:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:34:15] Production.INFO: ==11167== Releasing lock...
[2025-01-13 14:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:34:27] Production.INFO: count ==5866
[2025-01-13 14:34:29] Production.ERROR: pbx CDR StartTime 2025-01-13 11:34:05 - End Time 2025-01-13 14:34:05
[2025-01-13 14:34:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239585', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239585', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239585', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239585', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:34:29] Production.INFO: ProcessCDR(1,14239585,1,1,2)
[2025-01-13 14:34:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:34:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:34:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:34:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:34:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239585', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:34:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239585', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:34:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:34:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:34:34] Production.INFO: ==11175== Releasing lock...
[2025-01-13 14:34:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:34:34] Production.INFO: 72 MB #Memory Used#
[2025-01-13 19:35:01] Production.INFO: ==11244== Lock acquired, processing the job...
[2025-01-13 19:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:35:01] Production.INFO: neon service started
[2025-01-13 19:35:01] Production.INFO: neon service started
[2025-01-13 19:35:01] Production.INFO: ==11244== Releasing lock...
[2025-01-13 19:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:35:02] Production.INFO: ==11246== Lock acquired, processing the job...
[2025-01-13 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:35:02] Production.INFO: ==11248== Lock acquired, processing the job...
[2025-01-13 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:35:02] Production.INFO: ==11248== Releasing lock...
[2025-01-13 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:35:02] Production.INFO: ==11246== Releasing lock...
[2025-01-13 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:35:03] Production.INFO: ==11251== Lock acquired, processing the job...
[2025-01-13 14:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:35:03] Production.INFO: ==11261== Lock acquired, processing the job...
[2025-01-13 14:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:35:03] Production.INFO: ==11253== Lock acquired, processing the job...
[2025-01-13 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:35:03] Production.INFO: ==11255== Lock acquired, processing the job...
[2025-01-13 14:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:35:03] Production.INFO: ==11257== Lock acquired, processing the job...
[2025-01-13 14:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:35:03] Production.INFO: ==11259== Lock acquired, processing the job...
[2025-01-13 14:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 14:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:35:03] Production.INFO: Account Balance Start.
[2025-01-13 14:35:03] Production.INFO: count ==21
[2025-01-13 14:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 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-13 14:35:03] Production.INFO: 117
[2025-01-13 14:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:35:03] Production.INFO: count ==21
[2025-01-13 14:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239587') start
[2025-01-13 14:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239587') end
[2025-01-13 14:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:35:03] Production.INFO: 1
[2025-01-13 14:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:35:04] Production.INFO: ==11261== Releasing lock...
[2025-01-13 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:35:04] Production.ERROR: done
[2025-01-13 14:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:35:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:35:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:35:04] Production.ERROR: done
[2025-01-13 14:35:04] Production.INFO: ==11253== Releasing lock...
[2025-01-13 14:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:35:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:35:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:35:04] Production.INFO: Total Charge 0
[2025-01-13 14:35:04] Production.INFO: CreateAllLog End
[2025-01-13 14:35:04] Production.INFO: Account Balance End.
[2025-01-13 14:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:35:04] Production.INFO: ==11257== Releasing lock...
[2025-01-13 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:35:05
[end_date_ymd] => 2025-01-13 14:35:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:35:05' and `end` < '2025-01-13 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-13 14:35:12] Production.ERROR: CronJobId end10
[2025-01-13 14:35:12] Production.INFO: ==11255== Releasing lock...
[2025-01-13 14:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:35:13] Production.INFO: call_cost start
[2025-01-13 14:35:13] Production.INFO: call_cost end
[2025-01-13 14:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:35:14] Production.INFO: ==11251== Releasing lock...
[2025-01-13 14:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:35:25] Production.INFO: count ==5866
[2025-01-13 14:35:27] Production.ERROR: pbx CDR StartTime 2025-01-13 11:35:05 - End Time 2025-01-13 14:35:05
[2025-01-13 14:35:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239590', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239590', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239590', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239590', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:35:27] Production.INFO: ProcessCDR(1,14239590,1,1,2)
[2025-01-13 14:35:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:35:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:35:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:35:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:35:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239590', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:35:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239590', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:35:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:35:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:35:32] Production.INFO: ==11259== Releasing lock...
[2025-01-13 14:35:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:35:32] Production.INFO: 72 MB #Memory Used#
[2025-01-13 19:36:02] Production.INFO: ==11319== Lock acquired, processing the job...
[2025-01-13 19:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:36:02] Production.INFO: neon service started
[2025-01-13 19:36:02] Production.INFO: neon service started
[2025-01-13 19:36:02] Production.INFO: ==11319== Releasing lock...
[2025-01-13 19:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:36:02] Production.INFO: ==11323== Lock acquired, processing the job...
[2025-01-13 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:36:02] Production.INFO: ==11323== Releasing lock...
[2025-01-13 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:36:02] Production.INFO: ==11321== Lock acquired, processing the job...
[2025-01-13 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:36:03] Production.INFO: ==11321== Releasing lock...
[2025-01-13 14:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:36:04] Production.INFO: ==11326== Lock acquired, processing the job...
[2025-01-13 14:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:36:04] Production.INFO: ==11328== Lock acquired, processing the job...
[2025-01-13 14:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:36:04] Production.INFO: ==11332== Lock acquired, processing the job...
[2025-01-13 14:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:36:04] Production.INFO: ==11330== Lock acquired, processing the job...
[2025-01-13 14:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:36:04] Production.INFO: Account Balance Start.
[2025-01-13 14:36:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:36:04] Production.INFO: 117
[2025-01-13 14:36:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:36:04] Production.INFO: ==11336== Lock acquired, processing the job...
[2025-01-13 14:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:36:04] Production.INFO: ==11334== Lock acquired, processing the job...
[2025-01-13 14:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:36:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:36:04] Production.INFO: ==11328== Releasing lock...
[2025-01-13 14:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:36:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:36:04] Production.INFO: count ==21
[2025-01-13 14:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:36:04] Production.INFO: count ==21
[2025-01-13 14:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239594') start
[2025-01-13 14:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:36:04] Production.INFO: Total Charge 0
[2025-01-13 14:36:04] Production.INFO: CreateAllLog End
[2025-01-13 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239594') end
[2025-01-13 14:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:36:04] Production.INFO: 1
[2025-01-13 14:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:36:04] Production.ERROR: done
[2025-01-13 14:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:36:04] Production.INFO: ==11336== Releasing lock...
[2025-01-13 14:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:36:05] Production.ERROR: done
[2025-01-13 14:36:05] Production.INFO: Account Balance End.
[2025-01-13 14:36:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:36:05] Production.INFO: ==11332== Releasing lock...
[2025-01-13 14:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:36:06
[end_date_ymd] => 2025-01-13 14:36:06
[RateCDR] => 1
)
[2025-01-13 14:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:36:06' and `end` < '2025-01-13 14:36:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:36:12] Production.ERROR: CronJobId end10
[2025-01-13 14:36:12] Production.INFO: ==11330== Releasing lock...
[2025-01-13 14:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:36:14] Production.INFO: call_cost start
[2025-01-13 14:36:14] Production.INFO: call_cost end
[2025-01-13 14:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:36:14] Production.INFO: ==11326== Releasing lock...
[2025-01-13 14:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:36:32] Production.INFO: count ==5853
[2025-01-13 14:36:34] Production.ERROR: pbx CDR StartTime 2025-01-13 11:36:06 - End Time 2025-01-13 14:36:06
[2025-01-13 14:36:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:36:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239595', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:36:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239595', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:36:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239595', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:36:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239595', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:36:34] Production.INFO: ProcessCDR(1,14239595,1,1,2)
[2025-01-13 14:36:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:36:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:36:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:36:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:36:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239595', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:36:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239595', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:36:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:36:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:36:39] Production.INFO: ==11334== Releasing lock...
[2025-01-13 14:36:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:36:39] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:37:01] Production.INFO: ==11394== Lock acquired, processing the job...
[2025-01-13 19:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:37:01] Production.INFO: neon service started
[2025-01-13 19:37:01] Production.INFO: neon service started
[2025-01-13 19:37:01] Production.INFO: ==11394== Releasing lock...
[2025-01-13 19:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:37:02] Production.INFO: ==11398== Lock acquired, processing the job...
[2025-01-13 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:37:02] Production.INFO: ==11398== Releasing lock...
[2025-01-13 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:37:02] Production.INFO: ==11396== Lock acquired, processing the job...
[2025-01-13 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:37:02] Production.INFO: ==11396== Releasing lock...
[2025-01-13 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:37:03] Production.INFO: ==11400== Lock acquired, processing the job...
[2025-01-13 14:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:37:03] Production.INFO: ==11402== Lock acquired, processing the job...
[2025-01-13 14:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:37:03] Production.INFO: ==11404== Lock acquired, processing the job...
[2025-01-13 14:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:37:03] Production.INFO: ==11407== Lock acquired, processing the job...
[2025-01-13 14:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:37:03] Production.INFO: ==11409== Lock acquired, processing the job...
[2025-01-13 14:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:37:03] Production.INFO: ==11411== Lock acquired, processing the job...
[2025-01-13 14:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:37:03] Production.INFO: Account Balance Start.
[2025-01-13 14:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:37:03] Production.INFO: 117
[2025-01-13 14:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:37:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:37:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:37:03] Production.INFO: ==11402== Releasing lock...
[2025-01-13 14:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:37:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:37:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:37:04] Production.INFO: count ==21
[2025-01-13 14:37:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:37:04] Production.INFO: count ==21
[2025-01-13 14:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:37:04] Production.ERROR: done
[2025-01-13 14:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:37:04] Production.INFO: Total Charge 0
[2025-01-13 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239599') start
[2025-01-13 14:37:04] Production.INFO: CreateAllLog End
[2025-01-13 14:37:04] Production.ERROR: done
[2025-01-13 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239599') end
[2025-01-13 14:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:37:04] Production.INFO: 1
[2025-01-13 14:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:37:04] Production.INFO: Account Balance End.
[2025-01-13 14:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:37:04] Production.INFO: ==11407== Releasing lock...
[2025-01-13 14:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:37:04] Production.INFO: ==11411== Releasing lock...
[2025-01-13 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:37:05
[end_date_ymd] => 2025-01-13 14:37:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:37:05' and `end` < '2025-01-13 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-13 14:37:11] Production.ERROR: CronJobId end10
[2025-01-13 14:37:11] Production.INFO: ==11404== Releasing lock...
[2025-01-13 14:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:37:13] Production.INFO: call_cost start
[2025-01-13 14:37:13] Production.INFO: call_cost end
[2025-01-13 14:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:37:13] Production.INFO: ==11400== Releasing lock...
[2025-01-13 14:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:37:34] Production.INFO: count ==5852
[2025-01-13 14:37:37] Production.ERROR: pbx CDR StartTime 2025-01-13 11:37:05 - End Time 2025-01-13 14:37:05
[2025-01-13 14:37:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:37:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239600', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:37:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239600', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:37:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239600', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:37:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239600', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:37:37] Production.INFO: ProcessCDR(1,14239600,1,1,2)
[2025-01-13 14:37:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:37:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:37:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:37:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:37:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239600', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:37:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239600', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:37:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:37:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:37:42] Production.INFO: ==11409== Releasing lock...
[2025-01-13 14:37:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:37:42] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:38:02] Production.INFO: ==11464== Lock acquired, processing the job...
[2025-01-13 19:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:38:02] Production.INFO: neon service started
[2025-01-13 19:38:02] Production.INFO: neon service started
[2025-01-13 19:38:02] Production.INFO: ==11464== Releasing lock...
[2025-01-13 19:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:38:02] Production.INFO: ==11466== Lock acquired, processing the job...
[2025-01-13 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:38:02] Production.INFO: ==11468== Lock acquired, processing the job...
[2025-01-13 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:38:02] Production.INFO: ==11468== Releasing lock...
[2025-01-13 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:38:03] Production.INFO: ==11466== Releasing lock...
[2025-01-13 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:38:04] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-01-13 14:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:38:04] Production.INFO: ==11481== Lock acquired, processing the job...
[2025-01-13 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:38:04] Production.INFO: ==11471== Lock acquired, processing the job...
[2025-01-13 14:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 14:38:04] Production.INFO: ==11473== Lock acquired, processing the job...
[2025-01-13 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:38:04] Production.INFO: count ==21
[2025-01-13 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-13 14:38:04] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-01-13 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:38:04] Production.INFO: count ==21
[2025-01-13 14:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:38:04] Production.INFO: ==11479== Lock acquired, processing the job...
[2025-01-13 14:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239601') start
[2025-01-13 14:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:38:04] Production.INFO: Account Balance Start.
[2025-01-13 14:38:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239601') end
[2025-01-13 14:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:38:04] Production.INFO: 1
[2025-01-13 14:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:38:04] Production.INFO: 117
[2025-01-13 14:38:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:38:04] Production.INFO: ==11481== Releasing lock...
[2025-01-13 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:38:04] Production.INFO: ==11473== Releasing lock...
[2025-01-13 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:38:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:38:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:38:04] Production.ERROR: done
[2025-01-13 14:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:38:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:38:04] Production.ERROR: done
[2025-01-13 14:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:38:05] Production.INFO: Date 2025-01-13
[2025-01-13 14:38:05] Production.INFO: Reseller ==> 0
[2025-01-13 14:38:05] Production.INFO: Total Charge 0
[2025-01-13 14:38:05] Production.INFO: CreateAllLog End
[2025-01-13 14:38:05] Production.INFO: Account Balance End.
[2025-01-13 14:38:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:38:05] Production.INFO: ==11477== Releasing lock...
[2025-01-13 14:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:38:05
[end_date_ymd] => 2025-01-13 14:38:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:38:05' and `end` < '2025-01-13 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-13 14:38:12] Production.ERROR: CronJobId end10
[2025-01-13 14:38:12] Production.INFO: ==11475== Releasing lock...
[2025-01-13 14:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:38:13] Production.INFO: call_cost start
[2025-01-13 14:38:13] Production.INFO: call_cost end
[2025-01-13 14:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:38:14] Production.INFO: ==11471== Releasing lock...
[2025-01-13 14:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:38:26] Production.INFO: count ==5856
[2025-01-13 14:38:29] Production.ERROR: pbx CDR StartTime 2025-01-13 11:38:05 - End Time 2025-01-13 14:38:05
[2025-01-13 14:38:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:38:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239605', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:38:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239605', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:38:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239605', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:38:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239605', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:38:29] Production.INFO: ProcessCDR(1,14239605,1,1,2)
[2025-01-13 14:38:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:38:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:38:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:38:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:38:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239605', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:38:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239605', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:38:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:38:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:38:34] Production.INFO: ==11479== Releasing lock...
[2025-01-13 14:38:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:38:34] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:39:01] Production.INFO: ==11537== Lock acquired, processing the job...
[2025-01-13 19:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:39:01] Production.INFO: neon service started
[2025-01-13 19:39:01] Production.INFO: neon service started
[2025-01-13 19:39:01] Production.INFO: ==11537== Releasing lock...
[2025-01-13 19:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:39:01] Production.INFO: ==11539== Lock acquired, processing the job...
[2025-01-13 14:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:39:02] Production.INFO: ==11541== Lock acquired, processing the job...
[2025-01-13 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 14:39:02] Production.INFO: ==11539== Releasing lock...
[2025-01-13 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:39:02] Production.INFO: ==11541== Releasing lock...
[2025-01-13 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:39:02] Production.INFO: ==11544== Lock acquired, processing the job...
[2025-01-13 14:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:39:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:39:02] Production.INFO: ==11552== Lock acquired, processing the job...
[2025-01-13 14:39:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:39:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:39:03] Production.INFO: ==11546== Lock acquired, processing the job...
[2025-01-13 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:39:03] Production.ERROR: done
[2025-01-13 14:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:39:03] Production.INFO: ==11548== Lock acquired, processing the job...
[2025-01-13 14:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:39:03] Production.INFO: ==11550== Lock acquired, processing the job...
[2025-01-13 14:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:39:03] Production.INFO: ==11554== Lock acquired, processing the job...
[2025-01-13 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:39:03] Production.ERROR: done
[2025-01-13 14:39:03] Production.INFO: Account Balance Start.
[2025-01-13 14:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:39:03] Production.INFO: 117
[2025-01-13 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-13 14:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:39:03] Production.INFO: count ==21
[2025-01-13 14:39:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:39:03] Production.INFO: count ==21
[2025-01-13 14:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239608') start
[2025-01-13 14:39:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:39:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:39:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:39:03] Production.INFO: ==11546== Releasing lock...
[2025-01-13 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239608') end
[2025-01-13 14:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:39:03] Production.INFO: 1
[2025-01-13 14:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:39:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:39:03] Production.INFO: Total Charge 0
[2025-01-13 14:39:03] Production.INFO: CreateAllLog End
[2025-01-13 14:39:03] Production.INFO: ==11554== Releasing lock...
[2025-01-13 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:39:04] Production.INFO: Account Balance End.
[2025-01-13 14:39:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:39:04] Production.INFO: ==11550== Releasing lock...
[2025-01-13 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:39:04
[end_date_ymd] => 2025-01-13 14:39:04
[RateCDR] => 1
)
[2025-01-13 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-13 11:39:04' and `end` < '2025-01-13 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-13 14:39:11] Production.ERROR: CronJobId end10
[2025-01-13 14:39:11] Production.INFO: ==11548== Releasing lock...
[2025-01-13 14:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:39:12] Production.INFO: call_cost start
[2025-01-13 14:39:12] Production.INFO: call_cost end
[2025-01-13 14:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:39:13] Production.INFO: ==11544== Releasing lock...
[2025-01-13 14:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:39:22] Production.INFO: count ==5858
[2025-01-13 14:39:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:39:04 - End Time 2025-01-13 14:39:04
[2025-01-13 14:39:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:39:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239610', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:39:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239610', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:39:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239610', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:39:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239610', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:39:24] Production.INFO: ProcessCDR(1,14239610,1,1,2)
[2025-01-13 14:39:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:39:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:39:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:39:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:39:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239610', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:39:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239610', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:39:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:39:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:39:29] Production.INFO: ==11552== Releasing lock...
[2025-01-13 14:39:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:39:29] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:40:02] Production.INFO: ==11611== Lock acquired, processing the job...
[2025-01-13 19:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:40:02] Production.INFO: neon service started
[2025-01-13 19:40:02] Production.INFO: neon service started
[2025-01-13 19:40:02] Production.INFO: ==11611== Releasing lock...
[2025-01-13 19:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:40:02] Production.INFO: ==11613== Lock acquired, processing the job...
[2025-01-13 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:40:02] Production.INFO: ==11615== Lock acquired, processing the job...
[2025-01-13 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:40:02] Production.INFO: ==11615== Releasing lock...
[2025-01-13 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:40:02] Production.INFO: ==11613== Releasing lock...
[2025-01-13 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:40:04] Production.INFO: ==11624== Lock acquired, processing the job...
[2025-01-13 14:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:40:04] Production.INFO: ==11626== Lock acquired, processing the job...
[2025-01-13 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:40:04] Production.INFO: ==11632== Lock acquired, processing the job...
[2025-01-13 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:40:04] Production.INFO: ==11617== Lock acquired, processing the job...
[2025-01-13 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 14:40:04] Production.INFO: Account Balance Start.
[2025-01-13 14:40:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:40:04] Production.INFO: 117
[2025-01-13 14:40:04] Production.INFO: ==11619== Lock acquired, processing the job...
[2025-01-13 14:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:40:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:40:04] Production.INFO: ==11621== Lock acquired, processing the job...
[2025-01-13 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:40:04] Production.ERROR: CronJob PID - 11619
[2025-01-13 14:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 14:40:04] Production.ERROR: CronJob ID - 5
[2025-01-13 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 14:40:00
[2025-01-13 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:40:04] Production.ERROR: CronJob PID - 11624
[2025-01-13 14:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-13 14:40:04] Production.ERROR: CronJob ID - 10
[2025-01-13 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 14:40:00
[2025-01-13 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:40:04] Production.ERROR: CronJob PID - 11626
[2025-01-13 14:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 14:40:04] Production.ERROR: CronJob ID - 12
[2025-01-13 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 14:40:00
[2025-01-13 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:40:04] Production.ERROR: CronJob PID - 11632
[2025-01-13 14:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 14:40:04] Production.ERROR: CronJob ID - 19
[2025-01-13 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-13 14:40:00
[2025-01-13 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:40:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 14:40:04] Production.INFO: ==11617== Releasing lock...
[2025-01-13 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 14:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 14:40:04] Production.INFO: count ==21
[2025-01-13 14:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:40:04] Production.INFO: count ==21
[2025-01-13 14:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239612') start
[2025-01-13 14:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:40:04] Production.INFO: ==11628== Lock acquired, processing the job...
[2025-01-13 14:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:40:04] Production.INFO: Total Charge 0
[2025-01-13 14:40:04] Production.INFO: ==11630== Lock acquired, processing the job...
[2025-01-13 14:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239612') end
[2025-01-13 14:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:40:04] Production.INFO: 1
[2025-01-13 14:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:40:04] Production.INFO: CreateAllLog End
[2025-01-13 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:40:04] Production.INFO: ==11632== Releasing lock...
[2025-01-13 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:40:04] Production.INFO: ==11621== Releasing lock...
[2025-01-13 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:40:04] Production.INFO: Account Balance End.
[2025-01-13 14:40:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:40:05] Production.INFO: ==11626== Releasing lock...
[2025-01-13 14:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:40:05] Production.ERROR: done
[2025-01-13 14:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:40:05] Production.ERROR: done
[2025-01-13 14:40:05] Production.ERROR: done
[2025-01-13 14:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 14:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239615', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 14:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:40:06
[end_date_ymd] => 2025-01-13 14:40:06
[RateCDR] => 1
)
[2025-01-13 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-13 11:40:06' and `end` < '2025-01-13 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-13 14:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239615', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 14:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 14:40:09] Production.INFO: ProcessCDR(1,14239615,1,1,2)
[2025-01-13 14:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239615,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239615,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:40:09] Production.INFO: ==11630== Releasing lock...
[2025-01-13 14:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 14:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 14:40:13] Production.ERROR: CronJobId end10
[2025-01-13 14:40:13] Production.INFO: ==11624== Releasing lock...
[2025-01-13 14:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:40:15] Production.INFO: call_cost start
[2025-01-13 14:40:15] Production.INFO: call_cost end
[2025-01-13 14:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:40:16] Production.INFO: ==11619== Releasing lock...
[2025-01-13 14:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:40:33] Production.INFO: count ==5878
[2025-01-13 14:40:36] Production.ERROR: pbx CDR StartTime 2025-01-13 11:40:06 - End Time 2025-01-13 14:40:06
[2025-01-13 14:40:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:40:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239616', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:40:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239616', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:40:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239616', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:40:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239616', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:40:36] Production.INFO: ProcessCDR(1,14239616,1,1,2)
[2025-01-13 14:40:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:40:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:40:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:40:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:40:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239616', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:40:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239616', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:40:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:40:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:40:41] Production.INFO: ==11628== Releasing lock...
[2025-01-13 14:40:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:40:41] Production.INFO: 72 MB #Memory Used#
[2025-01-13 19:41:01] Production.INFO: ==11686== Lock acquired, processing the job...
[2025-01-13 19:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:41:01] Production.INFO: neon service started
[2025-01-13 19:41:01] Production.INFO: neon service started
[2025-01-13 19:41:01] Production.INFO: ==11686== Releasing lock...
[2025-01-13 19:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:41:02] Production.INFO: ==11690== Lock acquired, processing the job...
[2025-01-13 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:41:02] Production.INFO: ==11690== Releasing lock...
[2025-01-13 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:41:02] Production.INFO: ==11688== Lock acquired, processing the job...
[2025-01-13 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:41:02] Production.INFO: ==11688== Releasing lock...
[2025-01-13 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:41:03] Production.INFO: ==11697== Lock acquired, processing the job...
[2025-01-13 14:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:41:03] Production.INFO: ==11699== Lock acquired, processing the job...
[2025-01-13 14:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:41:03] Production.INFO: ==11701== Lock acquired, processing the job...
[2025-01-13 14:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:41:03] Production.INFO: Account Balance Start.
[2025-01-13 14:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:41:03] Production.INFO: 117
[2025-01-13 14:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:41:03] Production.INFO: ==11695== Lock acquired, processing the job...
[2025-01-13 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:41:03] Production.INFO: ==11693== Lock acquired, processing the job...
[2025-01-13 14:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:41:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:41:03] Production.INFO: ==11703== Lock acquired, processing the job...
[2025-01-13 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:41:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:41:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:41:03] Production.ERROR: done
[2025-01-13 14:41:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:41:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:41:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:41:03] Production.INFO: Total Charge 0
[2025-01-13 14:41:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 14:41:03] Production.INFO: count ==21
[2025-01-13 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-13 14:41:03] Production.INFO: count ==21
[2025-01-13 14:41:03] Production.ERROR: done
[2025-01-13 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239620') start
[2025-01-13 14:41:03] Production.INFO: ==11695== Releasing lock...
[2025-01-13 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:41:03] Production.INFO: Account Balance End.
[2025-01-13 14:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:41:04] Production.INFO: ==11699== Releasing lock...
[2025-01-13 14:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239620') end
[2025-01-13 14:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:41:04] Production.INFO: 1
[2025-01-13 14:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:41:04] Production.INFO: ==11703== Releasing lock...
[2025-01-13 14:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:41:04
[end_date_ymd] => 2025-01-13 14:41:04
[RateCDR] => 1
)
[2025-01-13 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-13 11:41:04' and `end` < '2025-01-13 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-13 14:41:10] Production.ERROR: CronJobId end10
[2025-01-13 14:41:10] Production.INFO: ==11697== Releasing lock...
[2025-01-13 14:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:41:12] Production.INFO: call_cost start
[2025-01-13 14:41:12] Production.INFO: call_cost end
[2025-01-13 14:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:41:13] Production.INFO: ==11693== Releasing lock...
[2025-01-13 14:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:41:22] Production.INFO: count ==5905
[2025-01-13 14:41:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:41:04 - End Time 2025-01-13 14:41:04
[2025-01-13 14:41:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239621', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239621', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239621', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:41:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239621', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:41:24] Production.INFO: ProcessCDR(1,14239621,1,1,2)
[2025-01-13 14:41:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:41:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:41:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:41:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:41:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239621', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:41:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239621', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:41:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:41:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:41:29] Production.INFO: ==11701== Releasing lock...
[2025-01-13 14:41:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:41:29] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 19:42:02] Production.INFO: ==11758== Lock acquired, processing the job...
[2025-01-13 19:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:42:02] Production.INFO: neon service started
[2025-01-13 19:42:02] Production.INFO: neon service started
[2025-01-13 19:42:02] Production.INFO: ==11758== Releasing lock...
[2025-01-13 19:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:42:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 14:42:02] Production.INFO: ==11760== Lock acquired, processing the job...
[2025-01-13 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:42:02] Production.INFO: ==11762== Lock acquired, processing the job...
[2025-01-13 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:42:02] Production.INFO: ==11762== Releasing lock...
[2025-01-13 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:42:03] Production.INFO: ==11760== Releasing lock...
[2025-01-13 14:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:42:03] Production.INFO: ==11765== Lock acquired, processing the job...
[2025-01-13 14:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:42:03] Production.INFO: ==11767== Lock acquired, processing the job...
[2025-01-13 14:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:42:03] Production.INFO: ==11769== Lock acquired, processing the job...
[2025-01-13 14:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:42:04] Production.INFO: ==11771== Lock acquired, processing the job...
[2025-01-13 14:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:42:04] Production.INFO: ==11767== Releasing lock...
[2025-01-13 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:42:04] Production.INFO: ==11773== Lock acquired, processing the job...
[2025-01-13 14:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:42:04] Production.INFO: Account Balance Start.
[2025-01-13 14:42:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:42:04] Production.INFO: 117
[2025-01-13 14:42:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:42:04] Production.INFO: ==11775== Lock acquired, processing the job...
[2025-01-13 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:42:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:42:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:42:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:42:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:42:04] Production.INFO: count ==21
[2025-01-13 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-13 14:42:04] Production.INFO: count ==21
[2025-01-13 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:42:04] Production.ERROR: done
[2025-01-13 14:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239625') start
[2025-01-13 14:42:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:42:04] Production.INFO: Total Charge 0
[2025-01-13 14:42:04] Production.INFO: CreateAllLog End
[2025-01-13 14:42:04] Production.ERROR: done
[2025-01-13 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239625') end
[2025-01-13 14:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:42:04] Production.INFO: 1
[2025-01-13 14:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:42:04] Production.INFO: ==11775== Releasing lock...
[2025-01-13 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:42:04] Production.INFO: Account Balance End.
[2025-01-13 14:42:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:42:05] Production.INFO: ==11771== Releasing lock...
[2025-01-13 14:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:42:05
[end_date_ymd] => 2025-01-13 14:42:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:42:05' and `end` < '2025-01-13 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-13 14:42:11] Production.ERROR: CronJobId end10
[2025-01-13 14:42:11] Production.INFO: ==11769== Releasing lock...
[2025-01-13 14:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:42:13] Production.INFO: call_cost start
[2025-01-13 14:42:13] Production.INFO: call_cost end
[2025-01-13 14:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:42:13] Production.INFO: ==11765== Releasing lock...
[2025-01-13 14:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:42:27] Production.INFO: count ==5911
[2025-01-13 14:42:30] Production.ERROR: pbx CDR StartTime 2025-01-13 11:42:05 - End Time 2025-01-13 14:42:05
[2025-01-13 14:42:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:42:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239626', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:42:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239626', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:42:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239626', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:42:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239626', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:42:30] Production.INFO: ProcessCDR(1,14239626,1,1,2)
[2025-01-13 14:42:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:42:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:42:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:42:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:42:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239626', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:42:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239626', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:42:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:42:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:42:34] Production.INFO: ==11773== Releasing lock...
[2025-01-13 14:42:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:42:34] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 19:43:01] Production.INFO: ==11828== Lock acquired, processing the job...
[2025-01-13 19:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:43:01] Production.INFO: neon service started
[2025-01-13 19:43:01] Production.INFO: neon service started
[2025-01-13 19:43:01] Production.INFO: ==11828== Releasing lock...
[2025-01-13 19:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:43:01] Production.INFO: ==11832== Lock acquired, processing the job...
[2025-01-13 19:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:43:01] Production.INFO: ==11832== Releasing lock...
[2025-01-13 19:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:43:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:43:02] Production.INFO: ==11830== Lock acquired, processing the job...
[2025-01-13 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:43:02] Production.INFO: ==11830== Releasing lock...
[2025-01-13 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:43:03] Production.INFO: ==11843== Lock acquired, processing the job...
[2025-01-13 14:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:43:03] Production.INFO: ==11845== Lock acquired, processing the job...
[2025-01-13 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:43:03] Production.INFO: ==11834== Lock acquired, processing the job...
[2025-01-13 14:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:43:03] Production.INFO: ==11836== Lock acquired, processing the job...
[2025-01-13 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:43:03] Production.INFO: ==11838== Lock acquired, processing the job...
[2025-01-13 14:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:43:03] Production.INFO: ==11841== Lock acquired, processing the job...
[2025-01-13 14:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 14:43:03] Production.INFO: count ==21
[2025-01-13 14:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 14:43:03] Production.INFO: count ==21
[2025-01-13 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239627') start
[2025-01-13 14:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:43:03] Production.INFO: Account Balance Start.
[2025-01-13 14:43:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:43:03] Production.INFO: 117
[2025-01-13 14:43:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:43:03] Production.ERROR: done
[2025-01-13 14:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239627') end
[2025-01-13 14:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:43:03] Production.INFO: 1
[2025-01-13 14:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:43:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:43:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:43:03] Production.INFO: ==11845== Releasing lock...
[2025-01-13 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:43:03] Production.ERROR: done
[2025-01-13 14:43:03] Production.INFO: ==11836== Releasing lock...
[2025-01-13 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:43:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:43:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:43:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:43:04] Production.INFO: Total Charge 0
[2025-01-13 14:43:04] Production.INFO: CreateAllLog End
[2025-01-13 14:43:04] Production.INFO: Account Balance End.
[2025-01-13 14:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:43:04] Production.INFO: ==11841== Releasing lock...
[2025-01-13 14:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:43:04
[end_date_ymd] => 2025-01-13 14:43:04
[RateCDR] => 1
)
[2025-01-13 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-13 11:43:04' and `end` < '2025-01-13 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-13 14:43:10] Production.ERROR: CronJobId end10
[2025-01-13 14:43:10] Production.INFO: ==11838== Releasing lock...
[2025-01-13 14:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:43:13] Production.INFO: call_cost start
[2025-01-13 14:43:13] Production.INFO: call_cost end
[2025-01-13 14:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:43:14] Production.INFO: ==11834== Releasing lock...
[2025-01-13 14:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:43:25] Production.INFO: count ==5888
[2025-01-13 14:43:27] Production.ERROR: pbx CDR StartTime 2025-01-13 11:43:04 - End Time 2025-01-13 14:43:04
[2025-01-13 14:43:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:43:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239631', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:43:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239631', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:43:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239631', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:43:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239631', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:43:28] Production.INFO: ProcessCDR(1,14239631,1,1,2)
[2025-01-13 14:43:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:43:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:43:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:43:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:43:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239631', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:43:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239631', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:43:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:43:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:43:33] Production.INFO: ==11843== Releasing lock...
[2025-01-13 14:43:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:43:33] Production.INFO: 72 MB #Memory Used#
[2025-01-13 19:44:02] Production.INFO: ==11897== Lock acquired, processing the job...
[2025-01-13 19:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:44:02] Production.INFO: neon service started
[2025-01-13 19:44:02] Production.INFO: neon service started
[2025-01-13 19:44:02] Production.INFO: ==11897== Releasing lock...
[2025-01-13 19:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:44:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 14:44:02] Production.INFO: ==11899== Lock acquired, processing the job...
[2025-01-13 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:44:02] Production.INFO: ==11901== Lock acquired, processing the job...
[2025-01-13 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:44:02] Production.INFO: ==11901== Releasing lock...
[2025-01-13 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:44:03] Production.INFO: ==11899== Releasing lock...
[2025-01-13 14:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:44:03] Production.INFO: ==11906== Lock acquired, processing the job...
[2025-01-13 14:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:44:04] Production.INFO: ==11914== Lock acquired, processing the job...
[2025-01-13 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:44:04] Production.INFO: ==11904== Lock acquired, processing the job...
[2025-01-13 14:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 14:44:04] Production.INFO: ==11908== Lock acquired, processing the job...
[2025-01-13 14:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:44:04] Production.INFO: count ==21
[2025-01-13 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-13 14:44:04] Production.INFO: count ==21
[2025-01-13 14:44:04] Production.INFO: ==11910== Lock acquired, processing the job...
[2025-01-13 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239633') start
[2025-01-13 14:44:04] Production.INFO: ==11912== Lock acquired, processing the job...
[2025-01-13 14:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:44:04] Production.INFO: ==11906== Releasing lock...
[2025-01-13 14:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:44:04] Production.INFO: Account Balance Start.
[2025-01-13 14:44:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:44:04] Production.INFO: 117
[2025-01-13 14:44:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239633') end
[2025-01-13 14:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:44:04] Production.INFO: 1
[2025-01-13 14:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:44:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:44:04] Production.INFO: ==11914== Releasing lock...
[2025-01-13 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:44:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:44:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:44:04] Production.INFO: Total Charge 0
[2025-01-13 14:44:04] Production.INFO: CreateAllLog End
[2025-01-13 14:44:04] Production.ERROR: done
[2025-01-13 14:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:44:05] Production.INFO: Account Balance End.
[2025-01-13 14:44:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:44:05] Production.INFO: ==11910== Releasing lock...
[2025-01-13 14:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:44:05] Production.ERROR: done
[2025-01-13 14:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:44:06
[end_date_ymd] => 2025-01-13 14:44:06
[RateCDR] => 1
)
[2025-01-13 14:44:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:44:06' and `end` < '2025-01-13 14:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:44:12] Production.ERROR: CronJobId end10
[2025-01-13 14:44:12] Production.INFO: ==11908== Releasing lock...
[2025-01-13 14:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:44:13] Production.INFO: call_cost start
[2025-01-13 14:44:13] Production.INFO: call_cost end
[2025-01-13 14:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:44:13] Production.INFO: ==11904== Releasing lock...
[2025-01-13 14:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:44:24] Production.INFO: count ==5894
[2025-01-13 14:44:26] Production.ERROR: pbx CDR StartTime 2025-01-13 11:44:06 - End Time 2025-01-13 14:44:06
[2025-01-13 14:44:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239636', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:44:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239636', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:44:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239636', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:44:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239636', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:44:27] Production.INFO: ProcessCDR(1,14239636,1,1,2)
[2025-01-13 14:44:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:44:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:44:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:44:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:44:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239636', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:44:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239636', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:44:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:44:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:44:31] Production.INFO: ==11912== Releasing lock...
[2025-01-13 14:44:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:44:31] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 19:45:01] Production.INFO: ==11968== Lock acquired, processing the job...
[2025-01-13 19:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:45:01] Production.INFO: neon service started
[2025-01-13 19:45:01] Production.INFO: neon service started
[2025-01-13 19:45:01] Production.INFO: ==11968== Releasing lock...
[2025-01-13 19:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:45:02] Production.INFO: ==11971== Lock acquired, processing the job...
[2025-01-13 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:45:02] Production.INFO: ==11971== Releasing lock...
[2025-01-13 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:45:02] Production.INFO: ==11973== Lock acquired, processing the job...
[2025-01-13 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:45:02] Production.INFO: ==11973== Releasing lock...
[2025-01-13 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:45:03] Production.INFO: ==11985== Lock acquired, processing the job...
[2025-01-13 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:45:03] Production.INFO: ==11981== Lock acquired, processing the job...
[2025-01-13 14:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:45:03] Production.INFO: Account Balance Start.
[2025-01-13 14:45:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:45:03] Production.INFO: 117
[2025-01-13 14:45:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:45:03] Production.INFO: ==11975== Lock acquired, processing the job...
[2025-01-13 14:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:45:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:45:03] Production.INFO: count ==21
[2025-01-13 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-13 14:45:03] Production.INFO: count ==21
[2025-01-13 14:45:03] Production.INFO: ==11977== Lock acquired, processing the job...
[2025-01-13 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239638') start
[2025-01-13 14:45:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:45:03] Production.INFO: ==11979== Lock acquired, processing the job...
[2025-01-13 14:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:45:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:45:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:45:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:45:03] Production.INFO: ==11983== Lock acquired, processing the job...
[2025-01-13 14:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239638') end
[2025-01-13 14:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:45:03] Production.INFO: 1
[2025-01-13 14:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:45:03] Production.INFO: ==11985== Releasing lock...
[2025-01-13 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:45:03] Production.INFO: Total Charge 0
[2025-01-13 14:45:03] Production.INFO: CreateAllLog End
[2025-01-13 14:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:45:03] Production.INFO: ==11977== Releasing lock...
[2025-01-13 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:45:04] Production.INFO: Account Balance End.
[2025-01-13 14:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:45:04] Production.INFO: ==11981== Releasing lock...
[2025-01-13 14:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:45:04] Production.ERROR: done
[2025-01-13 14:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:45:04] Production.ERROR: done
[2025-01-13 14:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:45:05
[end_date_ymd] => 2025-01-13 14:45:05
[RateCDR] => 1
)
[2025-01-13 14:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:45:05' and `end` < '2025-01-13 14:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:45:11] Production.ERROR: CronJobId end10
[2025-01-13 14:45:11] Production.INFO: ==11979== Releasing lock...
[2025-01-13 14:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:45:12] Production.INFO: call_cost start
[2025-01-13 14:45:12] Production.INFO: call_cost end
[2025-01-13 14:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:45:13] Production.INFO: ==11975== Releasing lock...
[2025-01-13 14:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:45:29] Production.INFO: count ==5906
[2025-01-13 14:45:32] Production.ERROR: pbx CDR StartTime 2025-01-13 11:45:05 - End Time 2025-01-13 14:45:05
[2025-01-13 14:45:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:45:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239641', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:45:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239641', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:45:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239641', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:45:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239641', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:45:32] Production.INFO: ProcessCDR(1,14239641,1,1,2)
[2025-01-13 14:45:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:45:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:45:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:45:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:45:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239641', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:45:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239641', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:45:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:45:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:45:37] Production.INFO: ==11983== Releasing lock...
[2025-01-13 14:45:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:45:37] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 19:46:02] Production.INFO: ==12079== Lock acquired, processing the job...
[2025-01-13 19:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:46:02] Production.INFO: neon service started
[2025-01-13 19:46:02] Production.INFO: neon service started
[2025-01-13 19:46:02] Production.INFO: ==12079== Releasing lock...
[2025-01-13 19:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:46:02] Production.INFO: ==12083== Lock acquired, processing the job...
[2025-01-13 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:46:02] Production.INFO: ==12083== Releasing lock...
[2025-01-13 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:46:02] Production.INFO: ==12081== Lock acquired, processing the job...
[2025-01-13 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:46:03] Production.INFO: ==12081== Releasing lock...
[2025-01-13 14:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:46:03] Production.INFO: ==12090== Lock acquired, processing the job...
[2025-01-13 14:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:46:04] Production.INFO: ==12094== Lock acquired, processing the job...
[2025-01-13 14:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:46:04] Production.INFO: ==12086== Lock acquired, processing the job...
[2025-01-13 14:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:46:04] Production.INFO: ==12088== Lock acquired, processing the job...
[2025-01-13 14:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:46:04] Production.INFO: ==12092== Lock acquired, processing the job...
[2025-01-13 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:46:04] Production.ERROR: done
[2025-01-13 14:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:46:04] Production.INFO: ==12096== Lock acquired, processing the job...
[2025-01-13 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:46:04] Production.INFO: Account Balance Start.
[2025-01-13 14:46:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:46:04] Production.INFO: 117
[2025-01-13 14:46:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:46:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:46:04] Production.ERROR: done
[2025-01-13 14:46:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:46:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:46:04] Production.INFO: count ==21
[2025-01-13 14:46:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:46:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:46:04] Production.INFO: count ==21
[2025-01-13 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239645') start
[2025-01-13 14:46:04] Production.INFO: ==12088== Releasing lock...
[2025-01-13 14:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:46:04] Production.INFO: Total Charge 0
[2025-01-13 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239645') end
[2025-01-13 14:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:46:04] Production.INFO: 1
[2025-01-13 14:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:46:04] Production.INFO: CreateAllLog End
[2025-01-13 14:46:04] Production.INFO: ==12096== Releasing lock...
[2025-01-13 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:46:05] Production.INFO: Account Balance End.
[2025-01-13 14:46:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:46:05] Production.INFO: ==12092== Releasing lock...
[2025-01-13 14:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:46:05
[end_date_ymd] => 2025-01-13 14:46:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:46:05' and `end` < '2025-01-13 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-13 14:46:12] Production.ERROR: CronJobId end10
[2025-01-13 14:46:12] Production.INFO: ==12090== Releasing lock...
[2025-01-13 14:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:46:14] Production.INFO: call_cost start
[2025-01-13 14:46:14] Production.INFO: call_cost end
[2025-01-13 14:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:46:15] Production.INFO: ==12086== Releasing lock...
[2025-01-13 14:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:46:24] Production.INFO: count ==5902
[2025-01-13 14:46:27] Production.ERROR: pbx CDR StartTime 2025-01-13 11:46:05 - End Time 2025-01-13 14:46:05
[2025-01-13 14:46:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:46:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239646', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:46:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239646', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:46:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239646', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:46:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239646', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:46:27] Production.INFO: ProcessCDR(1,14239646,1,1,2)
[2025-01-13 14:46:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:46:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:46:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:46:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:46:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239646', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:46:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239646', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:46:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:46:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:46:31] Production.INFO: ==12094== Releasing lock...
[2025-01-13 14:46:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:46:31] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 19:47:01] Production.INFO: ==12152== Lock acquired, processing the job...
[2025-01-13 19:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:47:01] Production.INFO: neon service started
[2025-01-13 19:47:01] Production.INFO: neon service started
[2025-01-13 19:47:01] Production.INFO: ==12152== Releasing lock...
[2025-01-13 19:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:47:01] Production.INFO: ==12156== Lock acquired, processing the job...
[2025-01-13 19:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:47:02] Production.INFO: ==12156== Releasing lock...
[2025-01-13 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:47:02] Production.INFO: ==12154== Lock acquired, processing the job...
[2025-01-13 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:47:02] Production.INFO: ==12154== Releasing lock...
[2025-01-13 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:47:03] Production.INFO: ==12158== Lock acquired, processing the job...
[2025-01-13 14:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:47:03] Production.INFO: ==12160== Lock acquired, processing the job...
[2025-01-13 14:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:47:03] Production.INFO: ==12164== Lock acquired, processing the job...
[2025-01-13 14:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:47:03] Production.INFO: ==12162== Lock acquired, processing the job...
[2025-01-13 14:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:47:03] Production.INFO: Account Balance Start.
[2025-01-13 14:47:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:47:03] Production.INFO: 117
[2025-01-13 14:47:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:47:03] Production.INFO: ==12160== Releasing lock...
[2025-01-13 14:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:47:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:47:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:47:03] Production.INFO: ==12168== Lock acquired, processing the job...
[2025-01-13 14:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:47:03] Production.INFO: ==12166== Lock acquired, processing the job...
[2025-01-13 14:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:47:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:47:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:47:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:47:03] Production.INFO: count ==21
[2025-01-13 14:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:47:03] Production.INFO: Total Charge 0
[2025-01-13 14:47:03] Production.INFO: count ==21
[2025-01-13 14:47:03] Production.INFO: CreateAllLog End
[2025-01-13 14:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239650') start
[2025-01-13 14:47:04] Production.ERROR: done
[2025-01-13 14:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239650') end
[2025-01-13 14:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:47:04] Production.INFO: 1
[2025-01-13 14:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:47:04] Production.ERROR: done
[2025-01-13 14:47:04] Production.INFO: Account Balance End.
[2025-01-13 14:47:04] Production.INFO: ==12168== Releasing lock...
[2025-01-13 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:47:04] Production.INFO: ==12164== Releasing lock...
[2025-01-13 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:47:04
[end_date_ymd] => 2025-01-13 14:47:04
[RateCDR] => 1
)
[2025-01-13 14: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-13 11:47:04' and `end` < '2025-01-13 14: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-13 14:47:11] Production.ERROR: CronJobId end10
[2025-01-13 14:47:11] Production.INFO: ==12162== Releasing lock...
[2025-01-13 14:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:47:12] Production.INFO: call_cost start
[2025-01-13 14:47:12] Production.INFO: call_cost end
[2025-01-13 14:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:47:13] Production.INFO: ==12158== Releasing lock...
[2025-01-13 14:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:47:33] Production.INFO: count ==5881
[2025-01-13 14:47:35] Production.ERROR: pbx CDR StartTime 2025-01-13 11:47:04 - End Time 2025-01-13 14:47:04
[2025-01-13 14:47:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:47:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239651', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:47:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239651', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:47:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239651', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:47:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239651', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:47:35] Production.INFO: ProcessCDR(1,14239651,1,1,2)
[2025-01-13 14:47:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:47:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:47:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:47:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:47:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239651', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:47:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239651', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:47:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:47:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:47:40] Production.INFO: ==12166== Releasing lock...
[2025-01-13 14:47:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:47:40] Production.INFO: 72 MB #Memory Used#
[2025-01-13 19:48:02] Production.INFO: ==12224== Lock acquired, processing the job...
[2025-01-13 19:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:48:02] Production.INFO: neon service started
[2025-01-13 19:48:02] Production.INFO: neon service started
[2025-01-13 19:48:02] Production.INFO: ==12224== Releasing lock...
[2025-01-13 19:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:48:02] Production.INFO: ==12228== Lock acquired, processing the job...
[2025-01-13 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:48:02] Production.INFO: ==12228== Releasing lock...
[2025-01-13 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:48:02] Production.INFO: ==12226== Lock acquired, processing the job...
[2025-01-13 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:48:02] Production.INFO: ==12226== Releasing lock...
[2025-01-13 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:48:03] Production.INFO: ==12233== Lock acquired, processing the job...
[2025-01-13 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:48:03] Production.INFO: ==12231== Lock acquired, processing the job...
[2025-01-13 14:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:48:03] Production.INFO: ==12241== Lock acquired, processing the job...
[2025-01-13 14:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:48:04] Production.INFO: ==12235== Lock acquired, processing the job...
[2025-01-13 14:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:48:04] Production.INFO: count ==21
[2025-01-13 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-13 14:48:04] Production.INFO: count ==21
[2025-01-13 14:48:04] Production.INFO: ==12237== Lock acquired, processing the job...
[2025-01-13 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239653') start
[2025-01-13 14:48:04] Production.INFO: ==12239== Lock acquired, processing the job...
[2025-01-13 14:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239653') end
[2025-01-13 14:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:48:04] Production.INFO: 1
[2025-01-13 14:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:48:04] Production.INFO: ==12233== Releasing lock...
[2025-01-13 14:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:48:04] Production.INFO: Account Balance Start.
[2025-01-13 14:48:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:48:04] Production.INFO: 117
[2025-01-13 14:48:04] Production.INFO: ==12241== Releasing lock...
[2025-01-13 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:48:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:48:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:48:04] Production.ERROR: done
[2025-01-13 14:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:48:04] Production.ERROR: done
[2025-01-13 14:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:48:04] Production.INFO: Total Charge 0
[2025-01-13 14:48:04] Production.INFO: CreateAllLog End
[2025-01-13 14:48:04] Production.INFO: Account Balance End.
[2025-01-13 14:48:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:48:05] Production.INFO: ==12237== Releasing lock...
[2025-01-13 14:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:48:05
[end_date_ymd] => 2025-01-13 14:48:05
[RateCDR] => 1
)
[2025-01-13 14:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:48:05' and `end` < '2025-01-13 14:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:48:12] Production.ERROR: CronJobId end10
[2025-01-13 14:48:12] Production.INFO: ==12235== Releasing lock...
[2025-01-13 14:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:48:14] Production.INFO: call_cost start
[2025-01-13 14:48:14] Production.INFO: call_cost end
[2025-01-13 14:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:48:15] Production.INFO: ==12231== Releasing lock...
[2025-01-13 14:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:48:27] Production.INFO: count ==5847
[2025-01-13 14:48:29] Production.ERROR: pbx CDR StartTime 2025-01-13 11:48:05 - End Time 2025-01-13 14:48:05
[2025-01-13 14:48:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:48:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239656', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239656', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239656', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239656', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:48:30] Production.INFO: ProcessCDR(1,14239656,1,1,2)
[2025-01-13 14:48:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:48:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:48:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:48:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:48:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239656', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:48:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239656', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:48:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:48:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:48:34] Production.INFO: ==12239== Releasing lock...
[2025-01-13 14:48:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:48:34] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:49:01] Production.INFO: ==12296== Lock acquired, processing the job...
[2025-01-13 19:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:49:01] Production.INFO: neon service started
[2025-01-13 19:49:01] Production.INFO: neon service started
[2025-01-13 19:49:01] Production.INFO: ==12296== Releasing lock...
[2025-01-13 19:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:49:02] Production.INFO: ==12298== Lock acquired, processing the job...
[2025-01-13 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:49:02] Production.INFO: ==12300== Lock acquired, processing the job...
[2025-01-13 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:49:02] Production.INFO: ==12300== Releasing lock...
[2025-01-13 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:49:02] Production.INFO: ==12298== Releasing lock...
[2025-01-13 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:49:03] Production.INFO: ==12303== Lock acquired, processing the job...
[2025-01-13 14:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:49:03] Production.INFO: ==12305== Lock acquired, processing the job...
[2025-01-13 14:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:49:03] Production.INFO: ==12311== Lock acquired, processing the job...
[2025-01-13 14:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:49:03] Production.INFO: ==12307== Lock acquired, processing the job...
[2025-01-13 14:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:49:03] Production.INFO: ==12309== Lock acquired, processing the job...
[2025-01-13 14:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:49:03] Production.INFO: ==12313== Lock acquired, processing the job...
[2025-01-13 14:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:49:03] Production.INFO: ==12305== Releasing lock...
[2025-01-13 14:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:49:03] Production.INFO: Account Balance Start.
[2025-01-13 14:49:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:49:03] Production.INFO: 117
[2025-01-13 14:49:03] Production.INFO: count ==21
[2025-01-13 14:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:49:03] Production.INFO: count ==21
[2025-01-13 14:49:03] Production.ERROR: done
[2025-01-13 14:49:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239660') start
[2025-01-13 14:49:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:49:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:49:03] Production.ERROR: done
[2025-01-13 14:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239660') end
[2025-01-13 14:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:49:03] Production.INFO: 1
[2025-01-13 14:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:49:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:49:03] Production.INFO: ==12313== Releasing lock...
[2025-01-13 14:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:49:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:49:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:49:04] Production.INFO: Total Charge 0
[2025-01-13 14:49:04] Production.INFO: CreateAllLog End
[2025-01-13 14:49:04] Production.INFO: Account Balance End.
[2025-01-13 14:49:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:49:04] Production.INFO: ==12309== Releasing lock...
[2025-01-13 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:49:04
[end_date_ymd] => 2025-01-13 14:49:04
[RateCDR] => 1
)
[2025-01-13 14:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:49:04' and `end` < '2025-01-13 14:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:49:11] Production.ERROR: CronJobId end10
[2025-01-13 14:49:11] Production.INFO: ==12307== Releasing lock...
[2025-01-13 14:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:49:12] Production.INFO: call_cost start
[2025-01-13 14:49:12] Production.INFO: call_cost end
[2025-01-13 14:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:49:13] Production.INFO: ==12303== Releasing lock...
[2025-01-13 14:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:49:29] Production.INFO: count ==5826
[2025-01-13 14:49:32] Production.ERROR: pbx CDR StartTime 2025-01-13 11:49:04 - End Time 2025-01-13 14:49:04
[2025-01-13 14:49:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:49:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239661', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:49:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239661', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:49:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239661', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:49:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239661', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:49:32] Production.INFO: ProcessCDR(1,14239661,1,1,2)
[2025-01-13 14:49:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:49:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:49:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:49:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:49:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239661', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:49:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239661', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:49:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:49:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:49:37] Production.INFO: ==12311== Releasing lock...
[2025-01-13 14:49:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:49:37] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:50:01] Production.INFO: ==12370== Lock acquired, processing the job...
[2025-01-13 19:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:50:01] Production.INFO: neon service started
[2025-01-13 19:50:01] Production.INFO: neon service started
[2025-01-13 19:50:01] Production.INFO: ==12370== Releasing lock...
[2025-01-13 19:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:50:02] Production.INFO: ==12374== Lock acquired, processing the job...
[2025-01-13 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:50:02] Production.INFO: ==12374== Releasing lock...
[2025-01-13 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:50:02] Production.INFO: ==12372== Lock acquired, processing the job...
[2025-01-13 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:50:02] Production.INFO: ==12372== Releasing lock...
[2025-01-13 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:50:03] Production.INFO: ==12381== Lock acquired, processing the job...
[2025-01-13 14:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:50:03] Production.INFO: ==12377== Lock acquired, processing the job...
[2025-01-13 14:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 14:50:03] Production.INFO: ==12385== Lock acquired, processing the job...
[2025-01-13 14:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 14:50:04] Production.INFO: ==12379== Lock acquired, processing the job...
[2025-01-13 14:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 14:50:04] Production.ERROR: CronJob PID - 12381
[2025-01-13 14:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 14:50:04] Production.ERROR: CronJob ID - 7
[2025-01-13 14:50:04] Production.ERROR: CronJob Last Run Time 2025-01-13 14:50:00
[2025-01-13 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 14:50:04] Production.INFO: ==12387== Lock acquired, processing the job...
[2025-01-13 14:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 14:50:04] Production.INFO: ==12377== Releasing lock...
[2025-01-13 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 14:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 14:50:04] Production.INFO: Account Balance Start.
[2025-01-13 14:50:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:50:04] Production.INFO: 117
[2025-01-13 14:50:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:50:04] Production.INFO: ==12383== Lock acquired, processing the job...
[2025-01-13 14:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:50:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:50:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:50:04] Production.INFO: ==12389== Lock acquired, processing the job...
[2025-01-13 14:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 14:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:50:04] Production.INFO: ==12391== Lock acquired, processing the job...
[2025-01-13 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:50:04] Production.INFO: ==12381== Releasing lock...
[2025-01-13 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:50:04] Production.ERROR: done
[2025-01-13 14:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:50:04] Production.ERROR: done
[2025-01-13 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:50:04] Production.INFO: Total Charge 0
[2025-01-13 14:50:04] Production.INFO: CreateAllLog End
[2025-01-13 14:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:50:04] Production.INFO: count ==21
[2025-01-13 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-13 14:50:04] Production.INFO: count ==21
[2025-01-13 14:50:04] Production.ERROR: done
[2025-01-13 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239665') start
[2025-01-13 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239665') end
[2025-01-13 14:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:50:04] Production.INFO: 1
[2025-01-13 14:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 14:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239667', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 14:50:04] Production.INFO: Account Balance End.
[2025-01-13 14:50:04] Production.INFO: ==12391== Releasing lock...
[2025-01-13 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:50:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:50:04] Production.INFO: ==12385== Releasing lock...
[2025-01-13 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:50:05
[end_date_ymd] => 2025-01-13 14:50:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:50:05' and `end` < '2025-01-13 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-13 14:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239667', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 14:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 14:50:09] Production.INFO: ProcessCDR(1,14239667,1,1,2)
[2025-01-13 14:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239667,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239667,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:50:09] Production.INFO: ==12389== Releasing lock...
[2025-01-13 14:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 14:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 14:50:13] Production.ERROR: CronJobId end10
[2025-01-13 14:50:13] Production.INFO: ==12383== Releasing lock...
[2025-01-13 14:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:50:15] Production.INFO: call_cost start
[2025-01-13 14:50:15] Production.INFO: call_cost end
[2025-01-13 14:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:50:15] Production.INFO: ==12379== Releasing lock...
[2025-01-13 14:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:50:28] Production.INFO: count ==5844
[2025-01-13 14:50:31] Production.ERROR: pbx CDR StartTime 2025-01-13 11:50:05 - End Time 2025-01-13 14:50:05
[2025-01-13 14:50:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:50:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239666', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:50:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239666', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:50:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239666', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:50:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239666', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:50:31] Production.INFO: ProcessCDR(1,14239666,1,1,2)
[2025-01-13 14:50:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:50:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:50:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:50:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:50:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239666', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:50:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239666', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:50:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:50:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:50:35] Production.INFO: ==12387== Releasing lock...
[2025-01-13 14:50:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:50:35] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:51:01] Production.INFO: ==12444== Lock acquired, processing the job...
[2025-01-13 19:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:51:01] Production.INFO: neon service started
[2025-01-13 19:51:01] Production.INFO: neon service started
[2025-01-13 19:51:01] Production.INFO: ==12444== Releasing lock...
[2025-01-13 19:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 19:51:01] Production.INFO: ==12448== Lock acquired, processing the job...
[2025-01-13 19:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:51:01] Production.INFO: ==12448== Releasing lock...
[2025-01-13 19:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:51:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:51:01] Production.INFO: ==12446== Lock acquired, processing the job...
[2025-01-13 14:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:51:02] Production.INFO: ==12446== Releasing lock...
[2025-01-13 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:51:02] Production.INFO: ==12451== Lock acquired, processing the job...
[2025-01-13 14:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:51:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:51:03] Production.INFO: ==12459== Lock acquired, processing the job...
[2025-01-13 14:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:51:03] Production.INFO: ==12461== Lock acquired, processing the job...
[2025-01-13 14:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:51:03] Production.INFO: ==12453== Lock acquired, processing the job...
[2025-01-13 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:51:03] Production.INFO: ==12455== Lock acquired, processing the job...
[2025-01-13 14:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:51:03] Production.INFO: ==12457== Lock acquired, processing the job...
[2025-01-13 14:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:51:03] Production.ERROR: done
[2025-01-13 14:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:51:03] Production.INFO: Account Balance Start.
[2025-01-13 14:51:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:51:03] Production.INFO: 117
[2025-01-13 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-13 14:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:51:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:51:03] Production.INFO: count ==21
[2025-01-13 14:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:51:03] Production.INFO: count ==21
[2025-01-13 14:51:03] Production.ERROR: done
[2025-01-13 14:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239670') start
[2025-01-13 14:51:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:51:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:51:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:51:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:51:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239670') end
[2025-01-13 14:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:51:03] Production.INFO: 1
[2025-01-13 14:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:51:03] Production.INFO: Total Charge 0
[2025-01-13 14:51:03] Production.INFO: ==12453== Releasing lock...
[2025-01-13 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:51:03] Production.INFO: CreateAllLog End
[2025-01-13 14:51:03] Production.INFO: ==12461== Releasing lock...
[2025-01-13 14:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:51:04] Production.INFO: Account Balance End.
[2025-01-13 14:51:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:51:04] Production.INFO: ==12457== Releasing lock...
[2025-01-13 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:51:04
[end_date_ymd] => 2025-01-13 14:51:04
[RateCDR] => 1
)
[2025-01-13 14: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-13 11:51:04' and `end` < '2025-01-13 14: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-13 14:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:51:12] Production.ERROR: CronJobId end10
[2025-01-13 14:51:12] Production.INFO: ==12455== Releasing lock...
[2025-01-13 14:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:51:12] Production.INFO: call_cost start
[2025-01-13 14:51:12] Production.INFO: call_cost end
[2025-01-13 14:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:51:13] Production.INFO: ==12451== Releasing lock...
[2025-01-13 14:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:51:22] Production.INFO: count ==5817
[2025-01-13 14:51:24] Production.ERROR: pbx CDR StartTime 2025-01-13 11:51:04 - End Time 2025-01-13 14:51:04
[2025-01-13 14:51:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239672', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239672', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239672', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239672', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:51:25] Production.INFO: ProcessCDR(1,14239672,1,1,2)
[2025-01-13 14:51:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:51:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:51:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:51:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:51:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239672', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:51:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239672', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:51:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:51:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:51:30] Production.INFO: ==12459== Releasing lock...
[2025-01-13 14:51:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:51:30] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:52:01] Production.INFO: ==12514== Lock acquired, processing the job...
[2025-01-13 19:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:52:01] Production.INFO: neon service started
[2025-01-13 19:52:01] Production.INFO: neon service started
[2025-01-13 19:52:01] Production.INFO: ==12514== Releasing lock...
[2025-01-13 19:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:52:02] Production.INFO: ==12517== Lock acquired, processing the job...
[2025-01-13 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:52:02] Production.INFO: ==12517== Releasing lock...
[2025-01-13 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:52:02] Production.INFO: ==12519== Lock acquired, processing the job...
[2025-01-13 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:52:02] Production.INFO: ==12519== Releasing lock...
[2025-01-13 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:52:03] Production.INFO: ==12521== Lock acquired, processing the job...
[2025-01-13 14:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:52:03] Production.INFO: ==12525== Lock acquired, processing the job...
[2025-01-13 14:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:52:03] Production.INFO: ==12531== Lock acquired, processing the job...
[2025-01-13 14:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:52:03] Production.INFO: ==12523== Lock acquired, processing the job...
[2025-01-13 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 14:52:03] Production.INFO: ==12527== Lock acquired, processing the job...
[2025-01-13 14:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:52:03] Production.INFO: count ==21
[2025-01-13 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-13 14:52:03] Production.INFO: count ==21
[2025-01-13 14:52:03] Production.INFO: ==12529== Lock acquired, processing the job...
[2025-01-13 14:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239674') start
[2025-01-13 14:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:52:03] Production.INFO: Account Balance Start.
[2025-01-13 14:52:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:52:03] Production.INFO: 117
[2025-01-13 14:52:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:52:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239674') end
[2025-01-13 14:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:52:03] Production.INFO: 1
[2025-01-13 14:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:52:03] Production.INFO: ==12531== Releasing lock...
[2025-01-13 14:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:52:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:52:03] Production.INFO: ==12523== Releasing lock...
[2025-01-13 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:52:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:52:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:52:04] Production.ERROR: done
[2025-01-13 14:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:52:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:52:04] Production.INFO: Total Charge 0
[2025-01-13 14:52:04] Production.INFO: CreateAllLog End
[2025-01-13 14:52:04] Production.ERROR: done
[2025-01-13 14:52:04] Production.INFO: Account Balance End.
[2025-01-13 14:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:52:04] Production.INFO: ==12527== Releasing lock...
[2025-01-13 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:52:05
[end_date_ymd] => 2025-01-13 14:52:05
[RateCDR] => 1
)
[2025-01-13 14:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 11:52:05' and `end` < '2025-01-13 14:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 14:52:12] Production.ERROR: CronJobId end10
[2025-01-13 14:52:12] Production.INFO: ==12525== Releasing lock...
[2025-01-13 14:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:52:13] Production.INFO: call_cost start
[2025-01-13 14:52:13] Production.INFO: call_cost end
[2025-01-13 14:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:52:13] Production.INFO: ==12521== Releasing lock...
[2025-01-13 14:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:52:20] Production.INFO: count ==5811
[2025-01-13 14:52:22] Production.ERROR: pbx CDR StartTime 2025-01-13 11:52:05 - End Time 2025-01-13 14:52:05
[2025-01-13 14:52:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239677', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239677', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239677', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239677', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:52:23] Production.INFO: ProcessCDR(1,14239677,1,1,2)
[2025-01-13 14:52:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:52:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:52:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:52:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239677', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239677', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:52:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:52:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:52:27] Production.INFO: ==12529== Releasing lock...
[2025-01-13 14:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:52:27] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 19:53:02] Production.INFO: ==12585== Lock acquired, processing the job...
[2025-01-13 19:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:53:02] Production.INFO: neon service started
[2025-01-13 19:53:02] Production.INFO: neon service started
[2025-01-13 19:53:02] Production.INFO: ==12585== Releasing lock...
[2025-01-13 19:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:53:02] Production.INFO: ==12587== Lock acquired, processing the job...
[2025-01-13 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:53:02] Production.INFO: ==12587== Releasing lock...
[2025-01-13 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:53:02] Production.INFO: ==12589== Lock acquired, processing the job...
[2025-01-13 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:53:03] Production.INFO: ==12589== Releasing lock...
[2025-01-13 19:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:53:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:53:03] Production.INFO: ==12597== Lock acquired, processing the job...
[2025-01-13 14:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:53:03] Production.INFO: ==12601== Lock acquired, processing the job...
[2025-01-13 14:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:53:03] Production.INFO: ==12591== Lock acquired, processing the job...
[2025-01-13 14:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:53:03] Production.INFO: Account Balance Start.
[2025-01-13 14:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:53:03] Production.INFO: 117
[2025-01-13 14:53:03] Production.INFO: ==12593== Lock acquired, processing the job...
[2025-01-13 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:53:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:53:03] Production.INFO: ==12595== Lock acquired, processing the job...
[2025-01-13 14:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:53:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:53:03] Production.INFO: count ==21
[2025-01-13 14:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:53:03] Production.INFO: count ==21
[2025-01-13 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239679') start
[2025-01-13 14:53:04] Production.INFO: ==12599== Lock acquired, processing the job...
[2025-01-13 14:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:53:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239679') end
[2025-01-13 14:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:53:04] Production.INFO: 1
[2025-01-13 14:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:53:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:53:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:53:04] Production.INFO: ==12601== Releasing lock...
[2025-01-13 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:53:04] Production.INFO: Total Charge 0
[2025-01-13 14:53:04] Production.INFO: CreateAllLog End
[2025-01-13 14:53:04] Production.INFO: ==12593== Releasing lock...
[2025-01-13 14:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:53:04] Production.ERROR: done
[2025-01-13 14:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:53:04] Production.INFO: Account Balance End.
[2025-01-13 14:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:53:04] Production.INFO: ==12597== Releasing lock...
[2025-01-13 14:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:53:04] Production.ERROR: done
[2025-01-13 14:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:53:05
[end_date_ymd] => 2025-01-13 14:53:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:53:05' and `end` < '2025-01-13 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-13 14:53:12] Production.ERROR: CronJobId end10
[2025-01-13 14:53:12] Production.INFO: ==12595== Releasing lock...
[2025-01-13 14:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:53:13] Production.INFO: call_cost start
[2025-01-13 14:53:13] Production.INFO: call_cost end
[2025-01-13 14:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:53:14] Production.INFO: ==12591== Releasing lock...
[2025-01-13 14:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:53:26] Production.INFO: count ==5841
[2025-01-13 14:53:29] Production.ERROR: pbx CDR StartTime 2025-01-13 11:53:05 - End Time 2025-01-13 14:53:05
[2025-01-13 14:53:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239682', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239682', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239682', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:53:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239682', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:53:29] Production.INFO: ProcessCDR(1,14239682,1,1,2)
[2025-01-13 14:53:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:53:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:53:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:53:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:53:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239682', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:53:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239682', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:53:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:53:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:53:34] Production.INFO: ==12599== Releasing lock...
[2025-01-13 14:53:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:53:34] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:54:01] Production.INFO: ==12657== Lock acquired, processing the job...
[2025-01-13 19:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:54:01] Production.INFO: neon service started
[2025-01-13 19:54:01] Production.INFO: neon service started
[2025-01-13 19:54:01] Production.INFO: ==12657== Releasing lock...
[2025-01-13 19:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:54:02] Production.INFO: ==12659== Lock acquired, processing the job...
[2025-01-13 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:54:02] Production.INFO: ==12661== Lock acquired, processing the job...
[2025-01-13 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:54:02] Production.INFO: ==12661== Releasing lock...
[2025-01-13 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:54:02] Production.INFO: ==12659== Releasing lock...
[2025-01-13 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:54:03] Production.INFO: ==12664== Lock acquired, processing the job...
[2025-01-13 14:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:54:03] Production.INFO: ==12666== Lock acquired, processing the job...
[2025-01-13 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:54:03] Production.INFO: ==12668== Lock acquired, processing the job...
[2025-01-13 14:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:54:03] Production.INFO: ==12670== Lock acquired, processing the job...
[2025-01-13 14:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:54:03] Production.INFO: ==12666== Releasing lock...
[2025-01-13 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:54:03] Production.INFO: Account Balance Start.
[2025-01-13 14:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:54:03] Production.INFO: 117
[2025-01-13 14:54:03] Production.INFO: ==12672== Lock acquired, processing the job...
[2025-01-13 14:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:54:03] Production.INFO: ==12674== Lock acquired, processing the job...
[2025-01-13 14:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:54:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:54:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:54:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:54:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:54:04] Production.INFO: count ==21
[2025-01-13 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-13 14:54:04] Production.INFO: count ==21
[2025-01-13 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239686') start
[2025-01-13 14:54:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:54:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:54:04] Production.INFO: Total Charge 0
[2025-01-13 14:54:04] Production.INFO: CreateAllLog End
[2025-01-13 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239686') end
[2025-01-13 14:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:54:04] Production.INFO: 1
[2025-01-13 14:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:54:04] Production.ERROR: done
[2025-01-13 14:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:54:04] Production.INFO: ==12674== Releasing lock...
[2025-01-13 14:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:54:04] Production.INFO: Account Balance End.
[2025-01-13 14:54:04] Production.ERROR: done
[2025-01-13 14:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:54:04] Production.INFO: ==12670== Releasing lock...
[2025-01-13 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:54:05
[end_date_ymd] => 2025-01-13 14:54:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:54:05' and `end` < '2025-01-13 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-13 14:54:12] Production.ERROR: CronJobId end10
[2025-01-13 14:54:12] Production.INFO: ==12668== Releasing lock...
[2025-01-13 14:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:54:12] Production.INFO: call_cost start
[2025-01-13 14:54:12] Production.INFO: call_cost end
[2025-01-13 14:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:54:13] Production.INFO: ==12664== Releasing lock...
[2025-01-13 14:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:54:23] Production.INFO: count ==5845
[2025-01-13 14:54:25] Production.ERROR: pbx CDR StartTime 2025-01-13 11:54:05 - End Time 2025-01-13 14:54:05
[2025-01-13 14:54:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239687', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239687', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239687', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239687', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:54:25] Production.INFO: ProcessCDR(1,14239687,1,1,2)
[2025-01-13 14:54:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:54:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:54:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:54:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239687', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239687', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:54:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:54:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:54:30] Production.INFO: ==12672== Releasing lock...
[2025-01-13 14:54:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:54:30] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:55:02] Production.INFO: ==12729== Lock acquired, processing the job...
[2025-01-13 19:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:55:02] Production.INFO: neon service started
[2025-01-13 19:55:02] Production.INFO: neon service started
[2025-01-13 19:55:02] Production.INFO: ==12729== Releasing lock...
[2025-01-13 19:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:55:02] Production.INFO: ==12731== Lock acquired, processing the job...
[2025-01-13 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:55:03] Production.INFO: ==12731== Releasing lock...
[2025-01-13 14:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:55:03] Production.INFO: ==12733== Lock acquired, processing the job...
[2025-01-13 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:55:03] Production.INFO: ==12733== Releasing lock...
[2025-01-13 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:55:04] Production.INFO: ==12736== Lock acquired, processing the job...
[2025-01-13 14:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:55:04] Production.INFO: ==12738== Lock acquired, processing the job...
[2025-01-13 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:55:04] Production.INFO: ==12746== Lock acquired, processing the job...
[2025-01-13 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:55:04] Production.INFO: ==12740== Lock acquired, processing the job...
[2025-01-13 14:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:55:04] Production.INFO: ==12742== Lock acquired, processing the job...
[2025-01-13 14:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:55:04] Production.INFO: ==12744== Lock acquired, processing the job...
[2025-01-13 14:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:55:04] Production.INFO: Account Balance Start.
[2025-01-13 14:55:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:55:04] Production.INFO: 117
[2025-01-13 14:55:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:55:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:55:04] Production.INFO: count ==21
[2025-01-13 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-13 14:55:04] Production.INFO: count ==21
[2025-01-13 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239690') start
[2025-01-13 14:55:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:55:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:55:04] Production.INFO: ==12738== Releasing lock...
[2025-01-13 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:55:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239690') end
[2025-01-13 14:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:55:04] Production.INFO: 1
[2025-01-13 14:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:55:04] Production.INFO: ==12746== Releasing lock...
[2025-01-13 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:55:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:55:04] Production.ERROR: done
[2025-01-13 14:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:55:04] Production.INFO: Total Charge 0
[2025-01-13 14:55:04] Production.INFO: CreateAllLog End
[2025-01-13 14:55:05] Production.ERROR: done
[2025-01-13 14:55:05] Production.INFO: Account Balance End.
[2025-01-13 14:55:05] Production.ERROR: CronJobId end 12
[2025-01-13 14:55:05] Production.INFO: ==12742== Releasing lock...
[2025-01-13 14:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:55:05
[end_date_ymd] => 2025-01-13 14:55:05
[RateCDR] => 1
)
[2025-01-13 14: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-13 11:55:05' and `end` < '2025-01-13 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-13 14:55:13] Production.ERROR: CronJobId end10
[2025-01-13 14:55:13] Production.INFO: ==12740== Releasing lock...
[2025-01-13 14:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:55:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:55:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:55:15] Production.INFO: call_cost start
[2025-01-13 14:55:15] Production.INFO: call_cost end
[2025-01-13 14:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:55:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:55:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:55:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:55:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:55:16] Production.INFO: ==12736== Releasing lock...
[2025-01-13 14:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:55:25] Production.INFO: count ==5840
[2025-01-13 14:55:28] Production.ERROR: pbx CDR StartTime 2025-01-13 11:55:05 - End Time 2025-01-13 14:55:05
[2025-01-13 14:55:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:55:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239692', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:55:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239692', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:55:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239692', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:55:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239692', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:55:28] Production.INFO: ProcessCDR(1,14239692,1,1,2)
[2025-01-13 14:55:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:55:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:55:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:55:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:55:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239692', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:55:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239692', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:55:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:55:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:55:33] Production.INFO: ==12744== Releasing lock...
[2025-01-13 14:55:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:55:33] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:56:02] Production.INFO: ==12800== Lock acquired, processing the job...
[2025-01-13 19:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:56:02] Production.INFO: neon service started
[2025-01-13 19:56:02] Production.INFO: neon service started
[2025-01-13 19:56:02] Production.INFO: ==12800== Releasing lock...
[2025-01-13 19:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:56:02] Production.INFO: ==12802== Lock acquired, processing the job...
[2025-01-13 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:56:02] Production.INFO: ==12802== Releasing lock...
[2025-01-13 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:56:02] Production.INFO: ==12804== Lock acquired, processing the job...
[2025-01-13 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:56:02] Production.INFO: ==12804== Releasing lock...
[2025-01-13 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:56:03] Production.INFO: ==12809== Lock acquired, processing the job...
[2025-01-13 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:56:03] Production.INFO: ==12807== Lock acquired, processing the job...
[2025-01-13 14:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:56:03] Production.INFO: ==12817== Lock acquired, processing the job...
[2025-01-13 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:56:03] Production.INFO: ==12811== Lock acquired, processing the job...
[2025-01-13 14:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:56:03] Production.INFO: ==12809== Releasing lock...
[2025-01-13 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:56:03] Production.INFO: ==12813== Lock acquired, processing the job...
[2025-01-13 14:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 14:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:56:03] Production.INFO: ==12815== Lock acquired, processing the job...
[2025-01-13 14:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:56:04] Production.INFO: count ==21
[2025-01-13 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-13 14:56:04] Production.INFO: count ==21
[2025-01-13 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239694') start
[2025-01-13 14:56:04] Production.INFO: Account Balance Start.
[2025-01-13 14:56:04] Production.INFO: CreateAllLog Start
[2025-01-13 14:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:56:04] Production.INFO: 117
[2025-01-13 14:56:04] Production.INFO: Date 2025-01-08
[2025-01-13 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239694') end
[2025-01-13 14:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:56:04] Production.INFO: 1
[2025-01-13 14:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:56:04] Production.INFO: ==12817== Releasing lock...
[2025-01-13 14:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:56:04] Production.ERROR: done
[2025-01-13 14:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:56:04] Production.INFO: Total Charge 0
[2025-01-13 14:56:04] Production.INFO: CreateAllLog End
[2025-01-13 14:56:04] Production.ERROR: done
[2025-01-13 14:56:04] Production.INFO: Account Balance End.
[2025-01-13 14:56:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:56:04] Production.INFO: ==12813== Releasing lock...
[2025-01-13 14:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:56:05
[end_date_ymd] => 2025-01-13 14:56:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:56:05' and `end` < '2025-01-13 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-13 14:56:12] Production.ERROR: CronJobId end10
[2025-01-13 14:56:12] Production.INFO: ==12811== Releasing lock...
[2025-01-13 14:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:56:13] Production.INFO: call_cost start
[2025-01-13 14:56:13] Production.INFO: call_cost end
[2025-01-13 14:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:56:14] Production.INFO: ==12807== Releasing lock...
[2025-01-13 14:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:56:22] Production.INFO: count ==5829
[2025-01-13 14:56:25] Production.ERROR: pbx CDR StartTime 2025-01-13 11:56:05 - End Time 2025-01-13 14:56:05
[2025-01-13 14:56:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239697', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239697', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239697', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239697', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:56:25] Production.INFO: ProcessCDR(1,14239697,1,1,2)
[2025-01-13 14:56:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:56:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:56:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:56:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:56:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239697', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:56:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239697', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:56:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:56:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:56:29] Production.INFO: ==12815== Releasing lock...
[2025-01-13 14:56:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:56:29] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:57:01] Production.INFO: ==12870== Lock acquired, processing the job...
[2025-01-13 19:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:57:01] Production.INFO: neon service started
[2025-01-13 19:57:01] Production.INFO: neon service started
[2025-01-13 19:57:01] Production.INFO: ==12870== Releasing lock...
[2025-01-13 19:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:57:02] Production.INFO: ==12872== Lock acquired, processing the job...
[2025-01-13 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:57:02] Production.INFO: ==12874== Lock acquired, processing the job...
[2025-01-13 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:57:02] Production.INFO: ==12874== Releasing lock...
[2025-01-13 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:57:02] Production.INFO: ==12872== Releasing lock...
[2025-01-13 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:57:03] Production.INFO: ==12877== Lock acquired, processing the job...
[2025-01-13 14:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:57:03] Production.INFO: ==12881== Lock acquired, processing the job...
[2025-01-13 14:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:57:03] Production.INFO: ==12887== Lock acquired, processing the job...
[2025-01-13 14:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 14:57:03] Production.INFO: ==12879== Lock acquired, processing the job...
[2025-01-13 14:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:57:03] Production.INFO: ==12883== Lock acquired, processing the job...
[2025-01-13 14:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:57:03] Production.INFO: count ==21
[2025-01-13 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-13 14:57:03] Production.INFO: count ==21
[2025-01-13 14:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239699') start
[2025-01-13 14:57:03] Production.INFO: ==12885== Lock acquired, processing the job...
[2025-01-13 14:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:57:03] Production.INFO: Account Balance Start.
[2025-01-13 14:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:57:03] Production.INFO: 117
[2025-01-13 14:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239699') end
[2025-01-13 14:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:57:03] Production.INFO: 1
[2025-01-13 14:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:57:03] Production.INFO: ==12887== Releasing lock...
[2025-01-13 14:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:57:03] Production.ERROR: done
[2025-01-13 14:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:57:04] Production.INFO: Date 2025-01-11
[2025-01-13 14:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:57:04] Production.INFO: Date 2025-01-12
[2025-01-13 14:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:57:04] Production.ERROR: done
[2025-01-13 14:57:04] Production.INFO: ==12879== Releasing lock...
[2025-01-13 14:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:57:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:57:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:57:04] Production.INFO: Total Charge 0
[2025-01-13 14:57:04] Production.INFO: CreateAllLog End
[2025-01-13 14:57:04] Production.INFO: Account Balance End.
[2025-01-13 14:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:57:04] Production.INFO: ==12883== Releasing lock...
[2025-01-13 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:57:04
[end_date_ymd] => 2025-01-13 14:57:04
[RateCDR] => 1
)
[2025-01-13 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-13 11:57:04' and `end` < '2025-01-13 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-13 14:57:12] Production.ERROR: CronJobId end10
[2025-01-13 14:57:12] Production.INFO: ==12881== Releasing lock...
[2025-01-13 14:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:57:13] Production.INFO: call_cost start
[2025-01-13 14:57:13] Production.INFO: call_cost end
[2025-01-13 14:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:57:14] Production.INFO: ==12877== Releasing lock...
[2025-01-13 14:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:57:19] Production.INFO: count ==5831
[2025-01-13 14:57:21] Production.ERROR: pbx CDR StartTime 2025-01-13 11:57:04 - End Time 2025-01-13 14:57:04
[2025-01-13 14:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239702', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239702', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239702', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239702', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:57:21] Production.INFO: ProcessCDR(1,14239702,1,1,2)
[2025-01-13 14:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239702', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239702', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:57:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:57:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:57:27] Production.INFO: ==12885== Releasing lock...
[2025-01-13 14:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:57:27] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:58:01] Production.INFO: ==12943== Lock acquired, processing the job...
[2025-01-13 19:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:58:01] Production.INFO: neon service started
[2025-01-13 19:58:02] Production.INFO: neon service started
[2025-01-13 19:58:02] Production.INFO: ==12943== Releasing lock...
[2025-01-13 19:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:58:02] Production.INFO: ==12945== Lock acquired, processing the job...
[2025-01-13 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 19:58:02] Production.INFO: ==12947== Lock acquired, processing the job...
[2025-01-13 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:58:02] Production.INFO: ==12947== Releasing lock...
[2025-01-13 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:58:02] Production.INFO: ==12945== Releasing lock...
[2025-01-13 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 14:58:03] Production.INFO: ==12953== Lock acquired, processing the job...
[2025-01-13 14:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:58:03] Production.INFO: ==12955== Lock acquired, processing the job...
[2025-01-13 14:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:58:03] Production.INFO: ==12951== Lock acquired, processing the job...
[2025-01-13 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 14:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:58:03] Production.INFO: Account Balance Start.
[2025-01-13 14:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:58:03] Production.INFO: 117
[2025-01-13 14:58:03] Production.INFO: ==12949== Lock acquired, processing the job...
[2025-01-13 14:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:58:03] Production.INFO: ==12960== Lock acquired, processing the job...
[2025-01-13 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:58:03] Production.INFO: ==12951== Releasing lock...
[2025-01-13 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:58:03] Production.INFO: ==12957== Lock acquired, processing the job...
[2025-01-13 14:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 14:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:58:03] Production.INFO: count ==21
[2025-01-13 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-13 14:58:03] Production.INFO: count ==21
[2025-01-13 14:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239706') start
[2025-01-13 14:58:04] Production.INFO: Date 2025-01-13
[2025-01-13 14:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 14:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:58:04] Production.INFO: Total Charge 0
[2025-01-13 14:58:04] Production.INFO: CreateAllLog End
[2025-01-13 14:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239706') end
[2025-01-13 14:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:58:04] Production.INFO: 1
[2025-01-13 14:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:58:04] Production.INFO: ==12960== Releasing lock...
[2025-01-13 14:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:58:04] Production.INFO: Account Balance End.
[2025-01-13 14:58:04] Production.ERROR: done
[2025-01-13 14:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:58:04] Production.INFO: ==12955== Releasing lock...
[2025-01-13 14:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:58:04] Production.ERROR: done
[2025-01-13 14:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:58:05
[end_date_ymd] => 2025-01-13 14:58:05
[RateCDR] => 1
)
[2025-01-13 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-13 11:58:05' and `end` < '2025-01-13 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-13 14:58:12] Production.ERROR: CronJobId end10
[2025-01-13 14:58:12] Production.INFO: ==12953== Releasing lock...
[2025-01-13 14:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:58:13] Production.INFO: call_cost start
[2025-01-13 14:58:13] Production.INFO: call_cost end
[2025-01-13 14:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:58:13] Production.INFO: ==12949== Releasing lock...
[2025-01-13 14:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:58:19] Production.INFO: count ==5831
[2025-01-13 14:58:21] Production.ERROR: pbx CDR StartTime 2025-01-13 11:58:05 - End Time 2025-01-13 14:58:05
[2025-01-13 14:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239707', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239707', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239707', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239707', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:58:22] Production.INFO: ProcessCDR(1,14239707,1,1,2)
[2025-01-13 14:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239707', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239707', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:58:26] Production.INFO: ==12957== Releasing lock...
[2025-01-13 14:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:58:26] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 19:59:01] Production.INFO: ==13013== Lock acquired, processing the job...
[2025-01-13 19:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 19:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 19:59:01] Production.INFO: neon service started
[2025-01-13 19:59:01] Production.INFO: neon service started
[2025-01-13 19:59:01] Production.INFO: ==13013== Releasing lock...
[2025-01-13 19:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 19:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 14:59:01] Production.INFO: ==13015== Lock acquired, processing the job...
[2025-01-13 14:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 14:59:02] Production.INFO: ==13015== Releasing lock...
[2025-01-13 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 14:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 19:59:02] Production.INFO: ==13017== Lock acquired, processing the job...
[2025-01-13 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 19:59:02] Production.INFO: ==13017== Releasing lock...
[2025-01-13 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 19:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 14:59:03] Production.INFO: ==13019== Lock acquired, processing the job...
[2025-01-13 14:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 14:59:03] Production.INFO: ==13021== Lock acquired, processing the job...
[2025-01-13 14:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 14:59:03] Production.INFO: ==13025== Lock acquired, processing the job...
[2025-01-13 14:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 14:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 14:59:03] Production.INFO: ==13023== Lock acquired, processing the job...
[2025-01-13 14:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 14:59:03] Production.INFO: ==13029== Lock acquired, processing the job...
[2025-01-13 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 14:59:03] Production.INFO: Account Balance Start.
[2025-01-13 14:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 14:59:03] Production.INFO: 117
[2025-01-13 14:59:03] Production.INFO: ==13027== Lock acquired, processing the job...
[2025-01-13 14:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 14:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 14:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 14:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 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-13 14:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 14:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 14:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 14:59:03] Production.INFO: count ==21
[2025-01-13 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 14:59:03] Production.INFO: count ==21
[2025-01-13 14:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239711') start
[2025-01-13 14:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239711') end
[2025-01-13 14:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 14:59:03] Production.INFO: 1
[2025-01-13 14:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 14:59:03] Production.ERROR: done
[2025-01-13 14:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 14:59:03] Production.INFO: ==13029== Releasing lock...
[2025-01-13 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 14:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 14:59:03] Production.INFO: ==13021== Releasing lock...
[2025-01-13 14:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 14:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 14:59:03] Production.INFO: Date 2025-01-11
[2025-01-13 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:59:03] Production.INFO: Date 2025-01-12
[2025-01-13 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:59:03] Production.INFO: Date 2025-01-13
[2025-01-13 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 14:59:03] Production.ERROR: done
[2025-01-13 14:59:03] Production.INFO: Total Charge 0
[2025-01-13 14:59:03] Production.INFO: CreateAllLog End
[2025-01-13 14:59:04] Production.INFO: Account Balance End.
[2025-01-13 14:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 14:59:04] Production.INFO: ==13025== Releasing lock...
[2025-01-13 14:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 14:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 14:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 11:59:04
[end_date_ymd] => 2025-01-13 14:59:04
[RateCDR] => 1
)
[2025-01-13 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-13 11:59:04' and `end` < '2025-01-13 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-13 14:59:11] Production.ERROR: CronJobId end10
[2025-01-13 14:59:11] Production.INFO: ==13023== Releasing lock...
[2025-01-13 14:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 14:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 14:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 14:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 14:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 14:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 14:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 14:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 14:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 14:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 14:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 14:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 14:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 14:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 14:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 14:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 14:59:13] Production.INFO: call_cost start
[2025-01-13 14:59:13] Production.INFO: call_cost end
[2025-01-13 14:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 14:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 14:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 14:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 14:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 14:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 14:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 14:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 14:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 14:59:13] Production.INFO: ==13019== Releasing lock...
[2025-01-13 14:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 14:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 14:59:25] Production.INFO: count ==5815
[2025-01-13 14:59:28] Production.ERROR: pbx CDR StartTime 2025-01-13 11:59:04 - End Time 2025-01-13 14:59:04
[2025-01-13 14:59:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 14:59:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239712', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:59:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239712', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:59:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239712', 'tblTempVendorCDR_20' ) start
[2025-01-13 14:59:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239712', 'tblTempVendorCDR_20' ) end
[2025-01-13 14:59:28] Production.INFO: ProcessCDR(1,14239712,1,1,2)
[2025-01-13 14:59:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:59:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 14:59:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:59:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 14:59:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239712', 'tblTempUsageDetail_20' ) start
[2025-01-13 14:59:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239712', 'tblTempUsageDetail_20' ) end
[2025-01-13 14:59:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 14:59:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 14:59:32] Production.INFO: ==13027== Releasing lock...
[2025-01-13 14:59:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 14:59:32] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 20:00:01] Production.INFO: ==13085== Lock acquired, processing the job...
[2025-01-13 20:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:00:01] Production.INFO: neon service started
[2025-01-13 20:00:01] Production.INFO: neon service started
[2025-01-13 20:00:01] Production.INFO: ==13085== Releasing lock...
[2025-01-13 20:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:00:02] Production.INFO: ==13087== Lock acquired, processing the job...
[2025-01-13 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:00:02] Production.INFO: ==13089== Lock acquired, processing the job...
[2025-01-13 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:00:02] Production.INFO: ==13089== Releasing lock...
[2025-01-13 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:00:03] Production.INFO: ==13087== Releasing lock...
[2025-01-13 15:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:00:03] Production.INFO: ==13094== Lock acquired, processing the job...
[2025-01-13 15:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:00:03] Production.INFO: ==13092== Lock acquired, processing the job...
[2025-01-13 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 15:00:04] Production.INFO: ==13096== Lock acquired, processing the job...
[2025-01-13 15:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 15:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 15:00:04] Production.ERROR: CronJob PID - 13094
[2025-01-13 15:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 15:00:04] Production.ERROR: CronJob ID - 5
[2025-01-13 15:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 15:00:00
[2025-01-13 15:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 15:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 15:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 15:00:04] Production.ERROR: CronJob PID - 13096
[2025-01-13 15:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 15:00:04] Production.ERROR: CronJob ID - 7
[2025-01-13 15:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 15:00:00
[2025-01-13 15:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 15:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 15:00:04] Production.INFO: ==13102== Lock acquired, processing the job...
[2025-01-13 15:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 15:00:04] Production.INFO: ==13092== Releasing lock...
[2025-01-13 15:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 15:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 15:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:00:04] Production.INFO: ==13098== Lock acquired, processing the job...
[2025-01-13 15:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:00:04] Production.INFO: ==13100== Lock acquired, processing the job...
[2025-01-13 15:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:00:04] Production.INFO: ==13104== Lock acquired, processing the job...
[2025-01-13 15:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 15:00:04] Production.INFO: ==13096== Releasing lock...
[2025-01-13 15:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:00:04] Production.INFO: ==13106== Lock acquired, processing the job...
[2025-01-13 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:00:04] Production.INFO: Account Balance Start.
[2025-01-13 15:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:00:04] Production.INFO: 117
[2025-01-13 15:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:00:04] Production.ERROR: done
[2025-01-13 15:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 15:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:00:04] Production.INFO: count ==21
[2025-01-13 15:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 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-13 15:00:04] Production.INFO: count ==21
[2025-01-13 15:00:05] Production.INFO: Reseller ==> 0
[2025-01-13 15:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14239716') start
[2025-01-13 15:00:05] Production.ERROR: done
[2025-01-13 15:00:05] Production.ERROR: done
[2025-01-13 15:00:05] Production.INFO: Total Charge 0
[2025-01-13 15:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14239716') end
[2025-01-13 15:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:00:05] Production.INFO: 1
[2025-01-13 15:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:00:05] Production.INFO: CreateAllLog End
[2025-01-13 15:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 15:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239718', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 15:00:05] Production.INFO: ==13106== Releasing lock...
[2025-01-13 15:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:00:05] Production.INFO: Account Balance End.
[2025-01-13 15:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 15:00:05] Production.INFO: ==13100== Releasing lock...
[2025-01-13 15:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:00:06
[end_date_ymd] => 2025-01-13 15:00:06
[RateCDR] => 1
)
[2025-01-13 15:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:00:06' and `end` < '2025-01-13 15:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239718', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 15:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 15:00:08] Production.INFO: ProcessCDR(1,14239718,1,1,2)
[2025-01-13 15:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239718,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239718,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:00:09] Production.INFO: ==13104== Releasing lock...
[2025-01-13 15:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 15:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 15:00:13] Production.ERROR: CronJobId end10
[2025-01-13 15:00:13] Production.INFO: ==13098== Releasing lock...
[2025-01-13 15:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:00:15] Production.INFO: call_cost start
[2025-01-13 15:00:15] Production.INFO: call_cost end
[2025-01-13 15:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:00:16] Production.INFO: ==13094== Releasing lock...
[2025-01-13 15:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:00:27] Production.INFO: count ==5782
[2025-01-13 15:00:29] Production.ERROR: pbx CDR StartTime 2025-01-13 12:00:06 - End Time 2025-01-13 15:00:06
[2025-01-13 15:00:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239717', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239717', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239717', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239717', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:00:29] Production.INFO: ProcessCDR(1,14239717,1,1,2)
[2025-01-13 15:00:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:00:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:00:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:00:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:00:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239717', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:00:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239717', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:00:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:00:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:00:34] Production.INFO: ==13102== Releasing lock...
[2025-01-13 15:00:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:00:34] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 20:01:02] Production.INFO: ==13244== Lock acquired, processing the job...
[2025-01-13 20:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:01:02] Production.INFO: neon service started
[2025-01-13 20:01:02] Production.INFO: neon service started
[2025-01-13 20:01:02] Production.INFO: ==13244== Releasing lock...
[2025-01-13 20:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:01:02] Production.INFO: ==13257== Lock acquired, processing the job...
[2025-01-13 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:01:02] Production.INFO: ==13257== Releasing lock...
[2025-01-13 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:01:02] Production.INFO: ==13255== Lock acquired, processing the job...
[2025-01-13 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:01:03] Production.INFO: ==13255== Releasing lock...
[2025-01-13 15:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:01:03] Production.INFO: ==13261== Lock acquired, processing the job...
[2025-01-13 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:01:03] Production.INFO: ==13265== Lock acquired, processing the job...
[2025-01-13 15:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:01:03] Production.INFO: ==13270== Lock acquired, processing the job...
[2025-01-13 15:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:01:03] Production.INFO: Account Balance Start.
[2025-01-13 15:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:01:03] Production.INFO: 117
[2025-01-13 15:01:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:01:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:01:04] Production.INFO: count ==21
[2025-01-13 15:01:04] Production.INFO: ==13259== Lock acquired, processing the job...
[2025-01-13 15:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 15:01:04] Production.INFO: count ==21
[2025-01-13 15:01:04] Production.INFO: ==13263== Lock acquired, processing the job...
[2025-01-13 15:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239721') start
[2025-01-13 15:01:04] Production.INFO: ==13268== Lock acquired, processing the job...
[2025-01-13 15:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:01:04] Production.INFO: ==13261== Releasing lock...
[2025-01-13 15:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239721') end
[2025-01-13 15:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:01:04] Production.INFO: 1
[2025-01-13 15:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:01:04] Production.INFO: ==13270== Releasing lock...
[2025-01-13 15:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:01:04] Production.INFO: Total Charge 0
[2025-01-13 15:01:04] Production.INFO: CreateAllLog End
[2025-01-13 15:01:04] Production.ERROR: done
[2025-01-13 15:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:01:04] Production.INFO: Account Balance End.
[2025-01-13 15:01:04] Production.ERROR: done
[2025-01-13 15:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:01:04] Production.INFO: ==13265== Releasing lock...
[2025-01-13 15:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:01:05
[end_date_ymd] => 2025-01-13 15:01:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:01:05' and `end` < '2025-01-13 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-13 15:01:12] Production.ERROR: CronJobId end10
[2025-01-13 15:01:12] Production.INFO: ==13263== Releasing lock...
[2025-01-13 15:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:01:14] Production.INFO: call_cost start
[2025-01-13 15:01:14] Production.INFO: call_cost end
[2025-01-13 15:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:01:14] Production.INFO: ==13259== Releasing lock...
[2025-01-13 15:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:01:26] Production.INFO: count ==5806
[2025-01-13 15:01:29] Production.ERROR: pbx CDR StartTime 2025-01-13 12:01:05 - End Time 2025-01-13 15:01:05
[2025-01-13 15:01:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239723', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239723', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239723', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239723', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:01:29] Production.INFO: ProcessCDR(1,14239723,1,1,2)
[2025-01-13 15:01:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:01:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:01:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:01:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:01:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239723', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:01:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239723', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:01:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:01:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:01:33] Production.INFO: ==13268== Releasing lock...
[2025-01-13 15:01:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:01:33] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 20:02:01] Production.INFO: ==13363== Lock acquired, processing the job...
[2025-01-13 20:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:02:01] Production.INFO: neon service started
[2025-01-13 20:02:01] Production.INFO: neon service started
[2025-01-13 20:02:01] Production.INFO: ==13363== Releasing lock...
[2025-01-13 20:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:02:02] Production.INFO: ==13366== Lock acquired, processing the job...
[2025-01-13 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:02:02] Production.INFO: ==13368== Lock acquired, processing the job...
[2025-01-13 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:02:02] Production.INFO: ==13368== Releasing lock...
[2025-01-13 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:02:02] Production.INFO: ==13366== Releasing lock...
[2025-01-13 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:02:03] Production.INFO: ==13370== Lock acquired, processing the job...
[2025-01-13 15:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:02:03] Production.INFO: ==13372== Lock acquired, processing the job...
[2025-01-13 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:02:03] Production.INFO: ==13376== Lock acquired, processing the job...
[2025-01-13 15:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:02:03] Production.INFO: Account Balance Start.
[2025-01-13 15:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:02:03] Production.INFO: 117
[2025-01-13 15:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:02:03] Production.INFO: ==13374== Lock acquired, processing the job...
[2025-01-13 15:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:02:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:02:03] Production.INFO: ==13378== Lock acquired, processing the job...
[2025-01-13 15:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:02:03] Production.INFO: ==13380== Lock acquired, processing the job...
[2025-01-13 15:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:02:03] Production.INFO: ==13372== Releasing lock...
[2025-01-13 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:02:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:02:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:02:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:02:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:02:03] Production.INFO: count ==21
[2025-01-13 15:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:02:04] Production.INFO: count ==21
[2025-01-13 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239727') start
[2025-01-13 15:02:04] Production.INFO: Total Charge 0
[2025-01-13 15:02:04] Production.INFO: CreateAllLog End
[2025-01-13 15:02:04] Production.ERROR: done
[2025-01-13 15:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239727') end
[2025-01-13 15:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:02:04] Production.INFO: 1
[2025-01-13 15:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:02:04] Production.INFO: ==13380== Releasing lock...
[2025-01-13 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:02:04] Production.INFO: Account Balance End.
[2025-01-13 15:02:04] Production.ERROR: done
[2025-01-13 15:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:02:04] Production.INFO: ==13376== Releasing lock...
[2025-01-13 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:02:05
[end_date_ymd] => 2025-01-13 15:02:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:02:05' and `end` < '2025-01-13 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-13 15:02:11] Production.ERROR: CronJobId end10
[2025-01-13 15:02:11] Production.INFO: ==13374== Releasing lock...
[2025-01-13 15:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:02:12] Production.INFO: call_cost start
[2025-01-13 15:02:12] Production.INFO: call_cost end
[2025-01-13 15:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:02:13] Production.INFO: ==13370== Releasing lock...
[2025-01-13 15:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:02:24] Production.INFO: count ==5803
[2025-01-13 15:02:27] Production.ERROR: pbx CDR StartTime 2025-01-13 12:02:05 - End Time 2025-01-13 15:02:05
[2025-01-13 15:02:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239728', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239728', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239728', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239728', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:02:27] Production.INFO: ProcessCDR(1,14239728,1,1,2)
[2025-01-13 15:02:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:02:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:02:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:02:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239728', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:02:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239728', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:02:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:02:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:02:31] Production.INFO: ==13378== Releasing lock...
[2025-01-13 15:02:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:02:31] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 20:03:02] Production.INFO: ==13438== Lock acquired, processing the job...
[2025-01-13 20:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:03:02] Production.INFO: neon service started
[2025-01-13 20:03:02] Production.INFO: neon service started
[2025-01-13 20:03:02] Production.INFO: ==13438== Releasing lock...
[2025-01-13 20:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:03:02] Production.INFO: ==13442== Lock acquired, processing the job...
[2025-01-13 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:03:02] Production.INFO: ==13442== Releasing lock...
[2025-01-13 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:03:02] Production.INFO: ==13440== Lock acquired, processing the job...
[2025-01-13 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:03:02] Production.INFO: ==13440== Releasing lock...
[2025-01-13 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:03:03] Production.INFO: ==13448== Lock acquired, processing the job...
[2025-01-13 15:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:03:03] Production.INFO: ==13444== Lock acquired, processing the job...
[2025-01-13 15:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:03:03] Production.INFO: ==13454== Lock acquired, processing the job...
[2025-01-13 15:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:03:03] Production.INFO: ==13446== Lock acquired, processing the job...
[2025-01-13 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:03:03] Production.INFO: ==13450== Lock acquired, processing the job...
[2025-01-13 15:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:03:03] Production.INFO: ==13452== Lock acquired, processing the job...
[2025-01-13 15:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:03:03] Production.INFO: count ==21
[2025-01-13 15:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:03:03] Production.INFO: count ==21
[2025-01-13 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239730') start
[2025-01-13 15:03:04] Production.INFO: Account Balance Start.
[2025-01-13 15:03:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:03:04] Production.INFO: 117
[2025-01-13 15:03:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:03:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239730') end
[2025-01-13 15:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:03:04] Production.INFO: 1
[2025-01-13 15:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:03:04] Production.INFO: ==13446== Releasing lock...
[2025-01-13 15:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:03:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:03:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:03:04] Production.ERROR: done
[2025-01-13 15:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:03:04] Production.INFO: ==13454== Releasing lock...
[2025-01-13 15:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:03:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:03:04] Production.INFO: Total Charge 0
[2025-01-13 15:03:04] Production.INFO: CreateAllLog End
[2025-01-13 15:03:04] Production.ERROR: done
[2025-01-13 15:03:04] Production.INFO: Account Balance End.
[2025-01-13 15:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:03:04] Production.INFO: ==13450== Releasing lock...
[2025-01-13 15:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:03:05
[end_date_ymd] => 2025-01-13 15:03:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:03:05' and `end` < '2025-01-13 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-13 15:03:12] Production.ERROR: CronJobId end10
[2025-01-13 15:03:12] Production.INFO: ==13448== Releasing lock...
[2025-01-13 15:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:03:13] Production.INFO: call_cost start
[2025-01-13 15:03:13] Production.INFO: call_cost end
[2025-01-13 15:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:03:14] Production.INFO: ==13444== Releasing lock...
[2025-01-13 15:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:03:26] Production.INFO: count ==5805
[2025-01-13 15:03:28] Production.ERROR: pbx CDR StartTime 2025-01-13 12:03:05 - End Time 2025-01-13 15:03:05
[2025-01-13 15:03:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:03:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239733', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:03:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239733', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:03:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239733', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:03:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239733', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:03:29] Production.INFO: ProcessCDR(1,14239733,1,1,2)
[2025-01-13 15:03:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:03:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:03:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:03:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:03:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239733', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:03:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239733', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:03:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:03:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:03:33] Production.INFO: ==13452== Releasing lock...
[2025-01-13 15:03:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:03:33] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 20:04:01] Production.INFO: ==13514== Lock acquired, processing the job...
[2025-01-13 20:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:04:01] Production.INFO: neon service started
[2025-01-13 20:04:01] Production.INFO: neon service started
[2025-01-13 20:04:01] Production.INFO: ==13514== Releasing lock...
[2025-01-13 20:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:04:01] Production.INFO: ==13518== Lock acquired, processing the job...
[2025-01-13 20:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:04:01] Production.INFO: ==13518== Releasing lock...
[2025-01-13 20:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:04:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:04:02] Production.INFO: ==13516== Lock acquired, processing the job...
[2025-01-13 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:04:02] Production.INFO: ==13516== Releasing lock...
[2025-01-13 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:04:03] Production.INFO: ==13521== Lock acquired, processing the job...
[2025-01-13 15:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:04:03] Production.INFO: ==13523== Lock acquired, processing the job...
[2025-01-13 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:04:03] Production.INFO: ==13529== Lock acquired, processing the job...
[2025-01-13 15:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:04:03] Production.INFO: ==13525== Lock acquired, processing the job...
[2025-01-13 15:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:04:03] Production.INFO: ==13527== Lock acquired, processing the job...
[2025-01-13 15:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:04:03] Production.INFO: ==13531== Lock acquired, processing the job...
[2025-01-13 15:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:04:03] Production.INFO: Account Balance Start.
[2025-01-13 15:04:03] Production.ERROR: done
[2025-01-13 15:04:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:04:03] Production.INFO: 117
[2025-01-13 15:04:03] Production.INFO: ==13523== Releasing lock...
[2025-01-13 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:04:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:04:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:04:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:04:03] Production.ERROR: done
[2025-01-13 15:04:03] Production.INFO: count ==21
[2025-01-13 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-13 15:04:03] Production.INFO: count ==21
[2025-01-13 15:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239737') start
[2025-01-13 15:04:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239737') end
[2025-01-13 15:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:04:04] Production.INFO: 1
[2025-01-13 15:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:04:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:04:04] Production.INFO: ==13531== Releasing lock...
[2025-01-13 15:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:04:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:04:04] Production.INFO: Total Charge 0
[2025-01-13 15:04:04] Production.INFO: CreateAllLog End
[2025-01-13 15:04:04] Production.INFO: Account Balance End.
[2025-01-13 15:04:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:04:04] Production.INFO: ==13527== Releasing lock...
[2025-01-13 15:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:04:04
[end_date_ymd] => 2025-01-13 15:04:04
[RateCDR] => 1
)
[2025-01-13 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-13 12:04:04' and `end` < '2025-01-13 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-13 15:04:10] Production.ERROR: CronJobId end10
[2025-01-13 15:04:10] Production.INFO: ==13525== Releasing lock...
[2025-01-13 15:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:04:12] Production.INFO: call_cost start
[2025-01-13 15:04:12] Production.INFO: call_cost end
[2025-01-13 15:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:04:13] Production.INFO: ==13521== Releasing lock...
[2025-01-13 15:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:04:26] Production.INFO: count ==5804
[2025-01-13 15:04:28] Production.ERROR: pbx CDR StartTime 2025-01-13 12:04:04 - End Time 2025-01-13 15:04:04
[2025-01-13 15:04:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:04:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239738', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:04:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239738', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:04:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239738', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:04:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239738', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:04:29] Production.INFO: ProcessCDR(1,14239738,1,1,2)
[2025-01-13 15:04:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:04:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:04:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239738', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:04:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239738', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:04:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:04:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:04:33] Production.INFO: ==13529== Releasing lock...
[2025-01-13 15:04:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:04:33] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 20:05:01] Production.INFO: ==13663== Lock acquired, processing the job...
[2025-01-13 20:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:05:01] Production.INFO: neon service started
[2025-01-13 20:05:01] Production.INFO: neon service started
[2025-01-13 20:05:01] Production.INFO: ==13663== Releasing lock...
[2025-01-13 20:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:05:02] Production.INFO: ==13665== Lock acquired, processing the job...
[2025-01-13 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:05:02] Production.INFO: ==13665== Releasing lock...
[2025-01-13 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:05:02] Production.INFO: ==13667== Lock acquired, processing the job...
[2025-01-13 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:05:02] Production.INFO: ==13667== Releasing lock...
[2025-01-13 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:05:03] Production.INFO: ==13669== Lock acquired, processing the job...
[2025-01-13 15:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:05:03] Production.INFO: ==13671== Lock acquired, processing the job...
[2025-01-13 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:05:03] Production.INFO: ==13673== Lock acquired, processing the job...
[2025-01-13 15:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:05:03] Production.INFO: ==13677== Lock acquired, processing the job...
[2025-01-13 15:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:05:03] Production.INFO: ==13675== Lock acquired, processing the job...
[2025-01-13 15:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:05:03] Production.INFO: ==13679== Lock acquired, processing the job...
[2025-01-13 15:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:05:03] Production.INFO: Account Balance Start.
[2025-01-13 15:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:05:03] Production.INFO: 117
[2025-01-13 15:05:03] Production.INFO: ==13671== Releasing lock...
[2025-01-13 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:05:03] Production.INFO: count ==21
[2025-01-13 15:05:03] Production.ERROR: done
[2025-01-13 15: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-13 15:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:05:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:05:03] Production.INFO: count ==21
[2025-01-13 15:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239742') start
[2025-01-13 15:05:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:05:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:05:04] Production.INFO: Total Charge 0
[2025-01-13 15:05:04] Production.ERROR: done
[2025-01-13 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239742') end
[2025-01-13 15:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:05:04] Production.INFO: 1
[2025-01-13 15:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:05:04] Production.INFO: ==13679== Releasing lock...
[2025-01-13 15:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:05:04] Production.INFO: CreateAllLog End
[2025-01-13 15:05:04] Production.INFO: Account Balance End.
[2025-01-13 15:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:05:04] Production.INFO: ==13675== Releasing lock...
[2025-01-13 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:05:05
[end_date_ymd] => 2025-01-13 15:05:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:05:05' and `end` < '2025-01-13 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-13 15:05:11] Production.ERROR: CronJobId end10
[2025-01-13 15:05:11] Production.INFO: ==13673== Releasing lock...
[2025-01-13 15:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:05:13] Production.INFO: call_cost start
[2025-01-13 15:05:13] Production.INFO: call_cost end
[2025-01-13 15:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:05:14] Production.INFO: ==13669== Releasing lock...
[2025-01-13 15:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:05:29] Production.INFO: count ==5789
[2025-01-13 15:05:31] Production.ERROR: pbx CDR StartTime 2025-01-13 12:05:05 - End Time 2025-01-13 15:05:05
[2025-01-13 15:05:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239743', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239743', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239743', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:05:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239743', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:05:31] Production.INFO: ProcessCDR(1,14239743,1,1,2)
[2025-01-13 15:05:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:05:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:05:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:05:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:05:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239743', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:05:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239743', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:05:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:05:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:05:36] Production.INFO: ==13677== Releasing lock...
[2025-01-13 15:05:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:05:36] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 20:06:02] Production.INFO: ==13733== Lock acquired, processing the job...
[2025-01-13 20:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:06:02] Production.INFO: neon service started
[2025-01-13 20:06:02] Production.INFO: neon service started
[2025-01-13 20:06:02] Production.INFO: ==13733== Releasing lock...
[2025-01-13 20:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:06:02] Production.INFO: ==13736== Lock acquired, processing the job...
[2025-01-13 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:06:03] Production.INFO: ==13738== Lock acquired, processing the job...
[2025-01-13 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:06:03] Production.INFO: ==13738== Releasing lock...
[2025-01-13 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:06:03] Production.INFO: ==13736== Releasing lock...
[2025-01-13 15:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:06:03] Production.INFO: ==13740== Lock acquired, processing the job...
[2025-01-13 15:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:06:03] Production.INFO: ==13742== Lock acquired, processing the job...
[2025-01-13 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:06:03] Production.INFO: ==13750== Lock acquired, processing the job...
[2025-01-13 15:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:06:04] Production.INFO: ==13744== Lock acquired, processing the job...
[2025-01-13 15:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:06:04] Production.INFO: ==13746== Lock acquired, processing the job...
[2025-01-13 15:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:06:04] Production.INFO: count ==21
[2025-01-13 15:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:06:04] Production.INFO: count ==21
[2025-01-13 15:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239746') start
[2025-01-13 15:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:06:04] Production.INFO: ==13748== Lock acquired, processing the job...
[2025-01-13 15:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:06:04] Production.INFO: ==13742== Releasing lock...
[2025-01-13 15:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:06:04] Production.INFO: Account Balance Start.
[2025-01-13 15:06:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239746') end
[2025-01-13 15:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:06:04] Production.INFO: 1
[2025-01-13 15:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:06:04] Production.INFO: 117
[2025-01-13 15:06:04] Production.INFO: ==13750== Releasing lock...
[2025-01-13 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:06:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:06:04] Production.ERROR: done
[2025-01-13 15:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:06:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:06:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:06:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:06:04] Production.ERROR: done
[2025-01-13 15:06:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:06:04] Production.INFO: Total Charge 0
[2025-01-13 15:06:04] Production.INFO: CreateAllLog End
[2025-01-13 15:06:05] Production.INFO: Account Balance End.
[2025-01-13 15:06:05] Production.ERROR: CronJobId end 12
[2025-01-13 15:06:05] Production.INFO: ==13746== Releasing lock...
[2025-01-13 15:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:06:05
[end_date_ymd] => 2025-01-13 15:06:05
[RateCDR] => 1
)
[2025-01-13 15:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:06:05' and `end` < '2025-01-13 15:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:06:11] Production.ERROR: CronJobId end10
[2025-01-13 15:06:11] Production.INFO: ==13744== Releasing lock...
[2025-01-13 15:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:06:13] Production.INFO: call_cost start
[2025-01-13 15:06:13] Production.INFO: call_cost end
[2025-01-13 15:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:06:13] Production.INFO: ==13740== Releasing lock...
[2025-01-13 15:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:06:27] Production.INFO: count ==5773
[2025-01-13 15:06:29] Production.ERROR: pbx CDR StartTime 2025-01-13 12:06:05 - End Time 2025-01-13 15:06:05
[2025-01-13 15:06:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:06:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239748', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:06:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239748', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:06:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239748', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:06:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239748', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:06:30] Production.INFO: ProcessCDR(1,14239748,1,1,2)
[2025-01-13 15:06:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:06:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:06:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:06:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:06:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239748', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:06:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239748', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:06:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:06:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:06:34] Production.INFO: ==13748== Releasing lock...
[2025-01-13 15:06:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:06:34] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 20:07:01] Production.INFO: ==13803== Lock acquired, processing the job...
[2025-01-13 20:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:07:01] Production.INFO: neon service started
[2025-01-13 20:07:01] Production.INFO: neon service started
[2025-01-13 20:07:01] Production.INFO: ==13803== Releasing lock...
[2025-01-13 20:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:07:02] Production.INFO: ==13805== Lock acquired, processing the job...
[2025-01-13 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:07:02] Production.INFO: ==13807== Lock acquired, processing the job...
[2025-01-13 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:07:02] Production.INFO: ==13807== Releasing lock...
[2025-01-13 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:07:02] Production.INFO: ==13805== Releasing lock...
[2025-01-13 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:07:03] Production.INFO: ==13814== Lock acquired, processing the job...
[2025-01-13 15:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:07:03] Production.INFO: ==13818== Lock acquired, processing the job...
[2025-01-13 15:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:07:03] Production.INFO: ==13810== Lock acquired, processing the job...
[2025-01-13 15:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:07:03] Production.INFO: ==13812== Lock acquired, processing the job...
[2025-01-13 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:07:03] Production.INFO: ==13816== Lock acquired, processing the job...
[2025-01-13 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:07:03] Production.INFO: ==13820== Lock acquired, processing the job...
[2025-01-13 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:07:03] Production.ERROR: done
[2025-01-13 15:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 15:07:03] Production.INFO: Account Balance Start.
[2025-01-13 15:07:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:07:03] Production.INFO: 117
[2025-01-13 15:07:03] Production.INFO: count ==21
[2025-01-13 15:07:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:07:04] Production.ERROR: done
[2025-01-13 15:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:07:04] Production.INFO: count ==21
[2025-01-13 15:07:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239750') start
[2025-01-13 15:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:07:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:07:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239750') end
[2025-01-13 15:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:07:04] Production.INFO: 1
[2025-01-13 15:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:07:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:07:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:07:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:07:04] Production.INFO: Total Charge 0
[2025-01-13 15:07:04] Production.INFO: CreateAllLog End
[2025-01-13 15:07:04] Production.INFO: ==13820== Releasing lock...
[2025-01-13 15:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:07:04] Production.INFO: ==13812== Releasing lock...
[2025-01-13 15:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:07:04] Production.INFO: Account Balance End.
[2025-01-13 15:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:07:04] Production.INFO: ==13816== Releasing lock...
[2025-01-13 15:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:07:05
[end_date_ymd] => 2025-01-13 15:07:05
[RateCDR] => 1
)
[2025-01-13 15:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:07:05' and `end` < '2025-01-13 15:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:07:11] Production.ERROR: CronJobId end10
[2025-01-13 15:07:11] Production.INFO: ==13814== Releasing lock...
[2025-01-13 15:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:07:12] Production.INFO: call_cost start
[2025-01-13 15:07:12] Production.INFO: call_cost end
[2025-01-13 15:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:07:13] Production.INFO: ==13810== Releasing lock...
[2025-01-13 15:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:07:27] Production.INFO: count ==5770
[2025-01-13 15:07:30] Production.ERROR: pbx CDR StartTime 2025-01-13 12:07:05 - End Time 2025-01-13 15:07:05
[2025-01-13 15:07:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239753', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239753', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239753', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239753', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:07:30] Production.INFO: ProcessCDR(1,14239753,1,1,2)
[2025-01-13 15:07:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:07:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:07:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:07:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:07:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239753', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:07:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239753', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:07:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:07:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:07:34] Production.INFO: ==13818== Releasing lock...
[2025-01-13 15:07:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:07:34] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 20:08:02] Production.INFO: ==13953== Lock acquired, processing the job...
[2025-01-13 20:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:08:02] Production.INFO: neon service started
[2025-01-13 20:08:02] Production.INFO: neon service started
[2025-01-13 20:08:02] Production.INFO: ==13953== Releasing lock...
[2025-01-13 20:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:08:02] Production.INFO: ==13955== Lock acquired, processing the job...
[2025-01-13 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:08:02] Production.INFO: ==13955== Releasing lock...
[2025-01-13 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:08:02] Production.INFO: ==13957== Lock acquired, processing the job...
[2025-01-13 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:08:02] Production.INFO: ==13957== Releasing lock...
[2025-01-13 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:08:03] Production.INFO: ==13959== Lock acquired, processing the job...
[2025-01-13 15:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:08:03] Production.INFO: ==13961== Lock acquired, processing the job...
[2025-01-13 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:08:03] Production.INFO: ==13970== Lock acquired, processing the job...
[2025-01-13 15:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:08:03] Production.INFO: ==13963== Lock acquired, processing the job...
[2025-01-13 15:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:08:04] Production.INFO: ==13965== Lock acquired, processing the job...
[2025-01-13 15:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:08:04] Production.INFO: ==13968== Lock acquired, processing the job...
[2025-01-13 15:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:08:04] Production.INFO: ==13961== Releasing lock...
[2025-01-13 15:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 15:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:08:04] Production.INFO: Account Balance Start.
[2025-01-13 15:08:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:08:04] Production.INFO: count ==21
[2025-01-13 15:08:04] Production.INFO: 117
[2025-01-13 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-13 15:08:04] Production.INFO: count ==21
[2025-01-13 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239756') start
[2025-01-13 15:08:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:08:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:08:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:08:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239756') end
[2025-01-13 15:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:08:04] Production.INFO: 1
[2025-01-13 15:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:08:04] Production.ERROR: done
[2025-01-13 15:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:08:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:08:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:08:04] Production.INFO: ==13970== Releasing lock...
[2025-01-13 15:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:08:04] Production.INFO: Total Charge 0
[2025-01-13 15:08:04] Production.INFO: CreateAllLog End
[2025-01-13 15:08:04] Production.ERROR: done
[2025-01-13 15:08:05] Production.INFO: Account Balance End.
[2025-01-13 15:08:05] Production.ERROR: CronJobId end 12
[2025-01-13 15:08:05] Production.INFO: ==13965== Releasing lock...
[2025-01-13 15:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:08:05
[end_date_ymd] => 2025-01-13 15:08:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:08:05' and `end` < '2025-01-13 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-13 15:08:11] Production.ERROR: CronJobId end10
[2025-01-13 15:08:11] Production.INFO: ==13963== Releasing lock...
[2025-01-13 15:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:08:13] Production.INFO: call_cost start
[2025-01-13 15:08:13] Production.INFO: call_cost end
[2025-01-13 15:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:08:14] Production.INFO: ==13959== Releasing lock...
[2025-01-13 15:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:08:23] Production.INFO: count ==5767
[2025-01-13 15:08:25] Production.ERROR: pbx CDR StartTime 2025-01-13 12:08:05 - End Time 2025-01-13 15:08:05
[2025-01-13 15:08:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239758', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239758', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239758', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239758', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:08:25] Production.INFO: ProcessCDR(1,14239758,1,1,2)
[2025-01-13 15:08:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:08:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:08:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:08:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:08:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239758', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:08:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239758', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:08:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:08:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:08:30] Production.INFO: ==13968== Releasing lock...
[2025-01-13 15:08:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:08:30] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 20:09:01] Production.INFO: ==14023== Lock acquired, processing the job...
[2025-01-13 20:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:09:01] Production.INFO: neon service started
[2025-01-13 20:09:01] Production.INFO: neon service started
[2025-01-13 20:09:01] Production.INFO: ==14023== Releasing lock...
[2025-01-13 20:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:09:02] Production.INFO: ==14025== Lock acquired, processing the job...
[2025-01-13 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:09:02] Production.INFO: ==14027== Lock acquired, processing the job...
[2025-01-13 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:09:02] Production.INFO: ==14027== Releasing lock...
[2025-01-13 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:09:02] Production.INFO: ==14025== Releasing lock...
[2025-01-13 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:09:03] Production.INFO: ==14034== Lock acquired, processing the job...
[2025-01-13 15:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:09:03] Production.INFO: ==14040== Lock acquired, processing the job...
[2025-01-13 15:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:09:03] Production.INFO: ==14030== Lock acquired, processing the job...
[2025-01-13 15:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:09:03] Production.INFO: ==14032== Lock acquired, processing the job...
[2025-01-13 15:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 15:09:03] Production.INFO: count ==21
[2025-01-13 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-13 15:09:03] Production.INFO: ==14036== Lock acquired, processing the job...
[2025-01-13 15:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:09:03] Production.INFO: count ==21
[2025-01-13 15:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239759') start
[2025-01-13 15:09:03] Production.INFO: ==14038== Lock acquired, processing the job...
[2025-01-13 15:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239759') end
[2025-01-13 15:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:09:03] Production.INFO: 1
[2025-01-13 15:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:09:03] Production.INFO: Account Balance Start.
[2025-01-13 15:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:09:03] Production.INFO: 117
[2025-01-13 15:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:09:03] Production.INFO: ==14040== Releasing lock...
[2025-01-13 15:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:09:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:09:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:09:04] Production.INFO: ==14032== Releasing lock...
[2025-01-13 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:09:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:09:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:09:04] Production.INFO: Total Charge 0
[2025-01-13 15:09:04] Production.ERROR: done
[2025-01-13 15:09:04] Production.INFO: CreateAllLog End
[2025-01-13 15:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:09:04] Production.ERROR: done
[2025-01-13 15:09:04] Production.INFO: Account Balance End.
[2025-01-13 15:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:09:04] Production.INFO: ==14036== Releasing lock...
[2025-01-13 15:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:09:05
[end_date_ymd] => 2025-01-13 15:09:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:09:05' and `end` < '2025-01-13 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-13 15:09:11] Production.ERROR: CronJobId end10
[2025-01-13 15:09:11] Production.INFO: ==14034== Releasing lock...
[2025-01-13 15:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:09:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:09:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:09:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:09:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:09:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:09:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:09:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:09:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:09:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:09:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:09:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:09:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:09:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:09:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:09:12] Production.INFO: call_cost start
[2025-01-13 15:09:12] Production.INFO: call_cost end
[2025-01-13 15:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:09:13] Production.INFO: ==14030== Releasing lock...
[2025-01-13 15:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:09:19] Production.INFO: count ==5755
[2025-01-13 15:09:21] Production.ERROR: pbx CDR StartTime 2025-01-13 12:09:05 - End Time 2025-01-13 15:09:05
[2025-01-13 15:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239763', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239763', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239763', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239763', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:09:21] Production.INFO: ProcessCDR(1,14239763,1,1,2)
[2025-01-13 15:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239763', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239763', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:09:25] Production.INFO: ==14038== Releasing lock...
[2025-01-13 15:09:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:09:25] Production.INFO: 71 MB #Memory Used#
[2025-01-13 20:10:02] Production.INFO: ==14093== Lock acquired, processing the job...
[2025-01-13 20:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:10:02] Production.INFO: neon service started
[2025-01-13 20:10:02] Production.INFO: neon service started
[2025-01-13 20:10:02] Production.INFO: ==14093== Releasing lock...
[2025-01-13 20:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:10:02] Production.INFO: ==14095== Lock acquired, processing the job...
[2025-01-13 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:10:02] Production.INFO: ==14097== Lock acquired, processing the job...
[2025-01-13 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:10:02] Production.INFO: ==14097== Releasing lock...
[2025-01-13 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:10:03] Production.INFO: ==14095== Releasing lock...
[2025-01-13 15:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:10:03] Production.INFO: ==14100== Lock acquired, processing the job...
[2025-01-13 15:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 15:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 15:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 15:10:04] Production.INFO: ==14100== Releasing lock...
[2025-01-13 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 15:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 15:10:04] Production.INFO: ==14106== Lock acquired, processing the job...
[2025-01-13 15:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:10:04] Production.INFO: ==14108== Lock acquired, processing the job...
[2025-01-13 15:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:10:04] Production.INFO: ==14102== Lock acquired, processing the job...
[2025-01-13 15:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:10:04] Production.INFO: ==14112== Lock acquired, processing the job...
[2025-01-13 15:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 15:10:04] Production.INFO: Account Balance Start.
[2025-01-13 15:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:10:04] Production.INFO: 117
[2025-01-13 15:10:04] Production.INFO: ==14104== Lock acquired, processing the job...
[2025-01-13 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:10:04] Production.INFO: ==14110== Lock acquired, processing the job...
[2025-01-13 15:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:10:04] Production.INFO: ==14114== Lock acquired, processing the job...
[2025-01-13 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:10:04] Production.INFO: ==14104== Releasing lock...
[2025-01-13 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:10:04] Production.ERROR: done
[2025-01-13 15:10:04] Production.INFO: Total Charge 0
[2025-01-13 15:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 15:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239768', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 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-13 15:10:04] Production.INFO: count ==21
[2025-01-13 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-13 15:10:04] Production.INFO: count ==21
[2025-01-13 15:10:04] Production.INFO: CreateAllLog End
[2025-01-13 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239767') start
[2025-01-13 15:10:05] Production.ERROR: done
[2025-01-13 15:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14239767') end
[2025-01-13 15:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:10:05] Production.INFO: 1
[2025-01-13 15:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:10:05] Production.INFO: Account Balance End.
[2025-01-13 15:10:05] Production.ERROR: done
[2025-01-13 15:10:05] Production.INFO: ==14114== Releasing lock...
[2025-01-13 15:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:10:05] Production.ERROR: CronJobId end 12
[2025-01-13 15:10:05] Production.INFO: ==14108== Releasing lock...
[2025-01-13 15:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:10:06
[end_date_ymd] => 2025-01-13 15:10:06
[RateCDR] => 1
)
[2025-01-13 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-13 12:10:06' and `end` < '2025-01-13 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-13 15:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239768', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 15:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 15:10:09] Production.INFO: ProcessCDR(1,14239768,1,1,2)
[2025-01-13 15:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239768,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239768,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:10:09] Production.INFO: ==14112== Releasing lock...
[2025-01-13 15:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 15:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 15:10:14] Production.ERROR: CronJobId end10
[2025-01-13 15:10:14] Production.INFO: ==14106== Releasing lock...
[2025-01-13 15:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:10:15] Production.INFO: call_cost start
[2025-01-13 15:10:15] Production.INFO: call_cost end
[2025-01-13 15:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:10:16] Production.INFO: ==14102== Releasing lock...
[2025-01-13 15:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:10:23] Production.INFO: count ==5755
[2025-01-13 15:10:25] Production.ERROR: pbx CDR StartTime 2025-01-13 12:10:06 - End Time 2025-01-13 15:10:06
[2025-01-13 15:10:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:10:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239769', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:10:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239769', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:10:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239769', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:10:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239769', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:10:25] Production.INFO: ProcessCDR(1,14239769,1,1,2)
[2025-01-13 15:10:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:10:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:10:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:10:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:10:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239769', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:10:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239769', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:10:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:10:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:10:31] Production.INFO: ==14110== Releasing lock...
[2025-01-13 15:10:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:10:31] Production.INFO: 71 MB #Memory Used#
[2025-01-13 20:11:01] Production.INFO: ==14167== Lock acquired, processing the job...
[2025-01-13 20:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:11:01] Production.INFO: neon service started
[2025-01-13 20:11:01] Production.INFO: neon service started
[2025-01-13 20:11:01] Production.INFO: ==14167== Releasing lock...
[2025-01-13 20:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:11:02] Production.INFO: ==14172== Lock acquired, processing the job...
[2025-01-13 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:11:02] Production.INFO: ==14172== Releasing lock...
[2025-01-13 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:11:02] Production.INFO: ==14170== Lock acquired, processing the job...
[2025-01-13 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:11:02] Production.INFO: ==14170== Releasing lock...
[2025-01-13 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:11:03] Production.INFO: ==14174== Lock acquired, processing the job...
[2025-01-13 15:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:11:03] Production.INFO: ==14178== Lock acquired, processing the job...
[2025-01-13 15:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:11:03] Production.INFO: ==14176== Lock acquired, processing the job...
[2025-01-13 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:11:03] Production.INFO: ==14182== Lock acquired, processing the job...
[2025-01-13 15:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:11:03] Production.INFO: ==14180== Lock acquired, processing the job...
[2025-01-13 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:11:03] Production.INFO: ==14184== Lock acquired, processing the job...
[2025-01-13 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:11:03] Production.INFO: ==14176== Releasing lock...
[2025-01-13 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:11:03] Production.INFO: Account Balance Start.
[2025-01-13 15:11:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:11:03] Production.INFO: 117
[2025-01-13 15:11:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:11:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:11:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:11:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:11:03] Production.INFO: count ==21
[2025-01-13 15:11:03] Production.ERROR: done
[2025-01-13 15:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 15:11:03] Production.INFO: count ==21
[2025-01-13 15:11:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239773') start
[2025-01-13 15:11:04] Production.ERROR: done
[2025-01-13 15:11:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239773') end
[2025-01-13 15:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:11:04] Production.INFO: 1
[2025-01-13 15:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:11:04] Production.INFO: ==14184== Releasing lock...
[2025-01-13 15:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:11:04] Production.INFO: Total Charge 0
[2025-01-13 15:11:04] Production.INFO: CreateAllLog End
[2025-01-13 15:11:04] Production.INFO: Account Balance End.
[2025-01-13 15:11:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:11:04] Production.INFO: ==14180== Releasing lock...
[2025-01-13 15:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:11:04
[end_date_ymd] => 2025-01-13 15:11:04
[RateCDR] => 1
)
[2025-01-13 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-13 12:11:04' and `end` < '2025-01-13 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-13 15:11:12] Production.ERROR: CronJobId end10
[2025-01-13 15:11:12] Production.INFO: ==14178== Releasing lock...
[2025-01-13 15:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:11:14] Production.INFO: call_cost start
[2025-01-13 15:11:14] Production.INFO: call_cost end
[2025-01-13 15:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:11:14] Production.INFO: ==14174== Releasing lock...
[2025-01-13 15:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:11:30] Production.INFO: count ==5779
[2025-01-13 15:11:33] Production.ERROR: pbx CDR StartTime 2025-01-13 12:11:04 - End Time 2025-01-13 15:11:04
[2025-01-13 15:11:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:11:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239774', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:11:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239774', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:11:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239774', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:11:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239774', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:11:33] Production.INFO: ProcessCDR(1,14239774,1,1,2)
[2025-01-13 15:11:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:11:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:11:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:11:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:11:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239774', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:11:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239774', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:11:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:11:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:11:38] Production.INFO: ==14182== Releasing lock...
[2025-01-13 15:11:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:11:38] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 20:12:02] Production.INFO: ==14315== Lock acquired, processing the job...
[2025-01-13 20:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:12:02] Production.INFO: neon service started
[2025-01-13 20:12:02] Production.INFO: neon service started
[2025-01-13 20:12:02] Production.INFO: ==14315== Releasing lock...
[2025-01-13 20:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:12:02] Production.INFO: ==14317== Lock acquired, processing the job...
[2025-01-13 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:12:02] Production.INFO: ==14319== Lock acquired, processing the job...
[2025-01-13 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:12:02] Production.INFO: ==14319== Releasing lock...
[2025-01-13 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:12:03] Production.INFO: ==14317== Releasing lock...
[2025-01-13 15:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:12:04] Production.INFO: ==14322== Lock acquired, processing the job...
[2025-01-13 15:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:12:04] Production.INFO: ==14324== Lock acquired, processing the job...
[2025-01-13 15:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:12:04] Production.INFO: ==14326== Lock acquired, processing the job...
[2025-01-13 15:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:12:04] Production.INFO: ==14328== Lock acquired, processing the job...
[2025-01-13 15:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:12:04] Production.INFO: ==14332== Lock acquired, processing the job...
[2025-01-13 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:12:04] Production.INFO: ==14330== Lock acquired, processing the job...
[2025-01-13 15:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:12:04] Production.INFO: Account Balance Start.
[2025-01-13 15:12:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:12:04] Production.INFO: 117
[2025-01-13 15:12:04] Production.INFO: ==14324== Releasing lock...
[2025-01-13 15:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:12:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:12:04] Production.INFO: count ==21
[2025-01-13 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-13 15:12:04] Production.INFO: count ==21
[2025-01-13 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:12:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239778') start
[2025-01-13 15:12:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:12:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:12:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:12:04] Production.INFO: Total Charge 0
[2025-01-13 15:12:04] Production.INFO: CreateAllLog End
[2025-01-13 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239778') end
[2025-01-13 15:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:12:04] Production.INFO: 1
[2025-01-13 15:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:12:04] Production.INFO: ==14332== Releasing lock...
[2025-01-13 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:12:04] Production.ERROR: done
[2025-01-13 15:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:12:04] Production.INFO: Account Balance End.
[2025-01-13 15:12:05] Production.ERROR: CronJobId end 12
[2025-01-13 15:12:05] Production.INFO: ==14328== Releasing lock...
[2025-01-13 15:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:12:05] Production.ERROR: done
[2025-01-13 15:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:12:06
[end_date_ymd] => 2025-01-13 15:12:06
[RateCDR] => 1
)
[2025-01-13 15:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:12:06' and `end` < '2025-01-13 15:12:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:12:13] Production.ERROR: CronJobId end10
[2025-01-13 15:12:13] Production.INFO: ==14326== Releasing lock...
[2025-01-13 15:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:12:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:12:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:12:15] Production.INFO: call_cost start
[2025-01-13 15:12:15] Production.INFO: call_cost end
[2025-01-13 15:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:12:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:12:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:12:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:12:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:12:16] Production.INFO: ==14322== Releasing lock...
[2025-01-13 15:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:12:28] Production.INFO: count ==5803
[2025-01-13 15:12:30] Production.ERROR: pbx CDR StartTime 2025-01-13 12:12:06 - End Time 2025-01-13 15:12:06
[2025-01-13 15:12:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:12:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239779', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:12:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239779', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:12:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239779', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:12:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239779', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:12:31] Production.INFO: ProcessCDR(1,14239779,1,1,2)
[2025-01-13 15:12:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:12:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:12:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:12:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:12:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239779', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:12:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239779', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:12:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:12:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:12:35] Production.INFO: ==14330== Releasing lock...
[2025-01-13 15:12:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:12:35] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 20:13:01] Production.INFO: ==14388== Lock acquired, processing the job...
[2025-01-13 20:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:13:01] Production.INFO: neon service started
[2025-01-13 20:13:01] Production.INFO: neon service started
[2025-01-13 20:13:01] Production.INFO: ==14388== Releasing lock...
[2025-01-13 20:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:13:02] Production.INFO: ==14390== Lock acquired, processing the job...
[2025-01-13 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:13:02] Production.INFO: ==14392== Lock acquired, processing the job...
[2025-01-13 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:13:02] Production.INFO: ==14392== Releasing lock...
[2025-01-13 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:13:02] Production.INFO: ==14390== Releasing lock...
[2025-01-13 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:13:03] Production.INFO: ==14395== Lock acquired, processing the job...
[2025-01-13 15:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:13:03] Production.INFO: ==14399== Lock acquired, processing the job...
[2025-01-13 15:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:13:03] Production.INFO: ==14401== Lock acquired, processing the job...
[2025-01-13 15:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:13:03] Production.INFO: ==14397== Lock acquired, processing the job...
[2025-01-13 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:13:03] Production.INFO: Account Balance Start.
[2025-01-13 15:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:13:03] Production.INFO: 117
[2025-01-13 15:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:13:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:13:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:13:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:13:03] Production.INFO: ==14403== Lock acquired, processing the job...
[2025-01-13 15:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:13:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:13:03] Production.INFO: Total Charge 0
[2025-01-13 15:13:03] Production.INFO: ==14405== Lock acquired, processing the job...
[2025-01-13 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:13:03] Production.INFO: CreateAllLog End
[2025-01-13 15:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:13:04] Production.INFO: count ==21
[2025-01-13 15:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:13:04] Production.INFO: count ==21
[2025-01-13 15:13:04] Production.INFO: ==14397== Releasing lock...
[2025-01-13 15:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:13:04] Production.INFO: Account Balance End.
[2025-01-13 15:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239783') start
[2025-01-13 15:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:13:04] Production.INFO: ==14401== Releasing lock...
[2025-01-13 15:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:13:04] Production.ERROR: done
[2025-01-13 15:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239783') end
[2025-01-13 15:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:13:04] Production.INFO: 1
[2025-01-13 15:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:13:04] Production.INFO: ==14405== Releasing lock...
[2025-01-13 15:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:13:04] Production.ERROR: done
[2025-01-13 15:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:13:05
[end_date_ymd] => 2025-01-13 15:13:05
[RateCDR] => 1
)
[2025-01-13 15:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:13:05' and `end` < '2025-01-13 15:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:13:11] Production.ERROR: CronJobId end10
[2025-01-13 15:13:11] Production.INFO: ==14399== Releasing lock...
[2025-01-13 15:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:13:13] Production.INFO: call_cost start
[2025-01-13 15:13:13] Production.INFO: call_cost end
[2025-01-13 15:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:13:14] Production.INFO: ==14395== Releasing lock...
[2025-01-13 15:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:13:23] Production.INFO: count ==5810
[2025-01-13 15:13:26] Production.ERROR: pbx CDR StartTime 2025-01-13 12:13:05 - End Time 2025-01-13 15:13:05
[2025-01-13 15:13:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:13:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239784', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:13:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239784', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:13:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239784', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:13:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239784', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:13:26] Production.INFO: ProcessCDR(1,14239784,1,1,2)
[2025-01-13 15:13:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:13:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:13:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:13:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:13:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239784', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:13:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239784', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:13:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:13:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:13:31] Production.INFO: ==14403== Releasing lock...
[2025-01-13 15:13:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:13:31] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 20:14:02] Production.INFO: ==14460== Lock acquired, processing the job...
[2025-01-13 20:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:14:02] Production.INFO: neon service started
[2025-01-13 20:14:02] Production.INFO: neon service started
[2025-01-13 20:14:02] Production.INFO: ==14460== Releasing lock...
[2025-01-13 20:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:14:02] Production.INFO: ==14462== Lock acquired, processing the job...
[2025-01-13 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:14:02] Production.INFO: ==14462== Releasing lock...
[2025-01-13 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:14:03] Production.INFO: ==14464== Lock acquired, processing the job...
[2025-01-13 20:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:14:03] Production.INFO: ==14464== Releasing lock...
[2025-01-13 20:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:14:03] Production.INFO: ==14468== Lock acquired, processing the job...
[2025-01-13 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:14:03] Production.INFO: ==14470== Lock acquired, processing the job...
[2025-01-13 15:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:14:03] Production.INFO: ==14474== Lock acquired, processing the job...
[2025-01-13 15:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:14:04] Production.INFO: ==14466== Lock acquired, processing the job...
[2025-01-13 15:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:14:04] Production.INFO: ==14472== Lock acquired, processing the job...
[2025-01-13 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:14:04] Production.INFO: ==14468== Releasing lock...
[2025-01-13 15:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:14:04] Production.INFO: ==14476== Lock acquired, processing the job...
[2025-01-13 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:14:04] Production.INFO: Account Balance Start.
[2025-01-13 15:14:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:14:04] Production.INFO: 117
[2025-01-13 15:14:04] Production.ERROR: done
[2025-01-13 15:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:14:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:14:04] Production.INFO: count ==21
[2025-01-13 15:14:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:14:04] Production.INFO: count ==21
[2025-01-13 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239788') start
[2025-01-13 15:14:04] Production.ERROR: done
[2025-01-13 15:14:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:14:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239788') end
[2025-01-13 15:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:14:04] Production.INFO: 1
[2025-01-13 15:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:14:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:14:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:14:04] Production.INFO: ==14476== Releasing lock...
[2025-01-13 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:14:04] Production.INFO: Total Charge 0
[2025-01-13 15:14:04] Production.INFO: CreateAllLog End
[2025-01-13 15:14:05] Production.INFO: Account Balance End.
[2025-01-13 15:14:05] Production.ERROR: CronJobId end 12
[2025-01-13 15:14:05] Production.INFO: ==14472== Releasing lock...
[2025-01-13 15:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:14:05
[end_date_ymd] => 2025-01-13 15:14:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:14:05' and `end` < '2025-01-13 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-13 15:14:11] Production.ERROR: CronJobId end10
[2025-01-13 15:14:11] Production.INFO: ==14470== Releasing lock...
[2025-01-13 15:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:14:14] Production.INFO: call_cost start
[2025-01-13 15:14:14] Production.INFO: call_cost end
[2025-01-13 15:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:14:15] Production.INFO: ==14466== Releasing lock...
[2025-01-13 15:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:14:27] Production.INFO: count ==5828
[2025-01-13 15:14:29] Production.ERROR: pbx CDR StartTime 2025-01-13 12:14:05 - End Time 2025-01-13 15:14:05
[2025-01-13 15:14:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:14:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239789', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:14:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239789', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:14:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239789', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:14:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239789', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:14:29] Production.INFO: ProcessCDR(1,14239789,1,1,2)
[2025-01-13 15:14:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:14:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:14:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:14:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:14:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239789', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:14:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239789', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:14:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:14:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:14:34] Production.INFO: ==14474== Releasing lock...
[2025-01-13 15:14:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:14:34] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:15:01] Production.INFO: ==14609== Lock acquired, processing the job...
[2025-01-13 20:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:15:01] Production.INFO: neon service started
[2025-01-13 20:15:01] Production.INFO: neon service started
[2025-01-13 20:15:01] Production.INFO: ==14609== Releasing lock...
[2025-01-13 20:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:15:02] Production.INFO: ==14613== Lock acquired, processing the job...
[2025-01-13 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:15:02] Production.INFO: ==14613== Releasing lock...
[2025-01-13 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:15:02] Production.INFO: ==14611== Lock acquired, processing the job...
[2025-01-13 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:15:02] Production.INFO: ==14611== Releasing lock...
[2025-01-13 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:15:03] Production.INFO: ==14621== Lock acquired, processing the job...
[2025-01-13 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:15:03] Production.INFO: ==14623== Lock acquired, processing the job...
[2025-01-13 15:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:15:03] Production.INFO: ==14615== Lock acquired, processing the job...
[2025-01-13 15:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:15:03] Production.INFO: Account Balance Start.
[2025-01-13 15:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:15:03] Production.INFO: 117
[2025-01-13 15:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:15:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:15:03] Production.INFO: ==14617== Lock acquired, processing the job...
[2025-01-13 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:15:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:15:03] Production.INFO: ==14619== Lock acquired, processing the job...
[2025-01-13 15:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:15:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:15:03] Production.INFO: ==14625== Lock acquired, processing the job...
[2025-01-13 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:15:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:15:03] Production.INFO: count ==21
[2025-01-13 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-13 15:15:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:15:03] Production.INFO: count ==21
[2025-01-13 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239792') start
[2025-01-13 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:15:03] Production.ERROR: done
[2025-01-13 15:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:15:03] Production.INFO: Total Charge 0
[2025-01-13 15:15:03] Production.INFO: CreateAllLog End
[2025-01-13 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239792') end
[2025-01-13 15:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:15:03] Production.INFO: 1
[2025-01-13 15:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:15:03] Production.INFO: ==14625== Releasing lock...
[2025-01-13 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:15:03] Production.INFO: ==14617== Releasing lock...
[2025-01-13 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:15:04] Production.ERROR: done
[2025-01-13 15:15:04] Production.INFO: Account Balance End.
[2025-01-13 15:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:15:04] Production.INFO: ==14621== Releasing lock...
[2025-01-13 15:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:15:04
[end_date_ymd] => 2025-01-13 15:15:04
[RateCDR] => 1
)
[2025-01-13 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-13 12:15:04' and `end` < '2025-01-13 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-13 15:15:11] Production.ERROR: CronJobId end10
[2025-01-13 15:15:11] Production.INFO: ==14619== Releasing lock...
[2025-01-13 15:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:15:14] Production.INFO: call_cost start
[2025-01-13 15:15:14] Production.INFO: call_cost end
[2025-01-13 15:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:15:15] Production.INFO: ==14615== Releasing lock...
[2025-01-13 15:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:15:24] Production.INFO: count ==5815
[2025-01-13 15:15:26] Production.ERROR: pbx CDR StartTime 2025-01-13 12:15:04 - End Time 2025-01-13 15:15:04
[2025-01-13 15:15:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239794', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239794', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239794', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:15:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239794', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:15:27] Production.INFO: ProcessCDR(1,14239794,1,1,2)
[2025-01-13 15:15:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:15:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:15:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:15:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:15:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239794', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:15:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239794', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:15:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:15:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:15:31] Production.INFO: ==14623== Releasing lock...
[2025-01-13 15:15:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:15:31] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 20:16:02] Production.INFO: ==14679== Lock acquired, processing the job...
[2025-01-13 20:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:16:02] Production.INFO: neon service started
[2025-01-13 20:16:02] Production.INFO: neon service started
[2025-01-13 20:16:02] Production.INFO: ==14679== Releasing lock...
[2025-01-13 20:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:16:02] Production.INFO: ==14681== Lock acquired, processing the job...
[2025-01-13 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:16:02] Production.INFO: ==14683== Lock acquired, processing the job...
[2025-01-13 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:16:02] Production.INFO: ==14683== Releasing lock...
[2025-01-13 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:16:02] Production.INFO: ==14681== Releasing lock...
[2025-01-13 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:16:03] Production.INFO: ==14692== Lock acquired, processing the job...
[2025-01-13 15:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:16:03] Production.INFO: ==14696== Lock acquired, processing the job...
[2025-01-13 15:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:16:03] Production.INFO: Account Balance Start.
[2025-01-13 15:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:16:03] Production.INFO: 117
[2025-01-13 15:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:16:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:16:04] Production.INFO: ==14686== Lock acquired, processing the job...
[2025-01-13 15:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:16:04] Production.INFO: count ==21
[2025-01-13 15:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:16:04] Production.INFO: count ==21
[2025-01-13 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239796') start
[2025-01-13 15:16:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:16:04] Production.INFO: ==14688== Lock acquired, processing the job...
[2025-01-13 15:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:16:04] Production.INFO: ==14690== Lock acquired, processing the job...
[2025-01-13 15:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:16:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:16:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:16:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:16:04] Production.INFO: ==14694== Lock acquired, processing the job...
[2025-01-13 15:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:16:04] Production.INFO: Total Charge 0
[2025-01-13 15:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:16:04] Production.INFO: CreateAllLog End
[2025-01-13 15:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239796') end
[2025-01-13 15:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:16:04] Production.INFO: 1
[2025-01-13 15:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:16:04] Production.INFO: ==14696== Releasing lock...
[2025-01-13 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:16:04] Production.INFO: Account Balance End.
[2025-01-13 15:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:16:04] Production.INFO: ==14692== Releasing lock...
[2025-01-13 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:16:04] Production.INFO: ==14688== Releasing lock...
[2025-01-13 15:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:16:04] Production.ERROR: done
[2025-01-13 15:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:16:04] Production.ERROR: done
[2025-01-13 15:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:16:05
[end_date_ymd] => 2025-01-13 15:16:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:16:05' and `end` < '2025-01-13 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-13 15:16:12] Production.ERROR: CronJobId end10
[2025-01-13 15:16:12] Production.INFO: ==14690== Releasing lock...
[2025-01-13 15:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:16:14] Production.INFO: call_cost start
[2025-01-13 15:16:14] Production.INFO: call_cost end
[2025-01-13 15:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:16:14] Production.INFO: ==14686== Releasing lock...
[2025-01-13 15:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:16:23] Production.INFO: count ==5814
[2025-01-13 15:16:26] Production.ERROR: pbx CDR StartTime 2025-01-13 12:16:05 - End Time 2025-01-13 15:16:05
[2025-01-13 15:16:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239799', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239799', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239799', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:16:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239799', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:16:26] Production.INFO: ProcessCDR(1,14239799,1,1,2)
[2025-01-13 15:16:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:16:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:16:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:16:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:16:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239799', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:16:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239799', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:16:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:16:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:16:31] Production.INFO: ==14694== Releasing lock...
[2025-01-13 15:16:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:16:31] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 20:17:01] Production.INFO: ==14794== Lock acquired, processing the job...
[2025-01-13 20:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:17:01] Production.INFO: neon service started
[2025-01-13 20:17:01] Production.INFO: neon service started
[2025-01-13 20:17:01] Production.INFO: ==14794== Releasing lock...
[2025-01-13 20:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:17:01] Production.INFO: ==14798== Lock acquired, processing the job...
[2025-01-13 20:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:17:01] Production.INFO: ==14798== Releasing lock...
[2025-01-13 20:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:17:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:17:01] Production.INFO: ==14796== Lock acquired, processing the job...
[2025-01-13 15:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:17:02] Production.INFO: ==14796== Releasing lock...
[2025-01-13 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:17:02] Production.INFO: ==14800== Lock acquired, processing the job...
[2025-01-13 15:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:17:03] Production.INFO: ==14810== Lock acquired, processing the job...
[2025-01-13 15:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:17:03] Production.INFO: ==14802== Lock acquired, processing the job...
[2025-01-13 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:17:03] Production.INFO: ==14804== Lock acquired, processing the job...
[2025-01-13 15:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:17:03] Production.INFO: count ==21
[2025-01-13 15:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:17:03] Production.INFO: count ==21
[2025-01-13 15:17:03] Production.INFO: ==14806== Lock acquired, processing the job...
[2025-01-13 15:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:17:03] Production.INFO: ==14808== Lock acquired, processing the job...
[2025-01-13 15:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239801') start
[2025-01-13 15:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239801') end
[2025-01-13 15:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:17:03] Production.INFO: 1
[2025-01-13 15:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:17:03] Production.INFO: Account Balance Start.
[2025-01-13 15:17:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:17:03] Production.INFO: 117
[2025-01-13 15:17:03] Production.INFO: ==14810== Releasing lock...
[2025-01-13 15:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:17:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:17:03] Production.INFO: ==14802== Releasing lock...
[2025-01-13 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:17:03] Production.ERROR: done
[2025-01-13 15:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:17:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:17:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:17:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:17:04] Production.ERROR: done
[2025-01-13 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:17:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:17:04] Production.INFO: Total Charge 0
[2025-01-13 15:17:04] Production.INFO: CreateAllLog End
[2025-01-13 15:17:04] Production.INFO: Account Balance End.
[2025-01-13 15:17:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:17:04] Production.INFO: ==14806== Releasing lock...
[2025-01-13 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:17:05
[end_date_ymd] => 2025-01-13 15:17:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:17:05' and `end` < '2025-01-13 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-13 15:17:11] Production.ERROR: CronJobId end10
[2025-01-13 15:17:11] Production.INFO: ==14804== Releasing lock...
[2025-01-13 15:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:17:13] Production.INFO: call_cost start
[2025-01-13 15:17:13] Production.INFO: call_cost end
[2025-01-13 15:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:17:14] Production.INFO: ==14800== Releasing lock...
[2025-01-13 15:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:17:18] Production.INFO: count ==5828
[2025-01-13 15:17:21] Production.ERROR: pbx CDR StartTime 2025-01-13 12:17:05 - End Time 2025-01-13 15:17:05
[2025-01-13 15:17:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239804', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239804', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239804', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239804', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:17:21] Production.INFO: ProcessCDR(1,14239804,1,1,2)
[2025-01-13 15:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:17:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239804', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239804', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:17:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:17:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:17:26] Production.INFO: ==14808== Releasing lock...
[2025-01-13 15:17:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:17:26] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:18:01] Production.INFO: ==14863== Lock acquired, processing the job...
[2025-01-13 20:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:18:01] Production.INFO: neon service started
[2025-01-13 20:18:01] Production.INFO: neon service started
[2025-01-13 20:18:01] Production.INFO: ==14863== Releasing lock...
[2025-01-13 20:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:18:02] Production.INFO: ==14867== Lock acquired, processing the job...
[2025-01-13 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:18:02] Production.INFO: ==14867== Releasing lock...
[2025-01-13 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:18:02] Production.INFO: ==14865== Lock acquired, processing the job...
[2025-01-13 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:18:02] Production.INFO: ==14865== Releasing lock...
[2025-01-13 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:18:03] Production.INFO: ==14870== Lock acquired, processing the job...
[2025-01-13 15:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:18:03] Production.INFO: ==14872== Lock acquired, processing the job...
[2025-01-13 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:18:03] Production.INFO: ==14876== Lock acquired, processing the job...
[2025-01-13 15:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:18:03] Production.INFO: Account Balance Start.
[2025-01-13 15:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:18:03] Production.INFO: 117
[2025-01-13 15:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:18:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:18:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:18:03] Production.INFO: ==14874== Lock acquired, processing the job...
[2025-01-13 15:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:18:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:18:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:18:03] Production.INFO: ==14878== Lock acquired, processing the job...
[2025-01-13 15:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:18:03] Production.INFO: ==14872== Releasing lock...
[2025-01-13 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:18:03] Production.INFO: Total Charge 0
[2025-01-13 15:18:03] Production.INFO: ==14880== Lock acquired, processing the job...
[2025-01-13 15:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:18:03] Production.INFO: CreateAllLog End
[2025-01-13 15:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:18:04] Production.INFO: count ==21
[2025-01-13 15:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:18:04] Production.INFO: Account Balance End.
[2025-01-13 15:18:04] Production.INFO: count ==21
[2025-01-13 15:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:18:04] Production.INFO: ==14876== Releasing lock...
[2025-01-13 15:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239808') start
[2025-01-13 15:18:04] Production.ERROR: done
[2025-01-13 15:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239808') end
[2025-01-13 15:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:18:04] Production.INFO: 1
[2025-01-13 15:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:18:04] Production.INFO: ==14880== Releasing lock...
[2025-01-13 15:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:18:04] Production.ERROR: done
[2025-01-13 15:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:18:05
[end_date_ymd] => 2025-01-13 15:18:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:18:05' and `end` < '2025-01-13 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-13 15:18:11] Production.ERROR: CronJobId end10
[2025-01-13 15:18:11] Production.INFO: ==14874== Releasing lock...
[2025-01-13 15:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:18:13] Production.INFO: call_cost start
[2025-01-13 15:18:13] Production.INFO: call_cost end
[2025-01-13 15:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:18:14] Production.INFO: ==14870== Releasing lock...
[2025-01-13 15:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:18:25] Production.INFO: count ==5849
[2025-01-13 15:18:27] Production.ERROR: pbx CDR StartTime 2025-01-13 12:18:05 - End Time 2025-01-13 15:18:05
[2025-01-13 15:18:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239809', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239809', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239809', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239809', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:18:27] Production.INFO: ProcessCDR(1,14239809,1,1,2)
[2025-01-13 15:18:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:18:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:18:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:18:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:18:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239809', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:18:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239809', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:18:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:18:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:18:32] Production.INFO: ==14878== Releasing lock...
[2025-01-13 15:18:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:18:32] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:19:02] Production.INFO: ==14934== Lock acquired, processing the job...
[2025-01-13 20:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:19:02] Production.INFO: neon service started
[2025-01-13 20:19:02] Production.INFO: neon service started
[2025-01-13 20:19:02] Production.INFO: ==14934== Releasing lock...
[2025-01-13 20:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:19:02] Production.INFO: ==14936== Lock acquired, processing the job...
[2025-01-13 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:19:02] Production.INFO: ==14936== Releasing lock...
[2025-01-13 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:19:03] Production.INFO: ==14938== Lock acquired, processing the job...
[2025-01-13 20:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:19:03] Production.INFO: ==14938== Releasing lock...
[2025-01-13 20:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:19:03] Production.INFO: ==14941== Lock acquired, processing the job...
[2025-01-13 15:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:19:03] Production.INFO: ==14943== Lock acquired, processing the job...
[2025-01-13 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:19:03] Production.INFO: ==14945== Lock acquired, processing the job...
[2025-01-13 15:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:19:03] Production.INFO: ==14947== Lock acquired, processing the job...
[2025-01-13 15:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:19:03] Production.INFO: ==14951== Lock acquired, processing the job...
[2025-01-13 15:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:19:04] Production.INFO: ==14949== Lock acquired, processing the job...
[2025-01-13 15:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:19:04] Production.INFO: Account Balance Start.
[2025-01-13 15:19:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:19:04] Production.INFO: 117
[2025-01-13 15:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:19:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:19:04] Production.INFO: count ==21
[2025-01-13 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-13 15:19:04] Production.INFO: count ==21
[2025-01-13 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239813') start
[2025-01-13 15:19:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:19:04] Production.INFO: ==14943== Releasing lock...
[2025-01-13 15:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239813') end
[2025-01-13 15:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:19:04] Production.INFO: 1
[2025-01-13 15:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:19:04] Production.INFO: ==14951== Releasing lock...
[2025-01-13 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:19:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:19:04] Production.ERROR: done
[2025-01-13 15:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:19:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:19:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:19:04] Production.ERROR: done
[2025-01-13 15:19:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:19:04] Production.INFO: Total Charge 0
[2025-01-13 15:19:04] Production.INFO: CreateAllLog End
[2025-01-13 15:19:04] Production.INFO: Account Balance End.
[2025-01-13 15:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:19:04] Production.INFO: ==14947== Releasing lock...
[2025-01-13 15:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:19:05
[end_date_ymd] => 2025-01-13 15:19:05
[RateCDR] => 1
)
[2025-01-13 15:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:19:05' and `end` < '2025-01-13 15:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:19:12] Production.ERROR: CronJobId end10
[2025-01-13 15:19:12] Production.INFO: ==14945== Releasing lock...
[2025-01-13 15:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:19:13] Production.INFO: call_cost start
[2025-01-13 15:19:13] Production.INFO: call_cost end
[2025-01-13 15:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:19:14] Production.INFO: ==14941== Releasing lock...
[2025-01-13 15:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:19:26] Production.INFO: count ==5851
[2025-01-13 15:19:29] Production.ERROR: pbx CDR StartTime 2025-01-13 12:19:05 - End Time 2025-01-13 15:19:05
[2025-01-13 15:19:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:19:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239814', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:19:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239814', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:19:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239814', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:19:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239814', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:19:29] Production.INFO: ProcessCDR(1,14239814,1,1,2)
[2025-01-13 15:19:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:19:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:19:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:19:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:19:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239814', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:19:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239814', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:19:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:19:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:19:33] Production.INFO: ==14949== Releasing lock...
[2025-01-13 15:19:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:19:33] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:20:01] Production.INFO: ==15005== Lock acquired, processing the job...
[2025-01-13 20:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:20:01] Production.INFO: neon service started
[2025-01-13 20:20:01] Production.INFO: neon service started
[2025-01-13 20:20:01] Production.INFO: ==15005== Releasing lock...
[2025-01-13 20:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:20:02] Production.INFO: ==15007== Lock acquired, processing the job...
[2025-01-13 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:20:02] Production.INFO: ==15009== Lock acquired, processing the job...
[2025-01-13 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:20:02] Production.INFO: ==15009== Releasing lock...
[2025-01-13 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:20:02] Production.INFO: ==15007== Releasing lock...
[2025-01-13 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:20:03] Production.INFO: ==15012== Lock acquired, processing the job...
[2025-01-13 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 15:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 15:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 15:20:03] Production.INFO: ==15012== Releasing lock...
[2025-01-13 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 15:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 15:20:03] Production.INFO: ==15014== Lock acquired, processing the job...
[2025-01-13 15:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:20:03] Production.INFO: ==15022== Lock acquired, processing the job...
[2025-01-13 15:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:20:03] Production.INFO: ==15026== Lock acquired, processing the job...
[2025-01-13 15:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:20:03] Production.INFO: ==15016== Lock acquired, processing the job...
[2025-01-13 15:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:20:03] Production.INFO: ==15018== Lock acquired, processing the job...
[2025-01-13 15:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:20:03] Production.INFO: ==15020== Lock acquired, processing the job...
[2025-01-13 15:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:20:03] Production.INFO: ==15024== Lock acquired, processing the job...
[2025-01-13 15:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 15:20:04] Production.INFO: Account Balance Start.
[2025-01-13 15:20:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:20:04] Production.INFO: 117
[2025-01-13 15:20:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:20:04] Production.INFO: count ==21
[2025-01-13 15:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:20:04] Production.INFO: count ==21
[2025-01-13 15:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239816') start
[2025-01-13 15:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:20:04] Production.ERROR: done
[2025-01-13 15:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:20:04] Production.INFO: Total Charge 0
[2025-01-13 15:20:04] Production.INFO: CreateAllLog End
[2025-01-13 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239816') end
[2025-01-13 15:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:20:04] Production.INFO: 1
[2025-01-13 15:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:20:04] Production.INFO: ==15026== Releasing lock...
[2025-01-13 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:20:04] Production.INFO: ==15016== Releasing lock...
[2025-01-13 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:20:04] Production.ERROR: done
[2025-01-13 15:20:04] Production.ERROR: done
[2025-01-13 15:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 15:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239819', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 15:20:04] Production.INFO: Account Balance End.
[2025-01-13 15:20:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:20:04] Production.INFO: ==15020== Releasing lock...
[2025-01-13 15:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:20:05
[end_date_ymd] => 2025-01-13 15:20:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:20:05' and `end` < '2025-01-13 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-13 15:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239819', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 15:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 15:20:08] Production.INFO: ProcessCDR(1,14239819,1,1,2)
[2025-01-13 15:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239819,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239819,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:20:08] Production.INFO: ==15024== Releasing lock...
[2025-01-13 15:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 15:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 15:20:12] Production.ERROR: CronJobId end10
[2025-01-13 15:20:12] Production.INFO: ==15018== Releasing lock...
[2025-01-13 15:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:20:14] Production.INFO: call_cost start
[2025-01-13 15:20:14] Production.INFO: call_cost end
[2025-01-13 15:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:20:15] Production.INFO: ==15014== Releasing lock...
[2025-01-13 15:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:20:26] Production.INFO: count ==5855
[2025-01-13 15:20:29] Production.ERROR: pbx CDR StartTime 2025-01-13 12:20:05 - End Time 2025-01-13 15:20:05
[2025-01-13 15:20:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239820', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239820', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239820', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239820', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:20:29] Production.INFO: ProcessCDR(1,14239820,1,1,2)
[2025-01-13 15:20:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:20:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:20:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:20:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:20:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239820', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:20:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239820', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:20:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:20:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:20:34] Production.INFO: ==15022== Releasing lock...
[2025-01-13 15:20:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:20:34] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:21:02] Production.INFO: ==15082== Lock acquired, processing the job...
[2025-01-13 20:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:21:02] Production.INFO: neon service started
[2025-01-13 20:21:02] Production.INFO: neon service started
[2025-01-13 20:21:02] Production.INFO: ==15082== Releasing lock...
[2025-01-13 20:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:21:02] Production.INFO: ==15084== Lock acquired, processing the job...
[2025-01-13 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:21:03] Production.INFO: ==15084== Releasing lock...
[2025-01-13 15:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:21:03] Production.INFO: ==15086== Lock acquired, processing the job...
[2025-01-13 20:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:21:03] Production.INFO: ==15086== Releasing lock...
[2025-01-13 20:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:21:04] Production.INFO: ==15099== Lock acquired, processing the job...
[2025-01-13 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:21:04] Production.INFO: ==15097== Lock acquired, processing the job...
[2025-01-13 15:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:21:04] Production.INFO: ==15089== Lock acquired, processing the job...
[2025-01-13 15:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:21:04] Production.INFO: count ==21
[2025-01-13 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-13 15:21:04] Production.INFO: count ==21
[2025-01-13 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239821') start
[2025-01-13 15:21:04] Production.INFO: ==15091== Lock acquired, processing the job...
[2025-01-13 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:21:04] Production.INFO: ==15093== Lock acquired, processing the job...
[2025-01-13 15:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:21:04] Production.INFO: ==15095== Lock acquired, processing the job...
[2025-01-13 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239821') end
[2025-01-13 15:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:21:04] Production.INFO: 1
[2025-01-13 15:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:21:04] Production.INFO: ==15099== Releasing lock...
[2025-01-13 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:21:04] Production.ERROR: done
[2025-01-13 15:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:21:04] Production.INFO: Account Balance Start.
[2025-01-13 15:21:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:21:04] Production.INFO: 117
[2025-01-13 15:21:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:21:04] Production.ERROR: done
[2025-01-13 15:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:21:04] Production.INFO: ==15091== Releasing lock...
[2025-01-13 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:21:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:21:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:21:05] Production.INFO: Date 2025-01-10
[2025-01-13 15:21:05] Production.INFO: Reseller ==> 0
[2025-01-13 15:21:05] Production.INFO: Date 2025-01-11
[2025-01-13 15:21:05] Production.INFO: Reseller ==> 0
[2025-01-13 15:21:05] Production.INFO: Date 2025-01-12
[2025-01-13 15:21:05] Production.INFO: Reseller ==> 0
[2025-01-13 15:21:05] Production.INFO: Date 2025-01-13
[2025-01-13 15:21:05] Production.INFO: Reseller ==> 0
[2025-01-13 15:21:05] Production.INFO: Total Charge 0
[2025-01-13 15:21:05] Production.INFO: CreateAllLog End
[2025-01-13 15:21:05] Production.INFO: Account Balance End.
[2025-01-13 15:21:05] Production.ERROR: CronJobId end 12
[2025-01-13 15:21:05] Production.INFO: ==15095== Releasing lock...
[2025-01-13 15:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:21:06
[end_date_ymd] => 2025-01-13 15:21:06
[RateCDR] => 1
)
[2025-01-13 15:21:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:21:06' and `end` < '2025-01-13 15:21:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:21:13] Production.ERROR: CronJobId end10
[2025-01-13 15:21:13] Production.INFO: ==15093== Releasing lock...
[2025-01-13 15:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:21:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:21:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:21:15] Production.INFO: call_cost start
[2025-01-13 15:21:15] Production.INFO: call_cost end
[2025-01-13 15:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:21:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:21:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:21:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:21:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:21:16] Production.INFO: ==15089== Releasing lock...
[2025-01-13 15:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:21:24] Production.INFO: count ==5847
[2025-01-13 15:21:27] Production.ERROR: pbx CDR StartTime 2025-01-13 12:21:06 - End Time 2025-01-13 15:21:06
[2025-01-13 15:21:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239825', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239825', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239825', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239825', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:21:27] Production.INFO: ProcessCDR(1,14239825,1,1,2)
[2025-01-13 15:21:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:21:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:21:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:21:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239825', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239825', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:21:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:21:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:21:32] Production.INFO: ==15097== Releasing lock...
[2025-01-13 15:21:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:21:32] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:22:01] Production.INFO: ==15151== Lock acquired, processing the job...
[2025-01-13 20:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:22:01] Production.INFO: neon service started
[2025-01-13 20:22:01] Production.INFO: neon service started
[2025-01-13 20:22:01] Production.INFO: ==15151== Releasing lock...
[2025-01-13 20:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:22:02] Production.INFO: ==15155== Lock acquired, processing the job...
[2025-01-13 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:22:02] Production.INFO: ==15155== Releasing lock...
[2025-01-13 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:22:02] Production.INFO: ==15153== Lock acquired, processing the job...
[2025-01-13 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:22:02] Production.INFO: ==15153== Releasing lock...
[2025-01-13 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:22:03] Production.INFO: ==15158== Lock acquired, processing the job...
[2025-01-13 15:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:22:03] Production.INFO: ==15162== Lock acquired, processing the job...
[2025-01-13 15:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:22:03] Production.INFO: ==15166== Lock acquired, processing the job...
[2025-01-13 15:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:22:03] Production.INFO: ==15160== Lock acquired, processing the job...
[2025-01-13 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:22:03] Production.ERROR: done
[2025-01-13 15:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:22:03] Production.INFO: ==15164== Lock acquired, processing the job...
[2025-01-13 15:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:22:04] Production.ERROR: done
[2025-01-13 15:22:04] Production.INFO: Account Balance Start.
[2025-01-13 15:22:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:22:04] Production.INFO: 117
[2025-01-13 15:22:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:22:04] Production.INFO: ==15168== Lock acquired, processing the job...
[2025-01-13 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:22:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:22:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:22:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:22:04] Production.INFO: count ==21
[2025-01-13 15:22:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:22:04] Production.INFO: count ==21
[2025-01-13 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239830') start
[2025-01-13 15:22:04] Production.INFO: ==15160== Releasing lock...
[2025-01-13 15:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:22:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:22:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:22:04] Production.INFO: Total Charge 0
[2025-01-13 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239830') end
[2025-01-13 15:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:22:04] Production.INFO: 1
[2025-01-13 15:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:22:04] Production.INFO: CreateAllLog End
[2025-01-13 15:22:04] Production.INFO: ==15168== Releasing lock...
[2025-01-13 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:22:04] Production.INFO: Account Balance End.
[2025-01-13 15:22:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:22:04] Production.INFO: ==15164== Releasing lock...
[2025-01-13 15:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:22:05
[end_date_ymd] => 2025-01-13 15:22:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:22:05' and `end` < '2025-01-13 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-13 15:22:12] Production.ERROR: CronJobId end10
[2025-01-13 15:22:12] Production.INFO: ==15162== Releasing lock...
[2025-01-13 15:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:22:13] Production.INFO: call_cost start
[2025-01-13 15:22:13] Production.INFO: call_cost end
[2025-01-13 15:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:22:14] Production.INFO: ==15158== Releasing lock...
[2025-01-13 15:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:22:18] Production.INFO: count ==5836
[2025-01-13 15:22:21] Production.ERROR: pbx CDR StartTime 2025-01-13 12:22:05 - End Time 2025-01-13 15:22:05
[2025-01-13 15:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239829', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239829', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239829', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239829', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:22:21] Production.INFO: ProcessCDR(1,14239829,1,1,2)
[2025-01-13 15:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239829', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239829', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:22:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:22:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:22:26] Production.INFO: ==15166== Releasing lock...
[2025-01-13 15:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:22:26] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:23:01] Production.INFO: ==15221== Lock acquired, processing the job...
[2025-01-13 20:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:23:01] Production.INFO: neon service started
[2025-01-13 20:23:01] Production.INFO: neon service started
[2025-01-13 20:23:01] Production.INFO: ==15221== Releasing lock...
[2025-01-13 20:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:23:01] Production.INFO: ==15225== Lock acquired, processing the job...
[2025-01-13 20:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:23:01] Production.INFO: ==15225== Releasing lock...
[2025-01-13 20:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:23:01] Production.INFO: ==15223== Lock acquired, processing the job...
[2025-01-13 15:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:23:02] Production.INFO: ==15223== Releasing lock...
[2025-01-13 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:23:03] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-01-13 15:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:23:03] Production.INFO: ==15234== Lock acquired, processing the job...
[2025-01-13 15:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:23:03] Production.INFO: ==15230== Lock acquired, processing the job...
[2025-01-13 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:23:03] Production.INFO: ==15232== Lock acquired, processing the job...
[2025-01-13 15:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:23:03] Production.INFO: ==15238== Lock acquired, processing the job...
[2025-01-13 15:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:23:03] Production.INFO: ==15236== Lock acquired, processing the job...
[2025-01-13 15:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:23:03] Production.INFO: Account Balance Start.
[2025-01-13 15:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:23:03] Production.INFO: 117
[2025-01-13 15:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:23:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:23:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 15:23:03] Production.INFO: count ==21
[2025-01-13 15:23:03] Production.INFO: ==15230== Releasing lock...
[2025-01-13 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 15:23:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:23:03] Production.INFO: count ==21
[2025-01-13 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239834') start
[2025-01-13 15:23:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:23:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239834') end
[2025-01-13 15:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:23:03] Production.INFO: 1
[2025-01-13 15:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:23:03] Production.ERROR: done
[2025-01-13 15:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:23:03] Production.INFO: Total Charge 0
[2025-01-13 15:23:04] Production.INFO: CreateAllLog End
[2025-01-13 15:23:04] Production.INFO: ==15238== Releasing lock...
[2025-01-13 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:23:04] Production.ERROR: done
[2025-01-13 15:23:04] Production.INFO: Account Balance End.
[2025-01-13 15:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:23:04] Production.INFO: ==15234== Releasing lock...
[2025-01-13 15:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:23:04
[end_date_ymd] => 2025-01-13 15:23:04
[RateCDR] => 1
)
[2025-01-13 15: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-13 12:23:04' and `end` < '2025-01-13 15: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-13 15:23:11] Production.ERROR: CronJobId end10
[2025-01-13 15:23:11] Production.INFO: ==15232== Releasing lock...
[2025-01-13 15:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:23:13] Production.INFO: call_cost start
[2025-01-13 15:23:13] Production.INFO: call_cost end
[2025-01-13 15:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:23:14] Production.INFO: ==15228== Releasing lock...
[2025-01-13 15:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:23:20] Production.INFO: count ==5849
[2025-01-13 15:23:23] Production.ERROR: pbx CDR StartTime 2025-01-13 12:23:04 - End Time 2025-01-13 15:23:04
[2025-01-13 15:23:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239835', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239835', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239835', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239835', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:23:23] Production.INFO: ProcessCDR(1,14239835,1,1,2)
[2025-01-13 15:23:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:23:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:23:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:23:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239835', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239835', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:23:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:23:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:23:28] Production.INFO: ==15236== Releasing lock...
[2025-01-13 15:23:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:23:28] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:24:01] Production.INFO: ==15292== Lock acquired, processing the job...
[2025-01-13 20:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:24:01] Production.INFO: neon service started
[2025-01-13 20:24:01] Production.INFO: neon service started
[2025-01-13 20:24:01] Production.INFO: ==15292== Releasing lock...
[2025-01-13 20:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:24:02] Production.INFO: ==15294== Lock acquired, processing the job...
[2025-01-13 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:24:02] Production.INFO: ==15294== Releasing lock...
[2025-01-13 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:24:02] Production.INFO: ==15296== Lock acquired, processing the job...
[2025-01-13 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:24:02] Production.INFO: ==15296== Releasing lock...
[2025-01-13 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:24:03] Production.INFO: ==15309== Lock acquired, processing the job...
[2025-01-13 15:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:24:03] Production.INFO: ==15305== Lock acquired, processing the job...
[2025-01-13 15:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:24:03] Production.INFO: count ==21
[2025-01-13 15:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:24:03] Production.INFO: count ==21
[2025-01-13 15:24:03] Production.INFO: ==15299== Lock acquired, processing the job...
[2025-01-13 15:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:24:03] Production.INFO: Account Balance Start.
[2025-01-13 15:24:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239836') start
[2025-01-13 15:24:03] Production.INFO: 117
[2025-01-13 15:24:03] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-01-13 15:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:24:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:24:03] Production.INFO: ==15303== Lock acquired, processing the job...
[2025-01-13 15:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:24:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:24:03] Production.INFO: ==15307== Lock acquired, processing the job...
[2025-01-13 15:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239836') end
[2025-01-13 15:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:24:03] Production.INFO: 1
[2025-01-13 15:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:24:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:24:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:24:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:24:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:24:04] Production.INFO: ==15309== Releasing lock...
[2025-01-13 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:24:04] Production.INFO: Total Charge 0
[2025-01-13 15:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:24:04] Production.INFO: CreateAllLog End
[2025-01-13 15:24:04] Production.INFO: ==15301== Releasing lock...
[2025-01-13 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:24:04] Production.ERROR: done
[2025-01-13 15:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:24:04] Production.INFO: Account Balance End.
[2025-01-13 15:24:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:24:04] Production.INFO: ==15305== Releasing lock...
[2025-01-13 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:24:04] Production.ERROR: done
[2025-01-13 15:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:24:05
[end_date_ymd] => 2025-01-13 15:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:24:05' and `end` < '2025-01-13 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-13 15:24:13] Production.ERROR: CronJobId end10
[2025-01-13 15:24:13] Production.INFO: ==15303== Releasing lock...
[2025-01-13 15:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:24:13] Production.INFO: call_cost start
[2025-01-13 15:24:13] Production.INFO: call_cost end
[2025-01-13 15:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:24:14] Production.INFO: ==15299== Releasing lock...
[2025-01-13 15:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:24:18] Production.INFO: count ==5830
[2025-01-13 15:24:21] Production.ERROR: pbx CDR StartTime 2025-01-13 12:24:05 - End Time 2025-01-13 15:24:05
[2025-01-13 15:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239840', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239840', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239840', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239840', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:24:21] Production.INFO: ProcessCDR(1,14239840,1,1,2)
[2025-01-13 15:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239840', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239840', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:24:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:24:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:24:26] Production.INFO: ==15307== Releasing lock...
[2025-01-13 15:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:24:26] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:25:02] Production.INFO: ==15364== Lock acquired, processing the job...
[2025-01-13 20:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:25:02] Production.INFO: neon service started
[2025-01-13 20:25:02] Production.INFO: neon service started
[2025-01-13 20:25:02] Production.INFO: ==15364== Releasing lock...
[2025-01-13 20:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:25:02] Production.INFO: ==15369== Lock acquired, processing the job...
[2025-01-13 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:25:02] Production.INFO: ==15369== Releasing lock...
[2025-01-13 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:25:02] Production.INFO: ==15367== Lock acquired, processing the job...
[2025-01-13 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:25:03] Production.INFO: ==15367== Releasing lock...
[2025-01-13 15:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:25:03] Production.INFO: ==15377== Lock acquired, processing the job...
[2025-01-13 15:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:25:04] Production.INFO: ==15381== Lock acquired, processing the job...
[2025-01-13 15:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:25:04] Production.INFO: Account Balance Start.
[2025-01-13 15:25:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:25:04] Production.INFO: 117
[2025-01-13 15:25:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:25:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:25:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:25:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:25:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:25:04] Production.INFO: ==15371== Lock acquired, processing the job...
[2025-01-13 15:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:25:04] Production.INFO: count ==21
[2025-01-13 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-13 15:25:04] Production.INFO: count ==21
[2025-01-13 15:25:04] Production.INFO: ==15373== Lock acquired, processing the job...
[2025-01-13 15:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239842') start
[2025-01-13 15:25:04] Production.INFO: ==15375== Lock acquired, processing the job...
[2025-01-13 15:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:25:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:25:04] Production.INFO: ==15379== Lock acquired, processing the job...
[2025-01-13 15:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:25:04] Production.INFO: Total Charge 0
[2025-01-13 15:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239842') end
[2025-01-13 15:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:25:04] Production.INFO: 1
[2025-01-13 15:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:25:04] Production.INFO: ==15381== Releasing lock...
[2025-01-13 15:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:25:04] Production.INFO: CreateAllLog End
[2025-01-13 15:25:04] Production.INFO: Account Balance End.
[2025-01-13 15:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:25:04] Production.INFO: ==15377== Releasing lock...
[2025-01-13 15:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:25:04] Production.ERROR: done
[2025-01-13 15:25:04] Production.INFO: ==15373== Releasing lock...
[2025-01-13 15:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:25:04] Production.ERROR: done
[2025-01-13 15:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:25:05
[end_date_ymd] => 2025-01-13 15:25:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:25:05' and `end` < '2025-01-13 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-13 15:25:12] Production.ERROR: CronJobId end10
[2025-01-13 15:25:12] Production.INFO: ==15375== Releasing lock...
[2025-01-13 15:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:25:13] Production.INFO: call_cost start
[2025-01-13 15:25:13] Production.INFO: call_cost end
[2025-01-13 15:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:25:14] Production.INFO: ==15371== Releasing lock...
[2025-01-13 15:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:25:26] Production.INFO: count ==5825
[2025-01-13 15:25:28] Production.ERROR: pbx CDR StartTime 2025-01-13 12:25:05 - End Time 2025-01-13 15:25:05
[2025-01-13 15:25:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:25:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239845', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:25:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239845', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:25:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239845', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:25:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239845', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:25:29] Production.INFO: ProcessCDR(1,14239845,1,1,2)
[2025-01-13 15:25:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:25:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:25:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:25:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:25:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239845', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:25:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239845', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:25:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:25:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:25:33] Production.INFO: ==15379== Releasing lock...
[2025-01-13 15:25:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:25:33] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 20:26:01] Production.INFO: ==15436== Lock acquired, processing the job...
[2025-01-13 20:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:26:01] Production.INFO: neon service started
[2025-01-13 20:26:01] Production.INFO: neon service started
[2025-01-13 20:26:01] Production.INFO: ==15436== Releasing lock...
[2025-01-13 20:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:26:02] Production.INFO: ==15440== Lock acquired, processing the job...
[2025-01-13 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:26:02] Production.INFO: ==15440== Releasing lock...
[2025-01-13 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:26:02] Production.INFO: ==15438== Lock acquired, processing the job...
[2025-01-13 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:26:02] Production.INFO: ==15438== Releasing lock...
[2025-01-13 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:26:03] Production.INFO: ==15443== Lock acquired, processing the job...
[2025-01-13 15:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:26:03] Production.INFO: ==15453== Lock acquired, processing the job...
[2025-01-13 15:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:26:03] Production.INFO: ==15445== Lock acquired, processing the job...
[2025-01-13 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:26:03] Production.INFO: ==15447== Lock acquired, processing the job...
[2025-01-13 15:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:26:03] Production.INFO: ==15449== Lock acquired, processing the job...
[2025-01-13 15:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 15:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:26:03] Production.INFO: ==15451== Lock acquired, processing the job...
[2025-01-13 15:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:26:03] Production.INFO: count ==21
[2025-01-13 15:26:03] Production.INFO: Account Balance Start.
[2025-01-13 15:26:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:26:03] Production.INFO: 117
[2025-01-13 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-13 15:26:03] Production.INFO: count ==21
[2025-01-13 15:26:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239847') start
[2025-01-13 15:26:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:26:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:26:04] Production.INFO: ==15445== Releasing lock...
[2025-01-13 15:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239847') end
[2025-01-13 15:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:26:04] Production.INFO: 1
[2025-01-13 15:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:26:04] Production.INFO: ==15453== Releasing lock...
[2025-01-13 15:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:26:04] Production.ERROR: done
[2025-01-13 15:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:26:04] Production.INFO: Total Charge 0
[2025-01-13 15:26:04] Production.INFO: CreateAllLog End
[2025-01-13 15:26:04] Production.ERROR: done
[2025-01-13 15:26:04] Production.INFO: Account Balance End.
[2025-01-13 15:26:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:26:04] Production.INFO: ==15449== Releasing lock...
[2025-01-13 15:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:26:05
[end_date_ymd] => 2025-01-13 15:26:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:26:05' and `end` < '2025-01-13 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-13 15:26:12] Production.ERROR: CronJobId end10
[2025-01-13 15:26:12] Production.INFO: ==15447== Releasing lock...
[2025-01-13 15:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:26:13] Production.INFO: call_cost start
[2025-01-13 15:26:13] Production.INFO: call_cost end
[2025-01-13 15:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:26:14] Production.INFO: ==15443== Releasing lock...
[2025-01-13 15:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:26:19] Production.INFO: count ==5831
[2025-01-13 15:26:21] Production.ERROR: pbx CDR StartTime 2025-01-13 12:26:05 - End Time 2025-01-13 15:26:05
[2025-01-13 15:26:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239850', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239850', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239850', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239850', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:26:21] Production.INFO: ProcessCDR(1,14239850,1,1,2)
[2025-01-13 15:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:26:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239850', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239850', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:26:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:26:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:26:26] Production.INFO: ==15451== Releasing lock...
[2025-01-13 15:26:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:26:26] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:27:02] Production.INFO: ==15509== Lock acquired, processing the job...
[2025-01-13 20:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:27:02] Production.INFO: neon service started
[2025-01-13 20:27:02] Production.INFO: neon service started
[2025-01-13 20:27:02] Production.INFO: ==15509== Releasing lock...
[2025-01-13 20:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:27:02] Production.INFO: ==15511== Lock acquired, processing the job...
[2025-01-13 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:27:02] Production.INFO: ==15511== Releasing lock...
[2025-01-13 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:27:02] Production.INFO: ==15513== Lock acquired, processing the job...
[2025-01-13 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:27:02] Production.INFO: ==15513== Releasing lock...
[2025-01-13 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:27:03] Production.INFO: ==15517== Lock acquired, processing the job...
[2025-01-13 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:27:03] Production.INFO: ==15524== Lock acquired, processing the job...
[2025-01-13 15:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:27:03] Production.INFO: ==15526== Lock acquired, processing the job...
[2025-01-13 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 15:27:03] Production.INFO: ==15515== Lock acquired, processing the job...
[2025-01-13 15:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:27:03] Production.INFO: count ==21
[2025-01-13 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-13 15:27:03] Production.INFO: count ==21
[2025-01-13 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239852') start
[2025-01-13 15:27:03] Production.INFO: ==15520== Lock acquired, processing the job...
[2025-01-13 15:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:27:03] Production.INFO: ==15522== Lock acquired, processing the job...
[2025-01-13 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:27:03] Production.INFO: ==15517== Releasing lock...
[2025-01-13 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239852') end
[2025-01-13 15:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:27:04] Production.INFO: 1
[2025-01-13 15:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:27:04] Production.ERROR: done
[2025-01-13 15:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:27:04] Production.INFO: ==15526== Releasing lock...
[2025-01-13 15:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:27:04] Production.INFO: Account Balance Start.
[2025-01-13 15:27:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:27:04] Production.INFO: 117
[2025-01-13 15:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:27:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:27:04] Production.ERROR: done
[2025-01-13 15:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:27:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:27:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:27:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:27:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:27:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:27:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:27:04] Production.INFO: Total Charge 0
[2025-01-13 15:27:04] Production.INFO: CreateAllLog End
[2025-01-13 15:27:04] Production.INFO: Account Balance End.
[2025-01-13 15:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:27:04] Production.INFO: ==15522== Releasing lock...
[2025-01-13 15:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:27:05
[end_date_ymd] => 2025-01-13 15:27:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:27:05' and `end` < '2025-01-13 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-13 15:27:12] Production.ERROR: CronJobId end10
[2025-01-13 15:27:12] Production.INFO: ==15520== Releasing lock...
[2025-01-13 15:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:27:14] Production.INFO: call_cost start
[2025-01-13 15:27:14] Production.INFO: call_cost end
[2025-01-13 15:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:27:14] Production.INFO: ==15515== Releasing lock...
[2025-01-13 15:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:27:18] Production.INFO: count ==5838
[2025-01-13 15:27:21] Production.ERROR: pbx CDR StartTime 2025-01-13 12:27:05 - End Time 2025-01-13 15:27:05
[2025-01-13 15:27:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239855', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239855', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239855', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239855', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:27:21] Production.INFO: ProcessCDR(1,14239855,1,1,2)
[2025-01-13 15:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239855', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239855', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:27:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:27:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:27:26] Production.INFO: ==15524== Releasing lock...
[2025-01-13 15:27:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:27:26] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:28:01] Production.INFO: ==15582== Lock acquired, processing the job...
[2025-01-13 20:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:28:01] Production.INFO: neon service started
[2025-01-13 20:28:01] Production.INFO: neon service started
[2025-01-13 20:28:01] Production.INFO: ==15582== Releasing lock...
[2025-01-13 20:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:28:02] Production.INFO: ==15584== Lock acquired, processing the job...
[2025-01-13 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:28:02] Production.INFO: ==15586== Lock acquired, processing the job...
[2025-01-13 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:28:02] Production.INFO: ==15586== Releasing lock...
[2025-01-13 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:28:02] Production.INFO: ==15584== Releasing lock...
[2025-01-13 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:28:03] Production.INFO: ==15599== Lock acquired, processing the job...
[2025-01-13 15:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:28:03] Production.INFO: ==15591== Lock acquired, processing the job...
[2025-01-13 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:28:03] Production.INFO: ==15589== Lock acquired, processing the job...
[2025-01-13 15:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 15:28:03] Production.INFO: ==15597== Lock acquired, processing the job...
[2025-01-13 15:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:28:03] Production.INFO: ==15593== Lock acquired, processing the job...
[2025-01-13 15:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:28:03] Production.INFO: count ==21
[2025-01-13 15:28:03] Production.INFO: ==15595== Lock acquired, processing the job...
[2025-01-13 15:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 15:28:03] Production.INFO: count ==21
[2025-01-13 15:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239857') start
[2025-01-13 15:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:28:03] Production.INFO: ==15591== Releasing lock...
[2025-01-13 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:28:04] Production.INFO: Account Balance Start.
[2025-01-13 15:28:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:28:04] Production.INFO: 117
[2025-01-13 15:28:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239857') end
[2025-01-13 15:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:28:04] Production.INFO: 1
[2025-01-13 15:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:28:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:28:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:28:04] Production.INFO: ==15599== Releasing lock...
[2025-01-13 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:28:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:28:04] Production.ERROR: done
[2025-01-13 15:28:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:28:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:28:04] Production.INFO: Total Charge 0
[2025-01-13 15:28:04] Production.INFO: CreateAllLog End
[2025-01-13 15:28:04] Production.ERROR: done
[2025-01-13 15:28:04] Production.INFO: Account Balance End.
[2025-01-13 15:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:28:04] Production.INFO: ==15595== Releasing lock...
[2025-01-13 15:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:28:05
[end_date_ymd] => 2025-01-13 15:28:05
[RateCDR] => 1
)
[2025-01-13 15:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:28:05' and `end` < '2025-01-13 15:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:28:12] Production.ERROR: CronJobId end10
[2025-01-13 15:28:12] Production.INFO: ==15593== Releasing lock...
[2025-01-13 15:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:28:13] Production.INFO: call_cost start
[2025-01-13 15:28:13] Production.INFO: call_cost end
[2025-01-13 15:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:28:14] Production.INFO: ==15589== Releasing lock...
[2025-01-13 15:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:28:20] Production.INFO: count ==5845
[2025-01-13 15:28:23] Production.ERROR: pbx CDR StartTime 2025-01-13 12:28:05 - End Time 2025-01-13 15:28:05
[2025-01-13 15:28:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239860', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239860', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239860', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:28:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239860', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:28:23] Production.INFO: ProcessCDR(1,14239860,1,1,2)
[2025-01-13 15:28:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:28:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239860', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239860', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:28:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:28:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:28:28] Production.INFO: ==15597== Releasing lock...
[2025-01-13 15:28:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:28:28] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:29:02] Production.INFO: ==15656== Lock acquired, processing the job...
[2025-01-13 20:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:29:02] Production.INFO: neon service started
[2025-01-13 20:29:02] Production.INFO: neon service started
[2025-01-13 20:29:02] Production.INFO: ==15656== Releasing lock...
[2025-01-13 20:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:29:02] Production.INFO: ==15660== Lock acquired, processing the job...
[2025-01-13 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:29:02] Production.INFO: ==15660== Releasing lock...
[2025-01-13 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:29:02] Production.INFO: ==15658== Lock acquired, processing the job...
[2025-01-13 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:29:02] Production.INFO: ==15658== Releasing lock...
[2025-01-13 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:29:03] Production.INFO: ==15666== Lock acquired, processing the job...
[2025-01-13 15:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:29:03] Production.INFO: ==15670== Lock acquired, processing the job...
[2025-01-13 15:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:29:03] Production.INFO: ==15662== Lock acquired, processing the job...
[2025-01-13 15:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:29:03] Production.INFO: ==15664== Lock acquired, processing the job...
[2025-01-13 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:29:04] Production.INFO: ==15668== Lock acquired, processing the job...
[2025-01-13 15:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:29:04] Production.INFO: ==15672== Lock acquired, processing the job...
[2025-01-13 15:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:29:04] Production.INFO: Account Balance Start.
[2025-01-13 15:29:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:29:04] Production.INFO: 117
[2025-01-13 15:29:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:29:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 15: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-13 15:29:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:29:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:29:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:29:04] Production.INFO: count ==21
[2025-01-13 15: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-13 15:29:04] Production.ERROR: done
[2025-01-13 15:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:29:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:29:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:29:04] Production.INFO: Total Charge 0
[2025-01-13 15:29:04] Production.INFO: CreateAllLog End
[2025-01-13 15:29:04] Production.INFO: count ==21
[2025-01-13 15:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239864') start
[2025-01-13 15:29:04] Production.INFO: ==15664== Releasing lock...
[2025-01-13 15:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:29:04] Production.ERROR: done
[2025-01-13 15:29:04] Production.INFO: Account Balance End.
[2025-01-13 15:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239864') end
[2025-01-13 15:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:29:04] Production.INFO: 1
[2025-01-13 15:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:29:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:29:04] Production.INFO: ==15668== Releasing lock...
[2025-01-13 15:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:29:04] Production.INFO: ==15672== Releasing lock...
[2025-01-13 15:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:29:05
[end_date_ymd] => 2025-01-13 15:29:05
[RateCDR] => 1
)
[2025-01-13 15:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:29:05' and `end` < '2025-01-13 15:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:29:11] Production.ERROR: CronJobId end10
[2025-01-13 15:29:11] Production.INFO: ==15666== Releasing lock...
[2025-01-13 15:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:29:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:29:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:29:14] Production.INFO: call_cost start
[2025-01-13 15:29:14] Production.INFO: call_cost end
[2025-01-13 15:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:29:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:29:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:29:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:29:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:29:15] Production.INFO: ==15662== Releasing lock...
[2025-01-13 15:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:29:32] Production.INFO: count ==5863
[2025-01-13 15:29:34] Production.ERROR: pbx CDR StartTime 2025-01-13 12:29:05 - End Time 2025-01-13 15:29:05
[2025-01-13 15:29:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:29:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239865', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:29:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239865', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:29:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239865', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:29:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239865', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:29:34] Production.INFO: ProcessCDR(1,14239865,1,1,2)
[2025-01-13 15:29:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:29:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:29:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:29:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:29:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239865', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:29:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239865', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:29:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:29:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:29:39] Production.INFO: ==15670== Releasing lock...
[2025-01-13 15:29:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:29:39] Production.INFO: 72 MB #Memory Used#
[2025-01-13 20:30:01] Production.INFO: ==15729== Lock acquired, processing the job...
[2025-01-13 20:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:30:01] Production.INFO: neon service started
[2025-01-13 20:30:01] Production.INFO: neon service started
[2025-01-13 20:30:01] Production.INFO: ==15729== Releasing lock...
[2025-01-13 20:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:30:01] Production.INFO: ==15734== Lock acquired, processing the job...
[2025-01-13 20:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:30:01] Production.INFO: ==15734== Releasing lock...
[2025-01-13 20:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:30:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:30:02] Production.INFO: ==15732== Lock acquired, processing the job...
[2025-01-13 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:30:02] Production.INFO: ==15732== Releasing lock...
[2025-01-13 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:30:03] Production.INFO: ==15738== Lock acquired, processing the job...
[2025-01-13 15:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:30:03] Production.INFO: ==15736== Lock acquired, processing the job...
[2025-01-13 15:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 15:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:30:03] Production.INFO: ==15744== Lock acquired, processing the job...
[2025-01-13 15:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 15:30:03] Production.INFO: ==15748== Lock acquired, processing the job...
[2025-01-13 15:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 15:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 15:30:03] Production.ERROR: CronJob PID - 15738
[2025-01-13 15:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 15:30:03] Production.ERROR: CronJob ID - 5
[2025-01-13 15:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 15:30:00
[2025-01-13 15:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 15:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 15:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 15:30:03] Production.ERROR: CronJob PID - 15744
[2025-01-13 15:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 15:30:03] Production.ERROR: CronJob ID - 12
[2025-01-13 15:30:03] Production.ERROR: CronJob Last Run Time 2025-01-13 15:30:00
[2025-01-13 15:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 15:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 15:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 15:30:03] Production.INFO: ==15736== Releasing lock...
[2025-01-13 15:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 15:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 15:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:30:03] Production.INFO: Account Balance Start.
[2025-01-13 15:30:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:30:03] Production.INFO: 117
[2025-01-13 15:30:03] Production.INFO: ==15740== Lock acquired, processing the job...
[2025-01-13 15:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:30:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:30:03] Production.INFO: ==15742== Lock acquired, processing the job...
[2025-01-13 15:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:30:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:30:03] Production.INFO: ==15746== Lock acquired, processing the job...
[2025-01-13 15:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:30:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:30:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:30:03] Production.INFO: ==15750== Lock acquired, processing the job...
[2025-01-13 15:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:30:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:30:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:30:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:30:04] Production.INFO: count ==21
[2025-01-13 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-13 15:30:04] Production.INFO: count ==21
[2025-01-13 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239869') start
[2025-01-13 15:30:04] Production.ERROR: done
[2025-01-13 15:30:04] Production.INFO: Total Charge 0
[2025-01-13 15:30:04] Production.INFO: CreateAllLog End
[2025-01-13 15:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 15:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239870', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 15:30:04] Production.INFO: ==15740== Releasing lock...
[2025-01-13 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:30:04] Production.ERROR: done
[2025-01-13 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239869') end
[2025-01-13 15:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:30:04] Production.INFO: 1
[2025-01-13 15:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:30:04] Production.INFO: ==15750== Releasing lock...
[2025-01-13 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:30:04] Production.ERROR: done
[2025-01-13 15:30:04] Production.INFO: Account Balance End.
[2025-01-13 15:30:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:30:04] Production.INFO: ==15744== Releasing lock...
[2025-01-13 15:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:30:05
[end_date_ymd] => 2025-01-13 15:30:05
[RateCDR] => 1
)
[2025-01-13 15: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-13 12:30:05' and `end` < '2025-01-13 15: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-13 15:30:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239870', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 15:30:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 15:30:07] Production.INFO: ProcessCDR(1,14239870,1,1,2)
[2025-01-13 15:30:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239870,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:30:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239870,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:30:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:30:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:30:07] Production.INFO: ==15748== Releasing lock...
[2025-01-13 15:30:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 15:30:07] Production.INFO: 26 MB #Memory Used#
[2025-01-13 15:30:14] Production.ERROR: CronJobId end10
[2025-01-13 15:30:14] Production.INFO: ==15742== Releasing lock...
[2025-01-13 15:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:30:15] Production.INFO: call_cost start
[2025-01-13 15:30:15] Production.INFO: call_cost end
[2025-01-13 15:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:30:16] Production.INFO: ==15738== Releasing lock...
[2025-01-13 15:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:30:32] Production.INFO: count ==5856
[2025-01-13 15:30:34] Production.ERROR: pbx CDR StartTime 2025-01-13 12:30:05 - End Time 2025-01-13 15:30:05
[2025-01-13 15:30:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239871', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239871', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239871', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239871', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:30:34] Production.INFO: ProcessCDR(1,14239871,1,1,2)
[2025-01-13 15:30:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:30:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:30:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:30:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:30:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239871', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:30:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239871', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:30:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:30:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:30:39] Production.INFO: ==15746== Releasing lock...
[2025-01-13 15:30:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:30:39] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 20:31:01] Production.INFO: ==15804== Lock acquired, processing the job...
[2025-01-13 20:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:31:01] Production.INFO: neon service started
[2025-01-13 20:31:01] Production.INFO: neon service started
[2025-01-13 20:31:01] Production.INFO: ==15804== Releasing lock...
[2025-01-13 20:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:31:02] Production.INFO: ==15806== Lock acquired, processing the job...
[2025-01-13 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:31:02] Production.INFO: ==15806== Releasing lock...
[2025-01-13 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:31:02] Production.INFO: ==15808== Lock acquired, processing the job...
[2025-01-13 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:31:02] Production.INFO: ==15808== Releasing lock...
[2025-01-13 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:31:03] Production.INFO: ==15819== Lock acquired, processing the job...
[2025-01-13 15:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:31:03] Production.INFO: ==15811== Lock acquired, processing the job...
[2025-01-13 15:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:31:03] Production.INFO: ==15817== Lock acquired, processing the job...
[2025-01-13 15:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:31:03] Production.INFO: Account Balance Start.
[2025-01-13 15:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:31:03] Production.INFO: ==15813== Lock acquired, processing the job...
[2025-01-13 15:31:03] Production.INFO: 117
[2025-01-13 15:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:31:03] Production.INFO: ==15815== Lock acquired, processing the job...
[2025-01-13 15:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:31:03] Production.INFO: ==15821== Lock acquired, processing the job...
[2025-01-13 15:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:31:03] Production.ERROR: done
[2025-01-13 15:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:31:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:31:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:31:03] Production.INFO: count ==21
[2025-01-13 15:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:31:03] Production.INFO: count ==21
[2025-01-13 15:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239875') start
[2025-01-13 15:31:04] Production.INFO: Total Charge 0
[2025-01-13 15:31:04] Production.INFO: ==15813== Releasing lock...
[2025-01-13 15:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:31:04] Production.ERROR: done
[2025-01-13 15:31:04] Production.INFO: CreateAllLog End
[2025-01-13 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239875') end
[2025-01-13 15:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:31:04] Production.INFO: 1
[2025-01-13 15:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:31:04] Production.INFO: ==15821== Releasing lock...
[2025-01-13 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:31:04] Production.INFO: Account Balance End.
[2025-01-13 15:31:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:31:04] Production.INFO: ==15817== Releasing lock...
[2025-01-13 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:31:04
[end_date_ymd] => 2025-01-13 15:31:04
[RateCDR] => 1
)
[2025-01-13 15: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-13 12:31:04' and `end` < '2025-01-13 15: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-13 15:31:12] Production.ERROR: CronJobId end10
[2025-01-13 15:31:12] Production.INFO: ==15815== Releasing lock...
[2025-01-13 15:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:31:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:31:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:31:14] Production.INFO: call_cost start
[2025-01-13 15:31:14] Production.INFO: call_cost end
[2025-01-13 15:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:31:15] Production.INFO: ==15811== Releasing lock...
[2025-01-13 15:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:31:25] Production.INFO: count ==5919
[2025-01-13 15:31:28] Production.ERROR: pbx CDR StartTime 2025-01-13 12:31:04 - End Time 2025-01-13 15:31:04
[2025-01-13 15:31:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239876', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239876', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239876', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239876', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:31:28] Production.INFO: ProcessCDR(1,14239876,1,1,2)
[2025-01-13 15:31:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:31:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:31:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:31:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:31:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239876', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:31:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239876', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:31:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:31:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:31:33] Production.INFO: ==15819== Releasing lock...
[2025-01-13 15:31:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:31:33] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 20:32:01] Production.INFO: ==15913== Lock acquired, processing the job...
[2025-01-13 20:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:32:01] Production.INFO: neon service started
[2025-01-13 20:32:01] Production.INFO: neon service started
[2025-01-13 20:32:01] Production.INFO: ==15913== Releasing lock...
[2025-01-13 20:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:32:01] Production.INFO: ==15915== Lock acquired, processing the job...
[2025-01-13 15:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:32:02] Production.INFO: ==15917== Lock acquired, processing the job...
[2025-01-13 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:32:02] Production.INFO: ==15917== Releasing lock...
[2025-01-13 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:32:02] Production.INFO: ==15915== Releasing lock...
[2025-01-13 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:32:03] Production.INFO: ==15922== Lock acquired, processing the job...
[2025-01-13 15:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:32:03] Production.INFO: ==15920== Lock acquired, processing the job...
[2025-01-13 15:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:32:03] Production.INFO: ==15930== Lock acquired, processing the job...
[2025-01-13 15:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:32:03] Production.INFO: ==15924== Lock acquired, processing the job...
[2025-01-13 15:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:32:03] Production.INFO: ==15926== Lock acquired, processing the job...
[2025-01-13 15:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 15:32:03] Production.INFO: ==15922== Releasing lock...
[2025-01-13 15:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:32:03] Production.INFO: count ==21
[2025-01-13 15:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 15:32:03] Production.INFO: count ==21
[2025-01-13 15:32:03] Production.INFO: ==15928== Lock acquired, processing the job...
[2025-01-13 15:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239879') start
[2025-01-13 15:32:03] Production.INFO: Account Balance Start.
[2025-01-13 15:32:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:32:03] Production.INFO: 117
[2025-01-13 15:32:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:32:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239879') end
[2025-01-13 15:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:32:03] Production.INFO: 1
[2025-01-13 15:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:32:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:32:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:32:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:32:03] Production.INFO: ==15930== Releasing lock...
[2025-01-13 15:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:32:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:32:03] Production.INFO: Total Charge 0
[2025-01-13 15:32:03] Production.INFO: CreateAllLog End
[2025-01-13 15:32:03] Production.ERROR: done
[2025-01-13 15:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:32:03] Production.ERROR: done
[2025-01-13 15:32:04] Production.INFO: Account Balance End.
[2025-01-13 15:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:32:04] Production.INFO: ==15926== Releasing lock...
[2025-01-13 15:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:32:04
[end_date_ymd] => 2025-01-13 15:32:04
[RateCDR] => 1
)
[2025-01-13 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-13 12:32:04' and `end` < '2025-01-13 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-13 15:32:11] Production.ERROR: CronJobId end10
[2025-01-13 15:32:11] Production.INFO: ==15924== Releasing lock...
[2025-01-13 15:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:32:13] Production.INFO: call_cost start
[2025-01-13 15:32:13] Production.INFO: call_cost end
[2025-01-13 15:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:32:14] Production.INFO: ==15920== Releasing lock...
[2025-01-13 15:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:32:23] Production.INFO: count ==5934
[2025-01-13 15:32:25] Production.ERROR: pbx CDR StartTime 2025-01-13 12:32:04 - End Time 2025-01-13 15:32:04
[2025-01-13 15:32:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239881', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239881', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239881', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239881', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:32:25] Production.INFO: ProcessCDR(1,14239881,1,1,2)
[2025-01-13 15:32:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:32:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:32:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:32:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239881', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239881', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:32:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:32:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:32:30] Production.INFO: ==15928== Releasing lock...
[2025-01-13 15:32:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:32:30] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 20:33:01] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-01-13 20:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:33:01] Production.INFO: neon service started
[2025-01-13 20:33:01] Production.INFO: neon service started
[2025-01-13 20:33:01] Production.INFO: ==15984== Releasing lock...
[2025-01-13 20:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:33:02] Production.INFO: ==15987== Lock acquired, processing the job...
[2025-01-13 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:33:02] Production.INFO: ==15989== Lock acquired, processing the job...
[2025-01-13 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:33:02] Production.INFO: ==15989== Releasing lock...
[2025-01-13 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:33:02] Production.INFO: ==15987== Releasing lock...
[2025-01-13 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:33:03] Production.INFO: ==15991== Lock acquired, processing the job...
[2025-01-13 15:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:33:03] Production.INFO: ==15993== Lock acquired, processing the job...
[2025-01-13 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:33:03] Production.INFO: ==15993== Releasing lock...
[2025-01-13 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:33:03] Production.INFO: ==15997== Lock acquired, processing the job...
[2025-01-13 15:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:33:03] Production.INFO: ==15995== Lock acquired, processing the job...
[2025-01-13 15:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:33:03] Production.INFO: ==15999== Lock acquired, processing the job...
[2025-01-13 15:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:33:03] Production.INFO: ==16001== Lock acquired, processing the job...
[2025-01-13 15:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:33:03] Production.INFO: Account Balance Start.
[2025-01-13 15:33:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:33:03] Production.INFO: 117
[2025-01-13 15:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:33:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:33:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:33:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:33:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:33:03] Production.INFO: count ==21
[2025-01-13 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-13 15:33:04] Production.INFO: count ==21
[2025-01-13 15:33:04] Production.ERROR: done
[2025-01-13 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239885') start
[2025-01-13 15:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:33:04] Production.INFO: Total Charge 0
[2025-01-13 15:33:04] Production.ERROR: done
[2025-01-13 15:33:04] Production.INFO: CreateAllLog End
[2025-01-13 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239885') end
[2025-01-13 15:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:33:04] Production.INFO: 1
[2025-01-13 15:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:33:04] Production.INFO: ==16001== Releasing lock...
[2025-01-13 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:33:04] Production.INFO: Account Balance End.
[2025-01-13 15:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:33:04] Production.INFO: ==15997== Releasing lock...
[2025-01-13 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:33:05
[end_date_ymd] => 2025-01-13 15:33:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:33:05' and `end` < '2025-01-13 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-13 15:33:12] Production.ERROR: CronJobId end10
[2025-01-13 15:33:12] Production.INFO: ==15995== Releasing lock...
[2025-01-13 15:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:33:14] Production.INFO: call_cost start
[2025-01-13 15:33:14] Production.INFO: call_cost end
[2025-01-13 15:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:33:14] Production.INFO: ==15991== Releasing lock...
[2025-01-13 15:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:33:30] Production.INFO: count ==5954
[2025-01-13 15:33:33] Production.ERROR: pbx CDR StartTime 2025-01-13 12:33:05 - End Time 2025-01-13 15:33:05
[2025-01-13 15:33:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:33:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239886', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:33:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239886', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:33:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239886', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:33:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239886', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:33:33] Production.INFO: ProcessCDR(1,14239886,1,1,2)
[2025-01-13 15:33:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:33:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:33:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:33:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:33:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239886', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:33:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239886', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:33:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:33:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:33:38] Production.INFO: ==15999== Releasing lock...
[2025-01-13 15:33:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:33:38] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 20:34:02] Production.INFO: ==16055== Lock acquired, processing the job...
[2025-01-13 20:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:34:02] Production.INFO: neon service started
[2025-01-13 20:34:02] Production.INFO: neon service started
[2025-01-13 20:34:02] Production.INFO: ==16055== Releasing lock...
[2025-01-13 20:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:34:02] Production.INFO: ==16057== Lock acquired, processing the job...
[2025-01-13 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:34:02] Production.INFO: ==16057== Releasing lock...
[2025-01-13 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:34:02] Production.INFO: ==16059== Lock acquired, processing the job...
[2025-01-13 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:34:03] Production.INFO: ==16059== Releasing lock...
[2025-01-13 20:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:34:03] Production.INFO: ==16069== Lock acquired, processing the job...
[2025-01-13 15:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:34:03] Production.INFO: ==16071== Lock acquired, processing the job...
[2025-01-13 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 15:34:03] Production.INFO: ==16061== Lock acquired, processing the job...
[2025-01-13 15:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:34:03] Production.INFO: ==16063== Lock acquired, processing the job...
[2025-01-13 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:34:03] Production.INFO: ==16065== Lock acquired, processing the job...
[2025-01-13 15:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:34:03] Production.INFO: count ==21
[2025-01-13 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-13 15:34:03] Production.INFO: count ==21
[2025-01-13 15:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239887') start
[2025-01-13 15:34:03] Production.INFO: ==16067== Lock acquired, processing the job...
[2025-01-13 15:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:34:04] Production.INFO: Account Balance Start.
[2025-01-13 15:34:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:34:04] Production.INFO: 117
[2025-01-13 15:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:34:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239887') end
[2025-01-13 15:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:34:04] Production.INFO: 1
[2025-01-13 15:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:34:04] Production.ERROR: done
[2025-01-13 15:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:34:04] Production.INFO: ==16071== Releasing lock...
[2025-01-13 15:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:34:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:34:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:34:04] Production.INFO: ==16063== Releasing lock...
[2025-01-13 15:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:34:04] Production.ERROR: done
[2025-01-13 15:34:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:34:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:34:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:34:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:34:04] Production.INFO: Total Charge 0
[2025-01-13 15:34:04] Production.INFO: CreateAllLog End
[2025-01-13 15:34:04] Production.INFO: Account Balance End.
[2025-01-13 15:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:34:04] Production.INFO: ==16067== Releasing lock...
[2025-01-13 15:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:34:05
[end_date_ymd] => 2025-01-13 15:34:05
[RateCDR] => 1
)
[2025-01-13 15:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:34:05' and `end` < '2025-01-13 15:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:34:11] Production.ERROR: CronJobId end10
[2025-01-13 15:34:11] Production.INFO: ==16065== Releasing lock...
[2025-01-13 15:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:34:13] Production.INFO: call_cost start
[2025-01-13 15:34:13] Production.INFO: call_cost end
[2025-01-13 15:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:34:14] Production.INFO: ==16061== Releasing lock...
[2025-01-13 15:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:34:24] Production.INFO: count ==5958
[2025-01-13 15:34:27] Production.ERROR: pbx CDR StartTime 2025-01-13 12:34:05 - End Time 2025-01-13 15:34:05
[2025-01-13 15:34:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:34:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239891', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:34:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239891', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:34:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239891', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:34:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239891', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:34:27] Production.INFO: ProcessCDR(1,14239891,1,1,2)
[2025-01-13 15:34:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:34:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:34:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:34:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:34:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239891', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:34:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239891', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:34:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:34:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:34:31] Production.INFO: ==16069== Releasing lock...
[2025-01-13 15:34:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:34:31] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 20:35:01] Production.INFO: ==16126== Lock acquired, processing the job...
[2025-01-13 20:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:35:01] Production.INFO: neon service started
[2025-01-13 20:35:01] Production.INFO: neon service started
[2025-01-13 20:35:01] Production.INFO: ==16126== Releasing lock...
[2025-01-13 20:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:35:01] Production.INFO: ==16130== Lock acquired, processing the job...
[2025-01-13 20:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:35:01] Production.INFO: ==16130== Releasing lock...
[2025-01-13 20:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:35:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:35:02] Production.INFO: ==16128== Lock acquired, processing the job...
[2025-01-13 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:35:02] Production.INFO: ==16128== Releasing lock...
[2025-01-13 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:35:03] Production.INFO: ==16136== Lock acquired, processing the job...
[2025-01-13 15:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:35:03] Production.INFO: ==16134== Lock acquired, processing the job...
[2025-01-13 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:35:03] Production.INFO: ==16132== Lock acquired, processing the job...
[2025-01-13 15:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:35:03] Production.INFO: ==16138== Lock acquired, processing the job...
[2025-01-13 15:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:35:03] Production.INFO: ==16140== Lock acquired, processing the job...
[2025-01-13 15:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:35:03] Production.INFO: Account Balance Start.
[2025-01-13 15:35:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:35:03] Production.INFO: 117
[2025-01-13 15:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:35:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:35:03] Production.INFO: ==16142== Lock acquired, processing the job...
[2025-01-13 15:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:35:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:35:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:35:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:35:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:35:03] Production.INFO: ==16134== Releasing lock...
[2025-01-13 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:35:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:35:03] Production.INFO: Total Charge 0
[2025-01-13 15:35:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 15:35:03] Production.ERROR: done
[2025-01-13 15:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:35:03] Production.INFO: count ==21
[2025-01-13 15:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:35:03] Production.INFO: count ==21
[2025-01-13 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239895') start
[2025-01-13 15:35:04] Production.ERROR: done
[2025-01-13 15:35:04] Production.INFO: Account Balance End.
[2025-01-13 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239895') end
[2025-01-13 15:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:35:04] Production.INFO: 1
[2025-01-13 15:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:35:04] Production.INFO: ==16138== Releasing lock...
[2025-01-13 15:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:35:04] Production.INFO: ==16142== Releasing lock...
[2025-01-13 15:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:35:04
[end_date_ymd] => 2025-01-13 15:35:04
[RateCDR] => 1
)
[2025-01-13 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-13 12:35:04' and `end` < '2025-01-13 15: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-13 15:35:10] Production.ERROR: CronJobId end10
[2025-01-13 15:35:10] Production.INFO: ==16136== Releasing lock...
[2025-01-13 15:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:35:12] Production.INFO: call_cost start
[2025-01-13 15:35:12] Production.INFO: call_cost end
[2025-01-13 15:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:35:13] Production.INFO: ==16132== Releasing lock...
[2025-01-13 15:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:35:25] Production.INFO: count ==5951
[2025-01-13 15:35:28] Production.ERROR: pbx CDR StartTime 2025-01-13 12:35:04 - End Time 2025-01-13 15:35:04
[2025-01-13 15:35:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:35:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239896', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:35:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239896', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:35:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239896', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:35:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239896', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:35:28] Production.INFO: ProcessCDR(1,14239896,1,1,2)
[2025-01-13 15:35:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:35:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:35:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:35:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:35:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239896', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:35:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239896', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:35:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:35:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:35:31] Production.INFO: ==16140== Releasing lock...
[2025-01-13 15:35:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:35:31] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 20:36:02] Production.INFO: ==16197== Lock acquired, processing the job...
[2025-01-13 20:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:36:02] Production.INFO: neon service started
[2025-01-13 20:36:02] Production.INFO: neon service started
[2025-01-13 20:36:02] Production.INFO: ==16197== Releasing lock...
[2025-01-13 20:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:36:02] Production.INFO: ==16200== Lock acquired, processing the job...
[2025-01-13 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:36:02] Production.INFO: ==16200== Releasing lock...
[2025-01-13 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:36:02] Production.INFO: ==16202== Lock acquired, processing the job...
[2025-01-13 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:36:02] Production.INFO: ==16202== Releasing lock...
[2025-01-13 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:36:03] Production.INFO: ==16204== Lock acquired, processing the job...
[2025-01-13 15:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:36:03] Production.INFO: ==16212== Lock acquired, processing the job...
[2025-01-13 15:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:36:03] Production.INFO: ==16214== Lock acquired, processing the job...
[2025-01-13 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:36:03] Production.INFO: ==16206== Lock acquired, processing the job...
[2025-01-13 15:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:36:03] Production.INFO: ==16208== Lock acquired, processing the job...
[2025-01-13 15:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 15:36:03] Production.INFO: ==16210== Lock acquired, processing the job...
[2025-01-13 15:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:36:03] Production.INFO: count ==21
[2025-01-13 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-13 15:36:03] Production.INFO: count ==21
[2025-01-13 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239898') start
[2025-01-13 15:36:03] Production.INFO: Account Balance Start.
[2025-01-13 15:36:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:36:03] Production.INFO: 117
[2025-01-13 15:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:36:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:36:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:36:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239898') end
[2025-01-13 15:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:36:04] Production.INFO: 1
[2025-01-13 15:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:36:04] Production.INFO: ==16214== Releasing lock...
[2025-01-13 15:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:36:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:36:04] Production.ERROR: done
[2025-01-13 15:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:36:04] Production.INFO: ==16206== Releasing lock...
[2025-01-13 15:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:36:04] Production.INFO: Total Charge 0
[2025-01-13 15:36:04] Production.INFO: CreateAllLog End
[2025-01-13 15:36:04] Production.ERROR: done
[2025-01-13 15:36:04] Production.INFO: Account Balance End.
[2025-01-13 15:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:36:04] Production.INFO: ==16210== Releasing lock...
[2025-01-13 15:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:36:05
[end_date_ymd] => 2025-01-13 15:36:05
[RateCDR] => 1
)
[2025-01-13 15:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:36:05' and `end` < '2025-01-13 15:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:36:11] Production.ERROR: CronJobId end10
[2025-01-13 15:36:11] Production.INFO: ==16208== Releasing lock...
[2025-01-13 15:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:36:14] Production.INFO: call_cost start
[2025-01-13 15:36:14] Production.INFO: call_cost end
[2025-01-13 15:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:36:14] Production.INFO: ==16204== Releasing lock...
[2025-01-13 15:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:36:31] Production.INFO: count ==5943
[2025-01-13 15:36:34] Production.ERROR: pbx CDR StartTime 2025-01-13 12:36:05 - End Time 2025-01-13 15:36:05
[2025-01-13 15:36:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:36:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239901', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:36:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239901', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:36:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239901', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:36:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239901', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:36:34] Production.INFO: ProcessCDR(1,14239901,1,1,2)
[2025-01-13 15:36:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:36:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:36:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:36:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:36:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239901', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:36:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239901', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:36:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:36:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:36:39] Production.INFO: ==16212== Releasing lock...
[2025-01-13 15:36:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:36:39] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 20:37:01] Production.INFO: ==16267== Lock acquired, processing the job...
[2025-01-13 20:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:37:01] Production.INFO: neon service started
[2025-01-13 20:37:01] Production.INFO: neon service started
[2025-01-13 20:37:01] Production.INFO: ==16267== Releasing lock...
[2025-01-13 20:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:37:02] Production.INFO: ==16269== Lock acquired, processing the job...
[2025-01-13 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:37:02] Production.INFO: ==16271== Lock acquired, processing the job...
[2025-01-13 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:37:02] Production.INFO: ==16271== Releasing lock...
[2025-01-13 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:37:02] Production.INFO: ==16269== Releasing lock...
[2025-01-13 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:37:03] Production.INFO: ==16284== Lock acquired, processing the job...
[2025-01-13 15:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:37:03] Production.INFO: ==16282== Lock acquired, processing the job...
[2025-01-13 15:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 15:37:03] Production.INFO: ==16274== Lock acquired, processing the job...
[2025-01-13 15:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:37:03] Production.INFO: count ==21
[2025-01-13 15:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 15:37:03] Production.INFO: count ==21
[2025-01-13 15:37:03] Production.INFO: ==16276== Lock acquired, processing the job...
[2025-01-13 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239902') start
[2025-01-13 15:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:37:03] Production.INFO: ==16278== Lock acquired, processing the job...
[2025-01-13 15:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:37:03] Production.INFO: ==16280== Lock acquired, processing the job...
[2025-01-13 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239902') end
[2025-01-13 15:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:37:03] Production.INFO: 1
[2025-01-13 15:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:37:03] Production.INFO: Account Balance Start.
[2025-01-13 15:37:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:37:03] Production.INFO: 117
[2025-01-13 15:37:03] Production.ERROR: done
[2025-01-13 15:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:37:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:37:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:37:03] Production.INFO: ==16284== Releasing lock...
[2025-01-13 15:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:37:04] Production.ERROR: done
[2025-01-13 15:37:04] Production.INFO: ==16276== Releasing lock...
[2025-01-13 15:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:37:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:37:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:37:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:37:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:37:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:37:04] Production.INFO: Total Charge 0
[2025-01-13 15:37:04] Production.INFO: CreateAllLog End
[2025-01-13 15:37:04] Production.INFO: Account Balance End.
[2025-01-13 15:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:37:04] Production.INFO: ==16280== Releasing lock...
[2025-01-13 15:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:37:05
[end_date_ymd] => 2025-01-13 15:37:05
[RateCDR] => 1
)
[2025-01-13 15:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:37:05' and `end` < '2025-01-13 15:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:37:12] Production.ERROR: CronJobId end10
[2025-01-13 15:37:12] Production.INFO: ==16278== Releasing lock...
[2025-01-13 15:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:37:13] Production.INFO: call_cost start
[2025-01-13 15:37:13] Production.INFO: call_cost end
[2025-01-13 15:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:37:14] Production.INFO: ==16274== Releasing lock...
[2025-01-13 15:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:37:25] Production.INFO: count ==5936
[2025-01-13 15:37:27] Production.ERROR: pbx CDR StartTime 2025-01-13 12:37:05 - End Time 2025-01-13 15:37:05
[2025-01-13 15:37:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:37:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239906', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:37:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239906', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:37:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239906', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:37:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239906', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:37:27] Production.INFO: ProcessCDR(1,14239906,1,1,2)
[2025-01-13 15:37:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:37:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:37:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:37:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:37:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239906', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:37:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239906', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:37:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:37:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:37:32] Production.INFO: ==16282== Releasing lock...
[2025-01-13 15:37:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:37:32] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 20:38:01] Production.INFO: ==16340== Lock acquired, processing the job...
[2025-01-13 20:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:38:01] Production.INFO: neon service started
[2025-01-13 20:38:01] Production.INFO: neon service started
[2025-01-13 20:38:01] Production.INFO: ==16340== Releasing lock...
[2025-01-13 20:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:38:02] Production.INFO: ==16342== Lock acquired, processing the job...
[2025-01-13 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:38:02] Production.INFO: ==16342== Releasing lock...
[2025-01-13 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:38:02] Production.INFO: ==16344== Lock acquired, processing the job...
[2025-01-13 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:38:02] Production.INFO: ==16344== Releasing lock...
[2025-01-13 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:38:03] Production.INFO: ==16355== Lock acquired, processing the job...
[2025-01-13 15:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:38:03] Production.INFO: ==16357== Lock acquired, processing the job...
[2025-01-13 15:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:38:03] Production.INFO: ==16347== Lock acquired, processing the job...
[2025-01-13 15:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:38:03] Production.INFO: ==16349== Lock acquired, processing the job...
[2025-01-13 15:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:38:03] Production.INFO: ==16351== Lock acquired, processing the job...
[2025-01-13 15:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:38:03] Production.INFO: ==16353== Lock acquired, processing the job...
[2025-01-13 15:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:38:03] Production.INFO: count ==21
[2025-01-13 15:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:38:03] Production.INFO: count ==21
[2025-01-13 15:38:03] Production.ERROR: done
[2025-01-13 15:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239907') start
[2025-01-13 15:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:38:03] Production.INFO: Account Balance Start.
[2025-01-13 15:38:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:38:03] Production.INFO: 117
[2025-01-13 15:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239907') end
[2025-01-13 15:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:38:03] Production.INFO: 1
[2025-01-13 15:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:38:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:38:03] Production.ERROR: done
[2025-01-13 15:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:38:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:38:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:38:03] Production.INFO: ==16357== Releasing lock...
[2025-01-13 15:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:38:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:38:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:38:04] Production.INFO: ==16349== Releasing lock...
[2025-01-13 15:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:38:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:38:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:38:04] Production.INFO: Total Charge 0
[2025-01-13 15:38:04] Production.INFO: CreateAllLog End
[2025-01-13 15:38:04] Production.INFO: Account Balance End.
[2025-01-13 15:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:38:04] Production.INFO: ==16353== Releasing lock...
[2025-01-13 15:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:38:04
[end_date_ymd] => 2025-01-13 15:38:04
[RateCDR] => 1
)
[2025-01-13 15:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:38:04' and `end` < '2025-01-13 15:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:38:12] Production.ERROR: CronJobId end10
[2025-01-13 15:38:12] Production.INFO: ==16351== Releasing lock...
[2025-01-13 15:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:38:12] Production.INFO: call_cost start
[2025-01-13 15:38:12] Production.INFO: call_cost end
[2025-01-13 15:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:38:13] Production.INFO: ==16347== Releasing lock...
[2025-01-13 15:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:38:22] Production.INFO: count ==5932
[2025-01-13 15:38:24] Production.ERROR: pbx CDR StartTime 2025-01-13 12:38:04 - End Time 2025-01-13 15:38:04
[2025-01-13 15:38:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239911', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239911', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239911', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239911', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:38:24] Production.INFO: ProcessCDR(1,14239911,1,1,2)
[2025-01-13 15:38:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:38:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:38:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:38:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:38:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239911', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:38:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239911', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:38:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:38:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:38:29] Production.INFO: ==16355== Releasing lock...
[2025-01-13 15:38:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:38:29] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 20:39:02] Production.INFO: ==16411== Lock acquired, processing the job...
[2025-01-13 20:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:39:02] Production.INFO: neon service started
[2025-01-13 20:39:02] Production.INFO: neon service started
[2025-01-13 20:39:02] Production.INFO: ==16411== Releasing lock...
[2025-01-13 20:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:39:02] Production.INFO: ==16415== Lock acquired, processing the job...
[2025-01-13 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:39:02] Production.INFO: ==16415== Releasing lock...
[2025-01-13 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:39:02] Production.INFO: ==16413== Lock acquired, processing the job...
[2025-01-13 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:39:03] Production.INFO: ==16413== Releasing lock...
[2025-01-13 15:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:39:03] Production.INFO: ==16424== Lock acquired, processing the job...
[2025-01-13 15:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:39:03] Production.INFO: Account Balance Start.
[2025-01-13 15:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:39:03] Production.INFO: 117
[2025-01-13 15:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:39:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:39:03] Production.INFO: ==16428== Lock acquired, processing the job...
[2025-01-13 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:39:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:39:04] Production.INFO: ==16417== Lock acquired, processing the job...
[2025-01-13 15:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:39:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:39:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:39:04] Production.INFO: ==16419== Lock acquired, processing the job...
[2025-01-13 15:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:39:04] Production.INFO: ==16421== Lock acquired, processing the job...
[2025-01-13 15:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:39:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:39:04] Production.INFO: count ==21
[2025-01-13 15:39:04] Production.INFO: ==16426== Lock acquired, processing the job...
[2025-01-13 15:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:39:04] Production.INFO: count ==21
[2025-01-13 15:39:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239913') start
[2025-01-13 15:39:04] Production.INFO: Total Charge 0
[2025-01-13 15:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:39:04] Production.INFO: CreateAllLog End
[2025-01-13 15:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239913') end
[2025-01-13 15:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:39:04] Production.INFO: 1
[2025-01-13 15:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:39:04] Production.INFO: ==16428== Releasing lock...
[2025-01-13 15:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:39:04] Production.INFO: ==16419== Releasing lock...
[2025-01-13 15:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:39:04] Production.INFO: Account Balance End.
[2025-01-13 15:39:04] Production.ERROR: done
[2025-01-13 15:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:39:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:39:04] Production.INFO: ==16424== Releasing lock...
[2025-01-13 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:39:05] Production.ERROR: done
[2025-01-13 15:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:39:06
[end_date_ymd] => 2025-01-13 15:39:06
[RateCDR] => 1
)
[2025-01-13 15:39:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:39:06' and `end` < '2025-01-13 15:39:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:39:11] Production.ERROR: CronJobId end10
[2025-01-13 15:39:11] Production.INFO: ==16421== Releasing lock...
[2025-01-13 15:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:39:13] Production.INFO: call_cost start
[2025-01-13 15:39:13] Production.INFO: call_cost end
[2025-01-13 15:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:39:14] Production.INFO: ==16417== Releasing lock...
[2025-01-13 15:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:39:40] Production.INFO: count ==5979
[2025-01-13 15:39:42] Production.ERROR: pbx CDR StartTime 2025-01-13 12:39:06 - End Time 2025-01-13 15:39:06
[2025-01-13 15:39:42] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:39:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239916', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:39:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239916', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:39:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239916', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:39:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239916', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:39:42] Production.INFO: ProcessCDR(1,14239916,1,1,2)
[2025-01-13 15:39:42] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:39:44] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:39:44] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:39:47] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:39:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239916', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:39:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239916', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:39:47] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:39:47] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:39:47] Production.INFO: ==16426== Releasing lock...
[2025-01-13 15:39:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:39:47] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 20:40:01] Production.INFO: ==16482== Lock acquired, processing the job...
[2025-01-13 20:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:40:01] Production.INFO: neon service started
[2025-01-13 20:40:01] Production.INFO: neon service started
[2025-01-13 20:40:01] Production.INFO: ==16482== Releasing lock...
[2025-01-13 20:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:40:02] Production.INFO: ==16484== Lock acquired, processing the job...
[2025-01-13 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:40:02] Production.INFO: ==16486== Lock acquired, processing the job...
[2025-01-13 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:40:02] Production.INFO: ==16484== Releasing lock...
[2025-01-13 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 20:40:02] Production.INFO: ==16486== Releasing lock...
[2025-01-13 15:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:40:03] Production.INFO: ==16496== Lock acquired, processing the job...
[2025-01-13 15:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:40:03] Production.INFO: ==16488== Lock acquired, processing the job...
[2025-01-13 15:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 15:40:03] Production.INFO: ==16498== Lock acquired, processing the job...
[2025-01-13 15:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:40:03] Production.INFO: Account Balance Start.
[2025-01-13 15:40:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:40:03] Production.INFO: 117
[2025-01-13 15:40:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:40:03] Production.INFO: ==16502== Lock acquired, processing the job...
[2025-01-13 15:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:40:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:40:03] Production.INFO: ==16490== Lock acquired, processing the job...
[2025-01-13 15:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 15:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 15:40:03] Production.ERROR: CronJob PID - 16496
[2025-01-13 15:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 15:40:03] Production.ERROR: CronJob ID - 12
[2025-01-13 15:40:03] Production.ERROR: CronJob Last Run Time 2025-01-13 15:40:00
[2025-01-13 15:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 15:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 15:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 15:40:03] Production.ERROR: CronJob PID - 16498
[2025-01-13 15:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 15:40:03] Production.ERROR: CronJob ID - 16
[2025-01-13 15:40:03] Production.ERROR: CronJob Last Run Time 2025-01-13 15:40:00
[2025-01-13 15:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 15:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 15:40:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:40:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 15:40:03] Production.INFO: ==16488== Releasing lock...
[2025-01-13 15:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 15:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 15:40:03] Production.INFO: ==16492== Lock acquired, processing the job...
[2025-01-13 15:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:40:03] Production.INFO: ==16494== Lock acquired, processing the job...
[2025-01-13 15:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:40:03] Production.INFO: ==16500== Lock acquired, processing the job...
[2025-01-13 15:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 15:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 15:40:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:40:04] Production.INFO: count ==21
[2025-01-13 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:40:04] Production.INFO: count ==21
[2025-01-13 15:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239918') start
[2025-01-13 15:40:04] Production.ERROR: done
[2025-01-13 15:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:40:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:40:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239918') end
[2025-01-13 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:40:04] Production.INFO: 1
[2025-01-13 15:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:40:04] Production.ERROR: done
[2025-01-13 15:40:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:40:04] Production.INFO: ==16492== Releasing lock...
[2025-01-13 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:40:04] Production.INFO: Total Charge 0
[2025-01-13 15:40:04] Production.INFO: CreateAllLog End
[2025-01-13 15:40:04] Production.INFO: ==16502== Releasing lock...
[2025-01-13 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:40:04] Production.ERROR: done
[2025-01-13 15:40:04] Production.INFO: Account Balance End.
[2025-01-13 15:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 15:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239922', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 15:40:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:40:04] Production.INFO: ==16496== Releasing lock...
[2025-01-13 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:40:05
[end_date_ymd] => 2025-01-13 15:40:05
[RateCDR] => 1
)
[2025-01-13 15: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-13 12:40:05' and `end` < '2025-01-13 15: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-13 15:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239922', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 15:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 15:40:08] Production.INFO: ProcessCDR(1,14239922,1,1,2)
[2025-01-13 15:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239922,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239922,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:40:08] Production.INFO: ==16500== Releasing lock...
[2025-01-13 15:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 15:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 15:40:12] Production.ERROR: CronJobId end10
[2025-01-13 15:40:12] Production.INFO: ==16494== Releasing lock...
[2025-01-13 15:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:40:15] Production.INFO: call_cost start
[2025-01-13 15:40:15] Production.INFO: call_cost end
[2025-01-13 15:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:40:16] Production.INFO: ==16490== Releasing lock...
[2025-01-13 15:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:40:28] Production.INFO: count ==5977
[2025-01-13 15:40:30] Production.ERROR: pbx CDR StartTime 2025-01-13 12:40:05 - End Time 2025-01-13 15:40:05
[2025-01-13 15:40:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239921', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239921', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239921', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:40:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239921', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:40:30] Production.INFO: ProcessCDR(1,14239921,1,1,2)
[2025-01-13 15:40:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:40:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:40:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:40:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:40:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239921', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:40:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239921', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:40:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:40:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:40:35] Production.INFO: ==16498== Releasing lock...
[2025-01-13 15:40:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:40:35] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 20:41:02] Production.INFO: ==16557== Lock acquired, processing the job...
[2025-01-13 20:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:41:02] Production.INFO: neon service started
[2025-01-13 20:41:02] Production.INFO: neon service started
[2025-01-13 20:41:02] Production.INFO: ==16557== Releasing lock...
[2025-01-13 20:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:41:02] Production.INFO: ==16559== Lock acquired, processing the job...
[2025-01-13 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:41:02] Production.INFO: ==16559== Releasing lock...
[2025-01-13 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:41:02] Production.INFO: ==16561== Lock acquired, processing the job...
[2025-01-13 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:41:03] Production.INFO: ==16561== Releasing lock...
[2025-01-13 20:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:41:03] Production.INFO: ==16567== Lock acquired, processing the job...
[2025-01-13 15:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:41:03] Production.INFO: ==16563== Lock acquired, processing the job...
[2025-01-13 15:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:41:03] Production.INFO: ==16565== Lock acquired, processing the job...
[2025-01-13 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:41:03] Production.INFO: ==16573== Lock acquired, processing the job...
[2025-01-13 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:41:03] Production.INFO: ==16571== Lock acquired, processing the job...
[2025-01-13 15:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:41:03] Production.INFO: ==16569== Lock acquired, processing the job...
[2025-01-13 15:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 15:41:03] Production.INFO: count ==21
[2025-01-13 15:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 15:41:03] Production.INFO: count ==21
[2025-01-13 15:41:03] Production.INFO: Account Balance Start.
[2025-01-13 15:41:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:41:03] Production.INFO: 117
[2025-01-13 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239924') start
[2025-01-13 15:41:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:41:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:41:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239924') end
[2025-01-13 15:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:41:04] Production.INFO: 1
[2025-01-13 15:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:41:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:41:04] Production.INFO: ==16565== Releasing lock...
[2025-01-13 15:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:41:04] Production.INFO: ==16573== Releasing lock...
[2025-01-13 15:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:41:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:41:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:41:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:41:04] Production.INFO: Total Charge 0
[2025-01-13 15:41:04] Production.INFO: CreateAllLog End
[2025-01-13 15:41:04] Production.ERROR: done
[2025-01-13 15:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:41:04] Production.ERROR: done
[2025-01-13 15:41:04] Production.INFO: Account Balance End.
[2025-01-13 15:41:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:41:04] Production.INFO: ==16569== Releasing lock...
[2025-01-13 15:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:41:05
[end_date_ymd] => 2025-01-13 15:41:05
[RateCDR] => 1
)
[2025-01-13 15:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:41:05' and `end` < '2025-01-13 15:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:41:12] Production.ERROR: CronJobId end10
[2025-01-13 15:41:12] Production.INFO: ==16567== Releasing lock...
[2025-01-13 15:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:41:14] Production.INFO: call_cost start
[2025-01-13 15:41:14] Production.INFO: call_cost end
[2025-01-13 15:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:41:14] Production.INFO: ==16563== Releasing lock...
[2025-01-13 15:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:41:27] Production.INFO: count ==5975
[2025-01-13 15:41:29] Production.ERROR: pbx CDR StartTime 2025-01-13 12:41:05 - End Time 2025-01-13 15:41:05
[2025-01-13 15:41:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:41:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239927', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:41:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239927', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:41:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239927', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:41:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239927', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:41:29] Production.INFO: ProcessCDR(1,14239927,1,1,2)
[2025-01-13 15:41:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:41:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:41:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:41:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:41:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239927', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:41:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239927', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:41:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:41:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:41:34] Production.INFO: ==16571== Releasing lock...
[2025-01-13 15:41:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:41:34] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 20:42:01] Production.INFO: ==16630== Lock acquired, processing the job...
[2025-01-13 20:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:42:01] Production.INFO: neon service started
[2025-01-13 20:42:01] Production.INFO: neon service started
[2025-01-13 20:42:01] Production.INFO: ==16630== Releasing lock...
[2025-01-13 20:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:42:01] Production.INFO: ==16634== Lock acquired, processing the job...
[2025-01-13 20:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:42:01] Production.INFO: ==16634== Releasing lock...
[2025-01-13 20:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:42:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:42:02] Production.INFO: ==16632== Lock acquired, processing the job...
[2025-01-13 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:42:02] Production.INFO: ==16632== Releasing lock...
[2025-01-13 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:42:03] Production.INFO: ==16641== Lock acquired, processing the job...
[2025-01-13 15:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:42:03] Production.INFO: ==16637== Lock acquired, processing the job...
[2025-01-13 15:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:42:03] Production.INFO: ==16639== Lock acquired, processing the job...
[2025-01-13 15:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:42:03] Production.INFO: ==16645== Lock acquired, processing the job...
[2025-01-13 15:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:42:03] Production.INFO: ==16643== Lock acquired, processing the job...
[2025-01-13 15:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:42:03] Production.INFO: ==16647== Lock acquired, processing the job...
[2025-01-13 15:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:42:03] Production.INFO: Account Balance Start.
[2025-01-13 15:42:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:42:03] Production.INFO: 117
[2025-01-13 15:42:03] Production.ERROR: done
[2025-01-13 15:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:42:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 15:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:42:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:42:03] Production.INFO: count ==21
[2025-01-13 15:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 15: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-13 15:42:03] Production.INFO: count ==21
[2025-01-13 15:42:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239931') start
[2025-01-13 15:42:03] Production.ERROR: done
[2025-01-13 15:42:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239931') end
[2025-01-13 15:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:42:03] Production.INFO: 1
[2025-01-13 15:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:42:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:42:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:42:04] Production.INFO: ==16639== Releasing lock...
[2025-01-13 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:42:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:42:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:42:04] Production.INFO: ==16647== Releasing lock...
[2025-01-13 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:42:04] Production.INFO: Total Charge 0
[2025-01-13 15:42:04] Production.INFO: CreateAllLog End
[2025-01-13 15:42:04] Production.INFO: Account Balance End.
[2025-01-13 15:42:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:42:04] Production.INFO: ==16643== Releasing lock...
[2025-01-13 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:42:05
[end_date_ymd] => 2025-01-13 15:42:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:42:05' and `end` < '2025-01-13 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-13 15:42:12] Production.ERROR: CronJobId end10
[2025-01-13 15:42:12] Production.INFO: ==16641== Releasing lock...
[2025-01-13 15:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:42:13] Production.INFO: call_cost start
[2025-01-13 15:42:13] Production.INFO: call_cost end
[2025-01-13 15:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:42:14] Production.INFO: ==16637== Releasing lock...
[2025-01-13 15:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:42:27] Production.INFO: count ==5980
[2025-01-13 15:42:29] Production.ERROR: pbx CDR StartTime 2025-01-13 12:42:05 - End Time 2025-01-13 15:42:05
[2025-01-13 15:42:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:42:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239932', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:42:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239932', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:42:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239932', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:42:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239932', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:42:29] Production.INFO: ProcessCDR(1,14239932,1,1,2)
[2025-01-13 15:42:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:42:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:42:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:42:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:42:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239932', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:42:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239932', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:42:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:42:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:42:34] Production.INFO: ==16645== Releasing lock...
[2025-01-13 15:42:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:42:34] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 20:43:01] Production.INFO: ==16703== Lock acquired, processing the job...
[2025-01-13 20:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:43:01] Production.INFO: neon service started
[2025-01-13 20:43:02] Production.INFO: neon service started
[2025-01-13 20:43:02] Production.INFO: ==16703== Releasing lock...
[2025-01-13 20:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:43:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 15:43:02] Production.INFO: ==16705== Lock acquired, processing the job...
[2025-01-13 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:43:02] Production.INFO: ==16705== Releasing lock...
[2025-01-13 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:43:02] Production.INFO: ==16707== Lock acquired, processing the job...
[2025-01-13 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:43:02] Production.INFO: ==16707== Releasing lock...
[2025-01-13 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:43:03] Production.INFO: ==16712== Lock acquired, processing the job...
[2025-01-13 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:43:03] Production.INFO: ==16710== Lock acquired, processing the job...
[2025-01-13 15:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:43:03] Production.INFO: ==16720== Lock acquired, processing the job...
[2025-01-13 15:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 15:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:43:03] Production.INFO: ==16714== Lock acquired, processing the job...
[2025-01-13 15:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:43:03] Production.INFO: count ==21
[2025-01-13 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-13 15:43:04] Production.INFO: count ==21
[2025-01-13 15:43:04] Production.INFO: ==16716== Lock acquired, processing the job...
[2025-01-13 15:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:43:04] Production.INFO: ==16718== Lock acquired, processing the job...
[2025-01-13 15:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239934') start
[2025-01-13 15:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239934') end
[2025-01-13 15:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:43:04] Production.INFO: 1
[2025-01-13 15:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:43:04] Production.INFO: ==16720== Releasing lock...
[2025-01-13 15:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:43:04] Production.INFO: ==16712== Releasing lock...
[2025-01-13 15:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:43:04] Production.INFO: Account Balance Start.
[2025-01-13 15:43:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:43:04] Production.INFO: 117
[2025-01-13 15:43:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:43:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:43:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:43:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:43:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:43:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:43:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:43:04] Production.INFO: Total Charge 0
[2025-01-13 15:43:04] Production.INFO: CreateAllLog End
[2025-01-13 15:43:04] Production.ERROR: done
[2025-01-13 15:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:43:04] Production.ERROR: done
[2025-01-13 15:43:04] Production.INFO: Account Balance End.
[2025-01-13 15:43:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:43:04] Production.INFO: ==16716== Releasing lock...
[2025-01-13 15:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:43:05
[end_date_ymd] => 2025-01-13 15:43:05
[RateCDR] => 1
)
[2025-01-13 15:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:43:05' and `end` < '2025-01-13 15:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:43:14] Production.ERROR: CronJobId end10
[2025-01-13 15:43:14] Production.INFO: ==16714== Releasing lock...
[2025-01-13 15:43:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:43:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:43:15] Production.INFO: call_cost start
[2025-01-13 15:43:15] Production.INFO: call_cost end
[2025-01-13 15:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:43:15] Production.INFO: ==16710== Releasing lock...
[2025-01-13 15:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:43:22] Production.INFO: count ==5969
[2025-01-13 15:43:24] Production.ERROR: pbx CDR StartTime 2025-01-13 12:43:05 - End Time 2025-01-13 15:43:05
[2025-01-13 15:43:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239937', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239937', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239937', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239937', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:43:24] Production.INFO: ProcessCDR(1,14239937,1,1,2)
[2025-01-13 15:43:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:43:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:43:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:43:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:43:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239937', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:43:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239937', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:43:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:43:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:43:29] Production.INFO: ==16718== Releasing lock...
[2025-01-13 15:43:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:43:29] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 20:44:01] Production.INFO: ==16777== Lock acquired, processing the job...
[2025-01-13 20:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:44:01] Production.INFO: neon service started
[2025-01-13 20:44:01] Production.INFO: neon service started
[2025-01-13 20:44:01] Production.INFO: ==16777== Releasing lock...
[2025-01-13 20:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:44:02] Production.INFO: ==16782== Lock acquired, processing the job...
[2025-01-13 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:44:02] Production.INFO: ==16782== Releasing lock...
[2025-01-13 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:44:02] Production.INFO: ==16780== Lock acquired, processing the job...
[2025-01-13 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:44:02] Production.INFO: ==16780== Releasing lock...
[2025-01-13 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:44:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:44:03] Production.INFO: ==16788== Lock acquired, processing the job...
[2025-01-13 15:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:44:03] Production.INFO: ==16784== Lock acquired, processing the job...
[2025-01-13 15:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:44:03] Production.INFO: ==16786== Lock acquired, processing the job...
[2025-01-13 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:44:03] Production.INFO: ==16794== Lock acquired, processing the job...
[2025-01-13 15:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:44:03] Production.INFO: ==16790== Lock acquired, processing the job...
[2025-01-13 15:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:44:03] Production.INFO: ==16792== Lock acquired, processing the job...
[2025-01-13 15:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:44:03] Production.INFO: Account Balance Start.
[2025-01-13 15:44:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:44:03] Production.INFO: 117
[2025-01-13 15:44:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:44:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:44:03] Production.INFO: count ==21
[2025-01-13 15:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:44:03] Production.INFO: count ==21
[2025-01-13 15:44:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:44:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239940') start
[2025-01-13 15:44:03] Production.INFO: ==16786== Releasing lock...
[2025-01-13 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:44:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:44:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:44:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:44:04] Production.INFO: Total Charge 0
[2025-01-13 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239940') end
[2025-01-13 15:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:44:04] Production.INFO: 1
[2025-01-13 15:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:44:04] Production.ERROR: done
[2025-01-13 15:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:44:04] Production.INFO: CreateAllLog End
[2025-01-13 15:44:04] Production.INFO: ==16794== Releasing lock...
[2025-01-13 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:44:04] Production.ERROR: done
[2025-01-13 15:44:04] Production.INFO: Account Balance End.
[2025-01-13 15:44:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:44:04] Production.INFO: ==16790== Releasing lock...
[2025-01-13 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:44:05
[end_date_ymd] => 2025-01-13 15:44:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:44:05' and `end` < '2025-01-13 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-13 15:44:12] Production.ERROR: CronJobId end10
[2025-01-13 15:44:12] Production.INFO: ==16788== Releasing lock...
[2025-01-13 15:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:44:13] Production.INFO: call_cost start
[2025-01-13 15:44:13] Production.INFO: call_cost end
[2025-01-13 15:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:44:14] Production.INFO: ==16784== Releasing lock...
[2025-01-13 15:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:44:19] Production.INFO: count ==5980
[2025-01-13 15:44:21] Production.ERROR: pbx CDR StartTime 2025-01-13 12:44:05 - End Time 2025-01-13 15:44:05
[2025-01-13 15:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239942', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239942', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239942', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239942', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:44:22] Production.INFO: ProcessCDR(1,14239942,1,1,2)
[2025-01-13 15:44:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239942', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239942', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:44:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:44:26] Production.INFO: ==16792== Releasing lock...
[2025-01-13 15:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:44:26] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 20:45:02] Production.INFO: ==16848== Lock acquired, processing the job...
[2025-01-13 20:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:45:02] Production.INFO: neon service started
[2025-01-13 20:45:02] Production.INFO: neon service started
[2025-01-13 20:45:02] Production.INFO: ==16848== Releasing lock...
[2025-01-13 20:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:45:02] Production.INFO: ==16850== Lock acquired, processing the job...
[2025-01-13 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:45:03] Production.INFO: ==16852== Lock acquired, processing the job...
[2025-01-13 20:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:45:03] Production.INFO: ==16852== Releasing lock...
[2025-01-13 20:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:45:03] Production.INFO: ==16850== Releasing lock...
[2025-01-13 15:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:45:03] Production.INFO: ==16859== Lock acquired, processing the job...
[2025-01-13 15:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:45:03] Production.INFO: ==16861== Lock acquired, processing the job...
[2025-01-13 15:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:45:04] Production.INFO: ==16855== Lock acquired, processing the job...
[2025-01-13 15:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:45:04] Production.INFO: Account Balance Start.
[2025-01-13 15:45:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:45:04] Production.INFO: 117
[2025-01-13 15:45:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:45:04] Production.INFO: ==16857== Lock acquired, processing the job...
[2025-01-13 15:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:45:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:45:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:45:04] Production.INFO: ==16863== Lock acquired, processing the job...
[2025-01-13 15:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:45:04] Production.INFO: ==16865== Lock acquired, processing the job...
[2025-01-13 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:45:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:45:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:45:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:45:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:45:04] Production.INFO: Total Charge 0
[2025-01-13 15:45:04] Production.INFO: CreateAllLog End
[2025-01-13 15:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:45:04] Production.INFO: ==16857== Releasing lock...
[2025-01-13 15:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:45:04] Production.INFO: Account Balance End.
[2025-01-13 15:45:04] Production.INFO: count ==21
[2025-01-13 15:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:45:04] Production.INFO: count ==21
[2025-01-13 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239946') start
[2025-01-13 15:45:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:45:04] Production.INFO: ==16861== Releasing lock...
[2025-01-13 15:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239946') end
[2025-01-13 15:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:45:04] Production.INFO: 1
[2025-01-13 15:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:45:04] Production.INFO: ==16865== Releasing lock...
[2025-01-13 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:45:04] Production.ERROR: done
[2025-01-13 15:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:45:05] Production.ERROR: done
[2025-01-13 15:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:45:05
[end_date_ymd] => 2025-01-13 15:45:05
[RateCDR] => 1
)
[2025-01-13 15:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:45:05' and `end` < '2025-01-13 15:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:45:14] Production.ERROR: CronJobId end10
[2025-01-13 15:45:14] Production.INFO: ==16859== Releasing lock...
[2025-01-13 15:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:45:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:45:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:45:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:45:15] Production.INFO: call_cost start
[2025-01-13 15:45:15] Production.INFO: call_cost end
[2025-01-13 15:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:45:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:45:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:45:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:45:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:45:16] Production.INFO: ==16855== Releasing lock...
[2025-01-13 15:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:45:21] Production.INFO: count ==5978
[2025-01-13 15:45:24] Production.ERROR: pbx CDR StartTime 2025-01-13 12:45:05 - End Time 2025-01-13 15:45:05
[2025-01-13 15:45:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239947', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239947', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239947', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239947', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:45:24] Production.INFO: ProcessCDR(1,14239947,1,1,2)
[2025-01-13 15:45:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:45:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:45:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:45:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:45:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239947', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:45:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239947', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:45:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:45:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:45:30] Production.INFO: ==16863== Releasing lock...
[2025-01-13 15:45:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:45:30] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 20:46:01] Production.INFO: ==16917== Lock acquired, processing the job...
[2025-01-13 20:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:46:01] Production.INFO: neon service started
[2025-01-13 20:46:01] Production.INFO: neon service started
[2025-01-13 20:46:01] Production.INFO: ==16917== Releasing lock...
[2025-01-13 20:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:46:02] Production.INFO: ==16919== Lock acquired, processing the job...
[2025-01-13 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:46:02] Production.INFO: ==16921== Lock acquired, processing the job...
[2025-01-13 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:46:02] Production.INFO: ==16921== Releasing lock...
[2025-01-13 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:46:02] Production.INFO: ==16919== Releasing lock...
[2025-01-13 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:46:03] Production.INFO: ==16924== Lock acquired, processing the job...
[2025-01-13 15:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:46:03] Production.INFO: ==16926== Lock acquired, processing the job...
[2025-01-13 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:46:03] Production.INFO: ==16928== Lock acquired, processing the job...
[2025-01-13 15:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:46:03] Production.INFO: ==16932== Lock acquired, processing the job...
[2025-01-13 15:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:46:04] Production.INFO: ==16934== Lock acquired, processing the job...
[2025-01-13 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:46:04] Production.INFO: ==16930== Lock acquired, processing the job...
[2025-01-13 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:46:04] Production.INFO: ==16926== Releasing lock...
[2025-01-13 15:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:46:04] Production.INFO: Account Balance Start.
[2025-01-13 15:46:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:46:04] Production.INFO: 117
[2025-01-13 15:46:04] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:46:04] Production.INFO: count ==21
[2025-01-13 15:46:04] Production.ERROR: done
[2025-01-13 15:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 15:46:04] Production.INFO: count ==21
[2025-01-13 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239950') start
[2025-01-13 15:46:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:46:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:46:04] Production.ERROR: done
[2025-01-13 15:46:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239950') end
[2025-01-13 15:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:46:04] Production.INFO: 1
[2025-01-13 15:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:46:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:46:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:46:04] Production.INFO: Total Charge 0
[2025-01-13 15:46:04] Production.INFO: ==16934== Releasing lock...
[2025-01-13 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:46:04] Production.INFO: CreateAllLog End
[2025-01-13 15:46:04] Production.INFO: Account Balance End.
[2025-01-13 15:46:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:46:04] Production.INFO: ==16930== Releasing lock...
[2025-01-13 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:46:05
[end_date_ymd] => 2025-01-13 15:46:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:46:05' and `end` < '2025-01-13 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-13 15:46:12] Production.ERROR: CronJobId end10
[2025-01-13 15:46:12] Production.INFO: ==16928== Releasing lock...
[2025-01-13 15:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:46:13] Production.INFO: call_cost start
[2025-01-13 15:46:13] Production.INFO: call_cost end
[2025-01-13 15:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:46:14] Production.INFO: ==16924== Releasing lock...
[2025-01-13 15:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:46:19] Production.INFO: count ==5976
[2025-01-13 15:46:21] Production.ERROR: pbx CDR StartTime 2025-01-13 12:46:05 - End Time 2025-01-13 15:46:05
[2025-01-13 15:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239952', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239952', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239952', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239952', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:46:21] Production.INFO: ProcessCDR(1,14239952,1,1,2)
[2025-01-13 15:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:46:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239952', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239952', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:46:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:46:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:46:26] Production.INFO: ==16932== Releasing lock...
[2025-01-13 15:46:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:46:26] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 20:47:02] Production.INFO: ==16989== Lock acquired, processing the job...
[2025-01-13 20:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:47:02] Production.INFO: neon service started
[2025-01-13 20:47:02] Production.INFO: neon service started
[2025-01-13 20:47:02] Production.INFO: ==16989== Releasing lock...
[2025-01-13 20:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:47:02] Production.INFO: ==16991== Lock acquired, processing the job...
[2025-01-13 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:47:02] Production.INFO: ==16991== Releasing lock...
[2025-01-13 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:47:03] Production.INFO: ==16993== Lock acquired, processing the job...
[2025-01-13 20:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:47:03] Production.INFO: ==16993== Releasing lock...
[2025-01-13 20:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:47:03] Production.INFO: ==17004== Lock acquired, processing the job...
[2025-01-13 15:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:47:04] Production.INFO: ==17006== Lock acquired, processing the job...
[2025-01-13 15:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:47:04] Production.INFO: ==16996== Lock acquired, processing the job...
[2025-01-13 15:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:47:04] Production.INFO: ==16998== Lock acquired, processing the job...
[2025-01-13 15:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:47:04] Production.INFO: ==17000== Lock acquired, processing the job...
[2025-01-13 15:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:47:04] Production.INFO: ==17002== Lock acquired, processing the job...
[2025-01-13 15:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:47:04] Production.INFO: count ==21
[2025-01-13 15:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:47:04] Production.INFO: count ==21
[2025-01-13 15:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239953') start
[2025-01-13 15:47:04] Production.INFO: Account Balance Start.
[2025-01-13 15:47:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:47:04] Production.INFO: 117
[2025-01-13 15:47:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:47:04] Production.ERROR: done
[2025-01-13 15:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:47:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:47:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239953') end
[2025-01-13 15:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:47:04] Production.INFO: 1
[2025-01-13 15:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:47:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:47:04] Production.INFO: ==16998== Releasing lock...
[2025-01-13 15:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:47:04] Production.INFO: ==17006== Releasing lock...
[2025-01-13 15:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:47:04] Production.ERROR: done
[2025-01-13 15:47:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:47:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:47:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:47:04] Production.INFO: Total Charge 0
[2025-01-13 15:47:04] Production.INFO: CreateAllLog End
[2025-01-13 15:47:04] Production.INFO: Account Balance End.
[2025-01-13 15:47:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:47:04] Production.INFO: ==17002== Releasing lock...
[2025-01-13 15:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:47:05
[end_date_ymd] => 2025-01-13 15:47:05
[RateCDR] => 1
)
[2025-01-13 15:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:47:05' and `end` < '2025-01-13 15:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:47:12] Production.ERROR: CronJobId end10
[2025-01-13 15:47:12] Production.INFO: ==17000== Releasing lock...
[2025-01-13 15:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:47:14] Production.INFO: call_cost start
[2025-01-13 15:47:14] Production.INFO: call_cost end
[2025-01-13 15:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:47:14] Production.INFO: ==16996== Releasing lock...
[2025-01-13 15:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:47:23] Production.INFO: count ==5960
[2025-01-13 15:47:26] Production.ERROR: pbx CDR StartTime 2025-01-13 12:47:05 - End Time 2025-01-13 15:47:05
[2025-01-13 15:47:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:47:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239957', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:47:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239957', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:47:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239957', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:47:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239957', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:47:26] Production.INFO: ProcessCDR(1,14239957,1,1,2)
[2025-01-13 15:47:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:47:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:47:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:47:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:47:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239957', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:47:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239957', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:47:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:47:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:47:31] Production.INFO: ==17004== Releasing lock...
[2025-01-13 15:47:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:47:31] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 20:48:01] Production.INFO: ==17099== Lock acquired, processing the job...
[2025-01-13 20:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:48:01] Production.INFO: neon service started
[2025-01-13 20:48:01] Production.INFO: neon service started
[2025-01-13 20:48:01] Production.INFO: ==17099== Releasing lock...
[2025-01-13 20:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:48:02] Production.INFO: ==17101== Lock acquired, processing the job...
[2025-01-13 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:48:02] Production.INFO: ==17103== Lock acquired, processing the job...
[2025-01-13 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:48:02] Production.INFO: ==17103== Releasing lock...
[2025-01-13 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:48:02] Production.INFO: ==17101== Releasing lock...
[2025-01-13 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:48:03] Production.INFO: ==17110== Lock acquired, processing the job...
[2025-01-13 15:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:48:03] Production.INFO: ==17114== Lock acquired, processing the job...
[2025-01-13 15:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:48:03] Production.INFO: ==17106== Lock acquired, processing the job...
[2025-01-13 15:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:48:03] Production.INFO: ==17108== Lock acquired, processing the job...
[2025-01-13 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:48:03] Production.INFO: ==17112== Lock acquired, processing the job...
[2025-01-13 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:48:04] Production.INFO: ==17116== Lock acquired, processing the job...
[2025-01-13 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:48:04] Production.INFO: Account Balance Start.
[2025-01-13 15:48:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:48:04] Production.INFO: 117
[2025-01-13 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-13 15:48:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:48:04] Production.ERROR: done
[2025-01-13 15:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:48:04] Production.INFO: count ==21
[2025-01-13 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-13 15:48:04] Production.INFO: count ==21
[2025-01-13 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239961') start
[2025-01-13 15:48:04] Production.INFO: ==17108== Releasing lock...
[2025-01-13 15:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:48:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:48:04] Production.ERROR: done
[2025-01-13 15:48:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:48:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:48:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239961') end
[2025-01-13 15:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:48:04] Production.INFO: 1
[2025-01-13 15:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:48:04] Production.INFO: ==17116== Releasing lock...
[2025-01-13 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:48:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:48:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:48:04] Production.INFO: Total Charge 0
[2025-01-13 15:48:04] Production.INFO: CreateAllLog End
[2025-01-13 15:48:04] Production.INFO: Account Balance End.
[2025-01-13 15:48:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:48:04] Production.INFO: ==17112== Releasing lock...
[2025-01-13 15:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:48:05
[end_date_ymd] => 2025-01-13 15:48:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:48:05' and `end` < '2025-01-13 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-13 15:48:11] Production.ERROR: CronJobId end10
[2025-01-13 15:48:11] Production.INFO: ==17110== Releasing lock...
[2025-01-13 15:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:48:13] Production.INFO: call_cost start
[2025-01-13 15:48:13] Production.INFO: call_cost end
[2025-01-13 15:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:48:14] Production.INFO: ==17106== Releasing lock...
[2025-01-13 15:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:48:24] Production.INFO: count ==5932
[2025-01-13 15:48:27] Production.ERROR: pbx CDR StartTime 2025-01-13 12:48:05 - End Time 2025-01-13 15:48:05
[2025-01-13 15:48:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239962', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239962', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239962', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:48:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239962', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:48:27] Production.INFO: ProcessCDR(1,14239962,1,1,2)
[2025-01-13 15:48:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:48:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:48:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:48:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239962', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239962', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:48:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:48:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:48:30] Production.INFO: ==17114== Releasing lock...
[2025-01-13 15:48:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:48:30] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 20:49:02] Production.INFO: ==17170== Lock acquired, processing the job...
[2025-01-13 20:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:49:02] Production.INFO: neon service started
[2025-01-13 20:49:02] Production.INFO: neon service started
[2025-01-13 20:49:02] Production.INFO: ==17170== Releasing lock...
[2025-01-13 20:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:49:02] Production.INFO: ==17172== Lock acquired, processing the job...
[2025-01-13 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:49:02] Production.INFO: ==17174== Lock acquired, processing the job...
[2025-01-13 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:49:02] Production.INFO: ==17174== Releasing lock...
[2025-01-13 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:49:03] Production.INFO: ==17172== Releasing lock...
[2025-01-13 15:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:49:03] Production.INFO: ==17177== Lock acquired, processing the job...
[2025-01-13 15:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:49:03] Production.INFO: ==17179== Lock acquired, processing the job...
[2025-01-13 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:49:04] Production.INFO: ==17185== Lock acquired, processing the job...
[2025-01-13 15:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:49:04] Production.INFO: ==17181== Lock acquired, processing the job...
[2025-01-13 15:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:49:04] Production.INFO: ==17183== Lock acquired, processing the job...
[2025-01-13 15:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:49:04] Production.INFO: ==17179== Releasing lock...
[2025-01-13 15:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:49:04] Production.INFO: ==17187== Lock acquired, processing the job...
[2025-01-13 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:49:04] Production.INFO: Account Balance Start.
[2025-01-13 15:49:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:49:04] Production.INFO: 117
[2025-01-13 15:49:04] Production.ERROR: done
[2025-01-13 15:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:49:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:49:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:49:04] Production.INFO: count ==21
[2025-01-13 15:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:49:04] Production.INFO: count ==21
[2025-01-13 15:49:04] Production.ERROR: done
[2025-01-13 15:49:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239966') start
[2025-01-13 15:49:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:49:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:49:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239966') end
[2025-01-13 15:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:49:04] Production.INFO: 1
[2025-01-13 15:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:49:04] Production.INFO: Total Charge 0
[2025-01-13 15:49:04] Production.INFO: CreateAllLog End
[2025-01-13 15:49:04] Production.INFO: ==17187== Releasing lock...
[2025-01-13 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:49:04] Production.INFO: Account Balance End.
[2025-01-13 15:49:05] Production.ERROR: CronJobId end 12
[2025-01-13 15:49:05] Production.INFO: ==17183== Releasing lock...
[2025-01-13 15:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:49:05
[end_date_ymd] => 2025-01-13 15:49:05
[RateCDR] => 1
)
[2025-01-13 15:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:49:05' and `end` < '2025-01-13 15:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:49:12] Production.ERROR: CronJobId end10
[2025-01-13 15:49:12] Production.INFO: ==17181== Releasing lock...
[2025-01-13 15:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:49:14] Production.INFO: call_cost start
[2025-01-13 15:49:14] Production.INFO: call_cost end
[2025-01-13 15:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:49:14] Production.INFO: ==17177== Releasing lock...
[2025-01-13 15:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:49:35] Production.INFO: count ==5897
[2025-01-13 15:49:38] Production.ERROR: pbx CDR StartTime 2025-01-13 12:49:05 - End Time 2025-01-13 15:49:05
[2025-01-13 15:49:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:49:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239967', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:49:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239967', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:49:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239967', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:49:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239967', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:49:38] Production.INFO: ProcessCDR(1,14239967,1,1,2)
[2025-01-13 15:49:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:49:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:49:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:49:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:49:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239967', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:49:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239967', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:49:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:49:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:49:43] Production.INFO: ==17185== Releasing lock...
[2025-01-13 15:49:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:49:43] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 20:50:01] Production.INFO: ==17242== Lock acquired, processing the job...
[2025-01-13 20:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:50:01] Production.INFO: neon service started
[2025-01-13 20:50:01] Production.INFO: neon service started
[2025-01-13 20:50:01] Production.INFO: ==17242== Releasing lock...
[2025-01-13 20:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:50:02] Production.INFO: ==17246== Lock acquired, processing the job...
[2025-01-13 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:50:02] Production.INFO: ==17246== Releasing lock...
[2025-01-13 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:50:02] Production.INFO: ==17244== Lock acquired, processing the job...
[2025-01-13 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:50:02] Production.INFO: ==17244== Releasing lock...
[2025-01-13 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:50:03] Production.INFO: ==17249== Lock acquired, processing the job...
[2025-01-13 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 15:50:03] Production.INFO: ==17251== Lock acquired, processing the job...
[2025-01-13 15:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 15:50:03] Production.INFO: ==17253== Lock acquired, processing the job...
[2025-01-13 15:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 15:50:03] Production.INFO: ==17249== Releasing lock...
[2025-01-13 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 15:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 15:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:50:03] Production.INFO: ==17257== Lock acquired, processing the job...
[2025-01-13 15:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:50:03] Production.INFO: ==17255== Lock acquired, processing the job...
[2025-01-13 15:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:50:03] Production.INFO: Account Balance Start.
[2025-01-13 15:50:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:50:03] Production.INFO: 117
[2025-01-13 15:50:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:50:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:50:03] Production.INFO: ==17259== Lock acquired, processing the job...
[2025-01-13 15:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:50:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:50:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:50:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:50:04] Production.INFO: ==17261== Lock acquired, processing the job...
[2025-01-13 15:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:50:04] Production.INFO: ==17253== Releasing lock...
[2025-01-13 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:50:04] Production.INFO: ==17263== Lock acquired, processing the job...
[2025-01-13 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:50:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:50:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:50:04] Production.INFO: Total Charge 0
[2025-01-13 15:50:04] Production.INFO: CreateAllLog End
[2025-01-13 15:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:50:04] Production.INFO: count ==21
[2025-01-13 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-13 15:50:04] Production.ERROR: done
[2025-01-13 15:50:04] Production.INFO: count ==21
[2025-01-13 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239971') start
[2025-01-13 15:50:04] Production.ERROR: done
[2025-01-13 15:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 15:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239972', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 15:50:04] Production.INFO: Account Balance End.
[2025-01-13 15:50:04] Production.ERROR: done
[2025-01-13 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239971') end
[2025-01-13 15:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:50:04] Production.INFO: 1
[2025-01-13 15:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:50:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:50:04] Production.INFO: ==17257== Releasing lock...
[2025-01-13 15:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:50:04] Production.INFO: ==17263== Releasing lock...
[2025-01-13 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:50:05
[end_date_ymd] => 2025-01-13 15:50:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:50:05' and `end` < '2025-01-13 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-13 15:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14239972', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 15:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 15:50:09] Production.INFO: ProcessCDR(1,14239972,1,1,2)
[2025-01-13 15:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14239972,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14239972,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:50:09] Production.INFO: ==17261== Releasing lock...
[2025-01-13 15:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 15:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 15:50:13] Production.ERROR: CronJobId end10
[2025-01-13 15:50:13] Production.INFO: ==17255== Releasing lock...
[2025-01-13 15:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:50:14] Production.INFO: call_cost start
[2025-01-13 15:50:14] Production.INFO: call_cost end
[2025-01-13 15:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:50:15] Production.INFO: ==17251== Releasing lock...
[2025-01-13 15:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:50:26] Production.INFO: count ==5897
[2025-01-13 15:50:28] Production.ERROR: pbx CDR StartTime 2025-01-13 12:50:05 - End Time 2025-01-13 15:50:05
[2025-01-13 15:50:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239973', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239973', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239973', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239973', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:50:29] Production.INFO: ProcessCDR(1,14239973,1,1,2)
[2025-01-13 15:50:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:50:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:50:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:50:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:50:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239973', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:50:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239973', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:50:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:50:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:50:33] Production.INFO: ==17259== Releasing lock...
[2025-01-13 15:50:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:50:33] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 20:51:02] Production.INFO: ==17320== Lock acquired, processing the job...
[2025-01-13 20:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:51:02] Production.INFO: neon service started
[2025-01-13 20:51:02] Production.INFO: neon service started
[2025-01-13 20:51:02] Production.INFO: ==17320== Releasing lock...
[2025-01-13 20:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:51:02] Production.INFO: ==17322== Lock acquired, processing the job...
[2025-01-13 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:51:02] Production.INFO: ==17322== Releasing lock...
[2025-01-13 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:51:02] Production.INFO: ==17324== Lock acquired, processing the job...
[2025-01-13 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:51:03] Production.INFO: ==17324== Releasing lock...
[2025-01-13 20:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:51:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:51:03] Production.INFO: ==17326== Lock acquired, processing the job...
[2025-01-13 15:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:51:03] Production.INFO: ==17328== Lock acquired, processing the job...
[2025-01-13 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:51:03] Production.INFO: ==17330== Lock acquired, processing the job...
[2025-01-13 15:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:51:03] Production.INFO: ==17328== Releasing lock...
[2025-01-13 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:51:03] Production.INFO: ==17334== Lock acquired, processing the job...
[2025-01-13 15:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:51:03] Production.INFO: ==17332== Lock acquired, processing the job...
[2025-01-13 15:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:51:03] Production.INFO: ==17336== Lock acquired, processing the job...
[2025-01-13 15:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 15:51:04] Production.INFO: Account Balance Start.
[2025-01-13 15:51:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:51:04] Production.INFO: 117
[2025-01-13 15:51:04] Production.INFO: count ==21
[2025-01-13 15:51:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:51:04] Production.ERROR: done
[2025-01-13 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-13 15:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:51:04] Production.INFO: count ==21
[2025-01-13 15:51:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239977') start
[2025-01-13 15:51:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239977') end
[2025-01-13 15:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:51:04] Production.INFO: 1
[2025-01-13 15:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:51:04] Production.ERROR: done
[2025-01-13 15:51:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:51:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:51:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:51:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:51:04] Production.INFO: ==17336== Releasing lock...
[2025-01-13 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:51:04] Production.INFO: Total Charge 0
[2025-01-13 15:51:04] Production.INFO: CreateAllLog End
[2025-01-13 15:51:04] Production.INFO: Account Balance End.
[2025-01-13 15:51:05] Production.ERROR: CronJobId end 12
[2025-01-13 15:51:05] Production.INFO: ==17332== Releasing lock...
[2025-01-13 15:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:51:05
[end_date_ymd] => 2025-01-13 15:51:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:51:05' and `end` < '2025-01-13 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-13 15:51:11] Production.ERROR: CronJobId end10
[2025-01-13 15:51:11] Production.INFO: ==17330== Releasing lock...
[2025-01-13 15:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:51:13] Production.INFO: call_cost start
[2025-01-13 15:51:13] Production.INFO: call_cost end
[2025-01-13 15:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:51:14] Production.INFO: ==17326== Releasing lock...
[2025-01-13 15:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:51:23] Production.INFO: count ==5887
[2025-01-13 15:51:26] Production.ERROR: pbx CDR StartTime 2025-01-13 12:51:05 - End Time 2025-01-13 15:51:05
[2025-01-13 15:51:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:51:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239978', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:51:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239978', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:51:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239978', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:51:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239978', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:51:26] Production.INFO: ProcessCDR(1,14239978,1,1,2)
[2025-01-13 15:51:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:51:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:51:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:51:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:51:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239978', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:51:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239978', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:51:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:51:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:51:30] Production.INFO: ==17334== Releasing lock...
[2025-01-13 15:51:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:51:30] Production.INFO: 72 MB #Memory Used#
[2025-01-13 20:52:01] Production.INFO: ==17390== Lock acquired, processing the job...
[2025-01-13 20:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:52:01] Production.INFO: neon service started
[2025-01-13 20:52:01] Production.INFO: neon service started
[2025-01-13 20:52:01] Production.INFO: ==17390== Releasing lock...
[2025-01-13 20:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:52:01] Production.INFO: ==17394== Lock acquired, processing the job...
[2025-01-13 20:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:52:01] Production.INFO: ==17394== Releasing lock...
[2025-01-13 20:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:52:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:52:02] Production.INFO: ==17392== Lock acquired, processing the job...
[2025-01-13 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:52:02] Production.INFO: ==17392== Releasing lock...
[2025-01-13 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:52:03] Production.INFO: ==17403== Lock acquired, processing the job...
[2025-01-13 15:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:52:03] Production.INFO: ==17406== Lock acquired, processing the job...
[2025-01-13 15:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:52:03] Production.INFO: Account Balance Start.
[2025-01-13 15:52:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:52:03] Production.INFO: ==17397== Lock acquired, processing the job...
[2025-01-13 15:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:52:03] Production.INFO: 117
[2025-01-13 15:52:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:52:03] Production.INFO: ==17399== Lock acquired, processing the job...
[2025-01-13 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:52:03] Production.INFO: ==17401== Lock acquired, processing the job...
[2025-01-13 15:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:52:03] Production.INFO: ==17408== Lock acquired, processing the job...
[2025-01-13 15:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:52:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:52:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:52:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:52:03] Production.ERROR: done
[2025-01-13 15:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 15:52:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:52:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:52:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:52:03] Production.INFO: count ==21
[2025-01-13 15:52:03] Production.ERROR: done
[2025-01-13 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-13 15:52:03] Production.INFO: count ==21
[2025-01-13 15:52:03] Production.INFO: Total Charge 0
[2025-01-13 15:52:03] Production.INFO: ==17399== Releasing lock...
[2025-01-13 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239982') start
[2025-01-13 15:52:03] Production.INFO: CreateAllLog End
[2025-01-13 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239982') end
[2025-01-13 15:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:52:04] Production.INFO: 1
[2025-01-13 15:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:52:04] Production.INFO: Account Balance End.
[2025-01-13 15:52:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:52:04] Production.INFO: ==17403== Releasing lock...
[2025-01-13 15:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:52:04] Production.INFO: ==17408== Releasing lock...
[2025-01-13 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:52:04
[end_date_ymd] => 2025-01-13 15:52:04
[RateCDR] => 1
)
[2025-01-13 15: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-13 12:52:04' and `end` < '2025-01-13 15: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-13 15:52:11] Production.ERROR: CronJobId end10
[2025-01-13 15:52:11] Production.INFO: ==17401== Releasing lock...
[2025-01-13 15:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:52:12] Production.INFO: call_cost start
[2025-01-13 15:52:12] Production.INFO: call_cost end
[2025-01-13 15:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:52:13] Production.INFO: ==17397== Releasing lock...
[2025-01-13 15:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:52:18] Production.INFO: count ==5904
[2025-01-13 15:52:21] Production.ERROR: pbx CDR StartTime 2025-01-13 12:52:04 - End Time 2025-01-13 15:52:04
[2025-01-13 15:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239983', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239983', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239983', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239983', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:52:21] Production.INFO: ProcessCDR(1,14239983,1,1,2)
[2025-01-13 15:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239983', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239983', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:52:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:52:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:52:26] Production.INFO: ==17406== Releasing lock...
[2025-01-13 15:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:52:26] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 20:53:01] Production.INFO: ==17460== Lock acquired, processing the job...
[2025-01-13 20:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:53:01] Production.INFO: neon service started
[2025-01-13 20:53:01] Production.INFO: neon service started
[2025-01-13 20:53:01] Production.INFO: ==17460== Releasing lock...
[2025-01-13 20:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:53:02] Production.INFO: ==17462== Lock acquired, processing the job...
[2025-01-13 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:53:02] Production.INFO: ==17462== Releasing lock...
[2025-01-13 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:53:02] Production.INFO: ==17464== Lock acquired, processing the job...
[2025-01-13 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:53:02] Production.INFO: ==17464== Releasing lock...
[2025-01-13 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:53:03] Production.INFO: ==17473== Lock acquired, processing the job...
[2025-01-13 15:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:53:03] Production.INFO: Account Balance Start.
[2025-01-13 15:53:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:53:03] Production.INFO: ==17467== Lock acquired, processing the job...
[2025-01-13 15:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:53:03] Production.INFO: ==17477== Lock acquired, processing the job...
[2025-01-13 15:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:53:03] Production.INFO: 117
[2025-01-13 15:53:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:53:03] Production.INFO: ==17471== Lock acquired, processing the job...
[2025-01-13 15:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:53:03] Production.INFO: ==17469== Lock acquired, processing the job...
[2025-01-13 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:53:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:53:03] Production.INFO: ==17475== Lock acquired, processing the job...
[2025-01-13 15:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:53:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:53:03] Production.INFO: count ==21
[2025-01-13 15:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:53:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:53:03] Production.INFO: count ==21
[2025-01-13 15:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239985') start
[2025-01-13 15:53:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:53:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14239985') end
[2025-01-13 15:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:53:04] Production.INFO: 1
[2025-01-13 15:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:53:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:53:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:53:04] Production.INFO: ==17477== Releasing lock...
[2025-01-13 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:53:04] Production.INFO: Total Charge 0
[2025-01-13 15:53:04] Production.INFO: CreateAllLog End
[2025-01-13 15:53:04] Production.ERROR: done
[2025-01-13 15:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:53:04] Production.INFO: ==17469== Releasing lock...
[2025-01-13 15:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:53:04] Production.INFO: Account Balance End.
[2025-01-13 15:53:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:53:04] Production.INFO: ==17473== Releasing lock...
[2025-01-13 15:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:53:04] Production.ERROR: done
[2025-01-13 15:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:53:05
[end_date_ymd] => 2025-01-13 15:53:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:53:05' and `end` < '2025-01-13 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-13 15:53:12] Production.ERROR: CronJobId end10
[2025-01-13 15:53:12] Production.INFO: ==17471== Releasing lock...
[2025-01-13 15:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:53:14] Production.INFO: call_cost start
[2025-01-13 15:53:14] Production.INFO: call_cost end
[2025-01-13 15:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:53:14] Production.INFO: ==17467== Releasing lock...
[2025-01-13 15:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:53:20] Production.INFO: count ==5912
[2025-01-13 15:53:23] Production.ERROR: pbx CDR StartTime 2025-01-13 12:53:05 - End Time 2025-01-13 15:53:05
[2025-01-13 15:53:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239988', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239988', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239988', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239988', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:53:23] Production.INFO: ProcessCDR(1,14239988,1,1,2)
[2025-01-13 15:53:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:53:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:53:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:53:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239988', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:53:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239988', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:53:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:53:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:53:28] Production.INFO: ==17475== Releasing lock...
[2025-01-13 15:53:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:53:28] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 20:54:01] Production.INFO: ==17530== Lock acquired, processing the job...
[2025-01-13 20:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:54:01] Production.INFO: neon service started
[2025-01-13 20:54:01] Production.INFO: neon service started
[2025-01-13 20:54:01] Production.INFO: ==17530== Releasing lock...
[2025-01-13 20:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:54:01] Production.INFO: ==17532== Lock acquired, processing the job...
[2025-01-13 15:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:54:02] Production.INFO: ==17532== Releasing lock...
[2025-01-13 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:54:02] Production.INFO: ==17534== Lock acquired, processing the job...
[2025-01-13 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:54:02] Production.INFO: ==17534== Releasing lock...
[2025-01-13 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:54:02] Production.INFO: ==17540== Lock acquired, processing the job...
[2025-01-13 15:54:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:54:03] Production.INFO: ==17536== Lock acquired, processing the job...
[2025-01-13 15:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:54:03] Production.INFO: ==17547== Lock acquired, processing the job...
[2025-01-13 15:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:54:03] Production.INFO: ==17538== Lock acquired, processing the job...
[2025-01-13 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:54:03] Production.INFO: ==17542== Lock acquired, processing the job...
[2025-01-13 15:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:54:03] Production.INFO: ==17545== Lock acquired, processing the job...
[2025-01-13 15:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 15:54:03] Production.INFO: count ==21
[2025-01-13 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-13 15:54:03] Production.INFO: Account Balance Start.
[2025-01-13 15:54:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:54:03] Production.INFO: 117
[2025-01-13 15:54:03] Production.INFO: count ==21
[2025-01-13 15:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239990') start
[2025-01-13 15:54:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:54:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239990') end
[2025-01-13 15:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:54:03] Production.INFO: 1
[2025-01-13 15:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:54:03] Production.INFO: ==17547== Releasing lock...
[2025-01-13 15:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:54:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:54:03] Production.INFO: ==17538== Releasing lock...
[2025-01-13 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:54:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:54:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:54:03] Production.ERROR: done
[2025-01-13 15:54:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:54:03] Production.INFO: Total Charge 0
[2025-01-13 15:54:03] Production.ERROR: done
[2025-01-13 15:54:03] Production.INFO: CreateAllLog End
[2025-01-13 15:54:04] Production.INFO: Account Balance End.
[2025-01-13 15:54:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:54:04] Production.INFO: ==17542== Releasing lock...
[2025-01-13 15:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:54:04
[end_date_ymd] => 2025-01-13 15:54:04
[RateCDR] => 1
)
[2025-01-13 15: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-13 12:54:04' and `end` < '2025-01-13 15: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-13 15:54:11] Production.ERROR: CronJobId end10
[2025-01-13 15:54:11] Production.INFO: ==17540== Releasing lock...
[2025-01-13 15:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:54:12] Production.INFO: call_cost start
[2025-01-13 15:54:12] Production.INFO: call_cost end
[2025-01-13 15:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:54:13] Production.INFO: ==17536== Releasing lock...
[2025-01-13 15:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:54:21] Production.INFO: count ==5907
[2025-01-13 15:54:24] Production.ERROR: pbx CDR StartTime 2025-01-13 12:54:04 - End Time 2025-01-13 15:54:04
[2025-01-13 15:54:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239993', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239993', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239993', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:54:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239993', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:54:24] Production.INFO: ProcessCDR(1,14239993,1,1,2)
[2025-01-13 15:54:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:54:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:54:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:54:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:54:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239993', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:54:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239993', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:54:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:54:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:54:29] Production.INFO: ==17545== Releasing lock...
[2025-01-13 15:54:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:54:29] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 20:55:01] Production.INFO: ==17601== Lock acquired, processing the job...
[2025-01-13 20:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:55:01] Production.INFO: neon service started
[2025-01-13 20:55:01] Production.INFO: neon service started
[2025-01-13 20:55:01] Production.INFO: ==17601== Releasing lock...
[2025-01-13 20:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:55:02] Production.INFO: ==17603== Lock acquired, processing the job...
[2025-01-13 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:55:02] Production.INFO: ==17603== Releasing lock...
[2025-01-13 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:55:02] Production.INFO: ==17605== Lock acquired, processing the job...
[2025-01-13 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:55:02] Production.INFO: ==17605== Releasing lock...
[2025-01-13 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:55:03] Production.INFO: ==17612== Lock acquired, processing the job...
[2025-01-13 15:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:55:03] Production.INFO: ==17618== Lock acquired, processing the job...
[2025-01-13 15:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:55:03] Production.INFO: ==17608== Lock acquired, processing the job...
[2025-01-13 15:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 15:55:03] Production.INFO: ==17610== Lock acquired, processing the job...
[2025-01-13 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:55:03] Production.INFO: count ==21
[2025-01-13 15:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:55:03] Production.INFO: ==17616== Lock acquired, processing the job...
[2025-01-13 15:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 15:55:03] Production.INFO: count ==21
[2025-01-13 15:55:03] Production.INFO: ==17614== Lock acquired, processing the job...
[2025-01-13 15:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239994') start
[2025-01-13 15:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14239994') end
[2025-01-13 15:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:55:03] Production.INFO: 1
[2025-01-13 15:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:55:03] Production.INFO: Account Balance Start.
[2025-01-13 15:55:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:55:03] Production.INFO: 117
[2025-01-13 15:55:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:55:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:55:03] Production.INFO: ==17618== Releasing lock...
[2025-01-13 15:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:55:03] Production.INFO: ==17610== Releasing lock...
[2025-01-13 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:55:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:55:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:55:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:55:04] Production.ERROR: done
[2025-01-13 15:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:55:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:55:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:55:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:55:04] Production.INFO: Total Charge 0
[2025-01-13 15:55:04] Production.INFO: CreateAllLog End
[2025-01-13 15:55:04] Production.ERROR: done
[2025-01-13 15:55:04] Production.INFO: Account Balance End.
[2025-01-13 15:55:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:55:04] Production.INFO: ==17614== Releasing lock...
[2025-01-13 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:55:05
[end_date_ymd] => 2025-01-13 15:55:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:55:05' and `end` < '2025-01-13 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-13 15:55:11] Production.ERROR: CronJobId end10
[2025-01-13 15:55:11] Production.INFO: ==17612== Releasing lock...
[2025-01-13 15:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:55:13] Production.INFO: call_cost start
[2025-01-13 15:55:13] Production.INFO: call_cost end
[2025-01-13 15:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:55:14] Production.INFO: ==17608== Releasing lock...
[2025-01-13 15:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:55:18] Production.INFO: count ==5898
[2025-01-13 15:55:21] Production.ERROR: pbx CDR StartTime 2025-01-13 12:55:05 - End Time 2025-01-13 15:55:05
[2025-01-13 15:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239998', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14239998', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239998', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14239998', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:55:21] Production.INFO: ProcessCDR(1,14239998,1,1,2)
[2025-01-13 15:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14239998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:55:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14239998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:55:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14239998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:55:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14239998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239998', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14239998', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:55:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:55:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:55:25] Production.INFO: ==17616== Releasing lock...
[2025-01-13 15:55:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:55:25] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 20:56:02] Production.INFO: ==17674== Lock acquired, processing the job...
[2025-01-13 20:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:56:02] Production.INFO: neon service started
[2025-01-13 20:56:02] Production.INFO: neon service started
[2025-01-13 20:56:02] Production.INFO: ==17674== Releasing lock...
[2025-01-13 20:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:56:03] Production.INFO: ==17679== Lock acquired, processing the job...
[2025-01-13 20:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 15:56:03] Production.INFO: ==17677== Lock acquired, processing the job...
[2025-01-13 15:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 20:56:03] Production.INFO: ==17679== Releasing lock...
[2025-01-13 20:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:56:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:56:03] Production.INFO: ==17677== Releasing lock...
[2025-01-13 15:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:56:04] Production.INFO: ==17685== Lock acquired, processing the job...
[2025-01-13 15:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:56:04] Production.INFO: ==17683== Lock acquired, processing the job...
[2025-01-13 15:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:56:04] Production.INFO: ==17691== Lock acquired, processing the job...
[2025-01-13 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:56:04] Production.INFO: ==17687== Lock acquired, processing the job...
[2025-01-13 15:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:56:04] Production.INFO: ==17681== Lock acquired, processing the job...
[2025-01-13 15:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:56:04] Production.INFO: Account Balance Start.
[2025-01-13 15:56:04] Production.INFO: CreateAllLog Start
[2025-01-13 15:56:04] Production.INFO: count ==21
[2025-01-13 15:56:04] Production.INFO: 117
[2025-01-13 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-13 15:56:04] Production.INFO: count ==21
[2025-01-13 15:56:04] Production.INFO: Date 2025-01-08
[2025-01-13 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240000') start
[2025-01-13 15:56:04] Production.INFO: ==17689== Lock acquired, processing the job...
[2025-01-13 15:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:56:04] Production.INFO: ==17683== Releasing lock...
[2025-01-13 15:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:56:04] Production.INFO: Date 2025-01-09
[2025-01-13 15:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:56:04] Production.INFO: Date 2025-01-10
[2025-01-13 15:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:56:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240000') end
[2025-01-13 15:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:56:04] Production.INFO: 1
[2025-01-13 15:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:56:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:56:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:56:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:56:04] Production.INFO: ==17691== Releasing lock...
[2025-01-13 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:56:05] Production.ERROR: done
[2025-01-13 15:56:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:56:05] Production.INFO: Total Charge 0
[2025-01-13 15:56:05] Production.INFO: CreateAllLog End
[2025-01-13 15:56:05] Production.ERROR: done
[2025-01-13 15:56:05] Production.INFO: Account Balance End.
[2025-01-13 15:56:05] Production.ERROR: CronJobId end 12
[2025-01-13 15:56:05] Production.INFO: ==17687== Releasing lock...
[2025-01-13 15:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:56:06
[end_date_ymd] => 2025-01-13 15:56:06
[RateCDR] => 1
)
[2025-01-13 15:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 12:56:06' and `end` < '2025-01-13 15:56:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 15:56:12] Production.ERROR: CronJobId end10
[2025-01-13 15:56:12] Production.INFO: ==17685== Releasing lock...
[2025-01-13 15:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:56:14] Production.INFO: call_cost start
[2025-01-13 15:56:14] Production.INFO: call_cost end
[2025-01-13 15:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:56:15] Production.INFO: ==17681== Releasing lock...
[2025-01-13 15:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:56:27] Production.INFO: count ==5901
[2025-01-13 15:56:29] Production.ERROR: pbx CDR StartTime 2025-01-13 12:56:06 - End Time 2025-01-13 15:56:06
[2025-01-13 15:56:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:56:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240003', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:56:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240003', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:56:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240003', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:56:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240003', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:56:30] Production.INFO: ProcessCDR(1,14240003,1,1,2)
[2025-01-13 15:56:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:56:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:56:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:56:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:56:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240003', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:56:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240003', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:56:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:56:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:56:34] Production.INFO: ==17689== Releasing lock...
[2025-01-13 15:56:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:56:34] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 20:57:02] Production.INFO: ==17748== Lock acquired, processing the job...
[2025-01-13 20:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:57:02] Production.INFO: neon service started
[2025-01-13 20:57:02] Production.INFO: neon service started
[2025-01-13 20:57:02] Production.INFO: ==17748== Releasing lock...
[2025-01-13 20:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:57:02] Production.INFO: ==17750== Lock acquired, processing the job...
[2025-01-13 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:57:02] Production.INFO: ==17750== Releasing lock...
[2025-01-13 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:57:02] Production.INFO: ==17752== Lock acquired, processing the job...
[2025-01-13 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:57:02] Production.INFO: ==17752== Releasing lock...
[2025-01-13 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:57:03] Production.INFO: ==17761== Lock acquired, processing the job...
[2025-01-13 15:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:57:03] Production.INFO: Account Balance Start.
[2025-01-13 15:57:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:57:03] Production.INFO: 117
[2025-01-13 15:57:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:57:03] Production.INFO: ==17765== Lock acquired, processing the job...
[2025-01-13 15:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:57:03] Production.INFO: ==17755== Lock acquired, processing the job...
[2025-01-13 15:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:57:03] Production.INFO: ==17757== Lock acquired, processing the job...
[2025-01-13 15:57:03] Production.INFO: ==17759== Lock acquired, processing the job...
[2025-01-13 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:57:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:57:03] Production.INFO: ==17763== Lock acquired, processing the job...
[2025-01-13 15:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:57:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:57:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:57:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:57:03] Production.INFO: count ==21
[2025-01-13 15:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 15:57:03] Production.INFO: count ==21
[2025-01-13 15:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240006') start
[2025-01-13 15:57:03] Production.INFO: Date 2025-01-13
[2025-01-13 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240006') end
[2025-01-13 15:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:57:03] Production.INFO: 1
[2025-01-13 15:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:57:03] Production.INFO: Total Charge 0
[2025-01-13 15:57:04] Production.INFO: CreateAllLog End
[2025-01-13 15:57:04] Production.INFO: ==17765== Releasing lock...
[2025-01-13 15:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:57:04] Production.ERROR: done
[2025-01-13 15:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:57:04] Production.INFO: ==17757== Releasing lock...
[2025-01-13 15:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:57:04] Production.ERROR: done
[2025-01-13 15:57:04] Production.INFO: Account Balance End.
[2025-01-13 15:57:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:57:04] Production.INFO: ==17761== Releasing lock...
[2025-01-13 15:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:57:05
[end_date_ymd] => 2025-01-13 15:57:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:57:05' and `end` < '2025-01-13 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-13 15:57:12] Production.ERROR: CronJobId end10
[2025-01-13 15:57:12] Production.INFO: ==17759== Releasing lock...
[2025-01-13 15:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:57:13] Production.INFO: call_cost start
[2025-01-13 15:57:13] Production.INFO: call_cost end
[2025-01-13 15:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:57:14] Production.INFO: ==17755== Releasing lock...
[2025-01-13 15:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:57:23] Production.INFO: count ==5910
[2025-01-13 15:57:26] Production.ERROR: pbx CDR StartTime 2025-01-13 12:57:05 - End Time 2025-01-13 15:57:05
[2025-01-13 15:57:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240008', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240008', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240008', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240008', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:57:26] Production.INFO: ProcessCDR(1,14240008,1,1,2)
[2025-01-13 15:57:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:57:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:57:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:57:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240008', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240008', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:57:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:57:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:57:31] Production.INFO: ==17763== Releasing lock...
[2025-01-13 15:57:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:57:31] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 20:58:01] Production.INFO: ==17823== Lock acquired, processing the job...
[2025-01-13 20:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:58:01] Production.INFO: neon service started
[2025-01-13 20:58:01] Production.INFO: neon service started
[2025-01-13 20:58:01] Production.INFO: ==17823== Releasing lock...
[2025-01-13 20:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 20:58:01] Production.INFO: ==17827== Lock acquired, processing the job...
[2025-01-13 20:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:58:01] Production.INFO: ==17827== Releasing lock...
[2025-01-13 20:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:58:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:58:02] Production.INFO: ==17825== Lock acquired, processing the job...
[2025-01-13 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:58:02] Production.INFO: ==17825== Releasing lock...
[2025-01-13 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 15:58:03] Production.INFO: ==17829== Lock acquired, processing the job...
[2025-01-13 15:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:58:03] Production.INFO: ==17831== Lock acquired, processing the job...
[2025-01-13 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:58:03] Production.INFO: ==17833== Lock acquired, processing the job...
[2025-01-13 15:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:58:03] Production.INFO: ==17835== Lock acquired, processing the job...
[2025-01-13 15:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 15:58:03] Production.INFO: ==17840== Lock acquired, processing the job...
[2025-01-13 15:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:58:03] Production.INFO: ==17838== Lock acquired, processing the job...
[2025-01-13 15:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:58:03] Production.INFO: ==17831== Releasing lock...
[2025-01-13 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:58:03] Production.INFO: Account Balance Start.
[2025-01-13 15:58:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:58:03] Production.INFO: 117
[2025-01-13 15:58:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 15:58:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:58:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:58:03] Production.INFO: count ==21
[2025-01-13 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-13 15:58:03] Production.INFO: count ==21
[2025-01-13 15:58:03] Production.INFO: Date 2025-01-11
[2025-01-13 15:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240012') start
[2025-01-13 15:58:03] Production.INFO: Date 2025-01-12
[2025-01-13 15:58:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240012') end
[2025-01-13 15:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:58:04] Production.INFO: 1
[2025-01-13 15:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:58:04] Production.ERROR: done
[2025-01-13 15:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:58:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:58:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:58:04] Production.INFO: Total Charge 0
[2025-01-13 15:58:04] Production.INFO: CreateAllLog End
[2025-01-13 15:58:04] Production.INFO: ==17840== Releasing lock...
[2025-01-13 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:58:04] Production.ERROR: done
[2025-01-13 15:58:04] Production.INFO: Account Balance End.
[2025-01-13 15:58:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:58:04] Production.INFO: ==17835== Releasing lock...
[2025-01-13 15:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:58:05
[end_date_ymd] => 2025-01-13 15:58:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:58:05' and `end` < '2025-01-13 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-13 15:58:12] Production.ERROR: CronJobId end10
[2025-01-13 15:58:12] Production.INFO: ==17833== Releasing lock...
[2025-01-13 15:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:58:13] Production.INFO: call_cost start
[2025-01-13 15:58:13] Production.INFO: call_cost end
[2025-01-13 15:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:58:14] Production.INFO: ==17829== Releasing lock...
[2025-01-13 15:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:58:25] Production.INFO: count ==5917
[2025-01-13 15:58:28] Production.ERROR: pbx CDR StartTime 2025-01-13 12:58:05 - End Time 2025-01-13 15:58:05
[2025-01-13 15:58:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240013', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240013', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240013', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:58:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240013', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:58:28] Production.INFO: ProcessCDR(1,14240013,1,1,2)
[2025-01-13 15:58:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:58:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:58:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:58:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:58:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240013', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:58:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240013', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:58:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:58:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:58:33] Production.INFO: ==17838== Releasing lock...
[2025-01-13 15:58:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:58:33] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 20:59:01] Production.INFO: ==17894== Lock acquired, processing the job...
[2025-01-13 20:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 20:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 20:59:01] Production.INFO: neon service started
[2025-01-13 20:59:01] Production.INFO: neon service started
[2025-01-13 20:59:01] Production.INFO: ==17894== Releasing lock...
[2025-01-13 20:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 20:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 15:59:02] Production.INFO: ==17896== Lock acquired, processing the job...
[2025-01-13 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 15:59:02] Production.INFO: ==17896== Releasing lock...
[2025-01-13 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 15:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 20:59:02] Production.INFO: ==17898== Lock acquired, processing the job...
[2025-01-13 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 20:59:02] Production.INFO: ==17898== Releasing lock...
[2025-01-13 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 20:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 15:59:03] Production.INFO: ==17904== Lock acquired, processing the job...
[2025-01-13 15:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 15:59:03] Production.INFO: ==17900== Lock acquired, processing the job...
[2025-01-13 15:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 15:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 15:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 15:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 15:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 15:59:03] Production.INFO: ==17910== Lock acquired, processing the job...
[2025-01-13 15:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 15:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 15:59:03] Production.INFO: ==17902== Lock acquired, processing the job...
[2025-01-13 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 15:59:03] Production.INFO: ==17906== Lock acquired, processing the job...
[2025-01-13 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 15:59:03] Production.INFO: count ==21
[2025-01-13 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-13 15:59:03] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-01-13 15:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 15:59:03] Production.INFO: count ==21
[2025-01-13 15:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 15:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240015') start
[2025-01-13 15:59:03] Production.INFO: Account Balance Start.
[2025-01-13 15:59:03] Production.INFO: CreateAllLog Start
[2025-01-13 15:59:03] Production.INFO: 117
[2025-01-13 15:59:03] Production.INFO: Date 2025-01-08
[2025-01-13 15:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:59:03] Production.INFO: Date 2025-01-09
[2025-01-13 15:59:03] Production.INFO: Reseller ==> 0
[2025-01-13 15:59:03] Production.INFO: ==17902== Releasing lock...
[2025-01-13 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 15:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 15:59:03] Production.INFO: Date 2025-01-10
[2025-01-13 15:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:59:04] Production.INFO: Date 2025-01-11
[2025-01-13 15:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240015') end
[2025-01-13 15:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 15:59:04] Production.INFO: 1
[2025-01-13 15:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 15:59:04] Production.INFO: Date 2025-01-12
[2025-01-13 15:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:59:04] Production.INFO: ==17910== Releasing lock...
[2025-01-13 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 15:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 15:59:04] Production.ERROR: done
[2025-01-13 15:59:04] Production.INFO: Date 2025-01-13
[2025-01-13 15:59:04] Production.INFO: Reseller ==> 0
[2025-01-13 15:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 15:59:04] Production.INFO: Total Charge 0
[2025-01-13 15:59:04] Production.INFO: CreateAllLog End
[2025-01-13 15:59:04] Production.ERROR: done
[2025-01-13 15:59:04] Production.INFO: Account Balance End.
[2025-01-13 15:59:04] Production.ERROR: CronJobId end 12
[2025-01-13 15:59:04] Production.INFO: ==17906== Releasing lock...
[2025-01-13 15:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 15:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 15:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 12:59:05
[end_date_ymd] => 2025-01-13 15:59:05
[RateCDR] => 1
)
[2025-01-13 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-13 12:59:05' and `end` < '2025-01-13 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-13 15:59:12] Production.ERROR: CronJobId end10
[2025-01-13 15:59:12] Production.INFO: ==17904== Releasing lock...
[2025-01-13 15:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 15:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 15:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 15:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 15:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 15:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 15:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 15:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 15:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 15:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 15:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 15:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 15:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 15:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 15:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 15:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 15:59:13] Production.INFO: call_cost start
[2025-01-13 15:59:13] Production.INFO: call_cost end
[2025-01-13 15:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 15:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 15:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 15:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 15:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 15:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 15:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 15:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 15:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 15:59:14] Production.INFO: ==17900== Releasing lock...
[2025-01-13 15:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 15:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 15:59:23] Production.INFO: count ==5922
[2025-01-13 15:59:25] Production.ERROR: pbx CDR StartTime 2025-01-13 12:59:05 - End Time 2025-01-13 15:59:05
[2025-01-13 15:59:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 15:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240018', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240018', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240018', 'tblTempVendorCDR_20' ) start
[2025-01-13 15:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240018', 'tblTempVendorCDR_20' ) end
[2025-01-13 15:59:25] Production.INFO: ProcessCDR(1,14240018,1,1,2)
[2025-01-13 15:59:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:59:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 15:59:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:59:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 15:59:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240018', 'tblTempUsageDetail_20' ) start
[2025-01-13 15:59:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240018', 'tblTempUsageDetail_20' ) end
[2025-01-13 15:59:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 15:59:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 15:59:30] Production.INFO: ==17908== Releasing lock...
[2025-01-13 15:59:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 15:59:30] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 21:00:02] Production.INFO: ==17965== Lock acquired, processing the job...
[2025-01-13 21:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:00:02] Production.INFO: neon service started
[2025-01-13 21:00:02] Production.INFO: neon service started
[2025-01-13 21:00:02] Production.INFO: ==17965== Releasing lock...
[2025-01-13 21:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:00:02] Production.INFO: ==17967== Lock acquired, processing the job...
[2025-01-13 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:00:03] Production.INFO: ==17969== Lock acquired, processing the job...
[2025-01-13 21:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:00:03] Production.INFO: ==17969== Releasing lock...
[2025-01-13 21:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:00:03] Production.INFO: ==17967== Releasing lock...
[2025-01-13 16:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:00:04] Production.INFO: ==17976== Lock acquired, processing the job...
[2025-01-13 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:00:04] Production.INFO: ==17982== Lock acquired, processing the job...
[2025-01-13 16:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:00:04] Production.INFO: ==17972== Lock acquired, processing the job...
[2025-01-13 16:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 16:00:04] Production.INFO: ==17974== Lock acquired, processing the job...
[2025-01-13 16:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 16:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 16:00:04] Production.ERROR: CronJob PID - 17976
[2025-01-13 16:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 16:00:04] Production.ERROR: CronJob ID - 7
[2025-01-13 16:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 16:00:00
[2025-01-13 16:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 16:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 16:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 16:00:04] Production.ERROR: CronJob PID - 17982
[2025-01-13 16:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-13 16:00:04] Production.ERROR: CronJob ID - 16
[2025-01-13 16:00:04] Production.ERROR: CronJob Last Run Time 2025-01-13 16:00:00
[2025-01-13 16:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 16:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 16:00:04] Production.INFO: ==17986== Lock acquired, processing the job...
[2025-01-13 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:00:04] Production.INFO: ==17978== Lock acquired, processing the job...
[2025-01-13 16:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 16:00:04] Production.INFO: ==17972== Releasing lock...
[2025-01-13 16:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 16:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 16:00:04] Production.INFO: ==17980== Lock acquired, processing the job...
[2025-01-13 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:00:04] Production.INFO: ==17976== Releasing lock...
[2025-01-13 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:00:04] Production.INFO: ==17984== Lock acquired, processing the job...
[2025-01-13 16:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 16:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:00:04] Production.ERROR: done
[2025-01-13 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-13 16:00:04] Production.INFO: Account Balance Start.
[2025-01-13 16:00:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:00:04] Production.INFO: 117
[2025-01-13 16:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:00:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:00:04] Production.INFO: count ==21
[2025-01-13 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-13 16:00:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:00:04] Production.INFO: count ==21
[2025-01-13 16:00:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240021') start
[2025-01-13 16:00:04] Production.ERROR: done
[2025-01-13 16:00:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:00:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:00:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:00:04] Production.INFO: Total Charge 0
[2025-01-13 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240021') end
[2025-01-13 16:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:00:04] Production.INFO: 1
[2025-01-13 16:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:00:05] Production.INFO: CreateAllLog End
[2025-01-13 16:00:05] Production.INFO: ==17986== Releasing lock...
[2025-01-13 16:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:00:05] Production.ERROR: done
[2025-01-13 16:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 16:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14240024', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 16:00:05] Production.INFO: Account Balance End.
[2025-01-13 16:00:05] Production.ERROR: CronJobId end 12
[2025-01-13 16:00:05] Production.INFO: ==17980== Releasing lock...
[2025-01-13 16:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:00:06
[end_date_ymd] => 2025-01-13 16:00:06
[RateCDR] => 1
)
[2025-01-13 16:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:00:06' and `end` < '2025-01-13 16:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14240024', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 16:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 16:00:09] Production.INFO: ProcessCDR(1,14240024,1,1,2)
[2025-01-13 16:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14240024,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14240024,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:00:09] Production.INFO: ==17984== Releasing lock...
[2025-01-13 16:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 16:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 16:00:13] Production.ERROR: CronJobId end10
[2025-01-13 16:00:13] Production.INFO: ==17978== Releasing lock...
[2025-01-13 16:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:00:15] Production.INFO: call_cost start
[2025-01-13 16:00:15] Production.INFO: call_cost end
[2025-01-13 16:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:00:16] Production.INFO: ==17974== Releasing lock...
[2025-01-13 16:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:00:31] Production.INFO: count ==5927
[2025-01-13 16:00:34] Production.ERROR: pbx CDR StartTime 2025-01-13 13:00:06 - End Time 2025-01-13 16:00:06
[2025-01-13 16:00:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240023', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240023', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240023', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:00:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240023', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:00:34] Production.INFO: ProcessCDR(1,14240023,1,1,2)
[2025-01-13 16:00:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:00:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:00:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:00:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:00:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240023', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:00:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240023', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:00:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:00:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:00:39] Production.INFO: ==17982== Releasing lock...
[2025-01-13 16:00:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:00:39] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 21:01:01] Production.INFO: ==18042== Lock acquired, processing the job...
[2025-01-13 21:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:01:01] Production.INFO: neon service started
[2025-01-13 21:01:01] Production.INFO: neon service started
[2025-01-13 21:01:01] Production.INFO: ==18042== Releasing lock...
[2025-01-13 21:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:01:02] Production.INFO: ==18056== Lock acquired, processing the job...
[2025-01-13 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:01:02] Production.INFO: ==18056== Releasing lock...
[2025-01-13 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:01:02] Production.INFO: ==18054== Lock acquired, processing the job...
[2025-01-13 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:01:02] Production.INFO: ==18054== Releasing lock...
[2025-01-13 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:01:03] Production.INFO: ==18059== Lock acquired, processing the job...
[2025-01-13 16:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:01:03] Production.INFO: ==18061== Lock acquired, processing the job...
[2025-01-13 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:01:03] Production.INFO: ==18063== Lock acquired, processing the job...
[2025-01-13 16:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:01:03] Production.INFO: ==18061== Releasing lock...
[2025-01-13 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:01:03] Production.INFO: ==18065== Lock acquired, processing the job...
[2025-01-13 16:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:01:03] Production.INFO: ==18067== Lock acquired, processing the job...
[2025-01-13 16:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:01:03] Production.INFO: Account Balance Start.
[2025-01-13 16:01:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:01:03] Production.INFO: 117
[2025-01-13 16:01:03] Production.INFO: ==18069== Lock acquired, processing the job...
[2025-01-13 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:01:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:01:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:01:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:01:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:01:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:01:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:01:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:01:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:01:04] Production.INFO: count ==21
[2025-01-13 16:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:01:04] Production.INFO: count ==21
[2025-01-13 16:01:04] Production.INFO: Total Charge 0
[2025-01-13 16:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240028') start
[2025-01-13 16:01:04] Production.ERROR: done
[2025-01-13 16:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:01:04] Production.INFO: CreateAllLog End
[2025-01-13 16:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240028') end
[2025-01-13 16:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:01:04] Production.INFO: 1
[2025-01-13 16:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:01:04] Production.ERROR: done
[2025-01-13 16:01:04] Production.INFO: ==18069== Releasing lock...
[2025-01-13 16:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:01:04] Production.INFO: Account Balance End.
[2025-01-13 16:01:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:01:04] Production.INFO: ==18065== Releasing lock...
[2025-01-13 16:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:01:05
[end_date_ymd] => 2025-01-13 16:01:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:01:05' and `end` < '2025-01-13 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-13 16:01:13] Production.ERROR: CronJobId end10
[2025-01-13 16:01:13] Production.INFO: ==18063== Releasing lock...
[2025-01-13 16:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:01:14] Production.INFO: call_cost start
[2025-01-13 16:01:14] Production.INFO: call_cost end
[2025-01-13 16:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:01:15] Production.INFO: ==18059== Releasing lock...
[2025-01-13 16:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:01:22] Production.INFO: count ==5955
[2025-01-13 16:01:24] Production.ERROR: pbx CDR StartTime 2025-01-13 13:01:05 - End Time 2025-01-13 16:01:05
[2025-01-13 16:01:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240029', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240029', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240029', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240029', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:01:25] Production.INFO: ProcessCDR(1,14240029,1,1,2)
[2025-01-13 16:01:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:01:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:01:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:01:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:01:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240029', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:01:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240029', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:01:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:01:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:01:29] Production.INFO: ==18067== Releasing lock...
[2025-01-13 16:01:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:01:29] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 21:02:01] Production.INFO: ==18122== Lock acquired, processing the job...
[2025-01-13 21:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:02:01] Production.INFO: neon service started
[2025-01-13 21:02:01] Production.INFO: neon service started
[2025-01-13 21:02:01] Production.INFO: ==18122== Releasing lock...
[2025-01-13 21:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:02:01] Production.INFO: ==18126== Lock acquired, processing the job...
[2025-01-13 21:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:02:01] Production.INFO: ==18126== Releasing lock...
[2025-01-13 21:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:02:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:02:01] Production.INFO: ==18124== Lock acquired, processing the job...
[2025-01-13 16:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:02:02] Production.INFO: ==18124== Releasing lock...
[2025-01-13 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:02:02] Production.INFO: ==18129== Lock acquired, processing the job...
[2025-01-13 16:02:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:02:02] Production.INFO: ==18131== Lock acquired, processing the job...
[2025-01-13 16:02:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:02:02] Production.INFO: ==18133== Lock acquired, processing the job...
[2025-01-13 16:02:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:02:03] Production.INFO: ==18135== Lock acquired, processing the job...
[2025-01-13 16:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:02:03] Production.INFO: ==18137== Lock acquired, processing the job...
[2025-01-13 16:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:02:03] Production.INFO: Account Balance Start.
[2025-01-13 16:02:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:02:03] Production.INFO: 117
[2025-01-13 16:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:02:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:02:03] Production.INFO: ==18131== Releasing lock...
[2025-01-13 16:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:02:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:02:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:02:03] Production.INFO: ==18139== Lock acquired, processing the job...
[2025-01-13 16:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:02:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:02:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:02:03] Production.INFO: count ==21
[2025-01-13 16:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:02:03] Production.INFO: count ==21
[2025-01-13 16:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240033') start
[2025-01-13 16:02:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:02:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:02:03] Production.INFO: Total Charge 0
[2025-01-13 16:02:03] Production.ERROR: done
[2025-01-13 16:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:02:03] Production.INFO: CreateAllLog End
[2025-01-13 16:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240033') end
[2025-01-13 16:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:02:03] Production.INFO: 1
[2025-01-13 16:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:02:03] Production.INFO: ==18139== Releasing lock...
[2025-01-13 16:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:02:03] Production.ERROR: done
[2025-01-13 16:02:04] Production.INFO: Account Balance End.
[2025-01-13 16:02:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:02:04] Production.INFO: ==18135== Releasing lock...
[2025-01-13 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:02:04
[end_date_ymd] => 2025-01-13 16:02:04
[RateCDR] => 1
)
[2025-01-13 16: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-13 13:02:04' and `end` < '2025-01-13 16: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-13 16:02:12] Production.ERROR: CronJobId end10
[2025-01-13 16:02:12] Production.INFO: ==18133== Releasing lock...
[2025-01-13 16:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:02:13] Production.INFO: call_cost start
[2025-01-13 16:02:13] Production.INFO: call_cost end
[2025-01-13 16:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:02:14] Production.INFO: ==18129== Releasing lock...
[2025-01-13 16:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:02:21] Production.INFO: count ==5946
[2025-01-13 16:02:23] Production.ERROR: pbx CDR StartTime 2025-01-13 13:02:04 - End Time 2025-01-13 16:02:04
[2025-01-13 16:02:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240034', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240034', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240034', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240034', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:02:24] Production.INFO: ProcessCDR(1,14240034,1,1,2)
[2025-01-13 16:02:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:02:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240034', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240034', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:02:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:02:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:02:28] Production.INFO: ==18137== Releasing lock...
[2025-01-13 16:02:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:02:28] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 21:03:01] Production.INFO: ==18192== Lock acquired, processing the job...
[2025-01-13 21:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:03:01] Production.INFO: neon service started
[2025-01-13 21:03:01] Production.INFO: neon service started
[2025-01-13 21:03:01] Production.INFO: ==18192== Releasing lock...
[2025-01-13 21:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:03:02] Production.INFO: ==18196== Lock acquired, processing the job...
[2025-01-13 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:03:02] Production.INFO: ==18196== Releasing lock...
[2025-01-13 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:03:02] Production.INFO: ==18194== Lock acquired, processing the job...
[2025-01-13 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:03:02] Production.INFO: ==18194== Releasing lock...
[2025-01-13 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:03:03] Production.INFO: ==18200== Lock acquired, processing the job...
[2025-01-13 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:03:03] Production.INFO: ==18202== Lock acquired, processing the job...
[2025-01-13 16:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:03:03] Production.INFO: ==18198== Lock acquired, processing the job...
[2025-01-13 16:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:03:03] Production.INFO: ==18208== Lock acquired, processing the job...
[2025-01-13 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:03:03] Production.INFO: ==18200== Releasing lock...
[2025-01-13 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:03:03] Production.INFO: ==18204== Lock acquired, processing the job...
[2025-01-13 16:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:03:03] Production.INFO: ==18206== Lock acquired, processing the job...
[2025-01-13 16:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 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-13 16:03:03] Production.INFO: count ==21
[2025-01-13 16:03:03] Production.INFO: Account Balance Start.
[2025-01-13 16:03:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:03:03] Production.INFO: 117
[2025-01-13 16:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 16:03:03] Production.INFO: count ==21
[2025-01-13 16:03:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240036') start
[2025-01-13 16:03:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:03:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240036') end
[2025-01-13 16:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:03:03] Production.INFO: 1
[2025-01-13 16:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:03:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:03:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:03:03] Production.INFO: ==18208== Releasing lock...
[2025-01-13 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:03:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:03:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:03:04] Production.INFO: Total Charge 0
[2025-01-13 16:03:04] Production.INFO: CreateAllLog End
[2025-01-13 16:03:04] Production.ERROR: done
[2025-01-13 16:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:03:04] Production.ERROR: done
[2025-01-13 16:03:04] Production.INFO: Account Balance End.
[2025-01-13 16:03:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:03:04] Production.INFO: ==18204== Releasing lock...
[2025-01-13 16:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:03:05
[end_date_ymd] => 2025-01-13 16:03:05
[RateCDR] => 1
)
[2025-01-13 16:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:03:05' and `end` < '2025-01-13 16:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:03:12] Production.ERROR: CronJobId end10
[2025-01-13 16:03:12] Production.INFO: ==18202== Releasing lock...
[2025-01-13 16:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:03:14] Production.INFO: call_cost start
[2025-01-13 16:03:14] Production.INFO: call_cost end
[2025-01-13 16:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:03:14] Production.INFO: ==18198== Releasing lock...
[2025-01-13 16:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:03:21] Production.INFO: count ==5936
[2025-01-13 16:03:24] Production.ERROR: pbx CDR StartTime 2025-01-13 13:03:05 - End Time 2025-01-13 16:03:05
[2025-01-13 16:03:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240039', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240039', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240039', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240039', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:03:24] Production.INFO: ProcessCDR(1,14240039,1,1,2)
[2025-01-13 16:03:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:03:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:03:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:03:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:03:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240039', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:03:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240039', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:03:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:03:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:03:29] Production.INFO: ==18206== Releasing lock...
[2025-01-13 16:03:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:03:29] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 21:04:02] Production.INFO: ==18301== Lock acquired, processing the job...
[2025-01-13 21:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:04:02] Production.INFO: neon service started
[2025-01-13 21:04:02] Production.INFO: neon service started
[2025-01-13 21:04:02] Production.INFO: ==18301== Releasing lock...
[2025-01-13 21:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:04:02] Production.INFO: ==18303== Lock acquired, processing the job...
[2025-01-13 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:04:02] Production.INFO: ==18305== Lock acquired, processing the job...
[2025-01-13 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:04:02] Production.INFO: ==18305== Releasing lock...
[2025-01-13 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:04:03] Production.INFO: ==18303== Releasing lock...
[2025-01-13 16:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:04:03] Production.INFO: ==18308== Lock acquired, processing the job...
[2025-01-13 16:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:04:03] Production.INFO: ==18310== Lock acquired, processing the job...
[2025-01-13 16:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:04:04] Production.INFO: ==18316== Lock acquired, processing the job...
[2025-01-13 16:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:04:04] Production.INFO: ==18310== Releasing lock...
[2025-01-13 16:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:04:04] Production.INFO: ==18312== Lock acquired, processing the job...
[2025-01-13 16:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:04:04] Production.INFO: ==18314== Lock acquired, processing the job...
[2025-01-13 16:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:04:04] Production.INFO: ==18318== Lock acquired, processing the job...
[2025-01-13 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:04:04] Production.ERROR: done
[2025-01-13 16:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 16:04:04] Production.INFO: Account Balance Start.
[2025-01-13 16:04:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:04:04] Production.INFO: 117
[2025-01-13 16:04:04] Production.ERROR: done
[2025-01-13 16:04:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:04:04] Production.INFO: count ==21
[2025-01-13 16:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 16:04:04] Production.INFO: count ==21
[2025-01-13 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240042') start
[2025-01-13 16:04:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:04:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:04:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240042') end
[2025-01-13 16:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:04:04] Production.INFO: 1
[2025-01-13 16:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:04:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:04:04] Production.INFO: ==18318== Releasing lock...
[2025-01-13 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:04:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:04:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:04:04] Production.INFO: Total Charge 0
[2025-01-13 16:04:04] Production.INFO: CreateAllLog End
[2025-01-13 16:04:05] Production.INFO: Account Balance End.
[2025-01-13 16:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:04:05
[end_date_ymd] => 2025-01-13 16:04:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:04:05' and `end` < '2025-01-13 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-13 16:04:05] Production.ERROR: CronJobId end 12
[2025-01-13 16:04:05] Production.INFO: ==18314== Releasing lock...
[2025-01-13 16:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:04:11] Production.ERROR: CronJobId end10
[2025-01-13 16:04:11] Production.INFO: ==18312== Releasing lock...
[2025-01-13 16:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:04:13] Production.INFO: call_cost start
[2025-01-13 16:04:13] Production.INFO: call_cost end
[2025-01-13 16:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:04:14] Production.INFO: ==18308== Releasing lock...
[2025-01-13 16:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:04:21] Production.INFO: count ==5933
[2025-01-13 16:04:24] Production.ERROR: pbx CDR StartTime 2025-01-13 13:04:05 - End Time 2025-01-13 16:04:05
[2025-01-13 16:04:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240044', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240044', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240044', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:04:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240044', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:04:24] Production.INFO: ProcessCDR(1,14240044,1,1,2)
[2025-01-13 16:04:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:04:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:04:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:04:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240044', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240044', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:04:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:04:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:04:29] Production.INFO: ==18316== Releasing lock...
[2025-01-13 16:04:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:04:29] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 21:05:01] Production.INFO: ==18371== Lock acquired, processing the job...
[2025-01-13 21:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:05:01] Production.INFO: neon service started
[2025-01-13 21:05:01] Production.INFO: neon service started
[2025-01-13 21:05:01] Production.INFO: ==18371== Releasing lock...
[2025-01-13 21:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:05:02] Production.INFO: ==18373== Lock acquired, processing the job...
[2025-01-13 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:05:02] Production.INFO: ==18375== Lock acquired, processing the job...
[2025-01-13 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:05:02] Production.INFO: ==18375== Releasing lock...
[2025-01-13 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:05:02] Production.INFO: ==18373== Releasing lock...
[2025-01-13 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:05:03] Production.INFO: ==18378== Lock acquired, processing the job...
[2025-01-13 16:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:05:03] Production.INFO: ==18382== Lock acquired, processing the job...
[2025-01-13 16:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:05:03] Production.INFO: ==18386== Lock acquired, processing the job...
[2025-01-13 16:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:05:03] Production.INFO: ==18384== Lock acquired, processing the job...
[2025-01-13 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:05:03] Production.INFO: ==18380== Lock acquired, processing the job...
[2025-01-13 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:05:03] Production.INFO: Account Balance Start.
[2025-01-13 16:05:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:05:03] Production.INFO: 117
[2025-01-13 16:05:03] Production.INFO: ==18388== Lock acquired, processing the job...
[2025-01-13 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:05:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:05:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:05:03] Production.ERROR: done
[2025-01-13 16:05:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:05:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:05:04] Production.ERROR: done
[2025-01-13 16:05:04] Production.INFO: count ==21
[2025-01-13 16:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:05:04] Production.INFO: count ==21
[2025-01-13 16:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240048') start
[2025-01-13 16:05:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:05:04] Production.INFO: ==18380== Releasing lock...
[2025-01-13 16:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:05:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:05:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:05:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:05:04] Production.INFO: Total Charge 0
[2025-01-13 16:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240048') end
[2025-01-13 16:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:05:04] Production.INFO: 1
[2025-01-13 16:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:05:04] Production.INFO: CreateAllLog End
[2025-01-13 16:05:04] Production.INFO: ==18388== Releasing lock...
[2025-01-13 16:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:05:04] Production.INFO: Account Balance End.
[2025-01-13 16:05:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:05:04] Production.INFO: ==18384== Releasing lock...
[2025-01-13 16:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:05:05
[end_date_ymd] => 2025-01-13 16:05:05
[RateCDR] => 1
)
[2025-01-13 16:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:05:05' and `end` < '2025-01-13 16:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:05:12] Production.ERROR: CronJobId end10
[2025-01-13 16:05:12] Production.INFO: ==18382== Releasing lock...
[2025-01-13 16:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:05:13] Production.INFO: call_cost start
[2025-01-13 16:05:13] Production.INFO: call_cost end
[2025-01-13 16:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:05:14] Production.INFO: ==18378== Releasing lock...
[2025-01-13 16:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:05:23] Production.INFO: count ==5945
[2025-01-13 16:05:25] Production.ERROR: pbx CDR StartTime 2025-01-13 13:05:05 - End Time 2025-01-13 16:05:05
[2025-01-13 16:05:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:05:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240049', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:05:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240049', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:05:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240049', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:05:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240049', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:05:25] Production.INFO: ProcessCDR(1,14240049,1,1,2)
[2025-01-13 16:05:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:05:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:05:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:05:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:05:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240049', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:05:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240049', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:05:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:05:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:05:30] Production.INFO: ==18386== Releasing lock...
[2025-01-13 16:05:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:05:30] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 21:06:02] Production.INFO: ==18442== Lock acquired, processing the job...
[2025-01-13 21:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:06:02] Production.INFO: neon service started
[2025-01-13 21:06:02] Production.INFO: neon service started
[2025-01-13 21:06:02] Production.INFO: ==18442== Releasing lock...
[2025-01-13 21:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:06:02] Production.INFO: ==18444== Lock acquired, processing the job...
[2025-01-13 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:06:02] Production.INFO: ==18446== Lock acquired, processing the job...
[2025-01-13 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:06:02] Production.INFO: ==18446== Releasing lock...
[2025-01-13 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:06:03] Production.INFO: ==18444== Releasing lock...
[2025-01-13 16:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:06:03] Production.INFO: ==18449== Lock acquired, processing the job...
[2025-01-13 16:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:06:03] Production.INFO: ==18451== Lock acquired, processing the job...
[2025-01-13 16:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:06:03] Production.INFO: ==18457== Lock acquired, processing the job...
[2025-01-13 16:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:06:03] Production.INFO: ==18453== Lock acquired, processing the job...
[2025-01-13 16:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:06:04] Production.INFO: ==18459== Lock acquired, processing the job...
[2025-01-13 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:06:04] Production.INFO: ==18455== Lock acquired, processing the job...
[2025-01-13 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 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-13 16:06:04] Production.INFO: count ==21
[2025-01-13 16:06:04] Production.ERROR: done
[2025-01-13 16:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:06:04] Production.INFO: ==18451== Releasing lock...
[2025-01-13 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 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-13 16:06:04] Production.INFO: count ==21
[2025-01-13 16:06:04] Production.INFO: Account Balance Start.
[2025-01-13 16:06:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:06:04] Production.INFO: 117
[2025-01-13 16:06:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240052') start
[2025-01-13 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:06:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:06:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:06:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:06:04] Production.ERROR: done
[2025-01-13 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240052') end
[2025-01-13 16:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:06:04] Production.INFO: 1
[2025-01-13 16:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:06:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:06:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:06:04] Production.INFO: ==18459== Releasing lock...
[2025-01-13 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:06:04] Production.INFO: Total Charge 0
[2025-01-13 16:06:04] Production.INFO: CreateAllLog End
[2025-01-13 16:06:04] Production.INFO: Account Balance End.
[2025-01-13 16:06:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:06:04] Production.INFO: ==18455== Releasing lock...
[2025-01-13 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:06:05
[end_date_ymd] => 2025-01-13 16:06:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:06:05' and `end` < '2025-01-13 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-13 16:06:11] Production.ERROR: CronJobId end10
[2025-01-13 16:06:11] Production.INFO: ==18453== Releasing lock...
[2025-01-13 16:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:06:13] Production.INFO: call_cost start
[2025-01-13 16:06:13] Production.INFO: call_cost end
[2025-01-13 16:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:06:14] Production.INFO: ==18449== Releasing lock...
[2025-01-13 16:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:06:19] Production.INFO: count ==5943
[2025-01-13 16:06:22] Production.ERROR: pbx CDR StartTime 2025-01-13 13:06:05 - End Time 2025-01-13 16:06:05
[2025-01-13 16:06:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240054', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240054', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240054', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240054', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:06:22] Production.INFO: ProcessCDR(1,14240054,1,1,2)
[2025-01-13 16:06:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240054', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240054', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:06:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:06:26] Production.INFO: ==18457== Releasing lock...
[2025-01-13 16:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:06:26] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 21:07:01] Production.INFO: ==18514== Lock acquired, processing the job...
[2025-01-13 21:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:07:01] Production.INFO: neon service started
[2025-01-13 21:07:01] Production.INFO: neon service started
[2025-01-13 21:07:01] Production.INFO: ==18514== Releasing lock...
[2025-01-13 21:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:07:01] Production.INFO: ==18516== Lock acquired, processing the job...
[2025-01-13 16:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:07:02] Production.INFO: ==18518== Lock acquired, processing the job...
[2025-01-13 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:07:02] Production.INFO: ==18516== Releasing lock...
[2025-01-13 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:07:02] Production.INFO: ==18518== Releasing lock...
[2025-01-13 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:07:03] Production.INFO: ==18528== Lock acquired, processing the job...
[2025-01-13 16:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:07:03] Production.INFO: ==18520== Lock acquired, processing the job...
[2025-01-13 16:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:07:03] Production.INFO: ==18530== Lock acquired, processing the job...
[2025-01-13 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:07:03] Production.INFO: ==18522== Lock acquired, processing the job...
[2025-01-13 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:07:03] Production.INFO: ==18524== Lock acquired, processing the job...
[2025-01-13 16:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:07:03] Production.INFO: ==18526== Lock acquired, processing the job...
[2025-01-13 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 16:07:03] Production.INFO: count ==21
[2025-01-13 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-13 16:07:03] Production.INFO: count ==21
[2025-01-13 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240055') start
[2025-01-13 16:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:07:03] Production.INFO: Account Balance Start.
[2025-01-13 16:07:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:07:03] Production.INFO: 117
[2025-01-13 16:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:07:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240055') end
[2025-01-13 16:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:07:03] Production.INFO: 1
[2025-01-13 16:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:07:03] Production.ERROR: done
[2025-01-13 16:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:07:03] Production.INFO: ==18530== Releasing lock...
[2025-01-13 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:07:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:07:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:07:03] Production.INFO: ==18522== Releasing lock...
[2025-01-13 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:07:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:07:03] Production.ERROR: done
[2025-01-13 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:07:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:07:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:07:03] Production.INFO: Total Charge 0
[2025-01-13 16:07:03] Production.INFO: CreateAllLog End
[2025-01-13 16:07:04] Production.INFO: Account Balance End.
[2025-01-13 16:07:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:07:04] Production.INFO: ==18526== Releasing lock...
[2025-01-13 16:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:07:04
[end_date_ymd] => 2025-01-13 16:07:04
[RateCDR] => 1
)
[2025-01-13 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-13 13:07:04' and `end` < '2025-01-13 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-13 16:07:11] Production.ERROR: CronJobId end10
[2025-01-13 16:07:11] Production.INFO: ==18524== Releasing lock...
[2025-01-13 16:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:07:13] Production.INFO: call_cost start
[2025-01-13 16:07:13] Production.INFO: call_cost end
[2025-01-13 16:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:07:14] Production.INFO: ==18520== Releasing lock...
[2025-01-13 16:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:07:29] Production.INFO: count ==5986
[2025-01-13 16:07:32] Production.ERROR: pbx CDR StartTime 2025-01-13 13:07:04 - End Time 2025-01-13 16:07:04
[2025-01-13 16:07:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:07:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240059', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:07:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240059', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:07:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240059', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:07:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240059', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:07:32] Production.INFO: ProcessCDR(1,14240059,1,1,2)
[2025-01-13 16:07:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:07:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:07:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:07:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:07:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240059', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:07:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240059', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:07:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:07:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:07:37] Production.INFO: ==18528== Releasing lock...
[2025-01-13 16:07:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:07:37] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 21:08:02] Production.INFO: ==18586== Lock acquired, processing the job...
[2025-01-13 21:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:08:02] Production.INFO: neon service started
[2025-01-13 21:08:02] Production.INFO: neon service started
[2025-01-13 21:08:02] Production.INFO: ==18586== Releasing lock...
[2025-01-13 21:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:08:02] Production.INFO: ==18591== Lock acquired, processing the job...
[2025-01-13 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:08:02] Production.INFO: ==18591== Releasing lock...
[2025-01-13 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:08:02] Production.INFO: ==18588== Lock acquired, processing the job...
[2025-01-13 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:08:02] Production.INFO: ==18588== Releasing lock...
[2025-01-13 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:08:03] Production.INFO: ==18597== Lock acquired, processing the job...
[2025-01-13 16:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:08:03] Production.INFO: ==18599== Lock acquired, processing the job...
[2025-01-13 16:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:08:03] Production.INFO: ==18601== Lock acquired, processing the job...
[2025-01-13 16:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:08:03] Production.INFO: Account Balance Start.
[2025-01-13 16:08:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:08:03] Production.INFO: 117
[2025-01-13 16:08:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:08:03] Production.INFO: ==18593== Lock acquired, processing the job...
[2025-01-13 16:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:08:03] Production.INFO: ==18595== Lock acquired, processing the job...
[2025-01-13 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:08:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:08:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:08:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:08:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:08:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:08:03] Production.INFO: ==18603== Lock acquired, processing the job...
[2025-01-13 16:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:08:04] Production.INFO: Total Charge 0
[2025-01-13 16:08:04] Production.ERROR: done
[2025-01-13 16:08:04] Production.INFO: CreateAllLog End
[2025-01-13 16:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 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-13 16:08:04] Production.INFO: count ==21
[2025-01-13 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-13 16:08:04] Production.INFO: count ==21
[2025-01-13 16:08:04] Production.ERROR: done
[2025-01-13 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240063') start
[2025-01-13 16:08:04] Production.INFO: Account Balance End.
[2025-01-13 16:08:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:08:04] Production.INFO: ==18599== Releasing lock...
[2025-01-13 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240063') end
[2025-01-13 16:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:08:04] Production.INFO: 1
[2025-01-13 16:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:08:04] Production.INFO: ==18595== Releasing lock...
[2025-01-13 16:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:08:04] Production.INFO: ==18603== Releasing lock...
[2025-01-13 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:08:05
[end_date_ymd] => 2025-01-13 16:08:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:08:05' and `end` < '2025-01-13 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-13 16:08:11] Production.ERROR: CronJobId end10
[2025-01-13 16:08:11] Production.INFO: ==18597== Releasing lock...
[2025-01-13 16:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:08:13] Production.INFO: call_cost start
[2025-01-13 16:08:13] Production.INFO: call_cost end
[2025-01-13 16:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:08:13] Production.INFO: ==18593== Releasing lock...
[2025-01-13 16:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:08:35] Production.INFO: count ==6002
[2025-01-13 16:08:38] Production.ERROR: pbx CDR StartTime 2025-01-13 13:08:05 - End Time 2025-01-13 16:08:05
[2025-01-13 16:08:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:08:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240064', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:08:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240064', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:08:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240064', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:08:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240064', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:08:38] Production.INFO: ProcessCDR(1,14240064,1,1,2)
[2025-01-13 16:08:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:08:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:08:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:08:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:08:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240064', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:08:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240064', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:08:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:08:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:08:43] Production.INFO: ==18601== Releasing lock...
[2025-01-13 16:08:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:08:43] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:09:01] Production.INFO: ==18656== Lock acquired, processing the job...
[2025-01-13 21:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:09:01] Production.INFO: neon service started
[2025-01-13 21:09:01] Production.INFO: neon service started
[2025-01-13 21:09:01] Production.INFO: ==18656== Releasing lock...
[2025-01-13 21:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:09:01] Production.INFO: ==18658== Lock acquired, processing the job...
[2025-01-13 16:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:09:02] Production.INFO: ==18658== Releasing lock...
[2025-01-13 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:09:02] Production.INFO: ==18660== Lock acquired, processing the job...
[2025-01-13 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:09:02] Production.INFO: ==18660== Releasing lock...
[2025-01-13 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:09:02] Production.INFO: ==18665== Lock acquired, processing the job...
[2025-01-13 16:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:09:03] Production.INFO: ==18663== Lock acquired, processing the job...
[2025-01-13 16:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:09:03] Production.INFO: ==18673== Lock acquired, processing the job...
[2025-01-13 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:09:03] Production.INFO: ==18667== Lock acquired, processing the job...
[2025-01-13 16:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 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-13 16:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:09:03] Production.INFO: count ==21
[2025-01-13 16:09:03] Production.INFO: ==18669== Lock acquired, processing the job...
[2025-01-13 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 16:09:03] Production.INFO: count ==21
[2025-01-13 16:09:03] Production.INFO: ==18671== Lock acquired, processing the job...
[2025-01-13 16:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:09:03] Production.INFO: ==18665== Releasing lock...
[2025-01-13 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240066') start
[2025-01-13 16:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240066') end
[2025-01-13 16:09:03] Production.INFO: Account Balance Start.
[2025-01-13 16:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:09:03] Production.INFO: 1
[2025-01-13 16:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:09:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:09:03] Production.INFO: 117
[2025-01-13 16:09:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:09:03] Production.INFO: ==18673== Releasing lock...
[2025-01-13 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:09:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:09:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:09:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:09:03] Production.ERROR: done
[2025-01-13 16:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:09:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:09:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:09:03] Production.INFO: Total Charge 0
[2025-01-13 16:09:03] Production.ERROR: done
[2025-01-13 16:09:03] Production.INFO: CreateAllLog End
[2025-01-13 16:09:04] Production.INFO: Account Balance End.
[2025-01-13 16:09:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:09:04] Production.INFO: ==18669== Releasing lock...
[2025-01-13 16:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:09:05
[end_date_ymd] => 2025-01-13 16:09:05
[RateCDR] => 1
)
[2025-01-13 16:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:09:05' and `end` < '2025-01-13 16:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:09:11] Production.ERROR: CronJobId end10
[2025-01-13 16:09:11] Production.INFO: ==18667== Releasing lock...
[2025-01-13 16:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:09:13] Production.INFO: call_cost start
[2025-01-13 16:09:13] Production.INFO: call_cost end
[2025-01-13 16:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:09:14] Production.INFO: ==18663== Releasing lock...
[2025-01-13 16:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:09:26] Production.INFO: count ==6024
[2025-01-13 16:09:29] Production.ERROR: pbx CDR StartTime 2025-01-13 13:09:05 - End Time 2025-01-13 16:09:05
[2025-01-13 16:09:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:09:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240069', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:09:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240069', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:09:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240069', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:09:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240069', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:09:29] Production.INFO: ProcessCDR(1,14240069,1,1,2)
[2025-01-13 16:09:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:09:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:09:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:09:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:09:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240069', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:09:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240069', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:09:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:09:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:09:34] Production.INFO: ==18671== Releasing lock...
[2025-01-13 16:09:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:09:34] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:10:01] Production.INFO: ==18730== Lock acquired, processing the job...
[2025-01-13 21:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:10:01] Production.INFO: neon service started
[2025-01-13 21:10:01] Production.INFO: neon service started
[2025-01-13 21:10:01] Production.INFO: ==18730== Releasing lock...
[2025-01-13 21:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:10:02] Production.INFO: ==18734== Lock acquired, processing the job...
[2025-01-13 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:10:02] Production.INFO: ==18734== Releasing lock...
[2025-01-13 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:10:02] Production.INFO: ==18732== Lock acquired, processing the job...
[2025-01-13 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:10:02] Production.INFO: ==18732== Releasing lock...
[2025-01-13 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:10:03] Production.INFO: ==18739== Lock acquired, processing the job...
[2025-01-13 16:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:10:03] Production.INFO: ==18745== Lock acquired, processing the job...
[2025-01-13 16:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:10:03] Production.INFO: ==18737== Lock acquired, processing the job...
[2025-01-13 16:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 16:10:03] Production.INFO: ==18741== Lock acquired, processing the job...
[2025-01-13 16:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:10:04] Production.INFO: ==18751== Lock acquired, processing the job...
[2025-01-13 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:10:04] Production.INFO: Account Balance Start.
[2025-01-13 16:10:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:10:04] Production.INFO: 117
[2025-01-13 16:10:04] Production.INFO: ==18743== Lock acquired, processing the job...
[2025-01-13 16:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 16:10:04] Production.ERROR: CronJob PID - 18739
[2025-01-13 16:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-13 16:10:04] Production.ERROR: CronJob ID - 5
[2025-01-13 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 16:10:00
[2025-01-13 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 16:10:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 16:10:04] Production.ERROR: CronJob PID - 18741
[2025-01-13 16:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-13 16:10:04] Production.ERROR: CronJob ID - 7
[2025-01-13 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 16:10:00
[2025-01-13 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 16:10:04] Production.ERROR: CronJob PID - 18745
[2025-01-13 16:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-13 16:10:04] Production.ERROR: CronJob ID - 12
[2025-01-13 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 16:10:00
[2025-01-13 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 16:10:04] Production.ERROR: CronJob PID - 18751
[2025-01-13 16:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 16:10:04] Production.ERROR: CronJob ID - 19
[2025-01-13 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-13 16:10:00
[2025-01-13 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 16:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 16:10:04] Production.INFO: ==18737== Releasing lock...
[2025-01-13 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 16:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 16:10:04] Production.INFO: count ==21
[2025-01-13 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-13 16:10:04] Production.INFO: count ==21
[2025-01-13 16:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240073') start
[2025-01-13 16:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:10:04] Production.INFO: ==18747== Lock acquired, processing the job...
[2025-01-13 16:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:10:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:10:04] Production.INFO: ==18749== Lock acquired, processing the job...
[2025-01-13 16:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240073') end
[2025-01-13 16:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:10:04] Production.INFO: 1
[2025-01-13 16:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:10:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:10:04] Production.INFO: ==18751== Releasing lock...
[2025-01-13 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:10:04] Production.INFO: ==18741== Releasing lock...
[2025-01-13 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:10:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:10:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:10:04] Production.ERROR: done
[2025-01-13 16:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:10:04] Production.ERROR: done
[2025-01-13 16:10:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:10:04] Production.INFO: Total Charge 0
[2025-01-13 16:10:04] Production.INFO: CreateAllLog End
[2025-01-13 16:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 16:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14240074', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 16:10:04] Production.ERROR: done
[2025-01-13 16:10:04] Production.INFO: Account Balance End.
[2025-01-13 16:10:05] Production.ERROR: CronJobId end 12
[2025-01-13 16:10:05] Production.INFO: ==18745== Releasing lock...
[2025-01-13 16:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:10:06
[end_date_ymd] => 2025-01-13 16:10:06
[RateCDR] => 1
)
[2025-01-13 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-13 13:10:06' and `end` < '2025-01-13 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-13 16:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14240074', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 16:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 16:10:08] Production.INFO: ProcessCDR(1,14240074,1,1,2)
[2025-01-13 16:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14240074,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14240074,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:10:08] Production.INFO: ==18749== Releasing lock...
[2025-01-13 16:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 16:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 16:10:14] Production.ERROR: CronJobId end10
[2025-01-13 16:10:14] Production.INFO: ==18743== Releasing lock...
[2025-01-13 16:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:10:15] Production.INFO: call_cost start
[2025-01-13 16:10:15] Production.INFO: call_cost end
[2025-01-13 16:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:10:16] Production.INFO: ==18739== Releasing lock...
[2025-01-13 16:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:10:29] Production.INFO: count ==6018
[2025-01-13 16:10:32] Production.ERROR: pbx CDR StartTime 2025-01-13 13:10:06 - End Time 2025-01-13 16:10:06
[2025-01-13 16:10:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:10:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240075', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:10:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240075', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:10:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240075', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:10:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240075', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:10:32] Production.INFO: ProcessCDR(1,14240075,1,1,2)
[2025-01-13 16:10:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:10:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:10:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:10:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:10:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240075', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:10:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240075', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:10:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:10:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:10:36] Production.INFO: ==18747== Releasing lock...
[2025-01-13 16:10:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:10:36] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:11:02] Production.INFO: ==18810== Lock acquired, processing the job...
[2025-01-13 21:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:11:02] Production.INFO: neon service started
[2025-01-13 21:11:02] Production.INFO: neon service started
[2025-01-13 21:11:02] Production.INFO: ==18810== Releasing lock...
[2025-01-13 21:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:11:03] Production.INFO: ==18812== Lock acquired, processing the job...
[2025-01-13 16:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:11:03] Production.INFO: ==18812== Releasing lock...
[2025-01-13 16:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:11:03] Production.INFO: ==18814== Lock acquired, processing the job...
[2025-01-13 21:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:11:03] Production.INFO: ==18814== Releasing lock...
[2025-01-13 21:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:11:04] Production.INFO: ==18825== Lock acquired, processing the job...
[2025-01-13 16:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:11:04] Production.INFO: ==18827== Lock acquired, processing the job...
[2025-01-13 16:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:11:04] Production.INFO: ==18817== Lock acquired, processing the job...
[2025-01-13 16:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 16:11:04] Production.INFO: ==18821== Lock acquired, processing the job...
[2025-01-13 16:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:11:04] Production.INFO: ==18823== Lock acquired, processing the job...
[2025-01-13 16:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:11:04] Production.INFO: ==18819== Lock acquired, processing the job...
[2025-01-13 16:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:11:04] Production.INFO: count ==21
[2025-01-13 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-13 16:11:04] Production.INFO: count ==21
[2025-01-13 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240076') start
[2025-01-13 16:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:11:04] Production.INFO: Account Balance Start.
[2025-01-13 16:11:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:11:04] Production.INFO: 117
[2025-01-13 16:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:11:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240076') end
[2025-01-13 16:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:11:04] Production.INFO: 1
[2025-01-13 16:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:11:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:11:04] Production.INFO: ==18827== Releasing lock...
[2025-01-13 16:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:11:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:11:04] Production.ERROR: done
[2025-01-13 16:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:11:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:11:04] Production.INFO: ==18819== Releasing lock...
[2025-01-13 16:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:11:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:11:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:11:04] Production.INFO: Total Charge 0
[2025-01-13 16:11:04] Production.INFO: CreateAllLog End
[2025-01-13 16:11:04] Production.ERROR: done
[2025-01-13 16:11:05] Production.INFO: Account Balance End.
[2025-01-13 16:11:05] Production.ERROR: CronJobId end 12
[2025-01-13 16:11:05] Production.INFO: ==18823== Releasing lock...
[2025-01-13 16:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:11:05
[end_date_ymd] => 2025-01-13 16:11:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:11:05' and `end` < '2025-01-13 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-13 16:11:13] Production.ERROR: CronJobId end10
[2025-01-13 16:11:13] Production.INFO: ==18821== Releasing lock...
[2025-01-13 16:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:11:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:11:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:11:14] Production.INFO: call_cost start
[2025-01-13 16:11:14] Production.INFO: call_cost end
[2025-01-13 16:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:11:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:11:15] Production.INFO: ==18817== Releasing lock...
[2025-01-13 16:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:11:23] Production.INFO: count ==6011
[2025-01-13 16:11:25] Production.ERROR: pbx CDR StartTime 2025-01-13 13:11:05 - End Time 2025-01-13 16:11:05
[2025-01-13 16:11:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:11:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240080', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:11:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240080', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:11:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240080', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:11:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240080', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:11:26] Production.INFO: ProcessCDR(1,14240080,1,1,2)
[2025-01-13 16:11:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:11:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:11:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:11:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:11:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240080', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:11:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240080', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:11:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:11:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:11:31] Production.INFO: ==18825== Releasing lock...
[2025-01-13 16:11:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:11:31] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:12:02] Production.INFO: ==18884== Lock acquired, processing the job...
[2025-01-13 21:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:12:02] Production.INFO: neon service started
[2025-01-13 21:12:02] Production.INFO: neon service started
[2025-01-13 21:12:02] Production.INFO: ==18884== Releasing lock...
[2025-01-13 21:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:12:02] Production.INFO: ==18886== Lock acquired, processing the job...
[2025-01-13 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:12:02] Production.INFO: ==18886== Releasing lock...
[2025-01-13 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:12:02] Production.INFO: ==18888== Lock acquired, processing the job...
[2025-01-13 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:12:02] Production.INFO: ==18888== Releasing lock...
[2025-01-13 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:12:03] Production.INFO: ==18896== Lock acquired, processing the job...
[2025-01-13 16:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:12:03] Production.INFO: ==18890== Lock acquired, processing the job...
[2025-01-13 16:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:12:03] Production.INFO: Account Balance Start.
[2025-01-13 16:12:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:12:03] Production.INFO: 117
[2025-01-13 16:12:03] Production.INFO: ==18900== Lock acquired, processing the job...
[2025-01-13 16:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:12:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:12:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:12:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:12:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:12:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:12:04] Production.INFO: ==18894== Lock acquired, processing the job...
[2025-01-13 16:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:12:04] Production.INFO: ==18892== Lock acquired, processing the job...
[2025-01-13 16:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:12:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:12:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:12:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:12:04] Production.INFO: count ==21
[2025-01-13 16:12:04] Production.INFO: Total Charge 0
[2025-01-13 16:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:12:04] Production.INFO: count ==21
[2025-01-13 16:12:04] Production.INFO: ==18898== Lock acquired, processing the job...
[2025-01-13 16:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:12:04] Production.INFO: CreateAllLog End
[2025-01-13 16:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240082') start
[2025-01-13 16:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240082') end
[2025-01-13 16:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:12:04] Production.INFO: 1
[2025-01-13 16:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:12:04] Production.INFO: Account Balance End.
[2025-01-13 16:12:04] Production.INFO: ==18900== Releasing lock...
[2025-01-13 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:12:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:12:04] Production.INFO: ==18896== Releasing lock...
[2025-01-13 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:12:04] Production.INFO: ==18892== Releasing lock...
[2025-01-13 16:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:12:04] Production.ERROR: done
[2025-01-13 16:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:12:04] Production.ERROR: done
[2025-01-13 16:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:12:05
[end_date_ymd] => 2025-01-13 16:12:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:12:05' and `end` < '2025-01-13 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-13 16:12:13] Production.ERROR: CronJobId end10
[2025-01-13 16:12:13] Production.INFO: ==18894== Releasing lock...
[2025-01-13 16:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:12:14] Production.INFO: call_cost start
[2025-01-13 16:12:14] Production.INFO: call_cost end
[2025-01-13 16:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:12:15] Production.INFO: ==18890== Releasing lock...
[2025-01-13 16:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:12:21] Production.INFO: count ==6003
[2025-01-13 16:12:23] Production.ERROR: pbx CDR StartTime 2025-01-13 13:12:05 - End Time 2025-01-13 16:12:05
[2025-01-13 16:12:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240085', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240085', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240085', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240085', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:12:23] Production.INFO: ProcessCDR(1,14240085,1,1,2)
[2025-01-13 16:12:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:12:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:12:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:12:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240085', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240085', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:12:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:12:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:12:28] Production.INFO: ==18898== Releasing lock...
[2025-01-13 16:12:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:12:28] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:13:01] Production.INFO: ==18955== Lock acquired, processing the job...
[2025-01-13 21:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:13:01] Production.INFO: neon service started
[2025-01-13 21:13:01] Production.INFO: neon service started
[2025-01-13 21:13:01] Production.INFO: ==18955== Releasing lock...
[2025-01-13 21:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:13:01] Production.INFO: ==18959== Lock acquired, processing the job...
[2025-01-13 21:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:13:01] Production.INFO: ==18959== Releasing lock...
[2025-01-13 21:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:13:01] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:13:02] Production.INFO: ==18957== Lock acquired, processing the job...
[2025-01-13 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:13:02] Production.INFO: ==18957== Releasing lock...
[2025-01-13 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:13:03] Production.INFO: ==18961== Lock acquired, processing the job...
[2025-01-13 16:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:13:03] Production.INFO: ==18963== Lock acquired, processing the job...
[2025-01-13 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:13:03] Production.INFO: ==18969== Lock acquired, processing the job...
[2025-01-13 16:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:13:03] Production.INFO: ==18965== Lock acquired, processing the job...
[2025-01-13 16:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:13:03] Production.INFO: ==18967== Lock acquired, processing the job...
[2025-01-13 16:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:13:03] Production.INFO: ==18963== Releasing lock...
[2025-01-13 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:13:03] Production.INFO: ==18971== Lock acquired, processing the job...
[2025-01-13 16:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:13:03] Production.INFO: Account Balance Start.
[2025-01-13 16:13:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:13:03] Production.INFO: 117
[2025-01-13 16:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:13:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:13:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:13:03] Production.ERROR: done
[2025-01-13 16:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:13:03] Production.INFO: count ==21
[2025-01-13 16:13:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:13:03] Production.INFO: count ==21
[2025-01-13 16:13:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240089') start
[2025-01-13 16:13:03] Production.ERROR: done
[2025-01-13 16:13:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:13:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:13:04] Production.INFO: Total Charge 0
[2025-01-13 16:13:04] Production.INFO: CreateAllLog End
[2025-01-13 16:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240089') end
[2025-01-13 16:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:13:04] Production.INFO: 1
[2025-01-13 16:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:13:04] Production.INFO: ==18971== Releasing lock...
[2025-01-13 16:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:13:04] Production.INFO: Account Balance End.
[2025-01-13 16:13:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:13:04] Production.INFO: ==18967== Releasing lock...
[2025-01-13 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:13:04
[end_date_ymd] => 2025-01-13 16:13:04
[RateCDR] => 1
)
[2025-01-13 16:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:13:04' and `end` < '2025-01-13 16:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:13:11] Production.ERROR: CronJobId end10
[2025-01-13 16:13:11] Production.INFO: ==18965== Releasing lock...
[2025-01-13 16:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:13:12] Production.INFO: call_cost start
[2025-01-13 16:13:12] Production.INFO: call_cost end
[2025-01-13 16:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:13:13] Production.INFO: ==18961== Releasing lock...
[2025-01-13 16:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:13:25] Production.INFO: count ==6028
[2025-01-13 16:13:27] Production.ERROR: pbx CDR StartTime 2025-01-13 13:13:04 - End Time 2025-01-13 16:13:04
[2025-01-13 16:13:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240090', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240090', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240090', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240090', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:13:27] Production.INFO: ProcessCDR(1,14240090,1,1,2)
[2025-01-13 16:13:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:13:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:13:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:13:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:13:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240090', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:13:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240090', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:13:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:13:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:13:32] Production.INFO: ==18969== Releasing lock...
[2025-01-13 16:13:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:13:32] Production.INFO: 73.25 MB #Memory Used#
[2025-01-13 21:14:01] Production.INFO: ==19027== Lock acquired, processing the job...
[2025-01-13 21:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:14:02] Production.INFO: neon service started
[2025-01-13 21:14:02] Production.INFO: neon service started
[2025-01-13 21:14:02] Production.INFO: ==19027== Releasing lock...
[2025-01-13 21:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:14:02] Production.INFO: ==19029== Lock acquired, processing the job...
[2025-01-13 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:14:02] Production.INFO: ==19031== Lock acquired, processing the job...
[2025-01-13 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:14:02] Production.INFO: ==19031== Releasing lock...
[2025-01-13 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:14:02] Production.INFO: ==19029== Releasing lock...
[2025-01-13 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:14:03] Production.INFO: ==19038== Lock acquired, processing the job...
[2025-01-13 16:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:14:03] Production.INFO: ==19034== Lock acquired, processing the job...
[2025-01-13 16:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:14:03] Production.INFO: ==19040== Lock acquired, processing the job...
[2025-01-13 16:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:14:03] Production.INFO: ==19036== Lock acquired, processing the job...
[2025-01-13 16:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:14:03] Production.INFO: Account Balance Start.
[2025-01-13 16:14:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:14:03] Production.INFO: 117
[2025-01-13 16:14:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:14:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:14:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:14:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:14:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:14:04] Production.INFO: ==19042== Lock acquired, processing the job...
[2025-01-13 16:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:14:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:14:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:14:04] Production.INFO: ==19044== Lock acquired, processing the job...
[2025-01-13 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:14:04] Production.INFO: ==19036== Releasing lock...
[2025-01-13 16:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:14:04] Production.INFO: Total Charge 0
[2025-01-13 16:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:14:04] Production.INFO: CreateAllLog End
[2025-01-13 16:14:04] Production.INFO: count ==21
[2025-01-13 16:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:14:04] Production.INFO: count ==21
[2025-01-13 16:14:04] Production.ERROR: done
[2025-01-13 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240094') start
[2025-01-13 16:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240094') end
[2025-01-13 16:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:14:04] Production.INFO: 1
[2025-01-13 16:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:14:04] Production.INFO: ==19044== Releasing lock...
[2025-01-13 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:14:04] Production.INFO: Account Balance End.
[2025-01-13 16:14:04] Production.ERROR: done
[2025-01-13 16:14:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:14:04] Production.INFO: ==19040== Releasing lock...
[2025-01-13 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:14:05
[end_date_ymd] => 2025-01-13 16:14:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:14:05' and `end` < '2025-01-13 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-13 16:14:12] Production.ERROR: CronJobId end10
[2025-01-13 16:14:12] Production.INFO: ==19038== Releasing lock...
[2025-01-13 16:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:14:13] Production.INFO: call_cost start
[2025-01-13 16:14:13] Production.INFO: call_cost end
[2025-01-13 16:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:14:13] Production.INFO: ==19034== Releasing lock...
[2025-01-13 16:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:14:24] Production.INFO: count ==6014
[2025-01-13 16:14:27] Production.ERROR: pbx CDR StartTime 2025-01-13 13:14:05 - End Time 2025-01-13 16:14:05
[2025-01-13 16:14:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240095', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240095', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240095', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:14:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240095', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:14:27] Production.INFO: ProcessCDR(1,14240095,1,1,2)
[2025-01-13 16:14:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:14:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:14:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:14:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:14:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240095', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:14:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240095', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:14:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:14:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:14:31] Production.INFO: ==19042== Releasing lock...
[2025-01-13 16:14:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:14:31] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:15:01] Production.INFO: ==19097== Lock acquired, processing the job...
[2025-01-13 21:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:15:01] Production.INFO: neon service started
[2025-01-13 21:15:01] Production.INFO: neon service started
[2025-01-13 21:15:01] Production.INFO: ==19097== Releasing lock...
[2025-01-13 21:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:15:01] Production.INFO: ==19099== Lock acquired, processing the job...
[2025-01-13 16:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:15:02] Production.INFO: ==19099== Releasing lock...
[2025-01-13 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:15:02] Production.INFO: ==19101== Lock acquired, processing the job...
[2025-01-13 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:15:02] Production.INFO: ==19101== Releasing lock...
[2025-01-13 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:15:02] Production.INFO: ==19104== Lock acquired, processing the job...
[2025-01-13 16:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:15:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:15:02] Production.INFO: ==19106== Lock acquired, processing the job...
[2025-01-13 16:15:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:15:03] Production.INFO: ==19108== Lock acquired, processing the job...
[2025-01-13 16:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:15:03] Production.INFO: ==19110== Lock acquired, processing the job...
[2025-01-13 16:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:15:03] Production.INFO: ==19112== Lock acquired, processing the job...
[2025-01-13 16:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:15:03] Production.INFO: ==19106== Releasing lock...
[2025-01-13 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:15:03] Production.INFO: ==19114== Lock acquired, processing the job...
[2025-01-13 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:15:03] Production.INFO: Account Balance Start.
[2025-01-13 16:15:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:15:03] Production.INFO: 117
[2025-01-13 16:15:03] Production.INFO: Date 2025-01-08
[2025-01-13 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-13 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:15:03] Production.INFO: count ==21
[2025-01-13 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-13 16:15:03] Production.INFO: count ==21
[2025-01-13 16:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240099') start
[2025-01-13 16:15:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:15:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:15:03] Production.ERROR: done
[2025-01-13 16:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:15:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240099') end
[2025-01-13 16:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:15:03] Production.INFO: 1
[2025-01-13 16:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:15:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:15:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:15:03] Production.INFO: ==19114== Releasing lock...
[2025-01-13 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:15:03] Production.INFO: Total Charge 0
[2025-01-13 16:15:03] Production.INFO: CreateAllLog End
[2025-01-13 16:15:03] Production.ERROR: done
[2025-01-13 16:15:03] Production.INFO: Account Balance End.
[2025-01-13 16:15:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:15:04] Production.INFO: ==19110== Releasing lock...
[2025-01-13 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:15:04
[end_date_ymd] => 2025-01-13 16:15:04
[RateCDR] => 1
)
[2025-01-13 16: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-13 13:15:04' and `end` < '2025-01-13 16: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-13 16:15:12] Production.ERROR: CronJobId end10
[2025-01-13 16:15:12] Production.INFO: ==19108== Releasing lock...
[2025-01-13 16:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:15:13] Production.INFO: call_cost start
[2025-01-13 16:15:13] Production.INFO: call_cost end
[2025-01-13 16:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:15:13] Production.INFO: ==19104== Releasing lock...
[2025-01-13 16:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:15:25] Production.INFO: count ==6009
[2025-01-13 16:15:27] Production.ERROR: pbx CDR StartTime 2025-01-13 13:15:04 - End Time 2025-01-13 16:15:04
[2025-01-13 16:15:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:15:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240100', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:15:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240100', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:15:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240100', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:15:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240100', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:15:27] Production.INFO: ProcessCDR(1,14240100,1,1,2)
[2025-01-13 16:15:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:15:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:15:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:15:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:15:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240100', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:15:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240100', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:15:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:15:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:15:31] Production.INFO: ==19112== Releasing lock...
[2025-01-13 16:15:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:15:31] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:16:01] Production.INFO: ==19168== Lock acquired, processing the job...
[2025-01-13 21:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:16:01] Production.INFO: neon service started
[2025-01-13 21:16:01] Production.INFO: neon service started
[2025-01-13 21:16:01] Production.INFO: ==19168== Releasing lock...
[2025-01-13 21:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:16:02] Production.INFO: ==19172== Lock acquired, processing the job...
[2025-01-13 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:16:02] Production.INFO: ==19172== Releasing lock...
[2025-01-13 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:16:02] Production.INFO: ==19170== Lock acquired, processing the job...
[2025-01-13 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:16:02] Production.INFO: ==19170== Releasing lock...
[2025-01-13 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:16:03] Production.INFO: ==19181== Lock acquired, processing the job...
[2025-01-13 16:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:16:03] Production.INFO: Account Balance Start.
[2025-01-13 16:16:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:16:03] Production.INFO: 117
[2025-01-13 16:16:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:16:03] Production.INFO: ==19185== Lock acquired, processing the job...
[2025-01-13 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:16:03] Production.INFO: ==19175== Lock acquired, processing the job...
[2025-01-13 16:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:16:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:16:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:16:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 16:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:16:03] Production.INFO: ==19179== Lock acquired, processing the job...
[2025-01-13 16:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:16:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:16:03] Production.INFO: count ==21
[2025-01-13 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-13 16:16:03] Production.INFO: count ==21
[2025-01-13 16:16:03] Production.INFO: ==19177== Lock acquired, processing the job...
[2025-01-13 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240102') start
[2025-01-13 16:16:03] Production.INFO: ==19183== Lock acquired, processing the job...
[2025-01-13 16:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:16:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:16:03] Production.INFO: Total Charge 0
[2025-01-13 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240102') end
[2025-01-13 16:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:16:03] Production.INFO: 1
[2025-01-13 16:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:16:03] Production.INFO: CreateAllLog End
[2025-01-13 16:16:04] Production.INFO: ==19185== Releasing lock...
[2025-01-13 16:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:16:04] Production.ERROR: done
[2025-01-13 16:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:16:04] Production.ERROR: done
[2025-01-13 16:16:04] Production.INFO: ==19177== Releasing lock...
[2025-01-13 16:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:16:04] Production.INFO: Account Balance End.
[2025-01-13 16:16:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:16:04] Production.INFO: ==19181== Releasing lock...
[2025-01-13 16:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:16:05
[end_date_ymd] => 2025-01-13 16:16:05
[RateCDR] => 1
)
[2025-01-13 16:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:16:05' and `end` < '2025-01-13 16:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:16:13] Production.ERROR: CronJobId end10
[2025-01-13 16:16:13] Production.INFO: ==19179== Releasing lock...
[2025-01-13 16:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:16:14] Production.INFO: call_cost start
[2025-01-13 16:16:14] Production.INFO: call_cost end
[2025-01-13 16:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:16:14] Production.INFO: ==19175== Releasing lock...
[2025-01-13 16:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:16:18] Production.INFO: count ==5994
[2025-01-13 16:16:21] Production.ERROR: pbx CDR StartTime 2025-01-13 13:16:05 - End Time 2025-01-13 16:16:05
[2025-01-13 16:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240105', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240105', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240105', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240105', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:16:21] Production.INFO: ProcessCDR(1,14240105,1,1,2)
[2025-01-13 16:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:16:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:16:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:16:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240105', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240105', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:16:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:16:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:16:26] Production.INFO: ==19183== Releasing lock...
[2025-01-13 16:16:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:16:26] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:17:02] Production.INFO: ==19239== Lock acquired, processing the job...
[2025-01-13 21:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:17:02] Production.INFO: neon service started
[2025-01-13 21:17:02] Production.INFO: neon service started
[2025-01-13 21:17:02] Production.INFO: ==19239== Releasing lock...
[2025-01-13 21:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:17:02] Production.INFO: ==19241== Lock acquired, processing the job...
[2025-01-13 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:17:02] Production.INFO: ==19243== Lock acquired, processing the job...
[2025-01-13 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:17:03] Production.INFO: ==19243== Releasing lock...
[2025-01-13 21:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:17:03] Production.INFO: ==19241== Releasing lock...
[2025-01-13 16:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:17:03] Production.INFO: ==19250== Lock acquired, processing the job...
[2025-01-13 16:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:17:04] Production.INFO: ==19246== Lock acquired, processing the job...
[2025-01-13 16:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:17:04] Production.INFO: ==19248== Lock acquired, processing the job...
[2025-01-13 16:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:17:04] Production.INFO: ==19252== Lock acquired, processing the job...
[2025-01-13 16:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:17:04] Production.INFO: ==19256== Lock acquired, processing the job...
[2025-01-13 16:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:17:04] Production.INFO: ==19254== Lock acquired, processing the job...
[2025-01-13 16:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:17:04] Production.INFO: Account Balance Start.
[2025-01-13 16:17:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:17:04] Production.INFO: 117
[2025-01-13 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-13 16:17:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:17:04] Production.INFO: count ==21
[2025-01-13 16:17:04] Production.INFO: ==19248== Releasing lock...
[2025-01-13 16:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:17:04] Production.INFO: Date 2025-01-09
[2025-01-13 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-13 16:17:04] Production.INFO: count ==21
[2025-01-13 16:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:17:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240108') start
[2025-01-13 16:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:17:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:17:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:17:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:17:05] Production.INFO: Date 2025-01-13
[2025-01-13 16:17:05] Production.INFO: Reseller ==> 0
[2025-01-13 16:17:05] Production.ERROR: PBX CALL prc_importPBXExtension('14240108') end
[2025-01-13 16:17:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:17:05] Production.INFO: 1
[2025-01-13 16:17:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:17:05] Production.ERROR: done
[2025-01-13 16:17:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:17:05] Production.INFO: ==19256== Releasing lock...
[2025-01-13 16:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:17:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:17:05] Production.INFO: Total Charge 0
[2025-01-13 16:17:05] Production.INFO: CreateAllLog End
[2025-01-13 16:17:05] Production.ERROR: done
[2025-01-13 16:17:05] Production.INFO: Account Balance End.
[2025-01-13 16:17:05] Production.ERROR: CronJobId end 12
[2025-01-13 16:17:05] Production.INFO: ==19252== Releasing lock...
[2025-01-13 16:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:17:06
[end_date_ymd] => 2025-01-13 16:17:06
[RateCDR] => 1
)
[2025-01-13 16:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:17:06' and `end` < '2025-01-13 16:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:17:13] Production.ERROR: CronJobId end10
[2025-01-13 16:17:13] Production.INFO: ==19250== Releasing lock...
[2025-01-13 16:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:17:13] Production.INFO: call_cost start
[2025-01-13 16:17:13] Production.INFO: call_cost end
[2025-01-13 16:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:17:14] Production.INFO: ==19246== Releasing lock...
[2025-01-13 16:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:17:36] Production.INFO: count ==5988
[2025-01-13 16:17:39] Production.ERROR: pbx CDR StartTime 2025-01-13 13:17:06 - End Time 2025-01-13 16:17:06
[2025-01-13 16:17:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:17:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240110', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:17:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240110', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:17:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240110', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:17:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240110', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:17:39] Production.INFO: ProcessCDR(1,14240110,1,1,2)
[2025-01-13 16:17:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:17:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:17:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:17:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:17:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240110', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:17:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240110', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:17:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:17:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:17:44] Production.INFO: ==19254== Releasing lock...
[2025-01-13 16:17:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:17:44] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 21:18:01] Production.INFO: ==19319== Lock acquired, processing the job...
[2025-01-13 21:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:18:01] Production.INFO: neon service started
[2025-01-13 21:18:01] Production.INFO: neon service started
[2025-01-13 21:18:01] Production.INFO: ==19319== Releasing lock...
[2025-01-13 21:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:18:02] Production.INFO: ==19321== Lock acquired, processing the job...
[2025-01-13 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:18:02] Production.INFO: ==19323== Lock acquired, processing the job...
[2025-01-13 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:18:02] Production.INFO: ==19323== Releasing lock...
[2025-01-13 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:18:02] Production.INFO: ==19321== Releasing lock...
[2025-01-13 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:18:03] Production.INFO: ==19332== Lock acquired, processing the job...
[2025-01-13 16:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:18:03] Production.INFO: ==19336== Lock acquired, processing the job...
[2025-01-13 16:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:18:03] Production.INFO: Account Balance Start.
[2025-01-13 16:18:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:18:03] Production.INFO: 117
[2025-01-13 16:18:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:18:03] Production.INFO: ==19326== Lock acquired, processing the job...
[2025-01-13 16:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 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-13 16:18:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:18:03] Production.INFO: count ==21
[2025-01-13 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-13 16:18:03] Production.INFO: count ==21
[2025-01-13 16:18:03] Production.INFO: ==19330== Lock acquired, processing the job...
[2025-01-13 16:18:03] Production.INFO: ==19328== Lock acquired, processing the job...
[2025-01-13 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240112') start
[2025-01-13 16:18:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:18:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:18:03] Production.INFO: ==19334== Lock acquired, processing the job...
[2025-01-13 16:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240112') end
[2025-01-13 16:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:18:03] Production.INFO: 1
[2025-01-13 16:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:18:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:18:03] Production.INFO: ==19336== Releasing lock...
[2025-01-13 16:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:18:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:18:03] Production.INFO: Total Charge 0
[2025-01-13 16:18:04] Production.INFO: CreateAllLog End
[2025-01-13 16:18:04] Production.INFO: ==19328== Releasing lock...
[2025-01-13 16:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:18:04] Production.ERROR: done
[2025-01-13 16:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:18:04] Production.INFO: Account Balance End.
[2025-01-13 16:18:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:18:04] Production.INFO: ==19332== Releasing lock...
[2025-01-13 16:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:18:04] Production.ERROR: done
[2025-01-13 16:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:18:05
[end_date_ymd] => 2025-01-13 16:18:05
[RateCDR] => 1
)
[2025-01-13 16:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:18:05' and `end` < '2025-01-13 16:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:18:12] Production.ERROR: CronJobId end10
[2025-01-13 16:18:12] Production.INFO: ==19330== Releasing lock...
[2025-01-13 16:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:18:13] Production.INFO: call_cost start
[2025-01-13 16:18:13] Production.INFO: call_cost end
[2025-01-13 16:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:18:14] Production.INFO: ==19326== Releasing lock...
[2025-01-13 16:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:18:35] Production.INFO: count ==5995
[2025-01-13 16:18:37] Production.ERROR: pbx CDR StartTime 2025-01-13 13:18:05 - End Time 2025-01-13 16:18:05
[2025-01-13 16:18:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:18:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240115', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:18:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240115', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:18:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240115', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:18:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240115', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:18:37] Production.INFO: ProcessCDR(1,14240115,1,1,2)
[2025-01-13 16:18:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:18:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:18:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:18:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:18:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240115', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:18:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240115', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:18:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:18:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:18:42] Production.INFO: ==19334== Releasing lock...
[2025-01-13 16:18:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:18:42] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:19:02] Production.INFO: ==19429== Lock acquired, processing the job...
[2025-01-13 21:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:19:02] Production.INFO: neon service started
[2025-01-13 21:19:02] Production.INFO: neon service started
[2025-01-13 21:19:02] Production.INFO: ==19429== Releasing lock...
[2025-01-13 21:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:19:02] Production.INFO: ==19431== Lock acquired, processing the job...
[2025-01-13 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:19:02] Production.INFO: ==19433== Lock acquired, processing the job...
[2025-01-13 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:19:02] Production.INFO: ==19433== Releasing lock...
[2025-01-13 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:19:03] Production.INFO: ==19431== Releasing lock...
[2025-01-13 16:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:19:03] Production.INFO: ==19438== Lock acquired, processing the job...
[2025-01-13 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:19:03] Production.INFO: ==19436== Lock acquired, processing the job...
[2025-01-13 16:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:19:03] Production.INFO: ==19444== Lock acquired, processing the job...
[2025-01-13 16:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:19:04] Production.INFO: ==19440== Lock acquired, processing the job...
[2025-01-13 16:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:19:04] Production.INFO: ==19442== Lock acquired, processing the job...
[2025-01-13 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:19:04] Production.INFO: ==19446== Lock acquired, processing the job...
[2025-01-13 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:19:04] Production.INFO: ==19438== Releasing lock...
[2025-01-13 16:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:19:04] Production.INFO: Account Balance Start.
[2025-01-13 16:19:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:19:04] Production.INFO: 117
[2025-01-13 16:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:19:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:19:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:19:04] Production.INFO: count ==21
[2025-01-13 16:19:04] Production.ERROR: done
[2025-01-13 16:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:19:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:19:04] Production.INFO: count ==21
[2025-01-13 16:19:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240119') start
[2025-01-13 16:19:04] Production.ERROR: done
[2025-01-13 16:19:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:19:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240119') end
[2025-01-13 16:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:19:04] Production.INFO: 1
[2025-01-13 16:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:19:04] Production.INFO: Total Charge 0
[2025-01-13 16:19:04] Production.INFO: CreateAllLog End
[2025-01-13 16:19:04] Production.INFO: ==19446== Releasing lock...
[2025-01-13 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:19:04] Production.INFO: Account Balance End.
[2025-01-13 16:19:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:19:04] Production.INFO: ==19442== Releasing lock...
[2025-01-13 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:19:05
[end_date_ymd] => 2025-01-13 16:19:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:19:05' and `end` < '2025-01-13 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-13 16:19:11] Production.ERROR: CronJobId end10
[2025-01-13 16:19:11] Production.INFO: ==19440== Releasing lock...
[2025-01-13 16:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:19:13] Production.INFO: call_cost start
[2025-01-13 16:19:13] Production.INFO: call_cost end
[2025-01-13 16:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:19:13] Production.INFO: ==19436== Releasing lock...
[2025-01-13 16:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:19:23] Production.INFO: count ==5994
[2025-01-13 16:19:25] Production.ERROR: pbx CDR StartTime 2025-01-13 13:19:05 - End Time 2025-01-13 16:19:05
[2025-01-13 16:19:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240120', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240120', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240120', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:19:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240120', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:19:25] Production.INFO: ProcessCDR(1,14240120,1,1,2)
[2025-01-13 16:19:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:19:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:19:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:19:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:19:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240120', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:19:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240120', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:19:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:19:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:19:30] Production.INFO: ==19444== Releasing lock...
[2025-01-13 16:19:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:19:30] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:20:01] Production.INFO: ==19499== Lock acquired, processing the job...
[2025-01-13 21:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:20:01] Production.INFO: neon service started
[2025-01-13 21:20:01] Production.INFO: neon service started
[2025-01-13 21:20:01] Production.INFO: ==19499== Releasing lock...
[2025-01-13 21:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:20:01] Production.INFO: ==19501== Lock acquired, processing the job...
[2025-01-13 16:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:20:02] Production.INFO: ==19503== Lock acquired, processing the job...
[2025-01-13 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:20:02] Production.INFO: ==19501== Releasing lock...
[2025-01-13 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:20:02] Production.INFO: ==19503== Releasing lock...
[2025-01-13 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:20:03] Production.INFO: ==19510== Lock acquired, processing the job...
[2025-01-13 16:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:20:03] Production.INFO: ==19518== Lock acquired, processing the job...
[2025-01-13 16:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 16:20:03] Production.INFO: ==19506== Lock acquired, processing the job...
[2025-01-13 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 16:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:20:03] Production.INFO: ==19520== Lock acquired, processing the job...
[2025-01-13 16:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:20:03] Production.INFO: ==19508== Lock acquired, processing the job...
[2025-01-13 16:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 16:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 16:20:03] Production.ERROR: CronJob PID - 19510
[2025-01-13 16:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-13 16:20:03] Production.ERROR: CronJob ID - 7
[2025-01-13 16:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 16:20:00
[2025-01-13 16:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 16:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 16:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 16:20:03] Production.ERROR: CronJob PID - 19518
[2025-01-13 16:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-13 16:20:03] Production.ERROR: CronJob ID - 17
[2025-01-13 16:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 16:20:00
[2025-01-13 16:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 16:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 16:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-13 16:20:03] Production.ERROR: CronJob PID - 19520
[2025-01-13 16:20:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-13 16:20:03] Production.ERROR: CronJob ID - 19
[2025-01-13 16:20:03] Production.ERROR: CronJob Last Run Time 2025-01-13 16:20:00
[2025-01-13 16:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-13 16:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-13 16:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 16:20:03] Production.INFO: ==19506== Releasing lock...
[2025-01-13 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 16:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 16:20:03] Production.INFO: ==19512== Lock acquired, processing the job...
[2025-01-13 16:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:20:03] Production.INFO: ==19514== Lock acquired, processing the job...
[2025-01-13 16:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:20:03] Production.INFO: ==19516== Lock acquired, processing the job...
[2025-01-13 16:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 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-13 16:20:03] Production.INFO: ==19510== Releasing lock...
[2025-01-13 16:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:20:03] Production.INFO: count ==21
[2025-01-13 16:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 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-13 16:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:20:03] Production.INFO: count ==21
[2025-01-13 16:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:20:03] Production.INFO: Account Balance Start.
[2025-01-13 16:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240122') start
[2025-01-13 16:20:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:20:03] Production.INFO: 117
[2025-01-13 16:20:03] Production.ERROR: done
[2025-01-13 16:20:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:20:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:20:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 16:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14240125', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240122') end
[2025-01-13 16:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:20:04] Production.INFO: 1
[2025-01-13 16:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:20:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:20:04] Production.ERROR: done
[2025-01-13 16:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:20:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:20:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:20:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:20:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:20:04] Production.INFO: ==19520== Releasing lock...
[2025-01-13 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:20:04] Production.INFO: Total Charge 0
[2025-01-13 16:20:04] Production.INFO: CreateAllLog End
[2025-01-13 16:20:04] Production.ERROR: done
[2025-01-13 16:20:04] Production.INFO: Account Balance End.
[2025-01-13 16:20:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:20:04] Production.INFO: ==19514== Releasing lock...
[2025-01-13 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:20:05
[end_date_ymd] => 2025-01-13 16:20:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:20:05' and `end` < '2025-01-13 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-13 16:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14240125', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 16:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 16:20:08] Production.INFO: ProcessCDR(1,14240125,1,1,2)
[2025-01-13 16:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14240125,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14240125,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:20:08] Production.INFO: ==19518== Releasing lock...
[2025-01-13 16:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 16:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-13 16:20:12] Production.ERROR: CronJobId end10
[2025-01-13 16:20:12] Production.INFO: ==19512== Releasing lock...
[2025-01-13 16:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:20:14] Production.INFO: call_cost start
[2025-01-13 16:20:14] Production.INFO: call_cost end
[2025-01-13 16:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:20:15] Production.INFO: ==19508== Releasing lock...
[2025-01-13 16:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:20:26] Production.INFO: count ==5994
[2025-01-13 16:20:29] Production.ERROR: pbx CDR StartTime 2025-01-13 13:20:05 - End Time 2025-01-13 16:20:05
[2025-01-13 16:20:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240126', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240126', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240126', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:20:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240126', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:20:29] Production.INFO: ProcessCDR(1,14240126,1,1,2)
[2025-01-13 16:20:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:20:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:20:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:20:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:20:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240126', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:20:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240126', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:20:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:20:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:20:33] Production.INFO: ==19516== Releasing lock...
[2025-01-13 16:20:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:20:33] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:21:01] Production.INFO: ==19577== Lock acquired, processing the job...
[2025-01-13 21:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:21:01] Production.INFO: neon service started
[2025-01-13 21:21:02] Production.INFO: neon service started
[2025-01-13 21:21:02] Production.INFO: ==19577== Releasing lock...
[2025-01-13 21:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:21:02] Production.INFO: ==19579== Lock acquired, processing the job...
[2025-01-13 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:21:02] Production.INFO: ==19579== Releasing lock...
[2025-01-13 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:21:02] Production.INFO: ==19581== Lock acquired, processing the job...
[2025-01-13 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:21:02] Production.INFO: ==19581== Releasing lock...
[2025-01-13 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:21:03] Production.INFO: ==19583== Lock acquired, processing the job...
[2025-01-13 16:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:21:03] Production.INFO: ==19585== Lock acquired, processing the job...
[2025-01-13 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:21:03] Production.INFO: ==19590== Lock acquired, processing the job...
[2025-01-13 16:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:21:03] Production.INFO: ==19587== Lock acquired, processing the job...
[2025-01-13 16:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:21:03] Production.INFO: Account Balance Start.
[2025-01-13 16:21:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:21:03] Production.INFO: 117
[2025-01-13 16:21:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:21:03] Production.INFO: ==19592== Lock acquired, processing the job...
[2025-01-13 16:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:21:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:21:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:21:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:21:03] Production.INFO: ==19594== Lock acquired, processing the job...
[2025-01-13 16:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:21:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:21:03] Production.INFO: ==19585== Releasing lock...
[2025-01-13 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:21:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:21:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:21:03] Production.INFO: Total Charge 0
[2025-01-13 16:21:03] Production.INFO: CreateAllLog End
[2025-01-13 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-13 16:21:04] Production.ERROR: done
[2025-01-13 16:21:04] Production.INFO: count ==21
[2025-01-13 16:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:21:04] Production.INFO: count ==21
[2025-01-13 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240130') start
[2025-01-13 16:21:04] Production.ERROR: done
[2025-01-13 16:21:04] Production.INFO: Account Balance End.
[2025-01-13 16:21:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:21:04] Production.INFO: ==19590== Releasing lock...
[2025-01-13 16:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240130') end
[2025-01-13 16:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:21:04] Production.INFO: 1
[2025-01-13 16:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:21:04] Production.INFO: ==19594== Releasing lock...
[2025-01-13 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:21:05
[end_date_ymd] => 2025-01-13 16:21:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:21:05' and `end` < '2025-01-13 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-13 16:21:11] Production.ERROR: CronJobId end10
[2025-01-13 16:21:11] Production.INFO: ==19587== Releasing lock...
[2025-01-13 16:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:21:13] Production.INFO: call_cost start
[2025-01-13 16:21:13] Production.INFO: call_cost end
[2025-01-13 16:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:21:14] Production.INFO: ==19583== Releasing lock...
[2025-01-13 16:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:21:25] Production.INFO: count ==5992
[2025-01-13 16:21:28] Production.ERROR: pbx CDR StartTime 2025-01-13 13:21:05 - End Time 2025-01-13 16:21:05
[2025-01-13 16:21:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:21:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240131', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:21:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240131', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:21:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240131', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:21:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240131', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:21:28] Production.INFO: ProcessCDR(1,14240131,1,1,2)
[2025-01-13 16:21:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:21:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:21:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:21:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240131', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240131', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:21:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:21:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:21:32] Production.INFO: ==19592== Releasing lock...
[2025-01-13 16:21:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:21:32] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:22:01] Production.INFO: ==19650== Lock acquired, processing the job...
[2025-01-13 21:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:22:01] Production.INFO: neon service started
[2025-01-13 21:22:01] Production.INFO: neon service started
[2025-01-13 21:22:01] Production.INFO: ==19650== Releasing lock...
[2025-01-13 21:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:22:01] Production.INFO: ==19652== Lock acquired, processing the job...
[2025-01-13 16:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:22:01] Production.INFO: ==19652== Releasing lock...
[2025-01-13 16:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:22:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:22:02] Production.INFO: ==19654== Lock acquired, processing the job...
[2025-01-13 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:22:02] Production.INFO: ==19654== Releasing lock...
[2025-01-13 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:22:02] Production.INFO: ==19664== Lock acquired, processing the job...
[2025-01-13 16:22:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:22:02] Production.INFO: ==19666== Lock acquired, processing the job...
[2025-01-13 16:22:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:22:03] Production.INFO: ==19656== Lock acquired, processing the job...
[2025-01-13 16:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:22:03] Production.INFO: ==19658== Lock acquired, processing the job...
[2025-01-13 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:22:03] Production.INFO: ==19660== Lock acquired, processing the job...
[2025-01-13 16:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:22:03] Production.INFO: count ==21
[2025-01-13 16:22:03] Production.INFO: ==19662== Lock acquired, processing the job...
[2025-01-13 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:22:03] Production.INFO: count ==21
[2025-01-13 16:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240132') start
[2025-01-13 16:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240132') end
[2025-01-13 16:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:22:03] Production.INFO: 1
[2025-01-13 16:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:22:03] Production.INFO: Account Balance Start.
[2025-01-13 16:22:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:22:03] Production.INFO: 117
[2025-01-13 16:22:03] Production.INFO: ==19666== Releasing lock...
[2025-01-13 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:22:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:22:03] Production.ERROR: done
[2025-01-13 16:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:22:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:22:03] Production.ERROR: done
[2025-01-13 16:22:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:22:03] Production.INFO: ==19658== Releasing lock...
[2025-01-13 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:22:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:22:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:22:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:22:03] Production.INFO: Total Charge 0
[2025-01-13 16:22:03] Production.INFO: CreateAllLog End
[2025-01-13 16:22:03] Production.INFO: Account Balance End.
[2025-01-13 16:22:03] Production.ERROR: CronJobId end 12
[2025-01-13 16:22:03] Production.INFO: ==19662== Releasing lock...
[2025-01-13 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:22:04
[end_date_ymd] => 2025-01-13 16:22:04
[RateCDR] => 1
)
[2025-01-13 16:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:22:04' and `end` < '2025-01-13 16:22:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:22:11] Production.ERROR: CronJobId end10
[2025-01-13 16:22:11] Production.INFO: ==19660== Releasing lock...
[2025-01-13 16:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:22:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:22:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:22:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:22:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:22:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:22:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:22:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:22:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:22:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:22:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:22:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:22:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:22:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:22:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:22:12] Production.INFO: call_cost start
[2025-01-13 16:22:12] Production.INFO: call_cost end
[2025-01-13 16:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:22:13] Production.INFO: ==19656== Releasing lock...
[2025-01-13 16:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:22:21] Production.INFO: count ==6002
[2025-01-13 16:22:23] Production.ERROR: pbx CDR StartTime 2025-01-13 13:22:04 - End Time 2025-01-13 16:22:04
[2025-01-13 16:22:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240136', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240136', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240136', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:22:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240136', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:22:24] Production.INFO: ProcessCDR(1,14240136,1,1,2)
[2025-01-13 16:22:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:22:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:22:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:22:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:22:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240136', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:22:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240136', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:22:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:22:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:22:28] Production.INFO: ==19664== Releasing lock...
[2025-01-13 16:22:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:22:28] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:23:01] Production.INFO: ==19719== Lock acquired, processing the job...
[2025-01-13 21:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:23:01] Production.INFO: neon service started
[2025-01-13 21:23:01] Production.INFO: neon service started
[2025-01-13 21:23:01] Production.INFO: ==19719== Releasing lock...
[2025-01-13 21:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:23:02] Production.INFO: ==19723== Lock acquired, processing the job...
[2025-01-13 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:23:02] Production.INFO: ==19723== Releasing lock...
[2025-01-13 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:23:02] Production.INFO: ==19721== Lock acquired, processing the job...
[2025-01-13 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:23:02] Production.INFO: ==19721== Releasing lock...
[2025-01-13 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:23:03] Production.INFO: ==19726== Lock acquired, processing the job...
[2025-01-13 16:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:23:03] Production.INFO: ==19728== Lock acquired, processing the job...
[2025-01-13 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:23:03] Production.INFO: ==19730== Lock acquired, processing the job...
[2025-01-13 16:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:23:03] Production.INFO: ==19732== Lock acquired, processing the job...
[2025-01-13 16:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:23:03] Production.INFO: ==19728== Releasing lock...
[2025-01-13 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:23:03] Production.INFO: ==19734== Lock acquired, processing the job...
[2025-01-13 16:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:23:03] Production.INFO: ==19736== Lock acquired, processing the job...
[2025-01-13 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:23:03] Production.INFO: Account Balance Start.
[2025-01-13 16:23:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:23:03] Production.INFO: 117
[2025-01-13 16:23:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:23:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:23:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:23:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:23:04] Production.INFO: count ==21
[2025-01-13 16:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:23:04] Production.INFO: count ==21
[2025-01-13 16:23:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:23:04] Production.ERROR: done
[2025-01-13 16:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240140') start
[2025-01-13 16:23:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240140') end
[2025-01-13 16:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:23:04] Production.INFO: 1
[2025-01-13 16:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:23:04] Production.ERROR: done
[2025-01-13 16:23:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:23:04] Production.INFO: ==19736== Releasing lock...
[2025-01-13 16:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:23:04] Production.INFO: Total Charge 0
[2025-01-13 16:23:04] Production.INFO: CreateAllLog End
[2025-01-13 16:23:04] Production.INFO: Account Balance End.
[2025-01-13 16:23:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:23:04] Production.INFO: ==19732== Releasing lock...
[2025-01-13 16:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:23:05
[end_date_ymd] => 2025-01-13 16:23:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:23:05' and `end` < '2025-01-13 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-13 16:23:11] Production.ERROR: CronJobId end10
[2025-01-13 16:23:11] Production.INFO: ==19730== Releasing lock...
[2025-01-13 16:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:23:13] Production.INFO: call_cost start
[2025-01-13 16:23:13] Production.INFO: call_cost end
[2025-01-13 16:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:23:14] Production.INFO: ==19726== Releasing lock...
[2025-01-13 16:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:23:20] Production.INFO: count ==6005
[2025-01-13 16:23:23] Production.ERROR: pbx CDR StartTime 2025-01-13 13:23:05 - End Time 2025-01-13 16:23:05
[2025-01-13 16:23:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240141', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240141', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240141', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240141', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:23:23] Production.INFO: ProcessCDR(1,14240141,1,1,2)
[2025-01-13 16:23:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:23:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:23:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:23:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240141', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240141', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:23:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:23:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:23:27] Production.INFO: ==19734== Releasing lock...
[2025-01-13 16:23:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:23:27] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:24:02] Production.INFO: ==19794== Lock acquired, processing the job...
[2025-01-13 21:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:24:02] Production.INFO: neon service started
[2025-01-13 21:24:02] Production.INFO: neon service started
[2025-01-13 21:24:02] Production.INFO: ==19794== Releasing lock...
[2025-01-13 21:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:24:02] Production.INFO: ==19796== Lock acquired, processing the job...
[2025-01-13 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:24:02] Production.INFO: ==19798== Lock acquired, processing the job...
[2025-01-13 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:24:02] Production.INFO: ==19798== Releasing lock...
[2025-01-13 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:24:03] Production.INFO: ==19796== Releasing lock...
[2025-01-13 16:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:24:03] Production.INFO: ==19803== Lock acquired, processing the job...
[2025-01-13 16:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:24:03] Production.INFO: ==19801== Lock acquired, processing the job...
[2025-01-13 16:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:24:03] Production.INFO: ==19807== Lock acquired, processing the job...
[2025-01-13 16:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:24:04] Production.INFO: ==19805== Lock acquired, processing the job...
[2025-01-13 16:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:24:04] Production.INFO: Account Balance Start.
[2025-01-13 16:24:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:24:04] Production.INFO: 117
[2025-01-13 16:24:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:24:04] Production.INFO: ==19809== Lock acquired, processing the job...
[2025-01-13 16:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:24:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:24:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:24:04] Production.INFO: ==19811== Lock acquired, processing the job...
[2025-01-13 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:24:04] Production.INFO: ==19803== Releasing lock...
[2025-01-13 16:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:24:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:24:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:24:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:24:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 16:24:04] Production.INFO: count ==21
[2025-01-13 16:24:04] Production.ERROR: done
[2025-01-13 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-13 16:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:24:04] Production.INFO: count ==21
[2025-01-13 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240145') start
[2025-01-13 16:24:04] Production.INFO: Total Charge 0
[2025-01-13 16:24:04] Production.INFO: CreateAllLog End
[2025-01-13 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240145') end
[2025-01-13 16:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:24:04] Production.INFO: 1
[2025-01-13 16:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:24:04] Production.INFO: ==19811== Releasing lock...
[2025-01-13 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:24:04] Production.ERROR: done
[2025-01-13 16:24:05] Production.INFO: Account Balance End.
[2025-01-13 16:24:05] Production.ERROR: CronJobId end 12
[2025-01-13 16:24:05] Production.INFO: ==19807== Releasing lock...
[2025-01-13 16:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:24:05
[end_date_ymd] => 2025-01-13 16:24:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:24:05' and `end` < '2025-01-13 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-13 16:24:12] Production.ERROR: CronJobId end10
[2025-01-13 16:24:12] Production.INFO: ==19805== Releasing lock...
[2025-01-13 16:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:24:14] Production.INFO: call_cost start
[2025-01-13 16:24:14] Production.INFO: call_cost end
[2025-01-13 16:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:24:15] Production.INFO: ==19801== Releasing lock...
[2025-01-13 16:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:24:24] Production.INFO: count ==5988
[2025-01-13 16:24:27] Production.ERROR: pbx CDR StartTime 2025-01-13 13:24:05 - End Time 2025-01-13 16:24:05
[2025-01-13 16:24:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240146', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240146', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240146', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240146', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:24:27] Production.INFO: ProcessCDR(1,14240146,1,1,2)
[2025-01-13 16:24:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:24:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:24:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:24:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:24:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240146', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:24:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240146', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:24:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:24:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:24:32] Production.INFO: ==19809== Releasing lock...
[2025-01-13 16:24:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:24:32] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 21:25:01] Production.INFO: ==19866== Lock acquired, processing the job...
[2025-01-13 21:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:25:01] Production.INFO: neon service started
[2025-01-13 21:25:01] Production.INFO: neon service started
[2025-01-13 21:25:01] Production.INFO: ==19866== Releasing lock...
[2025-01-13 21:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:25:02] Production.INFO: ==19870== Lock acquired, processing the job...
[2025-01-13 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:25:02] Production.INFO: ==19870== Releasing lock...
[2025-01-13 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:25:02] Production.INFO: ==19868== Lock acquired, processing the job...
[2025-01-13 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:25:02] Production.INFO: ==19868== Releasing lock...
[2025-01-13 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:25:03] Production.INFO: ==19879== Lock acquired, processing the job...
[2025-01-13 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:25:03] Production.INFO: Account Balance Start.
[2025-01-13 16:25:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:25:03] Production.INFO: 117
[2025-01-13 16:25:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:25:03] Production.INFO: ==19883== Lock acquired, processing the job...
[2025-01-13 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:25:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:25:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:25:03] Production.INFO: ==19873== Lock acquired, processing the job...
[2025-01-13 16:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:25:03] Production.INFO: ==19881== Lock acquired, processing the job...
[2025-01-13 16:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:25:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 16:25:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:25:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:25:03] Production.INFO: count ==21
[2025-01-13 16:25:03] Production.INFO: ==19875== Lock acquired, processing the job...
[2025-01-13 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 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-13 16:25:03] Production.INFO: Total Charge 0
[2025-01-13 16:25:03] Production.INFO: count ==21
[2025-01-13 16:25:03] Production.INFO: CreateAllLog End
[2025-01-13 16:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240148') start
[2025-01-13 16:25:03] Production.INFO: ==19877== Lock acquired, processing the job...
[2025-01-13 16:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240148') end
[2025-01-13 16:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:25:03] Production.INFO: 1
[2025-01-13 16:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:25:03] Production.INFO: Account Balance End.
[2025-01-13 16:25:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:25:04] Production.INFO: ==19879== Releasing lock...
[2025-01-13 16:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:25:04] Production.INFO: ==19883== Releasing lock...
[2025-01-13 16:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:25:04] Production.ERROR: done
[2025-01-13 16:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:25:04] Production.INFO: ==19875== Releasing lock...
[2025-01-13 16:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:25:04] Production.ERROR: done
[2025-01-13 16:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:25:05
[end_date_ymd] => 2025-01-13 16:25:05
[RateCDR] => 1
)
[2025-01-13 16:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:25:05' and `end` < '2025-01-13 16:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:25:12] Production.ERROR: CronJobId end10
[2025-01-13 16:25:12] Production.INFO: ==19877== Releasing lock...
[2025-01-13 16:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:25:13] Production.INFO: call_cost start
[2025-01-13 16:25:13] Production.INFO: call_cost end
[2025-01-13 16:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:25:13] Production.INFO: ==19873== Releasing lock...
[2025-01-13 16:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:25:20] Production.INFO: count ==5977
[2025-01-13 16:25:23] Production.ERROR: pbx CDR StartTime 2025-01-13 13:25:05 - End Time 2025-01-13 16:25:05
[2025-01-13 16:25:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240151', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240151', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240151', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:25:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240151', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:25:23] Production.INFO: ProcessCDR(1,14240151,1,1,2)
[2025-01-13 16:25:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:25:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:25:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:25:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240151', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240151', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:25:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:25:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:25:28] Production.INFO: ==19881== Releasing lock...
[2025-01-13 16:25:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:25:28] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 21:26:02] Production.INFO: ==19938== Lock acquired, processing the job...
[2025-01-13 21:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:26:02] Production.INFO: neon service started
[2025-01-13 21:26:02] Production.INFO: neon service started
[2025-01-13 21:26:02] Production.INFO: ==19938== Releasing lock...
[2025-01-13 21:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:26:02] Production.INFO: ==19942== Lock acquired, processing the job...
[2025-01-13 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:26:02] Production.INFO: ==19942== Releasing lock...
[2025-01-13 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:26:02] Production.INFO: ==19940== Lock acquired, processing the job...
[2025-01-13 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:26:02] Production.INFO: ==19940== Releasing lock...
[2025-01-13 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:26:03] Production.INFO: ==19944== Lock acquired, processing the job...
[2025-01-13 16:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:26:03] Production.INFO: ==19948== Lock acquired, processing the job...
[2025-01-13 16:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:26:04] Production.INFO: ==19946== Lock acquired, processing the job...
[2025-01-13 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:26:04] Production.INFO: ==19950== Lock acquired, processing the job...
[2025-01-13 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:26:04] Production.INFO: ==19952== Lock acquired, processing the job...
[2025-01-13 16:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:26:04] Production.INFO: ==19954== Lock acquired, processing the job...
[2025-01-13 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:26:04] Production.INFO: Account Balance Start.
[2025-01-13 16:26:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:26:04] Production.INFO: 117
[2025-01-13 16:26:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:26:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 16:26:04] Production.INFO: count ==21
[2025-01-13 16:26:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 16:26:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:26:04] Production.INFO: count ==21
[2025-01-13 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240155') start
[2025-01-13 16:26:04] Production.INFO: ==19946== Releasing lock...
[2025-01-13 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:26:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:26:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:26:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:26:04] Production.INFO: Total Charge 0
[2025-01-13 16:26:04] Production.INFO: CreateAllLog End
[2025-01-13 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240155') end
[2025-01-13 16:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:26:04] Production.INFO: 1
[2025-01-13 16:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:26:04] Production.ERROR: done
[2025-01-13 16:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:26:04] Production.INFO: ==19954== Releasing lock...
[2025-01-13 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:26:05] Production.ERROR: done
[2025-01-13 16:26:05] Production.INFO: Account Balance End.
[2025-01-13 16:26:05] Production.ERROR: CronJobId end 12
[2025-01-13 16:26:05] Production.INFO: ==19950== Releasing lock...
[2025-01-13 16:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:26:05
[end_date_ymd] => 2025-01-13 16:26:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:26:05' and `end` < '2025-01-13 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-13 16:26:12] Production.ERROR: CronJobId end10
[2025-01-13 16:26:12] Production.INFO: ==19948== Releasing lock...
[2025-01-13 16:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:26:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:26:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:26:14] Production.INFO: call_cost start
[2025-01-13 16:26:14] Production.INFO: call_cost end
[2025-01-13 16:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:26:15] Production.INFO: ==19944== Releasing lock...
[2025-01-13 16:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:26:24] Production.INFO: count ==5969
[2025-01-13 16:26:26] Production.ERROR: pbx CDR StartTime 2025-01-13 13:26:05 - End Time 2025-01-13 16:26:05
[2025-01-13 16:26:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240156', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240156', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240156', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:26:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240156', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:26:26] Production.INFO: ProcessCDR(1,14240156,1,1,2)
[2025-01-13 16:26:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:26:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:26:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:26:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:26:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240156', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:26:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240156', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:26:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:26:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:26:31] Production.INFO: ==19952== Releasing lock...
[2025-01-13 16:26:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:26:31] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 21:27:01] Production.INFO: ==20030== Lock acquired, processing the job...
[2025-01-13 21:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:27:01] Production.INFO: neon service started
[2025-01-13 21:27:01] Production.INFO: neon service started
[2025-01-13 21:27:01] Production.INFO: ==20030== Releasing lock...
[2025-01-13 21:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:27:02] Production.INFO: ==20032== Lock acquired, processing the job...
[2025-01-13 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:27:02] Production.INFO: ==20034== Lock acquired, processing the job...
[2025-01-13 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 16:27:02] Production.INFO: ==20032== Releasing lock...
[2025-01-13 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:27:02] Production.INFO: ==20034== Releasing lock...
[2025-01-13 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:27:03] Production.INFO: ==20036== Lock acquired, processing the job...
[2025-01-13 16:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:27:03] Production.INFO: ==20042== Lock acquired, processing the job...
[2025-01-13 16:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:27:03] Production.INFO: ==20044== Lock acquired, processing the job...
[2025-01-13 16:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:27:03] Production.INFO: ==20038== Lock acquired, processing the job...
[2025-01-13 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:27:03] Production.INFO: ==20040== Lock acquired, processing the job...
[2025-01-13 16:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:27:03] Production.INFO: ==20046== Lock acquired, processing the job...
[2025-01-13 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:27:03] Production.INFO: Account Balance Start.
[2025-01-13 16:27:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:27:03] Production.INFO: 117
[2025-01-13 16:27:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:27:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 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-13 16:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:27:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:27:03] Production.INFO: count ==21
[2025-01-13 16:27:03] Production.INFO: Date 2025-01-11
[2025-01-13 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-13 16:27:03] Production.INFO: count ==21
[2025-01-13 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240160') start
[2025-01-13 16:27:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:27:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:27:03] Production.INFO: ==20038== Releasing lock...
[2025-01-13 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:27:03] Production.ERROR: done
[2025-01-13 16:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:27:03] Production.INFO: Total Charge 0
[2025-01-13 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240160') end
[2025-01-13 16:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:27:03] Production.INFO: 1
[2025-01-13 16:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:27:03] Production.INFO: CreateAllLog End
[2025-01-13 16:27:04] Production.INFO: ==20046== Releasing lock...
[2025-01-13 16:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:27:04] Production.ERROR: done
[2025-01-13 16:27:04] Production.INFO: Account Balance End.
[2025-01-13 16:27:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:27:04] Production.INFO: ==20042== Releasing lock...
[2025-01-13 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:27:05
[end_date_ymd] => 2025-01-13 16:27:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:27:05' and `end` < '2025-01-13 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-13 16:27:11] Production.ERROR: CronJobId end10
[2025-01-13 16:27:11] Production.INFO: ==20040== Releasing lock...
[2025-01-13 16:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:27:13] Production.INFO: call_cost start
[2025-01-13 16:27:13] Production.INFO: call_cost end
[2025-01-13 16:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:27:14] Production.INFO: ==20036== Releasing lock...
[2025-01-13 16:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:27:21] Production.INFO: count ==5972
[2025-01-13 16:27:24] Production.ERROR: pbx CDR StartTime 2025-01-13 13:27:05 - End Time 2025-01-13 16:27:05
[2025-01-13 16:27:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240161', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240161', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240161', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240161', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:27:24] Production.INFO: ProcessCDR(1,14240161,1,1,2)
[2025-01-13 16:27:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:27:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:27:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:27:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:27:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240161', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:27:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240161', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:27:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:27:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:27:28] Production.INFO: ==20044== Releasing lock...
[2025-01-13 16:27:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:27:28] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 21:28:02] Production.INFO: ==20100== Lock acquired, processing the job...
[2025-01-13 21:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:28:02] Production.INFO: neon service started
[2025-01-13 21:28:02] Production.INFO: neon service started
[2025-01-13 21:28:02] Production.INFO: ==20100== Releasing lock...
[2025-01-13 21:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:28:02] Production.INFO: ==20102== Lock acquired, processing the job...
[2025-01-13 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:28:02] Production.INFO: ==20102== Releasing lock...
[2025-01-13 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:28:03] Production.INFO: ==20104== Lock acquired, processing the job...
[2025-01-13 21:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:28:03] Production.INFO: ==20104== Releasing lock...
[2025-01-13 21:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:28:03] Production.INFO: ==20109== Lock acquired, processing the job...
[2025-01-13 16:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:28:03] Production.INFO: ==20107== Lock acquired, processing the job...
[2025-01-13 16:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:28:03] Production.INFO: ==20115== Lock acquired, processing the job...
[2025-01-13 16:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:28:03] Production.INFO: ==20117== Lock acquired, processing the job...
[2025-01-13 16:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:28:03] Production.INFO: ==20109== Releasing lock...
[2025-01-13 16:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:28:03] Production.INFO: ==20111== Lock acquired, processing the job...
[2025-01-13 16:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:28:03] Production.INFO: ==20113== Lock acquired, processing the job...
[2025-01-13 16:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:28:04] Production.INFO: Account Balance Start.
[2025-01-13 16:28:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:28:04] Production.INFO: 117
[2025-01-13 16:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:28:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:28:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:28:04] Production.ERROR: done
[2025-01-13 16:28:04] Production.INFO: Date 2025-01-10
[2025-01-13 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-13 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:28:04] Production.INFO: count ==21
[2025-01-13 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-13 16:28:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:28:04] Production.INFO: count ==21
[2025-01-13 16:28:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:28:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240165') start
[2025-01-13 16:28:04] Production.ERROR: done
[2025-01-13 16:28:04] Production.INFO: Total Charge 0
[2025-01-13 16:28:04] Production.INFO: CreateAllLog End
[2025-01-13 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240165') end
[2025-01-13 16:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:28:04] Production.INFO: 1
[2025-01-13 16:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:28:04] Production.INFO: Account Balance End.
[2025-01-13 16:28:04] Production.INFO: ==20117== Releasing lock...
[2025-01-13 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:28:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:28:04] Production.INFO: ==20113== Releasing lock...
[2025-01-13 16:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:28:05
[end_date_ymd] => 2025-01-13 16:28:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:28:05' and `end` < '2025-01-13 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-13 16:28:11] Production.ERROR: CronJobId end10
[2025-01-13 16:28:11] Production.INFO: ==20111== Releasing lock...
[2025-01-13 16:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:28:13] Production.INFO: call_cost start
[2025-01-13 16:28:13] Production.INFO: call_cost end
[2025-01-13 16:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:28:14] Production.INFO: ==20107== Releasing lock...
[2025-01-13 16:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:28:36] Production.INFO: count ==6013
[2025-01-13 16:28:38] Production.ERROR: pbx CDR StartTime 2025-01-13 13:28:05 - End Time 2025-01-13 16:28:05
[2025-01-13 16:28:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:28:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240166', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:28:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240166', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:28:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240166', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:28:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240166', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:28:38] Production.INFO: ProcessCDR(1,14240166,1,1,2)
[2025-01-13 16:28:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:28:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:28:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:28:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:28:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240166', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:28:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240166', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:28:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:28:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:28:43] Production.INFO: ==20115== Releasing lock...
[2025-01-13 16:28:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:28:43] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:29:01] Production.INFO: ==20170== Lock acquired, processing the job...
[2025-01-13 21:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:29:01] Production.INFO: neon service started
[2025-01-13 21:29:01] Production.INFO: neon service started
[2025-01-13 21:29:01] Production.INFO: ==20170== Releasing lock...
[2025-01-13 21:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:29:01] Production.INFO: ==20172== Lock acquired, processing the job...
[2025-01-13 16:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:29:02] Production.INFO: ==20172== Releasing lock...
[2025-01-13 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:29:02] Production.INFO: ==20174== Lock acquired, processing the job...
[2025-01-13 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:29:02] Production.INFO: ==20174== Releasing lock...
[2025-01-13 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:29:03] Production.INFO: ==20183== Lock acquired, processing the job...
[2025-01-13 16:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:29:03] Production.INFO: ==20179== Lock acquired, processing the job...
[2025-01-13 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:29:03] Production.INFO: Account Balance Start.
[2025-01-13 16:29:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:29:03] Production.INFO: 117
[2025-01-13 16:29:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:29:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:29:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:29:03] Production.INFO: ==20177== Lock acquired, processing the job...
[2025-01-13 16:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:29:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:29:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:29:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:29:03] Production.INFO: Total Charge 0
[2025-01-13 16:29:03] Production.INFO: CreateAllLog End
[2025-01-13 16:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:29:03] Production.INFO: ==20185== Lock acquired, processing the job...
[2025-01-13 16:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:29:03] Production.INFO: ==20181== Lock acquired, processing the job...
[2025-01-13 16:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:29:03] Production.INFO: ==20187== Lock acquired, processing the job...
[2025-01-13 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:29:03] Production.INFO: count ==21
[2025-01-13 16:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:29:03] Production.INFO: ==20179== Releasing lock...
[2025-01-13 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:29:03] Production.INFO: count ==21
[2025-01-13 16:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240170') start
[2025-01-13 16:29:03] Production.INFO: Account Balance End.
[2025-01-13 16:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240170') end
[2025-01-13 16:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:29:03] Production.INFO: 1
[2025-01-13 16:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:29:03] Production.ERROR: CronJobId end 12
[2025-01-13 16:29:03] Production.INFO: ==20183== Releasing lock...
[2025-01-13 16:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:29:03] Production.INFO: ==20187== Releasing lock...
[2025-01-13 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:29:03] Production.ERROR: done
[2025-01-13 16:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:29:03] Production.ERROR: done
[2025-01-13 16:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:29:05
[end_date_ymd] => 2025-01-13 16:29:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:29:05' and `end` < '2025-01-13 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-13 16:29:11] Production.ERROR: CronJobId end10
[2025-01-13 16:29:11] Production.INFO: ==20181== Releasing lock...
[2025-01-13 16:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:29:12] Production.INFO: call_cost start
[2025-01-13 16:29:12] Production.INFO: call_cost end
[2025-01-13 16:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:29:13] Production.INFO: ==20177== Releasing lock...
[2025-01-13 16:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:29:27] Production.INFO: count ==6006
[2025-01-13 16:29:29] Production.ERROR: pbx CDR StartTime 2025-01-13 13:29:05 - End Time 2025-01-13 16:29:05
[2025-01-13 16:29:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240171', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240171', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240171', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:29:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240171', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:29:29] Production.INFO: ProcessCDR(1,14240171,1,1,2)
[2025-01-13 16:29:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:29:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:29:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:29:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:29:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240171', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:29:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240171', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:29:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:29:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:29:34] Production.INFO: ==20185== Releasing lock...
[2025-01-13 16:29:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:29:34] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:30:02] Production.INFO: ==20240== Lock acquired, processing the job...
[2025-01-13 21:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:30:02] Production.INFO: neon service started
[2025-01-13 21:30:02] Production.INFO: neon service started
[2025-01-13 21:30:02] Production.INFO: ==20240== Releasing lock...
[2025-01-13 21:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:30:02] Production.INFO: ==20242== Lock acquired, processing the job...
[2025-01-13 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:30:02] Production.INFO: ==20244== Lock acquired, processing the job...
[2025-01-13 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:30:02] Production.INFO: ==20244== Releasing lock...
[2025-01-13 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:30:03] Production.INFO: ==20242== Releasing lock...
[2025-01-13 16:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:30:03] Production.INFO: ==20247== Lock acquired, processing the job...
[2025-01-13 16:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 16:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 16:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 16:30:03] Production.INFO: ==20247== Releasing lock...
[2025-01-13 16:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 16:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 16:30:04] Production.INFO: ==20249== Lock acquired, processing the job...
[2025-01-13 16:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:30:04] Production.INFO: ==20251== Lock acquired, processing the job...
[2025-01-13 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:30:04] Production.INFO: ==20253== Lock acquired, processing the job...
[2025-01-13 16:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:30:04] Production.INFO: ==20259== Lock acquired, processing the job...
[2025-01-13 16:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 16:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:30:04] Production.INFO: ==20255== Lock acquired, processing the job...
[2025-01-13 16:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:30:04] Production.INFO: ==20251== Releasing lock...
[2025-01-13 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:30:04] Production.INFO: Account Balance Start.
[2025-01-13 16:30:04] Production.INFO: ==20257== Lock acquired, processing the job...
[2025-01-13 16:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:30:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:30:04] Production.INFO: 117
[2025-01-13 16:30:04] Production.INFO: ==20261== Lock acquired, processing the job...
[2025-01-13 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:30:04] Production.ERROR: done
[2025-01-13 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:30:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-13 16:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14240175', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) start
[2025-01-13 16:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:30:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:30:04] Production.INFO: count ==21
[2025-01-13 16:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:30:04] Production.INFO: count ==21
[2025-01-13 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240176') start
[2025-01-13 16:30:05] Production.ERROR: done
[2025-01-13 16:30:05] Production.INFO: Date 2025-01-10
[2025-01-13 16:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 16:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:30:05] Production.INFO: Date 2025-01-11
[2025-01-13 16:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 16:30:05] Production.INFO: Date 2025-01-12
[2025-01-13 16:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 16:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14240176') end
[2025-01-13 16:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:30:05] Production.INFO: 1
[2025-01-13 16:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:30:05] Production.ERROR: done
[2025-01-13 16:30:05] Production.INFO: Date 2025-01-13
[2025-01-13 16:30:05] Production.INFO: Reseller ==> 0
[2025-01-13 16:30:05] Production.INFO: Total Charge 0
[2025-01-13 16:30:05] Production.INFO: ==20261== Releasing lock...
[2025-01-13 16:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:30:05] Production.INFO: CreateAllLog End
[2025-01-13 16:30:05] Production.INFO: Account Balance End.
[2025-01-13 16:30:05] Production.ERROR: CronJobId end 12
[2025-01-13 16:30:05] Production.INFO: ==20255== Releasing lock...
[2025-01-13 16:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:30:06
[end_date_ymd] => 2025-01-13 16:30:06
[RateCDR] => 1
)
[2025-01-13 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-13 13:30:06' and `end` < '2025-01-13 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-13 16:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14240175', 'tblTempUsageDetail_20reseller','2025-01-13','2025-01-13','1' ) end
[2025-01-13 16:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-13 16:30:08] Production.INFO: ProcessCDR(1,14240175,1,1,2)
[2025-01-13 16:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14240175,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14240175,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:30:09] Production.INFO: ==20259== Releasing lock...
[2025-01-13 16:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-13 16:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-13 16:30:14] Production.ERROR: CronJobId end10
[2025-01-13 16:30:14] Production.INFO: ==20253== Releasing lock...
[2025-01-13 16:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:30:15] Production.INFO: call_cost start
[2025-01-13 16:30:15] Production.INFO: call_cost end
[2025-01-13 16:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:30:16] Production.INFO: ==20249== Releasing lock...
[2025-01-13 16:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:30:31] Production.INFO: count ==6018
[2025-01-13 16:30:34] Production.ERROR: pbx CDR StartTime 2025-01-13 13:30:06 - End Time 2025-01-13 16:30:06
[2025-01-13 16:30:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240177', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240177', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240177', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:30:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240177', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:30:34] Production.INFO: ProcessCDR(1,14240177,1,1,2)
[2025-01-13 16:30:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:30:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:30:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:30:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:30:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240177', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:30:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240177', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:30:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:30:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:30:39] Production.INFO: ==20257== Releasing lock...
[2025-01-13 16:30:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:30:39] Production.INFO: 73 MB #Memory Used#
[2025-01-13 21:31:01] Production.INFO: ==20314== Lock acquired, processing the job...
[2025-01-13 21:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:31:01] Production.INFO: neon service started
[2025-01-13 21:31:01] Production.INFO: neon service started
[2025-01-13 21:31:01] Production.INFO: ==20314== Releasing lock...
[2025-01-13 21:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:31:01] Production.INFO: ==20316== Lock acquired, processing the job...
[2025-01-13 16:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:31:02] Production.INFO: ==20316== Releasing lock...
[2025-01-13 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:31:02] Production.INFO: ==20318== Lock acquired, processing the job...
[2025-01-13 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:31:02] Production.INFO: ==20318== Releasing lock...
[2025-01-13 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:31:02] Production.INFO: ==20322== Lock acquired, processing the job...
[2025-01-13 16:31:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:31:02] Production.INFO: ==20330== Lock acquired, processing the job...
[2025-01-13 16:31:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:31:03] Production.INFO: ==20320== Lock acquired, processing the job...
[2025-01-13 16:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:31:03] Production.INFO: ==20322== Releasing lock...
[2025-01-13 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:31:03] Production.INFO: ==20324== Lock acquired, processing the job...
[2025-01-13 16:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:31:03] Production.INFO: ==20326== Lock acquired, processing the job...
[2025-01-13 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 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-13 16:31:03] Production.INFO: ==20328== Lock acquired, processing the job...
[2025-01-13 16:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:31:03] Production.INFO: count ==21
[2025-01-13 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-13 16:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:31:03] Production.INFO: count ==21
[2025-01-13 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240179') start
[2025-01-13 16:31:03] Production.INFO: Account Balance Start.
[2025-01-13 16:31:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:31:03] Production.INFO: 117
[2025-01-13 16:31:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:31:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240179') end
[2025-01-13 16:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:31:03] Production.INFO: 1
[2025-01-13 16:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:31:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:31:03] Production.ERROR: done
[2025-01-13 16:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:31:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:31:03] Production.INFO: ==20330== Releasing lock...
[2025-01-13 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:31:03] Production.ERROR: done
[2025-01-13 16:31:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:31:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:31:03] Production.INFO: Total Charge 0
[2025-01-13 16:31:03] Production.INFO: CreateAllLog End
[2025-01-13 16:31:03] Production.INFO: Account Balance End.
[2025-01-13 16:31:03] Production.ERROR: CronJobId end 12
[2025-01-13 16:31:03] Production.INFO: ==20326== Releasing lock...
[2025-01-13 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:31:04
[end_date_ymd] => 2025-01-13 16:31:04
[RateCDR] => 1
)
[2025-01-13 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-13 13:31:04' and `end` < '2025-01-13 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-13 16:31:10] Production.ERROR: CronJobId end10
[2025-01-13 16:31:10] Production.INFO: ==20324== Releasing lock...
[2025-01-13 16:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:31:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:31:11] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:31:11] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:31:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:31:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:31:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:31:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:31:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:31:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:31:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:31:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:31:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:31:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:31:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:31:12] Production.INFO: call_cost start
[2025-01-13 16:31:12] Production.INFO: call_cost end
[2025-01-13 16:31:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:31:12] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:31:12] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:31:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:31:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:31:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:31:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:31:12] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:31:12] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:31:12] Production.INFO: ==20320== Releasing lock...
[2025-01-13 16:31:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:31:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:31:27] Production.INFO: count ==6031
[2025-01-13 16:31:30] Production.ERROR: pbx CDR StartTime 2025-01-13 13:31:04 - End Time 2025-01-13 16:31:04
[2025-01-13 16:31:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240182', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240182', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240182', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:31:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240182', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:31:30] Production.INFO: ProcessCDR(1,14240182,1,1,2)
[2025-01-13 16:31:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:31:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:31:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:31:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:31:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240182', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:31:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240182', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:31:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:31:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:31:35] Production.INFO: ==20328== Releasing lock...
[2025-01-13 16:31:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:31:35] Production.INFO: 73.25 MB #Memory Used#
[2025-01-13 21:32:01] Production.INFO: ==20385== Lock acquired, processing the job...
[2025-01-13 21:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:32:01] Production.INFO: neon service started
[2025-01-13 21:32:01] Production.INFO: neon service started
[2025-01-13 21:32:01] Production.INFO: ==20385== Releasing lock...
[2025-01-13 21:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:32:02] Production.INFO: ==20389== Lock acquired, processing the job...
[2025-01-13 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:32:02] Production.INFO: ==20389== Releasing lock...
[2025-01-13 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:32:02] Production.INFO: ==20387== Lock acquired, processing the job...
[2025-01-13 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:32:02] Production.INFO: ==20387== Releasing lock...
[2025-01-13 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:32:03] Production.INFO: ==20391== Lock acquired, processing the job...
[2025-01-13 16:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:32:03] Production.INFO: ==20394== Lock acquired, processing the job...
[2025-01-13 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:32:03] Production.INFO: ==20402== Lock acquired, processing the job...
[2025-01-13 16:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 16:32:03] Production.INFO: ==20396== Lock acquired, processing the job...
[2025-01-13 16:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:32:03] Production.INFO: count ==21
[2025-01-13 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-13 16:32:03] Production.INFO: count ==21
[2025-01-13 16:32:03] Production.INFO: ==20398== Lock acquired, processing the job...
[2025-01-13 16:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240185') start
[2025-01-13 16:32:03] Production.INFO: ==20400== Lock acquired, processing the job...
[2025-01-13 16:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:32:03] Production.INFO: ==20394== Releasing lock...
[2025-01-13 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240185') end
[2025-01-13 16:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:32:04] Production.INFO: 1
[2025-01-13 16:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:32:04] Production.INFO: Account Balance Start.
[2025-01-13 16:32:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:32:04] Production.INFO: 117
[2025-01-13 16:32:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:32:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:32:04] Production.INFO: ==20402== Releasing lock...
[2025-01-13 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:32:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:32:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:32:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:32:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:32:04] Production.INFO: Total Charge 0
[2025-01-13 16:32:04] Production.INFO: CreateAllLog End
[2025-01-13 16:32:04] Production.ERROR: done
[2025-01-13 16:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:32:04] Production.ERROR: done
[2025-01-13 16:32:04] Production.INFO: Account Balance End.
[2025-01-13 16:32:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:32:04] Production.INFO: ==20398== Releasing lock...
[2025-01-13 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:32:05
[end_date_ymd] => 2025-01-13 16:32:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:32:05' and `end` < '2025-01-13 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-13 16:32:11] Production.ERROR: CronJobId end10
[2025-01-13 16:32:11] Production.INFO: ==20396== Releasing lock...
[2025-01-13 16:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:32:12] Production.INFO: call_cost start
[2025-01-13 16:32:12] Production.INFO: call_cost end
[2025-01-13 16:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:32:13] Production.INFO: ==20391== Releasing lock...
[2025-01-13 16:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:32:23] Production.INFO: count ==5990
[2025-01-13 16:32:25] Production.ERROR: pbx CDR StartTime 2025-01-13 13:32:05 - End Time 2025-01-13 16:32:05
[2025-01-13 16:32:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240187', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240187', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240187', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:32:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240187', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:32:26] Production.INFO: ProcessCDR(1,14240187,1,1,2)
[2025-01-13 16:32:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:32:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:32:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:32:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240187', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240187', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:32:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:32:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:32:30] Production.INFO: ==20400== Releasing lock...
[2025-01-13 16:32:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:32:30] Production.INFO: 72.75 MB #Memory Used#
[2025-01-13 21:33:02] Production.INFO: ==20457== Lock acquired, processing the job...
[2025-01-13 21:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:33:02] Production.INFO: neon service started
[2025-01-13 21:33:02] Production.INFO: neon service started
[2025-01-13 21:33:02] Production.INFO: ==20457== Releasing lock...
[2025-01-13 21:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:33:02] Production.INFO: ==20459== Lock acquired, processing the job...
[2025-01-13 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:33:02] Production.INFO: ==20459== Releasing lock...
[2025-01-13 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:33:03] Production.INFO: ==20461== Lock acquired, processing the job...
[2025-01-13 21:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:33:03] Production.INFO: ==20461== Releasing lock...
[2025-01-13 21:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:33:03] Production.INFO: ==20467== Lock acquired, processing the job...
[2025-01-13 16:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:33:03] Production.INFO: ==20471== Lock acquired, processing the job...
[2025-01-13 16:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:33:03] Production.INFO: ==20463== Lock acquired, processing the job...
[2025-01-13 16:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:33:04] Production.INFO: ==20465== Lock acquired, processing the job...
[2025-01-13 16:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:33:04] Production.INFO: ==20469== Lock acquired, processing the job...
[2025-01-13 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:33:04] Production.INFO: ==20473== Lock acquired, processing the job...
[2025-01-13 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:33:04] Production.INFO: Account Balance Start.
[2025-01-13 16:33:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:33:04] Production.INFO: 117
[2025-01-13 16:33:04] Production.ERROR: done
[2025-01-13 16:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:33:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:33:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:33:04] Production.INFO: count ==21
[2025-01-13 16:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:33:04] Production.INFO: count ==21
[2025-01-13 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240191') start
[2025-01-13 16:33:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:33:04] Production.INFO: ==20465== Releasing lock...
[2025-01-13 16:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:33:04] Production.ERROR: done
[2025-01-13 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240191') end
[2025-01-13 16:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:33:04] Production.INFO: 1
[2025-01-13 16:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:33:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:33:04] Production.INFO: ==20473== Releasing lock...
[2025-01-13 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:33:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:33:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:33:04] Production.INFO: Total Charge 0
[2025-01-13 16:33:04] Production.INFO: CreateAllLog End
[2025-01-13 16:33:04] Production.INFO: Account Balance End.
[2025-01-13 16:33:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:33:04] Production.INFO: ==20469== Releasing lock...
[2025-01-13 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:33:05
[end_date_ymd] => 2025-01-13 16:33:05
[RateCDR] => 1
)
[2025-01-13 16:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:33:05' and `end` < '2025-01-13 16:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:33:12] Production.ERROR: CronJobId end10
[2025-01-13 16:33:12] Production.INFO: ==20467== Releasing lock...
[2025-01-13 16:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:33:14] Production.INFO: call_cost start
[2025-01-13 16:33:14] Production.INFO: call_cost end
[2025-01-13 16:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:33:14] Production.INFO: ==20463== Releasing lock...
[2025-01-13 16:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:33:35] Production.INFO: count ==5955
[2025-01-13 16:33:37] Production.ERROR: pbx CDR StartTime 2025-01-13 13:33:05 - End Time 2025-01-13 16:33:05
[2025-01-13 16:33:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:33:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240192', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:33:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240192', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:33:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240192', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:33:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240192', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:33:37] Production.INFO: ProcessCDR(1,14240192,1,1,2)
[2025-01-13 16:33:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:33:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:33:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:33:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:33:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240192', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:33:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240192', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:33:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:33:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:33:42] Production.INFO: ==20471== Releasing lock...
[2025-01-13 16:33:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:33:42] Production.INFO: 72.5 MB #Memory Used#
[2025-01-13 21:34:01] Production.INFO: ==20526== Lock acquired, processing the job...
[2025-01-13 21:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:34:01] Production.INFO: neon service started
[2025-01-13 21:34:01] Production.INFO: neon service started
[2025-01-13 21:34:01] Production.INFO: ==20526== Releasing lock...
[2025-01-13 21:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:34:02] Production.INFO: ==20531== Lock acquired, processing the job...
[2025-01-13 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:34:02] Production.INFO: ==20531== Releasing lock...
[2025-01-13 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:34:02] Production.INFO: ==20529== Lock acquired, processing the job...
[2025-01-13 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:34:02] Production.INFO: ==20529== Releasing lock...
[2025-01-13 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:34:03] Production.INFO: ==20533== Lock acquired, processing the job...
[2025-01-13 16:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:34:03] Production.INFO: ==20535== Lock acquired, processing the job...
[2025-01-13 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:34:03] Production.INFO: ==20539== Lock acquired, processing the job...
[2025-01-13 16:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:34:03] Production.INFO: Account Balance Start.
[2025-01-13 16:34:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:34:03] Production.INFO: 117
[2025-01-13 16:34:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:34:03] Production.INFO: ==20535== Releasing lock...
[2025-01-13 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:34:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:34:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:34:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:34:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:34:03] Production.INFO: ==20537== Lock acquired, processing the job...
[2025-01-13 16:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:34:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:34:03] Production.INFO: Total Charge 0
[2025-01-13 16:34:03] Production.INFO: CreateAllLog End
[2025-01-13 16:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:34:03] Production.INFO: ==20541== Lock acquired, processing the job...
[2025-01-13 16:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:34:03] Production.INFO: Account Balance End.
[2025-01-13 16:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:34:03] Production.INFO: ==20543== Lock acquired, processing the job...
[2025-01-13 16:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:34:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:34:04] Production.INFO: ==20539== Releasing lock...
[2025-01-13 16:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:34:04] Production.INFO: count ==21
[2025-01-13 16:34:04] Production.ERROR: done
[2025-01-13 16:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:34:04] Production.INFO: count ==21
[2025-01-13 16:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240196') start
[2025-01-13 16:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240196') end
[2025-01-13 16:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:34:04] Production.INFO: 1
[2025-01-13 16:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:34:04] Production.ERROR: done
[2025-01-13 16:34:04] Production.INFO: ==20543== Releasing lock...
[2025-01-13 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:34:05
[end_date_ymd] => 2025-01-13 16:34:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:34:05' and `end` < '2025-01-13 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-13 16:34:12] Production.ERROR: CronJobId end10
[2025-01-13 16:34:12] Production.INFO: ==20537== Releasing lock...
[2025-01-13 16:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:34:14] Production.INFO: call_cost start
[2025-01-13 16:34:14] Production.INFO: call_cost end
[2025-01-13 16:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:34:15] Production.INFO: ==20533== Releasing lock...
[2025-01-13 16:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:34:26] Production.INFO: count ==5900
[2025-01-13 16:34:29] Production.ERROR: pbx CDR StartTime 2025-01-13 13:34:05 - End Time 2025-01-13 16:34:05
[2025-01-13 16:34:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240197', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240197', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240197', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:34:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240197', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:34:29] Production.INFO: ProcessCDR(1,14240197,1,1,2)
[2025-01-13 16:34:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:34:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:34:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:34:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:34:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240197', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:34:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240197', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:34:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:34:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:34:34] Production.INFO: ==20541== Releasing lock...
[2025-01-13 16:34:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:34:34] Production.INFO: 72.25 MB #Memory Used#
[2025-01-13 21:35:02] Production.INFO: ==20643== Lock acquired, processing the job...
[2025-01-13 21:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:35:02] Production.INFO: neon service started
[2025-01-13 21:35:02] Production.INFO: neon service started
[2025-01-13 21:35:02] Production.INFO: ==20643== Releasing lock...
[2025-01-13 21:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:35:02] Production.INFO: ==20645== Lock acquired, processing the job...
[2025-01-13 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:35:02] Production.INFO: ==20645== Releasing lock...
[2025-01-13 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:35:03] Production.INFO: ==20647== Lock acquired, processing the job...
[2025-01-13 21:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:35:03] Production.INFO: ==20647== Releasing lock...
[2025-01-13 21:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:35:03] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:35:03] Production.INFO: ==20655== Lock acquired, processing the job...
[2025-01-13 16:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:35:03] Production.INFO: ==20649== Lock acquired, processing the job...
[2025-01-13 16:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:35:03] Production.INFO: ==20659== Lock acquired, processing the job...
[2025-01-13 16:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:35:03] Production.INFO: ==20651== Lock acquired, processing the job...
[2025-01-13 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:35:04] Production.INFO: ==20653== Lock acquired, processing the job...
[2025-01-13 16:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:35:04] Production.INFO: ==20657== Lock acquired, processing the job...
[2025-01-13 16:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:35:04] Production.INFO: count ==21
[2025-01-13 16:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:35:04] Production.INFO: Account Balance Start.
[2025-01-13 16:35:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:35:04] Production.INFO: count ==21
[2025-01-13 16:35:04] Production.INFO: 117
[2025-01-13 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240200') start
[2025-01-13 16:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:35:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:35:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:35:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:35:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240200') end
[2025-01-13 16:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:35:04] Production.INFO: 1
[2025-01-13 16:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:35:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:35:04] Production.INFO: ==20659== Releasing lock...
[2025-01-13 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:35:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:35:04] Production.ERROR: done
[2025-01-13 16:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:35:04] Production.INFO: ==20651== Releasing lock...
[2025-01-13 16:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:35:04] Production.INFO: Total Charge 0
[2025-01-13 16:35:04] Production.INFO: CreateAllLog End
[2025-01-13 16:35:04] Production.ERROR: done
[2025-01-13 16:35:04] Production.INFO: Account Balance End.
[2025-01-13 16:35:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:35:04] Production.INFO: ==20655== Releasing lock...
[2025-01-13 16:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:35:05
[end_date_ymd] => 2025-01-13 16:35:05
[RateCDR] => 1
)
[2025-01-13 16:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:35:05' and `end` < '2025-01-13 16:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:35:12] Production.ERROR: CronJobId end10
[2025-01-13 16:35:12] Production.INFO: ==20653== Releasing lock...
[2025-01-13 16:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:35:14] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:35:14] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:35:14] Production.INFO: call_cost start
[2025-01-13 16:35:14] Production.INFO: call_cost end
[2025-01-13 16:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:35:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:35:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:35:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:35:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:35:15] Production.INFO: ==20649== Releasing lock...
[2025-01-13 16:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:35:30] Production.INFO: count ==5842
[2025-01-13 16:35:33] Production.ERROR: pbx CDR StartTime 2025-01-13 13:35:05 - End Time 2025-01-13 16:35:05
[2025-01-13 16:35:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:35:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240202', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:35:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240202', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:35:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240202', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:35:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240202', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:35:33] Production.INFO: ProcessCDR(1,14240202,1,1,2)
[2025-01-13 16:35:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:35:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:35:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:35:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:35:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240202', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:35:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240202', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:35:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:35:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:35:38] Production.INFO: ==20657== Releasing lock...
[2025-01-13 16:35:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:35:38] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 21:36:01] Production.INFO: ==20713== Lock acquired, processing the job...
[2025-01-13 21:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:36:01] Production.INFO: neon service started
[2025-01-13 21:36:01] Production.INFO: neon service started
[2025-01-13 21:36:01] Production.INFO: ==20713== Releasing lock...
[2025-01-13 21:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:36:02] Production.INFO: ==20717== Lock acquired, processing the job...
[2025-01-13 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:36:02] Production.INFO: ==20717== Releasing lock...
[2025-01-13 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:36:02] Production.INFO: ==20715== Lock acquired, processing the job...
[2025-01-13 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:36:02] Production.INFO: ==20715== Releasing lock...
[2025-01-13 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:36:03] Production.INFO: ==20722== Lock acquired, processing the job...
[2025-01-13 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:36:03] Production.INFO: ==20730== Lock acquired, processing the job...
[2025-01-13 16:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 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-13 16:36:03] Production.INFO: count ==21
[2025-01-13 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-13 16:36:03] Production.INFO: count ==21
[2025-01-13 16:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240203') start
[2025-01-13 16:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240203') end
[2025-01-13 16:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:36:03] Production.INFO: 1
[2025-01-13 16:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:36:03] Production.INFO: ==20730== Releasing lock...
[2025-01-13 16:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:36:03] Production.INFO: ==20720== Lock acquired, processing the job...
[2025-01-13 16:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:36:03] Production.INFO: ==20724== Lock acquired, processing the job...
[2025-01-13 16:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:36:03] Production.INFO: ==20722== Releasing lock...
[2025-01-13 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:36:04] Production.INFO: ==20726== Lock acquired, processing the job...
[2025-01-13 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:36:04] Production.INFO: ==20728== Lock acquired, processing the job...
[2025-01-13 16:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:36:04] Production.INFO: Account Balance Start.
[2025-01-13 16:36:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:36:04] Production.INFO: 117
[2025-01-13 16:36:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:36:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:36:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:36:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:36:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:36:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:36:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:36:04] Production.INFO: Total Charge 0
[2025-01-13 16:36:04] Production.INFO: CreateAllLog End
[2025-01-13 16:36:04] Production.ERROR: done
[2025-01-13 16:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:36:04] Production.ERROR: done
[2025-01-13 16:36:04] Production.INFO: Account Balance End.
[2025-01-13 16:36:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:36:04] Production.INFO: ==20726== Releasing lock...
[2025-01-13 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:36:05
[end_date_ymd] => 2025-01-13 16:36:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:36:05' and `end` < '2025-01-13 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-13 16:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:36:12] Production.ERROR: CronJobId end10
[2025-01-13 16:36:12] Production.INFO: ==20724== Releasing lock...
[2025-01-13 16:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:36:13] Production.INFO: call_cost start
[2025-01-13 16:36:13] Production.INFO: call_cost end
[2025-01-13 16:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:36:13] Production.INFO: ==20720== Releasing lock...
[2025-01-13 16:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:36:23] Production.INFO: count ==5808
[2025-01-13 16:36:25] Production.ERROR: pbx CDR StartTime 2025-01-13 13:36:05 - End Time 2025-01-13 16:36:05
[2025-01-13 16:36:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:36:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240207', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240207', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240207', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240207', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:36:26] Production.INFO: ProcessCDR(1,14240207,1,1,2)
[2025-01-13 16:36:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:36:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:36:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:36:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:36:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240207', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:36:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240207', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:36:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:36:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:36:30] Production.INFO: ==20728== Releasing lock...
[2025-01-13 16:36:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:36:30] Production.INFO: 71.5 MB #Memory Used#
[2025-01-13 21:37:02] Production.INFO: ==20789== Lock acquired, processing the job...
[2025-01-13 21:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:37:02] Production.INFO: neon service started
[2025-01-13 21:37:02] Production.INFO: neon service started
[2025-01-13 21:37:02] Production.INFO: ==20789== Releasing lock...
[2025-01-13 21:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 21:37:02] Production.INFO: ==20793== Lock acquired, processing the job...
[2025-01-13 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:37:02] Production.INFO: ==20793== Releasing lock...
[2025-01-13 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:37:02] Production.INFO: ==20791== Lock acquired, processing the job...
[2025-01-13 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:37:03] Production.INFO: ==20791== Releasing lock...
[2025-01-13 16:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:37:03] Production.INFO: ==20795== Lock acquired, processing the job...
[2025-01-13 16:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:37:03] Production.INFO: ==20801== Lock acquired, processing the job...
[2025-01-13 16:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:37:04] Production.INFO: Account Balance Start.
[2025-01-13 16:37:04] Production.INFO: CreateAllLog Start
[2025-01-13 16:37:04] Production.INFO: 117
[2025-01-13 16:37:04] Production.INFO: Date 2025-01-08
[2025-01-13 16:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:37:04] Production.INFO: ==20797== Lock acquired, processing the job...
[2025-01-13 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:37:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:37:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:37:04] Production.INFO: ==20799== Lock acquired, processing the job...
[2025-01-13 16:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:37:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:37:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:37:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:37:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:37:04] Production.INFO: ==20803== Lock acquired, processing the job...
[2025-01-13 16:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:37:04] Production.INFO: ==20806== Lock acquired, processing the job...
[2025-01-13 16:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:37:04] Production.INFO: Total Charge 0
[2025-01-13 16:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:37:04] Production.INFO: CreateAllLog End
[2025-01-13 16:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 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-13 16:37:04] Production.INFO: count ==21
[2025-01-13 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-13 16:37:04] Production.INFO: ==20797== Releasing lock...
[2025-01-13 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:37:04] Production.INFO: count ==21
[2025-01-13 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240211') start
[2025-01-13 16:37:04] Production.INFO: Account Balance End.
[2025-01-13 16:37:04] Production.ERROR: done
[2025-01-13 16:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240211') end
[2025-01-13 16:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:37:04] Production.INFO: 1
[2025-01-13 16:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:37:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:37:04] Production.INFO: ==20801== Releasing lock...
[2025-01-13 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:37:04] Production.ERROR: done
[2025-01-13 16:37:04] Production.INFO: ==20806== Releasing lock...
[2025-01-13 16:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:37:05
[end_date_ymd] => 2025-01-13 16:37:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:37:05' and `end` < '2025-01-13 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-13 16:37:13] Production.ERROR: CronJobId end10
[2025-01-13 16:37:13] Production.INFO: ==20799== Releasing lock...
[2025-01-13 16:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:37:14] Production.INFO: call_cost start
[2025-01-13 16:37:14] Production.INFO: call_cost end
[2025-01-13 16:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:37:15] Production.INFO: ==20795== Releasing lock...
[2025-01-13 16:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:37:19] Production.INFO: count ==5771
[2025-01-13 16:37:22] Production.ERROR: pbx CDR StartTime 2025-01-13 13:37:05 - End Time 2025-01-13 16:37:05
[2025-01-13 16:37:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240212', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240212', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240212', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240212', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:37:22] Production.INFO: ProcessCDR(1,14240212,1,1,2)
[2025-01-13 16:37:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:37:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:37:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240212', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240212', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:37:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:37:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:37:26] Production.INFO: ==20803== Releasing lock...
[2025-01-13 16:37:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:37:26] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 21:38:01] Production.INFO: ==20860== Lock acquired, processing the job...
[2025-01-13 21:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:38:01] Production.INFO: neon service started
[2025-01-13 21:38:01] Production.INFO: neon service started
[2025-01-13 21:38:01] Production.INFO: ==20860== Releasing lock...
[2025-01-13 21:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:38:02] Production.INFO: ==20862== Lock acquired, processing the job...
[2025-01-13 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:38:02] Production.INFO: ==20864== Lock acquired, processing the job...
[2025-01-13 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:38:02] Production.INFO: ==20864== Releasing lock...
[2025-01-13 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:38:02] Production.INFO: ==20862== Releasing lock...
[2025-01-13 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:38:03] Production.INFO: ==20873== Lock acquired, processing the job...
[2025-01-13 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:38:03] Production.INFO: Account Balance Start.
[2025-01-13 16:38:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:38:03] Production.INFO: 117
[2025-01-13 16:38:03] Production.INFO: ==20877== Lock acquired, processing the job...
[2025-01-13 16:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:38:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:38:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:38:03] Production.INFO: ==20867== Lock acquired, processing the job...
[2025-01-13 16:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:38:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:38:03] Production.INFO: Date 2025-01-11
[2025-01-13 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:38:03] Production.INFO: count ==21
[2025-01-13 16:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:38:03] Production.INFO: count ==21
[2025-01-13 16:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:38:03] Production.INFO: ==20869== Lock acquired, processing the job...
[2025-01-13 16:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240214') start
[2025-01-13 16:38:03] Production.INFO: Date 2025-01-12
[2025-01-13 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:38:03] Production.INFO: ==20871== Lock acquired, processing the job...
[2025-01-13 16:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:38:03] Production.INFO: Date 2025-01-13
[2025-01-13 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:38:03] Production.INFO: ==20875== Lock acquired, processing the job...
[2025-01-13 16:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14240214') end
[2025-01-13 16:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:38:03] Production.INFO: 1
[2025-01-13 16:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:38:03] Production.INFO: Total Charge 0
[2025-01-13 16:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:38:03] Production.INFO: CreateAllLog End
[2025-01-13 16:38:04] Production.INFO: ==20877== Releasing lock...
[2025-01-13 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:38:04] Production.ERROR: done
[2025-01-13 16:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:38:04] Production.INFO: Account Balance End.
[2025-01-13 16:38:04] Production.INFO: ==20869== Releasing lock...
[2025-01-13 16:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:38:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:38:04] Production.INFO: ==20873== Releasing lock...
[2025-01-13 16:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:38:04] Production.ERROR: done
[2025-01-13 16:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:38:05
[end_date_ymd] => 2025-01-13 16:38:05
[RateCDR] => 1
)
[2025-01-13 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-13 13:38:05' and `end` < '2025-01-13 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-13 16:38:11] Production.ERROR: CronJobId end10
[2025-01-13 16:38:11] Production.INFO: ==20871== Releasing lock...
[2025-01-13 16:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:38:13] Production.INFO: call_cost start
[2025-01-13 16:38:13] Production.INFO: call_cost end
[2025-01-13 16:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:38:13] Production.INFO: ==20867== Releasing lock...
[2025-01-13 16:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:38:36] Production.INFO: count ==5770
[2025-01-13 16:38:38] Production.ERROR: pbx CDR StartTime 2025-01-13 13:38:05 - End Time 2025-01-13 16:38:05
[2025-01-13 16:38:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:38:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240217', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:38:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240217', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:38:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240217', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:38:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240217', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:38:38] Production.INFO: ProcessCDR(1,14240217,1,1,2)
[2025-01-13 16:38:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:38:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:38:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:38:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:38:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240217', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:38:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240217', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:38:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:38:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:38:42] Production.INFO: ==20875== Releasing lock...
[2025-01-13 16:38:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:38:42] Production.INFO: 71.25 MB #Memory Used#
[2025-01-13 21:39:02] Production.INFO: ==20931== Lock acquired, processing the job...
[2025-01-13 21:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:39:02] Production.INFO: neon service started
[2025-01-13 21:39:02] Production.INFO: neon service started
[2025-01-13 21:39:02] Production.INFO: ==20931== Releasing lock...
[2025-01-13 21:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:39:02] Production.INFO: ==20933== Lock acquired, processing the job...
[2025-01-13 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 16:39:02] Production.INFO: ==20933== Releasing lock...
[2025-01-13 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 21:39:02] Production.INFO: ==20935== Lock acquired, processing the job...
[2025-01-13 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:39:02] Production.INFO: ==20935== Releasing lock...
[2025-01-13 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:39:03] Production.INFO: ==20942== Lock acquired, processing the job...
[2025-01-13 16:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:39:03] Production.INFO: ==20938== Lock acquired, processing the job...
[2025-01-13 16:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:39:03] Production.INFO: ==20946== Lock acquired, processing the job...
[2025-01-13 16:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:39:03] Production.INFO: ==20940== Lock acquired, processing the job...
[2025-01-13 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:39:03] Production.INFO: ==20944== Lock acquired, processing the job...
[2025-01-13 16:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:39:03] Production.INFO: ==20948== Lock acquired, processing the job...
[2025-01-13 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:39:03] Production.INFO: Account Balance Start.
[2025-01-13 16:39:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:39:03] Production.INFO: 117
[2025-01-13 16:39:03] Production.INFO: ==20940== Releasing lock...
[2025-01-13 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:39:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 16: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-13 16:39:04] Production.INFO: Date 2025-01-09
[2025-01-13 16:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:39:04] Production.INFO: Date 2025-01-10
[2025-01-13 16:39:04] Production.INFO: count ==21
[2025-01-13 16:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-13 16:39:04] Production.INFO: count ==21
[2025-01-13 16:39:04] Production.ERROR: done
[2025-01-13 16:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240221') start
[2025-01-13 16:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-13 16:39:04] Production.INFO: Date 2025-01-11
[2025-01-13 16:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:39:04] Production.INFO: Date 2025-01-12
[2025-01-13 16:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14240221') end
[2025-01-13 16:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-13 16:39:04] Production.INFO: 1
[2025-01-13 16:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-13 16:39:04] Production.INFO: Date 2025-01-13
[2025-01-13 16:39:04] Production.INFO: Reseller ==> 0
[2025-01-13 16:39:04] Production.INFO: Total Charge 0
[2025-01-13 16:39:04] Production.INFO: CreateAllLog End
[2025-01-13 16:39:04] Production.ERROR: done
[2025-01-13 16:39:04] Production.INFO: ==20948== Releasing lock...
[2025-01-13 16:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-13 16:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-13 16:39:04] Production.INFO: Account Balance End.
[2025-01-13 16:39:04] Production.ERROR: CronJobId end 12
[2025-01-13 16:39:04] Production.INFO: ==20944== Releasing lock...
[2025-01-13 16:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-13 16:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-13 16:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-13 13:39:05
[end_date_ymd] => 2025-01-13 16:39:05
[RateCDR] => 1
)
[2025-01-13 16:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-13 13:39:05' and `end` < '2025-01-13 16:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-13 16:39:11] Production.ERROR: CronJobId end10
[2025-01-13 16:39:11] Production.INFO: ==20942== Releasing lock...
[2025-01-13 16:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-13 16:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-13 16:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-13 16:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-13 16:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-13 16:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-13 16:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-13 16:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-13 16:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-13 16:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-13 16:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-13 16:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-13 16:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-13 16:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-13 16:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-13 16:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-13 16:39:13] Production.INFO: call_cost start
[2025-01-13 16:39:13] Production.INFO: call_cost end
[2025-01-13 16:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-13 16:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-13 16:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-13 16:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-13 16:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-13 16:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-13 16:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-13 16:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-13 16:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-13 16:39:13] Production.INFO: ==20938== Releasing lock...
[2025-01-13 16:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-13 16:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-13 16:39:26] Production.INFO: count ==5837
[2025-01-13 16:39:28] Production.ERROR: pbx CDR StartTime 2025-01-13 13:39:05 - End Time 2025-01-13 16:39:05
[2025-01-13 16:39:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-13 16:39:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240222', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:39:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14240222', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:39:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240222', 'tblTempVendorCDR_20' ) start
[2025-01-13 16:39:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14240222', 'tblTempVendorCDR_20' ) end
[2025-01-13 16:39:28] Production.INFO: ProcessCDR(1,14240222,1,1,2)
[2025-01-13 16:39:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14240222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:39:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14240222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-13 16:39:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14240222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:39:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14240222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-13 16:39:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240222', 'tblTempUsageDetail_20' ) start
[2025-01-13 16:39:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14240222', 'tblTempUsageDetail_20' ) end
[2025-01-13 16:39:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-13 16:39:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-13 16:39:33] Production.INFO: ==20946== Releasing lock...
[2025-01-13 16:39:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-13 16:39:33] Production.INFO: 71.75 MB #Memory Used#
[2025-01-13 21:40:01] Production.INFO: ==21001== Lock acquired, processing the job...
[2025-01-13 21:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-13 21:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-13 21:40:01] Production.INFO: neon service started
[2025-01-13 21:40:01] Production.INFO: neon service started
[2025-01-13 21:40:01] Production.INFO: ==21001== Releasing lock...
[2025-01-13 21:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-13 21:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-13 16:40:02] Production.INFO: ==21003== Lock acquired, processing the job...
[2025-01-13 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-13 21:40:02] Production.INFO: ==21005== Lock acquired, processing the job...
[2025-01-13 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-13 21:40:02] Production.INFO: ==21005== Releasing lock...
[2025-01-13 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-13 21:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-13 16:40:02] Production.INFO: ==21003== Releasing lock...
[2025-01-13 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-13 16:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-13 16:40:03] Production.INFO: ==21008== Lock acquired, processing the job...
[2025-01-13 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-13 16:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-13 16:40:03] Production.INFO: ==21012== Lock acquired, processing the job...
[2025-01-13 16:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-13 16:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-13 16:40:03] Production.INFO: ==21008== Releasing lock...
[2025-01-13 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-13 16:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-13 16:40:03] Production.INFO: ==21010== Lock acquired, processing the job...
[2025-01-13 16:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-13 16:40:03] Production.INFO: ==21014== Lock acquired, processing the job...
[2025-01-13 16:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-13 16:40:03] Production.INFO: ==21016== Lock acquired, processing the job...
[2025-01-13 16:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-13 16:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-13 16:40:03] Production.INFO: ==21018== Lock acquired, processing the job...
[2025-01-13 16:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-13 16:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:40:03] Production.INFO: Account Balance Start.
[2025-01-13 16:40:03] Production.INFO: CreateAllLog Start
[2025-01-13 16:40:03] Production.INFO: 117
[2025-01-13 16:40:03] Production.INFO: Date 2025-01-08
[2025-01-13 16:40:03] Production.INFO: ==21020== Lock acquired, processing the job...
[2025-01-13 16:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-13 16:40:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:40:03] Production.INFO: Date 2025-01-09
[2025-01-13 16:40:03] Production.INFO: ==21022== Lock acquired, processing the job...
[2025-01-13 16:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-13 16:40:03] Production.INFO: Reseller ==> 0
[2025-01-13 16:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250113Live done
[2025-01-13 16:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250113Live done
[2025-01-13 16:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250113Live)
[2025-01-13 16:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-13 16:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-13','2025-01-13','120250113Live')
[2025-01-13 16:40:03] Production.INFO: Date 2025-01-10
[2025-01-13 16:40:04] Production.INFO: ==21012== Releasing lock...
[2025-01-13 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-13 16:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-13 16:40:04] Production.INFO: Reseller ==> 0
[2025-0